/* iAthlous — final storefront foundation. Original product and brand assets retained. */
:root {
  --bg: #f5f4ef; --panel: #fff; --panel2: #eeeee8;
  --ink: #101211; --muted: #696e68; --line: #ddded8;
  --aegean: #242925; --aegean-deep: #101211; --aegean-pale: #59634c;
  --terra: #d6ed69; --terra-pale: #eef3d9; --olive: #506536;
  --content-max: 1320px; --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { min-width: 0; scroll-behavior: smooth; scroll-padding-top: calc(96px + var(--sat)); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 0; background: var(--bg); color: var(--ink); font-family: Inter, sans-serif; -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { font-family: Cairo, sans-serif; }
body::before { display: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #647b2b; outline-offset: 4px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 300; padding: 12px 18px; background: var(--terra); color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.appbar {
  position: fixed; top: 0; inset-inline: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between;
  min-height: calc(76px + var(--sat)); padding: calc(14px + var(--sat)) max(24px, calc((100vw - 1240px) / 2)) 14px;
  gap: 20px; background: #101211; color: #fafbf7; border: 0; box-shadow: none; backdrop-filter: none;
  padding-left: max(24px, calc((100vw - 1240px) / 2), env(safe-area-inset-left, 0px)); padding-right: max(24px, calc((100vw - 1240px) / 2), env(safe-area-inset-right, 0px));
}
.appbar .logo { display: flex; width: 138px; min-width: 138px; height: 40px; align-items: center; }
.brand-wordmark { --wordmark-width: 138px; position: relative; display: block; width: var(--wordmark-width); height: calc(var(--wordmark-width) * .142); overflow: hidden; }
.brand-wordmark img { position: absolute; inset-inline-start: 0; top: calc(var(--wordmark-width) * -.8467); width: var(--wordmark-width); height: auto; max-width: none; padding: 0; filter: none; object-fit: unset; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-inline: auto; }
.site-nav a { font-size: 12px; font-weight: 600; color: #b5b9b2; transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fafbf7; }
.bar-right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border: 1px solid #383c36; border-radius: 8px; background: transparent; }
.lang button { min-width: 37px; min-height: 34px; border: 0; border-radius: 5px; background: none; color: #b5b9b2; font-size: 11px; font-weight: 600; }
.lang button.on { background: #f5f4ef; color: #101211; }
.notify-btn, .cart-btn, .acc-btn, .shop-link { position: relative; flex-shrink: 0; width: 42px; height: 42px; min-height: 42px; display: grid; place-items: center; border-radius: 8px; border: 1px solid #383c36; background: none; color: #fafbf7; padding: 0; box-shadow: none; }
.bar-right svg { width: 18px; height: 18px; stroke-width: 1.65; }
.notify-count, .cart-n { background: var(--terra); color: #101211; border: 2px solid #101211; }
.appbar :focus-visible { outline-color: var(--terra); }
.notify-panel { top: calc(86px + var(--sat)); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 60px #10121124; }
.notify-head h3, .notify-item strong { color: var(--ink); }
.notify-item p, .notify-empty, .notify-close { color: var(--muted); }
.notify-item time, .notify-link { color: #526626; }
.site-footer { width: 100%; max-width: none; margin: 0; padding: 56px max(24px, calc((100vw - 1240px) / 2)) calc(28px + var(--sab)); padding-left: max(24px, calc((100vw - 1240px) / 2), env(safe-area-inset-left, 0px)); padding-right: max(24px, calc((100vw - 1240px) / 2), env(safe-area-inset-right, 0px)); background: #101211; color: #fafbf7; text-align: start; border: 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: start; }
.footer-brand .brand-wordmark { --wordmark-width: 180px; }
.footer-brand p { max-width: 350px; margin: 17px 0 0; font-size: 13px; line-height: 1.8; color: #a7aea3; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 12px; }
.footer-links a { color: #d9ddd4; }
.footer-links a:hover { color: var(--terra); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #383c36; font-size: 10px; color: #8f9889; }
.footer-bottom span:last-child { letter-spacing: 1.5px; }
@media (min-width: 1500px) { .appbar { padding-left: max(24px, calc((100vw - 1240px) / 2), env(safe-area-inset-left, 0px)); padding-right: max(24px, calc((100vw - 1240px) / 2), env(safe-area-inset-right, 0px)); } }
@media (max-width: 760px) {
  .site-nav { display: none; }
  .appbar { gap: 12px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .appbar .logo { width: 118px; min-width: 118px; }
  .appbar .brand-wordmark { --wordmark-width: 118px; }
  .footer-inner { flex-direction: column; gap: 30px; }
  .site-footer { padding-top: 40px; }
}
@media (max-width: 480px) {
  .appbar { gap: 8px; min-height: calc(70px + var(--sat)); padding: calc(12px + var(--sat)) 12px 12px; }
  .appbar { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
  .appbar .logo { width: 98px; min-width: 98px; }
  .appbar .brand-wordmark { --wordmark-width: 98px; }
  .bar-right { gap: 5px; }
  .notify-btn, .cart-btn, .acc-btn, .shop-link { width: 38px; height: 42px; }
  .lang button { min-width: 32px; }
  .lang button:last-child { min-width: 38px; }
  .notify-panel { top: calc(80px + var(--sat)); inset-inline-end: 10px; width: calc(100vw - 20px); }
  .site-footer { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .footer-links { gap: 22px; }
}
@media (max-width: 359px) {
  .appbar { padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); gap: 5px; }
  .appbar .logo { width: 68px; min-width: 68px; }
  .appbar .brand-wordmark { --wordmark-width: 68px; }
  .bar-right { gap: 4px; }
  .notify-btn, .cart-btn, .acc-btn, .shop-link { width: 32px; }
  .lang { padding: 2px; }
  .lang button { min-width: 30px; font-size: 10px; }
  .lang button:last-child { min-width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
