:root {
  --bg-color: #fcfbf9;
  --text-main: #1a1a1a;
  --text-muted: #5c5c5c; /* was #707070 (4.59:1 on off-white - right at the AA floor); this gives 6.19:1 */
  --whatsapp-green: #075E54;
  --card-bg: #ffffff;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Montserrat', sans-serif;

  /* Off-white replaces flat #fff everywhere in the UI */
  --off-white: #f8f6f1;
  --off-white-dim: #efece5;

  /* ---- Liquid glass tokens ---- */
  --glass-tint: 255, 255, 255;         /* light glass, used on dark/photo backgrounds */
  --glass-fill: rgba(var(--glass-tint), 0.14);
  --glass-fill-strong: rgba(var(--glass-tint), 0.22);
  --glass-border: rgba(var(--glass-tint), 0.35);
  --glass-highlight: rgba(255, 255, 255, 0.55);
  --glass-blur: 16px;
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);

  /* Dark-on-light glass, used for buttons sitting on the cream site body */
  --ink-tint: 26, 26, 26;
  --glass-ink-fill: rgba(var(--ink-tint), 0.86);
  --glass-ink-border: rgba(var(--ink-tint), 0.65);

  --accent-gold: #c9a24b;
  --accent-gold-soft: #e4c876;
  --accent-gold-text: #7a5d2f; /* darker gold for TEXT on light backgrounds - #c9a24b only hits 2.22:1 contrast there, fails AA */
  --accent-blue: #7ec8e3;

  --ease-glass: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans), -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

body {
  background: var(--off-white);
  color: #000;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* =========================================================
   LIQUID GLASS BUTTON SYSTEM
   Every clickable button on the site shares this base look:
   a frosted, slightly translucent surface with a soft inner
   highlight along the top edge (the "glass" cue), a subtle
   lift on hover, and a quick light-sweep on press. Variants
   only change the tint, never the shape or motion.
   ========================================================= */
button,
.btn,
.btn-story,
.btn-continue,
.btn-view,
#adminModal button,
.filters button,
.footer-toggle,
#adminProductList button {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--off-white);
  background: var(--glass-ink-fill);
  border: 1px solid var(--glass-ink-border);
  border-radius: 999px;
  padding: 12px 26px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.35s var(--ease-glass), box-shadow 0.35s var(--ease-glass), background 0.35s var(--ease-glass);
}

/* the sheen sweep, replayed on hover */
button::before,
.btn::before,
.btn-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-glass);
  z-index: 1;
  pointer-events: none;
}

button:hover::before,
.btn:hover::before,
.btn-story:hover::before {
  transform: translateX(120%);
}

button:hover,
.btn:hover,
.btn-story:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 26px rgba(0, 0, 0, 0.22);
}

button:active,
.btn:active,
.btn-story:active {
  transform: translateY(0);
}

button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Gold "primary" glass variant - the site's main call-to-action */
.btn,
.btn-story,
.btn-view {
  background: linear-gradient(160deg, rgba(201, 162, 75, 0.92), rgba(163, 124, 46, 0.92));
  border-color: rgba(228, 200, 118, 0.6);
  color: #1a1408;
}

/* Quiet glass variant - secondary actions (Cancel, Keep Shopping, filters) */
.btn-continue,
.filters button,
#adminModal button[type="button"] {
  background: var(--glass-fill);
  color: var(--text-main);
  border-color: rgba(0, 0, 0, 0.12);
  text-transform: none;
  letter-spacing: 0.3px;
}
.filters button {
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 16px;
  font-size: 12px;
  flex-shrink: 0;        /* was missing - buttons were free to squash/wrap their label on narrow screens */
  white-space: nowrap;
  scroll-snap-align: start;
}
@media (max-width: 480px) {
  .filters { gap: 6px; }
  .filters button { padding: 7px 13px; font-size: 11.5px; }
}
.filters button.active {
  background: var(--glass-ink-fill);
  color: var(--off-white);
  border-color: rgba(0, 0, 0, 0.6);
}

/* Danger glass variant - delete actions */
#adminProductList button:nth-of-type(2) {
  background: rgba(178, 46, 46, 0.85);
  border-color: rgba(255, 150, 150, 0.5);
}

.search {padding: 12px 20px;}
.search input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  font-size: 14px;
  outline: none;
  background: var(--glass-fill);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.search input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.15);
}

.hero {position: relative; background: #000; color: var(--off-white);}
.hero img {width: 100%; height: 60vh; object-fit: cover; filter: brightness(0.7);}
.hero-content {position: absolute; bottom: 30px; left: 20px; right: 20px; text-align: left;}
.hero-content h2 {font-family: var(--font-serif); font-size: 32px; font-weight: 800; margin: 8px 0;}
.hero-content .btn {display: inline-block; margin-top: 12px; text-decoration: none;}

.shipped {text-align:center; padding:15px; font-size:12px;}
.catalog {padding: 30px 20px;}
.catalog h3 {font-family: var(--font-serif); font-size: 24px; margin-bottom: 14px;}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch; /* momentum scrolling on iOS */
  overscroll-behavior-x: contain;    /* don't let the swipe trigger browser back/forward */
  scroll-snap-type: x proximity;
  scrollbar-width: none;             /* Firefox: hide the scrollbar, row is still scrollable */
}
.filters::-webkit-scrollbar { display: none; } /* Chrome/Safari: same */

/* =========================================================
   PRODUCT GRID
   object-fit: contain (not cover) inside a fixed-ratio frame
   with an off-white backdrop, so the full product photo is
   always visible instead of having its edges cropped off.
   ========================================================= */
.products {display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;}
.product {
  cursor: pointer;
  position: relative;
  border-radius: 16px;
  padding: 8px;
  background: var(--glass-fill);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease-glass), box-shadow 0.4s var(--ease-glass);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow);
}
.product .thumb {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  background: var(--off-white-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* was "cover" - that cropped the bottle out of frame */
}
.product h4 {font-size: 13.5px; margin-top: 10px; font-weight: 600;}
.product .price {font-weight: 700; font-size: 14px; margin-top: 2px;}
.product .sizes {font-size: 11px; color: var(--text-muted); margin-top: 2px;}

/* Multi-select checkbox on each card */
.product .select-box {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  padding: 0; margin: 0;
  border-radius: 8px;
  background: var(--glass-fill-strong);
  border: 1.5px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.25s ease, transform 0.2s ease;
}
.product .select-box::before { content: none; }
.product .select-box:hover, .product .select-box:focus-visible { transform: scale(1.08); }
.product .select-box.checked {
  background: var(--accent-gold);
  border-color: var(--accent-gold-soft);
}
.product .select-box svg { width: 14px; height: 14px; display: none; stroke: #1a1408; }
.product .select-box.checked svg { display: block; }

/* Floating bar that appears once one or more products are checked */
.bulk-bar {
  position: fixed;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  width: 92%;
  max-width: 460px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--glass-ink-fill);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  color: var(--off-white);
  z-index: 2500;
  transition: bottom 0.4s var(--ease-glass);
}
.bulk-bar.show { bottom: 20px; }
.bulk-bar span { font-size: 13px; font-weight: 600; }

.cart {position: fixed; top: 0; right: -100%; width: 90%; max-width: 400px; height: 100%; background: var(--off-white); box-shadow: -2px 0 30px rgba(0,0,0,0.18); transition: right 0.4s var(--ease-glass); z-index: 2000; padding: 22px; overflow-y: auto;}
.cart.show {right: 0;}
.cart h2 {font-family: var(--font-serif); display:flex; justify-content:space-between; align-items:center; margin-bottom: 16px;}
.cart .btn {width: 100%; margin-top: 10px;}

.checkout-note {font-size: 12px; line-height: 1.6; color: var(--text-muted); margin: 14px 0 4px;}
.cart .btn.btn-whatsapp, .btn.btn-whatsapp {background: var(--whatsapp-green); color: #fff; border-color: transparent;}
.btn.btn-whatsapp:hover, .btn.btn-whatsapp:focus-visible {filter: brightness(1.15);}
a.btn.btn-whatsapp {display: block; text-align: center; text-decoration: none;}
.cart-remove {margin-left: auto; align-self: flex-start; background: none; border: none; box-shadow: none; color: var(--text-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 6px;}
.size-pick button.active {outline: 2px solid var(--accent-gold);}
.checkout-field {
  width: 100%;
  padding: 11px 14px;
  margin: 6px 0;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--glass-fill);
  font-size: 13px;
}
.checkout-field-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-top: 10px;
}
.checkout-field:focus-visible, .filters button:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}
.bank-details {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--off-white-dim);
  font-size: 12.5px;
  line-height: 1.7;
}
.order-confirm {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(126, 227, 160, 0.18);
  border: 1px solid rgba(126, 227, 160, 0.5);
  font-size: 12.5px;
  line-height: 1.6;
}

.modal {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--off-white); display: none; z-index: 3000; overflow-y: auto; padding: 20px;}

/* Real, keyboard-operable close button for modals (product detail, tracker,
   admin login) - replaces the old plain "X" <span onclick=...> which a
   keyboard-only user could never reach with Tab. */
.modal-close {
  background: none; border: none; padding: 4px; margin: 0;
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  float: right; font-size: 24px; line-height: 1; cursor: pointer;
  color: inherit; text-transform: none; letter-spacing: normal;
  border-radius: 6px;
}
.modal-close::before { content: none; }
.modal-close:hover, .modal-close:focus-visible { background: rgba(0,0,0,0.06); }
.modal.show {display: block; animation: modalIn 0.4s var(--ease-glass);}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal .product-detail-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--off-white-dim);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal .product-detail-img img { width: 100%; height: 100%; object-fit: contain; }
.modal h2 { font-family: var(--font-serif); margin-top: 16px; }

@media(min-width: 768px){ .products {grid-template-columns: repeat(4, 1fr);} }

/* =========================================================
   ORDER TRACKING (customer side)
   ========================================================= */
.tracker-box {
  max-width: 480px;
  margin: 20px auto;
  padding: 20px;
  border-radius: 18px;
  background: var(--glass-fill);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(var(--glass-blur));
}
.tracker-box h3 { font-family: var(--font-serif); margin-bottom: 10px; }
.status-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--accent-gold);
  color: #1a1408;
}
.chat-nudge {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(7, 94, 84, 0.1);
  border: 1px solid rgba(7, 94, 84, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  animation: chatNudgeIn 0.5s var(--ease-glass);
}
@keyframes chatNudgeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* =========================================================
   ABOUT PAGE — modernized layout
   ========================================================= */
.about-modern {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px 70px;
}
.about-modern .eyebrow-img {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  margin-bottom: 40px;
}
.about-modern .eyebrow-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.about-modern h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  max-width: 14ch;
}
.about-modern .lede {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 62ch;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 44px 0;
}
.about-card {
  padding: 26px 22px;
  border-radius: 18px;
  background: var(--glass-fill);
  border: 1px solid rgba(0,0,0,0.07);
  transition: transform 0.4s var(--ease-glass);
}
.about-card:hover { transform: translateY(-4px); }
.about-card h5 {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--accent-gold-text);
  margin-bottom: 10px;
}
.about-card p { font-size: 13.5px; line-height: 1.6; }
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
  align-items: start;
}
.about-split h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 10px; }
.about-split p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
@media(max-width: 760px){
  .about-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; gap: 26px; }
}

/* =========================================================
   FAQ accordion (Privacy Policy and FAQ pages reuse the
   .about-modern layout above for a consistent look; this adds
   the expandable question/answer rows for the FAQ page)
   ========================================================= */
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}
.faq-question::before { content: none; }
.faq-question .faq-icon { font-size: 20px; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq-answer-inner { padding-bottom: 18px; }
.faq-item.open .faq-answer { max-height: 400px; }

/* =========================================================
   COOKIE NOTICE - essential-only, shown once until dismissed
   ========================================================= */
.cookie-notice {
  position: fixed;
  left: 50%;
  bottom: -200px;
  transform: translateX(-50%);
  width: 92%;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--glass-ink-fill);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  color: var(--off-white);
  z-index: 5000;
  transition: bottom 0.4s var(--ease-glass);
}
.cookie-notice.show { bottom: 20px; }
.cookie-notice p { font-size: 12.5px; line-height: 1.5; flex: 1; }
.cookie-notice a { color: var(--accent-gold-soft); text-decoration: underline; }
.cookie-notice button { flex-shrink: 0; padding: 10px 18px; }
@media (max-width: 600px) {
  .cookie-notice { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-notice button { width: 100%; }
}

.ticker {
  width: 100%;
  overflow: hidden;
  background: #000;
  color: var(--off-white);
  padding: 1px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: scroll-left 20s linear infinite;
}
.ticker-track span {
  display: inline-block;
  padding: 0 2rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker:hover .ticker-track { animation-play-state: paused; }

@media(max-width: 768px){
  .btn-story { width: 100%; padding: 12px 0; }
}

footer {
  background: #000;
  color: var(--off-white);
  padding: 50px 30px 20px;
  margin-top: 60px;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 30px;
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.footer-logo { height: 60px; margin-bottom: 15px; }
.footer-col p { font-size: 13px; line-height: 1.7; color: #aaa; }
.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 13px; margin-bottom: 10px; color: #aaa; }
.footer-col ul li a { color: #aaa; text-decoration: none; cursor: pointer; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--off-white); text-decoration: underline; }
.contact-list li { display: flex; gap: 8px; }

.socials { display: flex; gap: 15px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.socials a svg { width: 18px; height: 18px; fill: var(--off-white); }
.socials a:hover { background: var(--off-white); border-color: var(--off-white); }
.socials a:hover svg { fill: #000; }

.footer-bottom { border-top: 1px solid #222; text-align: center; padding-top: 20px; font-size: 12px; color: #666; letter-spacing: 1px; }

@media(max-width: 900px){ .footer-container { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px){
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .socials { justify-content: center; }
}

.cellar {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 601;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-map { max-width: 1200px; margin: 0 auto 40px; padding-top: 20px; border-top: 1px solid #222; }
.footer-map h4 { font-family: var(--font-serif); font-size: 16px; letter-spacing: 1.5px; margin-bottom: 15px; text-transform: uppercase; text-align: center; }
.map-container { border-radius: 8px; overflow: hidden; border: 1px solid #333; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.map-container iframe { display: block; filter: grayscale(20%) contrast(1.1); }

.footer-toggle {
  cursor: pointer; display: flex; width: 100%;
  justify-content: space-between; align-items: center;
  background: transparent; border: none; padding: 0; margin: 0;
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-family: var(--font-serif); font-size: 16px; text-align: left;
  color: var(--off-white); /* was inheriting near-black text-main at 1.21:1 on this black footer - see fix note above */
}
.footer-toggle::before { content: none; }
.footer-toggle span { font-size: 20px; transition: transform 0.3s; }
.footer-content { transition: max-height 0.4s ease; }
@media(min-width: 901px){ .footer-toggle span {display: none;} }
@media(max-width: 900px){
  .footer-content { max-height: 0; overflow: hidden; }
  .footer-col.active .footer-content { max-height: 500px; margin-top: 10px; }
  .footer-col.active .footer-toggle span { transform: rotate(45deg); }
}

/* ADD-TO-CART CONFIRMATION TOAST */
/* Same visual pattern as .bulk-bar above on purpose (count text + Clear +
   a primary action button) - one consistent toast style whether customers
   have just selected products or just added one to the cart. */
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: -100px;
  transform: translateX(-50%);
  width: 92%;
  max-width: 460px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--glass-ink-fill);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  color: var(--off-white);
  z-index: 4000;
  transition: bottom 0.4s var(--ease-glass);
}
.cart-toast.show { bottom: 20px; }
.cart-toast span { font-size: 13px; font-weight: 600; }
.cart-toast-actions { display: flex; gap: 8px; }

@media (max-width: 640px) {
  .cart-toast { width: 92%; padding: 14px; }
}

/* =========================================================
   ADMIN PANEL — dark liquid-glass dashboard
   Modeled on the reference layout: fixed dark sidebar with a
   gold active state, frosted glass content cards, and a
   product/orders table with pill status badges.
   ========================================================= */
#adminModal {
  background: #0e0e10;
  color: var(--off-white);
  padding: 0;
}
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 230px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(var(--glass-blur));
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-sidebar .brand-mini {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 2px;
  padding: 0 10px 22px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #cfcfcf;
  cursor: pointer;
  transition: all 0.25s var(--ease-glass);
}
.admin-nav-item:hover { background: rgba(255,255,255,0.06); color: var(--off-white); }
.admin-nav-item.active {
  background: linear-gradient(160deg, var(--accent-gold-soft), var(--accent-gold));
  color: #1a1408;
}
.admin-main { flex: 1; padding: 30px 34px; overflow-y: auto; max-height: 100vh; }
.admin-topbar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; gap: 16px; }
.admin-topbar h1 { font-family: var(--font-serif); font-size: 26px; }
.admin-topbar p { color: #9a9a9a; font-size: 13px; margin-top: 4px; }
.admin-topbar-actions { display: flex; gap: 10px; align-items: center; }

.admin-bell {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass-fill);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
}
.admin-bell .badge {
  position: absolute; top: -3px; right: -3px;
  background: #d64545; color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.admin-notif-panel {
  position: absolute;
  top: 60px; right: 34px;
  width: 300px;
  max-height: 340px;
  overflow-y: auto;
  background: rgba(20,20,22,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  backdrop-filter: blur(var(--glass-blur));
  z-index: 50;
  display: none;
}
.admin-notif-panel.show { display: block; }
.admin-notif-item { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 12px; line-height: 1.5; }
.admin-notif-item:last-child { border-bottom: none; }
.admin-notif-item .type { color: var(--accent-gold-soft); font-weight: 700; text-transform: uppercase; font-size: 10px; }

.admin-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 22px;
  backdrop-filter: blur(var(--glass-blur));
}
.admin-card h3 { font-family: var(--font-serif); font-size: 19px; margin-bottom: 18px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#adminModal input, #adminModal select, #adminModal textarea {
  width: 100%;
  padding: 11px 14px;
  margin: 6px 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--off-white);
  font-size: 13px;
}
#adminModal input::placeholder, #adminModal textarea::placeholder { color: #888; }
#adminModal label { font-size: 11px; color: #9a9a9a; text-transform: uppercase; letter-spacing: 0.5px; }
.upload-drop {
  border: 1.5px dashed rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  font-size: 12px;
  color: #9a9a9a;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.upload-drop:hover { border-color: var(--accent-gold); }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 10px; flex-wrap: wrap; }
.admin-toolbar input, .admin-toolbar select {
  padding: 10px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--off-white);
  font-size: 12.5px;
}

table.admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.admin-table th {
  text-align: left; text-transform: uppercase; letter-spacing: 0.5px;
  font-size: 10.5px; color: #9a9a9a; padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
table.admin-table td { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: middle; }
table.admin-table img { width: 42px; height: 52px; object-fit: contain; background: rgba(255,255,255,0.06); border-radius: 6px; }

.pill { padding: 4px 11px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; display: inline-block; }
.pill.in-stock, .pill.paid, .pill.delivered { background: rgba(126, 227, 160, 0.18); color: #7ee3a0; }
.pill.low-stock, .pill.processing, .pill.pending { background: rgba(228, 200, 118, 0.18); color: var(--accent-gold-soft); }
.pill.out-of-stock, .pill.cancelled, .pill.failed { background: rgba(214, 69, 69, 0.18); color: #e08080; }

.admin-table-actions { display: flex; gap: 6px; }
.admin-table-actions button { padding: 7px 12px; font-size: 10.5px; letter-spacing: 0.3px; }

.admin-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.admin-pagination button { padding: 7px 13px; font-size: 11px; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: var(--off-white); }
.admin-pagination button.active { background: var(--accent-gold); color: #1a1408; }

@media(max-width: 900px){
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-direction: row; overflow-x: auto; }
  .admin-form-grid { grid-template-columns: 1fr; }
}
