/* Wali Outlet — clean outlet storefront: white, black and gold */
:root {
  --black: #111111;
  --ink: #1a1a1a;
  --muted: #6f6f6f;
  --line: #e5e5e5;
  --soft: #f6f6f6;
  --paper: #ffffff;
  --gold: #b8913f;
  --gold-soft: #efe3c6;
  --sale: #c62828;
  --danger: #b3261e;
  --ok: #2e7d32;
  --radius: 0px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  /* Fonts: same pairing as elseperfume.com — Archivo for headings, labels and
     buttons; Helvetica (Arial on Windows) for body text. */
  --heading: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: Helvetica, "Helvetica Neue", Arial, sans-serif;
  --track: .18em;
  --serif: var(--heading); /* older names, still used below */
  --sans: var(--body);
  /* legacy aliases used by admin/cart markup */
  --emerald: var(--black);
  --ivory: var(--soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
.container { width: min(1320px, 100% - 32px); margin-inline: auto; }
.hidden { display: none !important; }
.upper { text-transform: uppercase; letter-spacing: .14em; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--black); color: #fff; text-align: center;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: 9px 16px;
}
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 78px; }
.header-left, .header-right { display: flex; align-items: center; gap: 18px; }
.header-right { justify-content: flex-end; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 36px; height: 36px; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 0; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { color: var(--gold); }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.brand-name { font-family: var(--heading); font-size: 1.85rem; font-weight: 600; color: var(--gold); letter-spacing: var(--track); text-transform: uppercase; }
.brand-tag { font-size: .58rem; letter-spacing: .5em; text-transform: uppercase; color: var(--ink); margin-top: 5px; }
.cart-count {
  position: absolute; top: -2px; right: -6px; background: var(--black); color: #fff; border-radius: 999px;
  font-size: .64rem; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px;
}
.main-nav { border-top: 1px solid var(--line); }
.main-nav ul { list-style: none; margin: 0 auto; padding: 0 16px; display: flex; justify-content: center; gap: 34px; overflow-x: auto; scrollbar-width: none; }
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a { display: block; padding: 13px 0; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--black); }
.main-nav a.sale { color: var(--sale); }
.nav { display: flex; align-items: center; gap: 16px; font-size: .9rem; }
@media (max-width: 640px) {
  .header-main { height: 64px; }
  .brand-name { font-size: 1.45rem; }
  .brand-tag { font-size: .5rem; letter-spacing: .4em; }
  .main-nav ul { justify-content: flex-start; gap: 24px; }
  .header-left .hide-sm { display: none; }
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--black); background: var(--black); color: #fff;
  padding: 13px 28px; border-radius: 0; font: 500 .8rem var(--heading); letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: #333; border-color: #333; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: #9c7a33; border-color: #9c7a33; }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-white { background: #fff; color: var(--black); border-color: #fff; }
.btn-white:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn-sm { padding: 7px 14px; font-size: .72rem; }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-block { width: 100%; }

label { display: block; font-size: .8rem; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #d6d6d6; border-radius: 0;
  background: #fff; font: 400 .92rem var(--sans); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 1px solid var(--black); border-color: var(--black); }
textarea { min-height: 96px; resize: vertical; }
.field { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.check input { width: auto; }

/* ---------- Hero slider ---------- */
/* Clean full-width banners that fade into each other: 2.61 : 1 on computers,
   0.87 : 1 on phones (a separate phone picture can be uploaded in admin). */
.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; }
.hero-slider { position: relative; width: 100%; aspect-ratio: 2.61 / 1; max-height: 82vh; min-height: 300px; overflow: hidden; background: var(--soft); color: #fff; }
@media (max-width: 700px) { .hero-slider { aspect-ratio: .87 / 1; max-height: none; min-height: 0; } }
.hero-slider .slides { position: absolute; inset: 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide-link { position: absolute; inset: 0; display: block; color: #fff; -webkit-user-drag: none; }
.slide-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; -webkit-user-drag: none; }
.slide-bg { display: none; }
/* A picture of a very different shape: shown whole over a blurred copy of itself. */
.slide.contain .slide-bg { display: block; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); filter: blur(34px) brightness(.85) saturate(1.1); }
.slide.contain .slide-img { object-fit: contain; object-position: center; }
.slide.has-caption .slide-link::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.42) 0%, rgba(0,0,0,.12) 28%, transparent 48%); }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 46px; z-index: 1; padding: 0 20px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.slide-caption .kicker { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; }
.slide-caption h2 { font-family: var(--heading); font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; margin: 0 0 8px; color: #fff; }
.slide-cta { font-family: var(--heading); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.slide-link:hover .slide-cta { opacity: .8; }
/* Slim arrows: shown on hover on computers, always (small) on touch screens. */
.slider-arrow { position: absolute; top: 50%; z-index: 3; width: 44px; height: 64px; margin-top: -32px; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); transition: opacity .25s; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
@media (hover: hover) { .slider-arrow { opacity: 0; } .hero-slider:hover .slider-arrow, .slider-arrow:focus-visible { opacity: .9; } }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.slider-dots button { width: 30px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slider-dots button::before { content: ""; width: 22px; height: 2px; background: rgba(255,255,255,.45); transition: background .3s; }
.slider-dots button[aria-current="true"]::before { background: #fff; }
@media (max-width: 700px) {
  .slider-arrow { width: 34px; height: 50px; margin-top: -25px; }
  .slider-arrow svg { width: 20px; height: 20px; }
  .slider-arrow.prev { left: 4px; }
  .slider-arrow.next { right: 4px; }
  .slide-caption { bottom: 38px; }
}
/* While the slides load: a soft moving shimmer instead of a flat grey box. */
.hero-slider:empty { background: linear-gradient(100deg, var(--soft) 30%, #ebebeb 50%, var(--soft) 70%) 0 0 / 200% 100%; animation: hero-shimmer 1.4s linear infinite; }
@keyframes hero-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } .hero-slider:empty { animation: none; } }

/* ---------- Category circles ---------- */
.circles { display: flex; justify-content: center; gap: 36px; padding: 40px 16px 8px; overflow-x: auto; scrollbar-width: none; }
.circles::-webkit-scrollbar { display: none; }
.circle { display: grid; justify-items: center; gap: 10px; flex: none; }
.circle-img { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); padding: 4px; transition: border-color .2s; }
.circle-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 12%; }
.circle:hover .circle-img { border-color: var(--black); }
.circle span { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 640px) { .circles { justify-content: flex-start; gap: 20px; } .circle-img { width: 82px; height: 82px; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.section-title p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.section-title .view-all { display: inline-block; margin-top: 10px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--black); }

/* Explore tiles */
.tiles { display: grid; gap: 16px; }
.tiles-2 { grid-template-columns: 1fr 1fr; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; background: var(--soft); color: #fff; }
.tiles-2 .tile { aspect-ratio: 4 / 5; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .7s; }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 45%); }
.tile-label { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 1; text-align: center; display: grid; gap: 4px; }
.tile-label b { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.tile-label span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
@media (max-width: 640px) { .tiles-2 { grid-template-columns: 1fr 1fr; gap: 10px; } .tile-label { bottom: 16px; } }

/* ---------- Shop toolbar ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip {
  border: 1px solid #d6d6d6; background: #fff; padding: 8px 18px; border-radius: 0;
  font: 500 .72rem var(--heading); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--ink);
}
.chip:hover { border-color: var(--black); }
.chip.active { background: var(--black); color: #fff; border-color: var(--black); }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 28px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.toolbar input { max-width: 300px; }
.toolbar select { max-width: 220px; }
.result-count { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Product grid ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .products { grid-template-columns: 1fr 1fr; gap: 24px 12px; } }
.card { display: flex; flex-direction: column; background: transparent; }
.card-media { position: relative; aspect-ratio: 2 / 3; background: var(--soft); overflow: hidden; }
/* Product photos are always shown whole (photos come in many shapes). */
.card-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: opacity .4s; }
.card-media .img-alt { position: absolute; inset: 0; opacity: 0; background: var(--soft); }
.card:hover .card-media .img-alt { opacity: 1; }
.card-quick { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; background: rgba(255,255,255,.95); color: var(--black); text-align: center; padding: 10px; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transform: translateY(140%); transition: transform .3s; }
.card:hover .card-quick { transform: translateY(0); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--sale); color: #fff;
  font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px;
}
.badge.new { background: var(--black); }
.badge.out { background: #8a8a8a; }
.card-body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 3px; text-align: center; }
.card-cat { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--heading); font-size: .92rem; font-weight: 500; margin: 0; letter-spacing: .03em; }
.card-meta { font-size: .76rem; color: var(--muted); }
.price { display: flex; gap: 10px; align-items: baseline; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.price .now { font-weight: 500; color: var(--ink); font-size: .95rem; }
.price.on-sale .now { color: var(--sale); }
.price .was { color: var(--muted); text-decoration: line-through; font-size: .82rem; }
@media (hover: none) { .card-quick { display: none; } }

.placeholder-img {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted);
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; background: var(--soft);
}
.empty { text-align: center; color: var(--muted); padding: 48px 16px; grid-column: 1 / -1; }
.loader { text-align: center; color: var(--muted); padding: 48px 0; grid-column: 1 / -1; }

/* ---------- Service strip ---------- */
.services { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px 0; }
.service { display: flex; gap: 14px; align-items: center; }
.service svg { width: 34px; height: 34px; flex: none; color: var(--gold); }
.service b { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.service span { font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .services .container { grid-template-columns: 1fr 1fr; } }

/* ---------- Product page ---------- */
.breadcrumb { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 22px; }
.breadcrumb a:hover { color: var(--black); }
.product-page { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding: 22px 0 72px; }
@media (max-width: 860px) { .product-page { grid-template-columns: 1fr; gap: 28px; } }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; }
.gallery.single { grid-template-columns: 1fr; }
.gallery-main { aspect-ratio: 2 / 3; max-height: calc(100vh - 210px); width: 100%; overflow: hidden; background: var(--soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.thumbs { display: grid; gap: 10px; }
.thumbs button { aspect-ratio: 2 / 3; padding: 0; border: 1px solid transparent; overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.thumbs button.active { border-color: var(--black); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: var(--soft); }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(5, 64px); order: 2; }
}
.product-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin: 6px 0 10px; }
.product-info .price { justify-content: flex-start; }
.product-info .price .now { font-size: 1.4rem; }
.specs { list-style: none; padding: 0; margin: 22px 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.specs li span:first-child { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; }
.specs li span:last-child { text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid #d6d6d6; background: #fff; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--black); }
.qty input { width: 46px; border: 0; text-align: center; padding: 0; background: none; outline: none; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin: 24px 0; }
.buy-row .btn { flex: 1; min-width: 180px; }
.description { white-space: pre-line; color: #3a3a3a; font-size: .92rem; }
.product-info h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 8px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; padding: 40px 0 72px; align-items: start; }
@media (max-width: 860px) { .cart-layout { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.panel h2, .panel h3 { letter-spacing: .14em; text-transform: uppercase; font-size: 1rem; }
.panel h2 { font-size: 1.15rem; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img, .cart-item .placeholder-img { width: 84px; height: 126px; object-fit: contain; object-position: center; background: var(--soft); font-size: .6rem; }
.cart-item h4 { font-size: .95rem; margin: 0 0 2px; }
.link-btn { background: none; border: 0; color: var(--danger); cursor: pointer; font-size: .8rem; padding: 0; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; }
.summary-row.total { font-weight: 600; font-size: 1.05rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }

/* ---------- Notices / toast ---------- */
.notice { background: #fff8e6; border: 1px solid var(--gold-soft); color: #6d5317; padding: 12px 16px; font-size: .9rem; margin: 16px 0; }
.notice.error { background: #fbeceb; border-color: #efc2bc; color: var(--danger); }
.notice.success { background: #e9f5ee; border-color: #bfe0cc; color: var(--ok); }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(150%);
  background: var(--black); color: #fff; padding: 13px 22px; box-shadow: var(--shadow);
  transition: transform .3s; z-index: 100; font-size: .82rem; letter-spacing: .08em;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); color: #444; padding: 56px 0 0; font-size: .88rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--black); margin-bottom: 16px; }
.site-footer .brand-name { font-size: 1.6rem; }
.site-footer p { margin: 10px 0 0; color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.site-footer .pay span { border: 1px solid #d6d6d6; background: #fff; padding: 4px 10px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer .copy { border-top: 1px solid var(--line); margin-top: 44px; padding: 18px 0; text-align: center; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Admin ---------- */
.admin-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.admin-header .brand { align-items: flex-start; }
.admin-wrap { padding: 32px 0 72px; }
.admin-login { max-width: 420px; margin: 48px auto; }
.tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.tab { border: 1px solid #d6d6d6; background: #fff; padding: 10px 18px; cursor: pointer; font: 500 .74rem var(--heading); letter-spacing: .14em; text-transform: uppercase; }
.tab.active { background: var(--black); color: #fff; border-color: var(--black); }
.admin-grid { display: grid; grid-template-columns: 420px 1fr; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .admin-grid { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-weight: 600; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
td img { width: 48px; height: 72px; object-fit: contain; object-position: center; background: var(--soft); }
td .actions { display: flex; gap: 6px; }
.image-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.image-previews .pv { position: relative; width: 72px; height: 108px; overflow: hidden; border: 1px solid var(--line); }
.image-previews .pv img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.image-previews .pv button {
  position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: .8rem; line-height: 1;
}
.status { display: inline-block; padding: 3px 10px; font-size: .72rem; font-weight: 600; text-transform: capitalize; background: var(--soft); }
.status.new { background: #fff3d6; color: #8a6412; }
.status.confirmed { background: #e3eefc; color: #2a5aa0; }
.status.shipped { background: #ece6fb; color: #5b3fa8; }
.status.delivered { background: #e9f5ee; color: var(--ok); }
.status.cancelled { background: #fbeceb; color: var(--danger); }
.order-card { border: 1px solid var(--line); padding: 16px; margin-bottom: 14px; background: #fff; }
.order-card header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.order-card ul { margin: 8px 0; padding-left: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); padding: 16px; }
.stat b { display: block; font-size: 1.5rem; font-weight: 500; }
.stat span { color: var(--muted); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- WhatsApp ---------- */
:root { --wa: #1f9e55; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s, background .2s;
}
.wa-float:hover { background: #17824a; transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 640px) { .wa-float { padding: 13px; right: 14px; bottom: 14px; } .wa-float span { display: none; } }
.wa-btn { background: var(--wa); border-color: var(--wa); }
.wa-btn:hover { background: #17824a; border-color: #17824a; }
.contact-band { background: var(--soft); text-align: center; padding: 56px 0; margin-top: 24px; }
.contact-band .kicker { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.contact-band h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 8px 0 10px; }
.contact-band p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.contact-band .pay-line { margin-top: 18px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-band + .services { border-top: 0; }

/* ---------- Checkout payment ---------- */
.pay-options { display: grid; gap: 8px; margin-bottom: 14px; }
.pay-option { display: flex; align-items: center; gap: 12px; border: 1px solid #d6d6d6; padding: 12px 14px; cursor: pointer; margin: 0; color: var(--ink); font-size: .9rem; }
.pay-option:has(input:checked) { border-color: var(--black); background: var(--soft); }
.pay-option input { width: auto; margin: 0; accent-color: var(--black); }
.pay-option span { display: grid; }
.pay-option small { color: var(--muted); font-size: .78rem; }
.wallet-info { border: 1px dashed var(--gold); background: #fffaf0; padding: 14px; margin-bottom: 14px; font-size: .88rem; display: grid; gap: 4px; }

/* Touch screens: no hover-only effects, so the first tap always opens the product. */
@media (hover: none) {
  .card-media .img-alt { display: none; }
  .card:hover .card-media img, .tile:hover img { transform: none; }
}

/* ---------- Jump targets ---------- */
/* The sticky header is ~125px tall: keep #shop / #featured titles visible after a jump. */
section[id] { scroll-margin-top: 132px; }
@media (max-width: 640px) {
  section[id] { scroll-margin-top: 112px; }
  /* Leave room so the floating WhatsApp button doesn't cover the last footer line. */
  .site-footer .copy { padding-bottom: 84px; }
}

/* ---------- Admin: home slider & categories ---------- */
.slide-rows, .cat-rows { display: grid; gap: 10px; }
.slide-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); padding: 10px; background: #fff; }
.slide-row img { width: 64px; height: 84px; object-fit: cover; object-position: center top; }
.slide-row .actions, .cat-row .actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.slide-preview { margin-top: 10px; width: 120px; aspect-ratio: 3 / 4; border: 1px solid var(--line); overflow: hidden; background: var(--soft); }
.slide-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); padding: 10px 12px; background: #fff; }
.inline-add { display: flex; gap: 8px; align-items: stretch; }
.inline-add input { flex: 1; }
@media (max-width: 560px) {
  .slide-row { grid-template-columns: 56px 1fr; }
  .slide-row .actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------- Typography: Archivo for labels, menus, prices and other small caps ---------- */
.announce, .main-nav a, .brand-tag, .kicker, .circle span, .tile-label, .card-cat, .badge, .card-quick,
.result-count, .view-all, .breadcrumb, .service b, .site-footer h4, .site-footer .copy, .site-footer .pay span,
.toast, .price .now, .specs li span:first-child, .contact-band .pay-line, .pay-option b, th, .stat b, .stat span,
.status, label, .summary-row.total, .cart-item h4, .product-info h1, .product-info h3, .wa-float span {
  font-family: var(--heading);
}
.slide-preview.wide { width: 260px; aspect-ratio: 2.61 / 1; }
.slide-preview .link-btn { display: block; margin-top: 6px; }
#b-mpreview { aspect-ratio: auto; height: auto; overflow: visible; border: 0; background: none; }
#b-mpreview img { width: 120px; height: 138px; border: 1px solid var(--line); }
.slide-row img { object-fit: cover; object-position: center 25%; }

/* ---------- More from Wali Outlet (Jewellery, Bed Sheets, Honey) ---------- */
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-3 .tile { aspect-ratio: 1 / 1; }
.tile-soon { background: linear-gradient(160deg, #f8f3e8 0%, #efe3c6 100%); color: var(--ink); }
.tile-soon::after { display: none; }
.tile-art { position: absolute; inset: 0 0 34% 0; display: grid; place-items: center; color: var(--gold); }
.tile-art svg { width: 34%; max-width: 120px; height: auto; }
.tile-soon .tile-label span { color: var(--muted); }
@media (max-width: 640px) {
  .tiles-3 { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .tiles-3 .tile-label { bottom: 12px; }
  .tiles-3 .tile-label b { font-size: .82rem; letter-spacing: .12em; }
  .tiles-3 .tile-label span { font-size: .62rem; letter-spacing: .08em; }
}
.coming-soon { display: grid; justify-items: center; gap: 14px; }
.coming-soon p { margin: 0; font-size: 1rem; }

/* ---------- SEO pages: collections, product info, about, 404 ---------- */
.breadcrumb span[aria-current] { color: var(--ink); }
.product-info .info-title { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin: 22px 0 10px; }
.delivery-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; color: #3a3a3a; }
.delivery-list li::before { content: "✓"; color: var(--gold); margin-right: 8px; }
.collection-page { padding-bottom: 56px; }
.collection-head { text-align: center; max-width: 760px; margin: 18px auto 8px; }
.collection-head h1 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.collection-intro { color: var(--muted); margin: 0; font-size: .95rem; }
.collection-video { max-width: 900px; margin: 26px auto 8px; }
.collection-video .video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.collection-video iframe, .collection-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.about { background: #fff; padding-top: 24px; }
.about-inner { max-width: 820px; text-align: center; }
.about-inner h2 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); letter-spacing: .16em; text-transform: uppercase; }
.about-inner p { color: #444; font-size: .95rem; }
.about-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 14px; }
.about-links a { font-family: var(--heading); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.about-links a:hover { border-color: var(--black); }
.not-found { display: grid; justify-items: center; gap: 12px; padding: 72px 16px; }
.not-found-links a { border-bottom: 1px solid var(--line); }
.forgot { display: block; margin: 12px auto 0; color: var(--muted); font-size: .85rem; }
.forgot:hover { color: var(--black); text-decoration: underline; }
.cat-main { flex: 1; min-width: 0; }
.cat-video { margin-top: 8px; }

/* ---------- Phone layout polish ---------- */
/* Taller photo frames suit the (tall) product photos and leave less empty space. */
.card-media { aspect-ratio: 3 / 5; }
@media (max-width: 700px) {
  .announce { font-size: .62rem; letter-spacing: .1em; padding: 7px 12px; line-height: 1.5; }
  .header-main { height: 58px; }
  .brand-name { font-size: 1.3rem; letter-spacing: .14em; }
  .brand-tag { font-size: .46rem; margin-top: 3px; }
  .icon-btn svg { width: 21px; height: 21px; }
  /* The menu scrolls sideways: fade the right edge so that's obvious. */
  .main-nav ul { gap: 22px; padding-right: 32px; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .main-nav a { padding: 11px 0; font-size: .72rem; letter-spacing: .12em; }
  .section { padding: 40px 0; }
  .section-title { margin-bottom: 20px; }
  .section-title h2 { font-size: 1.12rem; letter-spacing: .16em; }
  .circles { gap: 16px; padding: 26px 16px 4px; }
  /* Shop filters: one swipeable row instead of several lines of buttons. */
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; padding: 8px 14px; }
  /* Count and sort side by side, search box full width underneath. */
  .toolbar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin: 14px 0 20px; }
  .toolbar .result-count { order: 1; }
  .toolbar select { order: 2; max-width: 180px; padding: 9px 12px; }
  .toolbar input { order: 3; grid-column: 1 / -1; max-width: none; }
  .products { gap: 22px 10px; }
  .card-body { padding-top: 10px; }
  .card-title { font-size: .84rem; }
  .price .now { font-size: .88rem; }
  .collection-head { margin-top: 10px; }
  .collection-head h1 { font-size: 1.25rem; }
  .collection-intro { font-size: .88rem; }
  .product-page { padding-top: 12px; gap: 20px; }
  .product-info h1 { font-size: 1.3rem; }
  .wa-float { padding: 11px; right: 12px; bottom: 12px; }
  .wa-float svg { width: 22px; height: 22px; }
  .services .container { gap: 18px 12px; padding: 22px 0; }
  .service svg { width: 28px; height: 28px; }
  .contact-band { padding: 40px 0; }
  .about-inner p { font-size: .9rem; }
}
/* Admin: shown while the sign-in check runs. */
.admin-loading { text-align: center; color: var(--muted); padding: 60px 0; }

/* "More from Wali Outlet": four tiles (2 x 2 on phones). */
.tiles-3 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .tiles-3 { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* "More from Wali Outlet": five tiles in a row; two per row on phones, the last one full width. */
.tiles-3 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .tiles-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .tiles-3 { grid-template-columns: 1fr 1fr; }
  .tiles-3 .tile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: auto; min-height: 150px; }
}

/* Admin: add one product / many photos switch, bulk upload previews, bulk edit bar. */
.mode-switch { display: flex; margin-bottom: 12px; border: 1px solid var(--black); }
.mode-switch button { flex: 1; padding: 10px 8px; border: 0; background: #fff; font: 600 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.mode-switch button.active { background: var(--black); color: #fff; }
.bulk-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 10px; }
.bulk-previews .bp { position: relative; border: 1px solid var(--line); background: var(--soft); }
.bulk-previews .bp img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--soft); }
.bulk-previews .bp input { border: 0; border-top: 1px solid var(--line); padding: 6px 8px; font-size: .78rem; }
.bulk-previews .bp button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
.bulk-bar { border: 1px solid var(--black); background: var(--soft); padding: 14px; margin-bottom: 16px; }
.bulk-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-bottom: 10px; }
.bulk-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bulk-fields label { display: flex; flex-direction: column; gap: 4px; font-size: .72rem; font-weight: 600; color: var(--muted); }
.bulk-fields input, .bulk-fields select { padding: 8px 10px; }
.bulk-fields textarea { min-height: 60px; padding: 8px 10px; }
.bulk-fields .wide { grid-column: 1 / -1; }
.bulk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
th.pick, td.pick { width: 32px; padding-right: 0; }
td.pick input, th.pick input { width: 18px; height: 18px; cursor: pointer; }
tr.picked td { background: #fbf7ee; }
@media (max-width: 900px) { .bulk-fields { grid-template-columns: 1fr 1fr; } }
/* Admin columns may shrink on phones; wide tables scroll inside their box. */
.admin-grid > * { min-width: 0; }
@media (max-width: 700px) { .bulk-head span { display: block; } }

/* Admin: Backups tab. */
.backup-row { border-bottom: 1px solid var(--line); padding: 14px 0; }
.backup-row header { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.backup-kind { display: inline-block; padding: 2px 8px; font-size: .7rem; font-weight: 600; background: var(--soft); margin-left: 6px; }
.backup-kind.manual { background: #e3eefc; color: #2a5aa0; }
.backup-kind.before-restore { background: #fff3d6; color: #8a6412; }
.restore-box { margin-top: 12px; padding: 14px; border: 1px solid var(--danger); background: #fffafa; }
.restore-box .checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0; }
.restore-box .warn { color: var(--danger); font-size: .82rem; margin: 6px 0 12px; }


/* =========================================================
   Hoodies banner ("drop"): dark and light halves, huge HOODIE DROP
   letters that flip colour across the split, red script and asterisk.
   ========================================================= */
.drop {
  --drop-red: #e3170a;
  --drop-dark: #1c1c1c;
  --drop-light: #e2e2e2;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 57fr 43fr;
  min-height: clamp(560px, calc(100vh - 120px), 780px);
  background: var(--drop-dark);
}
.drop-dark {
  grid-column: 1; grid-row: 1;
  background-color: var(--drop-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.drop-light { grid-column: 2; grid-row: 1; position: relative; background: var(--drop-light); }
.drop-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; filter: grayscale(1) contrast(1.04); }
.drop-art-box { display: grid; place-items: center; color: #9a9a9a; background: var(--drop-light); }
.drop-art-box .drop-art { width: 46%; height: auto; }

/* No z-index here: the letters must blend with the panels behind them. */
.drop-inner {
  grid-column: 1 / -1; grid-row: 1; position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4.5vw, 64px) 0 clamp(28px, 4vw, 56px) clamp(20px, 8vw, 120px);
  pointer-events: none;
}
.drop-word {
  margin: 0; font-family: "Archivo", var(--heading); font-weight: 900; text-transform: uppercase;
  font-size: clamp(76px, 14.5vw, 232px); line-height: .8; letter-spacing: -.015em;
  color: #fff; mix-blend-mode: difference;
}
.drop-script {
  position: absolute; z-index: 3; margin: 0;
  left: clamp(14px, 6.5vw, 104px); top: clamp(70px, 10.2vw, 165px);
  font-family: "Yellowtail", cursive; font-size: clamp(50px, 8.6vw, 138px); line-height: 1;
  color: var(--drop-red); transform: rotate(-9deg); transform-origin: left center;
  white-space: nowrap; text-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.drop-row { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 30px); margin-top: clamp(12px, 1.6vw, 26px); }
.drop-thumb {
  flex: none; width: clamp(110px, 15vw, 232px); aspect-ratio: 1; object-fit: cover; object-position: center 15%;
  filter: grayscale(1); background: var(--drop-light);
}
.drop-row-text { display: flex; flex-direction: column; }
.drop-word-wrap { position: relative; width: max-content; }
.drop-star { position: absolute; z-index: 3; right: -.42em; bottom: -.04em; width: clamp(34px, 5vw, 80px); height: auto; color: var(--drop-red); font-size: clamp(76px, 14.5vw, 232px); }
.drop-tagline {
  margin: clamp(14px, 1.8vw, 28px) 0 0 .2em; max-width: 30ch;
  font-size: clamp(15px, 1.45vw, 22px); line-height: 1.35; color: #fff; mix-blend-mode: difference;
}
.drop-cta { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 28px; width: max-content; pointer-events: auto; color: #fff; }
.drop-circle {
  width: clamp(64px, 6vw, 86px); aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--drop-red);
  display: grid; place-items: center; color: var(--drop-red); transition: background .3s, color .3s;
}
.drop-circle svg { width: 42%; height: 42%; }
.drop-cta:hover .drop-circle { background: var(--drop-red); color: #fff; }
.drop-from { display: grid; line-height: 1.1; }
.drop-from small { font-size: clamp(14px, 1.3vw, 19px); text-transform: uppercase; letter-spacing: .03em; color: #d9d9d9; }
.drop-from b { font-family: "Archivo", var(--heading); font-weight: 800; font-size: clamp(22px, 2.2vw, 32px); }

/* The rest of the Hoodies page follows the banner: heavy headings, red prices. */
.has-hero-drop .collection-head h1 { font-weight: 900; font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -.01em; }
.has-hero-drop .card-media { background: var(--drop-light, #e2e2e2); }
.has-hero-drop .card-title { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.has-hero-drop .price .now, .has-hero-drop .price.on-sale .now { color: #e3170a; font-weight: 700; }
.has-hero-drop .badge { background: #e3170a; }

@media (max-width: 760px) {
  .drop { grid-template-columns: 1fr; grid-template-rows: auto 420px; min-height: 0; }
  .drop-dark, .drop-inner { grid-row: 1; grid-column: 1; }
  .drop-light { grid-row: 2; grid-column: 1; }
  .drop-inner { padding: 30px 16px 30px; }
  .drop-word { font-size: 19.5vw; }
  .drop-script { left: 8px; top: calc(30px + 7.5vw); font-size: 13.5vw; }
  /* DROP and its star on their own line; photo and tagline side by side below. */
  .drop-row { display: grid; grid-template-columns: 30vw 1fr; grid-template-areas: "word word" "thumb tag"; gap: 16px 14px; margin-top: 4px; }
  .drop-row-text { display: contents; }
  .drop-word-wrap { grid-area: word; }
  .drop-thumb { grid-area: thumb; width: 30vw; }
  .drop-tagline { grid-area: tag; align-self: center; margin: 0; font-size: 15px; }
  .drop-star { width: 9vw; right: -.5em; }
  .drop-cta { margin-top: 26px; }
}
