:root {
  --olive: #344029;
  --olive-alt: #3b472f;
  --olive-soft: #566343;
  --ivory: #f8f5ee;
  --beige: #efe9dc;
  --gold: #c8a45d;
  --ink: #22241f;
  --muted: #77766f;
  --surface: #fff;
  --line: rgba(73, 74, 62, .15);
  --shadow: 0 16px 44px rgba(40, 44, 31, .12);
  --page: min(1320px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; overflow-x: hidden; background: var(--ivory); color: var(--ink); font-family: "Tajawal", Arial, sans-serif; line-height: 1.6; }
body, button, input, textarea, select { font-family: "Tajawal", Arial, sans-serif; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; }
h2 { margin-bottom: 0; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.promo-strip { min-height: 34px; background: var(--olive); color: #fff; font-size: .78rem; }
.promo-inner { width: var(--page); min-height: 34px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.promo-main { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.promo-main b { color: var(--gold); }
.promo-links { display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.82); }
.promo-links a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(248,245,238,.96); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(31,35,25,.05); backdrop-filter: blur(14px); }
.header-main { width: var(--page); min-height: 78px; margin: auto; display: grid; grid-template-columns: minmax(260px,1fr) auto minmax(260px,1fr); align-items: center; gap: 28px; }
.brand { display: inline-grid; place-items: center; width: fit-content; }
.brand-logo { width: 150px; height: 74px; object-fit: contain; }
.header-main > .brand { justify-self: center; }
.header-search { width: min(100%, 350px); height: 42px; display: flex; align-items: center; border: 1px solid #d8d2c4; background: #fff; }
.header-search input { min-width: 0; flex: 1; height: 100%; padding: 0 15px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .9rem; }
.header-search button { width: 43px; height: 100%; display: grid; place-items: center; background: var(--olive); color: #fff; }
.header-search svg { width: 18px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-control { position: relative; min-width: 42px; height: 42px; padding: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 50%; background: transparent; color: var(--ink); }
.icon-control:hover { background: var(--beige); }
.icon-control svg { width: 25px; height: 25px; }
.account-toggle { width: auto; border-radius: 22px; }
.account-toggle span { font-size: .82rem; }
.cart-toggle b { position: absolute; top: 0; inset-inline-end: -2px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 4px; border-radius: 50%; background: var(--gold); color: var(--olive); font-size: .7rem; }
.language-control select, .mobile-language select { border: 1px solid #d8d2c4; border-radius: 20px; padding: 8px 12px; background: #fff; color: var(--ink); }
.menu-toggle, .mobile-search-toggle { display: none; }
.nav { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: clamp(24px,4vw,62px); border-top: 1px solid rgba(73,74,62,.09); font-size: .92rem; font-weight: 600; }
.nav a { position: relative; padding: 14px 0 12px; }
.nav a::after { content: ""; position: absolute; right: 50%; bottom: 8px; width: 0; height: 1px; background: var(--gold); transition: width .2s, right .2s; }
.nav a:hover::after { right: 0; width: 100%; }
.mobile-search-panel, .mobile-menu, .mobile-menu-backdrop { display: none; }

main#home, .product-page { width: var(--page); margin-inline: auto; }
.hero { position: relative; isolation: isolate; min-height: 620px; overflow: hidden; background: #22291d; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,24,16,.9) 0%, rgba(20,24,16,.54) 39%, rgba(20,24,16,.05) 70%), linear-gradient(0deg, rgba(20,24,16,.25), transparent 40%); }
[dir="rtl"] .hero::before { background: linear-gradient(90deg, rgba(20,24,16,.88) 0%, rgba(20,24,16,.52) 39%, rgba(20,24,16,.04) 70%), linear-gradient(0deg, rgba(20,24,16,.25), transparent 40%); }
.hero-visual { position: absolute; inset: 0; z-index: -2; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 25%; }
.hero-copy { position: absolute; left: 7%; top: 50%; width: min(510px,44%); transform: translateY(-50%); text-align: right; }
.hero .eyebrow { color: #e1c17e; }
.eyebrow { margin-bottom: 12px; color: #96793f; font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.hero h1 { margin: 0; font-size: clamp(3rem,5vw,5rem); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; white-space: pre-line; }
.hero-copy > p:not(.eyebrow) { max-width: 440px; margin: 22px 0 0; color: rgba(255,255,255,.9); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { min-height: 46px; padding: 11px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 5px; font-weight: 700; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--olive); color: #fff; box-shadow: 0 8px 20px rgba(24,31,18,.14); }
.btn.primary:hover { background: #27321f; }
.btn.ghost { border-color: #cec8b9; background: transparent; color: inherit; }
.hero .btn.primary { min-width: 190px; border-color: #e3c77f; background: rgba(52,64,41,.9); }
.hero .btn.ghost { border-color: rgba(255,255,255,.72); }
.hero-caption { position: absolute; right: 5%; bottom: 52px; display: grid; gap: 2px; text-align: right; color: #ecd08d; }
.hero-caption em { color: #fff; font-size: 1.22rem; }
.hero-ornament { position: absolute; top: 36px; right: 36px; color: var(--gold); font-size: 1.6rem; }

.hero-benefits { position: relative; z-index: 3; width: min(82%, 1000px); min-height: 94px; margin: -47px auto 0; padding: 16px 12px; display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.hero-benefits > div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 12px; padding: 0 24px; }
.hero-benefits > div + div { border-inline-start: 1px solid var(--line); }
.hero-benefit-icon { grid-row: 1 / span 2; color: var(--olive); }
.hero-benefit-icon svg { width: 33px; height: 33px; stroke-width: 1.5; }
.hero-benefits strong { font-size: .94rem; }
.hero-benefits small { color: var(--muted); font-size: .77rem; }

.section { padding-top: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading p { margin: 7px 0 0; color: var(--muted); font-size: .94rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; background: transparent; color: var(--olive); font-weight: 600; }
.text-link:hover { color: #171d13; }
.direction-arrow { font-size: 1.25rem; }

.category-carousel { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 12px; }
.category-track { min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px)/5); gap: 16px; overflow-x: auto; padding: 5px 4px 13px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.category-track::-webkit-scrollbar { display: none; }
.filter-chip { position: relative; isolation: isolate; aspect-ratio: 4/4.45; overflow: hidden; border: 1px solid rgba(166,137,82,.38); border-radius: 13px; background: var(--beige); color: #fff; scroll-snap-align: start; }
.filter-chip img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .35s ease; }
.filter-chip::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18,20,15,.72), transparent 58%); }
.filter-chip span { position: absolute; inset-inline: 12px; bottom: 12px; text-align: center; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.filter-chip:hover img { transform: scale(1.05); }
.filter-chip.active { outline: 2px solid var(--gold); outline-offset: 2px; }
.category-carousel-arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d9d1bf; border-radius: 50%; background: #fff; color: var(--olive); box-shadow: 0 6px 20px rgba(34,36,31,.1); font-size: 1.35rem; transition: .2s; }
.category-carousel-arrow:hover { transform: scale(1.08); background: var(--gold); color: #fff; }
.category-carousel-arrow:disabled { opacity: .35; transform: none; }

.products-heading { margin-top: 54px; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.product-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 8px 22px rgba(41,44,33,.045); }
.product-media { position: relative; }
.product-image { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--beige); }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .35s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-favorite { position: absolute; top: 10px; inset-inline-start: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(70,72,62,.14); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); }
.product-favorite svg { width: 20px; height: 20px; stroke-width: 1.7; }
.product-favorite.active { color: var(--olive); }
.product-favorite.active svg { fill: var(--olive); }
.cod-badge { position: absolute; bottom: 10px; inset-inline-end: 10px; padding: 4px 9px; border-radius: 3px; background: #ead7a7; color: #493d25; font-size: .68rem; font-weight: 700; }
.product-body { flex: 1; padding: 16px; display: flex; flex-direction: column; align-items: stretch; }
.product-meta { color: #9a7b3f; font-size: .73rem; }
.product-body h3 { min-height: 2.7em; margin: 5px 0 0; font-size: 1rem; }
.product-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 8px; direction: ltr; justify-content: flex-end; }
.price { color: var(--olive); font-weight: 800; }
.product-price-row del { color: #999; font-size: .78rem; }
.product-rating { display: flex; align-items: center; justify-content: flex-start; gap: 7px; margin-top: 4px; direction: ltr; color: #d99811; font-family: Arial,sans-serif; font-size: .77rem; }
.product-rating small { color: var(--muted); }
.product-body > p { flex: 1; margin: 9px 0 14px; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.add-button { width: 100%; min-height: 43px; padding: 8px 12px; }
.add-button svg { width: 18px; height: 18px; stroke-width: 1.7; }
.empty-products { grid-column: 1/-1; padding: 60px 20px; border: 1px dashed #d4ccba; text-align: center; color: var(--muted); }
.image-note { margin: 12px 0 0; color: #aaa79f; font-size: .7rem; }

.craftsmanship { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.craft-panel { position: relative; min-height: 180px; overflow: hidden; border-radius: 9px; background-color: var(--olive); background-repeat: no-repeat; background-size: 145%; color: #fff; }
.craft-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,28,20,.9), rgba(25,28,20,.2)); }
.craft-panel-embroidery { background-image: url("./assets/jabador-olive.png"); background-position: 52% 36%; }
.craft-panel-fabric { background-image: url("./assets/kandrissi-sand.png"); background-position: 50% 48%; }
.craft-panel > div { position: absolute; z-index: 1; inset-inline-start: 30px; bottom: 26px; }
.craft-panel h2 { font-size: 1.45rem; }
.craft-panel p { margin: 5px 0 0; color: rgba(255,255,255,.83); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; margin-top: 70px; padding: 42px 54px; border: 1px solid #dde0d3; border-radius: 8px; background: #eef0e6; }
.split-section h2 { font-size: 2rem; }
.split-section p:not(.eyebrow) { margin: 13px 0 0; color: var(--muted); }
.seo-map { counter-reset: step; }
.seo-map span { display: flex; gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(62,70,50,.14); color: var(--olive); }
.seo-map span::before { counter-increment: step; content: "0" counter(step); color: #a88647; font-family: Georgia,serif; }

#blog > .section-heading { display: block; }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.blog-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: 50% 25%; }
.blog-body { padding: 20px; }
.blog-tag { color: #9a7b3f; font-size: .75rem; }
.blog-card h3 { margin: 8px 0; font-size: 1.1rem; }
.blog-card p { color: var(--muted); font-size: .85rem; }
.blog-link { color: var(--olive); font-weight: 700; font-size: .85rem; }

.site-footer { margin-top: 76px; background: #f2eee4; border-top: 1px solid var(--line); }
.footer-grid { width: var(--page); margin: auto; padding: 48px 0 38px; display: grid; grid-template-columns: 1.3fr repeat(4,1fr); gap: 34px; }
.site-footer .brand-logo { width: 126px; height: 70px; }
.footer-tagline { max-width: 260px; margin: 14px 0; color: var(--muted); font-size: .86rem; }
.social-links { display: flex; gap: 8px; }
.social-link { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #d9d2c2; border-radius: 50%; background: #fff; color: var(--olive); }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h3 { margin: 0 0 8px; font-size: .95rem; }
.footer-column a, .footer-note p { color: var(--muted); font-size: .82rem; }
.footer-column a:hover { color: var(--olive); }
.footer-note p { line-height: 1.7; }
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.payment-method { min-width: 68px; min-height: 45px; padding: 5px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #d8d0bf; border-radius: 5px; background: #fff; }
.payment-method img { width: 42px; height: 18px; object-fit: contain; }
.payment-method strong { font-family: Arial,sans-serif; }
.payment-method small { margin-top: 2px; color: #9a7b3f; font-size: .6rem; }
.payment-method.cod { background: #ece2c8; }
.footer-bottom { min-height: 58px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding-inline: calc((100% - min(1320px, calc(100% - 48px)))/2); color: var(--muted); font-size: .76rem; }
.back-top { color: var(--olive); font-weight: 700; }

.cart-panel { position: fixed; z-index: 55; inset-block: 0; inset-inline-end: 0; width: min(470px,100%); padding: 28px; overflow-y: auto; background: #fff; box-shadow: var(--shadow); transform: translateX(105%); visibility: hidden; transition: .25s; }
[dir="rtl"] .cart-panel { transform: translateX(-105%); }
.cart-panel.open { transform: translateX(0); visibility: visible; }
.cart-header { display: flex; align-items: center; justify-content: space-between; }
.icon-button, .modal-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--olive); font-size: 1.5rem; }
.cart-items { display: grid; gap: 14px; margin: 24px 0; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 82px; object-fit: cover; border-radius: 5px; }
.cart-item strong, .cart-item span, .cart-item small { display: block; }
.cart-item span, .cart-item small { color: var(--muted); font-size: .78rem; }
.cart-total { padding: 16px 0; display: flex; justify-content: space-between; border-block: 1px solid var(--line); }
.checkout-form, .account-form, .compact-form { display: grid; gap: 15px; margin-top: 20px; }
label > span:first-child { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 600; }
input, textarea { width: 100%; padding: 11px 12px; border: 1px solid #d7d2c7; border-radius: 5px; background: #fff; color: var(--ink); font-size: .95rem; }
input:focus, textarea:focus { outline: 2px solid rgba(86,99,67,.2); border-color: var(--olive-soft); }
.checkout-payment { display: grid; gap: 8px; }
.payment-choice { min-height: 56px; padding: 9px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 6px; }
.payment-choice > span { display: flex; align-items: center; gap: 9px; }
.payment-choice img { width: 48px; height: 24px; object-fit: contain; }
.payment-choice small { color: #a37e35; }
.payment-choice.disabled { opacity: .55; background: #f7f6f2; }
.cod-note { padding: 12px; margin: 0; background: #eef0e7; color: var(--olive); font-size: .8rem; }
.full { width: 100%; }
.success-message { display: none; }
.overlay { display: none; position: fixed; inset: 0; z-index: 50; background: rgba(20,24,16,.4); backdrop-filter: blur(3px); }
.overlay.show { display: block; }
body.cart-open { overflow: hidden; }

dialog { width: min(520px,calc(100% - 32px)); padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 24px 70px rgba(20,24,16,.28); }
dialog::backdrop { background: rgba(24,28,20,.48); backdrop-filter: blur(4px); }
.choice-dialog form, .success-dialog > div, .account-shell { position: relative; padding: 34px; }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; }
.modal-kicker { margin-bottom: 8px; color: #9a7b3f; font-size: .76rem; font-weight: 700; }
.modal-copy { color: var(--muted); }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; }
.success-dialog { text-align: center; }
.success-mark { width: 54px; height: 54px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #e9edde; color: var(--olive); font-size: 1.8rem; }
.account-brand { display: flex; align-items: center; gap: 14px; }
.account-brand img { width: 96px; height: 58px; object-fit: contain; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 18px 0; padding: 4px; border-radius: 8px; background: var(--beige); }
.auth-tabs button { padding: 9px; border-radius: 6px; background: transparent; }
.auth-tabs button.active { background: #fff; color: var(--olive); font-weight: 700; box-shadow: 0 2px 8px rgba(30,34,24,.08); }
.auth-panel { display: grid; gap: 13px; }
.password-field { display: flex; border: 1px solid #d7d2c7; border-radius: 5px; overflow: hidden; }
.password-field input { border: 0; }
.password-field button { width: 44px; background: #f5f2ea; }
.text-button { width: fit-content; padding: 3px 0; background: transparent; color: var(--olive); font-weight: 600; }
.account-message { min-height: 22px; margin: 0; color: var(--olive); font-size: .79rem; }
.account-message.error { color: #a23e32; }
.signed-in-panel { text-align: center; }

.product-page { padding-top: 34px; }
.product-detail { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 38px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.detail-gallery { min-width: 0; }
.detail-stage { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 9px; background: var(--beige); }
.gallery-shot { display: block; width: 100%; height: 100%; overflow: hidden; }
.gallery-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 22%; }
.gallery-shot.view-collar img { transform: scale(2.15); }
.gallery-shot.view-fabric img { transform: scale(3); transform-origin: 57% 47%; }
.gallery-shot.view-lower img { transform: scale(1.8); transform-origin: 50% 83%; }
.detail-round { width: 40px; height: 40px; display: grid; place-items: center; padding: 9px; border: 1px solid rgba(73,74,62,.15); border-radius: 50%; background: rgba(255,255,255,.92); color: var(--olive); }
.detail-round svg { width: 20px; height: 20px; }
.detail-round.is-saved svg { fill: var(--olive); }
.detail-back { position: absolute; top: 12px; inset-inline-start: 12px; }
.detail-tools { position: absolute; top: 12px; inset-inline-end: 12px; display: grid; gap: 8px; }
.gallery-controls { position: absolute; inset-inline: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; direction: ltr; }
.gallery-controls > span { padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.9); font-size: .72rem; }
.detail-thumbnails { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 8px; }
.detail-thumbnail { aspect-ratio: 1; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 5px; background: var(--beige); }
.detail-thumbnail.selected { border-color: var(--olive); }
.detail-information { padding: 16px 6px; display: flex; flex-direction: column; justify-content: center; }
.detail-category { color: #9a7b3f; font-size: .8rem; }
.detail-information h1 { margin: 0; font-size: clamp(1.8rem,3vw,2.6rem); }
.detail-price-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.detail-price { color: var(--olive); font-size: 1.65rem; }
.detail-cod-badge { padding: 4px 10px; border-radius: 14px; background: #ead7a7; font-size: .72rem; }
.detail-reviews { display: flex; gap: 9px; margin-top: 7px; color: var(--muted); font-size: .8rem; }
.empty-stars { color: #d89a19; }
.detail-description { color: var(--muted); line-height: 1.85; }
.detail-attribute { display: grid; gap: 3px; margin: 9px 0; padding: 10px; border: 1px solid var(--line); background: #fbfaf7; font-size: .82rem; }
.detail-sizes { margin: 14px 0 20px; padding: 0; border: 0; }
.detail-sizes legend { margin-bottom: 8px; font-weight: 700; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-option input { position: absolute; opacity: 0; }
.size-option span { min-width: 44px; height: 40px; display: grid; place-items: center; border: 1px solid #d6d1c5; border-radius: 5px; }
.size-option input:checked + span { border-color: var(--olive); background: var(--olive); color: #fff; }
.detail-add { width: 100%; }
.detail-delivery { display: flex; gap: 13px; margin-top: 17px; padding: 15px; background: #eef0e7; }
.detail-delivery > svg { width: 30px; color: var(--olive); }
.detail-delivery p, .detail-delivery small, .detail-image-note { color: var(--muted); font-size: .78rem; }
.detail-delivery p { margin: 2px 0; }
.detail-status { color: var(--olive); }
.share-link-field { display: grid; gap: 5px; }
.product-unavailable { padding: 80px 20px; text-align: center; }

.seo-page, .seo-article { width: min(1120px,calc(100% - 48px)); margin: auto; padding: 52px 0 80px; }
.seo-hero { min-height: 520px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.seo-hero h1, .seo-article h1 { font-size: clamp(2.3rem,5vw,4.4rem); }
.seo-hero p, .seo-copy p, .seo-article p { color: var(--muted); font-size: 1.04rem; line-height: 1.9; }
.seo-hero img, .seo-article-image { width: 100%; max-height: 560px; object-fit: cover; border-radius: 12px; }
.seo-copy { max-width: 820px; margin: 30px auto; padding: 32px; border-block: 1px solid var(--line); }
.seo-copy h2 { margin-top: 28px; }

.account-page-body { min-height: 100vh; }
.account-page-header { min-height: 88px; padding: 8px max(24px,calc((100% - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #fff; }
.account-page { width: min(1180px,calc(100% - 40px)); margin: auto; padding: 48px 0 80px; }
.account-loading { min-height: 50vh; display: grid; place-items: center; align-content: center; }
.loader { width: 36px; height: 36px; border: 3px solid var(--beige); border-top-color: var(--olive); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.account-guest { max-width: 500px; margin: auto; text-align: center; }
.account-welcome { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; }
.account-welcome h1 { margin-bottom: 5px; }
.account-welcome p { color: var(--muted); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.account-card { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.account-card-heading > div { display: flex; align-items: center; gap: 10px; }
.account-card-heading span { color: var(--gold); font-family: Georgia,serif; }
.account-card-heading h2 { font-size: 1.25rem; }
.account-orders-card { grid-column: 1/-1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-label { display: flex; align-items: center; gap: 8px; }
.check-label input { width: auto; }
.address-list, .orders-list { display: grid; gap: 10px; margin-top: 18px; }
.address-item, .order-item { padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 6px; }
.address-item span, .address-item small, .order-item span, .order-item small { display: block; color: var(--muted); font-size: .77rem; }
.address-item button { padding: 5px; background: transparent; color: var(--olive); }
.order-item > div:last-child { text-align: end; }
.order-item b { display: block; }
.empty-note { margin: 0; color: var(--muted); }
.account-reset { max-width: 520px; margin: auto; }

.mobile-bottom-nav { display: none; }

@media (max-width: 1000px) {
  :root { --page: min(100% - 32px, 920px); }
  .header-main { grid-template-columns: 1fr auto 1fr; }
  .header-search { max-width: 260px; }
  .language-control, .account-toggle span { display: none; }
  .hero { min-height: 560px; }
  .hero-copy { width: 48%; }
  .hero h1 { font-size: 3rem; }
  .category-track { grid-auto-columns: calc((100% - 48px)/4); }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.2fr repeat(3,1fr); }
  .footer-note { grid-column: 1/-1; }
}

@media (max-width: 700px) {
  :root { --page: calc(100% - 24px); }
  html { scroll-padding-top: 112px; }
  body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .promo-strip, .promo-inner { min-height: 30px; }
  .promo-inner { width: 100%; padding: 0 10px; justify-content: center; }
  .promo-main { font-size: .67rem; white-space: nowrap; }
  .promo-links { display: none; }
  .site-header { position: sticky; }
  .header-main { position: relative; width: 100%; min-height: 72px; padding: 6px 12px; display: flex; justify-content: center; }
  .header-main > .brand { position: relative; z-index: 1; }
  .brand-logo { width: 112px; height: 58px; }
  .header-search, .language-control, .account-toggle, .wishlist-toggle { display: none; }
  .menu-toggle, .mobile-search-toggle { position: absolute; top: 15px; display: grid; }
  .menu-toggle { left: 10px; }
  .mobile-search-toggle { right: 53px; }
  .header-actions { position: absolute; top: 15px; right: 9px; }
  .header-actions > * { display: none; }
  .header-actions .cart-toggle { display: grid; }
  .icon-control { min-width: 40px; height: 40px; padding: 8px; }
  .nav { display: none; }
  .mobile-search-panel { position: absolute; top: 72px; inset-inline: 12px; z-index: 4; padding: 10px; display: flex; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
  .mobile-search-panel input { min-width: 0; }
  .mobile-search-panel .btn { flex: 0 0 auto; min-height: 42px; padding-inline: 16px; }
  .mobile-menu { position: fixed; z-index: 70; inset-block: 0; left: 0; width: min(86vw,360px); padding: 24px; display: flex; flex-direction: column; background: rgba(248,245,238,.94); backdrop-filter: blur(18px); transform: translateX(-105%); transition: transform .25s; }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu-header { display: flex; align-items: center; justify-content: space-between; }
  .mobile-nav { display: grid; margin-top: 22px; }
  .mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
  .mobile-language { margin-top: auto; }
  .mobile-language span { display: block; margin-bottom: 8px; }
  .mobile-menu-backdrop { position: fixed; z-index: 65; inset: 0; display: block; background: rgba(20,24,16,.4); opacity: 0; visibility: hidden; backdrop-filter: blur(4px); transition: .25s; }
  .mobile-menu-backdrop.show { opacity: 1; visibility: visible; }
  main#home, .product-page { width: var(--page); }
  .hero { min-height: 470px; border-radius: 10px; }
  .hero::before, [dir="rtl"] .hero::before { background: linear-gradient(90deg, rgba(20,24,16,.8), rgba(20,24,16,.08) 75%), linear-gradient(0deg, rgba(20,24,16,.42), transparent 48%); }
  .hero-visual > img { object-position: 57% 20%; }
  .hero-copy { left: 22px; top: 48%; width: 64%; transform: translateY(-50%); text-align: right; }
  .hero h1 { font-size: clamp(2rem,9vw,2.75rem); line-height: 1.13; }
  .hero-copy > p:not(.eyebrow) { margin-top: 14px; font-size: .9rem; line-height: 1.65; }
  .hero-actions { margin-top: 18px; }
  .hero-actions .btn { min-width: 0; min-height: 43px; padding-inline: 18px; }
  .hero-actions .ghost { display: none; }
  .hero-caption { display: none; }
  .hero-ornament { top: 18px; right: 18px; }
  .hero-benefits { width: 100%; min-height: 86px; margin: 10px 0 0; padding: 11px 4px; border-radius: 8px; box-shadow: 0 7px 20px rgba(40,44,31,.07); }
  .hero-benefits > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 5px; text-align: center; }
  .hero-benefit-icon { grid-row: auto; }
  .hero-benefit-icon svg { width: 27px; height: 27px; }
  .hero-benefits strong { font-size: .68rem; line-height: 1.3; }
  .hero-benefits small { display: none; }
  .section { padding-top: 38px; }
  .section-heading { align-items: center; margin-bottom: 15px; }
  .section-heading h2 { font-size: 1.35rem; }
  .section-heading p { font-size: .78rem; }
  .text-link { font-size: .74rem; }
  .category-carousel { display: block; }
  .category-track { grid-auto-columns: 80px; gap: 11px; padding: 4px 1px 10px; }
  .filter-chip { aspect-ratio: 1; border-radius: 50%; }
  .filter-chip span { inset-inline: 3px; bottom: 5px; font-size: .66rem; line-height: 1.2; }
  .category-carousel-arrow { display: none; }
  .products-heading { margin-top: 30px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 10px; }
  .product-body { padding: 10px; }
  .product-body h3 { min-height: 2.7em; font-size: .82rem; line-height: 1.35; }
  .product-meta { font-size: .64rem; }
  .product-price-row { margin-top: 5px; }
  .price { font-size: .84rem; }
  .product-rating { gap: 4px; font-size: .66rem; }
  .product-body > p { display: none; }
  .add-button { min-height: 39px; margin-top: 9px; padding: 6px 4px; border-radius: 4px; font-size: .72rem; }
  .add-button svg { width: 15px; }
  .product-favorite { top: 7px; inset-inline-start: 7px; width: 31px; height: 31px; }
  .cod-badge { bottom: 7px; inset-inline-end: 7px; font-size: .57rem; }
  .craftsmanship { grid-template-columns: 1fr; gap: 12px; }
  .craft-panel { min-height: 135px; }
  .craft-panel > div { inset-inline-start: 18px; bottom: 18px; }
  .craft-panel h2 { font-size: 1.2rem; }
  .craft-panel p { font-size: .8rem; }
  .split-section { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding: 25px 20px; }
  .split-section h2 { font-size: 1.45rem; }
  .split-section p { font-size: .84rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 12px; }
  .blog-card { display: grid; grid-template-columns: 36% 1fr; }
  .blog-image { height: 100%; aspect-ratio: auto; }
  .blog-body { padding: 14px; }
  .blog-card h3 { font-size: .9rem; }
  .blog-card p { font-size: .75rem; }
  .site-footer { margin-top: 44px; }
  .footer-grid { width: var(--page); padding: 34px 0 26px; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-brand-block, .footer-note { grid-column: 1/-1; }
  .footer-bottom { padding: 13px 12px; min-height: 0; align-items: flex-start; flex-direction: column; gap: 5px; }
  .cart-panel { padding: 20px; }
  dialog { width: calc(100% - 22px); }
  .choice-dialog form, .success-dialog > div, .account-shell { padding: 28px 20px; }
  .modal-actions { flex-direction: column; }
  .product-detail { grid-template-columns: 1fr; gap: 14px; padding: 10px; }
  .detail-information { padding: 10px; }
  .detail-information h1 { font-size: 1.55rem; }
  .seo-page, .seo-article { width: var(--page); padding: 30px 0 60px; }
  .seo-hero { min-height: 0; grid-template-columns: 1fr; gap: 24px; }
  .seo-hero h1, .seo-article h1 { font-size: 2.2rem; }
  .seo-copy { padding: 24px 0; }
  .mobile-bottom-nav { position: fixed; z-index: 45; inset-inline: 0; bottom: 0; min-height: calc(65px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: transparent; color: var(--muted); font-size: .67rem; }
  .mobile-bottom-nav svg { width: 24px; height: 24px; stroke-width: 1.65; }
  .mobile-bottom-nav .active { color: var(--olive); font-weight: 700; }
  .account-page-header { min-height: 72px; padding: 6px 14px; }
  .account-page-header .brand-logo { width: 105px; }
  .account-page-header .btn { padding-inline: 12px; font-size: .75rem; }
  .account-page { width: calc(100% - 24px); padding: 30px 0 55px; }
  .account-welcome { align-items: flex-start; flex-direction: column; }
  .account-grid { grid-template-columns: 1fr; }
  .account-orders-card { grid-column: auto; }
  .account-card { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .address-item, .order-item { align-items: flex-start; }
}

@media (max-width: 380px) {
  :root { --page: calc(100% - 16px); }
  .promo-main { font-size: .61rem; }
  .hero { min-height: 438px; }
  .hero-copy { left: 16px; width: 69%; }
  .hero h1 { font-size: 2rem; }
  .category-track { grid-auto-columns: 72px; }
  .product-grid { gap: 9px 7px; }
  .product-body { padding: 8px; }
  .product-body h3 { font-size: .76rem; }
  .add-button { font-size: .65rem; }
}

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