:root {
  --pixie-cream: #fff8f0;
  --pixie-parchment: #f5eadf;
  --pixie-blush: #e8b2ac;
  --pixie-blush-dark: #cf8f89;
  --pixie-sage: #748069;
  --pixie-sage-dark: #58634f;
  --pixie-olive: #667052;
  --pixie-gold: #b78a3e;
  --pixie-brown: #4b3528;
  --pixie-charcoal: #2d2724;
  --pixie-white: #ffffff;
  --pixie-shadow: rgba(75, 53, 40, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--pixie-brown);
  background: linear-gradient(180deg, var(--pixie-cream) 0%, #fffaf6 35%, var(--pixie-parchment) 100%);
  line-height: 1.55;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--pixie-charcoal);
  letter-spacing: 0.2px;
}

a,
button {
  transition: all 0.24s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--pixie-sage-dark);
  outline-offset: 2px;
}

.announcement-bar {
  background: linear-gradient(90deg, #e9b8b2, #efc5bf);
  color: var(--pixie-charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 0.38rem 0.5rem;
  border-bottom: 1px solid rgba(75, 53, 40, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 248, 240, 0.96);
  border-bottom: 1px solid rgba(75, 53, 40, 0.1);
  backdrop-filter: blur(8px);
}

.site-header.scrolled {
  box-shadow: 0 8px 22px rgba(75, 53, 40, 0.12);
}

.navbar {
  min-height: 82px;
}

.brand {
  text-decoration: none;
}

.brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.brand-text h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.7rem);
  line-height: 1;
  margin: 0;
  color: var(--pixie-brown);
}

.brand-text p {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--pixie-sage-dark);
  font-weight: 600;
}

.menu-toggle {
  border: 1px solid rgba(88, 99, 79, 0.25);
  background: var(--pixie-white);
}

.site-nav .nav-link {
  color: var(--pixie-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-size: 0.74rem;
  font-weight: 700;
  margin: 0 0.12rem;
  position: relative;
}

.site-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.25rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--pixie-gold), var(--pixie-sage));
  transition: transform 0.2s ease;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-build-link {
  background: rgba(232, 178, 172, 0.24);
  border: 1px solid rgba(207, 143, 137, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.82rem !important;
}

.nav-build-link::after {
  display: none;
}

.dropdown-menu {
  border: 1px solid rgba(75, 53, 40, 0.14);
  border-radius: 12px;
  box-shadow: 0 12px 20px rgba(75, 53, 40, 0.1);
}

.dropdown-item {
  font-size: 0.85rem;
  color: var(--pixie-charcoal);
}

.dropdown-item:hover {
  background: var(--pixie-parchment);
  color: var(--pixie-brown);
}

.header-actions {
  gap: 0.5rem;
}

.icon-btn,
.account-btn,
.cart-btn {
  border-radius: 999px;
  border: 1px solid rgba(75, 53, 40, 0.18);
  background: var(--pixie-white);
  color: var(--pixie-charcoal);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.account-btn {
  background: #fff7f6;
}

.cart-btn {
  background: #fffdf9;
}

.icon-btn .material-symbols-outlined,
.account-btn .material-symbols-outlined,
.cart-btn .material-symbols-outlined {
  font-size: 1.1rem;
}

.hero {
  margin-top: 1.05rem;
  margin-bottom: 1.6rem;
}

.hero-banner-wrap {
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px var(--pixie-shadow);
  border: 1px solid rgba(75, 53, 40, 0.14);
}

.hero-banner-img {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  display: block;
}

.hero-actions {
  margin-top: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-pixie-primary,
.btn-pixie-secondary {
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 0.6rem 1.25rem;
  font-size: 0.92rem;
}

.btn-pixie-primary {
  background: var(--pixie-blush);
  border-color: var(--pixie-blush-dark);
  color: var(--pixie-charcoal);
}

.btn-pixie-primary:hover {
  background: var(--pixie-blush-dark);
  color: var(--pixie-white);
}

.btn-pixie-secondary {
  background: var(--pixie-sage);
  border-color: var(--pixie-sage-dark);
  color: var(--pixie-white);
}

.btn-pixie-secondary:hover {
  background: var(--pixie-sage-dark);
  color: var(--pixie-white);
}

.section-gradient-one {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.3) 0%, rgba(245, 234, 223, 0.58) 100%);
  padding: 2.2rem 0;
}

.section-gradient-two {
  background: linear-gradient(180deg, rgba(245, 234, 223, 0.42) 0%, rgba(255, 248, 240, 0.8) 100%);
  padding: 2.2rem 0;
}

.section-gradient-three {
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.85) 0%, rgba(245, 234, 223, 0.55) 100%);
  padding: 2.5rem 0;
}

.section-title-wrap {
  margin-bottom: 1.45rem;
}

.decorative-overline {
  font-size: 0.9rem;
  color: var(--pixie-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: clamp(2rem, 2.9vw, 2.8rem);
  margin-bottom: 0;
}

.collection-card {
  background: linear-gradient(180deg, var(--pixie-cream), var(--pixie-white));
  border: 1px solid rgba(75, 53, 40, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(75, 53, 40, 0.08);
  height: 100%;
  transform: translateY(0);
}

.collection-card:hover {
  transform: translateY(-5px);
  border-color: var(--pixie-gold);
  box-shadow: 0 14px 28px rgba(75, 53, 40, 0.14);
}

.collection-image-link {
  display: block;
}

.collection-card img,
.collection-image-placeholder {
  width: 100%;
  height: 190px;
  border-bottom: 1px solid rgba(75, 53, 40, 0.1);
}

.collection-card img {
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-card:hover img {
  transform: scale(1.04);
}

.collection-image-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f7efe7, #f4e5da);
  color: var(--pixie-sage-dark);
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 1rem;
}

.collection-body {
  padding: 0.95rem 1rem 1.1rem;
}

.collection-body h3 {
  color: var(--pixie-sage-dark);
  margin-bottom: 0.35rem;
  font-size: 1.5rem;
}

.collection-body p {
  margin: 0;
  color: #6d5649;
  font-size: 0.9rem;
}

.featured-card {
  background: var(--pixie-white);
  border: 1px solid rgba(75, 53, 40, 0.12);
  border-radius: 16px;
  padding: 0.7rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 18px rgba(75, 53, 40, 0.07);
}

.featured-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.featured-image-wrap img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.featured-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}

.featured-card .price {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  margin: 0;
  color: var(--pixie-sage-dark);
}

.builder-intro h2 {
  font-size: clamp(2rem, 2.6vw, 2.7rem);
}

.builder-intro p {
  margin: 0 auto;
  max-width: 720px;
  color: #6a5448;
}

.builder-shell {
  margin-top: 1.35rem;
  background: linear-gradient(180deg, #fffaf4, #f8ece2);
  border: 1px solid rgba(207, 143, 137, 0.46);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 16px 34px rgba(75, 53, 40, 0.12);
}

.cb-progress-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.cb-progress-step {
  text-align: center;
  color: #9f8d80;
  font-size: 0.78rem;
  font-weight: 700;
}

.cb-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  margin: 0 auto 0.28rem;
  border: 1px solid #ccb7aa;
  background: #f4ebe4;
  color: #7e6557;
  display: grid;
  place-items: center;
}

.cb-progress-step.cb-progress-active .cb-step-dot {
  background: var(--pixie-blush);
  color: var(--pixie-charcoal);
  border-color: var(--pixie-blush-dark);
}

.cb-progress-step.cb-progress-active {
  color: var(--pixie-brown);
}

.cb-progress-step.cb-progress-done .cb-step-dot {
  background: var(--pixie-sage);
  color: var(--pixie-white);
  border-color: var(--pixie-sage-dark);
}

.cb-progress-step.cb-progress-done .cb-step-dot::before {
  content: '✓';
}

[data-cb-step] h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  margin-bottom: 0.8rem;
  color: var(--pixie-charcoal);
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.options button {
  border: 1px solid rgba(88, 99, 79, 0.45);
  background: #fff9f3;
  color: var(--pixie-brown);
  border-radius: 14px;
  min-width: 132px;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  box-shadow: 0 6px 12px rgba(75, 53, 40, 0.08);
}

.options button:hover {
  transform: translateY(-2px);
  background: #f5dfda;
  border-color: var(--pixie-blush-dark);
}

.options button.cb-selected,
.options button[data-cb-selected="true"] {
  background: var(--pixie-sage);
  color: var(--pixie-white);
  border-color: var(--pixie-sage-dark);
  box-shadow: 0 0 0 2px rgba(183, 138, 62, 0.5), 0 10px 18px rgba(75, 53, 40, 0.16);
}

button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Container scroller (left-to-right) ── */
.cb-container-scroller {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.6rem 0.3rem 1rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--pixie-blush) var(--pixie-parchment);
}

.cb-container-scroller::-webkit-scrollbar {
  height: 8px;
}

.cb-container-scroller::-webkit-scrollbar-track {
  background: var(--pixie-parchment);
  border-radius: 999px;
}

.cb-container-scroller::-webkit-scrollbar-thumb {
  background: var(--pixie-blush);
  border-radius: 999px;
}

.cb-container-card {
  flex: 0 0 auto;
  min-width: 140px;
  max-width: 160px;
  border: 1px solid rgba(88, 99, 79, 0.35);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf4, #f8ece2);
  padding: 0.7rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  box-shadow: 0 6px 12px rgba(75, 53, 40, 0.08);
}

.cb-container-card:hover {
  transform: translateY(-3px);
  border-color: var(--pixie-blush-dark);
  box-shadow: 0 10px 20px rgba(75, 53, 40, 0.14);
}

.cb-container-card.cb-selected {
  border-color: var(--pixie-sage-dark);
  background: var(--pixie-sage);
  color: var(--pixie-white);
  box-shadow: 0 0 0 2px rgba(183, 138, 62, 0.5), 0 10px 18px rgba(75, 53, 40, 0.16);
}

.cb-container-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(75, 53, 40, 0.1);
}

.cb-container-img-placeholder {
  width: 100%;
  height: 90px;
  border-radius: 10px;
  background: var(--pixie-parchment);
  display: grid;
  place-items: center;
  border: 1px solid rgba(75, 53, 40, 0.1);
}

.cb-container-img-placeholder .material-symbols-outlined {
  font-size: 2rem;
  color: #c4b5a8;
}

.cb-container-name {
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

.cb-container-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pixie-sage-dark);
}

.cb-container-card.cb-selected .cb-container-price {
  color: var(--pixie-cream);
}

/* ── Color dot (dynamic from DB) ── */
[data-cb-group][data-cb-required="color"] button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cb-color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 39, 36, 0.25);
  flex: 0 0 auto;
}

/* ── Scent buttons ── */
[data-cb-group][data-cb-required="scent"] button {
  min-width: 170px;
  text-align: left;
  background: linear-gradient(180deg, #fffefb, #f7eee7);
  position: relative;
}

[data-cb-group][data-cb-required="scent"] button::after {
  content: '✿';
  float: right;
  color: var(--pixie-sage-dark);
  margin-left: 0.45rem;
}

/* Premium scent badge */
.cb-premium-scent {
  border-color: var(--pixie-gold) !important;
  background: linear-gradient(180deg, #fffaef, #f5e6c8) !important;
}

.cb-premium-badge {
  display: inline-block;
  background: var(--pixie-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

[data-cb-step] label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1rem 0 0.45rem;
  font-weight: 700;
  color: var(--pixie-brown);
}

input[type='number'] {
  width: 94px;
  border-radius: 10px;
  border: 1px solid rgba(88, 99, 79, 0.4);
  background: #fffdf9;
  padding: 0.38rem 0.55rem;
}

.panel {
  margin-top: 0.72rem;
  border: 1px solid rgba(88, 99, 79, 0.27);
  border-radius: 14px;
  background: #f7eee2;
  padding: 0.72rem 0.85rem;
}

.cb-back-btn,
.cb-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  border-radius: 999px;
  min-height: 44px;
  border: 1px solid transparent;
  padding: 0.58rem 1.2rem;
  font-weight: 700;
}

.cb-back-btn {
  background: #f3eee9;
  border-color: #d4c2b4;
  color: var(--pixie-brown);
}

.cb-back-btn:hover {
  background: #ece2da;
  border-color: #c6ad9a;
}

.cb-add-btn {
  background: var(--pixie-blush);
  border-color: var(--pixie-blush-dark);
  color: var(--pixie-charcoal);
  box-shadow: 0 6px 16px rgba(183, 138, 62, 0.25);
  margin-left: 0.4rem;
}

.cb-add-btn:hover {
  background: var(--pixie-blush-dark);
  color: var(--pixie-white);
}

.hidden {
  display: none !important;
}

.about-section {
  padding: 2.1rem 0;
}

.about-strip {
  background: linear-gradient(145deg, rgba(116, 128, 105, 0.92), rgba(88, 99, 79, 0.92));
  border-radius: 22px;
  padding: 2rem 1.3rem;
  color: #f7f2eb;
  text-align: center;
  box-shadow: 0 14px 26px rgba(75, 53, 40, 0.16);
}

.about-strip h2 {
  color: #fff8f0;
  margin-bottom: 0.45rem;
  font-size: clamp(1.9rem, 2.5vw, 2.5rem);
}

.about-strip p {
  margin: 0 auto;
  max-width: 760px;
  color: #f4e8d9;
}

.about-strip .decorative-overline {
  color: #f9deb0;
}

.value-strip {
  background: linear-gradient(90deg, var(--pixie-sage-dark), var(--pixie-olive));
  padding: 0.95rem 0;
  margin-top: 0.6rem;
}

.value-item {
  border: 1px solid rgba(255, 248, 240, 0.26);
  border-radius: 14px;
  padding: 0.7rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: var(--pixie-cream);
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 58px;
  text-align: center;
}

.value-item .material-symbols-outlined {
  font-size: 1.25rem;
  color: #f8dfae;
}

.site-footer {
  background: #efe2d4;
  border-top: 1px solid rgba(75, 53, 40, 0.12);
  color: var(--pixie-brown);
}

.footer-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.site-footer h3 {
  margin-bottom: 0.15rem;
}

.site-footer h4 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #5f493d;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.footer-links a:hover {
  color: var(--pixie-sage-dark);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(75, 53, 40, 0.12);
  font-size: 0.88rem;
}

[data-local-cart-note='true'] {
  margin-top: 0.8rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(88, 99, 79, 0.3) !important;
  background: #fff8f2 !important;
}

/* ── Pre-Built Products Section ── */
.products-section { padding: 2.5rem 0; }

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.8rem;
}

.category-pill {
  border: 1px solid rgba(75, 53, 40, 0.18);
  background: var(--pixie-white);
  color: var(--pixie-brown);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}

.category-pill:hover {
  background: var(--pixie-parchment);
  border-color: var(--pixie-blush-dark);
}

.category-pill.active {
  background: var(--pixie-sage);
  color: var(--pixie-white);
  border-color: var(--pixie-sage-dark);
}

.product-card {
  background: var(--pixie-white);
  border: 1px solid rgba(75, 53, 40, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(75, 53, 40, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(75, 53, 40, 0.14);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(75, 53, 40, 0.08);
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .3s ease;
}

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

.product-badge {
  position: absolute;
  top: .5rem;
  left: .5rem;
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.badge-limited     { background: #b78a3e; }
.badge-seasonal    { background: #c97b3c; }
.badge-bestseller  { background: #748069; }
.badge-sale        { background: #c62828; }

.product-sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #7a2e2e;
  font-family: 'Cormorant Garamond', serif;
}

.product-body {
  padding: .9rem 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  font-size: 1.35rem;
  margin-bottom: .15rem;
}

.product-sku {
  font-size: .75rem;
  color: #9f8d80;
  margin: 0 0 .3rem;
}

.product-desc {
  font-size: .85rem;
  color: #6d5649;
  margin: 0 0 .6rem;
  flex: 1;
}

.product-config {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .6rem;
}

.config-tag {
  display: inline-block;
  background: var(--pixie-parchment);
  border: 1px solid rgba(75, 53, 40, 0.1);
  border-radius: 6px;
  padding: .15rem .45rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--pixie-sage-dark);
}

.config-tag-missing {
  background: #ffebee;
  border-color: #ffcdd2;
  color: #c62828;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .7rem;
  flex-wrap: wrap;
}

.product-price {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pixie-sage-dark);
}

.product-price-original {
  font-size: .9rem;
  text-decoration: line-through;
  color: #bbb;
}

.product-price-sale {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c62828;
}

.product-low-stock {
  font-size: .75rem;
  font-weight: 700;
  color: #c62828;
  background: #ffebee;
  padding: .1rem .5rem;
  border-radius: 999px;
}

.product-add-btn {
  width: 100%;
  justify-content: center;
}

.product-sold-out { opacity: .85; }

/* ── Visual Gallery Section ── */
.gallery-section { padding: 2.5rem 0; }

.gallery-card {
  background: var(--pixie-white);
  border: 1px solid rgba(75, 53, 40, 0.12);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 8px 20px rgba(75, 53, 40, 0.08);
  height: 100%;
}

.gallery-card h3 {
  font-size: 1.3rem;
  margin-bottom: .8rem;
  color: var(--pixie-sage-dark);
  text-align: center;
}

.gallery-scroll {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: .3rem;
  scrollbar-width: thin;
  scrollbar-color: var(--pixie-blush) var(--pixie-parchment);
}

.gallery-scroll::-webkit-scrollbar { width: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: var(--pixie-parchment); border-radius: 999px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--pixie-blush); border-radius: 999px; }

.gallery-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .6rem;
  border: 1px solid rgba(75, 53, 40, 0.08);
  border-radius: 12px;
  background: var(--pixie-cream);
  transition: background .2s ease;
}

.gallery-item:hover { background: var(--pixie-parchment); }

.gallery-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(75, 53, 40, 0.1);
  flex: 0 0 auto;
}

.gallery-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--pixie-parchment);
  display: grid;
  place-items: center;
  border: 1px solid rgba(75, 53, 40, 0.1);
  flex: 0 0 auto;
}

.gallery-thumb-placeholder .material-symbols-outlined { font-size: 1.3rem; color: #c4b5a8; }

.gallery-scent-icon { font-size: 1.3rem; color: var(--pixie-sage-dark); flex: 0 0 auto; }

.gallery-color-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(75, 53, 40, 0.15);
  flex: 0 0 auto;
}

.gallery-item-name { font-weight: 700; font-size: .88rem; color: var(--pixie-brown); }
.gallery-item-price { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--pixie-sage-dark); }

/* ── Cart Drawer ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--pixie-white);
  box-shadow: -8px 0 30px rgba(75, 53, 40, 0.2);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease, visibility 0s ease 0.3s;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer-open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
  transition: right 0.3s ease, visibility 0s;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 39, 36, 0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay-visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--pw-border);
  background: var(--pixie-cream);
}

.cart-drawer-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin: 0;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--pixie-brown);
  padding: .3rem .6rem;
  border-radius: 8px;
  line-height: 1;
}

.cart-drawer-close:hover { background: var(--pixie-parchment); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.2rem;
}

.cart-empty {
  text-align: center;
  color: #9f8d80;
  padding: 2rem;
  font-size: .95rem;
}

.cart-item {
  display: flex;
  gap: .8rem;
  padding: .8rem 0;
  border-bottom: 1px solid rgba(75, 53, 40, 0.08);
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--pixie-brown);
  margin-bottom: .2rem;
}

.cart-item-desc {
  font-size: .78rem;
  color: #9f8d80;
  margin-bottom: .4rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--pw-border);
  border-radius: 6px;
  background: var(--pixie-white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--pixie-brown);
  display: grid;
  place-items: center;
  line-height: 1;
}

.qty-btn:hover { background: var(--pixie-parchment); }

.qty-display {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: .88rem;
}

.cart-item-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--pixie-sage-dark);
  font-size: .9rem;
}

.remove-btn {
  background: none;
  border: none;
  color: #c62828;
  font-size: .78rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.remove-btn:hover { color: #d32f2f; }

.cart-drawer-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--pw-border);
  background: var(--pixie-cream);
}

.cart-drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-drawer-total-row span:last-child {
  color: var(--pixie-sage-dark);
  font-size: 1.3rem;
}

.cart-checkout-btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: .8rem 1.5rem;
}

@media (max-width: 480px) {
  .cart-drawer { width: 100%; right: -100%; }
}

@media (max-width: 1199px) {
  .site-nav .nav-link {
    font-size: 0.7rem;
  }

  .brand-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .brand-logo {
    width: 66px;
    height: 66px;
  }

  .brand-text h1 {
    font-size: 1.7rem;
  }

  .brand-text p {
    display: none;
  }

  .site-nav {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
  }

  .site-nav .nav-link {
    padding: 0.5rem 0.4rem;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .hero-banner-img {
    max-height: 360px;
  }

  .cb-progress-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.7rem;
  }
}

@media (max-width: 767px) {
  .announcement-bar {
    font-size: 0.64rem;
    letter-spacing: 1.2px;
  }

  .hero {
    margin-top: 0.75rem;
  }

  .hero-banner-wrap {
    border-radius: 0 0 16px 16px;
  }

  .hero-banner-img {
    max-height: 270px;
  }

  .btn-pixie-primary,
  .btn-pixie-secondary,
  .account-btn,
  .cart-btn {
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    width: 100%;
  }

  .builder-shell {
    padding: 1rem;
  }

  .options button {
    min-width: calc(50% - 0.4rem);
  }

  .cb-back-btn,
  .cb-add-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .value-item {
    min-height: 52px;
    font-size: 0.82rem;
  }
}

@media (max-width: 479px) {
  .options button {
    min-width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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