:root {
  --cream: #fbf9ff;
  --cream-2: #f3efff;
  --espresso: #171525;
  --espresso-2: #211a35;
  --ink: #1b1830;
  --muted: #716c82;
  --accent: #7c3aed;
  --gold: #d946ef;
  --line: #e8e1f5;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(72,43,128,.12);
  --shadow-soft: 0 8px 30px rgba(72,43,128,.08);
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { } 
body { font-family: 'Karla', sans-serif; background: var(--cream); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 500; line-height: 1.15; letter-spacing: -.035em; }
img { display: block; max-width: 100%; -webkit-user-drag: none; user-select: none; -moz-user-drag: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 28px; }

.pretitle { display: block; text-transform: uppercase; letter-spacing: 2px; font-size: .68rem; font-weight: 800; color: var(--accent); margin-bottom: .85rem; }
.btn-line, .btn-solid { border-radius: 12px; text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 700; padding: .92rem 1.35rem; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; display: inline-block; }
.btn-line { border: 1px solid #d9d0ec; color: var(--ink); background: #fff; box-shadow: 0 4px 14px rgba(72,43,128,.05); }
.btn-line:hover { transform: translateY(-2px); color: var(--accent); border-color: #cbb9ef; box-shadow: 0 9px 24px rgba(72,43,128,.10); }
.btn-line.dark { border-color: #fff; background: #fff; color: #6d28d9; box-shadow: 0 10px 25px rgba(47,22,92,.12); }
.btn-line.dark:hover { background: #f7f2ff; border-color: #fff; color: #6d28d9; }
.btn-line.secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }
.btn-line.secondary:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn-solid { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; box-shadow: 0 10px 24px rgba(124,58,237,.24); }
.btn-solid:hover { background: linear-gradient(135deg, #6d28d9, #9333ea); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124,58,237,.30); }

.back-btn { display: inline-flex; align-items: center; gap: 8px; margin: 100px 0 8px; font-size: .78rem; text-transform: none; letter-spacing: 0; color: #777187; font-weight: 700; cursor: pointer; transition: color .2s; }
.back-btn:hover { color: var(--accent); }
.breadcrumb { font-size: .75rem; text-transform: none; letter-spacing: 0; color: #938ca0; padding: 6px 0 0; }
.breadcrumb a { cursor: pointer; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .cur { color: var(--ink); font-weight: 600; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(20px, 4vw, 58px); background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid rgba(231,224,244,.85); box-shadow: 0 4px 20px rgba(40,20,70,.04); }
.logo { font-family: 'Manrope', sans-serif; font-size: 1.28rem; font-weight: 800; letter-spacing: -.045em; color: #23183a; cursor: pointer; }
.logo em { font-style: normal; color: #8b5cf6; }
.nav-right { display: flex; align-items: center; gap: 1.8rem; }
.nav-link { font-size: .82rem; text-transform: none; letter-spacing: 0; font-weight: 600; color: #6d6879; padding: 9px 0; cursor: pointer; position: relative; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: #24133e; }
.nav-link::after { content: ''; position: absolute; bottom: 1px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #7c3aed, #d946ef); border-radius: 9px; transition: width .3s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.cart-btn { position: relative; border-radius: 11px; background: #171128; color: #fff; padding: .65rem 1rem; font-size: .82rem; text-transform: none; letter-spacing: 0; box-shadow: 0 8px 18px rgba(23,17,40,.15); transition: background .2s, transform .2s; }
.cart-btn:hover { background: #6d28d9; transform: translateY(-1px); }
.cart-count { position: absolute; top: -7px; right: -7px; background: #d946ef; color: #fff; min-width: 19px; height: 19px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 700; box-shadow: 0 3px 10px rgba(217,70,239,.3); }
.cart-count.is-empty { display: none; }

.hero { min-height: 760px; background: linear-gradient(135deg, #211538 0%, #4b207d 46%, #8b5cf6 100%); color: #fff; text-align: left; display: flex; align-items: center; position: relative; overflow: hidden; padding: 8.5rem 6vw 5rem; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 78% 48%, rgba(255,255,255,.20), transparent 29%), radial-gradient(circle at 20% 20%, rgba(217,70,239,.22), transparent 30%); pointer-events: none; }
.hero-inner { width: min(1180px, 100%); max-width: none; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: 3.5rem; position: relative; z-index: 2; }
.hero-copy { max-width: 610px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.15); border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 1.35rem; }
.hero-badge span { color: #f5d0fe; }
.hero h1 { font-family: 'Manrope', sans-serif; font-size: clamp(3rem, 6.2vw, 5.8rem); line-height: .98; font-weight: 800; letter-spacing: -.065em; margin-bottom: 1.45rem; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; line-height: 1.75; max-width: 550px; color: rgba(255,255,255,.80); margin: 0 0 2rem; font-weight: 400; }
.hero-cta { display: flex; gap: .75rem; justify-content: flex-start; flex-wrap: wrap; }
.hero-cta .btn-line span { margin-left: 8px; font-size: 1rem; }

/* 3D HERO ANIMATION CONTAINER */
.hero-animation {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
  margin: 2rem auto;
}
.hero-animation canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
#hud {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 300;
  pointer-events: none;
  text-align: center;
  z-index: 10;
}

.rows { max-width: 1240px; padding: 7rem 28px 2rem; margin: 0 auto; }
.rows-intro { text-align: left; margin-bottom: 3rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.rows-intro h2 { font-family: 'Manrope', sans-serif; font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -.055em; }
.row { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 5rem; margin-bottom: 5rem; padding: 18px; }
.row-rev { grid-template-columns: .88fr 1.12fr; }
.row-rev .visual { order: 2; }
.row-rev .rtext { order: 1; }

.visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .4s var(--ease);
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}
.visual::after { display: none; }
.visual img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.08));
  transition: transform .5s var(--ease);
}
.row:hover .visual { transform: translateY(-5px); }
.row:hover .visual img { transform: scale(1.02); }

.rtext { padding: 1rem 0; }
.rtext h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .8rem; cursor: pointer; transition: color .2s; }
.rtext h2:hover { color: var(--accent); }
.rtext p { color: #777187; font-weight: 400; max-width: 450px; margin-bottom: 1.35rem; }
.rmeta { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.35rem; }
.rprice { font-family: 'Manrope', sans-serif; font-size: 1.45rem; font-weight: 800; color: #6d28d9; }
.rcount { font-size: .76rem; color: #8b8498; text-transform: none; letter-spacing: 0; }
.rlink { display: block; margin-top: 1rem; font-size: .8rem; text-transform: none; letter-spacing: 0; font-weight: 700; color: #756d84; cursor: pointer; transition: color .2s; }
.rlink:hover { color: #7c3aed; }

.pack { margin-top: 2rem; background: linear-gradient(135deg, #f0e9ff, #faeaff); color: #211832; padding: 5.5rem 2rem; border-top: 1px solid #e8ddf6; border-bottom: 1px solid #e8ddf6; position: relative; overflow: hidden; text-align: center; }
.pack::before { content: ''; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: rgba(168,85,247,.10); right: -140px; top: -200px; }
.pack .pretitle { color: #7c3aed; }
.pack h2 { font-family: 'Manrope', sans-serif; font-size: clamp(2.3rem, 5vw, 3.7rem); margin-bottom: 1rem; }
.pack h2 em { color: #a21caf; font-style: normal; }
.pack p { color: #71697d; max-width: 520px; margin: 0 auto 2.2rem; }

.page-head { padding: 7.5rem 0 2.5rem; text-align: left; }
.page-head h1 { font-family: 'Manrope', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.06em; margin-bottom: .6rem; }
.page-head p { color: #777187; margin: 0; max-width: 620px; }

.shop-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; background: #fff; border: 1px solid #e9e2f4; border-radius: 18px; padding: 12px; box-shadow: 0 6px 22px rgba(72,43,128,.05); }
.search-field { display: flex; align-items: center; gap: 8px; border: 1px solid #e3dcef; border-radius: 11px; background: #fbfaff; padding: .65rem 1rem; min-width: 280px; flex: 1; }
.search-field:focus-within { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(124,58,237,.08); }
.search-field input { border: none; outline: none; background: transparent; font: inherit; font-size: .9rem; width: 100%; }
.sort-select { border: 1px solid #e3dcef; border-radius: 11px; background: #fff; padding: .65rem 1rem; font: inherit; font-size: .85rem; }
.result-count { font-size: .75rem; text-transform: none; letter-spacing: 0; color: #837b90; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.chips-label { width: 100%; font-size: .68rem; text-transform: none; letter-spacing: .04em; color: #8a8296; font-weight: 700; margin-bottom: .2rem; }
.chip { padding: .5rem .9rem; border: 1px solid #e3dcef; background: #fff; color: #6f687a; border-radius: 999px; font-size: .78rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: #b69aef; color: #6d28d9; background: #faf7ff; }
.chip.active { background: #171128; color: #fff; border-color: #171128; box-shadow: 0 5px 15px rgba(23,17,40,.14); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; padding-bottom: 5rem; }
.card { background: #fff; border: 1px solid #e8e1f3; border-radius: 20px; box-shadow: 0 5px 20px rgba(72,43,128,.04); overflow: hidden; position: relative; transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; }
.card:hover { transform: translateY(-7px); box-shadow: 0 20px 40px rgba(72,43,128,.12); border-color: #d8c9f2; }
.card-img { aspect-ratio: 1; background: linear-gradient(145deg, #f8f4ff, #f1eaff); padding: 2rem; border-bottom: 1px solid #eee8f6; display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.card-img::after { content: ''; position: absolute; inset: 0; background: transparent; z-index: 10; pointer-events: none; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.card:hover .card-img img { transform: scale(1.07) rotate(1.5deg); }
.card-body { padding: 1rem 1.05rem 1.15rem; text-align: left; }
.card-body h4 { font-size: .98rem; letter-spacing: -.02em; cursor: pointer; transition: color .2s; }
.card-body h4:hover { color: var(--accent); }
.card-coll { font-size: .68rem; text-transform: none; letter-spacing: 0; color: #8a8296; display: block; margin-bottom: .35rem; }
.card-price { font-family: 'Manrope', sans-serif; color: #6d28d9; font-size: .92rem; font-weight: 800; }
.card-add { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #6d28d9; border: 1px solid #e0d5f2; box-shadow: 0 8px 18px rgba(72,43,128,.12); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; opacity: 0; z-index: 11; transition: all .25s; cursor: pointer; }
.card:hover .card-add { opacity: 1; }
.card-add:hover { background: #7c3aed; color: #fff; border-color: #7c3aed; transform: scale(1.1); }
.no-results { text-align: center; color: var(--muted); font-style: italic; padding: 3rem 0; display: none; }
.no-results.is-visible { display: block; }

/* Fixed coll-grid to prevent empty white space on collections page */
.coll-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 2.5rem; padding-bottom: 5rem; }
/* Added perspective and 3D transforms */
.coll-card { 
  background: #fff; 
  border: 1px solid #e8e1f3; 
  border-radius: 24px; 
  box-shadow: 0 5px 20px rgba(72,43,128,.04); 
  cursor: pointer; 
  transition: transform 0.2s ease, box-shadow 0.2s ease; 
  transform-style: preserve-3d; /* Allows children to pop out */
}
.coll-visual { 
  aspect-ratio: 1; /* Changed to 1/1 (Square) to give maximum vertical height for the bears */
  padding: 2rem; 
  background: linear-gradient(145deg, #f7f2ff, #fdfaff); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  position: relative; 
  transform-style: preserve-3d; 
  border-radius: 24px 24px 0 0; 
}
.coll-visual::after { content: ''; position: absolute; inset: 0; background: transparent; z-index: 10; pointer-events: none; }
.coll-visual img { 
  width: 110px; /* Slightly smaller */
  background: #ffffff; /* White frame */
  padding: 6px; 
  border-radius: 18px; 
  box-shadow: 0 16px 35px rgba(72,43,128,.15); 
  transition: transform 0.3s ease, background 0.3s ease; 
  position: relative; 
  box-sizing: content-box; 
}

/* Make the images overlap each other so they fit inside the frame */
.coll-visual img + img { 
  margin-left: -2.5rem; 
}

/* Default overlapping positions (slight Z depth) */
.coll-visual img:nth-child(1) { transform: rotate(-10deg) translateY(5px) translateZ(20px); z-index: 1; }
.coll-visual img:nth-child(2) { transform: rotate(5deg) translateY(-8px) translateZ(40px); z-index: 3; width: 135px; /* Slightly larger center image */ }
.coll-visual img:nth-child(3) { transform: rotate(9deg) translateY(5px) translateZ(20px); z-index: 2; }

/* On hover, make the bears pop out even further towards the screen */
.coll-card:hover .coll-visual img:nth-child(1) { transform: rotate(-10deg) translateY(5px) translateZ(50px) scale(1.05); }
.coll-card:hover .coll-visual img:nth-child(2) { transform: rotate(5deg) translateY(-8px) translateZ(70px) scale(1.1); }
.coll-card:hover .coll-visual img:nth-child(3) { transform: rotate(9deg) translateY(5px) translateZ(50px) scale(1.05); }

.coll-body { 
  padding: 1.5rem 1.6rem; 
  border-top: 1px solid #eee8f6; 
  transform: translateZ(20px); /* Text floats forward slightly */
  border-radius: 0 0 24px 24px; 
}
.coll-body h3 { font-family: 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 0.4rem; }
.coll-body p { color: #777187; font-size: 0.9rem; margin-bottom: 1.2rem; line-height: 1.5; }
.coll-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; }
.coll-price { font-family: 'Manrope', sans-serif; font-size: 1.25rem; font-weight: 800; color: #6d28d9; }
.coll-count { font-size: 0.75rem; text-transform: none; letter-spacing: 0; color: #8a8296; }
.coll-body .btn-solid { border-radius: 11px; width: 100%; text-align: center; }

.cd-hero { text-align: left; padding: 2.3rem; background: linear-gradient(135deg, #f6f0ff, #fff7fd); border: 1px solid #ebe3f6; border-radius: 28px; margin-top: 1.2rem; }
.cd-hero h1 { font-family: 'Manrope', sans-serif; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 0.5rem; }
.cd-hero p { margin: 0 0 1.4rem; color: #777187; }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; padding: 2rem 0 5rem; align-items: start; }
.pdp-media { background: linear-gradient(145deg, #f6f1ff, #fff); border: 1px solid #e7dff2; border-radius: 28px; padding: 2.5rem; box-shadow: var(--shadow-soft); overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: sticky; top: 96px; }
.pdp-media::after { content: ''; position: absolute; inset: 0; background: transparent; z-index: 10; pointer-events: none; }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.pdp-media:hover img { transform: scale(1.03); }
.pdp-eyebrow { font-size: .74rem; text-transform: none; letter-spacing: 0; color: #7c3aed; font-weight: 700; cursor: pointer; display: block; margin-bottom: .8rem; }
.pdp h1 { font-family: 'Manrope', sans-serif; font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.pdp-desc { color: #777187; font-weight: 400; margin-bottom: 1.6rem; }
.pdp-price { font-family: 'Manrope', sans-serif; font-size: 1.8rem; font-weight: 800; color: #6d28d9; display: block; margin-bottom: 1.8rem; }
.pdp-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.pdp-details { border-top: 1px solid #e8e1f3; padding-top: 1.2rem; }
.drow { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .88rem; border-bottom: 1px solid #eee8f6; color: #6f687a; }
.drow span:first-child { color: var(--muted); }
.drow span:last-child { font-weight: 600; }

.mood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 1.2rem; padding-bottom: 5rem; }
.mood-card { background: #fff; border: 1px solid #e8e1f3; border-radius: 22px; padding: 2rem; text-align: left; box-shadow: 0 5px 20px rgba(72,43,128,.04); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.mood-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(72,43,128,.10); border-color: #d8c9f2; }
.mood-card h3 { font-family: 'Manrope', sans-serif; font-size: 1.35rem; margin-bottom: .4rem; }
.mood-card p { color: #777187; margin-bottom: .8rem; }
.mood-count { font-size: .74rem; text-transform: none; letter-spacing: 0; color: #7c3aed; font-weight: 700; }
.about-body { max-width: 780px; margin: 0 auto; padding: 0 0 5rem; }
.about-body p { color: #777187; font-weight: 400; font-size: 1rem; margin-bottom: 1.2rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
.stat { background: #fff; border: 1px solid #e8e1f3; border-radius: 20px; padding: 1.5rem; text-align: center; box-shadow: 0 5px 20px rgba(72,43,128,.04); }
.stat b { font-family: 'Manrope', sans-serif; font-size: 2rem; color: #6d28d9; display: block; }
.stat span { font-size: .72rem; text-transform: none; letter-spacing: 0; color: #8a8296; }

footer { background: #171128; color: #fff; text-align: center; padding: 4rem max(28px, 6vw) 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.08); }
footer .logo { color: #fff; font-size: 1.6rem; }
footer .logo em { color: #c4b5fd; }
footer p { font-size: .74rem; opacity: .55; letter-spacing: 0; text-transform: none; margin-top: .6rem; }

.cart-overlay { position: fixed; inset: 0; background: rgba(22,15,39,.60); z-index: 200; opacity: 0; visibility: hidden; transition: .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -500px; width: 500px; max-width: 94vw; height: 100vh; background: #fbfaff; z-index: 201; transition: right .4s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(30,15,60,.16); }
.cart-drawer.active { right: 0; }
.cart-head { padding: 1.35rem 1.5rem; border-bottom: 1px solid #e9e2f4; background: rgba(255,255,255,.9); display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { font-family: 'Manrope', sans-serif; font-size: 1.35rem; }
.cart-head-actions { display: flex; gap: 1rem; align-items: center; }
.cart-clear { font-size: .76rem; text-decoration: none; color: #7c3aed; cursor: pointer; }
.cart-clear:hover { color: var(--accent); }
.cart-close { width: 38px; height: 38px; border-radius: 11px; background: #f2edfb; color: #5f576c; font-size: 1.35rem; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cart-close:hover { color: var(--accent); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.cart-empty { text-align: center; color: var(--muted); margin-top: 3rem; font-style: italic; }
.cart-item { display: flex; gap: 1rem; padding: .9rem; border: 1px solid #e8e1f3; border-radius: 16px; background: #fff; margin-bottom: 1rem; box-shadow: 0 5px 16px rgba(72,43,128,.04); }
.cart-item-img { width: 64px; height: 64px; border-radius: 12px; background: #f4effd; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.cart-item-img::after { content: ''; position: absolute; inset: 0; background: transparent; z-index: 10; pointer-events: none; }
.cart-item-img img { width: 82%; height: 82%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-family: 'DM Sans', sans-serif; font-size: .9rem; letter-spacing: -.01em; }
.cart-item-info p { font-size: .78rem; color: var(--muted); }
.qty-row { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.qty-btn { width: 28px; height: 28px; border: 1px solid #ded5ed; border-radius: 50%; background: #fff; font-weight: 700; cursor: pointer; }
.qty-btn:hover { background: #7c3aed; color: #fff; border-color: #7c3aed; }
.cart-item-remove { font-size: .7rem; color: var(--muted); text-decoration: underline; margin-left: auto; align-self: center; cursor: pointer; }
.cart-item-remove:hover { color: var(--accent); }
.cart-foot { padding: 1.25rem 1.5rem; border-top: 1px solid #e9e2f4; background: #fff; }
.cart-total { display: flex; justify-content: space-between; font-family: 'Manrope', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; }
.cart-min { background: #fff8e8; border: 1px solid #f2d99a; color: #87652a; padding: .7rem; font-size: .82rem; text-align: center; margin-bottom: 1rem; border-radius: 10px; }
.checkout-btn { width: 100%; border-radius: 12px; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; padding: 1rem; text-transform: none; letter-spacing: 0; font-size: .8rem; font-weight: 700; transition: background .2s; box-shadow: 0 10px 25px rgba(124,58,237,.22); border: none; cursor: pointer; }
.checkout-btn:hover:not(:disabled) { background: #6d28d9; }
.checkout-btn:disabled { opacity: .5; cursor: not-allowed; }
.success-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(24,16,42,.60); display: none; align-items: center; justify-content: center; padding: 20px; }
.success-overlay.active { display: flex; }
.success-box { background: #fff; border: 1px solid #e7def4; border-radius: 24px; padding: 2.5rem; max-width: 440px; text-align: center; box-shadow: 0 25px 80px rgba(30,15,60,.2); }
.success-box h2 { font-family: 'Manrope', sans-serif; font-size: 1.9rem; margin-bottom: .6rem; }
.success-box p { color: #777187; margin-bottom: 2rem; }
.page { display: none; }
.page.active { display: block; }

@media(max-width: 900px) {
  /* FIXED: Mobile Navigation */
  .nav { flex-direction: column; padding: 12px 18px; }
  .nav-right { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .nav-link { display: inline-block; font-size: .75rem; padding: 4px 0; }
  
  .cart-btn { padding: .62rem .82rem; }
  .hero { min-height: auto; padding: 7.5rem 22px 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-copy { max-width: 650px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.5rem); }
  
  .hero-animation { height: 400px; max-width: 400px; }
  
  .rows { padding: 5rem 18px 1rem; }
  .rows-intro { display: block; margin-bottom: 2.3rem; }
  .row, .row-rev { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 4rem; padding: 0; }
  .row-rev .visual, .row-rev .rtext { order: initial; }
  .visual { min-height: 320px; }
  .rtext { padding: 0 4px; width: 100%; }
  .page-head { padding: 6.5rem 0 2rem; }
  .shop-tools { align-items: stretch; }
  .search-field { min-width: 100%; flex: 1; }
  .sort-select { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .card { border-radius: 16px; }
  .card-add { opacity: 1; }
  .mood-grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 2rem; }
  .pdp-media { position: static; }
  .about-stats { grid-template-columns: 1fr; }
  .visual img { max-height: 280px; }
  
  /* FIXED: Disable 3D tilt on mobile to prevent flickering */
  .coll-card { transform: none !important; }
  .coll-visual, .coll-card { transform-style: flat; }
  .coll-visual img:nth-child(1), 
  .coll-visual img:nth-child(2), 
  .coll-visual img:nth-child(3) { transform: none !important; width: 100px !important; margin-left: -2rem; }
  .coll-visual img:nth-child(2) { width: 120px !important; }
  .coll-body { transform: none; }
}
@media(max-width: 520px) {
  .wrap { padding-inline: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta button { width: 100%; text-align: center; }
  .hero-animation { height: 320px; max-width: 320px; }
  
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: .8rem; }
  .card-body h4 { font-size: .86rem; }
  .card-coll { font-size: .62rem; }
  .card-price { font-size: .84rem; }
  .mood-grid { grid-template-columns: 1fr; }
  .cd-hero { border-radius: 20px; padding: 1.5rem; }
  .cart-drawer { width: 100%; max-width: 100%; }
}