/**
 * SMEG Design System — CSS Tokens
 * @see final/01_design_system.md
 */

:root {
  --smeg-cream: #faf7f2;
  --smeg-charcoal: #1a1a2e;
  --smeg-midnight: #16213e;
  --smeg-pastel-green: #a8d5ba;
  --rose-gold: #b76e79;
  --warm-ivory: #f5f0eb;
  --stainless-steel: #c0c0c0;
  --nickel: #8b8b8b;
  --cta-red: #e63946;
  --cta-red-hover: #c1121f;
  --pastel-pink: #f2c4ce;
  --pastel-blue: #a8dadc;
  --deep-forest: #2d6a4f;
  --primary: #3d6751;
  --secondary: #8c4b55;
  --primary-container: #a8d5ba;
  --on-primary-container: #345d48;
  --error: #ba1a1a;
  --surface-variant: #414943;

  --font-display: "Lalezar", serif;
  --font-body: "Vazirmatn", sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-section: 120px;
  --space-section-mobile: 64px;

  --max-width: 1440px;
  --gutter: 24px;
  --radius-pill: 100px;
  --radius-card: 16px;
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-height: 80px;
  --notice-height: 40px;
}

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

html {
  scroll-behavior: smooth;
}

body.smeg-theme {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--smeg-charcoal);
  background: var(--smeg-cream);
  direction: rtl;
  text-align: right;
}

body.smeg-theme.dark-mode {
  --smeg-cream: #0d0d1a;
  background: #0d0d1a;
  color: #faf7f2;
}

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

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

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

.skip-link:focus {
  position: fixed;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-md);
  background: var(--smeg-pastel-green);
  color: var(--smeg-charcoal);
  clip: auto;
  width: auto;
  height: auto;
}

/* Layout */
.smeg-container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.smeg-section {
  padding-block: var(--space-section);
}

@media (max-width: 768px) {
  .smeg-section {
    padding-block: var(--space-section-mobile);
  }
}

/* Typography */
.smeg-display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
}

.smeg-h1 { font-size: clamp(2rem, 5vw, 4rem); }
.smeg-h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.smeg-h3 { font-size: 1.375rem; }
.smeg-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.33;
}
.smeg-price {
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
}

/* Buttons */
.smeg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-luxury);
}

.smeg-btn--primary {
  background: var(--cta-red);
  color: #fff;
}
.smeg-btn--primary:hover {
  background: var(--cta-red-hover);
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(230, 57, 70, 0.3);
}

.smeg-btn--secondary {
  background: transparent;
  border: 1.5px solid var(--smeg-charcoal);
  color: var(--smeg-charcoal);
}
.smeg-btn--secondary:hover {
  background: var(--smeg-charcoal);
  color: #fff;
}

.smeg-btn--dark {
  background: var(--smeg-charcoal);
  color: #fff;
}
.smeg-btn--dark:hover {
  background: var(--primary);
}

/* Notice bar */
.smeg-notice {
  height: var(--notice-height);
  background: var(--smeg-charcoal);
  color: var(--warm-ivory);
  overflow: hidden;
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
}

.smeg-notice__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: smeg-marquee 25s linear infinite;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
}

@keyframes smeg-marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .smeg-notice__track { animation: none; }
}

/* Header */
.smeg-header {
  position: fixed;
  top: var(--notice-height);
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(192, 192, 192, 0.2);
  transition:
    top 0.35s var(--ease-luxury),
    box-shadow 0.4s var(--ease-luxury),
    background 0.4s var(--ease-luxury);
}

.smeg-header.is-scrolled {
  top: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

.smeg-header--no-notice {
  top: 0;
}

.smeg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.smeg-header__brand-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  min-height: 0;
}

.smeg-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--smeg-charcoal);
}

.smeg-header__logo img,
.smeg-header__logo .custom-logo {
  display: block;
  max-height: 48px;
  width: auto;
}

.smeg-nav {
  display: flex;
  align-items: center;
}

.smeg-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
  align-items: center;
}

.smeg-nav__list > li {
  display: flex;
  align-items: center;
  margin: 0;
}

@media (min-width: 1024px) {
  .smeg-nav__list {
    display: flex;
  }
}

.smeg-nav__list a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--surface-variant);
  transition: color 0.3s, border-color 0.3s;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  padding-block: 2px;
  border-bottom: 2px solid transparent;
}

.smeg-nav__link:hover,
.smeg-nav__link.is-active,
.smeg-nav__list a:hover,
.smeg-nav__list .current-menu-item > a {
  color: var(--primary);
  border-bottom-color: var(--cta-red);
}

.smeg-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.smeg-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--smeg-charcoal);
  transition: transform 0.2s;
  position: relative;
  line-height: 1;
}

.smeg-header__icon .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
}

.smeg-header__icon:hover {
  transform: scale(1.1);
}

.smeg-header__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  background: var(--error);
  color: #fff;
  font-size: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smeg-menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .smeg-menu-toggle { display: none; }
}

/* Mobile menu */
.smeg-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--smeg-charcoal);
  padding: var(--space-2xl) var(--gutter);
  flex-direction: column;
}

.smeg-mobile-nav.is-open {
  display: flex;
}

.smeg-mobile-nav__link {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  padding: var(--space-md) 0;
}

/* Main offset for fixed header */
.smeg-site-main {
}

.smeg-site-main--no-notice {
  padding-top: var(--header-height);
}

/* Product card */
.smeg-product-card {
  background: var(--warm-ivory);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
}

.smeg-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.smeg-product-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: var(--smeg-cream);
}

.smeg-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}

.smeg-product-card:hover .smeg-product-card__media img {
  transform: scale(1.05);
}

.smeg-product-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.smeg-product-card__category {
  color: var(--nickel);
}

.smeg-product-card__title {
  font-weight: 700;
  margin: 0;
}

.smeg-product-card__smart {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.smeg-product-card__smart-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
}

.smeg-product-card__smart-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--surface-variant);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smeg-product-card__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.smeg-product-card__swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s var(--ease-luxury), box-shadow 0.2s var(--ease-luxury);
}

.smeg-product-card__swatch:hover {
  transform: scale(1.12);
}

.smeg-product-card__swatch.is-active {
  border-color: var(--smeg-charcoal);
  box-shadow: 0 0 0 2px var(--warm-ivory), 0 0 0 4px var(--smeg-charcoal);
}

.smeg-product-card__price {
  color: var(--rose-gold);
  font-size: 1.25rem;
  margin-top: var(--space-xs);
}

.smeg-product-card__cta {
  width: 100%;
  margin-top: var(--space-sm);
  padding: 12px;
}

.smeg-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}

.smeg-badge--new {
  background: var(--smeg-charcoal);
  color: #fff;
}

.smeg-badge--sale {
  background: var(--cta-red);
  color: #fff;
}

/* Grid */
.smeg-grid {
  display: grid;
  gap: var(--gutter);
}

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

@media (min-width: 768px) {
  .smeg-grid--products { grid-template-columns: repeat(3, 1fr); }
}

/* Footer */
.smeg-footer {
  background: var(--smeg-charcoal);
  color: var(--warm-ivory);
  padding-block: var(--space-section) var(--space-xl);
}

.smeg-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

@media (min-width: 768px) {
  .smeg-footer__grid { grid-template-columns: repeat(4, 1fr); }
}

.smeg-footer__title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.smeg-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.smeg-footer__links li {
  margin-bottom: var(--space-sm);
}

.smeg-footer__links a {
  color: var(--stainless-steel);
  font-size: 14px;
  transition: color 0.3s;
}

.smeg-footer__links a:hover {
  color: var(--smeg-pastel-green);
}

.smeg-footer__bottom {
  border-top: 1px solid rgba(192, 192, 192, 0.1);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 12px;
  color: rgba(192, 192, 192, 0.6);
}

/* Toast */
.smeg-toast {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  z-index: 9999;
  background: var(--smeg-charcoal);
  color: #fff;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-card);
  transform: translateY(120%);
  transition: transform 0.4s var(--ease-luxury);
}

.smeg-toast.is-visible {
  transform: translateY(0);
}

/* Elementor widget wrappers */
.smeg-widget-hero,
.smeg-widget-trust,
.smeg-widget-categories,
.smeg-widget-carousel,
.smeg-widget-blog-grid {
  width: 100%;
}

/* Hero slider */
.smeg-widget-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.smeg-hero-slider__track {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.smeg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease-luxury), visibility 1s var(--ease-luxury);
}

.smeg-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.smeg-hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.45) 0%,
    rgba(26, 26, 46, 0.15) 50%,
    rgba(26, 26, 46, 0.35) 100%
  );
  pointer-events: none;
}

.smeg-hero-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) grayscale(20%);
}

.smeg-hero-slide__embed {
  overflow: hidden;
  pointer-events: none;
}

.smeg-hero-slide__embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 100vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
}

.smeg-hero-slider__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.smeg-hero-slider__title {
  color: #fff;
  max-width: 42rem;
  margin-bottom: 2rem;
  transition: opacity 0.4s var(--ease-luxury);
}

.smeg-hero-slider__title.is-fading,
.smeg-hero-slider__cta-primary.is-fading,
.smeg-hero-slider__cta-secondary.is-fading {
  opacity: 0;
}

.smeg-hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.smeg-hero-slider__cta-secondary {
  border-color: #fff;
  color: #fff;
}

.smeg-hero-slider__nav--arrows {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}

.smeg-hero-slider__arrow {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(26, 26, 46, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s var(--ease-luxury), border-color 0.3s var(--ease-luxury);
}

.smeg-hero-slider__arrow:hover,
.smeg-hero-slider__arrow:focus-visible {
  background: rgba(168, 213, 186, 0.25);
  border-color: var(--smeg-pastel-green);
}

.smeg-hero-slider__nav--dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.smeg-hero-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.3s var(--ease-luxury), background 0.3s var(--ease-luxury);
}

.smeg-hero-slider__dot.is-active,
.smeg-hero-slider__dot:hover,
.smeg-hero-slider__dot:focus-visible {
  background: var(--smeg-pastel-green);
  transform: scale(1.25);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

/* Image hotspot (Sicily storytelling) */
.smeg-image-hotspot {
  position: relative;
  width: 100%;
  margin-block: var(--space-section);
}

.smeg-image-hotspot--height-fixed .smeg-image-hotspot__frame {
  height: 819px;
}

@media (min-width: 768px) {
  .smeg-image-hotspot--height-fixed .smeg-image-hotspot__frame {
    height: 100vh;
    min-height: 600px;
  }
}

.smeg-image-hotspot--height-screen .smeg-image-hotspot__frame {
  height: 100vh;
  min-height: 480px;
}

.smeg-image-hotspot--height-auto .smeg-image-hotspot__frame {
  aspect-ratio: 16 / 9;
  height: auto;
}

.smeg-image-hotspot__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.smeg-image-hotspot__media,
.smeg-image-hotspot__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smeg-image-hotspot__placeholder {
  display: block;
  background: linear-gradient(135deg, var(--warm-ivory), var(--smeg-pastel-green));
  opacity: 0.5;
}

.smeg-image-hotspot__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  background: rgba(0, 0, 0, var(--smeg-hotspot-overlay, 0.3));
  pointer-events: none;
  z-index: 2;
}

.smeg-image-hotspot__title {
  margin: 0;
  max-width: 48rem;
  text-align: center;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.5;
  font-weight: 400;
}

.smeg-image-hotspot__spot {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
}

.smeg-image-hotspot__pulse {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s var(--ease-luxury);
}

.smeg-image-hotspot__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: smeg-hotspot-pulse 2s infinite;
  pointer-events: none;
}

.smeg-image-hotspot__pulse:hover,
.smeg-image-hotspot__pulse:focus-visible,
.smeg-image-hotspot__pulse.is-active {
  background: rgba(255, 255, 255, 0.55);
}

.smeg-image-hotspot__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
}

@keyframes smeg-hotspot-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.smeg-image-hotspot__tooltip {
  position: absolute;
  inset-inline-start: 50%;
  width: 12rem;
  padding: 1rem;
  text-align: right;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.25s var(--ease-luxury), visibility 0.25s var(--ease-luxury),
    transform 0.25s var(--ease-luxury);
  pointer-events: none;
}

.smeg-image-hotspot__tooltip--top {
  bottom: calc(100% + 1rem);
}

.smeg-image-hotspot__tooltip--bottom {
  top: calc(100% + 1rem);
}

.smeg-image-hotspot__spot:hover .smeg-image-hotspot__tooltip,
.smeg-image-hotspot__spot:focus-within .smeg-image-hotspot__tooltip,
.smeg-image-hotspot__tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.smeg-image-hotspot__tooltip-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--smeg-charcoal);
}

a.smeg-image-hotspot__tooltip-title:hover {
  color: var(--primary);
}

.smeg-image-hotspot__tooltip-desc {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--surface-variant);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .smeg-image-hotspot {
    margin-block: var(--space-section-mobile);
  }
}

/* Featured products showcase (Elementor) */
.smeg-featured-products__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-section);
}

.smeg-featured-products__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .smeg-featured-products__row {
    grid-template-columns: 1fr 1fr;
  }

  .smeg-featured-products__row--image-right .smeg-featured-products__media {
    order: 1;
  }

  .smeg-featured-products__row--image-right .smeg-featured-products__content {
    order: 2;
  }

  .smeg-featured-products__row--image-left .smeg-featured-products__media {
    order: 2;
  }

  .smeg-featured-products__row--image-left .smeg-featured-products__content {
    order: 1;
  }
}

.smeg-featured-products__content {
  text-align: right;
}

.smeg-featured-products__badge {
  display: block;
  margin-bottom: var(--space-md);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--rose-gold);
}

.smeg-featured-products__title {
  margin: 0 0 var(--space-lg);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--smeg-charcoal);
}

.smeg-featured-products__desc {
  margin: 0 0 var(--space-xl);
  color: var(--surface-variant);
  line-height: 1.8;
}

.smeg-featured-products__price-wrap {
  margin-bottom: var(--space-xl);
  text-align: right;
}

.smeg-featured-products__price-label {
  display: block;
  font-size: 12px;
  color: var(--nickel);
  margin-bottom: var(--space-xs);
}

.smeg-featured-products__price {
  display: block;
  font-size: 1.75rem;
  color: var(--primary);
}

.smeg-featured-products__cta {
  margin-top: var(--space-md);
}

.smeg-featured-products__media {
  position: relative;
  aspect-ratio: 1;
}

.smeg-featured-products__media-bg {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  transition: transform 0.7s var(--ease-luxury);
}

.smeg-featured-products__media-bg--tr {
  background: linear-gradient(to top right, var(--warm-ivory), #fff);
}

.smeg-featured-products__media-bg--bl {
  background: linear-gradient(to bottom left, var(--warm-ivory), #fff);
}

.smeg-featured-products__media:hover .smeg-featured-products__media-bg {
  transform: scale(0.95);
}

.smeg-featured-products__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3rem;
  transition: transform 0.7s var(--ease-luxury);
}

.smeg-featured-products__media:hover .smeg-featured-products__img {
  transform: scale(1.1);
}

.smeg-featured-products__img-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--smeg-pastel-green);
  opacity: 0.25;
  border-radius: 40px;
}

@media (max-width: 767px) {
  .smeg-featured-products__row--image-left .smeg-featured-products__media,
  .smeg-featured-products__row--image-right .smeg-featured-products__media {
    order: -1;
  }

  .smeg-featured-products__inner {
    gap: var(--space-section-mobile);
  }
}

/* Blog grid (magazine) */
.smeg-blog-grid {
  background: #fcf8ff;
}

.smeg-blog-grid__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .smeg-blog-grid__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.smeg-blog-grid__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--rose-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.smeg-blog-grid__eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--rose-gold);
  flex-shrink: 0;
}

.smeg-blog-grid__title {
  margin: 0;
}

.smeg-blog-grid__view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border: 1px solid var(--smeg-charcoal);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s var(--ease-luxury), color 0.3s var(--ease-luxury);
  flex-shrink: 0;
}

.smeg-blog-grid__view-all:hover {
  background: var(--smeg-charcoal);
  color: #fff;
}

.smeg-blog-grid__view-all .material-symbols-outlined {
  font-size: 1.125rem;
}

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

@media (min-width: 768px) {
  .smeg-blog-grid__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .smeg-blog-grid__grid {
    grid-template-columns: repeat(var(--smeg-blog-columns, 3), minmax(0, 1fr));
  }
}

/* Product carousel (Elementor + home trending) */
.smeg-product-carousel__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .smeg-product-carousel__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.smeg-product-carousel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--rose-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.smeg-product-carousel__eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--rose-gold);
  flex-shrink: 0;
}

.smeg-product-carousel__title {
  margin: 0;
}

.smeg-product-carousel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

.smeg-product-carousel__view-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border: 1px solid var(--smeg-charcoal);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s var(--ease-luxury), color 0.3s var(--ease-luxury);
}

.smeg-product-carousel__view-all:hover {
  background: var(--smeg-charcoal);
  color: #fff;
}

.smeg-product-carousel__view-all .material-symbols-outlined {
  font-size: 1.125rem;
}

.smeg-product-carousel__nav {
  display: flex;
  gap: var(--space-sm);
}

.smeg-product-carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(192, 192, 192, 0.35);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease-luxury), color 0.2s var(--ease-luxury), border-color 0.2s var(--ease-luxury);
}

.smeg-product-carousel__btn:hover {
  background: var(--smeg-charcoal);
  color: #fff;
  border-color: var(--smeg-charcoal);
}

.smeg-product-carousel__track {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  padding-bottom: var(--space-lg);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--smeg-pastel-green) transparent;
}

.smeg-product-carousel__track::-webkit-scrollbar {
  height: 4px;
}

.smeg-product-carousel__track::-webkit-scrollbar-thumb {
  background: var(--smeg-pastel-green);
  border-radius: 10px;
}

.smeg-product-carousel__slide {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: start;
  min-width: 0;
}

@media (min-width: 768px) {
  .smeg-product-carousel__slide {
    flex: 0 0 calc(
      (100% - (var(--smeg-carousel-columns, 4) - 1) * var(--gutter)) / var(--smeg-carousel-columns, 4)
    );
    max-width: calc(
      (100% - (var(--smeg-carousel-columns, 4) - 1) * var(--gutter)) / var(--smeg-carousel-columns, 4)
    );
  }
}

.smeg-blog-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease-luxury), box-shadow 0.5s var(--ease-luxury), border-color 0.5s var(--ease-luxury);
}

.smeg-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 26, 46, 0.05);
  border-color: #e8e5ff;
}

.smeg-blog-card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: var(--space-md);
}

.smeg-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
}

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

.smeg-blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--warm-ivory), var(--smeg-pastel-green));
  opacity: 0.5;
}

.smeg-blog-card__body {
  padding-inline: 8px;
  padding-bottom: 8px;
}

.smeg-blog-card__category {
  display: inline-block;
  color: var(--rose-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.smeg-blog-card__title {
  font-size: 1.5rem;
  margin: 0 0 12px;
  line-height: 1.3;
}

.smeg-blog-card__title a {
  color: inherit;
  transition: color 0.3s var(--ease-luxury);
}

.smeg-blog-card:hover .smeg-blog-card__title a {
  color: var(--primary);
}

.smeg-blog-card__excerpt {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--surface-variant);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smeg-blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  font-weight: 700;
}

.smeg-blog-card__link-text {
  border-bottom: 1px solid rgba(26, 26, 46, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease-luxury);
}

.smeg-blog-card__link:hover .smeg-blog-card__link-text {
  border-color: var(--smeg-charcoal);
}

.smeg-blog-card__link .material-symbols-outlined {
  font-size: 1.125rem;
  transition: transform 0.3s var(--ease-luxury);
}

.smeg-blog-card__link:hover .material-symbols-outlined {
  transform: translateX(-4px);
}

/* Color collections carousel */
.smeg-color-collections {
  padding-block: var(--space-section-mobile);
  overflow: hidden;
}

@media (min-width: 768px) {
  .smeg-color-collections {
    padding-block: var(--space-section);
  }
}

.smeg-color-collections__header {
  text-align: center;
  max-width: 42rem;
  margin-bottom: var(--space-xl);
}

.smeg-color-collections__eyebrow {
  display: block;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.smeg-color-collections__title {
  margin: 0 0 var(--space-lg);
  color: var(--smeg-charcoal);
}

.smeg-color-collections__intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--surface-variant);
}

.smeg-color-collections__stage {
  position: relative;
}

.smeg-color-collections__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.smeg-color-collections__track::-webkit-scrollbar {
  display: none;
}

.smeg-color-collections__slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: min(900px, 85vh);
  display: flex;
  align-items: center;
}

.smeg-color-collections__slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.smeg-color-collections__curve {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.smeg-color-collections__slide-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: center;
  padding-block: var(--space-xl);
}

@media (min-width: 1024px) {
  .smeg-color-collections__slide-inner {
    flex-direction: row-reverse;
    align-items: center;
  }
}

.smeg-color-collections__visual {
  width: 100%;
}

@media (min-width: 1024px) {
  .smeg-color-collections__visual {
    width: 35%;
    flex-shrink: 0;
  }
}

.smeg-color-collections__lifestyle-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smeg-color-collections__lifestyle {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.smeg-color-collections__lifestyle--organic-a {
  border-radius: 100px 40px 100px 40px;
  filter: grayscale(15%);
}

.smeg-color-collections__lifestyle--organic-b {
  border-radius: 40px 100px 40px 100px;
}

.smeg-color-collections__lifestyle--organic-c {
  border-radius: 80px 40px 80px 40px;
}

.smeg-color-collections__lifestyle--organic-d {
  border-radius: 120px 60px 120px 60px;
}

.smeg-color-collections__lifestyle--rounded {
  border-radius: var(--radius-card);
}

.smeg-color-collections__lifestyle--placeholder {
  background: linear-gradient(135deg, var(--smeg-pastel-green), var(--warm-ivory));
  opacity: 0.35;
}

.smeg-color-collections__floating {
  position: absolute;
  bottom: -1.5rem;
  inset-inline-end: -1rem;
  width: 11rem;
  z-index: 2;
  display: none;
}

@media (min-width: 768px) {
  .smeg-color-collections__floating {
    display: block;
  }
}

.smeg-color-collections__content {
  width: 100%;
  text-align: right;
}

@media (min-width: 1024px) {
  .smeg-color-collections__content {
    width: 65%;
  }
}

.smeg-color-collections__set-title {
  margin: 0 0 var(--space-md);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 900;
}

.smeg-color-collections__set-desc {
  margin: 0 0 var(--space-xl);
  max-width: 36rem;
  margin-inline-start: auto;
  font-size: 18px;
  line-height: 1.75;
  color: var(--surface-variant);
}

.smeg-color-collections__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-pill);
  font-weight: 500;
  color: #fff;
  background: var(--slide-accent, var(--primary));
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s var(--ease-luxury), transform 0.3s var(--ease-luxury);
}

.smeg-color-collections__cta:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.smeg-color-collections__cta--charcoal {
  background: var(--smeg-charcoal);
}

.smeg-color-collections__cta--primary {
  background: var(--primary);
}

.smeg-color-collections__cta--secondary {
  background: var(--secondary);
}

.smeg-color-collections__cta .material-symbols-outlined {
  font-size: 1.125rem;
}

.smeg-color-collections__products--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.smeg-color-collections__products--grid .smeg-color-collections__product {
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .smeg-color-collections__products--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.smeg-color-collections__products--scroll {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  padding-bottom: var(--space-md);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.smeg-color-collections__products--scroll::-webkit-scrollbar {
  display: none;
}

.smeg-color-collections__product {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.smeg-color-collections__products--scroll .smeg-color-collections__product {
  flex: 0 0 clamp(12rem, 65%, 15rem);
  min-width: clamp(12rem, 65%, 15rem);
  scroll-snap-align: start;
  padding: 1rem;
  border-radius: 1rem;
}

@media (min-width: 640px) {
  .smeg-color-collections__products--scroll .smeg-color-collections__product {
    flex: 0 0 42%;
    min-width: 42%;
  }
}

@media (min-width: 1024px) {
  .smeg-color-collections__products--scroll .smeg-color-collections__product {
    flex: 0 0 28%;
    min-width: 28%;
  }
}

.smeg-color-collections__product:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.smeg-color-collections__product--compact {
  padding: 0.75rem;
  border-radius: 0.75rem;
}

.smeg-color-collections__product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.smeg-color-collections__product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12rem;
  margin-bottom: var(--space-md);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--warm-ivory) 60%, transparent);
  overflow: hidden;
  transition: background 0.3s var(--ease-luxury);
}

.smeg-color-collections__products--scroll .smeg-color-collections__product-media {
  height: 13rem;
  margin-bottom: var(--space-sm);
  border-radius: 0.75rem;
}

.smeg-color-collections__product--compact .smeg-color-collections__product-media {
  height: 5.5rem;
  margin-bottom: 0.375rem;
  border-radius: 0.5rem;
}

.smeg-color-collections__product:hover .smeg-color-collections__product-media {
  background: color-mix(in srgb, var(--warm-ivory) 85%, transparent);
}

.smeg-color-collections__product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease-luxury);
}

.smeg-color-collections__product:hover .smeg-color-collections__product-media img {
  transform: scale(1.06);
}

.smeg-color-collections__product-title {
  margin: 0 0 var(--space-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.smeg-color-collections__product-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.2s var(--ease-luxury);
}

.smeg-color-collections__product-title a:hover {
  opacity: 0.75;
}

.smeg-color-collections__product-subtitle {
  margin: 0 0 var(--space-sm);
  font-size: 12px;
  line-height: 1.4;
  color: var(--surface-variant);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.smeg-color-collections__products--scroll .smeg-color-collections__product-title {
  font-size: 14px;
}

.smeg-color-collections__product--compact .smeg-color-collections__product-title {
  margin-bottom: 0.25rem;
  font-size: 12px;
  line-height: 1.35;
}

.smeg-color-collections__product--compact .smeg-color-collections__product-title a {
  -webkit-line-clamp: 1;
}

.smeg-color-collections__product-price {
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--rose-gold);
}

.smeg-color-collections__products--scroll .smeg-color-collections__product-price {
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.smeg-color-collections__product--compact .smeg-color-collections__product-price {
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
}

.smeg-color-collections__product-btn {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 0.625rem 0.75rem;
  border: none;
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  color: var(--slide-accent, var(--primary));
  background: color-mix(in srgb, var(--slide-accent, var(--primary)) 12%, transparent);
  transition: background 0.25s var(--ease-luxury), color 0.25s var(--ease-luxury), transform 0.2s var(--ease-luxury);
}

.smeg-color-collections__products--scroll .smeg-color-collections__product-btn {
  padding: 0.5rem 0.625rem;
  border-radius: 0.625rem;
  font-size: 12px;
}

.smeg-color-collections__product--compact .smeg-color-collections__product-btn {
  padding: 0.375rem;
  font-size: 11px;
}

.smeg-color-collections__product-btn:hover,
.smeg-color-collections__product-btn:focus-visible {
  background: var(--slide-accent, var(--primary));
  color: #fff;
  transform: translateY(-1px);
}

.smeg-color-collections__nav {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: none;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  transition: border-radius 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

@media (min-width: 768px) {
  .smeg-color-collections__nav {
    display: flex;
  }
}

.smeg-color-collections__nav:hover,
.smeg-color-collections__nav:focus-visible {
  border-radius: 50%;
  transform: translateY(-50%) scale(1.1);
  background: var(--primary);
  color: #fff;
}

.smeg-color-collections__nav--prev {
  inset-inline-start: 1rem;
}

.smeg-color-collections__nav--next {
  inset-inline-end: 1rem;
}

.smeg-color-collections__progress-wrap {
  margin-top: 2.5rem;
}

.smeg-color-collections__progress-track {
  width: 100%;
  height: 4px;
  background: color-mix(in srgb, var(--stainless-steel) 30%, transparent);
  border-radius: 999px;
  overflow: hidden;
}

.smeg-color-collections__progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.smeg-color-collections__progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-md);
  gap: var(--space-sm);
}

.smeg-color-collections__progress-label {
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surface-variant);
  cursor: pointer;
  transition: color 0.25s var(--ease-luxury);
}

.smeg-color-collections__progress-label.is-active,
.smeg-color-collections__progress-label:hover,
.smeg-color-collections__progress-label:focus-visible {
  color: var(--primary);
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--smeg-pastel-green);
  outline-offset: 2px;
}
