/* ==========================================================================
   A&A ECOM — Core Stylesheet
   ========================================================================== */

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

:root {
  /* Brand */
  --navy: #102e50;
  --navy-dark: #07192d;
  --navy-light: #1c4573;
  --navy-tint: #f0f4f8;
  --white: #ffffff;
  --black: #0c0d0f;

  /* Neutrals */
  --bg: #fafaf9;
  --surface: #ffffff;
  --border: #e8eae9;
  --border-focus: #102e50;
  --text: #1d2025;
  --text-muted: #5e6675;
  --text-faint: #9aa1b0;

  /* Feedback */
  --success: #1b633e;
  --success-bg: #eaf6ee;
  --error: #b3261e;
  --error-bg: #fdf2f2;

  /* Type */
  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-label: 'Plus Jakarta Sans', sans-serif;

  /* Radius / Shadow */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(16, 46, 80, 0.03);
  --shadow-md: 0 8px 24px rgba(16, 46, 80, 0.05);
  --shadow-lg: 0 16px 48px rgba(16, 46, 80, 0.08);

  /* Layout */
  --container: 1240px;
  --header-h: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--black);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

.section { padding: 96px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head p { color: var(--text-muted); max-width: 480px; margin-top: 10px; font-size: 15px; }

.link-arrow {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.link-arrow svg { transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.link-arrow:hover { color: var(--navy-light); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:active {
  transform: scale(0.97) translateY(0) !important;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 4px 12px rgba(16, 46, 80, 0.12); }
.btn-primary:hover { background: var(--navy-dark); box-shadow: 0 6px 20px rgba(16, 46, 80, 0.2); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.btn-dark:hover { background: #000; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-tint); color: var(--navy); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-icon:hover { background: var(--navy); color: var(--white); transform: scale(1.05); }
.btn-icon:active { transform: scale(0.95); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(16, 46, 80, 0.04);
  border-color: rgba(16, 46, 80, 0.06);
  height: 72px; /* slight shrink */
}
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; height: 36px; flex-shrink: 0; transition: transform 0.25s ease; }
.logo:hover { transform: scale(1.02); }
.logo img { height: 100%; width: auto; }
.logo-fallback {
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-fallback span { color: var(--black); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--font-label); font-size: 14px; font-weight: 500; color: var(--text);
  position: relative; padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--navy);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a.active { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-toggle-wrap { position: relative; }
.search-panel {
  position: absolute; top: calc(100% + 14px); right: 0;
  width: 360px; max-width: 90vw;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 18px; opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.search-panel input {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; transition: border-color 0.2s ease;
}
.search-panel input:focus { border-color: var(--navy); outline: none; }
.search-results { margin-top: 12px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.search-result-item {
  display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.search-result-item:hover { background: var(--navy-tint); }
.search-result-item img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: #fff; border: 1px solid var(--border); }
.search-result-item .name { font-size: 13.5px; font-weight: 600; color: var(--black); line-height: 1.3; }
.search-result-item .price { font-size: 12.5px; color: var(--navy); font-weight: 700; margin-top: 2px; }
.search-empty { font-size: 13px; color: var(--text-faint); padding: 12px 4px; text-align: center; }

.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -4px; right: -4px; background: var(--navy); color: var(--white);
  font-size: 10.5px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-label);
}
.hamburger { display: none; }

/* ---- Mobile menu ---- */
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(10, 15, 25, 0.45); z-index: 700;
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100%; width: 320px; max-width: 86vw;
  background: var(--white); z-index: 800; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-menu a {
  display: block; padding: 14px 4px; font-family: var(--font-display); font-weight: 700;
  font-size: 18px; border-bottom: 1px solid var(--border); color: var(--text);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--navy-tint) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 18px; display: inline-block; }
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy p { font-size: 17px; color: var(--text-muted); max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-family: var(--font-label); font-size: 13px; font-weight: 600; color: var(--navy); }
.hero-badge svg { flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.hero-visual-grid img {
  width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 22px;
}
.hero-visual-grid .tall { grid-row: span 2; aspect-ratio: auto; }
.hero-visual-grid img:nth-child(2) { margin-top: 40px; }

/* ==========================================================================
   Categories
   ========================================================================== */
.category-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.category-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px 16px 20px; text-align: center; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--navy-tint); }
.category-card .img-wrap {
  width: 100%; aspect-ratio: 1; background: var(--navy-tint); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 16px;
  transition: background 0.3s ease;
}
.category-card:hover .img-wrap { background: #e2eaf1; }
.category-card img { width: 70%; height: 70%; object-fit: contain; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.category-card:hover img { transform: scale(1.1); }
.category-card h4 { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.category-card .count { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ==========================================================================
   Product Cards / Grids
   ========================================================================== */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column;
  position: relative; box-shadow: var(--shadow-sm);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.product-card .img-wrap {
  position: relative; aspect-ratio: 1; background: #fafafa; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover .img-wrap img { transform: scale(1.08); }
.wishlist-btn {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center;
  color: var(--navy); border: 1px solid rgba(16, 46, 80, 0.08); transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.wishlist-btn:hover { background: var(--navy); color: var(--white); transform: scale(1.08); }
.wishlist-btn:active { transform: scale(0.92); }
.wishlist-btn.active svg { fill: var(--navy); }
.wishlist-btn.active:hover svg { fill: var(--white); }
.product-card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat-tag {
  font-family: var(--font-label); font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
}
.product-card h4 { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--black); }
.product-card .desc { font-size: 12.5px; color: var(--text-muted); margin-bottom: 4px; line-height: 1.4; }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(16, 46, 80, 0.04); }
.product-card .price { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--navy); }
.add-cart-btn {
  background: var(--navy); color: var(--white); font-family: var(--font-label); font-weight: 600;
  font-size: 12px; padding: 10px 18px; border-radius: var(--radius-pill); transition: all 0.25s ease;
  border: 1px solid transparent;
}
.add-cart-btn:hover { background: var(--navy-dark); transform: scale(1.02); }
.add-cart-btn:active { transform: scale(0.96); }

.product-grid-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px;
  flex-wrap: wrap;
}
.results-count { font-size: 13.5px; color: var(--text-muted); }
.sort-select {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white);
  font-size: 13.5px; color: var(--text);
}
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 13px;
  font-family: var(--font-label); font-weight: 500; color: var(--text-muted); transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--navy); color: var(--navy); }
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  font-family: var(--font-label); font-size: 12.5px; color: var(--text-faint);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 20px 0 0;
}
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: var(--text); font-weight: 600; }

/* ==========================================================================
   Product Detail
   ========================================================================== */
.pdp-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; padding: 32px 0 0; }
.pdp-gallery-main {
  aspect-ratio: 1; background: var(--navy-tint); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px;
}
.pdp-gallery-main img { width: 78%; height: 78%; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumb {
  width: 76px; height: 76px; border-radius: var(--radius-sm); background: var(--navy-tint);
  border: 2px solid transparent; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pdp-thumb.active { border-color: var(--navy); }
.pdp-thumb img { width: 70%; height: 70%; object-fit: contain; }

.pdp-info .cat-tag { font-family: var(--font-label); font-size: 12px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.08em; }
.pdp-info h1 { margin: 10px 0 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.pdp-price { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.pdp-desc { color: var(--text-muted); margin-bottom: 24px; font-size: 15px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: var(--text-muted); }
.pdp-rating .stars { color: #e0a92c; letter-spacing: 1px; }

.qty-selector { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; width: fit-content; }
.qty-selector button { width: 40px; height: 44px; font-size: 18px; color: var(--navy); font-weight: 600; }
.qty-selector button:hover { background: var(--navy-tint); }
.qty-selector input { width: 44px; height: 44px; text-align: center; border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border); font-weight: 600; }

.pdp-actions { display: flex; align-items: center; gap: 14px; margin: 24px 0; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1; min-width: 160px; }

.pdp-meta-list { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.pdp-meta-list .item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
.pdp-meta-list svg { color: var(--navy); flex-shrink: 0; }

/* Accordions */
.accordion { margin-top: 40px; border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; text-align: left;
}
.accordion-head .icon { transition: transform 0.25s ease; color: var(--navy); flex-shrink: 0; }
.accordion-item.open .accordion-head .icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-item.open .accordion-panel { max-height: 600px; }
.accordion-panel-inner { padding: 0 4px 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.accordion-panel-inner ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Reviews */
.review-card { padding: 20px 0; border-bottom: 1px solid var(--border); }
.review-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.review-name { font-weight: 700; font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-faint); }
.review-stars { color: #e0a92c; font-size: 13px; margin-bottom: 8px; }
.review-body { font-size: 14px; color: var(--text-muted); }

/* Related */
.related-section { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--border); }

/* ==========================================================================
   Cart
   ========================================================================== */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 18px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.cart-item .img-wrap { width: 90px; height: 90px; background: var(--navy-tint); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item img { width: 74%; height: 74%; object-fit: contain; }
.cart-item h4 { font-size: 14.5px; margin-bottom: 4px; }
.cart-item .cat { font-size: 12px; color: var(--text-faint); margin-bottom: 8px; }
.cart-item .row-controls { display: flex; align-items: center; gap: 16px; }
.cart-item .remove-btn { font-size: 12.5px; color: var(--error); font-family: var(--font-label); font-weight: 600; }
.cart-item .line-total { text-align: right; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--navy); }
.qty-selector.sm button { width: 32px; height: 34px; font-size: 15px; }
.qty-selector.sm input { width: 36px; height: 34px; font-size: 13px; }

.summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--text-muted); padding: 9px 0; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-weight: 800; color: var(--black); font-size: 17px; font-family: var(--font-display); }
.promo-row { display: flex; gap: 8px; margin: 14px 0; }
.promo-row input { flex: 1; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state svg { color: var(--navy-tint); margin-bottom: 20px; }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: var(--text-muted); margin-bottom: 28px; }

/* Slide cart */
.slide-cart-overlay { position: fixed; inset: 0; background: rgba(10,15,25,0.45); z-index: 900; opacity: 0; visibility: hidden; transition: opacity 0.25s; }
.slide-cart-overlay.open { opacity: 1; visibility: visible; }
.slide-cart {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw; background: var(--white);
  z-index: 950; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform 0.32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.slide-cart.open { transform: translateX(0); }
.slide-cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--border); }
.slide-cart-body { flex: 1; overflow-y: auto; padding: 10px 24px; }
.slide-cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--border); }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.form-section { margin-bottom: 34px; }
.form-section h3 { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; font-family: var(--font-label); }
.form-field label .req { color: var(--error); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14.5px;
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy); outline: none; }
.form-field.error input, .form-field.error select, .form-field.error textarea { border-color: var(--error); }
.field-error { font-size: 12px; color: var(--error); display: none; }
.form-field.error .field-error { display: block; }

.payment-option {
  display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--navy); background: var(--navy-tint);
  border-radius: var(--radius-md); padding: 16px 18px;
}
.payment-option svg { color: var(--navy); flex-shrink: 0; }
.payment-option .label { font-weight: 700; font-size: 14.5px; }
.payment-option .sub { font-size: 12.5px; color: var(--text-muted); }

.order-summary-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.mini-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mini-item .img-wrap { width: 54px; height: 54px; background: var(--navy-tint); border-radius: 8px; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.mini-item img { width: 70%; height: 70%; object-fit: contain; }
.mini-item .qty-badge { position: absolute; top: -6px; right: -6px; background: var(--navy); color: #fff; font-size: 10px; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mini-item .name { font-size: 13px; font-weight: 600; flex: 1; }
.mini-item .price { font-size: 13px; font-weight: 700; color: var(--navy); }

/* ==========================================================================
   Thank you
   ========================================================================== */
.thankyou-wrap { text-align: center; padding: 100px 20px 110px; max-width: 560px; margin: 0 auto; }
.success-icon { width: 96px; height: 96px; margin: 0 auto 28px; }
.success-icon svg {
  animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.success-icon path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: drawCheck 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}
@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.order-ref { display: inline-block; background: var(--navy-tint); color: var(--navy); font-family: var(--font-label); font-weight: 700; font-size: 13.5px; padding: 10px 20px; border-radius: var(--radius-pill); margin: 18px 0 34px; }
.thankyou-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 70px 0 0; margin-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .logo-fallback { color: var(--white); }
.footer-brand .logo-fallback span { color: var(--white); opacity: 0.6; }
.footer-brand p { font-size: 13.5px; margin-top: 16px; line-height: 1.8; opacity: 0.75; }
.footer-col h5 { font-family: var(--font-label); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; opacity: 0.6; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; opacity: 0.85; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 12.5px; opacity: 0.65; flex-wrap: wrap; gap: 10px; }

.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  z-index: 400; transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

.scroll-top-btn {
  position: fixed; bottom: 24px; left: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 400; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.25s ease;
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   Toasts / Loading
   ========================================================================== */
.toast-container { position: fixed; top: 96px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--black); color: var(--white); padding: 14px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-label); font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; min-width: 220px;
  animation: toastIn 0.25s ease;
}
.toast.success svg { color: #4ade80; }
.toast.error svg { color: #f87171; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.page-loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 2000; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark { width: 40px; height: 40px; border: 3px solid var(--navy-tint); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton { background: linear-gradient(90deg, var(--navy-tint) 25%, #f3f5f8 37%, var(--navy-tint) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-md); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ==========================================================================
   Trust strip / newsletter (home)
   ========================================================================== */
.trust-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: left; }
.trust-item svg { color: var(--navy); flex-shrink: 0; }
.trust-item .t { font-weight: 700; font-size: 13.5px; }
.trust-item .s { font-size: 12px; color: var(--text-muted); }

.newsletter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg); padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  color: var(--white); margin: 0 auto 24px;
  max-width: calc(var(--container) - 48px);
  box-shadow: var(--shadow-lg);
}
.newsletter h3 { color: var(--white); margin-bottom: 8px; font-weight: 700; letter-spacing: -0.01em; }
.newsletter p { opacity: 0.85; font-size: 14.5px; }
.newsletter-form { display: flex; gap: 12px; flex-shrink: 0; }
.newsletter-form input {
  padding: 14px 22px; border-radius: var(--radius-pill); border: 1.5px solid transparent; width: 280px;
  background: rgba(255, 255, 255, 0.12); color: var(--white); transition: all 0.25s ease;
  font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.2); border-color: var(--white); outline: none;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}

/* Utility */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.hidden { display: none !important; }

/* Scroll Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Image zoom-on-hover logic for PDP */
.pdp-gallery-main {
  position: relative;
  overflow: hidden;
}
.pdp-gallery-main img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.pdp-gallery-main:hover img {
  transform: scale(1.08);
  cursor: zoom-in;
}

/* Custom testimonial styles */
.testimonial-section {
  background: var(--navy-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-card .text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.testimonial-card .author-info h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
}
.testimonial-card .author-info span {
  font-size: 12px;
  color: var(--text-faint);
}

/* Sticky add to cart bar on PDP */
.sticky-pdp-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  padding: 14px 0;
  z-index: 450;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sticky-pdp-bar.visible {
  transform: translateY(0);
}
.sticky-pdp-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.sticky-pdp-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sticky-pdp-info img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--navy-tint);
  padding: 4px;
}
.sticky-pdp-info h4 {
  font-size: 14.5px;
  font-weight: 700;
}
.sticky-pdp-info span {
  font-size: 13px;
  color: var(--text-muted);
}
.sticky-pdp-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sticky-pdp-actions .price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

/* Instagram section */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.instagram-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.instagram-item:hover img {
  transform: scale(1.06);
}
.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 46, 80, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  transition: opacity 0.3s ease;
}
.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

