:root {
  --bg-dark: #1a251e;
  --bg-soft: #2c312d;
  --panel: rgba(255, 255, 255, 0.04);
  --pink: #d7b2aa;
  --pink-deep: #c2938d;
  --text: #f5e9e2;
  --muted: rgba(245, 233, 226, 0.7);
  --line: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
}

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 52%),
    linear-gradient(180deg, rgba(10,20,18,0.9) 0%, rgba(20,28,24,0.95) 100%),
    #1d2a25;
}

button,
a {
  font: inherit;
}

.site-overlay {
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.02) 1px,
      rgba(0,0,0,0.03) 1px,
      rgba(0,0,0,0.03) 3px
    );
  opacity: 0.55;
  pointer-events: none;
}

.store-header {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand-wrap {
  flex: 1;
}

.brand-logo {
  display: inline-block;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0.06em;
  font-weight: 300;
  color: rgba(242, 215, 206, 0.92);
}

.store-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.store-nav a,
.footer-links a {
  text-decoration: none;
  color: rgba(245, 233, 226, 0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(214, 170, 162, 0.9);
  color: #2b201e;
  font-weight: 700;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.store-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px 60px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 32px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  color: rgba(242, 215, 206, 0.94);
}

.subtext {
  max-width: 520px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(245, 233, 226, 0.78);
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.2s ease;
  border: 0;
  cursor: pointer;
}

.btn-rose {
  background: linear-gradient(135deg, rgba(214, 170, 162, 0.95), rgba(196, 146, 138, 0.9));
  color: #2a1c1a;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.btn-outline,
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.ribbon-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ribbon {
  position: absolute;
  left: 8%;
  top: 9%;
  width: 88%;
  height: 132px;
  border-radius: 100px 0 100px 0;
  background: linear-gradient(90deg, rgba(214, 170, 162, 0.9), rgba(182, 135, 126, 0.88), rgba(207, 179, 168, 0.82));
  box-shadow: inset 0 0 14px rgba(255,255,255,0.16), 0 12px 30px rgba(0,0,0,0.18);
  transform: rotate(-22deg) skew(-8deg);
  filter: saturate(0.8);
}

.ribbon::before {
  content: "";
  position: absolute;
  inset: 11px 18px 11px 18px;
  border-radius: 100px 0 100px 0;
  border: 1px solid rgba(255,255,255,0.12);
}

.showcase-card {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: end;
  width: min(100%, 380px);
  padding: 24px 22px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

.mini-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.showcase-card h2 {
  margin: 0 0 12px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 300;
  color: rgba(242, 215, 206, 0.95);
}

.showcase-card p {
  margin: 0;
  color: rgba(245, 233, 226, 0.78);
  line-height: 1.7;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.price-row strong {
  font-size: 1.7rem;
  color: #f9e4df;
}

.price-row span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-section,
.story-section,
.store-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 48px;
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: rgba(242, 215, 206, 0.94);
  font-weight: 300;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.product-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  margin-bottom: 14px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 300;
  color: rgba(242, 215, 206, 0.95);
}

.product-card p {
  margin: 0 0 16px;
  line-height: 1.7;
  color: rgba(245, 233, 226, 0.78);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-footer strong {
  font-size: 1.6rem;
  color: #f9e4df;
}

.product-footer button,
.remove-item,
.qty-row button {
  border: 0;
  border-radius: 999px;
  background: rgba(214, 170, 162, 0.9);
  color: #2b201e;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.remove-item {
  padding: 8px 10px;
  font-size: 0.72rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.about-grid article {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 20px;
}

.about-grid h3 {
  margin-top: 0;
  color: rgba(242, 215, 206, 0.95);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 300;
}

.about-grid p {
  margin: 0;
  color: rgba(245, 233, 226, 0.8);
  line-height: 1.7;
}

.store-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 60px;
}

.mini-brand {
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.empty-state,
.empty-cart {
  color: rgba(245, 233, 226, 0.8);
  font-size: 1rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: rgba(20, 28, 24, 0.98);
  border-left: 1px solid rgba(255,255,255,0.1);
  box-shadow: -18px 0 40px rgba(0,0,0,0.28);
  transform: translateX(110%);
  transition: transform 0.22s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header,
.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cart-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 300;
  color: rgba(242, 215, 206, 0.95);
}

.cart-header button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-info strong {
  font-size: 1.05rem;
  color: rgba(242, 215, 206, 0.95);
}

.cart-item-info span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-item-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.qty-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-row button {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1rem;
}

.total-row strong {
  font-size: 1.6rem;
  color: #f9e4df;
}

@media (max-width: 860px) {
  .store-header {
    flex-wrap: wrap;
  }

  .store-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .store-hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .showcase-card {
    justify-self: start;
  }

  .store-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .store-header {
    padding-top: 18px;
  }

  .store-nav {
    gap: 12px 18px;
  }

  .store-hero,
  .shop-section,
  .story-section,
  .store-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ribbon {
    left: -12%;
    width: 130%;
    top: 8%;
    height: 110px;
  }

  .cart-header,
  .cart-footer,
  .cart-items {
    padding-left: 16px;
    padding-right: 16px;
  }
}
