/* ==========================================================================
   MR. BAKERS — Design System & Customer Storefront Styles
   Palette: Soft Blush Pink, Warm Cream, Rose-Pink Accent, Deep Cocoa Ink
   Typography: Playfair Display (Display) + Poppins (Body/UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --bg-page: #fff8f9;
  --bg-cream: #fffcf9;
  --bg-blush: #fdecf0;
  --bg-blush-deep: #f8d8e1;
  --bg-white: #ffffff;
  --bg-footer: #f29aae;
  --bg-footer-dark: #e67d96;

  --accent: #d85a7f;
  --accent-hover: #c1456a;
  --accent-soft: rgba(216, 90, 127, 0.1);

  --ink-primary: #2d1e22;
  --ink-secondary: #5e4b51;
  --ink-muted: #8a757b;
  --ink-on-accent: #ffffff;

  --border-subtle: rgba(176, 118, 136, 0.16);
  --border-strong: rgba(176, 118, 136, 0.32);

  --success: #16a34a;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --star: #f59e0b;

  --shadow-sm: 0 4px 14px rgba(102, 51, 68, 0.05);
  --shadow-md: 0 10px 30px rgba(102, 51, 68, 0.08);
  --shadow-lg: 0 18px 44px rgba(102, 51, 68, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--ink-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ==========================================================================
   Announcement Bar & Sticky Header
   ========================================================================== */
.announcement-bar {
  background-color: var(--accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 7px 40px 7px 16px;
  position: relative;
  line-height: 1.35;
}

.announcement-bar[hidden] {
  display: none;
}

.announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0.85;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.announcement-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 200ms var(--ease-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-blush);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  transition: color 180ms var(--ease-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
  position: relative;
  transition: background-color 180ms var(--ease-smooth), color 180ms var(--ease-smooth);
}

.icon-btn:hover {
  background-color: var(--bg-blush);
  color: var(--accent);
}

.count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.count-badge[data-count='0'] {
  display: none;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
}

.mobile-menu-btn:hover {
  background-color: var(--bg-blush);
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 30, 34, 0.45);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--bg-white);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 240ms var(--ease-smooth);
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--ink-primary);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--bg-blush);
  color: var(--accent);
}

/* Search Modal */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 30, 34, 0.5);
  z-index: 1050;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 20px;
}

.search-overlay.open {
  display: flex;
}

.search-modal {
  width: 100%;
  max-width: 640px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.search-form {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  transition: transform 180ms var(--ease-smooth), background-color 180ms var(--ease-smooth), box-shadow 180ms var(--ease-smooth), border-color 180ms var(--ease-smooth);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--ink-on-accent);
  box-shadow: 0 6px 18px rgba(216, 90, 127, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--accent-hover);
  box-shadow: 0 8px 22px rgba(216, 90, 127, 0.32);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--bg-blush);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink-secondary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover:not(:disabled) {
  background-color: var(--bg-white);
  color: var(--ink-primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 13px 30px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-white);
  color: var(--ink-primary);
  font-size: 0.92rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* ==========================================================================
   Typography & Section Headings
   ========================================================================== */
.section {
  padding: 64px 0;
}

.section-cream {
  background-color: var(--bg-cream);
}

.section-blush {
  background-color: var(--bg-blush);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.22;
  text-wrap: balance;
}

.section-divider {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 12px auto 0;
}

.section-subtitle {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero-section {
  background: linear-gradient(110deg, #fae2e8 0%, #f8d4de 48%, #fcebf0 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 36px;
  min-height: 500px;
  padding: 40px 0;
}

.hero-content {
  max-width: 560px;
  z-index: 2;
}

.hero-kicker {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--ink-primary);
  text-wrap: balance;
  margin-bottom: 16px;
}

.hero-title .highlight {
  color: var(--accent);
  font-style: italic;
}

.hero-desc {
  font-size: 1rem;
  color: var(--ink-secondary);
  margin-bottom: 28px;
  max-width: 48ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  background: var(--bg-blush-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Category Medallions (Shop by Category)
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 18px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 10px 6px;
  border-radius: var(--radius-md);
  transition: transform 200ms var(--ease-smooth);
}

.category-item:hover {
  transform: translateY(-4px);
}

.category-disc {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background-color: var(--bg-blush);
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 200ms var(--ease-smooth), border-color 200ms var(--ease-smooth);
}

.category-item:hover .category-disc {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.category-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-primary);
}

/* ==========================================================================
   Product Cards
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease-smooth), box-shadow 200ms var(--ease-smooth);
}

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

.product-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-cream);
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease-smooth);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-quick-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 160ms ease, color 160ms ease;
}

.card-icon-btn:hover,
.card-icon-btn.active {
  background-color: var(--accent);
  color: #fff;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 3px;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
  line-height: 1.35;
}

.product-title a:hover {
  color: var(--accent);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--star);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.price-original {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.stock-text {
  font-size: 0.75rem;
  font-weight: 500;
}

.stock-text.in {
  color: var(--success);
}

.stock-text.out {
  color: var(--danger);
}

/* ==========================================================================
   About Us & Why Choose Us Split Section
   ========================================================================== */
.about-why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.about-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-blush);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card h4 {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 3px;
}

.why-card p {
  font-size: 0.8125rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Reviews & Blog Sections
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-blush);
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-comment {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  font-style: italic;
}

.review-meta {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

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

.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease-smooth), box-shadow 200ms var(--ease-smooth);
}

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

.blog-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-blush);
}

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

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.35;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
}

/* ==========================================================================
   Footer (Rose-Pink Scalloped Patisserie Footer)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  color: #3d1d26;
  margin-top: 48px;
  position: relative;
  padding-top: 54px;
}

.footer-scallop {
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 18px;
  background-image: radial-gradient(circle at 18px 18px, var(--bg-footer) 18px, transparent 19px);
  background-size: 36px 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr 1.3fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-text {
  font-size: 0.875rem;
  color: #4a222d;
  margin-bottom: 16px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  color: #4a222d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 180ms ease, color 180ms ease;
}

.social-link:hover {
  background: #fff;
  color: var(--accent);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d141c;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: #3d1d26;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

/* ==========================================================================
   Floating WhatsApp Button & Toasts & Modals
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 850;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 180ms var(--ease-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.07);
}

.toast-container {
  position: fixed;
  top: 86px;
  right: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(380px, calc(100vw - 40px));
}

.toast {
  background: var(--bg-white);
  color: var(--ink-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  animation: slideInToast 200ms var(--ease-smooth);
}

.toast.success {
  border-color: rgba(22, 163, 74, 0.35);
}

.toast.error {
  border-color: rgba(220, 38, 38, 0.35);
}

@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Generic Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 30, 34, 0.55);
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-blush);
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Page-Specific Utility Layouts (Shop, PDP, Cart, Checkout, Account, Orders)
   ========================================================================== */
.page-banner {
  background: linear-gradient(110deg, #fae2e8, #fff5f7);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.page-banner p {
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

.card-panel {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.shop-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.pdp-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
}

.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.pdp-thumb {
  width: 74px;
  height: 58px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.72;
  transition: opacity 150ms ease, border-color 150ms ease;
}

.pdp-thumb.active,
.pdp-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

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

.weight-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.weight-btn {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-white);
  transition: all 160ms ease;
}

.weight-btn.active {
  background: var(--bg-blush);
  border-color: var(--accent);
  color: var(--accent);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  overflow: hidden;
}

.qty-stepper button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-stepper button:hover {
  background: var(--bg-blush);
}

.qty-stepper span {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-thumb {
  width: 92px;
  height: 74px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-cream);
}

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

/* Order Tracking Timeline */
.tracking-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.tracking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  position: relative;
}

.tracking-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-blush);
  color: var(--ink-muted);
  border: 2px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.tracking-step.done .tracking-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tracking-step.current .tracking-dot {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.tracking-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.tracking-step.done .tracking-label,
.tracking-step.current .tracking-label {
  color: var(--ink-primary);
  font-weight: 600;
}

/* Empty & Loading States */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 12px 0 6px;
}

.empty-state p {
  color: var(--ink-secondary);
  font-size: 0.9rem;
  max-width: 44ch;
  margin: 0 auto 18px;
}

.skeleton {
  background: linear-gradient(90deg, #f7e6eb 25%, #fdf2f5 50%, #f7e6eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.status-badge.success {
  background: var(--success-bg);
  color: var(--success);
}

.status-badge.warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.status-badge.danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.status-badge.accent {
  background: var(--bg-blush);
  color: var(--accent);
}

.alert-box {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--border-strong);
  background: var(--bg-cream);
}

.alert-box.warning {
  background: var(--warning-bg);
  border-color: rgba(217, 119, 6, 0.35);
  color: #7c4204;
}

.alert-box.error {
  background: var(--danger-bg);
  border-color: rgba(220, 38, 38, 0.35);
  color: #7f1d1d;
}

.alert-box.success {
  background: var(--success-bg);
  border-color: rgba(22, 163, 74, 0.35);
  color: #14532d;
}

/* Account Layout */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.account-tab-btn:hover,
.account-tab-btn.active {
  background: var(--bg-blush);
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
