:root {
    --primary: #17181b;
    --secondary: #6d7077;
    --muted: #9a9da4;
    --bg: #f7f7f8;
    --surface: #ffffff;
    --border: #e2e3e7;
    --input: #e8e9ec;
    --gold: #b78a3d;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { min-height: 100%; scroll-behavior: smooth; }

body {
    min-height: 100%;
    margin: 0;
    color: var(--primary);
    background: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button, input, select { color: inherit; font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

.catalog-page, .product-detail-page { min-height: 100vh; display: flex; flex-direction: column; }
.catalog-main { flex: 1; background: var(--bg); }
.catalog-container { width: min(calc(100% - 104px), 1496px); margin-inline: auto; }

.catalog-topbar, .detail-topbar {
    position: relative;
    z-index: 20;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: #fff;
}

.topbar-brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.topbar-brand-mark { width: 29px; height: 32px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(139, 100, 31, .13)); }
.topbar-brand-copy { display: flex; flex-direction: column; align-items: flex-start; color: #79602f; line-height: 1; }
.topbar-brand-copy strong { font-family: Georgia, serif; font-size: 13px; font-weight: 700; letter-spacing: .09em; }
.topbar-brand-copy small { margin-top: 4px; font-size: 6px; font-weight: 750; letter-spacing: .34em; }

.language-menu { position: absolute; z-index: 40; top: 14px; right: max(16px, env(safe-area-inset-right)); }
.language-trigger { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--input); border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.language-trigger:hover, .language-trigger[aria-expanded="true"] { border-color: #bfc1c6; background: #fafafa; }
.language-trigger > svg:first-child { width: 17px; height: 17px; fill: currentColor; }
.language-code { display: none; font-size: 11px; font-weight: 750; letter-spacing: .05em; }
.language-name { max-width: 90px; overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.language-chevron { width: 15px; height: 15px; fill: currentColor; transition: transform .2s; }
.language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: 222px; overflow: hidden; padding: 7px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 16px 44px rgba(17,24,39,.15); }
.language-dropdown-title { padding: 7px 9px 8px; color: var(--secondary); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.language-dropdown a { min-height: 39px; display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 7px; font-size: 12px; transition: background .15s; }
.language-dropdown a:hover { background: #f4f4f5; }
.language-dropdown a.active { background: #f0eee9; font-weight: 700; }
.language-dropdown a > svg { width: 17px; height: 17px; margin-left: auto; fill: #7a5b2d; }
.language-flag { width: 22px; font-size: 17px; line-height: 1; }

.catalog-hero { overflow: hidden; background: #f1f1f2; }
.catalog-hero > img { width: 100%; height: auto; max-height: 400px; aspect-ratio: 1920/400; object-fit: cover; }
.hero-fallback {
    position: relative;
    width: 100%;
    max-height: 400px;
    aspect-ratio: 1920/400;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(105deg, #f4efe7 0%, #f9f7f3 45%, #ebe3d6 100%);
    isolation: isolate;
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); opacity: .72; }
.hero-glow-one { width: 34vw; height: 34vw; left: -9vw; top: -23vw; background: radial-gradient(circle, #fff 0, #eadbc4 55%, transparent 68%); }
.hero-glow-two { width: 26vw; height: 26vw; right: -4vw; bottom: -19vw; background: radial-gradient(circle, #d6bd95 0, #f4eadc 52%, transparent 69%); }
.hero-copy { position: relative; z-index: 2; text-align: center; padding: 14px 16px 16px; }
.hero-logo { width: clamp(68px, 5.2vw, 98px); height: auto; margin: 0 auto 4px; filter: drop-shadow(0 4px 8px rgba(105, 76, 26, .1)); }
.hero-copy h1 { margin: 2px 0 3px; font-family: Georgia, serif; font-size: clamp(22px, 3vw, 52px); font-weight: 400; letter-spacing: .025em; }
.hero-copy p { margin: 0; color: #70675b; font-family: Georgia, serif; font-size: clamp(11px, .9vw, 16px); font-style: italic; }

.catalog-description { padding-top: 22px; }
.catalog-description p { margin: 0; color: var(--secondary); font-size: 16px; }
.controls-wrap { padding-top: 24px; padding-bottom: 4px; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.controls-left { display: flex; align-items: center; gap: 8px; flex: 1; }
.filter-menu { position: relative; }
.control-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 12px;
    border: 1px solid var(--input);
    border-radius: 8px;
    background: white;
    font-weight: 650;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.control-button:hover, .control-button[aria-expanded="true"] { border-color: #c7c8cc; background: #fafafa; }
.button-content { display: flex; align-items: center; gap: 8px; }
.control-button svg { width: 16px; height: 16px; fill: currentColor; }
.control-button .chevron { width: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.control-button[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.filter-count { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; color: #fff; background: var(--primary); font-size: 10px; }
.filter-dropdown {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    max-height: min(410px, calc(100vh - 120px));
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    box-shadow: 0 16px 44px rgba(17, 24, 39, .13);
}
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.filter-head strong { font-size: 14px; }
.filter-head a { color: var(--secondary); font-size: 12px; text-decoration: underline; }
.radio-row { display: flex; gap: 9px; align-items: center; padding: 8px 2px; cursor: pointer; }
.radio-row input { accent-color: #111; }
.apply-filter { width: 100%; margin-top: 10px; padding: 9px 12px; border: 0; border-radius: 8px; color: white; background: var(--primary); cursor: pointer; font-weight: 650; }

.search-box { position: relative; width: min(320px, 100%); }
.search-box > svg { position: absolute; top: 10px; left: 9px; width: 16px; height: 16px; fill: var(--secondary); pointer-events: none; }
.search-box input {
    width: 100%;
    height: 36px;
    padding: 7px 30px 7px 30px;
    border: 1px solid var(--input);
    border-radius: 7px;
    outline: none;
    background: #fff;
    font-size: 13px;
    transition: border .2s, box-shadow .2s, background .2s;
}
.search-box input:hover { background: #fafafa; }
.search-box input:focus { border-color: #a8abb1; background: white; box-shadow: 0 0 0 2px rgba(17, 24, 39, .08); }
.search-box input::placeholder { color: var(--secondary); }
.search-clear { position: absolute; top: 5px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; color: var(--secondary); font-size: 21px; }
.sort-control { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sort-control > span { color: var(--secondary); }
.sort-control select { max-width: 220px; border: 0; outline: 0; background: transparent; font-weight: 600; cursor: pointer; }
.result-meta { margin-top: 11px; display: flex; align-items: center; justify-content: flex-start; color: #34363a; font-size: 12px; }
.mobile-sort { display: none; }

.product-section { padding-top: 12px; padding-bottom: 92px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; row-gap: 60px; }
.product-card { min-width: 0; }
.product-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
}
.product-image-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0; transform: scale(1.012); transition: opacity .32s var(--ease), transform .5s var(--ease); }
.product-image-wrap img.loaded { opacity: 1; }
.product-card:hover .product-image-wrap img { transform: scale(1.035); }
.product-caption { padding: 18px 12px 10px; overflow: hidden; text-align: center; color: var(--secondary); }
.product-caption a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.product-caption a:hover { color: var(--primary); }
.no-image { width: 100%; height: 100%; display: grid; place-items: center; color: #b6b8bd; background: #fafafc; }
.no-image svg { width: 44px; height: 44px; fill: currentColor; }
.pagination { margin-top: 60px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.page-link { padding: 9px 14px; border: 1px solid var(--border); border-radius: 8px; background: white; }
.page-link:not(.disabled):hover { border-color: #b8bbc1; }
.page-link.disabled { color: #b8bbc1; cursor: default; }
.page-current { color: var(--secondary); font-size: 13px; }
.empty-catalog { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: white; }
.empty-icon svg { width: 22px; fill: var(--secondary); }
.empty-catalog h2 { margin: 18px 0 4px; font-size: 20px; }
.empty-catalog p { margin: 0; color: var(--secondary); }
.empty-catalog a { margin-top: 18px; text-decoration: underline; font-weight: 650; }

.catalog-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner { padding-top: 28px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; padding-top: 16px; }
.footer-brand { max-width: 680px; }
.footer-brand-lockup { display: inline-flex; align-items: center; gap: 13px; color: #70562a; }
.footer-brand-lockup > img { width: 48px; height: 52px; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(139, 100, 31, .12)); }
.footer-brand-lockup > span { display: flex; flex-direction: column; line-height: 1; }
.footer-brand-lockup strong { font-family: Georgia, serif; font-size: 23px; letter-spacing: .07em; }
.footer-brand-lockup small { margin-top: 8px; font-size: 8px; font-weight: 750; letter-spacing: .42em; }
.footer-brand p { margin: 13px 0 0; color: var(--secondary); }
.footer-contact { display: flex; flex-direction: column; gap: 16px; padding-top: 42px; }
.footer-contact > span { color: var(--secondary); font-size: 16px; font-weight: 500; }
.contact-dropdown { position: relative; width: min(100%, 340px); }
.contact-dropdown-trigger { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 10px 15px; border: 1px solid #d9dade; border-radius: 10px; color: var(--primary); background: #fff; cursor: pointer; font-size: 14px; font-weight: 750; text-align: start; transition: color .2s, border-color .2s, background .2s, box-shadow .2s; }
.contact-dropdown-trigger:hover, .contact-dropdown.is-open .contact-dropdown-trigger { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(23,24,27,.06); }
.contact-dropdown-trigger .contact-trigger-icon { width: 21px; height: 21px; flex: 0 0 auto; fill: currentColor; }
.contact-dropdown-trigger > span { flex: 1; }
.contact-trigger-chevron { width: 19px; height: 19px; flex: 0 0 auto; fill: currentColor; transition: transform .2s; }
.contact-dropdown.is-open .contact-trigger-chevron { transform: rotate(180deg); }
.contact-dropdown-panel { position: absolute; z-index: 45; top: calc(100% + 8px); inset-inline: 0; overflow: hidden; padding: 7px; border: 1px solid var(--border); border-radius: 13px; background: #fff; box-shadow: 0 18px 48px rgba(17,24,39,.16); animation: contact-dropdown-in .18s var(--ease); }
.contact-option { min-height: 58px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; transition: background .16s; }
.contact-option:hover { background: #f5f5f6; }
.contact-option-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--primary); }
.contact-option-icon svg { width: 19px; height: 19px; fill: currentColor; }
.contact-option-whatsapp .contact-option-icon { background: #25b963; }
.contact-option-email .contact-option-icon { background: #9a7438; }
.contact-option > span:last-child { min-width: 0; }
.contact-option strong, .contact-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-option strong { font-size: 13px; }
.contact-option small { margin-top: 1px; color: var(--secondary); font-size: 10px; font-weight: 500; }
.footer-contact-menu { width: 280px; }
.footer-contact-menu .contact-dropdown-trigger { min-height: 48px; border: 0; border-radius: 999px; background: var(--input); }
.footer-contact-menu .contact-dropdown-trigger:hover, .footer-contact-menu.is-open .contact-dropdown-trigger { color: #fff; background: var(--primary); box-shadow: none; }
@keyframes contact-dropdown-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.footer-bottom { margin-top: 42px; padding: 23px 0 24px; border-top: 1px solid #ececef; color: var(--secondary); text-align: center; font-size: 12px; font-weight: 500; }
.scroll-top { position: fixed; z-index: 50; right: 18px; bottom: 28px; width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--primary); box-shadow: 0 6px 20px rgba(0,0,0,.18); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s var(--ease); }
.scroll-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top svg { width: 30px; height: 30px; fill: currentColor; }

.contact-fab { position: fixed; z-index: 80; left: max(20px, env(safe-area-inset-left)); bottom: max(24px, env(safe-area-inset-bottom)); }
.contact-fab-trigger { position: relative; z-index: 2; width: 58px; height: 58px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: var(--primary); box-shadow: 0 8px 26px rgba(0,0,0,.24); cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.contact-fab-trigger:hover { transform: translateY(-2px); background: #292b30; }
.contact-fab-trigger svg { position: absolute; width: 26px; height: 26px; fill: currentColor; transition: opacity .18s, transform .22s var(--ease); }
.fab-close-icon { opacity: 0; transform: rotate(-45deg) scale(.7); }
.contact-fab.is-open .fab-phone-icon { opacity: 0; transform: rotate(35deg) scale(.7); }
.contact-fab.is-open .fab-close-icon { opacity: 1; transform: none; }
.contact-fab-options { position: absolute; left: 5px; bottom: calc(100% + 12px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contact-fab-options[hidden], .contact-dropdown-panel[hidden] { display: none !important; }
.contact-fab-option { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; background: var(--primary); box-shadow: 0 6px 18px rgba(0,0,0,.2); animation: fab-option-in .22s var(--ease) both; }
.contact-fab-option:nth-child(2) { animation-delay: .035s; }
.contact-fab-option:nth-child(3) { animation-delay: .07s; }
.contact-fab-option:hover { transform: scale(1.06); }
.contact-fab-option svg { width: 21px; height: 21px; fill: currentColor; }
.contact-fab-option > span { position: absolute; left: calc(100% + 9px); top: 50%; padding: 5px 9px; border-radius: 6px; color: #fff; background: rgba(23,24,27,.92); box-shadow: 0 3px 10px rgba(0,0,0,.12); font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; transform: translateY(-50%); }
.contact-fab-option.fab-whatsapp { background: #25b963; }
.contact-fab-option.fab-email { background: #9a7438; }
@keyframes fab-option-in { from { opacity: 0; transform: translateY(12px) scale(.82); } to { opacity: 1; transform: none; } }

/* Product detail */
.detail-topbar { height: 64px; }
.back-strip { width: 100%; background: var(--bg); }
.back-strip .catalog-container { height: 64px; display: flex; align-items: center; }
.back-strip a { font-size: 16px; font-weight: 750; text-decoration: underline; transition: opacity .2s; }
.back-strip a:hover { opacity: .65; }
.mobile-label { display: none; }
.detail-container { width: min(calc(100% - 104px), 1346px); margin: 16px auto 96px; display: grid; grid-template-columns: 11.3% minmax(0, 760px) minmax(280px, 424px); align-items: start; }
.detail-thumbs { min-width: 0; padding-right: 14px; }
.thumb-list { position: sticky; top: 20px; max-height: 680px; overflow: auto; padding: 1px 4px 1px 1px; scrollbar-width: thin; }
.thumb-item { width: 100%; aspect-ratio: 1; display: block; margin: 0 0 12px; padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #fafafc; cursor: pointer; transition: border .2s, box-shadow .2s; }
.thumb-item.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.thumb-item img { width: 100%; height: 100%; object-fit: contain; }
.detail-gallery { min-width: 0; padding-right: 80px; }
.gallery-stage { position: sticky; top: 20px; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #fafafc; }
.gallery-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); }
.gallery-image.active { opacity: 1; pointer-events: auto; }
.gallery-placeholder { position: absolute; inset: 0; }
.detail-info { min-width: 0; }
.product-contact-menu { width: 100%; }
.product-contact-menu .contact-dropdown-trigger { min-height: 56px; justify-content: center; border-color: var(--primary); border-radius: 8px; }
.product-contact-menu .contact-dropdown-trigger:hover, .product-contact-menu.is-open .contact-dropdown-trigger { color: #fff; background: var(--primary); }
.product-contact-menu .contact-dropdown-panel { top: calc(100% + 7px); }
.product-details-card { margin-top: 16px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.product-details-card summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; font-size: 15px; font-weight: 700; }
.product-details-card summary::-webkit-details-marker { display: none; }
.product-details-card summary svg { width: 22px; height: 22px; fill: currentColor; transition: transform .2s; }
.product-details-card[open] summary svg { transform: rotate(180deg); }
.details-content { padding: 0 20px 8px; }
.detail-row { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); align-items: start; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: 0; }
.detail-row span { min-width: 0; color: var(--secondary); font-size: 12px; line-height: 20px; }
.detail-row strong { min-width: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; line-height: 20px; white-space: pre-line; }
.description-row { grid-template-columns: 1fr; gap: 5px; }
.description-row strong { font-weight: 450; color: #3c3e43; }

.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; background: var(--bg); }
.error-brand-logo { width: 78px; height: auto; margin: 0 0 26px; filter: drop-shadow(0 4px 8px rgba(139, 100, 31, .12)); }
.error-page > span { color: var(--gold); font-weight: 750; letter-spacing: .2em; }
.error-page h1 { margin: 8px 0 6px; font-family: Georgia, serif; font-size: 40px; font-weight: 400; }
.error-page p { margin: 0; color: var(--secondary); }
.error-page a { margin-top: 24px; padding: 11px 18px; border-radius: 8px; color: white; background: var(--primary); font-weight: 650; }

@media (max-width: 1100px) {
    .catalog-container { width: calc(100% - 96px); }
    .detail-container { width: calc(100% - 96px); grid-template-columns: 11% minmax(0, 60%) minmax(0, 29%); }
    .detail-gallery { padding-right: 32px; }
}

@media (max-width: 767px) {
    .catalog-container { width: calc(100% - 32px); }
    .catalog-topbar { height: 58px; justify-content: flex-start; padding-inline: 16px; }
    .topbar-brand { gap: 7px; }
    .topbar-brand-mark { width: 25px; height: 28px; }
    .topbar-brand-copy strong { font-size: 11px; }
    .topbar-brand-copy small { margin-top: 3px; font-size: 5px; }
    .language-menu { top: 11px; }
    .language-name { display: none; }
    .language-code { display: inline; }
    .language-trigger { padding-inline: 9px; }
    .hero-fallback { min-height: 146px; aspect-ratio: 3.4/1; }
    .hero-logo { width: 52px; margin-bottom: 1px; }
    .hero-copy h1 { max-width: 340px; line-height: 1.08; }
    .hero-copy p { display: none; }
    .catalog-description { padding-top: 16px; }
    .catalog-description p { font-size: 14px; }
    .controls-wrap { padding-top: 16px; }
    .catalog-controls { gap: 8px; }
    .controls-left { width: 100%; }
    .filter-menu { flex: 0 0 auto; }
    .control-button { height: 34px; min-height: 34px; }
    .control-button .chevron { display: none; }
    .search-box { flex: 1; width: auto; }
    .search-box input { height: 34px; font-size: 12px; }
    .search-box > svg { top: 9px; }
    .catalog-controls > .sort-control { display: none; }
    .filter-dropdown { position: fixed; inset: auto 12px 12px; width: auto; max-height: 72vh; border-radius: 16px; box-shadow: 0 -8px 40px rgba(17,24,39,.17); }
    .result-meta { justify-content: space-between; gap: 12px; margin-top: 10px; }
    .mobile-sort { display: flex; gap: 4px; }
    .mobile-sort select { max-width: 105px; font-size: 12px; }
    .product-section { padding-top: 8px; padding-bottom: 54px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; row-gap: 34px; }
    .product-caption { padding: 12px 5px 6px; font-size: 12px; }
    .pagination { margin-top: 42px; }
    .footer-inner { padding-top: 24px; }
    .footer-grid { display: block; padding-top: 0; }
    .footer-brand-lockup > img { width: 42px; height: 46px; }
    .footer-brand-lockup strong { font-size: 20px; }
    .footer-contact { padding-top: 26px; }
    .footer-contact-menu { width: min(100%, 300px); }
    .footer-bottom { margin-top: 32px; padding-bottom: 50px; }
    .scroll-top { width: 48px; height: 48px; bottom: 22px; }

    .detail-topbar { height: 58px; justify-content: flex-start; padding-inline: 16px; }
    .back-strip .catalog-container { height: 48px; }
    .desktop-label { display: none; }
    .mobile-label { display: inline; }
    .detail-container { width: 100%; margin: 0 0 58px; display: flex; flex-direction: column; }
    .detail-thumbs { order: 2; width: 100%; padding: 14px 16px 0; }
    .thumb-list { position: static; display: flex; gap: 8px; max-height: none; overflow-x: auto; padding: 1px; }
    .thumb-item { flex: 0 0 62px; width: 62px; height: 62px; margin: 0; }
    .detail-gallery { order: 1; width: 100%; padding: 0; }
    .gallery-stage { position: relative; top: auto; border-inline: 0; border-radius: 0; }
    .detail-info { order: 3; width: 100%; padding: 10px 16px 0; }
    .product-contact-menu { margin-top: 10px; }
    .contact-fab { left: max(14px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); }
    .contact-fab-trigger { width: 52px; height: 52px; }
    .contact-fab-options { left: 2px; }
}

[dir="rtl"] .language-menu { right: auto; left: max(16px, env(safe-area-inset-left)); }
[dir="rtl"] .language-dropdown { right: auto; left: 0; }
[dir="rtl"] .language-dropdown a > svg { margin-right: auto; margin-left: 0; }
[dir="rtl"] .filter-dropdown { right: 0; left: auto; }
[dir="rtl"] .search-box > svg { right: 9px; left: auto; }
[dir="rtl"] .search-box input { padding-right: 30px; padding-left: 30px; text-align: right; }
[dir="rtl"] .search-clear { right: auto; left: 6px; }
[dir="rtl"] .detail-row { direction: rtl; }
[dir="rtl"] .detail-gallery { padding-right: 0; padding-left: 80px; }

@media (max-width: 1100px) {
    [dir="rtl"] .detail-gallery { padding-left: 32px; }
}

@media (max-width: 767px) {
    [dir="rtl"] .filter-dropdown { inset: auto 12px 12px; }
    [dir="rtl"] .detail-gallery { padding-left: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 45px; }
}

@media (min-width: 1600px) {
    .detail-container { grid-template-columns: 152px 760px 424px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
