/* ============================================================
   Rays of Ink — brand stylesheet
   Palette: blush watercolor, sage, cream, ink
   ============================================================ */

:root {
  --cream: #fbf7f2;
  --cream-deep: #f4ede4;
  --blush: #f6dde3;
  --blush-soft: #fbecef;
  --blush-dark: #d98ba0;
  --blush-deep: #c56f88;
  --sage: #cbdcc5;
  --sage-soft: #e2ecdd;
  --sage-dark: #9dbb94;
  --ink: #33322e;
  --ink-soft: #4d4a44;
  --muted: #8a857c;
  --white: #ffffff;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --shadow-soft: 0 10px 40px rgba(51, 50, 46, 0.08);
  --shadow-lift: 0 18px 50px rgba(51, 50, 46, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
}

img { max-width: 100%; height: auto; display: block; }

a, button { -webkit-tap-highlight-color: rgba(217, 139, 160, 0.25); }

a { color: var(--ink); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--blush-deep); }

.container { width: min(1200px, 92%); margin-inline: auto; }

.script { font-family: var(--font-script); font-weight: 400; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- announcement bar ---------- */
.announcement {
  background: var(--blush);
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 18px rgba(51, 50, 46, 0.06);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.header-left { display: flex; align-items: center; gap: 0.9rem; }

.logo img { height: 46px; width: auto; object-fit: contain; }

.brand-name {
  font-family: var(--font-script);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}
.brand-name:hover { color: var(--blush-deep); }

.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 1.1rem; }

.icon-btn {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, color 0.25s ease;
}
.icon-btn:hover { color: var(--blush-deep); transform: translateY(-2px); }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.cart-link { position: relative; display: inline-flex; }
.cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  background: var(--blush-dark);
  color: var(--white);
  border-radius: 999px;
  min-width: 17px;
  height: 17px;
  font-size: 0.66rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* slide-down search panel */
.header-search {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--blush-soft);
}
.site-header.search-open .header-search { max-height: 90px; }
.header-search form { display: flex; gap: 0.6rem; padding: 0.9rem 0; }
.header-search input {
  flex: 1;
  border: 1px solid rgba(51, 50, 46, 0.15);
  background: var(--white);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
}
.header-search input:focus { outline: 2px solid var(--blush); }

/* nav row */
.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.4rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(51, 50, 46, 0.1);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.main-nav a { position: relative; padding-bottom: 3px; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blush-dark);
  transition: right 0.3s ease;
}
.main-nav a:hover::after { right: 0; }

/* ---------- flashes ---------- */
.flash-messages { margin-top: 1.2rem; }
.alert { padding: 0.85rem 1.2rem; border-radius: 8px; margin-bottom: 0.7rem; font-size: 0.98rem; }
.alert-success { background: var(--sage-soft); color: #33502c; border: 1px solid var(--sage); }
.alert-info { background: #e8f1fb; color: #2c4a68; border: 1px solid #bcd6ee; }
.alert-warning { background: #fff3cd; color: #664d03; border: 1px solid #ffe69c; }
.alert-danger { background: #f8d7da; color: #58151c; border: 1px solid #f1aeb5; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
  background: var(--cream);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, var(--blush), transparent 70%);
  top: -140px; left: -140px;
}
.hero::after {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 60% 60%, var(--sage), transparent 70%);
  bottom: -200px; right: -160px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  z-index: 1;
}

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.hero-figure.left img {
  border-radius: 58% 42% 55% 45% / 48% 52% 46% 54%;
  transform: rotate(-2deg);
}
.hero-figure.right img {
  border-radius: 6px;
  transform: rotate(2deg);
}
.hero-figure.right::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--blush);
  border-radius: 6px;
  z-index: -1;
}
.hero-figure.left::after {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  width: 90px; height: 26px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(51, 50, 46, 0.08);
  transform: translateX(-50%) rotate(-4deg);
}

.hero-badge {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 108px;
  height: 108px;
  background: var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  animation: floaty 6s ease-in-out infinite;
  z-index: 2;
}
.hero-badge svg { width: 40px; height: 40px; stroke: var(--blush-deep); fill: none; stroke-width: 1.5; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-12px) rotate(14deg); }
}

.hero-text { text-align: center; padding: 1rem 0; }
.hero-overline {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--blush-deep);
  margin: 0 0 0.4rem;
}
.hero-text h1 {
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.28;
  margin: 0 0 1.4rem;
  color: var(--ink);
}
.hero-text h1 .hl {
  background: linear-gradient(180deg, transparent 62%, var(--blush) 62%);
  padding: 0 0.15em;
}
.hero-squiggle { display: block; margin: 0 auto 1.6rem; width: 130px; height: 22px; stroke: var(--ink-soft); fill: none; stroke-width: 1.4; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  background: var(--blush-dark);
  color: var(--white);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { background: var(--blush-deep); color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.btn-secondary { background: var(--sage-dark); }
.btn-secondary:hover { background: #86a87c; }

.btn-outline { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- marquee ticker ---------- */
.marquee {
  background: var(--sage);
  transform: rotate(-1.2deg);
  width: 104%;
  margin: -1.4rem -2% 0;
  padding: 0.8rem 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; }
.marquee-group span {
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-group i { font-style: normal; color: var(--blush-deep); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 2.8rem; }
.section-overline { font-family: var(--font-script); font-size: 1.6rem; color: var(--blush-deep); margin: 0; }
.section-title { font-weight: 500; font-size: clamp(1.65rem, 4vw, 2.1rem); margin: 0.2rem 0 0; letter-spacing: 0.02em; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.product-card > a { display: block; overflow: hidden; }
.product-card img { width: 100%; height: 270px; object-fit: cover; transition: transform 0.7s ease; }
.product-card:hover img { transform: scale(1.06); }

.product-info { padding: 1.1rem 1rem 1.3rem; text-align: center; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-name { margin: 0; font-size: 1.12rem; font-weight: 500; }
.product-price { color: var(--blush-deep); font-weight: 600; letter-spacing: 0.04em; }
.product-price del { color: var(--muted); margin-left: 0.5rem; font-weight: 400; }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--blush-dark);
  color: var(--white);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  z-index: 2;
}
.badge-stock { position: static; background: var(--sage-soft); color: #33502c; align-self: center; }

.product-card form { margin-top: auto; padding: 0 1rem 1.2rem; }
.product-card form .btn { width: 100%; padding: 0.7rem 1rem; font-size: 0.72rem; background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.product-card form .btn:hover { background: var(--ink); color: var(--white); }

/* ---------- newsletter ---------- */
.newsletter {
  position: relative;
  background: var(--blush);
  padding: 5rem 0;
  text-align: center;
  overflow: hidden;
}
.newsletter .section-title { font-size: 2.4rem; font-weight: 400; }
.newsletter .script-sub { font-family: var(--font-script); font-size: 1.7rem; color: var(--ink-soft); margin: 0.3rem 0 2rem; }
.newsletter form { display: flex; justify-content: center; gap: 0.6rem; max-width: 460px; margin: 0 auto; position: relative; z-index: 1; }
.newsletter input {
  flex: 1;
  border: 1px solid rgba(51, 50, 46, 0.2);
  border-radius: 4px;
  padding: 0.8rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}
.newsletter button { border-radius: 4px; padding: 0.8rem 1.4rem; background: var(--sage-dark); border: none; cursor: pointer; display: inline-flex; align-items: center; }
.newsletter button svg { width: 20px; height: 20px; stroke: var(--white); fill: none; stroke-width: 1.8; }
.newsletter button:hover { background: #86a87c; }
.newsletter .envelope-art {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%) rotate(10deg);
  width: 220px;
  opacity: 0.35;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.2;
  pointer-events: none;
}
.newsletter .social-icons { margin-top: 1.5rem; }
.newsletter .social-handle { color: var(--ink-soft); margin-top: 0.9rem; }
.news-divider { width: 64px; margin: 2.4rem auto; border: none; border-top: 1px solid rgba(51, 50, 46, 0.25); }

/* ---------- shop by category ---------- */
.shop-by { background: var(--sage); padding: 5rem 0; }
.shop-by .section-title { color: var(--ink); }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; }
.cat-card {
  text-align: center;
  padding: 1.8rem 0.8rem;
  border-radius: 12px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.cat-card:hover { background: rgba(255, 255, 255, 0.45); transform: translateY(-5px); }
.cat-card svg {
  width: 54px; height: 54px;
  margin: 0 auto 0.9rem;
  stroke: var(--ink-soft);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease, stroke 0.3s ease;
}
.cat-card:hover svg { transform: translateY(-4px) rotate(-3deg); stroke: var(--blush-deep); }
.cat-card h3 { margin: 0; font-size: 1.02rem; font-weight: 500; letter-spacing: 0.06em; }

/* ---------- social ---------- */
.social-section { text-align: center; padding: 4.5rem 0; background: var(--cream); }
.social-section h2 { font-weight: 400; font-size: 2rem; margin: 0.2rem 0 0; }
.social-icons { display: flex; justify-content: center; gap: 1.2rem; margin-top: 1.6rem; }
.social-icons a {
  width: 52px; height: 52px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.social-icons a svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.social-icons a:hover { background: var(--blush-dark); border-color: var(--blush-dark); transform: translateY(-4px) rotate(6deg); }
.social-icons a:hover svg { stroke: var(--white); }
.social-handle { font-family: var(--font-script); font-size: 1.5rem; color: var(--muted); margin-top: 1rem; }

/* legacy social classes kept for other pages */
.socials { display: flex; gap: 1rem; }
.social-links { display: flex; gap: 1.5rem; margin-top: 1rem; }
.social-links a { text-decoration: underline; }

/* ---------- shop page ---------- */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; }
.sidebar h4 { margin-top: 0; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; }
.sidebar ul { list-style: none; padding: 0; }
.sidebar li { margin-bottom: 0.55rem; }
.sidebar li a { position: relative; padding-left: 0; transition: padding-left 0.25s ease, color 0.25s ease; }
.sidebar li a:hover { padding-left: 10px; color: var(--blush-deep); }

.search-bar { display: flex; gap: 0.6rem; margin-bottom: 1.8rem; }
.search-bar input {
  flex: 1;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(51, 50, 46, 0.18);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}

.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span { padding: 0.45rem 0.85rem; border: 1px solid rgba(51, 50, 46, 0.18); border-radius: 999px; font-size: 0.9rem; }
.pagination .current { background: var(--blush); border-color: var(--blush); }

/* ---------- product detail ---------- */
.product-detail { padding: 3rem 0; }
.product-detail .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.product-gallery .main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
}
.thumbnails { display: flex; gap: 0.8rem; }
.thumbnails img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.25s ease, transform 0.25s ease; }
.thumbnails img:hover { transform: translateY(-3px); }
.thumbnails img.active { border-color: var(--blush-dark); }

.product-meta h1 { font-weight: 500; font-size: 2.3rem; margin: 0 0 0.6rem; }
.product-meta .price { font-size: 1.5rem; color: var(--blush-deep); margin-bottom: 1.2rem; letter-spacing: 0.04em; }
.product-meta ul { list-style: none; padding: 0; margin: 1.6rem 0; color: var(--muted); }
.product-meta ul li { margin-bottom: 0.4rem; }
.quantity { width: 76px; padding: 0.55rem; border: 1px solid rgba(51, 50, 46, 0.2); border-radius: 6px; font-family: var(--font-body); font-size: 1rem; }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.6rem; background: var(--white); border-radius: 10px; overflow: hidden; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.6rem; }
.table-scroll .cart-table { margin-bottom: 0; min-width: 640px; }
.cart-table th, .cart-table td { padding: 1rem; border-bottom: 1px solid rgba(51, 50, 46, 0.08); text-align: left; }
.cart-table th { background: var(--blush-soft); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; }
.cart-table img { width: 82px; height: 82px; object-fit: cover; border-radius: 8px; }

.cart-summary { background: var(--white); padding: 1.7rem; border-radius: 12px; box-shadow: var(--shadow-soft); max-width: 380px; margin-left: auto; }
.cart-summary h3 { margin-top: 0; font-weight: 500; }

.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }

/* ---------- forms ---------- */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 500; font-size: 0.95rem; }
.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(51, 50, 46, 0.18);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}
.form-control:focus { outline: 2px solid var(--blush); border-color: transparent; }
textarea.form-control { min-height: 130px; }
.form-error { color: #a94442; font-size: 0.85rem; }

/* ---------- static pages ---------- */
.page-content { max-width: 760px; margin: 0 auto; padding: 2.5rem 0; }
.page-content h1 { text-align: center; font-weight: 500; margin-bottom: 1.8rem; }
.page-content h2 { font-size: 1.3rem; font-weight: 500; margin: 2rem 0 0.6rem; color: var(--ink); }
.page-content h3 { font-size: 1.1rem; font-weight: 600; margin: 1.3rem 0 0.4rem; }
.page-content p { margin: 0 0 0.9rem; line-height: 1.75; color: var(--ink-soft); }
.page-content ul { margin: 0 0 1.1rem; padding-left: 1.3rem; line-height: 1.7; color: var(--ink-soft); }
.page-content li { margin-bottom: 0.45rem; }
.page-content a { color: var(--blush-deep); text-decoration: underline; text-underline-offset: 2px; }
.page-content strong { color: var(--ink); font-weight: 600; }
.page-content em { color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: #2f2b26; color: #e9e2d8; padding: 4rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { font-family: var(--font-script); font-size: 2.2rem; margin: 0 0 0.6rem; color: var(--blush); }
.site-footer p { color: #b9b1a5; font-size: 0.98rem; }
.site-footer h4 { margin: 0 0 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.76rem; color: #e9e2d8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #b9b1a5; }
.site-footer a:hover { color: var(--blush); }
.footer-email { font-size: 0.95rem; }
.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; color: #8f887c; }
.footer-bottom p { color: #8f887c; margin: 0; }
.site-footer .social-icons { justify-content: flex-start; margin-top: 0; }
.site-footer .social-icons a { width: 40px; height: 40px; border-color: rgba(255, 255, 255, 0.35); }
.site-footer .social-icons a svg { stroke: #e9e2d8; width: 18px; height: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-text { order: -1; }
  .hero-figure img { height: 320px; }
  .hero-badge { right: 6px; bottom: -22px; }
  .shop-layout { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-summary { margin: 0 auto; }
  .product-detail .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter .envelope-art { display: none; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .product-card img { height: 180px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .cat-card { padding: 1.2rem 0.5rem; }
  .cat-card svg { width: 44px; height: 44px; }
  .main-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 1.4rem; letter-spacing: 0.14em; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; }
  .brand-name { font-size: 1.9rem; }
  .header-top { grid-template-columns: auto 1fr auto; gap: 0.5rem; }
  .logo img { height: 36px; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-figure img { height: 260px; }
  .hero-badge { width: 84px; height: 84px; right: 2px; bottom: -16px; }
  .hero-badge svg { width: 30px; height: 30px; }
  .section { padding: 3rem 0; }
  .newsletter, .shop-by { padding: 3.2rem 0; }
  .product-detail { padding: 1.8rem 0; }
  .product-detail .container { gap: 2rem; }
  .product-gallery .main-image { height: 340px; }
  .thumbnails img { width: 64px; height: 64px; }
  .btn { padding: 0.8rem 1.8rem; }
  .cart-summary { padding: 1.2rem; }
  .newsletter form { max-width: 100%; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .brand-name { font-size: 1.6rem; }
  .logo img { height: 32px; }
  .header-actions { gap: 0.7rem; }
  .hero-text h1 { font-size: 1.85rem; }
  .marquee-group { gap: 1.6rem; padding-right: 1.6rem; }
}

/* ============================================================
   Admin dashboard styles
   ============================================================ */
.admin-body { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; background: #f5f4f1; font-size: 0.95rem; }
.admin-header { background: var(--ink); color: var(--white); padding: 0.9rem 0; }
.admin-header a { color: var(--white); }
.admin-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.9rem; }
.admin-container { width: min(1200px, 96%); margin: 1.6rem auto; background: var(--white); padding: 1.8rem; border-radius: 10px; box-shadow: var(--shadow-soft); }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.admin-table th, .admin-table td { padding: 0.75rem; border-bottom: 1px solid #eceae5; text-align: left; }
.admin-table th { background: #faf8f5; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.12em; }
.stat-card { background: var(--white); border: 1px solid #eceae5; border-radius: 10px; padding: 1.2rem; text-align: center; }
.stat-card h3 { margin: 0; font-size: 1.9rem; color: var(--blush-deep); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.small-thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.image-preview { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.5rem 0; }
.image-preview img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
@media (max-width: 768px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
