:root {
  --gloss-lime: #e4c45a;
  --gloss-lime-light: #f7e6a0;
  --gloss-lime-dark: #b38a22;
  --gloss-ivory: #f8f2e9;
  --gloss-card: #fffaf2;
  --gloss-charcoal: #181817;
  --gloss-line: #e1d8ca;
  --gloss-shadow: 0 12px 28px rgba(67,54,34,.14), inset 1px 1px 0 rgba(255,255,255,.9);
  --gloss-button: inset 2px 2px 4px rgba(255,255,255,.84), inset -3px -4px 6px rgba(82,72,30,.24), 0 4px 10px rgba(58,50,22,.17);
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
}

body { background: #e9e1d6; }
.app-shell { background: var(--gloss-ivory); }
.topbar {
  background: rgba(248,242,233,.94);
  border-bottom: 1px solid rgba(120,105,82,.12);
  box-shadow: 0 7px 22px rgba(63,51,33,.07);
}
.brand-mark {
  border: 1px solid var(--gloss-lime-dark);
  border-radius: 9px;
  background: linear-gradient(145deg,var(--gloss-lime-light),var(--gloss-lime) 54%,var(--gloss-lime-dark));
  box-shadow: var(--gloss-button);
  color: #111;
}
.header-actions .icon-btn {
  border: 1px solid var(--gloss-line);
  border-radius: 13px;
  background: linear-gradient(145deg,#fffdf9,#eee5d8);
  box-shadow: 0 5px 11px rgba(70,56,36,.13), inset 1px 1px 0 #fff;
}
.trust-marquee { margin:0; border-color:#272724; background:linear-gradient(180deg,#252522,#121211); }
.trust-track span { color:#ddd7ce; }
.trust-track b { background:var(--gloss-lime); color:#111; }
.shop-home,.info-view,.detail-copy,#bagView { background:var(--gloss-ivory); }

.home-search {
  border:1px solid var(--gloss-line);
  border-radius:20px;
  background:linear-gradient(145deg,#fffdf9,#f1e8db);
  box-shadow:var(--gloss-shadow);
  overflow:visible;
}
.home-search button {
  border-radius:13px;
  background:linear-gradient(145deg,var(--gloss-lime-light),var(--gloss-lime) 55%,var(--gloss-lime-dark));
  color:#141411;
  box-shadow:var(--gloss-button);
  transition:transform .2s ease,box-shadow .2s ease;
}
.home-search button:hover { filter:brightness(1.03); }
.home-search button:active { filter:brightness(.96); }

.home-banner {
  border:1px solid #343431;
  border-radius:26px;
  background:radial-gradient(circle at 72% 20%,#55544e,#242422 45%,#111 100%);
  box-shadow:0 18px 36px rgba(29,27,23,.25),inset 1px 1px 0 rgba(255,255,255,.14);
}
.banner-copy { background:transparent; }
.banner-copy .eyebrow {
  display:inline-block;
  padding:7px 12px;
  border-radius:99px;
  background:linear-gradient(145deg,var(--gloss-lime-light),var(--gloss-lime));
  color:#161613;
  box-shadow:0 4px 10px rgba(0,0,0,.2);
}
.banner-copy h2 { color:#fff; text-shadow:0 2px 8px #0008; }
.banner-copy>button {
  border-radius:12px;
  background:linear-gradient(145deg,var(--gloss-lime-light),var(--gloss-lime),var(--gloss-lime-dark));
  color:#111;
  box-shadow:var(--gloss-button);
  width:max-content;
  min-width:0;
  height:30px;
  min-height:30px;
  padding:0 10px;
  line-height:1;
}
.banner-copy>button span { margin-left:6px; }
.banner-product { background:radial-gradient(circle,#77736a 0,#353430 70%); }
.banner-product::before { border-color:rgba(200,255,34,.28); }
.banner-product>span { background:linear-gradient(145deg,var(--gloss-lime-light),var(--gloss-lime)); color:#111; box-shadow:var(--gloss-button); }

.home-filter-tabs { padding:8px 4px 12px; }
.category-orb {
  border:1px solid var(--gloss-line);
  background:linear-gradient(145deg,#fffdf8,#e9dfd1);
  box-shadow:0 8px 17px rgba(67,54,34,.13),inset 1px 1px 0 #fff;
  transition:transform .2s ease;
}
.home-filter-tabs button.active .category-orb {
  border-color:#20201e;
  background:linear-gradient(145deg,#3a3935,#171715);
  box-shadow:0 9px 19px rgba(0,0,0,.22),inset 1px 1px 0 rgba(255,255,255,.15);
}
.home-filter-tabs button:hover .category-orb { transform:translateY(-3px); }
.home-filter-tabs button strong { color:#4e493f; }
.home-filter-tabs button.active strong { color:#171714; }

.info-view h1 { font-family:Georgia,serif; text-transform:none; }
.round-link b,.card-arrow { color:#8f6e16; }
.product-grid { gap:var(--space-sm); padding:var(--space-sm); border:0; }
.shop-home .trending-grid .product-card,.product-card {
  border:1px solid var(--gloss-line);
  border-radius:18px;
  background:linear-gradient(145deg,var(--gloss-card),#eee5d8);
  box-shadow:var(--gloss-shadow);
  overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease;
}
.product-card:hover { transform:translateY(-4px); box-shadow:0 17px 33px rgba(67,54,34,.19),inset 1px 1px 0 #fff; }
.product-image { background:linear-gradient(145deg,#fffdf9,#e9e0d4); }
.product-card .heart {
  border:1px solid var(--gloss-line);
  border-radius:50%;
  background:linear-gradient(145deg,#fff,#e9dfd2);
  box-shadow:0 4px 10px rgba(58,47,31,.14),inset 1px 1px 0 #fff;
}
.product-card .heart.saved { background:linear-gradient(145deg,var(--gloss-lime-light),var(--gloss-lime)); color:#111; }
.product-info { padding:var(--space-md); background:rgba(255,250,242,.76); }
.product-kicker { font-size:9px; line-height:1.4; }
.product-name {
  min-height:2.3em;
  color:#181714;
  font-size:13px;
  line-height:1.15;
}
.product-meta { line-height:1.35; }
.current-price { color:#7e651f; font-weight:700; }
.discount-badge { border-radius:99px; background:#e7f3c9; }
.trend-rank { border-radius:50%; background:var(--gloss-charcoal); color:#fff; box-shadow:0 4px 10px #0003; }
.chip { border-radius:99px; background:#fffaf2; box-shadow:0 3px 8px rgba(67,54,34,.08); }
.chip.active { background:var(--gloss-charcoal); color:#fff; }
.store-promise>div { padding:var(--space-md); background:rgba(255,250,242,.64); }
.next-drop { border-radius:24px 24px 0 0; }

.bottom-nav { border-radius:24px 24px 0 0; background:linear-gradient(180deg,#292926,#10100f); box-shadow:0 -8px 24px rgba(0,0,0,.18); }
.nav-item.active { color:var(--gloss-lime); }
.nav-item i { background:var(--gloss-lime); }
.detail-image-wrap { background:linear-gradient(145deg,#fffdf8,#e7ddcf); }
.detail-bag,.round-btn { border-radius:14px; background:linear-gradient(145deg,#fff,#e9dfd2); box-shadow:0 6px 14px rgba(67,54,34,.13); }
.detail-copy h2 { font-family:Georgia,serif; text-transform:none; }
.service-strip span { padding:var(--space-sm) var(--space-xs); border-radius:9px; background:#eee5d8; }
.buy-bar { background:linear-gradient(180deg,#252522,#111); }

.buy-bar button,.promo button,.checkout,#bagView #promoBtn,#bagView .checkout,
.tempo-reviews>button,#tempoRestockButton,.customer-orders-head button,.tempo-courier button,.tempo-ai form button {
  border:1px solid var(--gloss-lime-dark);
  border-radius:12px;
  background:linear-gradient(145deg,var(--gloss-lime-light),var(--gloss-lime) 55%,var(--gloss-lime-dark));
  color:#151511;
  box-shadow:var(--gloss-button);
}
.order-success,#bagView .bag-item,.delivery-form,.tempo-reviews,.customer-orders,.tempo-courier {
  border:1px solid var(--gloss-line);
  border-radius:18px;
  background:var(--gloss-card);
  box-shadow:var(--gloss-shadow);
}
#bagView .delivery-form { padding:var(--space-lg); }
#bagView .bag-item { margin-bottom:var(--space-sm); padding:var(--space-md); }
#bagView .bag-item img { border-radius:12px; background:linear-gradient(145deg,#fff,#e9dfd2); }
#bagView .quantity { border:1px solid var(--gloss-line); border-radius:11px; background:#fffaf2; }
#bagView .quantity button,#bagView .remove { border-radius:9px; background:#eee5d8; }
#bagView .shipping-progress-track { background:#ded4c5; }
#bagView .shipping-progress-track span { background:linear-gradient(90deg,var(--gloss-lime-dark),var(--gloss-lime)); }
#bagView .promo>div,.cod-method { border-radius:15px; background:#eee7da; }
#bagView .promo>div {
  gap:8px;
  background:transparent;
}
#bagView .cod-method {
  padding:var(--space-md) 0;
  border:0;
  border-top:1px solid var(--gloss-line);
  border-bottom:1px solid var(--gloss-line);
  border-radius:0;
  background:transparent;
}
.promo input,.delivery-fields input,.delivery-fields textarea,.tempo-courier input {
  border:1px solid var(--gloss-line);
  border-radius:12px;
  background:#fffdf9;
}
.cod-check,.success-mark { background:var(--gloss-lime); color:#111; }
.site-footer { background:linear-gradient(180deg,#252522,#10100f); }

.tempo-reviews article,.customer-order-card,.customer-orders-empty {
  border:1px solid var(--gloss-line);
  border-radius:14px;
  background:#fffaf2;
}
.tempo-reviews { padding:var(--space-lg); }
.tempo-reviews article {
  margin:0;
  padding:var(--space-md) 0;
  border:0;
  border-bottom:1px solid var(--gloss-line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.tempo-reviews article:last-of-type { border-bottom:0; }
.tempo-service-heading span,
.customer-order-top small {
  font-size:9px;
  line-height:1.4;
  letter-spacing:.12em;
}
.tempo-reviews article p,
.customer-order-card li,
.customer-order-card details p { line-height:1.6; }
.tempo-reviews>button { margin-top:var(--space-md); }
.customer-order-card { padding:var(--space-md); }
.customer-order-status { border-radius:99px; background:#eee5d8; }
.customer-orders { padding:var(--space-lg); }
.customer-orders-head { align-items:flex-start; gap:18px; }
.customer-orders-head > div { min-width:0; }
.customer-orders-head .eyebrow { margin-bottom:9px; }
.customer-orders-head h2 { line-height:1.1; }
.customer-orders-head button {
  flex:0 0 auto;
  min-height:32px;
  padding:0 9px;
  white-space:nowrap;
  box-shadow:inset 2px 2px 3px rgba(255,255,255,.8),inset -2px -3px 4px rgba(82,72,30,.18),0 2px 0 #a88a31,0 4px 8px rgba(58,50,22,.1);
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.customer-orders-head button:hover {
  filter:brightness(1.04);
  transform:translateY(-1px);
}
.customer-orders-head button:active {
  transform:translateY(2px) scale(.98);
  box-shadow:inset 2px 2px 5px rgba(88,70,13,.26),0 1px 0 #8b711f,0 2px 5px rgba(58,50,22,.12);
}
.customer-orders-head button.button-hit,
.tempo-courier button.button-hit,
#bagView .checkout.button-hit,
#saleButton.button-hit,
#addToBag.button-hit {
  animation:refreshButtonHit .38s ease-out;
}
@keyframes refreshButtonHit {
  0% { transform:translateY(0) scale(1); }
  35% { transform:translateY(2px) scale(.97); box-shadow:0 0 0 #9d7b22,0 2px 4px rgba(58,50,22,.1); }
  70% { transform:translateY(-1px) scale(1.02); }
  100% { transform:translateY(0) scale(1); }
}
.tempo-courier button,
#bagView .checkout,
#saleButton,
#addToBag {
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.tempo-courier button:active,
#bagView .checkout:active,
#saleButton:active,
#addToBag:active {
  transform:translateY(2px) scale(.98);
  box-shadow:inset 2px 2px 5px rgba(88,70,13,.26),0 1px 0 #8b711f,0 2px 5px rgba(58,50,22,.12);
}

/* Flatter premium treatment for checkout and order utility actions. */
#refreshCustomerOrders,
.tempo-courier button,
#bagView #promoBtn,
#bagView .checkout {
  background:#e4c45a;
  border:1px solid #b38a22;
  box-shadow:0 2px 0 #9d7b22,0 4px 8px rgba(58,50,22,.12);
  text-shadow:none;
}
#refreshCustomerOrders:hover,
.tempo-courier button:hover,
#bagView #promoBtn:hover,
#bagView .checkout:hover { background:#e8cb68; }
#refreshCustomerOrders:active,
.tempo-courier button:active,
#bagView #promoBtn:active,
#bagView .checkout:active {
  transform:translateY(2px) scale(.99);
  box-shadow:0 0 0 #9d7b22,0 2px 4px rgba(58,50,22,.1);
}
.customer-orders-empty {
  margin:0;
  padding:18px 0 6px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  line-height:1.55;
}
.customer-orders .tracking-help {
  margin-top:var(--space-md);
  padding:var(--space-md);
  border:0;
  border-left:3px solid var(--gloss-lime-dark);
  border-radius:0;
  background:rgba(238,231,218,.7);
  box-shadow:none;
}
.customer-orders .tempo-courier {
  margin:var(--space-lg) 0 0;
  padding:var(--space-lg) 0 0;
  border:0;
  border-top:1px solid var(--gloss-line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.customer-orders .tempo-courier .eyebrow { margin-bottom:9px; }
.customer-orders .tempo-courier h2 { margin:0 0 20px; line-height:1.1; }
.customer-orders .tempo-courier form { gap:8px; }
.customer-orders .tempo-courier input { min-height:46px; padding:12px 13px; }
.customer-orders .tempo-courier button {
  flex:0 0 auto;
  min-width:76px;
  min-height:46px;
  padding:0 16px;
}
.customer-orders .tempo-courier form+div:not(:empty) { margin-top:14px; }
.eyebrow { line-height:1.4; }
.banner-copy>small { font-size:8px; line-height:1.45; }
.form-heading h2,
.tempo-service-heading strong,
.customer-orders-head h2,
.customer-orders .tempo-courier h2 { letter-spacing:-.035em; }
.tempo-ai>section {
  border:1px solid var(--gloss-line);
  border-radius:20px;
  background:var(--gloss-ivory);
  box-shadow:0 22px 55px rgba(34,29,20,.25);
  overflow:hidden;
}
.tempo-ai header { background:linear-gradient(180deg,#292926,#111); color:#fff; }
.tempo-ai header button { border-radius:10px; background:#fffaf2; color:#111; box-shadow:0 4px 10px #0003; }
.tempo-ai section>div { background:var(--gloss-ivory); }
.tempo-ai section>div p { border-radius:16px; background:#eee7da; }
.tempo-ai section>div p.user { background:var(--gloss-charcoal); color:#fff; }
.tempo-ai form { background:#fffaf2; }
.tempo-ai input { border:1px solid var(--gloss-line); border-radius:12px; background:#fffdf9; }
.tempo-ai>.robot-shop-button {
  border:0;
  border-radius:20px;
  background:transparent;
  box-shadow:none;
}
.tempo-ai>.robot-shop-button:hover { transform:translateY(-3px) scale(1.035); box-shadow:none; }
.tempo-ai>.robot-shop-button:active { transform:translateY(1px) scale(.96); box-shadow:none; }

@media(max-width:760px) {
  .product-grid { gap:var(--space-xs); padding:var(--space-xs); }
  .product-card { border-radius:14px; }
  .home-banner { border-radius:20px; }

  /* Keep checkout content evenly spaced and clear of floating controls. */
  #bagView { padding-left:16px; padding-right:16px; }
  #bagView .order-summary {
    margin-top:var(--space-lg);
    padding:var(--space-md) 0 var(--space-sm);
    border-top:1px solid var(--gloss-line);
    border-bottom:1px solid var(--gloss-line);
  }
  #bagView .order-summary p { margin:0; padding:7px 0; }
  #bagView .order-summary .bag-total {
    margin-top:6px;
    padding:16px 0 8px;
    gap:18px;
  }
  #bagView .order-summary .bag-total strong { text-align:right; }
  #bagView .delivery-form {
    margin-top:32px;
    padding:var(--space-lg) var(--space-md);
    border-top:1px solid var(--gloss-line);
  }
  #bagView .form-heading { margin-bottom:24px; }
  #bagView .form-heading .eyebrow { margin-bottom:10px; }
  #bagView .form-heading h2 { font-size:23px; line-height:1.15; }
  #bagView .delivery-fields { gap:18px; }
  #bagView .delivery-fields label {
    gap:9px;
    font-size:9px;
    line-height:1.35;
    letter-spacing:.1em;
  }
  #bagView .delivery-fields label span { display:block; margin-top:-4px; font-size:8px; }
  #bagView .delivery-fields input,
  #bagView .delivery-fields textarea {
    min-height:48px;
    padding:13px 12px;
    border-radius:12px;
    line-height:1.45;
  }
  #bagView .delivery-fields textarea { min-height:96px; }
  #bagView .form-error { margin:12px 0 4px; }
  #bagView .cod-method {
    position:relative;
    margin:38px 0 0;
  }
  #bagView .cod-method::before {
    content:"PAYMENT METHOD";
    position:absolute;
    left:0;
    top:-24px;
    color:#77756f;
    font:600 8px "Space Grotesk";
    letter-spacing:.14em;
  }
  #bagView .checkout { min-height:52px; margin-top:var(--space-lg); }
  #bagView .checkout-note { margin:12px 8px 0; }
  body:has(#bagView.active) .tempo-ai { display:none; }

  .customer-orders { padding:var(--space-md); }
  .customer-orders-head { gap:12px; }
  .customer-orders-head h2 { font-size:23px; }
  .customer-orders-head button { min-height:30px; padding:0 8px; font-size:7.2px; }
  .customer-orders .tempo-courier { margin-top:22px; padding-top:22px; }
  .customer-orders .tempo-courier h2 { font-size:25px; }
  .customer-orders .tempo-courier form { gap:7px; }
  .customer-orders .tempo-courier button { min-width:70px; padding:0 12px; }
  .tempo-reviews { padding:var(--space-md); }
  .tempo-reviews article { padding:var(--space-md) 0; }
  .shop-home .trending-grid .product-name { font-size:12px; line-height:1.15; }
  .product-card .product-name { min-height:2.3em; line-height:1.15; }
}
