/* ===== CSS Custom Properties ===== */
:root {
  --color-black: #0a0a0a;
  --color-plum: #2d1b2e;
  --color-plum-light: #4a2e4c;
  --color-burgundy: #6b1d31;
  --color-burgundy-light: #8a2540;
  --color-rose-dark: #9b2d4a;
  --color-blush: #e8c4b8;
  --color-blush-light: #f5e0d8;
  --color-champagne: #c9a96e;
  --color-champagne-light: #e0cfa0;
  --color-white: #ffffff;
  --color-off-white: #faf8f6;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-success: #16a34a;
  --color-success-bg: #dcfce7;
  --color-error: #dc2626;
  --color-error-bg: #fef2f2;
  --color-info-bg: #eff6ff;
  --color-info: #2563eb;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  --container-max: 1280px;
  --transition: 0.2s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-plum);
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-black);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.25rem;
  text-align: center;
}

.section__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-gray-500);
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-plum), var(--color-burgundy));
  color: var(--color-white);
  border-color: transparent;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-plum-light), var(--color-burgundy-light));
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--color-plum);
  border-color: var(--color-plum);
}

.btn--secondary:hover {
  background: var(--color-plum);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-gray-700);
  border-color: var(--color-gray-300);
}

.btn--outline:hover {
  border-color: var(--color-plum);
  color: var(--color-plum);
}

.btn--amazon {
  background: transparent;
  color: var(--color-champagne);
  border-color: var(--color-champagne);
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
}

.btn--amazon:hover {
  background: var(--color-champagne);
  color: var(--color-white);
}

.btn--amazon-cta {
  background: var(--color-rose-dark);
  color: var(--color-white);
  font-size: 1rem;
  padding: 0.875rem 2rem;
  width: 100%;
  border-color: transparent;
}

.btn--amazon-cta:hover {
  background: #7a2340;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
}

.btn--danger {
  background: var(--color-error);
  color: var(--color-white);
  border-color: var(--color-error);
}

.btn--danger:hover {
  background: #b91c1c;
  color: var(--color-white);
}

.btn--lg {
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn--full {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-gray-100);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(3.5rem, 5vw, 4.5rem);
}

.logo {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-black);
  letter-spacing: 1px;
}

.desktop-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--color-burgundy);
  background: var(--color-gray-50);
}

.nav-item--has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.nav-item--has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--color-gray-700);
  transition: all var(--transition);
}

.nav-dropdown__link:hover {
  background: var(--color-gray-50);
  color: var(--color-burgundy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-form {
  display: none;
}

.search-input {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  width: 200px;
  outline: none;
  transition: border-color var(--transition);
}

.search-input:focus {
  border-color: var(--color-plum);
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-500);
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-black);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle--active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle--active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle--active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  padding: clamp(4rem, 8vw, 5.5rem) clamp(1rem, 3vw, 2rem) 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

.mobile-search {
  display: flex;
  margin-bottom: 1.5rem;
}

.mobile-search__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.mobile-search__btn {
  background: var(--color-plum);
  border: none;
  color: var(--color-white);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-subnav {
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.mobile-subnav-link {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  color: var(--color-gray-600);
}

/* ===== Flash Messages ===== */
.flash-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
}

.flash-message {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
}

.flash-message--success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border-left: 4px solid var(--color-success);
}

.flash-message--error {
  background: var(--color-error-bg);
  color: var(--color-error);
  border-left: 4px solid var(--color-error);
}

.flash-message--info {
  background: var(--color-info-bg);
  color: var(--color-info);
  border-left: 4px solid var(--color-info);
}

.flash-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.6;
  color: inherit;
  flex-shrink: 0;
}

.flash-close:hover {
  opacity: 1;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-black);
  color: var(--color-gray-300);
  padding: clamp(3rem, 5vw, 5rem) 0 0;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-white);
}

.footer-tagline {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-400);
  max-width: 320px;
}

.footer-disclosure {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-gray-500);
  max-width: 360px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-champagne);
  margin-bottom: 1rem;
}

.footer-links__col ul li {
  margin-bottom: 0.5rem;
}

.footer-links__col ul li a {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  transition: color var(--transition);
}

.footer-links__col ul li a:hover {
  color: var(--color-blush);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--color-gray-800);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(400px, 60vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-plum) 0%, var(--color-burgundy) 50%, var(--color-black) 100%);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.15), transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(232, 196, 184, 0.1), transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  max-width: 800px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  font-style: italic;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--color-blush);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===== Section ===== */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section:nth-child(even) {
  background: var(--color-off-white);
}

.related-section {
  padding: 0 0 1rem;
}
.recent-section {
  padding: 0 0 0.5rem;
}

/* ===== Related carousel ===== */
.related-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.related-section .related-section__head {
  justify-content: center;
}
.recent-section .section__title {
  font-size: 1.35rem;
}
.related-section .section__title {
  font-size: 1.9rem;
  text-align: center;
}
.history-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-rose-dark);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.history-link:hover {
  text-decoration: underline;
}
.carousel {
  position: relative;
}
.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 3;
  pointer-events: none;
}
.carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}
.carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-burgundy);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.carousel-btn--prev {
  left: -14px;
}
.carousel-btn--next {
  right: -14px;
}
.carousel-btn:hover {
  background: var(--color-rose-dark);
  border-color: var(--color-rose-dark);
  color: #fff;
}
.carousel-btn:disabled {
  opacity: 0;
  pointer-events: none;
}
.carousel-btn:disabled:hover {
  background: #fff;
  color: var(--color-burgundy);
  border-color: rgba(0, 0, 0, 0.14);
}
.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 8px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track .product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  .carousel-track .product-card {
    flex: 0 0 78%;
  }
}

/* Frame effect — permanent border top/left + offset shadow right/bottom */
.related-section .product-card {
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-right-color: transparent;
  border-bottom-color: transparent;
  box-shadow: 9px 11px 0 rgba(0, 0, 0, 0.32);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-section .product-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 11px 0 rgba(0, 0, 0, 0.45);
}

/* ===== Recently viewed — small horizontal thumbnails ===== */
.recent-track {
  gap: 0.75rem;
  padding-bottom: 6px;
}
.recent-thumb {
  flex: 0 0 96px;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: block;
}
.recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.recent-thumb__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5ad;
  background: var(--color-blush-light);
}
.recent-thumb__price {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== History page ===== */
.history-empty {
  text-align: center;
  font-size: 1rem;
  color: var(--color-gray-500);
  padding: 3rem 0;
}
.history-empty a {
  color: var(--color-rose-dark);
  font-weight: 600;
}
.history-actions {
  margin-top: 2rem;
  text-align: center;
}

/* ===== Product Card — Luxury Editorial ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

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

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-gray-100);
  display: block;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-300);
  background: linear-gradient(135deg, var(--color-blush-light), var(--color-champagne-light));
}

/* Price badge — overlay bottom-right */
.product-card__price-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  line-height: 1;
  letter-spacing: 0.02em;
  z-index: 2;
  transition: background 0.3s ease;
}

.product-card:hover .product-card__price-badge {
  background: rgba(10, 10, 10, 0.9);
}

/* Badge — top-left label */
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-burgundy);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* Card body — minimal, fades in on hover */
.product-card__body {
  padding: 0.65rem 0.875rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0.55;
  transition: opacity 0.3s ease, padding 0.3s ease;
}

.product-card:hover .product-card__body {
  opacity: 1;
  padding-top: 0.75rem;
  padding-bottom: 0.875rem;
}

.product-card__brand {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.product-card__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gray-800);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__title:hover {
  color: var(--color-burgundy);
}

/* Price and CTA hidden by default (editorial mode shows badge on image) */
.product-card__price,
.product-card__cta {
  display: none;
}

/* ===== Layout Variants: Classic Cards ===== */
.layout-cards--classic .product-card__price-badge {
  display: none;
}

.layout-cards--classic .product-card__body {
  opacity: 1;
  padding: 0.875rem 1rem 1rem;
  gap: 0.4rem;
}

.layout-cards--classic .product-card__price {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-plum);
  order: 2;
}

.layout-cards--classic .product-card__cta {
  display: inline-flex;
  margin-top: 0.3rem;
  order: 3;
  font-size: 0.75rem;
  padding: 0.35rem 0.875rem;
}

.layout-cards--classic .product-card:hover .product-card__body {
  padding: 0.875rem 1rem 1rem;
}

/* ===== Layout Variants: Dark Cards ===== */
.layout-cards--dark {
  background: #111;
}

.layout-cards--dark .section:nth-child(even),
.layout-cards--dark .section:nth-child(odd) {
  background: #111;
}

.layout-cards--dark .product-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.layout-cards--dark .product-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.layout-cards--dark .product-card__price-badge {
  background: rgba(201, 169, 110, 0.88);
  color: #111;
}

.layout-cards--dark .product-card__body {
  opacity: 0.65;
}

.layout-cards--dark .product-card__title {
  color: #ddd;
}

.layout-cards--dark .product-card__title:hover {
  color: var(--color-champagne);
}

.layout-cards--dark .product-card__brand {
  color: var(--color-champagne);
}

.layout-cards--dark .section__title,
.layout-cards--dark .section__subtitle {
  color: #eee;
}

.layout-cards--dark .section__subtitle {
  color: #999;
}

/* ===== Layout Variants: Stacked product page ===== */
.layout-product--stacked .product-layout {
  display: block;
}

.layout-product--stacked .product-main {
  max-width: 800px;
  margin: 0 auto;
}

.layout-product--stacked .product-main__top {
  display: block;
}

.layout-product--stacked .product-main__gallery {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.layout-product--stacked .product-sidebar {
  display: none;
}

/* ===== Category Cards ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%);
  z-index: 1;
}

.category-card--1 { background: linear-gradient(135deg, var(--color-plum), var(--color-burgundy)); }
.category-card--2 { background: linear-gradient(135deg, var(--color-burgundy), #8b2d45); }
.category-card--3 { background: linear-gradient(135deg, #4a3a5e, var(--color-plum)); }
.category-card--4 { background: linear-gradient(135deg, #5c2d3e, var(--color-burgundy)); }
.category-card--5 { background: linear-gradient(135deg, #3b2040, var(--color-plum-light)); }
.category-card--6 { background: linear-gradient(135deg, var(--color-plum), #3a243c); }

.category-card__content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2rem);
  width: 100%;
}

.category-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.category-card__cta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-champagne);
  font-weight: 500;
}

/* ===== Blog Preview ===== */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.blog-card__image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-gray-100);
  display: block;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-300);
  background: var(--color-blush-light);
}

.blog-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-plum);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-sm);
}

.blog-card__body {
  padding: 1.25rem;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.blog-card__title a {
  color: var(--color-black);
}

.blog-card__title a:hover {
  color: var(--color-burgundy);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

.blog-card__readmore {
  font-weight: 500;
  color: var(--color-burgundy);
}

/* ===== Newsletter ===== */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-plum), var(--color-black));
}

.newsletter {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0;
}

.newsletter__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.newsletter__text {
  color: var(--color-blush);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  opacity: 0.85;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter__input:focus {
  border-color: var(--color-champagne);
}

/* ===== Category Hero ===== */
.category-hero {
  background: linear-gradient(135deg, var(--color-plum), var(--color-black));
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}

.category-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.category-hero__desc {
  color: var(--color-blush);
  max-width: 600px;
  margin: 0 auto 1rem;
  font-size: 1rem;
}

.category-hero__count {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--color-champagne);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
}

/* ===== Category Products ===== */
.category-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.sort-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-label {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.sort-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-gray-700);
  background: var(--color-white);
  cursor: pointer;
  outline: none;
}

.sort-select:focus {
  border-color: var(--color-plum);
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1rem;
  color: var(--color-gray-400);
}

.empty-state svg {
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gray-600);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pagination__link {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--color-gray-700);
  transition: all var(--transition);
}

.pagination__link:hover {
  border-color: var(--color-plum);
  color: var(--color-plum);
}

.pagination__info {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--color-gray-300);
}

.breadcrumb__item a {
  color: var(--color-gray-500);
}

.breadcrumb__item a:hover {
  color: var(--color-burgundy);
}

.breadcrumb__item--current {
  color: var(--color-gray-800);
  font-weight: 500;
}

/* ===== Product Detail — New Layout ===== */
.product-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2rem) 0 1rem;
  align-items: start;
}

/* ===== Sidebar ===== */
.product-sidebar {
  position: sticky;
  top: 1rem;
}

/* Mobile sidebar toggle (hidden on desktop) */
.sidebar-toggle {
  display: none;
}
.mobile-sidebar-bar {
  display: none;
}

.product-sidebar__block {
  margin-bottom: 1rem;
  background: linear-gradient(170deg, var(--color-rose-dark), #7a2340);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.product-sidebar__heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  padding: 0.85rem 1rem;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* Category Menu */
.cat-menu {
  padding: 0.35rem 0;
}
.cat-menu__item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cat-menu__item:last-child {
  border-bottom: none;
}
.cat-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-menu__link {
  flex: 1;
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.cat-menu__link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.cat-menu__link--active {
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
}
.cat-menu__toggle {
  padding: 0.5rem 0.75rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 0.7rem;
  transition: transform 0.2s, color 0.15s;
  flex-shrink: 0;
}
.cat-menu__toggle:hover { color: #fff; }
.cat-menu__toggle--open { transform: rotate(180deg); color: #fff; }

.cat-menu__sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.15);
}
.cat-menu__sub--open {
  max-height: 600px;
}
.cat-menu__sublink {
  display: block;
  padding: 0.4rem 1rem 0.4rem 1.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.cat-menu__sublink:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.cat-menu__sublink--active {
  color: #fff;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
}

/* Popular Products in Sidebar */
.popular-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.popular-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.popular-item:last-child { border-bottom: none; }
.popular-item__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  transition: background 0.15s;
}
.popular-item__link:hover {
  background: rgba(255,255,255,0.08);
}
.popular-item__thumb {
  width: 34px;
  height: 42px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.popular-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.popular-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.popular-item__title {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.popular-item__price {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

/* ===== Main Content (image + info) ===== */
.product-main {
  min-width: 0;
}
.product-main__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.product-main__gallery {
  min-width: 0;
}
.product-main__info {
  min-width: 0;
}

/* ── Compact Gallery ── */
.gallery-main--compact {
  border-radius: 0;
  overflow: hidden;
  background: var(--color-gray-50);
  aspect-ratio: 3/4;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
  border: 2px solid #111;
}
.gallery-main--compact:hover {
}
.gallery-main--compact .gallery-main__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-main--compact:hover .gallery-main__img {
  transform: scale(1.05);
}
.gallery-main__zoom {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.2s;
  pointer-events: none;
}
.gallery-main--compact:hover .gallery-main__zoom {
  opacity: 1;
}

.gallery-main--empty {
  color: var(--color-gray-300);
  background: linear-gradient(135deg, var(--color-blush-light), var(--color-champagne-light));
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #fff;
  transition: border-color 0.15s;
}
.gallery-thumb:hover { border-color: var(--color-burgundy); }
.gallery-thumb--active { border-color: var(--color-burgundy); }
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox--open {
  display: flex;
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 1;
  line-height: 1;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  cursor: default;
}
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  line-height: 1;
}
.lightbox__prev:hover,
.lightbox__next:hover { opacity: 1; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ── Info Column ── */
.product-detail__info {
  min-width: 0;
}
.product-detail__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.22;
  color: var(--color-rose-dark);
}
.product-detail__brand-row {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.product-detail__brand-label {
  color: var(--color-gray-500);
  margin-right: 6px;
  font-weight: 500;
}
.product-detail__brand-link {
  display: inline-block;
  color: var(--color-rose-dark);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  background: rgba(155, 45, 74, 0.08);
  padding: 2px 10px;
  border-radius: 4px;
}
.product-detail__brand-link:hover {
  background: rgba(155, 45, 74, 0.15);
  text-decoration: none;
}
.product-detail__price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-burgundy);
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.product-detail__list-price {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-bottom: 0.75rem;
}
.product-detail__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.rating-value {
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}
.stars {
  display: inline-flex;
  gap: 2px;
  font-size: 1rem;
  color: var(--color-gray-300);
}
.star--filled {
  color: var(--color-champagne);
}
.rating-count {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}
/* Stock */
.product-detail__stock {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stock-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78em;
  font-weight: 500;
}
.stock-badge--ok {
  background: #ecfdf5;
  color: #059669;
}
.stock-badge--warn {
  background: #fffbeb;
  color: #d97706;
}
.prime-badge {
  display: inline-block;
  background: #2370ac;
  color: #fff;
  font-size: 0.65em;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
}
/* Attribute pills */
.product-detail__attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}
.attr-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  background: var(--color-gray-100);
}
.attr-pill__icon { font-size: 0.85em; }
.attr-pill__label { color: var(--color-gray-400); font-weight: 500; }
.attr-pill__value { color: var(--color-gray-700); font-weight: 600; }
/* Section labels */
.section-label {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-plum);
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--color-gray-200);
}
/* Description */
.product-detail__description { margin-bottom: 1.5rem; }
.description-text {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}
/* Features */
.product-detail__features { margin-bottom: 1.5rem; }
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.features-list__item {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  padding-left: 1.2em;
  position: relative;
  line-height: 1.5;
}
.features-list__item::before {
  content: '✓';
  color: var(--color-burgundy);
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 0.8em;
}
/* Honest Review Card */
.product-detail__review { margin-bottom: 1.5rem; }
.review-card {
  background: #fff8e1;
  border: 1px solid #ffcc80;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.review-card__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: #e65100;
}
.review-card__text {
  font-size: 0.9rem;
  color: var(--color-gray-700);
  line-height: 1.65;
  font-style: italic;
}
.product-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color-gray-600);
  background: var(--color-gray-100);
  border-radius: var(--radius-lg);
}
.product-detail__disclosure {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  text-align: center;
}
/* CTA button */
.btn--amazon-cta {
  width: 100%;
  text-align: center;
  padding: 14px 0;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}
/* Country links */
.product-detail__country-links { margin-top: 1rem; }
.product-detail__country-label {
  font-size: 0.8rem;
  color: var(--color-gray-400);
  margin-bottom: 6px;
}
.country-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.country-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--color-gray-200);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--color-gray-600);
  text-decoration: none;
  transition: border-color 0.15s;
}
.country-link:hover {
  border-color: var(--color-burgundy);
  color: var(--color-burgundy);
}
.country-link__flag { font-weight: 700; font-size: 0.85em; }

/* ===== Shop ===== */
.shop-hero {
  background: var(--color-off-white);
  padding: clamp(2rem, 4vw, 3rem) 0;
  text-align: center;
}

.shop-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}

.shop-hero__subtitle {
  color: var(--color-gray-500);
  margin-top: 0.25rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.shop-sidebar {
  display: none;
}

.shop-sidebar--open {
  display: block;
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 900;
  padding: 4rem 1.5rem 2rem;
  overflow-y: auto;
}

.sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-gray-600);
}

.shop-sidebar__block {
  margin-bottom: 2rem;
}

.shop-sidebar__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  margin-bottom: 0.75rem;
}

.shop-sidebar__list {
  list-style: none;
}

.shop-sidebar__item {
  margin-bottom: 0.25rem;
}

.shop-sidebar__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.shop-sidebar__link:hover,
.shop-sidebar__link--active {
  color: var(--color-burgundy);
  background: var(--color-gray-50);
}

.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.shop-filters-toggle {
  display: inline-block;
}

.shop-search-form {
  display: flex;
  flex: 1;
  min-width: 200px;
}

.shop-search-input {
  flex: 1;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
}

.shop-search-input:focus {
  border-color: var(--color-plum);
}

.shop-search-btn {
  background: var(--color-plum);
  border: none;
  color: var(--color-white);
  padding: 0.5rem 0.875rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
}

/* ===== Blog ===== */
.blog-hero {
  background: var(--color-off-white);
  padding: clamp(2rem, 4vw, 3rem) 0;
  text-align: center;
}

.blog-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
}

.blog-hero__subtitle {
  color: var(--color-gray-500);
  margin-top: 0.25rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-sidebar {
  order: 2;
}

.blog-sidebar__block {
  margin-bottom: 2rem;
}

.blog-sidebar__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-500);
  margin-bottom: 0.75rem;
}

.blog-sidebar__list {
  list-style: none;
}

.blog-sidebar__item {
  margin-bottom: 0.25rem;
}

.blog-sidebar__sublist {
  list-style: none;
  margin: 0;
  padding-left: 0.75rem;
}

.blog-sidebar__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.blog-sidebar__link--child {
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  color: var(--color-gray-500);
}

.blog-sidebar__link:hover,
.blog-sidebar__link--active {
  color: var(--color-burgundy);
  background: var(--color-gray-50);
}

/* ===== Blog Post ===== */
.blog-post__hero {
  margin-bottom: 2rem;
}

.blog-post__hero-image-wrap {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}

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

.blog-post__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%);
}

.blog-post__hero-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
}

.blog-post__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.blog-post__title--no-hero {
  color: var(--color-black);
  padding: 2rem 0 0;
}

.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-gray-300);
}

.blog-post__title--no-hero ~ .blog-post__meta .blog-post__date,
.blog-post__title--no-hero ~ .blog-post__meta .blog-post__author,
.blog-post__title--no-hero ~ .blog-post__meta .blog-post__readtime {
  color: var(--color-gray-500);
}

.blog-post__category {
  background: var(--color-plum);
  color: var(--color-white) !important;
  padding: 0.15rem 0.625rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.blog-post__content {
  padding: 2rem 0 4rem;
}

.blog-post__body {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.85;
  color: var(--color-gray-700);
}

.blog-post__body h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.blog-post__body h3 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

.blog-post__body p {
  margin-bottom: 1.25rem;
}

.blog-post__body ul, .blog-post__body ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-post__body ol {
  list-style: decimal;
}

.blog-post__body blockquote {
  border-left: 4px solid var(--color-blush);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-gray-600);
}

.blog-post__body img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 2px solid #111;
  border-radius: 0;
  margin: 1.75rem 0;
  transition: box-shadow .18s ease;
}
.blog-post__body img:hover {
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .88);
}

/* ===== Page ===== */
.page {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.page__content {
  max-width: 720px;
  margin: 0 auto;
}

.page__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
}

.page__body {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.85;
  color: var(--color-gray-700);
}

.page__body p {
  margin-bottom: 1.25rem;
}

.page__body h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.page__body ul, .page__body ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.page__body ol {
  list-style: decimal;
}

/* ===== Admin Login ===== */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  padding: 2rem 1rem;
}

.admin-login__card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}

.admin-login__header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-login__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--color-black);
}

.admin-login__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.admin-login__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-login__footer {
  text-align: center;
  margin-top: 1.5rem;
}

.admin-login__back {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
}

/* ===== Form Elements ===== */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 0.375rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-gray-800);
  background: var(--color-white);
  outline: none;
  transition: border-color var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-plum);
  box-shadow: 0 0 0 3px rgba(45, 27, 46, 0.1);
}

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

.form-textarea--lg {
  min-height: 200px;
}

.form-input--file {
  padding: 0.5rem;
}

.form-select {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group--toggle {
  display: flex;
  align-items: center;
}

.form-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.form-toggle input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-burgundy);
}

.form-toggle__label {
  font-size: 0.875rem;
  color: var(--color-gray-700);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-group--actions {
  display: flex;
  align-items: flex-end;
}

.flash-messages {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ===== Admin Layout ===== */
.admin-body {
  background: #f5f6f8;
  min-height: 100vh;
}
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ── */
.admin-sidebar {
  width: 230px;
  background: #1a1d23;
  color: #aaa;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
}
.admin-sidebar__brand {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid #2a2d33;
}
.admin-sidebar__logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: block;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.admin-sidebar__logo:hover { color: #fff; opacity: .85; }
.admin-sidebar__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #666;
  margin-top: 0.25rem;
  display: block;
}
.admin-nav { padding: 0.75rem 0; flex: 1; }
.admin-nav__list { list-style: none; }
.admin-nav__link {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.825rem;
  color: #999;
  transition: all .12s;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.admin-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
  border-left-color: #555;
}
.admin-nav__link--active {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-left-color: #c9a96e;
}
.admin-nav__link--logout { color: #e05555; opacity: .8; }
.admin-nav__link--logout:hover { color: #f55; opacity: 1; }
.admin-nav__separator {
  height: 1px;
  background: #2a2d33;
  margin: 0.5rem 1.25rem;
}

/* ── Main ── */
.admin-main {
  flex: 1;
  padding: 2rem 2.5rem;
  overflow-x: auto;
  min-width: 0;
}
.admin-content { max-width: 1300px; }
.admin-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #111;
  letter-spacing: -0.02em;
}
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.admin-page-header__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ── Stats ── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.admin-stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border-top: 3px solid #111;
}
.admin-stat-card__value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  line-height: 1;
}
.admin-stat-card__label {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Cards ── */
.admin-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.admin-card--compact { padding: 1rem; }
.admin-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #eee;
  gap: 1rem;
}
.admin-card__count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.02em;
}
.admin-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1rem;
}
.admin-card__header .admin-card__title { margin-bottom: 0; }

/* ── Table ── */
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
}
.admin-table th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
  background: #fafbfc;
}
.admin-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  color: #222;
  vertical-align: middle;
  font-size: 0.82rem;
}
.admin-table tr:hover td { background: #f7f9fc; }
.admin-table code {
  font-size: 0.72rem;
  color: #888;
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 3px;
}

/* Selected row highlight */
.admin-table .row-selected td { background: #f0f7ff; }

/* Check / thumbnail narrow columns */
.th-check, .td-check { width: 36px; text-align: center; padding: 0.6rem 0.4rem; }
.th-thumb, .td-thumb { width: 52px; padding: 5px; }
.td-thumb .product-thumb {
  width: 40px; height: 40px; object-fit: cover; border-radius: 4px;
  border: 1px solid #e5e7eb; display: block;
}
.td-thumb .no-thumb {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 0.85em; background: #fafbfc; border-radius: 4px;
  border: 1px solid #e5e7eb;
}
.th-actions, .td-actions { text-align: right; white-space: nowrap; }

.td-price {
  font-weight: 600; color: #b12704; white-space: nowrap; font-size: 0.82rem;
}
.td-meta { font-size: 0.72rem; color: #999; }

.product-title-link {
  font-weight: 600; color: #111; text-decoration: none; font-size: 0.83rem;
}
.product-title-link:hover { text-decoration: underline; color: #000; }
.asin-label { font-size: 0.72em; color: #999; background: none; padding: 0; }

.cat-badge {
  display: inline-block; padding: 2px 9px; border-radius: 3px;
  font-size: 0.72rem; font-weight: 600; background: #ede9fe; color: #6d28d9; white-space: nowrap;
}
.cat-badge--none { background: #f3f4f6; color: #999; }
.brand-badge {
  display: inline-block; padding: 2px 9px; border-radius: 3px;
  font-size: 0.72rem; font-weight: 600; background: #fce7f3; color: #be185d; white-space: nowrap;
}

/* ── Badges ── */
.admin-badge {
  display: inline-block; padding: 2px 10px; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; border-radius: 3px;
}
.admin-badge--active { background: #ecfdf5; color: #059669; }
.admin-badge--inactive { background: #f3f4f6; color: #999; }

/* ── Pagination ── */
.admin-pagination {
  display: flex; align-items: center; gap: 4px;
  padding: 1rem 1.25rem; border-top: 1px solid #eee; justify-content: center;
}
.admin-pagination__btn,
.admin-pagination__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 10px; border-radius: 4px;
  font-size: 0.8rem; color: #555; background: #f3f4f6;
  text-decoration: none; font-weight: 500; transition: all .1s;
}
.admin-pagination__btn:hover,
.admin-pagination__arrow:hover { background: #e5e7eb; color: #111; }
.admin-pagination__btn--active { background: #111; color: #fff; }
.admin-pagination__btn--active:hover { background: #333; color: #fff; }

/* ── Actions ── */
.admin-actions { white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.admin-actions form { display: inline; }

/* ── Empty ── */
.admin-empty {
  text-align: center; padding: 3rem 1rem; color: #999;
}
.admin-empty p { margin-bottom: 1rem; font-size: 0.95rem; }

/* ── Info panel ── */
.admin-info {
  background: #f9fafb; border-radius: 6px; padding: 1.25rem; margin-bottom: 1.5rem;
}
.admin-info h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.admin-info p { font-size: 0.85rem; color: #666; margin-bottom: 0.75rem; }
.csv-format {
  background: #1a1d23; color: #d4d4d4; padding: 0.75rem 1rem;
  border-radius: 4px; margin-bottom: 0.75rem; overflow-x: auto;
}
.csv-format code { font-size: 0.8rem; font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; }
.admin-info__list { list-style: disc; padding-left: 1.25rem; font-size: 0.85rem; color: #666; }
.admin-info__list li { margin-bottom: 0.25rem; }
.admin-info__list li strong { color: #333; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 16px; border-radius: 5px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: all .12s; white-space: nowrap; gap: 4px;
  letter-spacing: 0.02em;
}
.btn-sm { padding: 5px 11px; font-size: 0.75rem; border-radius: 4px; }
.btn-primary { background: #111; color: #fff; border-color: #111; }
.btn-primary:hover { background: #333; border-color: #333; color: #ffd24a; }
.btn-outline { background: #fff; color: #555; border-color: #ddd; }
.btn-outline:hover { background: #f5f5f5; border-color: #bbb; color: #111; }
.btn-secondary { background: #fff; color: #555; border-color: #ddd; }
.btn-secondary:hover { background: #f5f5f5; border-color: #bbb; color: #111; }
.btn-danger { background: #fff; color: #d33; border-color: #fcc; }
.btn-danger:hover { background: #fef2f2; border-color: #f88; color: #c00; }
.btn-warning { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.btn-trash { background: none; color: #999; border: none; padding: 4px 8px; font-size: 1rem; }
.btn-trash:hover { color: #d33; background: #fef2f2; border-radius: 4px; }

/* ── Forms ── */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 600; color: #444; margin-bottom: 4px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 5px;
  font-size: 0.85rem; color: #111; background: #fff; transition: border-color .12s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: #111; box-shadow: 0 0 0 2px rgba(0,0,0,.05);
}
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row > * { flex: 1; min-width: 180px; }
.form-actions { display: flex; gap: 0.5rem; margin-top: 1.5rem; }

.import-results {
  padding: 1rem;
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.import-results h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.import-errors {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--color-error);
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

/* ===== Responsive ===== */

/* Tablet (640px+) */
@media (min-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr 2fr;
  }

  .product-main__top {
    grid-template-columns: 1fr 1fr;
  }

  .product-detail__proscons {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter__form {
    flex-direction: row;
  }
}

/* Desktop (768px+) */
@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }

  .search-form {
    display: flex;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

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

  .shop-sidebar {
    display: block;
    position: static;
    background: none;
    padding: 0;
  }

  .shop-filters-toggle {
    display: none;
  }

  .sidebar-close {
    display: none;
  }

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

  .blog-sidebar {
    order: 0;
  }
}

/* Large desktop (1024px+) */
@media (min-width: 1024px) {
  .shop-layout {
    grid-template-columns: 260px 1fr;
  }

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

  .product-main__top {
    gap: 3rem;
  }
}

/* ===== Product Tabs ===== */
.product-tabs {
  margin-top: 1rem;
  border-top: 1px solid var(--color-gray-200);
  padding-top: 0.75rem;
}

.product-tabs__nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: none;
  margin-bottom: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-tabs__tab {
  padding: 0.6rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-rose-dark);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.product-tabs__tab:hover {
  background: #7a2340;
  color: var(--color-white);
}

.product-tabs__tab--active {
  background: #7a2340;
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(155, 45, 74, 0.35);
}

.product-tabs__panel {
  display: none;
  animation: tabFadeIn 0.3s ease;
}

.product-tabs__panel--active {
  display: block;
}

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

.empty-tab {
  padding: 2rem 0;
  text-align: center;
  color: var(--color-gray-400);
  font-style: italic;
  font-size: 0.9375rem;
}

/* ===== Product Excerpt ===== */
.product-detail__excerpt {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.25rem;
  background: #fff8e1;
  border: 1px solid #ffcc80;
  border-radius: var(--radius-md);
}

.product-detail__excerpt p {
  font-size: 0.9rem;
  color: var(--color-gray-700);
  line-height: 1.65;
  font-style: italic;
}

/* ===== Specs Table ===== */
.specs-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.specs-row {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-gray-100);
}

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

.specs-row:nth-child(even) {
  background: var(--color-gray-50);
}

.specs-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-gray-700);
  min-width: 120px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.specs-value {
  font-size: 0.9rem;
  color: var(--color-gray-600);
}

/* ===== Prose (rich text) ===== */
.prose {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-gray-600);
}

.prose p {
  margin-bottom: 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ===== Left-aligned section label ===== */
.section-label--left {
  text-align: left;
}

/* CTA refinements */
.product-detail__info .btn--amazon-cta {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

/* ===== Mobile: single-column layout with slide-out sidebar drawer ===== */
@media (max-width: 767px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .product-sidebar {
    display: none;
    position: static;
  }
  .product-sidebar--open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 950;
    background: var(--color-white);
    padding: 4.5rem 1.25rem 2rem;
    overflow-y: auto;
  }
  .sidebar-toggle {
    display: inline-flex;
  }
  .mobile-sidebar-bar {
    display: block;
    margin-bottom: 1rem;
  }
}
