/* =========================================
   PetFood — Premium Design System
   Palette: Amber + Teal + Warm Cream
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* --- Tokens --- */
:root {
  --cream:       #FFFBF5;
  --cream-dark:  #FEF3E2;
  --surface:     #FFFFFF;
  --border:      #F0E6D3;
  --ink:         #1C1917;
  --ink-muted:   #78716C;
  --ink-faint:   #A8A29E;
  --amber:       #F59E0B;
  --amber-dark:  #D97706;
  --amber-pale:  #FEF3C7;
  --teal:        #0D9488;
  --teal-dark:   #0F766E;
  --teal-pale:   #CCFBF1;
  --pink:        #FB7185;
  --pink-pale:   #FFE4E6;
  --purple:      #8B5CF6;
  --purple-pale: #EDE9FE;
  --shadow-sm:   0 1px 3px rgba(28,25,23,.08);
  --shadow-md:   0 4px 16px rgba(28,25,23,.10);
  --shadow-lg:   0 12px 40px rgba(28,25,23,.12);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --transition:  all 0.22s cubic-bezier(.4,0,.2,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  line-height: 1.25;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

/* --- Layout --- */
.container {
  width: min(1200px, 100% - 2.5rem);
  margin-inline: auto;
}

.container-wide {
  width: min(1600px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Global Icon Styling */
.ui-icon {
  display: inline-block;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  mix-blend-mode: multiply; /* Standard trick for white-background PNGs */
}

.ui-icon-md { width: 1.8rem; height: 1.8rem; }
.ui-icon-lg { width: 3.5rem; height: 3.5rem; }
.ui-icon-white { 
  filter: brightness(0) invert(1); 
  mix-blend-mode: normal !important; 
}

/* Specific Blend Overrides */
.btn .ui-icon,
.cart-btn .ui-icon,
.cat-card .ui-icon,
.trust-icon img,
.product-badge img {
  mix-blend-mode: multiply !important;
}

/* Footer Icons (Dark Background Fix) */
.site-footer .ui-icon {
  mix-blend-mode: screen !important; /* Screen hides black, but our icons have white bg. */
}

/* Better approach for white background icons on dark: Invert them */
.footer-col .ui-icon,
.footer-brand .ui-icon {
  filter: invert(1) contrast(2); /* Makes black parts white, white parts black */
  mix-blend-mode: screen !important; /* Now black (original white) disappears */
  width: 1.4rem;
  height: 1.4rem;
}

/* Fix navbar icon alignment */
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

main.container {
  padding-top: 0;
  padding-bottom: 4rem;
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.6rem 0;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 0.3rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255,251,245,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245,158,11,.18);
  border-radius: var(--radius-xl);
  padding: 0.7rem 1.2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.site-header.scrolled .header-inner {
  box-shadow: var(--shadow-lg);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--amber), #FBBF24);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245,158,11,.35);
}

.brand-text { line-height: 1.1; }
.brand-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -.03em;
}
.brand-tag {
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-muted);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--amber-pale);
}

/* Header Actions */
.header-actions { 
  display: flex; 
  align-items: center; 
  gap: 0.75rem; 
}

.auth-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--cream-dark);
  transition: var(--transition);
}

.auth-link:hover {
  background: var(--amber-pale);
}

.logout-link {
  font-size: 0.8rem;
  color: var(--pink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem;
  opacity: 0.8;
  transition: var(--transition);
}

.logout-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.btn-outline-amber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid var(--amber);
  color: var(--amber-dark);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline-amber:hover {
  background: var(--amber-pale);
  transform: translateY(-1px);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal);
  color: #fff;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(13,148,136,.25);
}

.cart-btn .ui-icon {
  filter: brightness(0) invert(1);
}

.cart-btn:hover { 
  background: var(--teal-dark); 
  transform: translateY(-1px); 
}

.cart-text {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .cart-text { display: none; }
  .cart-btn { padding: 0.6rem; }
  .auth-link span { display: none; }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0 0.25rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.mobile-nav a {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-md);
  color: var(--ink);
}

.mobile-nav a:hover { background: var(--cream-dark); }

/* Mobile Nav Auth */
.mobile-auth {
  padding: 0.5rem 0;
}

.mobile-user-link {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  background: var(--amber-pale) !important;
  border: 1px solid var(--amber) !important;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.mobile-nav.open { display: flex; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 1.5rem;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 40%, #E0F2FE 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--amber-pale);
  border: 1px solid var(--amber);
  color: var(--amber-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  font-family: 'Nunito', sans-serif;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.hero h1 .accent { color: var(--amber-dark); }

.hero p {
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin: 0 0 1.8rem;
  max-width: 440px;
}

.hero-ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ==========================================
   TRUST STRIP
   ========================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trust-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.trust-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
}

.trust-text strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ==========================================
   SECTION TITLES
   ========================================== */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.4rem;
  flex-wrap: wrap;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.03em;
  margin: 0;
}

.section-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  transition: var(--transition);
}
.section-link:hover { color: var(--teal-dark); text-decoration: underline; }

section { margin-top: 3rem; }

/* ==========================================
   CATEGORY CARDS
   ========================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.8rem 1rem;
  background: white;
  background: linear-gradient(145deg, #ffffff 0%, var(--cream-dark) 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cat-card::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 100px;
  height: 100px;
  background: var(--amber);
  opacity: 0.03;
  border-radius: 50%;
  z-index: -1;
  transition: var(--transition);
}

.cat-card:hover::before {
  transform: scale(1.5);
  opacity: 0.08;
}

.cat-card:hover {
  border-color: var(--amber);
  box-shadow: 0 12px 30px rgba(245,158,11,.15);
  transform: translateY(-5px);
}

.cat-card:nth-child(1) { background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%); border-color: #fde68a55; }
.cat-card:nth-child(2) { background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%); border-color: #99f6e455; }
.cat-card:nth-child(3) { background: linear-gradient(145deg, #ffffff 0%, #fff1f2 100%); border-color: #fecdd355; }
.cat-card:nth-child(4) { background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%); border-color: #ddd6fe55; }

.cat-card:nth-child(2)::before { background: var(--teal); }
.cat-card:nth-child(3)::before { background: var(--pink); }
.cat-card:nth-child(4)::before { background: var(--purple); }

.cat-icon {
  font-size: 2.8rem;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--amber-pale);
  transition: var(--transition);
}

.cat-card:hover .cat-icon {
  transform: scale(1.1) rotate(-3deg);
}

.cat-card:nth-child(2) .cat-icon { background: var(--teal-pale); }
.cat-card:nth-child(3) .cat-icon { background: var(--pink-pale); }
.cat-card:nth-child(4) .cat-icon { background: var(--purple-pale); }

.cat-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.cat-count {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ==========================================
   PRODUCT CARDS
   ========================================== */
.card-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--amber);
}

.product-img-wrap {
  position: relative;
  background: var(--cream-dark);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--amber);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-body {
  padding: 1rem 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.product-cat {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.product-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin: 0;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.price {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--ink);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

/* Primary */
.btn-primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245,158,11,.38);
}

/* Secondary */
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: var(--cream-dark);
  border-color: var(--amber);
  transform: translateY(-1px);
}

/* Teal */
.btn-teal {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13,148,136,.35);
}

/* Danger */
.btn-danger {
  background: #FEF2F2;
  color: #DC2626;
  border-color: #FECACA;
}
.btn-danger:hover {
  background: #DC2626;
  color: #fff;
  border-color: #DC2626;
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: transparent;
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}
.btn-ghost:hover { background: var(--cream-dark); color: var(--ink); }

/* Icon button (add to cart) */
.btn-icon {
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

/* Legacy compat shim */
.btn                     { }
.btn.secondary           { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn.secondary:hover     { background: var(--cream-dark); border-color: var(--amber); }
.btn.danger              { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }
.btn.danger:hover        { background: #DC2626; color: #fff; border-color: #DC2626; }

/* ==========================================
   SHOP FILTERS
   ========================================== */
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.shop-title-wrap .page-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0;
}

.shop-title-wrap .page-sub {
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin-top: 0.1rem;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--amber-pale);
  border-color: var(--amber);
  color: var(--amber-dark);
}

/* ==========================================
   ALERTS
   ========================================== */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin: 1.2rem 0;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1.5px solid;
}

.alert.success { background: #F0FDF4; border-color: #86EFAC; color: #166534; }
.alert.error   { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert.info    { background: #F0F9FF; border-color: #7DD3FC; color: #0C4A6E; }

/* ==========================================
   FORMS
   ========================================== */
.form-shell {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.2rem;
}

.form-shell h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1.5px solid var(--border);
}

.form-group { margin-bottom: 1rem; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 0.92rem;
  background: var(--cream);
  color: var(--ink);
  transition: var(--transition);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--amber);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}

textarea { min-height: 110px; resize: vertical; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.inline-options label {
  margin: 0;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

/* Quantity input compact */
input[type="number"].qty-input {
  width: 70px;
  text-align: center;
  padding: 0.5rem;
}

/* ==========================================
   TABLES
   ========================================== */
.table-shell {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.2rem;
  overflow-x: auto;
}

.table-shell h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1.5px solid var(--border);
}

table { width: 100%; border-collapse: collapse; }

th, td {
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0.6rem;
  text-align: left;
  font-size: 0.88rem;
}

th {
  background: var(--cream);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-muted);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #FFFBF5; }

.table-image {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ==========================================
   CART
   ========================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.8rem;
  align-items: start;
  margin-top: 1.5rem;
}

.cart-list { display: flex; flex-direction: column; gap: 1rem; }

.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.cart-row:hover { box-shadow: var(--shadow-md); }

.cart-row img {
  width: 100px;
  height: 78px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.cart-row-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.cart-row-meta {
  font-size: 0.83rem;
  color: var(--ink-muted);
  margin: 0;
}

.cart-row .price {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--teal);
  margin: 0.2rem 0 0;
}

.cart-summary {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}

.cart-summary h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1.5px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink-muted);
}

.summary-row:last-of-type { border-bottom: none; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  border-top: 2px solid var(--border);
  margin-top: 0.5rem;
}

.cart-actions { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1rem; }

/* ==========================================
   CHECKOUT
   ========================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.checkout-step-title {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--amber-dark);
  margin: 0 0 0.4rem;
}

.order-summary-card {
  background: var(--cream-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  position: sticky;
  top: 90px;
}

.order-summary-card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--ink-muted);
}

.order-item-row:last-of-type { border-bottom: none; }
.order-item-row strong { color: var(--ink); }

.order-total-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  padding-top: 0.9rem;
  border-top: 2px solid var(--border);
  margin-top: 0.6rem;
}

/* Radio checkout mode */
.checkout-mode-wrap {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.mode-option {
  flex: 1;
  min-width: 130px;
  position: relative;
}

.mode-option input[type="radio"] { position: absolute; opacity: 0; width: 0; }

.mode-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--cream);
  text-align: center;
}

.mode-option input:checked + .mode-label {
  border-color: var(--amber);
  background: var(--amber-pale);
  color: var(--amber-dark);
}

.mode-label .mode-icon { font-size: 1.6rem; }

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: linear-gradient(135deg, var(--cream-dark), var(--amber-pale));
  border-radius: var(--radius-xl);
  margin-top: 1.5rem;
}

.about-hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  margin: 0.5rem 0 1rem;
}

.about-hero p {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.value-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.value-icon {
  font-size: 2rem;
  width: 3.2rem;
  height: 3.2rem;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.value-card:nth-child(2) .value-icon { background: var(--teal-pale); }
.value-card:nth-child(3) .value-icon { background: var(--pink-pale); }

.value-card h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  margin-top: 3rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: var(--amber);
}

.stat-item span {
  font-size: 0.85rem;
  color: #A8A29E;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.contact-info-card {
  background: linear-gradient(145deg, var(--ink) 0%, #292524 100%);
  border-radius: var(--radius-xl);
  padding: 2rem 1.8rem;
  color: #fff;
}

.contact-info-card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 0.4rem;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: #A8A29E;
  margin: 0 0 1.8rem;
}

.contact-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.2rem; }

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.ci-icon {
  font-size: 1.2rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(245,158,11,.18);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ci-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber);
  margin-bottom: 0.2rem;
}

.ci-value { font-size: 0.9rem; color: #E7E5E4; }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--ink);
  color: #D6D3D1;
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-brand .brand-name { color: #fff; display: flex; align-items: center; gap: 0.6rem; }
.footer-brand .brand-name img { mix-blend-mode: multiply; }
.footer-brand .brand-tag { color: #78716C; }

.footer-brand p {
  font-size: 0.85rem;
  color: #78716C;
  margin: 1rem 0 1.4rem;
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #E7E5E4;
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.88rem;
  color: #78716C;
  transition: color .2s;
}

.footer-col a:hover { color: var(--amber); }

.footer-col .ui-icon {
  /* Sizes handled in global section now */
  margin-right: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid #292524;
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #57534E;
}

.footer-bottom a { color: #78716C; text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* ==========================================
   PAGE HEADERS (shop, cart, etc.)
   ========================================== */
.page-header {
  padding: 2.5rem 0 0.5rem;
}

.page-header h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -.04em;
  margin: 0 0 0.3rem;
}

.page-header p {
  font-size: 1rem;
  color: var(--ink-muted);
  margin: 0;
}

/* ==========================================
   ADMIN PANEL
   ========================================== */
.admin-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--ink) 0%, #292524 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 1.6rem 2rem;
  margin-top: 1.5rem;
}

.admin-header-icon {
  font-size: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(245,158,11,.2);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}

.admin-header h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}

.admin-header p { font-size: 0.85rem; color: #78716C; margin: 0.2rem 0 0; }

/* ==========================================
   SCROLL TO TOP
   ========================================== */
#scroll-top {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 2.8rem;
  height: 2.8rem;
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: none;
  place-items: center;
  transition: var(--transition);
  z-index: 200;
}
#scroll-top.show { display: grid; }
#scroll-top:hover { background: var(--amber-dark); transform: translateY(-3px); }

/* ==========================================
   PREMIUM CHECKOUT PAGE
   ========================================== */
.checkout-header { text-align: center; padding: 4rem 0 2rem; }
.checkout-steps { display: flex; justify-content: center; gap: 3rem; margin-top: 2rem; position: relative; }
.checkout-steps::before {
  content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 250px; height: 1px; background: var(--border); z-index: 1;
}
.step { position: relative; z-index: 2; font-size: 0.85rem; font-weight: 700; color: var(--ink-muted); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.step span { 
  width: 26px; height: 26px; border-radius: 50%; background: white; border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 0.75rem; transition: var(--transition);
}
.step.active { color: var(--ink); }
.step.active span { background: var(--teal); color: white; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-pale); }

.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: start; padding-bottom: 5rem; }

.checkout-main { background: white; border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 3rem; box-shadow: var(--shadow-sm); }
.checkout-section { padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.section-title-sm { font-family: 'Nunito', sans-serif; font-size: 1.25rem; font-weight: 800; margin-bottom: 2rem; display: flex; align-items: center; gap: 0.5rem; }

.checkout-modes-wrap { display: flex; gap: 1rem; margin-bottom: 2rem; }
.compact-mode-card { flex: 1; cursor: pointer; }
.compact-mode-card input { display: none; }
.card-inner { 
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem; border: 1px solid var(--border); 
  border-radius: var(--radius-md); transition: var(--transition);
}
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--ink-muted); }
.compact-mode-card input:checked + .card-inner { border-color: var(--teal); background: var(--teal-pale); }
.compact-mode-card input:checked + .card-inner .dot { background: var(--teal); border-color: var(--teal); }

.payment-method-card { display: block; cursor: pointer; border: 2px solid var(--teal); border-radius: var(--radius-lg); background: var(--teal-pale); padding: 1.5rem; margin-bottom: 1rem; }
.payment-method-card input { display: none; }
.method-inner { display: flex; align-items: center; gap: 1.2rem; }
.method-inner strong { display: block; font-size: 1.05rem; }
.method-inner span { font-size: 0.82rem; color: var(--ink-muted); }

.payment-info-box { background: var(--cream); border-radius: var(--radius-md); padding: 1rem; font-size: 0.88rem; color: var(--ink-muted); border: 1px solid var(--border); }

.checkout-footer-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 3rem; }
.back-link { color: var(--ink-muted); font-size: 0.9rem; text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--teal); }

.checkout-sidebar { position: sticky; top: 100px; }
.summary-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.summary-header h3 { font-family: 'Nunito', sans-serif; font-size: 1.4rem; }
.item-count { font-size: 0.8rem; background: var(--border); padding: 0.2rem 0.6rem; border-radius: 20px; font-weight: 700; }

.summary-product-list { max-height: 400px; overflow-y: auto; margin-bottom: 2rem; padding-right: 0.5rem; }
.summary-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.item-img-box { position: relative; width: 60px; height: 60px; background: white; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.3rem; }
.item-img-box img { width: 100%; height: 100%; object-fit: contain; }
.item-qty { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; background: var(--ink); color: white; border-radius: 50%; font-size: 0.7rem; display: grid; place-items: center; font-weight: 700; }
.item-name { font-size: 0.9rem; font-weight: 600; line-height: 1.3; }
.item-price { font-size: 0.9rem; font-weight: 700; }

.summary-calc { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.calc-row { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 0.8rem; color: var(--ink-muted); }
.calc-row .free { color: var(--teal); font-weight: 700; }

.coupon-box { display: flex; gap: 0.5rem; margin: 1.5rem 0; }
.coupon-box input { flex: 1; padding: 0.6rem; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 0.85rem; }
.coupon-box button { background: var(--border); border: none; padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.8rem; cursor: pointer; }

.total-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.total-row span { font-size: 1.1rem; font-weight: 700; }
.total-amount { font-size: 1.8rem !important; color: var(--teal); font-family: 'Nunito', sans-serif; }

.trust-badges-mini { margin-top: 2rem; font-size: 0.75rem; text-align: center; color: var(--ink-muted); }

@media (max-width: 992px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 3rem; }
  .checkout-sidebar { order: -1; position: relative; top: 0; }
}

/* ==========================================
   SINGLE PRODUCT PAGE
   ========================================== */
.product-detail-container { padding-top: 2rem; padding-bottom: 5rem; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.product-img-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.main-product-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-img-card:hover .main-product-img { transform: scale(1.05); }

.breadcrumb { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb .active { color: var(--teal); font-weight: 600; }

.product-title { font-size: 2.8rem; font-family: 'Nunito', sans-serif; margin-bottom: 1rem; line-height: 1.1; }
.product-price-tag { font-size: 2rem; font-weight: 800; color: var(--teal); margin-bottom: 2rem; }

.product-long-desc { 
  font-size: 1.05rem; 
  line-height: 1.7; 
  color: var(--ink-muted); 
  margin-bottom: 2.5rem; 
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.add-to-cart-form {
  background: var(--cream);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.qty-selector { margin-bottom: 1.5rem; }
.qty-selector label { display: block; font-weight: 700; margin-bottom: 0.5rem; font-size: 0.9rem; }
.qty-controls { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn { 
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); 
  background: white; cursor: pointer; font-weight: bold; font-size: 1.2rem;
  display: grid; place-items: center; transition: var(--transition);
}
.qty-btn:hover { background: var(--amber-pale); border-color: var(--amber); }
.qty-controls input { 
  width: 60px; text-align: center; border: none; background: transparent; 
  font-weight: 800; font-size: 1.1rem; color: var(--ink);
}

.product-perks { display: grid; gap: 1rem; }
.perk-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.88rem; color: var(--ink-muted); }

.related-section { border-top: 1px solid var(--border); padding-top: 4rem; }

@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-title { font-size: 2.2rem; }
}

/* ==========================================
   ABOUT PAGE EXPANSIONS
   ========================================== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--border);
  top: 0; bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 1rem 3rem;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  right: -7px;
  background-color: var(--amber);
  border: 4px solid var(--cream);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left { left: 0; text-align: right; }
.right { left: 50%; text-align: left; }
.right::after { left: -7px; }

.timeline-content {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
  font-family: 'Nunito', sans-serif;
  margin: 0 0 0.4rem;
  color: var(--amber-dark);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: var(--cream-dark);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  border: 3px solid var(--amber-pale);
}

.team-card h4 { margin: 0; font-family: 'Nunito', sans-serif; font-size: 1.15rem; }
.team-card .role { color: var(--teal); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.8rem; display: block;}
.team-card p { font-size: 0.88rem; color: var(--ink-muted); margin: 0; line-height: 1.5; }

/* Responsive Timeline */
@media (max-width: 600px) {
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
  .timeline-item.left { text-align: left; }
  .timeline-item::after { left: 24px; }
  .right { left: 0%; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .45s ease both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .cart-row { grid-template-columns: 80px 1fr; }
  .cart-row .btn-danger { grid-column: 1 / -1; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 320px; }
}

/* Shop Filters */
.pill .ui-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.4rem;
}
