/* =========================================================
   RBC THEME (Option C) — Deep Red + Charcoal (Romantic / Bold)
   Drop-in replacement: paste this whole file over your CSS.
   ========================================================= */

/* ---------- Theme Variables ---------- */
:root{
  /* core */
  --bg: #120408;                 /* deep wine */
  --surface: #1B0A10;            /* wine-charcoal */
  --surface-2: #231018;          /* slightly lighter */
  --text: #FFF5F7;               /* soft white-pink */
  --muted: rgba(255,245,247,.72);
  --muted-2: rgba(255,245,247,.55);

  /* accents */
  --accent: #FF2A55;             /* hot rose */
  --accent-2: #FF4A70;           /* hover */
  --accent-soft: rgba(255,42,85,.18);

  /* borders/shadows */
  --border: rgba(255,245,247,.12);
  --border-2: rgba(255,245,247,.08);
  --shadow: 0 14px 34px rgba(0,0,0,.45);
  --shadow-soft: 0 8px 22px rgba(0,0,0,.35);

  --radius: 12px;
  --radius-sm: 10px;

  --focus: 0 0 0 3px rgba(255,42,85,.28);
}

/* ---------- Base & Fonts ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body{
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

/* ---------- Header / Nav (UPDATED minimalist) ---------- */
header nav.nav{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  /* ✅ symmetric */
  padding: 18px 18px;

  background: rgba(18,4,8,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo{ justify-self: start; }
.nav-links{ justify-self: center; }
.nav-actions{ justify-self: end; }
/* Logo */
.nav-logo a{
  display: inline-flex;
  align-items: center;
}
.nav-actions{ padding-right: 6px; }

.logo-img{
  height: 65px;          /* adjust if needed */
  width: auto;
  display: block;
  object-fit: contain;
}


/* Center links (Shop) */
.nav-links{
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link{
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s ease, transform .25s ease;
}

.nav-link:hover{
  color: var(--text);
  transform: translateY(-1px);
}

/* Right actions (Cart) */
.nav-actions{
  display: flex;
  align-items: center;
}

.nav-cart{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text);
}

.nav-cart img{
  width: 22px;
  height: 22px;
  display: block;
  opacity: .9;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-cart:hover img{
  transform: translateY(-1px);
  opacity: 1;
}

.cart-badge{
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 600;
  line-height: 1;

  background: var(--accent);
  color: #120408;
  border: 1px solid rgba(255,255,255,.08);
}

/* ---------- Responsive ---------- */
/* Mobile layout: logo (left) | shop (center) | cart (right) */
@media (max-width: 768px){
  header nav.nav{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
  }

  .nav-logo{
    justify-self: start;
  }

  .nav-links{
    justify-self: center;
  }

  .nav-actions{
    justify-self: end;
  }
}

/* ---------- Hero Section ---------- */
.hero{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 64px 64px;
  position: relative;
}

.hero-text{ max-width: 40%; }

.hero-text h1{
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 32px;
}

.text-block{
  display: flex;
  align-items: flex-start;
}

.small-image{
  width: 200px;
  border-radius: var(--radius-sm);
  margin-right: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

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

/* ---------- Buttons (global) ---------- */
.btn{
  display: inline-block;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;

  border-radius: 10px;
  border: 1px solid rgba(255,42,85,.55);
  color: var(--text);

  /* romantic “rose glow” */
  background: linear-gradient(180deg, rgba(255,42,85,.18), rgba(27,10,16,.85));
  box-shadow: 0 14px 26px rgba(0,0,0,.38);

  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.btn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,74,112,.75);
  background: linear-gradient(180deg, rgba(255,42,85,.28), rgba(27,10,16,.78));
  box-shadow: 0 18px 34px rgba(0,0,0,.48);
}

.btn:focus-visible{ outline: none; box-shadow: var(--focus); }

/* ---------- Hero Image & Controls (FIXED STAGE) ---------- */
.hero-image{
  position: relative;
  width: 420px;                 /* ✅ controls overall size */
  margin: 0 auto;
}

.hero-image img{
  width: 100%;                  /* ✅ image fits stage */
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  filter: saturate(1.05) contrast(1.02);
}

/* arrows sit INSIDE the stage */
.arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 37px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
}

.arrow img{
  width: 16px;
  height: 16px;
  opacity: .95;
}

/* ✅ no negative offsets */
.arrow.prev{ left: 10px; }
.arrow.next{ right: 10px; }

@media (max-width: 1024px){
  .hero-image{ width: 360px; }
}

@media (max-width: 768px){
  .hero-image{ width: min(92vw, 380px); }
}

/* ---------- Slider Info & Dots ---------- */
.slider-info{
  position: absolute;
  bottom: 80px;
  right: 80px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--muted);

  background: rgba(27,10,16,.55);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.divider{
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 0 12px;
}

.dots{
  position: absolute;
  bottom: 48px;
  right: 80px;
  display: flex;
  gap: 8px;
}

.dot{
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255,245,247,.25);
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(255,245,247,.12);
  appearance: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.dot:hover{
  transform: scale(1.15);
  border-color: rgba(255,42,85,.45);
}

.dot:focus-visible{
  outline: none;
  box-shadow: var(--focus);
}

.dot.active{
  background: var(--accent);
  border-color: rgba(255,42,85,.75);
}

/* ---------- Product Gallery ---------- */
.product-gallery{
  padding: 64px;
  text-align: center;
}

/* ---------- Reveal Motion ---------- */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
  will-change: opacity, transform;
}

.reveal.reveal-visible{
  opacity: 1;
  transform: translateY(0);
}

.reveal-item{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-visible .reveal-item{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-item{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.gallery-title{
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--text);
}

.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.product-card{
  background: linear-gradient(180deg, rgba(35,16,24,.92), rgba(27,10,16,.92));
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.product-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255,42,85,.35);
}

.product-card img{
  width: 100%;
  display: block;
}

.card-body{
  padding: 24px;
  text-align: left;
}

.card-body h3{
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.card-body .price{
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 16px;
}

.card-body .btn{
  font-size: 13px;
  padding: 10px 18px;
}

/* Adjust padding on smaller screens */
@media (max-width: 768px){
  .product-gallery{ padding: 48px 24px; }
}

/* ---------- Image Hero Section ---------- */
.image-hero{
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 64px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-img{
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,4,8,.18), rgba(18,4,8,.78));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.hero-text{
  text-align: center;
  color: var(--text);
  max-width: 600px;
}

.hero-text h2{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-text p{
  font-size: 16px;
  margin-bottom: 24px;
  color: rgba(255,245,247,.86);
}

.image-hero .btn{
  padding: 14px 28px;
  font-size: 14px;
  border: 1px solid rgba(255,42,85,.70);
  background: rgba(255,42,85,.12);
}

.image-hero .btn:hover{
  background: rgba(255,42,85,.22);
  border-color: rgba(255,74,112,.85);
}


/* ---------- Banner-Pair Section ---------- */

/* ===== CONTAIN + SIZE DOWN the 2-banner section ===== */
.banner-pair{
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 18px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.banner-card{
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: clamp(240px, 32vw, 340px); /* smaller + responsive */
  box-shadow: var(--shadow-soft);
}

.banner-card > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-overlay{
  position: absolute;
  inset: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
}

.banner-overlay h3{
  margin: 0;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.05;
}

.banner-overlay p{
  margin: 0;
  font-size: 13px;
  opacity: .9;
  max-width: 38ch;
}

.banner-overlay .btn{
  width: 100%;
  max-width: 260px;
}

/* mobile: stack + still contained */
@media (max-width: 820px){
  .banner-pair{
    grid-template-columns: 1fr;
    padding: 18px 14px 36px;
  }
  .banner-card{
    height: 260px;
  }
}

/* DESKTOP ONLY */
@media (min-width: 900px) {
  .banner-pair{
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 18px 44px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;

    justify-content: center;
  }
}

.banner-card{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.banner-card img{
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  filter: saturate(1.05) contrast(1.03);
}

.banner-card:hover img{ transform: scale(1.05); }

.banner-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,4,8,.10), rgba(18,4,8,.80));
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background .3s ease;
}

.banner-overlay h3{
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 8px;
}

.banner-overlay p{
  font-size: 14px;
  margin-bottom: 16px;
  color: rgba(255,245,247,.86);
}

.banner-overlay .btn{
  padding: 10px 20px;
  font-size: 13px;
  border: 1px solid rgba(255,245,247,.22);
  background: rgba(27,10,16,.55);
}

.banner-overlay .btn:hover{
  border-color: rgba(255,42,85,.75);
  background: rgba(255,42,85,.16);
}

/* ---------- FOOTER (RBC tailored) ---------- */
.site-footer{
  background: rgba(18,4,8,.92);
  color: var(--muted);
  padding-top: 64px;
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.footer-container{
  display: grid;
  grid-template-columns: 1.15fr 1.6fr 0.95fr;
  gap: 32px;
  margin: 0 64px;
  align-items: start;
}

.footer-about h4,
.footer-links h5,
.footer-contact h5{
  font-family: 'Playfair Display', serif;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-about p{
  max-width: 420px;
  color: var(--muted);
}

.footer-links{
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 24px;
}

.footer-col ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li{ margin-bottom: 10px; }

.footer-col a{
  color: var(--muted);
  transition: color .2s ease, transform .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-col a:hover{
  color: var(--text);
  transform: translateY(-1px);
}

/* Instagram icon link */
.ig-link{
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,245,247,.10);
  background: rgba(255,255,255,.04);
}

.ig-icon{
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: none; /* keep if your icon is already white */
}

/* If your instagram icon is black/dark, uncomment this to invert it: */
/* .ig-icon{ filter: invert(1); opacity: .95; } */

.footer-contact .footer-location{
  margin-bottom: 10px;
}

.footer-contact .footer-email a{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-cta{ margin-top: 14px; }

/* reuse your .btn styles, but slightly tighter */
.footer-btn{
  font-size: 13px;
  padding: 10px 16px;
}

/* Bottom bar */
.footer-bottom{
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 22px 0;
  margin-top: 48px;
  color: var(--muted-2);
}

.footer-bottom a{
  color: var(--muted);
  transition: color .2s ease;
}

.footer-bottom a:hover{ color: var(--text); }

.footer-sep{
  margin: 0 10px;
  opacity: .55;
}

/* Responsive */
@media (max-width: 1024px){
  .footer-container{
    grid-template-columns: 1fr;
    margin: 0 32px;
  }
  .footer-links{
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 768px){
  .site-footer{ padding-top: 48px; }
  .footer-container{ margin: 0 24px; gap: 24px; }
  .footer-links{ grid-template-columns: 1fr; }
}

/* ---------- Responsive tweaks (your existing, themed) ---------- */

/* Tablets and small desktops */
@media (max-width: 1024px){
  header nav{ padding: 16px 32px; }
  .nav-left a{ margin-left: 16px; font-size: 13px; }
  .nav-right button{ margin-left: 16px; }
  .hero{ padding: 0 32px 48px; }
  .hero-text h1{ font-size: 40px; }
  .small-image{ width: 180px; margin-right: 32px; }
  .hero-image img{ width: 420px; }
}

/* Portrait tablets and large phones */
@media (max-width: 768px){
  /* stack nav into two rows */

  /* stack hero content */
  .hero{
    flex-direction: column;
    padding: 0 24px 32px;
  }
  .hero-text{
    max-width: 100%;
    text-align: center;
  }
  .hero-text h1{
    font-size: 32px;
    margin-bottom: 24px;
  }
  .text-block{
    flex-direction: column;
    align-items: center;
  }
  .small-image{
    width: 100%;
    max-width: 260px;
    margin: 0 0 24px;
  }
  .copy p{ margin-bottom: 20px; }
  .btn{
    font-size: 13px;
    padding: 10px 20px;
  }

  .hero-image{
    margin-top: 32px;
    width: 100%;
    text-align: center;
  }
  .hero-image img{
    width: 100%;
    max-width: 360px;
  }
  .arrow.next{ right: 29px; }

  /* reposition slider info & dots */
  .slider-info{
    bottom: 64px;
    right: 24px;
    font-size: 13px;
  }
  .dots{
    bottom: 32px;
    right: 24px;
  }

  /* image hero */
  .hero-img{ height: 240px; }
  .hero-text h2{ font-size: 28px; }
  .hero-text p{ font-size: 14px; }
  .image-hero .btn{ padding: 12px 24px; font-size: 13px; }

  /* banner pair spacing */
  .banner-pair{
    margin: 48px 24px 0;
    gap: 24px;
  }

  /* footer spacing */
  .site-footer{ padding-top: 48px; }
  .footer-container{
    margin: 0 24px;
    gap: 24px;
  }
}

/* ---------- CONFIRMATION PAGE ---------- */
.confirm-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.confirm-card {
  max-width: 600px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: fadeIn 0.6s ease-out;
}

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

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
  font-size: 40px;
  border: 2px solid var(--accent);
}

.confirm-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--text);
}

.confirm-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.order-summary {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
  border: 1px solid var(--border-2);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 14px;
}

.sum-row:last-child { border-bottom: none; }
.sum-row span { color: var(--muted); }
.sum-row strong { color: var(--text); font-weight: 500; }

.next-steps {
  text-align: left;
  margin-bottom: 32px;
}

.next-steps h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
}

.next-steps ul {
  list-style: none;
  padding: 0;
}

.next-steps li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
}

.next-steps li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.confirm-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .confirm-card { padding: 32px 20px; }
  .confirm-card h1 { font-size: 28px; }
  .confirm-actions .btn { width: 100%; }
}


/* ---------- CART PAGE ---------- */
.cart-page{ padding: 64px; }
.cart-wrap{
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: start;
}
.cart-title{
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 6px;
  color: var(--text);
}
.cart-sub{ color: var(--muted); margin-bottom: 18px; }

.cart-empty{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,.03);
}

.cart-list{ display:flex; flex-direction:column; gap: 14px; }

.cart-item{
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,.03);
}

.cart-img{
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-2);
}

.cart-name{ font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cart-price{ color: var(--muted); font-size: 13px; margin-bottom: 10px; }

.cart-controls{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.qty-btn{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
}

.qty-input{
  width: 64px;
  height: 36px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
}

.remove-btn{
  border: 1px solid rgba(255,42,85,.35);
  background: rgba(255,42,85,.06);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.cart-line-total{
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.cart-totals{
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,.03);
}

/* ---------- CHECKOUT PANEL ---------- */
.cart-right{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(180deg, rgba(35,16,24,.92), rgba(27,10,16,.92));
  box-shadow: var(--shadow-soft);
}

.checkout-title{
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--text);
}

.checkout-form label{ display:block; color: var(--muted); font-size: 13px; }
.checkout-form input, .checkout-form select{
  width: 100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
}

.checkout-form .form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.checkout-form .full{ margin-bottom: 14px; }

.paymode{
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-2);
}

.radio{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 10px;
  color: var(--muted);
}

.checkout-btn{
  margin-top: 14px;
  width: 100%;
  text-align: center;
}

.checkout-error{
  margin-top: 12px;
  border: 1px solid rgba(255,42,85,.35);
  background: rgba(255,42,85,.08);
  color: var(--text);
  border-radius: 12px;
  padding: 12px;
}

@media (max-width: 980px){
  .cart-page{ padding: 48px 24px; }
  .cart-wrap{ grid-template-columns: 1fr; }
  .checkout-form .form-row{ grid-template-columns: 1fr; }
}

/* ===== Toast (Added to cart) ===== */
.toast {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%) translateY(-10px);
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(27,10,16,.92);
  border: 1px solid rgba(255,245,247,.14);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  color: var(--text);

  font-size: 13px;
  letter-spacing: .2px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.toast .toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,42,85,.18);
}

.toast .toast-actions a {
  margin-left: 8px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .9;
}
.toast .toast-actions a:hover { opacity: 1; }

/* ===== PRODUCT PAGE HERO FIX (Catalog title centering) ===== */
.product-page-hero{
  padding: 48px 24px; /* mobile-friendly */
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(35,16,24,.85), rgba(18,4,8,.85));
}

.pph-inner{
  max-width: 980px;          /* keeps it centered */
  margin: 0 auto;            /* centers container */
  text-align: center;        /* centers h1 + p + buttons */
}

.product-page-hero h1{
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.product-page-hero p{
  max-width: 60ch;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14px;
}

.pph-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* tighten on very small phones */
@media (max-width: 480px){
  .product-page-hero{ padding: 36px 16px; }
  .product-page-hero h1{ font-size: 34px; }
}

/* ===== DESKTOP ONLY: contain product card image size ===== */
@media (min-width: 1024px){
  /* keeps cards from becoming ultra-wide */
  .product-gallery .card-grid{
    max-width: 1180px;   /* tweak 1100–1300 */
    margin: 0 auto;
  }

  /* caps how wide each card can get */
  .product-gallery .product-card{
    max-width: 380px;    /* tweak 340–420 */
    margin: 0 auto;
  }

  /* caps image height on desktop only */
  .product-gallery .product-card img{
    height: 300px;       /* tweak 260–340 */
    object-fit: cover;
  }
}
