/* ========== PART 1 / 3 ========== */
/* Базові змінні та загальні стилі */

:root {
    --bg: #b7a387;        
    --bg-dark: #111111;
    --card-bg: #f1e3cc;   
    --text-main: #2a2218;
    --text-muted: #6c6153;
    --accent: #c59a55;
    --border-radius: 999px;
    --transition: 0.25s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------------- HEADER ---------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(216, 199, 170, 0.88);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    z-index: 1;
}

.header-right {
    gap: 16px;
}

.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.header-center a,
.header-center button {
    pointer-events: auto;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.burger {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    margin-left: 8px;

    width: 28px;              
    height: 22px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #222;
    margin: 3px 0;
    transition: transform var(--transition), opacity var(--transition);
}

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    margin-right: 8px;

    width: 26px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-btn:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.cart-icon {
    font-size: 15px;
    line-height: 1;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-count.visible {
    display: flex;
}

.cart-section {
    padding: 40px 0 60px;
}

.cart-title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    margin-bottom: 16px;
}

.cart-empty {
    font-size: 14px;
    color: var(--text-muted);
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
    margin-bottom: 20px;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--card-bg);
    border-radius: 16px;
}

.cart-row-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-row-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.cart-row-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-row-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
}

.cart-row-remove {
    border: none;
    background: transparent;
    font-size: 13px;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-row-remove:hover {
    color: var(--accent);
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.cart-total {
    font-size: 16px;
    font-weight: 500;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.cart-actions .btn-primary[disabled],
.cart-actions .btn-secondary[disabled] {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.order-submit.btn-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.lang-btn {
    border: 1px solid transparent;
    padding: 4px 10px;
    border-radius: var(--border-radius);
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.lang-btn.active {
    border-color: rgba(0, 0, 0, 0.22);
    background: rgba(255, 255, 255, 0.4);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.menu-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 80vw);
    height: 100%;
    background: #f3e5cd;
    box-shadow: 10px 0 30px rgba(0,0,0,0.3);
    padding: 20px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.menu-close {
    align-self: flex-end;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.menu-main {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-link {
    font-size: 15px;
    font-weight: 500;
    background: none;
    border: none;
    padding: 6px 0;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
}

.menu-link:hover {
    color: var(--accent);
}

.menu-catalog {
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 10px;
    padding-top: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
}

.menu-catalog.open {
    display: flex;
}

.menu-catalog-item {
    font-size: 14px;
    color: var(--text-main);
    padding: 4px 0;
}

.menu-catalog-item:hover {
    color: var(--accent);
}

/* ---------------- HERO ---------------- */

main {
    flex: 1;
}

.hero {
    padding: 40px 0 32px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: center;
}

.hero-label {
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(26px, 3.8vw, 40px);
    letter-spacing: 0.17em;
    text-transform: uppercase;
    margin-bottom: 10px;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.catalog-collection {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.18);
    background: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    color: inherit;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.3);
    background: transparent;
    font-size: 14px;
    color: inherit;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-secondary:hover {
    background: rgba(0,0,0,0.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.hero-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
}

/* SECOND HERO */

.hero-secondary {
    padding: 0 0 40px;
}

.hero-secondary .hero-image-wrapper {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- TOP SLIDER ---------- */


.top-slider {
    width: 100%;
    padding: 16px 0 28px;
}

.top-slider-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.top-slider-left {
    flex: 0 0 340px;
    max-width: 340px;
    min-width: 0;
}

.top-slider-track {
    display: grid;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
    background: #1a1812;
    aspect-ratio: 3 / 4;
}

.top-slider-side-photo {
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.25);
}

.top-slider-side-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.top-slider-hero {
    padding: 28px 16px 0;
}

.top-slide {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.top-slide.active {
    opacity: 1;
}

.top-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Контейнер для стрілок і крапочок */
.top-slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 25px;
    z-index: 10;
}

/* Стрілки */
.top-slider-prev,
.top-slider-next {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: rgba(255,255,255,0.85);
    transition: 0.2s;
    padding: 0;
}

.top-slider-prev:hover,
.top-slider-next:hover {
    color: white;
}

/* Крапки */
.top-slider-dots {
    display: flex;
    gap: 10px;
}

.top-slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.25s;
}

.top-slider-dot.active {
    background: white;
    transform: scale(1.3);
}

/* Нижня панель навігації під слайдом */
.top-slider-nav {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 12px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

/* Стрілки */
.slide-prev,
.slide-next {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.7);
    padding: 4px 10px;
    transition: opacity 0.2s ease;
}

.slide-prev:hover,
.slide-next:hover {
    opacity: 0.6;
}

/* Крапки */
.top-slider-dots {
    display: flex;
    gap: 8px;
}

.top-slider-dots button {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.55);
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.25);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.top-slider-dots button.active {
    background: #000000;
    transform: scale(1.15);
}

/* На мобілці – трохи вищий і без тіні по краях */

@media (max-width: 720px) {
    .top-slider-inner {
        padding: 0;
    }

    .top-slider-left {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .top-slider-track {
        border-radius: 0;
        box-shadow: none;
    }

    .top-slider-side-photo {
        display: none;
    }

    .top-slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

/* ========== END OF PART 1 ========== */

/* ========== PART 2 / 3 ========== */
/* ---------------- CATALOG ---------------- */

.catalog {
    padding: 24px 0 64px;
}

.page-catalog {
    padding-top: 40px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
    gap: 16px;
}

.catalog-title {
    font-family: "Playfair Display", serif;
    font-size: 24px;
}

.catalog-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Кнопка "На головну" + іконка фільтра справа */

.catalog-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-back-link {
    font-size: 13px;
    color: var(--text-main);
    border-bottom: 1px solid transparent;
}

.catalog-back-link:hover {
    border-color: rgba(0,0,0,0.4);
}


.filter-toggle {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;

    width: 26px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter-toggle:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.filter-icon {
    position: relative;
    width: 26px;
    height: 22px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.filter-icon span {
    position: relative;
    height: 2px;
    border-radius: 999px;
    background: #000;
}

.filter-icon span::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: 1.5px solid #000;
    background: #fff;
    transform: translateY(-50%);
}

.filter-icon span:first-child::before {
    left: 2px;
}

.filter-icon span:last-child::before {
    right: 2px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.filter-btn:hover {
    opacity: 1;
}

.filter-icon {
    stroke: #2d261b; /* колір іконки */
}

/* Грід з плитками */

.catalog-grid {
    display: grid;
    /* базово – адаптивні колонки для планшетів/мобіли */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    justify-items: stretch;
}

.catalog-item {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px 18px 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.catalog-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.5), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

.catalog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
    background: #f8efe1;
}

.catalog-item:hover::before {
    opacity: 1;
}

/* Картка товару: фото зверху, текст знизу */

.catalog-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    width: 100%;        /* більше НЕ фіксуємо 260px */
    min-height: 320px;
}

/* На широких екранах завжди 4 колонки */
@media (min-width: 900px) {
    .catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    /* Художні картини — 3 ширших колонки */
    .catalog-grid--art {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Столи — 3 ширших колонки */
    .catalog-grid--tables {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Зброя — 2 широких колонки */
    .catalog-grid--gun {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Художні картини — менш витягнутий аспект картки */
.catalog-grid--art .catalog-card-image {
    aspect-ratio: 3 / 4;
}

/* Столи — менш витягнутий аспект картки */
.catalog-grid--tables .catalog-card-image {
    aspect-ratio: 3 / 4;
}

/* Зброя — горизонтальний аспект картки */
.catalog-grid--gun .catalog-card-image {
    aspect-ratio: 3 / 1;
}

.catalog-card-image {
    width: 100%;
    aspect-ratio: 3 / 5;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #000;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform var(--transition), opacity var(--transition);
}

.catalog-card:hover .catalog-card-image img {
    transform: scale(1.06);
    opacity: 0.96;
}

.catalog-card-body {
    padding: 10px 14px 6px;
}

.catalog-name {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 6px;
}

.catalog-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Нижній рядок: розмір + ціна */

.catalog-card-footer {
    padding: 8px 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.catalog-card-size {
    font-size: 12px;
    color: var(--text-muted);
}

.catalog-card-price {
    font-size: 13px;
    font-weight: 500;
}

/* Старі допоміжні стилі карток, які ще можуть використовуватись */

.catalog-label {
    font-size: 15px;
    font-weight: 500;
}

.catalog-cta {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--accent);
}

/* ---------------- RIGHT FILTER PANEL ---------------- */

.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 35;
}

.filter-overlay.open {
    opacity: 1;
    visibility: visible;
}

.filter-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(340px, 80vw);
    height: 100%;
    background: #f3e5cd;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    padding: 20px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.filter-close {
    align-self: flex-end;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.filter-title {
    font-family: "Playfair Display", serif;
    font-size: 18px;
}

.filter-section {
    padding-top: 6px;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.filter-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.filter-radio input {
    accent-color: var(--accent);
}

.filter-select {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.7);
    padding: 6px 10px;
    font-size: 14px;
}

.filter-reset-btn {
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.filter-reset {
    margin-top: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.filter-reset:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ---------------- INFO SECTIONS (Про нас, Контакти) ---------------- */

.info-section {
    padding: 32px 0 40px;
}

.info-title {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.info-text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 580px;
    white-space: pre-line;
    line-height: 1.6;
}

.info-text p {
    margin: 0 0 18px;
    line-height: 1.6;
  }
  
  .info-text p.highlight {
    font-weight: 600;
    font-size: 1.05em;
    margin: 28px 0 22px;
  }

.contact-links {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Адаптив для каталогу */

@media (max-width: 720px) {
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-tools {
        align-items: flex-start;
    }
}

/* ========== END OF PART 2 ========== */

/* ========== PART 3 / 3 ========== */
/* ---------------- PRODUCT PAGE ---------------- */

.product-main {
    padding: 40px 0 60px;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.product-media .hero-image-wrapper {
    box-shadow: 0 26px 60px rgba(0,0,0,0.35);
}

/* ---------- PRODUCT GALLERY SLIDER ---------- */
#product-gallery.hero-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-gallery-track {
    display: flex;
    transition: transform 0.4s ease;
}

.product-gallery-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.product-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.product-gallery-btn:hover {
    background: #fff;
}

.product-gallery-prev { left: 12px; }
.product-gallery-next { right: 12px; }

.product-gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.product-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition);
}

.product-gallery-dot.active {
    background: #fff;
}

.product-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.product-breadcrumb a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.product-breadcrumb a:hover {
    border-color: rgba(0,0,0,0.3);
}

.product-title {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    margin-bottom: 8px;
}

.product-tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.product-meta {
    display: grid;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 18px;
}

.product-meta-item span {
    color: var(--text-muted);
    margin-right: 4px;
}

.product-description {
    font-size: 14px;
    margin-bottom: 22px;
}

.product-description p + p {
    margin-top: 8px;
}

.product-specs-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-specs-list {
    list-style: none;
    font-size: 14px;
    margin-bottom: 22px;
}

.product-specs-list li + li {
    margin-top: 4px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-note {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 340px;
}

/* SIZE OPTIONS (для тих товарів, де є вибір розміру) */

.product-options {
    margin-bottom: 22px;
}

.product-options-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.size-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 13px;
    cursor: pointer;
    background: rgba(255,255,255,0.4);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.size-option input {
    accent-color: var(--accent);
}

.size-option:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.3);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.product-options-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== ORDER PAGE (updated) ===== */

.order-section{
    padding: 46px 0 64px;
  }
  
  .order-title{
    font-family: "Playfair Display", serif;
    font-size: 26px;
    letter-spacing: 0.04em;
    margin: 0 0 18px;
  }
  
  /* Якщо є .order-layout → робимо 2 колонки як ескіз */
  .order-layout{
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
  }
  
  @media (max-width: 980px){
    .order-layout{
      grid-template-columns: 1fr;
    }
  }
  
  /* FORM CARD */
  .order-form{
    background: rgba(0,0,0, 0.006); /* в тон card-bg */
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
    backdrop-filter: blur(10px);
  }
  
  /* inputs layout */
  .order-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px 16px;
  }

  .order-form .form-field-half  { grid-column: span 3; }
  .order-form .form-field-third { grid-column: span 2; }

  @media (max-width: 720px){
    .order-grid{ grid-template-columns: 1fr; }
    .order-form .form-field-half,
    .order-form .form-field-third { grid-column: span 1; }
  }
  
  .order-form .form-field{
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  
  .order-form .form-field-full{
    grid-column: 1 / -1;
  }
  
  .order-form .form-field label{
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
  }
  
  /* Inputs like your buttons (soft + rounded) */
  .order-form .form-field input,
  .order-form .form-field textarea{
    width: 100%;
    border: 1px solid rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.55);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  }
  
  .order-form .form-field textarea{
    min-height: 96px;
    resize: vertical;
  }
  
  .order-form .form-field input:focus,
  .order-form .form-field textarea:focus{
    background: rgba(255,255,255,0.75);
    border-color: rgba(0,0,0,0.22);
    box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  }
  
  /* Invalid */
  .order-form .form-field input.invalid,
  .order-form .form-field textarea.invalid{
    border-color: rgba(220, 38, 38, 0.55);
  }
  
  /* Actions */
  .order-actions{
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;  /* як на ескізі: кнопка зліва */
    gap: 12px;
  }
  
  .order-error{
    flex: 1;
    font-size: 13px;
    color: rgb(185, 28, 28);
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  
  .order-error.visible{ opacity: 1; }
  
  /* Button in same design system */
  .order-submit{
    padding: 10px 20px;
    border-radius: 999px;
  }
  
  /* RIGHT PHOTO (static) */
  .order-photo{
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(241,227,204, 0.35);
    min-height: 360px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
  }
  
  .order-photo img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

/* ===== Money sizes inside menu ===== */

.money-subcats {
    margin: 8px 0 14px 14px;
    padding-left: 12px;
    border-left: 1px solid rgba(0,0,0,.15);
    display: none;
  }
  
  .money-subcat-item {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 6px 0;
    margin: 0;
    text-align: left;
  
    font-family: "Inter", system-ui, -apple-system, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .02em;
  
    color: #111;
    opacity: .65;
    cursor: pointer;
  }
  
  .money-subcat-item:hover {
    opacity: 1;
    text-decoration: underline;
  }
  
  .money-cat-open {
    font-weight: 500;
  }

/* ===== Art size subcategories inside menu ===== */

.art-subcats {
    margin: 8px 0 14px 14px;
    padding-left: 12px;
    border-left: 1px solid rgba(0,0,0,.15);
    display: none;
  }

  .art-subcat-item {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 6px 0;
    margin: 0;
    text-align: left;

    font-family: "Inter", system-ui, -apple-system, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .02em;

    color: #111;
    opacity: .65;
    cursor: pointer;
  }

  .art-subcat-item:hover {
    opacity: 1;
    text-decoration: underline;
  }

  .art-cat-open {
    font-weight: 500;
  }

/* ===== Sculpture subcategories inside menu ===== */

.sculpture-subcats {
    margin: 8px 0 14px 14px;
    padding-left: 12px;
    border-left: 1px solid rgba(0,0,0,.15);
    display: none;
  }

  .sculpture-subcat-item {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 5px 0;
    text-align: left;
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
  }

  .sculpture-subcat-item:hover {
    opacity: 1;
    text-decoration: underline;
  }

  .sculpture-cat-open {
    font-weight: 500;
  }

  /* Mischief — кнопка-група */
  .sculpture-subcat-group {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .sculpture-subcat-group::after {
    content: "›";
    display: inline-block;
    transition: transform 0.2s;
    font-style: normal;
  }

  .sculpture-subcat-group-open::after {
    transform: rotate(90deg);
  }

  /* Вкладені пункти (The Guardian, Rebel Muse) */
  .sculpture-subcat-children {
    padding-left: 12px;
    border-left: 1px solid rgba(0,0,0,.10);
    margin-left: 4px;
    margin-bottom: 4px;
  }

  .sculpture-subcat-child {
    font-size: 0.78rem;
  }

/* ===== BearBricks subcategories inside menu ===== */

.bearbricks-subcats {
    margin: 8px 0 14px 14px;
    padding-left: 12px;
    border-left: 2px solid rgba(0,0,0,.12);
    display: none;
  }

  .bearbricks-subcat-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 5px 0;
    font-size: 0.83rem;
    text-align: left;
    cursor: pointer;
    opacity: 0.7;
    font-family: inherit;
    color: inherit;
  }

  .bearbricks-subcat-item:hover {
    opacity: 1;
    text-decoration: underline;
  }

/* ===== Figures3D subcategories inside menu ===== */

.figures3d-subcats {
    margin: 8px 0 14px 14px;
    padding-left: 12px;
    border-left: 2px solid rgba(0,0,0,.12);
    display: none;
  }

  .figures3d-subcat-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 5px 0;
    font-size: 0.83rem;
    text-align: left;
    cursor: pointer;
    opacity: 0.7;
    font-family: inherit;
    color: inherit;
  }

  .figures3d-subcat-item:hover {
    opacity: 1;
    text-decoration: underline;
  }

  .figures3d-subcat-group {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .figures3d-subcat-group::after {
    content: "›";
    display: inline-block;
    transition: transform 0.2s;
  }

  .figures3d-subcat-group-open::after {
    transform: rotate(90deg);
  }

  .figures3d-subcat-children {
    padding-left: 12px;
    border-left: 1px solid rgba(0,0,0,.10);
    margin-left: 4px;
    margin-bottom: 4px;
  }

  .figures3d-subcat-child {
    font-size: 0.78rem;
  }

.menu-link.open {
    font-weight: 500;
}
/* ---------------- FOOTER ---------------- */

.site-footer {
    padding: 24px 0 32px;
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 13px;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .lang-switcher .lang-btn:not(.active) {
        display: none;
    }
    .lang-switcher > span {
        display: none;
    }

    .info-section {
        padding-top: 24px;
    }
}

.subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px;
  }
  
  .subcat-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.18);
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s ease;
  }
  
  .subcat-btn:hover {
    background: rgba(255,255,255,0.9);
  }
  
  .subcat-btn.active {
    background: rgba(0,0,0,0.85);
    color: #fff;
    border-color: rgba(0,0,0,0.85);
  }