/* ============================================
   JUTIQ — Design Tokens
   ============================================ */
:root {
  --color-bg: #FFFFFF;
  /* Pure White */
  --color-bg-soft: #F9F6F0;
  /* Soft warm cream off-white */
  --color-bg-dark: #12100E;
  /* Obsidian charcoal for dark sections */
  --color-primary: #000000;
  /* Pitch Black */
  --color-primary-d: #1A1A1A;
  /* Dark Off-Black */
  --color-accent: #8B5A2B;
  /* Elegant Earth Brown */
  --color-accent-2: #A07855;
  /* Warm soft gold/brown */
  --color-text: #1C1A17;
  /* Charcoal black text */
  --color-muted: #706E6B;
  /* Muted gray text */
  --color-line: #E4DDD5;
  /* Clean warm line border */

  --font-display: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  --radius: 18px;
  --shadow-soft: 0 20px 50px -20px rgba(40, 20, 15, 0.06);
  --shadow-lift: 0 30px 60px -25px rgba(40, 20, 15, 0.12);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 .4em;
  color: var(--color-bg-dark);
}

em {
  font-style: italic;
  color: var(--color-primary);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 .8em;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #000000;
  color: #FFFFFF;
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, .15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #222222;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .2);
}

.btn-ghost {
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  position: relative;
}

.logo {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .22em;
  text-decoration: none;
  color: var(--color-bg-dark);
  transition: all 0.3s var(--ease);
}

@media (min-width: 993px) {
  .site-header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  .site-header .nav {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .header-right {
    margin-left: auto;
  }
}

@media (max-width: 992px) {
  .logo {
    font-size: 28px;
  }
}

/* Louis Vuitton transparent header overlay on home page */
.home-page .site-header {
  position: fixed;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

.home-page .site-header .logo,
.home-page .site-header .nav a,
.home-page .site-header .search-btn,
.home-page .site-header .cart-btn,
.home-page .site-header .menu-btn {
  color: #FFFFFF;
}

/* Scrolled state on homepage */
.home-page .site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.home-page .site-header.scrolled .logo,
.home-page .site-header.scrolled .nav a,
.home-page .site-header.scrolled .search-btn,
.home-page .site-header.scrolled .cart-btn,
.home-page .site-header.scrolled .menu-btn {
  color: var(--color-bg-dark);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}

.nav a:hover::after {
  width: 100%;
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-bg-dark);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-bg-dark);
  padding: 6px;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Mobile Navigation Drawer
   ============================================ */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 300px;
  max-width: 80vw;
  background: var(--color-bg);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s var(--ease);
  box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .3);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 30px;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.25s;
}

.mobile-nav-links a:hover {
  color: var(--color-accent);
}

/* ============================================
   Hero + 3D Tilt
   ============================================ */
.hero {
  position: relative;
  padding: 180px 0 140px;
  background-image: url('../images/jute%20bag.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow: hidden;
  min-height: 640px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy {
  color: #FFFFFF;
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.hero-copy h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  margin-bottom: .5em;
  color: #FFFFFF;
}

.hero-text {
  max-width: 640px;
  margin-left: 0;
  margin-right: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.hero .eyebrow {
  color: var(--color-accent-2);
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.hero .btn-ghost:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.hero-tag {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: .05em;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.tilt {
  perspective: 1000px;
  width: 100%;
  max-width: 420px;
}

.tilt-inner {
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  border-radius: 28px;
  position: relative;
}

.hero-shoe {
  background: linear-gradient(160deg, #FFFFFF 0%, var(--color-bg-soft) 100%);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  padding: 50px 30px;
  box-shadow: var(--shadow-lift);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shoe-icon {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: translateZ(40px);
  filter: drop-shadow(0 25px 25px rgba(74, 22, 32, .25));
}

.shoe-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, var(--color-accent-2) 0%, transparent 70%);
  opacity: .35;
  filter: blur(30px);
  transform: translateZ(-10px);
}

.hero-tag {
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: .05em;
}

/* ============================================
   Collection / Product Grid
   ============================================ */
.collection {
  padding: 50px 0 90px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.product-card {
  perspective: 900px;
}

.product-card-inner {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform .2s var(--ease), box-shadow .3s, border-color .3s;
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.product-card-inner:hover {
  border-color: rgba(139, 90, 43, 0.35);
  box-shadow: var(--shadow-lift);
}

.product-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.product-visual svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateZ(30px);
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .18));
  transition: transform .2s var(--ease);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateZ(30px);
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .18));
  transition: opacity 0.4s var(--ease), transform .2s var(--ease);
}

.product-visual img.main-img,
.product-visual img.hover-img {
  position: absolute;
  top: 0;
  left: 0;
}

.product-visual img.hover-img {
  opacity: 0;
  pointer-events: none;
}

.product-visual.has-hover:hover img.main-img {
  opacity: 0;
}

.product-visual.has-hover:hover img.hover-img {
  opacity: 1;
  transform: scale(1.05) translateZ(35px);
}

.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .1;
  background: radial-gradient(circle at 70% 20%, var(--color-accent-2), transparent 60%);
}

.product-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 4px;
  transition: transform .2s var(--ease);
  backface-visibility: hidden;
}

.product-tag {
  font-size: 12px;
  color: var(--color-accent);
  margin-bottom: 12px;
  transition: transform .2s var(--ease);
  backface-visibility: hidden;
}

.product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform .2s var(--ease);
  backface-visibility: hidden;
}

.product-card:hover .product-name,
.product-card:hover .product-tag,
.product-card:hover .product-foot {
  transform: translateZ(20px);
}

.product-price {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.product-price .current-price {
  color: var(--color-text);
}

.product-price .original-price {
  font-size: 11px;
  text-decoration: line-through;
  color: var(--color-muted);
  font-weight: 400;
}

.product-price .discount-badge {
  font-size: 9px;
  font-weight: 600;
  background: #EEDBD3;
  color: var(--color-accent);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.add-btn {
  background: var(--color-bg-dark);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  transition: background .25s, transform .25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-btn:hover {
  background: var(--color-primary);
  transform: scale(1.08) translateZ(20px);
}

.add-btn.added {
  background: var(--color-accent);
}

/* ============================================
   Craft section
   ============================================ */
.craft {
  background: var(--color-bg-dark);
  color: var(--color-text);
  padding: 80px 0;
}

.craft-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.craft h2 {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 38px);
}

.craft p {
  color: var(--color-muted);
}

.craft-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.craft-stats div {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--color-accent);
  padding-left: 18px;
}

.craft-stats strong {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--color-accent-2);
}

.craft-stats span {
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: .04em;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-line);
  padding: 80px 0 40px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin: 0;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-bg-dark);
  text-decoration: none;
}

.footer-tagline {
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-muted);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  color: var(--color-muted);
  transition: all 0.25s var(--ease);
}

.social-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--color-line);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--color-muted);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
   AI Chat Widget
   ============================================ */
.chatbot-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.chat-toggle {
  background: linear-gradient(135deg, #111111, #2a241f);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  flex-shrink: 0;
}

.chat-toggle:hover {
  transform: translateY(-2px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.55);
}

.chat-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.chat-toggle:hover::before {
  transform: translateX(100%);
}

.chat-toggle-logo,
.chat-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 4px;
}

.chat-toggle-wrap {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  position: relative;
}

.chat-tooltip {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  position: relative;
  opacity: 0;
  transform: translateX(10px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.chat-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-bg-dark);
}

.chat-tooltip.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.chat-toggle:hover ~ .chat-tooltip {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Hide tooltip when chat panel is open */
.chat-panel.open ~ .chat-toggle-wrap .chat-tooltip {
  opacity: 0 !important;
  transform: translateX(10px) scale(0.95) !important;
  pointer-events: none !important;
}

.chat-panel {
  width: min(380px, calc(100vw - 24px));
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--color-line);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.chat-panel.open {
  display: flex;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(90deg, #f8f4ec, #f3ece0);
  border-bottom: 1px solid var(--color-line);
}

.chat-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.chat-brand small {
  font-size: 11px;
  color: var(--color-muted);
}

.chat-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-muted);
  cursor: pointer;
}

.chat-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  background: #fffaf4;
}

.chat-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-message.bot {
  background: #f7f1e7;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}

.chat-message.user {
  background: linear-gradient(135deg, #121212, #2a241f);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--color-line);
  background: #fff;
}

.chat-input-wrap input {
  flex: 1;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  outline: none;
}

.chat-input-wrap input:focus {
  border-color: #caa57a;
}

.chat-input-wrap button {
  background: linear-gradient(135deg, #111111, #2a241f);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 600;
}

/* ============================================
   Cart Drawer + Overlay
   ============================================ */
.overlay,
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 20, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease);
  z-index: 90;
}

.overlay.open,
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 380px;
  max-width: 92vw;
  background: var(--color-bg);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .3);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--color-line);
}

.drawer-head h3 {
  margin: 0;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--color-muted);
  line-height: 1;
}

.icon-btn:hover {
  color: var(--color-primary);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 24px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
  align-items: center;
}

.cart-item-visual {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-visual svg,
.cart-item-visual img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
}

.cart-item-price {
  font-size: 13px;
  color: var(--color-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-control button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: #FFFFFF;
  color: var(--color-text);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.remove-item {
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  margin-top: 6px;
}

.cart-empty {
  text-align: center;
  color: var(--color-muted);
  padding: 60px 10px;
  font-size: 14px;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-line);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
}

.cart-total-row strong {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
}

/* ============================================
   Checkout Modal
   ============================================ */
.modal-overlay {
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal {
  background: var(--color-bg);
  border-radius: 22px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 34px 30px;
  transform: translateY(20px) scale(.98);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  box-shadow: var(--shadow-lift);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
}

.steps-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--color-muted);
  flex: 1;
  text-align: center;
  letter-spacing: .04em;
}

.step-dot span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-muted);
  transition: all .25s var(--ease);
}

.step-dot.active span {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.step-dot.active {
  color: var(--color-text);
}

.step-dot.done span {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
  animation: fadeUp .35s var(--ease);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.step-panel input {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--color-text);
  outline: none;
  transition: border-color .2s;
}

.step-panel input:focus {
  border-color: var(--color-primary);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.order-summary {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 13px;
}

.order-summary .os-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.order-summary .os-total {
  border-top: 1px solid var(--color-line);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-primary);
}

.pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.pay-option {
  border: 1px solid var(--color-line);
  background: var(--color-bg-soft);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  text-align: left;
  transition: all .2s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pay-option .pay-title {
  font-weight: 600;
  font-size: 14px;
}

.pay-option .pay-sub {
  font-size: 11px;
  color: var(--color-muted);
}

.pay-option.active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, .1);
}

.pay-instructions {
  font-size: 13px;
  color: var(--color-muted);
}

.qr-wrap {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  margin: 10px 0;
}

.upi-id-text {
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 14px 0;
}

.checkbox-row input {
  width: auto;
}

.confirm-box {
  text-align: center;
  padding: 20px 0;
}

.confirm-tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.order-id {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: .05em;
}

.email-status {
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

/* Two-column checkout layout */
.checkout-layout {
  display: flex;
  gap: 30px;
  margin-top: 15px;
}

.checkout-main {
  flex: 1.2;
  min-width: 0;
}

.checkout-sidebar {
  flex: 0.8;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 20px;
  align-self: flex-start;
}

.checkout-sidebar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 15px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 10px;
  color: var(--color-bg-dark);
}

.checkout-sum-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--color-text);
}

.sum-name {
  font-weight: 500;
}

.sum-qty {
  color: var(--color-muted);
  font-size: 12px;
  margin-left: 4px;
}

.sum-price {
  font-weight: 600;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--color-line);
  font-size: 15px;
  font-weight: 600;
}

.order-summary-total strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-primary);
}

/* Modal sizing based on wide-layout */
.modal.wide-layout {
  max-width: 820px;
}

@media (max-width: 992px) {
  .checkout-layout {
    flex-direction: column;
  }

  .checkout-sidebar {
    width: 100%;
    order: -1;
    /* Show summary on top on mobile */
    margin-bottom: 15px;
  }
}

/* ============================================
   Toast
   ============================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-bg-dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--ease);
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px) {

  .hero-inner,
  .craft-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 100px 0 80px;
    text-align: center;
  }

  .hero-copy {
    order: 2;
  }

  .hero-text {
    margin: 0 auto;
  }

  .craft-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

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

  .menu-btn {
    display: flex;
  }
}

@media (max-width: 500px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 14px;
  }

  .product-card-inner {
    padding: 8px;
    border-radius: 12px;
  }

  .product-visual {
    margin-bottom: 8px;
  }

  .product-name {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .product-tag {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .product-price {
    font-size: 15px;
  }

  .add-btn {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 14px 18px;
  }

  .header-right {
    gap: 14px;
  }

  .row-2 {
    grid-template-columns: 1fr;
  }

  .modal-overlay {
    padding: 10px;
  }

  .modal {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .steps-bar {
    margin-bottom: 20px;
  }

  .craft-stats {
    flex-direction: column;
    gap: 18px;
  }
}


/* ============================================
   Product Detail Modal
   ============================================ */
.product-detail-modal {
  max-width: 760px;
  padding: 0;
  overflow: hidden;
}

.detail-layout {
  display: flex;
  height: 520px;
}

.detail-visual-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.detail-main-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
}

.detail-main-image-wrap.zoomed {
  cursor: zoom-out;
}

.detail-main-image-wrap img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s var(--ease), transform-origin 0.08s ease-out;
  will-change: transform, transform-origin;
}

.detail-visual-side:hover .detail-main-image-wrap:not(.zoomed) img {
  transform: scale(1.06);
}

.detail-main-image-wrap.zoomed img {
  transform: scale(3.8);
}

.detail-thumbnails {
  display: flex;
  gap: 12px;
  padding: 16px;
  justify-content: center;
  width: 100%;
  border-top: 1px solid var(--color-line);
  background: rgba(249, 246, 240, 0.4);
  z-index: 2;
}

.thumb-btn {
  width: 48px;
  height: 48px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 2px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-btn.active {
  border-color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(139, 90, 43, 0.15);
}

.thumb-btn:hover {
  border-color: var(--color-accent-2);
}

.detail-info-side {
  flex: 1.1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #FFFFFF;
}

.product-id-badge {
  font-size: 11px;
  color: var(--color-muted);
  background: var(--color-bg-soft);
  padding: 4px 10px;
  border-radius: 99px;
  align-self: flex-start;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.detail-price {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-price .current-price {
  color: var(--color-text);
}

.detail-price .original-price {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--color-muted);
  font-weight: 400;
}

.detail-price .discount-badge {
  font-size: 11px;
  font-weight: 600;
  background: #EEDBD3;
  color: var(--color-accent);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.detail-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

.detail-specs h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--color-text);
}

.detail-specs ul {
  padding-left: 18px;
  margin: 0 0 30px;
  font-size: 13px;
  color: var(--color-muted);
}

.detail-specs li {
  margin-bottom: 6px;
}

.detail-action {
  margin-top: auto;
}

@media (max-width: 768px) {
  .detail-layout {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
  }

  .detail-visual-side {
    height: auto;
    min-height: 280px;
    flex-shrink: 0;
  }

  .detail-main-image-wrap {
    height: 220px;
  }

  .detail-info-side {
    padding: 30px 24px;
  }
}

/* ============================================
   Checkout Loading & Invoice Summary
   ============================================ */
.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 10px;
  text-align: center;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--color-line);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.order-success-details {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 20px;
  margin: 24px 0;
  text-align: left;
  font-size: 13px;
  color: var(--color-text);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

.order-success-details h4 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--color-primary);
  border-bottom: 1px dashed var(--color-line);
  padding-bottom: 8px;
}

.order-success-details .summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  padding-bottom: 8px;
}

.order-success-details .summary-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.order-success-details .summary-label {
  font-weight: 600;
  color: var(--color-muted);
}

.order-success-details .summary-value {
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

.order-success-details .summary-products {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
  font-family: monospace;
  white-space: pre-wrap;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-text);
}


/* ============================================
   Subpages Style Classes
   ============================================ */
.subpage-hero {
  padding: 100px 0 50px;
  background: var(--color-bg-soft);
  text-align: center;
  border-bottom: 1px solid var(--color-line);
}

.subpage-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-bg-dark);
}

.subpage-hero .eyebrow {
  margin-bottom: 12px;
}

.subpage-content {
  padding: 60px 0 100px;
  background: var(--color-bg);
}

.rich-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

.rich-text h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-bg-dark);
  margin: 40px 0 16px;
}

.rich-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-bg-dark);
  margin: 30px 0 12px;
}

.rich-text p {
  margin: 0 0 20px;
  color: var(--color-muted);
}

.rich-text ul,
.rich-text ol {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--color-muted);
}

.rich-text li {
  margin-bottom: 8px;
}

.rich-text strong {
  color: var(--color-bg-dark);
}

/* Contact form custom styles for Support Page */
.contact-form-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 40px;
}

.contact-form-card h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.contact-form-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 20px;
}

.contact-form-card input,
.contact-form-card textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--color-text);
  outline: none;
  transition: border-color .2s;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--color-primary);
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-card .btn {
  margin-top: 10px;
}


/* ============================================
   Story / Craftsmanship 3D Styles
   ============================================ */
.story-hero {
  position: relative;
  height: 550px;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1200px;
  background: var(--color-bg-dark);
  color: #FFFFFF;
  text-align: center;
  border-bottom: 1px solid var(--color-accent);
}

.story-hero-bg {
  position: absolute;
  inset: -30px;
  background-image: radial-gradient(circle at 50% 50%, rgba(160, 120, 85, 0.22) 0%, rgba(18, 16, 14, 0.95) 75%),
    url('../images/jute\ bag.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  filter: blur(4px) brightness(0.45);
  transform: translateZ(-50px) scale(1.1);
  transition: transform 0.15s ease-out;
}

.story-hero-content {
  position: relative;
  z-index: 5;
  transform-style: preserve-3d;
  max-width: 780px;
  padding: 0 28px;
}

.story-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 20px;
  transform: translateZ(60px);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.story-hero-content p.eyebrow {
  color: var(--color-accent-2);
  margin-bottom: 14px;
  transform: translateZ(40px);
}

.story-hero-content .story-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 300;
  color: var(--color-line);
  line-height: 1.6;
  transform: translateZ(30px);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* 3D Stat Grid */
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 70px 0;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
}

.story-stat-card {
  perspective: 1000px;
  text-align: center;
}

.story-stat-inner {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.story-stat-inner:hover {
  transform: translateY(-5px) rotateX(4deg) rotateY(-4deg);
  box-shadow: var(--shadow-lift);
}

.story-stat-inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  color: var(--color-accent);
  margin-bottom: 10px;
  transform: translateZ(40px);
  line-height: 1;
}

.story-stat-inner span {
  font-size: 14px;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateZ(20px);
  display: block;
}

/* 3D Flip Card Deck */
.craft-grid-section {
  padding: 90px 0;
  background: var(--color-bg-soft);
}

.card-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card-3d-scene {
  perspective: 1200px;
  height: 420px;
}

.card-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.card-3d.flipped {
  transform: rotateY(180deg);
}

.card-3d-front,
.card-3d-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 30px;
  backface-visibility: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-line);
}

.card-3d-front {
  background: #FFFFFF;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.3s;
}

.card-3d:hover .card-3d-front {
  border-color: var(--color-accent-2);
}

.card-3d-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-accent);
  border: 1px solid var(--color-line);
}

.card-3d-front h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--color-bg-dark);
}

.card-3d-front .card-prompt {
  font-size: 11px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: auto;
  font-weight: 600;
}

.card-3d-back {
  background: var(--color-bg-dark);
  color: #FFFFFF;
  transform: rotateY(180deg);
  justify-content: center;
}

.card-3d-back h3 {
  color: #FFFFFF;
  font-size: 22px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.card-3d-back p {
  color: var(--color-line);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Timeline storytelling */
.story-timeline-section {
  padding: 90px 0;
  background: var(--color-bg);
}

.story-timeline {
  position: relative;
  max-width: 860px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-line);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-dark);
  border: 4px solid var(--color-bg);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  z-index: 10;
  box-shadow: var(--shadow-soft);
}

.timeline-card {
  width: 45%;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.timeline-card:hover {
  transform: translateZ(20px) translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--color-accent-2);
}

.timeline-time {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.timeline-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.timeline-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* Call to Action Section */
.story-cta {
  background: var(--color-bg-dark);
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
}

.story-cta h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 4.5vw, 46px);
  margin-bottom: 20px;
}

.story-cta p {
  color: var(--color-muted);
  font-size: clamp(15px, 2vw, 18px);
  max-width: 600px;
  margin: 0 auto 35px;
}

.story-cta .btn {
  border-color: #FFFFFF;
  color: #FFFFFF;
  padding: 16px 40px;
}

.story-cta .btn:hover {
  background: #FFFFFF;
  color: var(--color-bg-dark);
}

@media (max-width: 768px) {
  .story-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 0;
  }

  .story-timeline::before {
    left: 28px;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 60px;
    margin-bottom: 40px;
  }

  .timeline-badge {
    left: 28px;
    transform: translateX(-50%);
  }

  .timeline-card {
    width: 100%;
    padding: 24px;
  }
}


/* ============================================
   Search & FAQ Accordion Styles
   ============================================ */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-bg-dark);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.search-btn:hover {
  color: var(--color-accent);
}

.search-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 18px;
  padding: 16px 20px;
  border: 2px solid var(--color-line);
  border-radius: 12px;
  outline: none;
  margin-bottom: 24px;
  transition: border-color 0.25s var(--ease);
  background: #FFF;
  color: var(--color-text);
}

.search-input:focus {
  border-color: var(--color-primary);
}

.search-results {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg-soft);
  transition: all 0.25s var(--ease);
  cursor: pointer;
}

.search-result-item:hover {
  border-color: var(--color-accent-2);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 20, 15, 0.04);
}

.search-result-visual {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-result-visual img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-info h4 {
  margin: 0 0 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-bg-dark);
}

.search-result-info p {
  margin: 0;
  font-size: 12px;
  color: var(--color-muted);
}

.search-result-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-left: auto;
}

.search-empty {
  text-align: center;
  color: var(--color-muted);
  padding: 30px 10px;
  font-size: 14px;
}

/* Accordion styles */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-bg-soft);
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}

.faq-item:hover {
  border-color: var(--color-accent-2);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-bg-dark);
  outline: none;
}

.faq-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--color-accent);
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open .faq-panel {
  padding-bottom: 22px;
}




}

.faq-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--color-accent);
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open .faq-panel {
  padding-bottom: 22px;
}

color: var(--color-accent);
transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open .faq-panel {
  padding-bottom: 22px;
}




}

.faq-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--color-accent);
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.open .faq-panel {
  padding-bottom: 22px;
}