/* ============================================================
   HOPIX — Multi-Tenant Storefront Stylesheet
   Luxury pastel aesthetic · NYRORA candle/handmade theme
   ============================================================ */

:root {
  --ink: #241F1A;
  --muted: #7D7167;
  --cream: #FFFCF7;
  --rose: #F9E9DA;
  --pink: #C68B2C;
  --blush: #FFF4E8;
  --sage: #EDE0CF;
  --white: #FFFFFF;
  --line: #E7D8C6;
  --shadow: 0 18px 60px rgba(91, 54, 68, .10);
  --shadow-sm: 0 4px 14px rgba(91, 54, 68, .06);
  --shadow-lg: 0 24px 80px rgba(91, 54, 68, .14);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-lg: 35px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button, input, textarea, select { font: inherit; }

/* ── TOP NOTE ─────────────────────────────────────────────── */
.top-note {
  text-align: center;
  background: #241F1A;
  color: #FFFFFF;
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: .12em;
}

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  background: rgba(255, 250, 247, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(234, 223, 226, .7);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--rose);
  padding: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(123, 84, 35, .08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 21px;
  letter-spacing: .06em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}

.nav a { transition: color var(--transition); }
.nav a:hover { color: #A86A16; }

.cart-link {
  border: 1px solid var(--line);
  padding: 9px 15px;
  border-radius: 999px;
}

.cart-link span {
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 11px;
  margin-left: 4px;
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  cursor: pointer;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 650px;
  padding: 80px 8vw 90px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 5vw;
  overflow: hidden;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A06B1C;
  font-weight: 700;
}

.hero h1,
.page-hero h1,
.article h1,
.success-page h1 {
  font-family: Georgia, serif;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
  font-weight: 500;
  margin: 18px 0 25px;
  letter-spacing: -.04em;
}

.hero h1 em,
.page-hero h1 em { color: #B87918; font-style: italic; }

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy > p {
  font-size: 18px;
  color: var(--muted);
  max-width: 570px;
}

.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 32px;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 14px 23px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(59, 48, 52, .12);
}

.btn-primary {
  background: var(--primary, #B76E79);
  color: #FFFFFF;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-dark {
  background: var(--ink);
  color: #FFFFFF;
}

.btn-soft {
  background: #F1DEC9;
  color: #241F1A;
}

.btn-soft:hover { background: #E9D0AF; }

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

.btn-wide { width: 100%; }

.text-link {
  font-weight: 700;
  border-bottom: 1px solid #d8b8c5;
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

.text-link:hover { border-color: var(--primary, #B76E79); }

/* ── HERO SHOWCASE / SLIDER ───────────────────────────────── */
.hero-showcase {
  position: relative;
  height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.92);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 280px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(91, 54, 68, .18);
}

.hero-product-img {
  width: 100%;
  height: 320px;
  background: #F4E7D7;
  position: relative;
  overflow: hidden;
}

.hero-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

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

.hero-product-img .placeholder-art {
  height: 100%;
  display: grid;
  place-items: center;
  font: 100px Georgia;
  color: #B67A20;
}

.hero-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.hero-badge.sale { color: #B76E79; }

.hero-product-meta {
  padding: 20px 24px 24px;
}

.hero-product-meta small {
  color: #9A7950;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 9px;
}

.hero-product-meta strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 22px;
  margin: 6px 0 8px;
  line-height: 1.2;
}

.hero-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

/* Hero dots */
.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #D8C6B0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.hero-dot.is-active {
  background: var(--primary, #B76E79);
  transform: scale(1.3);
}

/* Hero fallback art (when no products) */
.hero-art-fallback {
  height: 520px;
  position: relative;
  width: 100%;
}

.blob {
  position: absolute;
  border-radius: 50%;
}

.blob-one {
  width: 390px;
  height: 390px;
  background: var(--rose);
  right: 6%;
  top: 6%;
  animation: float 7s ease-in-out infinite;
}

.blob-two {
  width: 250px;
  height: 250px;
  background: var(--sage);
  left: 4%;
  bottom: 3%;
  animation: float 9s ease-in-out infinite reverse;
}

.hero-card {
  position: absolute;
  width: 250px;
  height: 300px;
  right: 19%;
  top: 18%;
  background: #FFFFFF;
  border-radius: 150px 150px 30px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.hero-card span { font-size: 70px; color: #B67A20; }
.hero-card strong { font-family: Georgia, serif; font-size: 26px; }
.hero-card small { color: var(--muted); max-width: 170px; }

.floating {
  position: absolute;
  font-family: Georgia, serif;
  color: #b86685;
  font-size: 50px;
}

.flower { left: 5%; top: 22%; animation: spin 10s linear infinite; }
.heart { right: 4%; bottom: 12%; font-size: 65px; animation: float 5s ease-in-out infinite; }

/* ── MARQUEE ──────────────────────────────────────────────── */
.marquee {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 14px;
  background: #F1DEC9;
  color: #6E5840;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  overflow: hidden;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 100px 7vw; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section h2 {
  font: 500 clamp(35px, 4vw, 53px)/1.05 Georgia, serif;
  margin: 10px 0;
}

/* ── PRODUCT GRID ─────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  min-width: 0;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-image {
  display: block;
  aspect-ratio: 1/1.08;
  background: #F4E7D7;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.placeholder-art {
  height: 100%;
  display: grid;
  place-items: center;
  font: 90px Georgia;
  color: #B67A20;
}

.sale-badge,
.stock-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #FFFFFF;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.sale-badge { color: #B76E79; }

.stock-badge {
  background: #241F1A;
  color: #FFFFFF;
  left: auto;
  right: 14px;
}

/* ── PRODUCT CARD INFO ────────────────────────────────────── */
.product-info {
  padding: 16px 16px 20px;
}

.product-meta { margin-bottom: 10px; }

.category-badge {
  display: inline-block;
  color: #9A7950;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 9px;
  font-weight: 700;
  background: #F9F2E8;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  transition: background var(--transition);
}

.category-badge:hover { background: #F1DEC9; }

.product-info h3 {
  margin: 4px 0;
  font: 600 20px Georgia, serif;
  line-height: 1.2;
}

.product-info h3 a { transition: color var(--transition); }
.product-info h3 a:hover { color: var(--primary, #B76E79); }

.product-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-row { white-space: nowrap; }

.price-row strong { font-size: 16px; }

.price-row del {
  color: #aaa;
  font-size: 11px;
  display: block;
  text-align: right;
}

.card-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-add-to-bag,
.btn-wishlist-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--ink);
  padding: 0;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.btn-add-to-bag:hover {
  background: var(--primary, #B76E79);
  color: #FFFFFF;
  border-color: var(--primary, #B76E79);
}

.btn-wishlist-toggle:hover {
  background: #FDE8EC;
  color: #B76E79;
  border-color: #F5C6D0;
}

.btn-wishlist-toggle.is-active {
  background: #FDE8EC;
  color: #B76E79;
  border-color: #F5C6D0;
  fill: #B76E79;
}

.stock-indicator {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
}

.stock-indicator.in-stock { color: #6B8E23; }
.stock-indicator.out-of-stock { color: #B76E79; }

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
  background: #F6E9DB;
}

.about-photo {
  min-height: 530px;
  border-radius: 180px 180px 25px 25px;
  background: radial-gradient(circle at 30% 25%, #FFFFFF 0 10%, transparent 11%),
              linear-gradient(145deg, #E7DCCF, #EED6B7);
  display: grid;
  place-items: center;
  font: 130px Georgia;
  color: #FFFFFF;
  box-shadow: var(--shadow);
}

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

/* ── BLOG GRID ────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(80, 45, 60, .05);
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-image {
  height: 250px;
  background: #F0E4D7;
  display: grid;
  place-items: center;
  font: 80px Georgia;
  color: #B67A20;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.blog-body { padding: 25px; }

.blog-body small { color: #9A7950; }

.blog-body h2,
.blog-body h3 {
  font: 600 26px Georgia, serif;
  line-height: 1.1;
}

.blog-body p { color: var(--muted); }

/* ── NEWSLETTER ───────────────────────────────────────────── */
.newsletter {
  margin: 0 7vw 90px;
  padding: 55px 6vw;
  border-radius: var(--radius-lg);
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.newsletter h2 {
  font: 500 36px Georgia, serif;
  max-width: 650px;
}

.newsletter-form {
  display: flex;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 5px;
  box-shadow: var(--shadow-sm);
}

.newsletter-form input {
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 15px;
  width: 230px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #241F1A;
  color: #FFFFFF;
  padding: 70px 7vw 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
}

.footer-col { min-width: 0; }

.footer .brand small,
.footer p,
.footer a {
  color: #D8C8B4;
}

.footer-tagline {
  max-width: 360px;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-bio {
  font-size: 13px;
  font-style: italic;
  color: #B8A898;
  max-width: 360px;
}

.footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.footer-nav a {
  display: block;
  margin: 9px 0;
  transition: color var(--transition);
}

.footer-nav a:hover { color: #FFFFFF; }

.footer-newsletter-text {
  font-size: 13px;
  color: #B8A898;
  margin-bottom: 14px;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.footer-newsletter-form input {
  flex: 1;
  border: 1px solid #4E4133;
  background: transparent;
  color: #FFFFFF;
  border-radius: 999px;
  padding: 10px 16px;
  outline: 0;
  font-size: 13px;
  min-width: 0;
}

.footer-newsletter-form input::placeholder { color: #8A7A6A; }
.footer-newsletter-form input:focus { border-color: var(--primary, #B76E79); }

.footer-social { margin-top: 8px; }

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .06);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  transition: background var(--transition), color var(--transition);
}

.social-icon:hover {
  background: rgba(255, 255, 255, .14);
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid #4E4133;
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #bcaeb2;
  font-size: 12px;
}

/* ── FLASH MESSAGES ───────────────────────────────────────── */
.flash-wrap {
  position: fixed;
  right: 20px;
  top: 100px;
  z-index: 50;
}

.flash {
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 10px;
  transition: opacity .4s, transform .4s;
}

.flash.hide {
  opacity: 0;
  transform: translateX(20px);
}

/* ── EMPTY STATE ──────────────────────────────────────────── */
.empty-box {
  padding: 45px;
  background: #FFFFFF;
  border-radius: 25px;
  border: 1px dashed #D8C6B0;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}

/* ── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s, transform .7s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── KEYFRAMES ────────────────────────────────────────────── */
@keyframes float {
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── PAGE HERO (shop, blog, etc.) ─────────────────────────── */
.page-hero {
  text-align: center;
  padding: 100px 20px 75px;
}

.page-hero h1 { font-size: clamp(45px, 6vw, 72px); }

.page-hero p {
  max-width: 600px;
  margin: auto;
  color: var(--muted);
  font-size: 17px;
}

.page-hero.compact { padding-bottom: 25px; }

/* ── SHOP LAYOUT ──────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 45px;
  padding-top: 35px;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 110px;
  align-self: start;
}

.filters a {
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 10px;
}

.filters a.active,
.filters a:hover { background: var(--rose); color: var(--ink); }

.search-bar {
  display: flex;
  margin-bottom: 30px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.search-bar input {
  border: 0;
  outline: 0;
  flex: 1;
  padding: 11px 16px;
  background: transparent;
}

.search-bar button {
  border: 0;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
}

/* ── PRODUCT DETAIL ───────────────────────────────────────── */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.detail-image {
  aspect-ratio: 1/1.05;
  background: #F2E4D4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  font: 120px Georgia;
  color: #B67A20;
}

.detail-image img { width: 100%; height: 100%; object-fit: cover; }

.detail-copy h1 {
  font: 500 clamp(42px, 5vw, 68px)/1 Georgia, serif;
  margin: 15px 0;
}

.detail-price { font-size: 22px; font-weight: 800; margin: 20px 0; }
.detail-price del { color: #aaa; font-size: 14px; margin-left: 8px; }

.lead { font-size: 18px; color: var(--muted); }
.rich-copy { margin: 25px 0; color: #65584B; }
.stock-note { display: block; color: #8A775E; margin-top: 12px; }
.sold-note { background: #F4E8DB; padding: 15px; border-radius: 15px; }

/* ── BLOG ARTICLE ─────────────────────────────────────────── */
.article { max-width: 950px; margin: auto; }

.article-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
}

.article-head h1 { font-size: clamp(45px, 6vw, 70px); }
.article-head p { color: var(--muted); font-size: 18px; }

.article-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eee;
}

.article-image img { width: 100%; max-height: 650px; object-fit: cover; }

.article-content {
  max-width: 700px;
  margin: 60px auto;
  font-size: 18px;
  color: #594E44;
}

/* ── CART & CHECKOUT ──────────────────────────────────────── */
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 45px;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr 120px 90px 30px;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  background: #F1E4D6;
  display: grid;
  place-items: center;
  font: 35px Georgia;
  color: #B67A20;
  overflow: hidden;
}

.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }

.cart-name h3 { font: 600 19px Georgia, serif; margin: 0; }
.cart-name small { color: var(--muted); }

.qty-form { display: flex; gap: 4px; }

.qty-form input {
  width: 60px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
}

.qty-form button { border: 0; background: none; color: #9B6718; font-size: 11px; cursor: pointer; }
.remove { font-size: 24px; color: #B18A55; cursor: pointer; }

.summary {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 110px;
}

.summary h2 { font: 500 30px Georgia, serif; }

.summary-row,
.summary-product {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row.total { font-size: 21px; border: 0; padding: 20px 0; }
.summary > small { display: block; color: var(--muted); margin-top: 15px; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-card {
  background: #FFFFFF;
  padding: 35px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.form-card h2 { font: 500 32px Georgia, serif; }

.form-card label,
.admin-panel label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 16px 0;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  padding: 12px;
  margin-top: 7px;
  outline-color: #B67A20;
}

.field-error { color: #bd526e; display: block; }

/* ── SUCCESS PAGE ─────────────────────────────────────────── */
.success-page {
  max-width: 720px;
  text-align: center;
  margin: 90px auto;
  padding: 0 25px;
}

.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--rose);
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  font-size: 45px;
}

.success-page h1 { font-size: 55px; }
.success-page p { color: var(--muted); font-size: 18px; }

.success-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 30px 0;
  box-shadow: var(--shadow);
}

.success-card span { text-align: left; color: var(--muted); }
.success-card strong { text-align: right; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (≤950px) */
@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero-showcase { height: 420px; }

  .hero-product-card { width: 240px; }
  .hero-product-img { height: 260px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .about,
  .detail,
  .cart-layout,
  .checkout-layout { grid-template-columns: 1fr; }

  .blog-grid { grid-template-columns: 1fr 1fr; }

  .shop-layout { grid-template-columns: 1fr; }

  .filters {
    position: static;
    flex-direction: row;
    overflow: auto;
  }

  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile (≤650px) */
@media (max-width: 650px) {
  .site-header { height: 70px; padding: 0 20px; }

  .menu-btn { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .hero { padding: 55px 22px; }

  .hero-showcase { height: 350px; }

  .hero-product-card { width: 200px; }
  .hero-product-img { height: 220px; }

  .blob-one { width: 280px; height: 280px; }
  .blob-two { width: 180px; height: 180px; }
  .hero-card { right: 13%; top: 10%; width: 190px; height: 250px; }

  .hero-art-fallback {
    position: relative;
    z-index: 0;
    opacity: 0.55;
  }

  .floating { font-size: 32px; }
  .flower { left: 2%; top: 10%; }
  .heart { right: 2%; bottom: 8%; font-size: 40px; }

  .section { padding: 65px 22px; }

  .product-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .product-info { padding: 12px; }

  .price-row del {
    text-align: left;
    display: inline;
    margin-left: 5px;
  }

  .about-photo { min-height: 360px; }

  .newsletter { margin: 0 22px 60px; padding: 35px 25px; }

  .newsletter-form { width: 100%; }
  .newsletter-form input { width: 100%; }

  .cart-item {
    grid-template-columns: 65px 1fr 25px;
    gap: 10px;
  }

  .cart-item > .qty-form,
  .cart-item > strong { grid-column: 2; }

  .cart-thumb { width: 65px; height: 65px; }

  .footer { padding: 55px 22px 20px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin: 6px 0; }

  .footer-newsletter-form { flex-direction: column; }

  .success-page h1 { font-size: 43px; }
  .page-hero { padding: 65px 20px 35px; }
}