:root {
  --bg: #0c0b0a;
  --bg-soft: #141210;
  --gold: #c7a86a;
  --gold-soft: #e3c98f;
  --cream: #f6f1e7;
  --muted: #b7b1a8;
  --accent: #7f5f2a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1a1713, #0b0a09 60%);
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.product-container {
  width: min(1280px, 98%);
}

.topbar {
  background: #0a0908;
  border-bottom: 1px solid rgba(199, 168, 106, 0.15);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand {
  font-family: "Cinzel", "Times New Roman", serif;
  letter-spacing: 0.18em;
  font-size: 20px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(199, 168, 106, 0.35);
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold-soft);
  padding: 8px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  flex-direction: column;
  gap: 4px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 40;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--gold-soft);
  display: block;
  border-radius: 2px;
}

.nav-toggle .bar + .bar {
  margin-top: 4px;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(199, 168, 106, 0.25);
  color: var(--gold-soft);
}

.nav-link {
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

.hero {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(199, 168, 106, 0.2), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  color: #1d1406;
  box-shadow: 0 16px 40px rgba(199, 168, 106, 0.35);
}

.button-secondary {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(199, 168, 106, 0.12);
}

.button-secondary:hover {
  background: rgba(199, 168, 106, 0.2);
}

.button-secondary:focus-visible {
  outline: 2px solid rgba(199, 168, 106, 0.6);
  outline-offset: 2px;
}

.valentine-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 80px 16px 60px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 183, 197, 0.3), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255, 216, 169, 0.25), transparent 60%),
    radial-gradient(circle at 30% 80%, rgba(233, 120, 153, 0.28), transparent 50%),
    #0a0908;
}

.valentine-card {
  width: min(720px, 92%);
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(150deg, rgba(28, 18, 22, 0.97), rgba(12, 9, 10, 0.96));
  border: 1px solid rgba(199, 168, 106, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.valentine-card h1 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.valentine-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

.valentine-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  position: relative;
  min-height: 60px;
}

.valentine-no {
  position: relative;
}

.valentine-yes {
  background: linear-gradient(120deg, #e9b8c6, #f6d2a6);
  color: #1f120a;
  box-shadow: 0 16px 40px rgba(233, 184, 198, 0.35);
}

.valentine-message {
  display: none;
  margin-top: 24px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(233, 184, 198, 0.4);
  color: #f8e9ef;
  font-size: 18px;
}

.valentine-message.show {
  display: block;
  animation: popIn 0.6s ease both;
}

.valentine-message.flash-green {
  background: rgba(74, 201, 135, 0.18);
  border-color: rgba(74, 201, 135, 0.7);
  animation: popIn 0.6s ease both, greenFlash 1s ease;
}

.valentine-icons {
  font-size: 28px;
  letter-spacing: 6px;
  margin-bottom: 10px;
  animation: floatIcons 2.6s ease-in-out infinite;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatIcons {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes greenFlash {
  0% { box-shadow: 0 0 0 rgba(74, 201, 135, 0.0); }
  50% { box-shadow: 0 0 22px rgba(74, 201, 135, 0.6); }
  100% { box-shadow: 0 0 0 rgba(74, 201, 135, 0.0); }
}

.valentine-sparkles {
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(circle, rgba(255, 210, 224, 0.15) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 200, 170, 0.12) 0 2px, transparent 3px);
  background-size: 120px 120px, 90px 90px;
  pointer-events: none;
  animation: sparkleMove 12s linear infinite;
}

@keyframes sparkleMove {
  from { transform: translateY(0); }
  to { transform: translateY(-40px); }
}

@media (max-width: 600px) {
  .valentine-card {
    padding: 28px;
  }

  .valentine-actions {
    gap: 12px;
  }
}

.button:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: linear-gradient(140deg, #1e1a14, #0f0d0b);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(199, 168, 106, 0.2);
}

.hero-card h3 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 20px;
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 70px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-title h2 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(199, 168, 106, 0.35);
  color: var(--gold-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(199, 168, 106, 0.15);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 168, 106, 0.5);
}

.card .tag {
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.card-media {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  object-fit: cover;
  background: #0f0e0c;
  border: 1px solid rgba(199, 168, 106, 0.15);
  margin: 12px 0;
}

.price {
  font-size: 20px;
  color: var(--gold-soft);
  font-weight: 600;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(199, 168, 106, 0.2);
  background: linear-gradient(135deg, #1c1812, #0f0d0b);
}

.category-card h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.category-card p {
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(199, 168, 106, 0.15);
}

.feature h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
}

.cta {
  padding: 60px 0;
  background: linear-gradient(120deg, rgba(199, 168, 106, 0.15), transparent 60%);
}

.cta-box {
  background: #11100e;
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(199, 168, 106, 0.35);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  align-items: center;
}

.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(199, 168, 106, 0.15);
  color: var(--muted);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.footer a {
  color: var(--muted);
}

.form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.form label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}

.form input,
.form textarea,
.form select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(199, 168, 106, 0.2);
  background: #0f0e0c;
  color: var(--cream);
  font-family: inherit;
}

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

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.product-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: start;
}

.product-image {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.product-image img {
  width: 100%;
  border-radius: 12px;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery-main {
  border-radius: 14px;
  overflow: hidden;
  background: #0e0d0c;
  position: relative;
  border: 1px solid rgba(199, 168, 106, 0.2);
  box-shadow: var(--shadow);
}

.gallery-main img {
  width: 100%;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-main img.is-switch {
  opacity: 0;
  transform: translateX(-8px);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
}


.thumb {
  border: 1px solid rgba(199, 168, 106, 0.2);
  border-radius: 12px;
  padding: 6px;
  background: #0f0e0c;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumb img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.thumb.is-active {
  border-color: rgba(199, 168, 106, 0.7);
  transform: translateY(-2px);
}

.thumb-info {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(199, 168, 106, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  display: grid;
  gap: 6px;
}

.thumb-info-bottom {
  display: none;
}

@media (min-width: 980px) {
  .product-container {
    padding-left: 0;
  }

  .product-page {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
  }

  .gallery {
    grid-template-columns: 92px 1fr;
    align-items: stretch;
  }

  .thumbs {
    grid-template-columns: 1fr;
    order: -1;
    align-content: start;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(199, 168, 106, 0.15);
  }

  .thumb {
    background: #0c0b0a;
  }

  .thumb-info-bottom {
    display: grid;
  }
}

.product-info h1 {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

.product-info .price {
  font-size: 26px;
  margin: 12px 0 20px;
}

.options {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.options label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}

.options select,
.options input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(199, 168, 106, 0.2);
  background: #0f0e0c;
  color: var(--cream);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.options select:focus,
.options input:focus {
  border-color: rgba(199, 168, 106, 0.7);
  box-shadow: 0 0 0 3px rgba(199, 168, 106, 0.15);
}

.options select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-soft) 50%),
    linear-gradient(135deg, var(--gold-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.options select:hover {
  border-color: rgba(199, 168, 106, 0.5);
}

.pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(199, 168, 106, 0.25);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pill span {
  color: var(--gold-soft);
  font-weight: 600;
}

.product-details {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 18px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(199, 168, 106, 0.2);
  color: var(--muted);
  font-size: 14px;
}

.specs strong {
  color: var(--gold-soft);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.cart {
  display: grid;
  gap: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(199, 168, 106, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.cart-item.is-highlight {
  animation: cartPulse 0.4s ease 0s 5;
  border-color: rgba(74, 201, 135, 0.9);
  background: rgba(74, 201, 135, 0.18);
}

@keyframes cartPulse {
  0% {
    box-shadow: 0 0 0 rgba(74, 201, 135, 0.0);
  }
  50% {
    box-shadow: 0 0 18px rgba(74, 201, 135, 0.4);
  }
  100% {
    box-shadow: 0 0 0 rgba(74, 201, 135, 0.0);
  }
}

.cart-item img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(199, 168, 106, 0.2);
}

.cart-item a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.cart-item h4 {
  margin-bottom: 6px;
}

.cart-item p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.cart-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cart-summary {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(199, 168, 106, 0.25);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 8px;
}

.qty-input {
  width: 80px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(199, 168, 106, 0.2);
  background: #0f0e0c;
  color: var(--cream);
  font-family: inherit;
}

.timeline {
  display: grid;
  gap: 18px;
  border-left: 1px solid rgba(199, 168, 106, 0.3);
  padding-left: 18px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.fade-in {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, 90%);
  }

  .product-container {
    width: min(1240px, 92%);
  }

  .topbar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .nav {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(199, 168, 106, 0.2);
    background: rgba(255, 255, 255, 0.03);
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.25s ease;
  }

  .nav.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    max-height: 420px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
  }

  .brand {
    order: 2;
  }

  .nav-toggle {
    order: 1;
  }

  .hero {
    padding-top: 70px;
  }

  .cta-box {
    padding: 26px;
  }

  .thumbs.hide-mobile {
    display: none;
  }
}

@media (min-width: 761px) {
  .nav-toggle {
    display: none;
  }
}
