:root { --forest: #352117; --ink: #261b16; --lime: #d7b17a; --line: #dfd2c3; }
* { box-sizing: border-box; }
[x-cloak] { display: none !important; }
.htmx-request button, button.htmx-request { opacity: .58; cursor: wait; transform: scale(.98); }
.htmx-swapping { opacity: .45; transition: opacity .15s ease; }
body { min-height: 100vh; }
a, button, input, textarea, select { outline-offset: 3px; }
:focus-visible { outline: 2px solid #9a4f35; }
.skip-link { position: fixed; top: .75rem; inset-inline-start: .75rem; z-index: 999; transform: translateY(-140%); border-radius: .65rem; background: white; padding: .7rem 1rem; font-weight: 700; box-shadow: 0 8px 30px rgba(0,0,0,.18); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.nav-link { position: relative; white-space: nowrap; font-size: .875rem; font-weight: 700; color: rgba(23,32,29,.72); transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--forest); }
.nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; border-radius: 2px; background: var(--forest); }
.icon-btn { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: .8rem; color: var(--ink); transition: background-color .2s, transform .2s; }
.icon-btn:hover { background: #f4eadb; transform: translateY(-1px); }
.mobile-link { display: flex; align-items: center; justify-content: space-between; border-radius: .75rem; padding: .75rem; font-weight: 700; transition: background .2s; }
.mobile-link:hover { background: #f4eadb; }
.input-control { width: 100%; border: 1px solid var(--line); border-radius: .8rem; background: white; padding: .75rem 1rem; font-size: .875rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.input-control:hover { border-color: #bdb8ac; }
.input-control:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(18,60,50,.1); outline: 0; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: .85rem; background: var(--forest); padding: .9rem 1.25rem; font-size: .875rem; font-weight: 700; color: white; transition: transform .2s, background .2s, box-shadow .2s; }
.btn-primary:hover { background: #805735; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(53,33,23,.16); }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid var(--line); border-radius: .85rem; background: white; padding: .9rem 1.25rem; font-size: .875rem; font-weight: 700; color: var(--ink); transition: transform .2s, border-color .2s, background .2s; }
.btn-secondary:hover { border-color: var(--forest); background: #f4eadb; transform: translateY(-2px); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: #805735; font-size: .72rem; line-height: 1; font-weight: 800; letter-spacing: normal; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 1.5rem; height: 2px; border-radius: 3px; background: #9a4f35; }
.section-title { font-family: Cairo, sans-serif; font-size: clamp(2rem, 4vw, 3.55rem); font-weight: 700; line-height: 1.4; letter-spacing: normal; }
.footer-heading { font-family: Cairo, sans-serif; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: normal; color: var(--lime); }
.footer-list { margin-top: 1.25rem; display: grid; gap: .8rem; font-size: .875rem; color: rgba(255,255,255,.62); }
.footer-list a { transition: color .2s; }.footer-list a:hover { color: white; }
.footer-social { display: grid; height: 2.5rem; width: 2.5rem; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; transition: background .2s, color .2s; }
.footer-social:hover { background: var(--lime); color: var(--forest); }
.product-card { position: relative; display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid rgba(222,219,210,.9); border-radius: 1.25rem; background: white; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.product-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 18px 50px rgba(18,60,50,.12); }
.product-image { aspect-ratio: 1 / .88; overflow: hidden; background: #f4eadb; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image img { transform: scale(1.045); }
.reveal { animation: reveal .65s cubic-bezier(.2,.75,.3,1) both; }
.reveal-delay { animation: reveal .65s .12s cubic-bezier(.2,.75,.3,1) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.price-display { display: inline-flex; flex-direction: column; min-width: 0; max-width: 100%; }
.price-display-row, .price-values > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.price-amount { font-variant-numeric: tabular-nums; }
.price-original { font-size: .65em; font-weight: 400; opacity: .5; }
.currency-toggle { display: inline-flex; align-items: center; gap: .3rem; min-height: 2rem; border: 1px solid currentColor; border-radius: .5rem; padding: .2rem .5rem; font-family: inherit; font-size: .65rem; font-weight: 800; line-height: 1.25; cursor: pointer; }
.currency-toggle:hover { background: #d7b17a33; }
.currency-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.currency-toggle[aria-pressed="true"] { background: #d7b17a33; }
.price-payment-note, .currency-unavailable { margin-top: .2rem; font-family: inherit; font-size: .65rem; font-weight: 400; line-height: 1.5; opacity: .65; }

/* Arabic storefront: connected glyphs and predictable bidirectional values. */
body, button, input, select, textarea { font-family: Cairo, sans-serif; }
body { line-height: 1.75; }
h1, h2, h3 { line-height: 1.4 !important; }
.eyebrow, .footer-heading { letter-spacing: normal; }
[dir="rtl"] .divide-x > :not([hidden]) ~ :not([hidden]) { --tw-divide-x-reverse: 1; }
input[type="email"], input[type="tel"], input[type="number"], input[type="url"] { direction: ltr; text-align: start; }
.price-amount, .price-original bdi { unicode-bidi: isolate; }

.phone-entry { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fcf8f2; }
.phone-entry-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.phone-entry .input-control { min-width: 0; font-size: 16px; }
.phone-entry input.phone-invalid, .phone-entry input[aria-invalid="true"] { border-color: #b42318; background: #fff5f3; box-shadow: 0 0 0 2px #b4231814; }
@media (max-width: 639px) { .phone-entry { padding: 16px; } .phone-entry-grid { grid-template-columns: minmax(0,1fr); } }
