/* ============================================================
   Arzano: normal store view (body.store)
   Clean, bold, monochrome storefront. The 3D mall keeps style.css + mall.css.
   ============================================================ */

/* ---- pieces shared by both views ---- */
.announce, .cat-nav, .cat-nav-m { display: none; }
.view-toggle {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer;
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600;
}
.view-toggle:hover { border-color: var(--brand); color: var(--brand); }
.vt-cube {
  width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 2px; position: relative;
  transform: rotate(45deg) skew(-8deg, -8deg);
}
.foot-simple { text-align: center; }

/* ---- design tokens for the store ---- */
body.store {
  --s-ink: #16181d; --s-acc: #ff6a00; --s-acc-d: #e45c00; --s-acc-soft: #fff1e6; --s-mute: #6e6e6e; --s-line: #e6e6e6; --s-soft: #f4f4f4; --s-new: #d6242a;
  --s-font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  background: #fff; color: var(--s-ink); font-family: var(--s-font); font-size: 15px;
}
body.store main { padding: 0 0 40px; }
body.store { overflow-x: clip; } /* full-width bands use 100vw, which includes the scrollbar */
body.store .wrap { max-width: 1440px; padding: 0 32px; }
body.store #app > * { animation-duration: .4s; }

/* ---- announcement bar ---- */
body.store .announce { display: block; background: var(--s-acc-d); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.announce-track { display: flex; justify-content: center; gap: 48px; padding: 9px 16px; white-space: nowrap; overflow: hidden; }
.announce-track a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- header ---- */
body.store .topbar { border-bottom: 1px solid var(--s-line); }
body.store .topbar .wrap { height: 72px; gap: 28px; }
body.store .logo { font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
body.store .logo b { color: inherit; }
body.store .logo-mark { background: var(--s-acc); border-radius: 0; width: 32px; height: 32px; font-size: 17px; }
/* links that don't fit wrap onto a hidden second line, so none is cut in half */
body.store .cat-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 8px; flex: 1; min-width: 0; height: 32px; overflow: hidden; }
body.store .cat-nav a, body.store .cat-nav-m a {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; line-height: 1.2;
  background: linear-gradient(135deg, #ffe2c7, #ffd0a6); color: #c24e00;
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}
body.store .cat-nav a:hover, body.store .cat-nav a.on, body.store .cat-nav-m a:hover, body.store .cat-nav-m a.on {
  background: linear-gradient(135deg, #ff7a1a, #ff9a3d); color: #fff;
  box-shadow: 0 3px 12px rgba(255, 106, 0, .45); transform: translateY(-1px);
}
body.store .search { flex: 0 1 260px; border: 0; background: var(--s-soft); border-radius: 999px; }
body.store .search input { padding: 10px 16px; background: transparent; font-size: 14px; }
body.store .search button { background: transparent; color: var(--s-ink); padding: 0 16px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
body.store .search button:hover { background: var(--s-acc); color: #fff; }
body.store .top-link { color: var(--s-ink); font-size: 13px; font-weight: 700; }
body.store .top-link:hover { color: var(--s-mute); }
body.store .top-admin { display: none; }
body.store .view-toggle { border-color: var(--s-acc); color: var(--s-acc-d); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
body.store .view-toggle:hover { background: var(--s-acc); color: #fff; }

/* ---- buttons ---- */
.sbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  background: var(--s-acc, #ff6a00); color: #fff; border: 2px solid var(--s-acc, #ff6a00); border-radius: 999px;
  padding: 13px 28px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  transition: background .15s, color .15s, border-color .15s;
}
.sbtn:hover { background: var(--s-acc-d, #e45c00); border-color: var(--s-acc-d, #e45c00); }
.sbtn.ghost { background: transparent; color: var(--s-acc-d, #e45c00); }
.sbtn.ghost:hover { background: var(--s-acc, #ff6a00); color: #fff; }
.sbtn.light { background: #fff; color: #e45c00; border-color: #fff; }
.sbtn.light:hover { background: #fff1e6; border-color: #fff1e6; }
.sbtn.outline-light { background: transparent; color: #fff; border-color: #fff; }
.sbtn.outline-light:hover { background: #fff; color: #e45c00; }
.sbtn.small { padding: 9px 18px; font-size: 12px; }
.kick { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }

/* ---- hero ---- */
body.store .shero {
  margin: 0 calc(50% - 50vw); background: linear-gradient(120deg, #ff6a00, #ff8a3d); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); min-height: 560px;
}
.shero-text { padding: 64px clamp(32px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.shero-text h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: .92; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 20px; }
.shero-text p { color: #fff3ea; font-size: 17px; max-width: 420px; margin: 0 0 30px; }
.shero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.shero-art { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: #ff8a3d; }
.sh-img { overflow: hidden; background: #fff; display: block; }
.sh-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sh-img:hover img { transform: scale(1.05); }
.sh-0 { grid-row: 1 / 3; }
.shero-art:has(.sh-img:only-child) .sh-0, .shero-art:has(.sh-1:last-child) .sh-0 { grid-column: 1 / 3; }
.shero-art:has(.sh-1:last-child) .sh-1 { grid-column: 1 / 3; }

/* ---- section heads & rails ---- */
.shead { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; }
.shead h2 { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.slink { font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.rail-arrows { margin-left: auto; display: flex; gap: 8px; }
.rail-arrows button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--s-line); background: #fff; cursor: pointer;
  font-size: 22px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px;
}
.rail-arrows button:hover { border-color: var(--s-acc); color: var(--s-acc-d); }
.srail { margin-top: 56px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 12px) / 4); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.srail.cats .rail { grid-auto-columns: calc((100% - 4 * 12px) / 5); }
.srail.cats .ctile { transition: opacity 1.4s cubic-bezier(.45,0,.55,1), filter 1.4s cubic-bezier(.45,0,.55,1), transform 1.4s cubic-bezier(.45,0,.55,1); }
.srail.cats .ctile.swap-out { opacity: 0; filter: blur(3px); transform: scale(.97); }

/* ---- category tiles ---- */
.ctile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--s-soft); }
.ctile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ctile:hover img { transform: scale(1.05); }
.ctile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.65)); }
.ctile-l { position: absolute; inset: 0; display: grid; place-items: center; font-size: 72px; font-weight: 900; color: #cfcfcf; }
.ctile-t { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.ctile-t { align-items: flex-start; }
.ctile-t b {
  font-size: 17px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  background: linear-gradient(135deg, #ff6a00, #ff9a3d); color: #fff; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 106, 0, .5); max-width: 100%; line-height: 1.2;
}
.ctile:hover .ctile-t b { background: linear-gradient(135deg, #ff8a2a, #ffb060); box-shadow: 0 6px 20px rgba(255, 140, 40, .7); }
.ctile-t span { font-size: 13px; opacity: .85; }

/* ---- product cards ---- */
.pcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pimg { position: relative; aspect-ratio: 4 / 5; background: var(--s-soft); overflow: hidden; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s cubic-bezier(.2,.7,.2,1); }
.pimg img.alt { opacity: 0; }
.pcard:hover .pimg img.alt { opacity: 1; }
.pcard:hover .pimg img:not(.alt):only-of-type { transform: scale(1.04); }
.pimg .noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; color: #c8c8c8; }
.ptag {
  position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--s-acc); color: #fff;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px;
}
.pquick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; background: rgba(255,255,255,.94); text-align: center;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 11px;
  transform: translateY(calc(100% + 12px)); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.pcard:hover .pquick { transform: none; }
.pbody { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.ptitle { font-size: 14px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcat { font-size: 13px; color: var(--s-mute); }
.pprice { font-size: 14px; font-weight: 800; margin-top: 2px; }
.pmoq { font-size: 12px; color: var(--s-mute); }

/* ---- golden frame on the product / category you clicked ---- */
.pimg::before, .ctile::before, .sh-img::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  border: 7px solid transparent; border-image: linear-gradient(135deg, #fff3b0, #e6b422 25%, #a8761a 50%, #f6d365 72%, #b8860b) 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 0 22px rgba(230,180,34,.35);
  transition: opacity .2s;
}
.sh-img { position: relative; }
.pcard.gold .pimg::before, .ctile.gold::before, .sh-img.gold::before { opacity: 1; animation: gold-in .45s cubic-bezier(.2,.8,.2,1); }
.pcard.gold .pimg, .ctile.gold, .sh-img.gold { box-shadow: 0 0 0 2px #e6b422, 0 0 24px 4px rgba(230,180,34,.55), 0 12px 30px rgba(184,134,11,.35); }
.pcard.gold .ptitle { color: #a8761a; }
@keyframes gold-in { from { opacity: 0; transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .pcard.gold .pimg::before, .ctile.gold::before, .sh-img.gold::before { animation: none; } }

body.store .price-now b { color: var(--s-acc-d); font-weight: 900; }

/* ---- product grid ---- */
.sall { margin-top: 64px; }
.gtool { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--s-line); margin-bottom: 18px; font-size: 13px; color: var(--s-mute); font-weight: 700; }
body.store .gsort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 700; color: var(--s-ink); }
.gsort select { border: 1px solid var(--s-line); border-radius: 999px; padding: 8px 14px; background: #fff; font-weight: 700; cursor: pointer; }
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 12px; }
.sempty { padding: 80px 20px; text-align: center; color: var(--s-mute); background: var(--s-soft); }
.gmore { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; }
.gmore p { margin: 0; font-size: 13px; color: var(--s-mute); }
.gbar { width: 220px; height: 2px; background: var(--s-line); }
.gbar i { display: block; height: 100%; background: var(--s-acc); }

/* ---- category page ---- */
body.store .crumbs { margin: 22px 0 0; font-size: 12px; color: var(--s-mute); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
body.store .crumbs a:hover { color: var(--s-ink); }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 14px 0 22px; }
.cat-head h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; margin: 0 0 8px; }
.cat-head p { margin: 0; color: var(--s-mute); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 18px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--s-line); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.chip:hover { border-color: var(--s-acc); }
.chip.on { background: var(--s-acc); border-color: var(--s-acc); color: #fff; }

/* ---- product page ---- */
body.store .product { background: none; box-shadow: none; padding: 0; border-radius: 0; gap: 48px; margin-top: 18px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
body.store .gallery { grid-template-columns: 76px 1fr; gap: 10px; }
body.store .thumbs { max-height: 640px; }
body.store .thumbs button { border: 0; border-radius: 0; outline: 2px solid transparent; outline-offset: -2px; aspect-ratio: 4 / 5; background: var(--s-soft); }
body.store .thumbs button.on, body.store .thumbs button:hover { outline-color: var(--s-acc); }
body.store .main-img { aspect-ratio: 4 / 5; border: 0; border-radius: 0; background: var(--s-soft); }
body.store .main-img img { object-fit: cover; }
body.store .info { position: sticky; top: 96px; }
body.store .info h1 { font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; }
body.store .info .meta { font-size: 13px; }
body.store .info .meta a { color: var(--s-acc-d) !important; text-decoration: underline; text-underline-offset: 3px; }
body.store .new-badge { background: var(--s-acc); box-shadow: none; animation: none; border-radius: 0; }
body.store .tiers { background: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 22px 0; }
body.store .tier { border: 1px solid var(--s-line); padding: 12px 14px; }
body.store .tier:last-child { border-right: 1px solid var(--s-line); }
body.store .tier.on { border-color: var(--s-acc); box-shadow: inset 0 0 0 1px var(--s-acc); background: var(--s-acc-soft); }
body.store .tier .p { font-size: 20px; }
body.store .tier.on .p { color: var(--s-acc-d); }
body.store .facts { font-size: 13px; padding: 16px 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
body.store .qty-box { border-radius: 999px; border-color: var(--s-line); }
body.store .qty-box button { background: #fff; width: 42px; }
body.store .total b { color: var(--s-acc-d); }
body.store .order-row { flex-direction: column; align-items: stretch; gap: 10px; }
body.store #orderBtn {
  width: 100%; background: var(--s-acc); border-radius: 999px; padding: 17px; font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
}
body.store #orderBtn:hover { background: var(--s-acc-d); }
body.store .order-note { text-align: center; }
body.store .details { box-shadow: none; border-radius: 0; padding: 32px 0 0; margin-top: 48px; border-top: 1px solid var(--s-line); max-width: 900px; }
body.store .details h2 { border: 0; font-size: 18px; font-weight: 900; text-transform: uppercase; padding: 0; }
body.store .specs td { border: 0; border-bottom: 1px solid var(--s-line); padding: 11px 0; }
body.store .specs td:first-child { background: none; font-weight: 700; color: var(--s-mute); }

/* ---- order form & tracking in store style ---- */
body.store .modal { border-radius: 0; }
body.store .modal .btn, body.store .track-form .btn { background: var(--s-acc); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; }
body.store .modal .btn.ghost { background: #fff; color: var(--s-acc-d); border-color: var(--s-acc); }
body.store .modal .btn:hover, body.store .track-form .btn:hover { background: var(--s-acc-d); }
body.store .modal .btn.ghost:hover { background: var(--s-acc-soft); }
body.store .crumbs a:hover, body.store .top-link:hover { color: var(--s-acc-d); }
body.store .om-sub, body.store .tc-no { color: var(--s-acc-d); }
body.store .input:focus { border-color: var(--s-acc); box-shadow: 0 0 0 3px var(--s-acc-soft); }
body.store .track-wrap { margin-top: 28px; }
body.store .track-form, body.store .track-card { border-radius: 0; box-shadow: none; border: 1px solid var(--s-line); }
body.store .track-form h1 { font-weight: 900; text-transform: uppercase; }
body.store .tl li.done::before { background: var(--s-acc); }
body.store .tl li.done .tl-dot, body.store .tl li.current .tl-dot { background: var(--s-acc); border-color: var(--s-acc); }
body.store .tl li.current .tl-dot { box-shadow: 0 0 0 5px var(--s-acc-soft); }
body.store .empty { border-radius: 0; }

/* ---- perks ---- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 72px; }
.perks > div { background: var(--s-soft); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.perks svg { width: 28px; height: 28px; fill: none; stroke: var(--s-acc); stroke-width: 1.6; stroke-linejoin: round; margin-bottom: 6px; }
.perks b { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.perks span { font-size: 14px; color: var(--s-mute); }
.perks a { color: var(--s-acc-d); text-decoration: underline; }

/* ---- footer ---- */
body.store footer { background: var(--s-soft); border: 0; color: var(--s-ink); text-align: left; padding: 0; margin-top: 40px; }
.sfoot { padding-top: 56px !important; }
.sf-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.sf-cols h4 { margin: 0 0 14px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.sf-cols > div { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.sf-cols a, .sf-cols span, .sf-cols button { color: var(--s-mute); }
.sf-cols a:hover, .sf-cols button:hover { color: var(--s-acc-d); }
.sf-cols button { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-size: 14px; }
.sf-brand b { font-size: 18px; font-weight: 900; text-transform: uppercase; }
.sf-brand p { margin: 0; color: var(--s-mute); max-width: 300px; }
.sf-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #dcdcdc; margin-top: 44px; padding: 20px 0 26px; font-size: 12px; color: var(--s-mute); }
.sf-bottom a:hover { color: var(--s-acc-d); }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  body.store .cat-nav { display: none; }
  body.store .cat-nav-m { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 0 32px; border-top: 1px solid var(--s-line); }
  body.store .cat-nav-m::-webkit-scrollbar { display: none; }
  body.store .cat-nav-m { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  body.store .cat-nav-m a { padding: 8px 14px; }
  body.store .search { flex: 1 1 auto; }
  .rail { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
  .srail.cats .rail { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
  .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body.store .wrap { padding: 0 16px; }
  body.store .topbar .wrap { height: auto; padding: 10px 16px; gap: 10px 14px; }
  body.store .search { flex-basis: 100%; order: 3; }
  body.store .cat-nav-m { padding: 10px 16px; }
  .announce-track { gap: 24px; justify-content: flex-start; }
  .announce-track span:nth-child(2) { display: none; }
  body.store .shero { grid-template-columns: 1fr; min-height: 0; }
  .shero-text { padding: 44px 20px; }
  .shero-art { height: 360px; }
  .rail, .srail.cats .rail { grid-auto-columns: 46%; }
  .rail-arrows { display: none; }
  .srail { margin-top: 44px; }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 8px; }
  .gsort select { padding: 7px 10px; }
  .pquick { display: none; }
  .perks { grid-template-columns: 1fr; }
  .sf-cols { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
  .cat-head { flex-direction: column; align-items: flex-start; }
  body.store .product { grid-template-columns: 1fr; gap: 24px; }
  body.store .gallery { grid-template-columns: 1fr; }
  body.store .info { position: static; }
}
