/* ==========================================================================
   RED TIM / РЫЖИЙ ТИМ — ULTRA-PREMIUM DESIGN SYSTEM
   Base Resets, Custom Properties & Premium Styles (CSS Variables)
   ========================================================================== */

:root {
  /* Colors - Clay Terracotta, Forest Pine, Warm Sand */
  --rt-primary: #D47A5B;
  --rt-primary-hover: #C2674A;
  --rt-primary-soft: #FDF1EC;
  --rt-on-primary: #FFFFFF;
  
  --rt-secondary: #1E3A34;
  --rt-secondary-hover: #152A24;
  --rt-secondary-soft: #EAF2EE;
  --rt-on-secondary: #FFFFFF;
  
  --rt-accent: #E29F52;
  --rt-accent-hover: #D18E3F;
  
  --rt-bg: #FAF6F0;
  --rt-on-background: #1D2622;
  
  --rt-surface: #FFFFFF;
  --rt-on-surface: #1D2622;
  --rt-surface-low: #F3EFE9;
  
  --rt-outline: rgba(29, 38, 34, 0.08);
  --rt-outline-strong: rgba(29, 38, 34, 0.15);
  
  --rt-success: #1E3A34;
  --rt-warning: #E29F52;
  --rt-error: #C1544E;
  
  --rt-badge-new: #D47A5B;
  --rt-badge-hit: #C1544E;
  --rt-badge-fop: #1E3A34;
  --rt-focus-ring: #D47A5B;
  
  /* Fonts */
  --rt-font-display: "Onest", system-ui, -apple-system, sans-serif;
  --rt-font-body: "Manrope", system-ui, -apple-system, sans-serif;
  
  /* Radii */
  --rt-radius-xs: 8px;
  --rt-radius-sm: 12px;
  --rt-radius-md: 20px;
  --rt-radius-lg: 32px;
  --rt-radius-xl: 48px;
  --rt-radius-pill: 9999px;
  
  /* Spacing & vertical rhythm */
  --rt-container: 1280px;
  --rt-section-y: clamp(4rem, 8vw, 6.5rem);
  --rt-section-y-sm: clamp(3rem, 6vw, 4.5rem);
  --rt-section-gap: clamp(2.5rem, 5vw, 3.5rem);
  --rt-stack-sm: 1.25rem;
  --rt-stack-md: 2rem;
  --rt-stack-lg: 3rem;
  --rt-stack-xl: 4rem;
  --rt-bento-gap: 24px;
  --rt-card-inner-gap: 20px;
  --rt-card-footer-gap: 24px;
  --rt-card-padding: 32px;
  --rt-grid-gap: 32px;
  --rt-radius-card: 24px;
  --rt-card-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rt-card-lift: -8px;
  --rt-card-shadow-hover: 0 12px 40px rgba(29, 38, 34, 0.12);
  --rt-accent-soft: rgba(212, 122, 91, 0.15);
  --rt-accent-border: rgba(212, 122, 91, 0.35);
  --rt-text-muted: rgba(29, 38, 34, 0.68);
  --rt-display-hero-font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  --rt-headline-section-font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  /* Aliases (legacy token names from DESIGN.md export) */
  --rt-display-hero.fontSize: var(--rt-display-hero-font-size);
  --rt-headline-section.fontSize: var(--rt-headline-section-font-size);
  --rt-shadow-card: 0 10px 30px rgba(29, 38, 34, 0.05), 0 2px 8px rgba(29, 38, 34, 0.02);
  --rt-shadow-hover: 0 24px 54px rgba(29, 38, 34, 0.12), 0 6px 16px rgba(29, 38, 34, 0.04);
  --rt-shadow-modal: 0 32px 72px rgba(29, 38, 34, 0.18);
  --rt-shadow-header: 0 4px 32px rgba(29, 38, 34, 0.03);
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--rt-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rt-on-background);
  background-color: var(--rt-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rt-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--rt-primary-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--rt-focus-ring);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--rt-container));
  margin-inline: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Topbar */
.topbar {
  background-color: var(--rt-secondary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.65rem 0;
}

.topbar a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: #fff;
  text-decoration: none;
}

.topbar__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.topbar__social {
  display: flex;
  gap: 0.75rem;
}

.social-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-dot:hover {
  background-color: var(--rt-primary);
  transform: translateY(-2px);
}

/* Site Header */
.site-header {
  background-color: var(--rt-surface);
  border-bottom: 1px solid var(--rt-outline);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--rt-shadow-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--rt-on-background);
}

.logo:hover {
  color: var(--rt-primary);
  text-decoration: none;
}

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rt-primary), var(--rt-accent));
  display: grid;
  place-items: center;
  font-family: var(--rt-font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(212, 122, 91, 0.2);
}

.logo__text {
  font-family: var(--rt-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.nav-main {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

.nav-main a {
  color: var(--rt-on-background);
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--rt-primary);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-sm);
  background-color: var(--rt-surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}

.icon-btn:hover {
  border-color: var(--rt-primary);
  background-color: var(--rt-primary-soft);
  color: var(--rt-primary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--rt-radius-pill);
  font-family: var(--rt-font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--rt-primary);
  color: var(--rt-on-primary);
  box-shadow: 0 4px 14px rgba(212, 122, 91, 0.25);
}

.btn--primary:hover {
  background-color: var(--rt-primary-hover);
  box-shadow: 0 6px 20px rgba(212, 122, 91, 0.35);
  color: var(--rt-on-primary);
}

.btn--secondary {
  background-color: var(--rt-secondary);
  color: var(--rt-on-secondary);
  box-shadow: 0 4px 14px rgba(30, 58, 52, 0.15);
}

.btn--secondary:hover {
  background-color: var(--rt-secondary-hover);
  box-shadow: 0 6px 20px rgba(30, 58, 52, 0.25);
  color: var(--rt-on-secondary);
}

.btn--purple {
  background-color: #5C4A3D; /* Deep Walnut instead of Purple for premium nature play */
  color: #fff;
  box-shadow: 0 4px 14px rgba(92, 74, 61, 0.15);
}

.btn--purple:hover {
  background-color: #43352B;
  box-shadow: 0 6px 20px rgba(92, 74, 61, 0.25);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--rt-primary);
  color: var(--rt-primary);
}

.btn--outline:hover {
  background-color: var(--rt-primary-soft);
}

.btn--ghost {
  background-color: var(--rt-surface-low);
  color: var(--rt-on-background);
}

.btn--ghost:hover {
  background-color: var(--rt-outline-strong);
}

.btn--sm {
  min-height: 40px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   Hero & Interactive Carousels
   ========================================================================== */

.hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--rt-grid-gap);
  align-items: start;
}

.hero__copy {
  min-width: 0;
}

.hero h1 {
  font-family: var(--rt-font-display);
  font-size: var(--rt-display-hero-font-size);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--rt-secondary);
  margin: 0 0 1.25rem;
}

.hero__answer {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--rt-text-muted);
  max-width: 54ch;
  margin: 0 0 2rem;
}

.hero__cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 0;
}

.hero__cta > .btn {
  width: 100%;
}

.hero__media {
  border-radius: var(--rt-radius-lg);
  overflow: hidden;
  box-shadow: var(--rt-shadow-hover);
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--rt-surface-low);
  border: 1px solid var(--rt-outline);
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 12s ease;
}

.hero__media:hover img {
  transform: scale(1.08);
}

/* Carousel controls / indicators */
.slider-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--rt-outline-strong);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.is-active {
  background-color: var(--rt-primary);
  width: 48px;
}

/* Homepage trust strip */
.home-trust {
  padding: 24px 0;
  background: var(--rt-surface);
  border-block: 1px solid var(--rt-outline);
}

.home-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .home-trust__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.home-trust__item {
  text-align: center;
  padding: 8px 4px;
}

.home-trust__item strong {
  display: block;
  font-family: var(--rt-font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--rt-secondary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.home-trust__item span {
  font-size: 0.8125rem;
  color: var(--rt-text-muted);
  line-height: 1.35;
}

/* Audience — три отдельные карточки в общей сетке */
.audience-section {
  padding-block: var(--rt-section-y-sm);
}

.audience-grid {
  margin-top: 0;
}

.rt-surface-card--action {
  cursor: default;
}

.rt-surface-card--action[data-segment='b2g']::after { background: var(--rt-badge-fop); }
.rt-surface-card--action[data-segment='b2b']::after { background: var(--rt-accent); }
.rt-surface-card--action[data-segment='b2c']::after { background: var(--rt-primary); }

.rt-surface-card--action .rt-surface-card__body {
  text-align: center;
}

.rt-surface-card--action .rt-badge {
  align-self: center;
}

.rt-surface-card--action h3 {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
}

.rt-surface-card__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rt-text-muted);
  text-align: center;
}

.rt-surface-card--action .rt-surface-card__footer {
  border-top: 1px solid var(--rt-outline);
  padding-top: var(--rt-card-footer-gap);
}

.rt-surface-card--action .btn--block {
  width: 100%;
  max-width: 240px;
}

/* Card System v1 — rt-surface-card (premium interactions, sto-tvk pattern) */
.card-grid,
.features {
  display: grid;
  gap: var(--rt-bento-gap);
  grid-template-columns: 1fr;
  align-items: stretch;
}

.rt-surface-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--rt-surface);
  border: 1px solid var(--rt-outline-strong);
  border-radius: 12px;
  padding: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.35s var(--rt-card-ease),
    box-shadow 0.35s var(--rt-card-ease),
    border-color 0.35s var(--rt-card-ease);
}

.rt-surface-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--rt-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--rt-card-ease);
  z-index: 2;
}

.rt-surface-card:hover,
.rt-surface-card:focus-visible {
  transform: translateY(var(--rt-card-lift));
  border-color: var(--rt-accent-border);
  box-shadow: var(--rt-card-shadow-hover);
  outline: none;
}

.rt-surface-card:hover::after,
.rt-surface-card:focus-visible::after {
  transform: scaleX(1);
}

.rt-surface-card:focus-visible {
  outline: 2px solid var(--rt-focus-ring);
  outline-offset: 3px;
}

.rt-surface-card--photo {
  padding: 0;
  overflow: hidden;
}

.rt-surface-card__media {
  aspect-ratio: 16 / 10;
  background: var(--rt-surface-low);
  overflow: hidden;
}

.rt-surface-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.rt-surface-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--rt-card-ease);
}

.rt-surface-card:hover .rt-surface-card__media img,
.rt-surface-card:focus-visible .rt-surface-card__media img {
  transform: scale(1.06);
}

.rt-surface-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  gap: var(--rt-card-inner-gap);
}

.rt-surface-card--photo .rt-surface-card__body {
  padding: 24px;
}

.rt-surface-card__eyebrow,
.rt-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  margin: 0;
  background: var(--rt-accent-soft);
  border: 1px solid var(--rt-accent-border);
  color: var(--rt-primary-hover);
  pointer-events: none;
}

.rt-surface-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-family: var(--rt-font-display);
  font-weight: 700;
  color: var(--rt-secondary);
  line-height: 1.35;
  transition: color 0.35s var(--rt-card-ease);
}

.rt-surface-card:hover h3,
.rt-surface-card:focus-visible h3 {
  color: var(--rt-primary-hover);
}

.rt-surface-card p:not(.rt-surface-card__hint) {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--rt-text-muted);
  line-height: 1.6;
  flex: 1;
}

.rt-surface-card__footer {
  margin-top: auto;
  padding-top: var(--rt-card-footer-gap);
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--rt-outline);
}

.rt-surface-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rt-primary);
  transition: color 0.3s ease, gap 0.3s var(--rt-card-ease);
}

.rt-surface-card:hover .rt-surface-card__link,
.rt-surface-card:focus-visible .rt-surface-card__link {
  color: var(--rt-primary-hover);
  gap: 10px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--rt-card-ease), transform 0.6s var(--rt-card-ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .rt-surface-card,
  .rt-surface-card::after,
  .rt-surface-card__media img {
    transition: none;
  }

  .rt-surface-card:hover {
    transform: none;
  }
}

@media (min-width: 768px) {
  .rt-surface-card__body,
  .rt-surface-card--photo .rt-surface-card__body {
    padding: 32px;
    gap: 24px;
  }

  .rt-surface-card__footer,
  .rt-surface-card--action .rt-surface-card__footer {
    padding-top: 28px;
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding-block: var(--rt-section-y);
}

.section > .container > .section__title:first-child {
  margin-top: 0;
}

.section__title {
  font-family: var(--rt-font-display);
  font-size: var(--rt-headline-section-font-size);
  font-weight: 800;
  text-align: center;
  color: var(--rt-secondary);
  margin: 0 0 var(--rt-stack-sm);
  letter-spacing: -0.02em;
}

.section__sub {
  text-align: center;
  color: var(--rt-text-muted);
  max-width: 60ch;
  margin: 0 auto var(--rt-section-gap);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ==========================================================================
   Catalog, Sidebar, Product Grid
   ========================================================================== */

.catalog-layout {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 var(--rt-section-y);
}

.sidebar {
  background-color: var(--rt-surface);
  border-radius: var(--rt-radius-md);
  border: 1px solid var(--rt-outline);
  padding: 2rem;
  box-shadow: var(--rt-shadow-card);
  align-self: start;
}

.sidebar h2 {
  font-family: var(--rt-font-display);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rt-primary);
  margin: 2rem 0 0.75rem;
}

.sidebar h2:first-of-type {
  margin-top: 0;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar li a {
  color: var(--rt-on-background);
  font-size: 0.9375rem;
  font-weight: 500;
  display: block;
  padding: 0.25rem 0;
  transition: all 0.2s ease;
}

.sidebar li a:hover,
.sidebar li a strong {
  color: var(--rt-primary);
  transform: translateX(3px);
  display: inline-block;
}

.search-field {
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  background-color: var(--rt-surface-low);
  color: var(--rt-on-background);
  transition: all 0.25s ease;
  margin-bottom: 1.5rem;
}

.search-field:focus {
  background-color: var(--rt-surface);
  border-color: var(--rt-primary);
  outline: none;
}

.product-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.product-card {
  background-color: var(--rt-surface);
  border: 1.5px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--rt-shadow-card);
  position: relative;
}

.product-card:hover {
  box-shadow: var(--rt-shadow-hover);
  transform: translateY(-12px) scale(1.025);
  border-color: var(--rt-primary);
}

.product-card:focus-within {
  outline: 2px solid var(--rt-focus-ring);
  outline-offset: 4px;
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background-color: var(--rt-surface-low);
  overflow: hidden;
  display: block;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.05);
}

.product-card__badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.badge {
  font-family: var(--rt-font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--rt-radius-pill);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--rt-outline);
  color: var(--rt-secondary);
}

.badge--fop {
  background-color: var(--rt-secondary-soft);
  color: var(--rt-secondary);
  border-color: transparent;
}

.product-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__sku {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rt-text-muted);
  margin: 0 0 0.35rem;
  letter-spacing: 0.05em;
}

.product-card h3 {
  font-family: var(--rt-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.35;
  color: var(--rt-secondary);
}

.product-card h3 a {
  color: inherit;
}

.product-card__price {
  font-family: var(--rt-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rt-secondary);
  margin: auto 0 1.25rem;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ==========================================================================
   Product Detail Page
   ========================================================================== */

.product-card__img-wrap {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-page__breadcrumb {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rt-text-muted);
  margin-bottom: 2rem;
}

.product-page__h1 {
  font-family: var(--rt-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 0.75rem;
  color: var(--rt-secondary);
}

.product-page__h2 {
  font-family: var(--rt-font-display);
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--rt-secondary);
}

.product-page__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
}

.product-page__back {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.product-page {
  padding: 3rem 0 var(--rt-section-y);
}

.product-detail {
  display: grid;
  gap: var(--rt-grid-gap);
}

.product-gallery {
  background-color: var(--rt-surface);
  border-radius: var(--rt-radius-lg);
  overflow: hidden;
  border: 1px solid var(--rt-outline);
  aspect-ratio: 4/3;
  box-shadow: var(--rt-shadow-card);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-family: var(--rt-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--rt-secondary);
  margin: 0 0 0.75rem;
}

.product-info__answer {
  background-color: var(--rt-surface-low);
  border-left: 4px solid var(--rt-primary);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0 var(--rt-radius-sm) var(--rt-radius-sm) 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 2rem 0;
}

.spec-table th,
.spec-table td {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rt-outline);
  text-align: left;
}

.spec-table th {
  color: var(--rt-text-muted);
  font-weight: 600;
  width: 40%;
}

.spec-table td {
  color: var(--rt-on-background);
  font-weight: 500;
}

/* Marketplace Modal overlay block inside product column */
.marketplace-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background-color: var(--rt-primary-soft);
  border-radius: var(--rt-radius-sm);
  border: 1px solid var(--rt-outline);
}

/* FAQs inside product column */
details {
  background-color: var(--rt-surface);
  border: 1px solid var(--rt-outline);
  border-radius: var(--rt-radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

details[open] {
  border-color: var(--rt-outline-strong);
  box-shadow: var(--rt-shadow-card);
}

summary {
  cursor: pointer;
  font-family: var(--rt-font-display);
  font-weight: 700;
  color: var(--rt-secondary);
  user-select: none;
  list-style-position: outside;
}

details p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--rt-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Trust Strip / Awards
   ========================================================================== */

.trust-strip {
  background-color: var(--rt-secondary);
  color: #fff;
  border-radius: var(--rt-radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--rt-shadow-hover);
}

.trust-strip .section__title {
  color: #fff;
}

.trust-strip p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 60ch;
  margin-inline: auto;
  font-size: 1.05rem;
}

.trust-strip__awards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.trust-strip__awards span {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1.5rem;
  border-radius: var(--rt-radius-pill);
  font-family: var(--rt-font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Awards page & homepage carousel
   ========================================================================== */

.section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rt-primary);
  margin: 0 0 0.75rem;
}

.section__title--left {
  text-align: left;
  margin-inline: 0;
}

.section--tight {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.awards-hero {
  background: linear-gradient(180deg, var(--rt-surface-low) 0%, var(--rt-bg) 100%);
}

.awards-hero__title {
  font-family: var(--rt-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--rt-secondary);
  margin: 0 0 1rem;
  max-width: 18ch;
}

.awards-hero__lead {
  color: var(--rt-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0 0 2rem;
}

.awards-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 720px;
}

.awards-stats__item {
  background: var(--rt-surface);
  border: 1px solid var(--rt-outline);
  border-radius: var(--rt-radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--rt-shadow-card);
}

.awards-stats__item strong {
  display: block;
  font-family: var(--rt-font-display);
  font-size: 1.5rem;
  color: var(--rt-secondary);
  margin-bottom: 0.25rem;
}

.awards-stats__item span {
  font-size: 0.875rem;
  color: var(--rt-text-muted);
}

/* Homepage awards showcase (Variant B: bento grid) */
.awards-showcase {
  position: relative;
  background: linear-gradient(180deg, var(--rt-surface-low) 0%, var(--rt-bg) 100%);
}

.awards-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 122, 91, 0.08), transparent 70%);
  pointer-events: none;
}

.awards-showcase .container {
  position: relative;
  z-index: 1;
}

.awards-showcase__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: var(--rt-section-gap);
}

@media (min-width: 768px) {
  .awards-showcase__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.awards-showcase__stat {
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--rt-shadow-card);
}

.awards-showcase__stat strong {
  display: block;
  font-family: var(--rt-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--rt-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.awards-showcase__stat span {
  font-size: 0.8125rem;
  color: var(--rt-text-muted);
  line-height: 1.35;
}

.awards-bento {
  display: grid;
  gap: var(--rt-bento-gap, 1.25rem);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .awards-bento {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto auto;
  }

  .awards-bento__item--hero {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .awards-bento__item--znai {
    grid-column: 2;
    grid-row: 1;
  }

  .awards-bento__item--toys {
    grid-column: 2;
    grid-row: 2;
  }

  .awards-bento__item--wide {
    grid-column: 1 / -1;
    grid-row: 3;
    flex-direction: row;
    align-items: stretch;
  }

  .awards-bento__item--gisp .awards-bento__stat {
    flex: 0 0 clamp(148px, 22%, 200px);
  }
}

.awards-bento__item {
  display: flex;
  flex-direction: column;
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-lg);
  overflow: hidden;
  box-shadow: var(--rt-shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.awards-bento__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--rt-shadow-hover);
  border-color: var(--rt-primary);
}

.awards-bento__item--hero {
  border-color: rgba(212, 122, 91, 0.35);
  box-shadow: 0 20px 50px rgba(212, 122, 91, 0.1), var(--rt-shadow-card);
}

.awards-bento__media {
  position: relative;
  background: var(--rt-surface-low);
  overflow: hidden;
}

.awards-bento__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.awards-bento__item--hero .awards-bento__media {
  aspect-ratio: 3 / 4;
  min-height: 260px;
}

.awards-bento__item:not(.awards-bento__item--hero):not(.awards-bento__item--wide) .awards-bento__media {
  aspect-ratio: 4 / 3;
}

.awards-bento__media--compact {
  aspect-ratio: auto;
  flex: 0 0 42%;
  min-height: 180px;
}

.awards-bento__item--gisp {
  min-height: 0;
}

.awards-bento__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem 1rem;
  background: linear-gradient(145deg, var(--rt-secondary) 0%, #2f524e 100%);
  color: #fff;
  text-align: center;
}

.awards-bento__stat strong {
  font-family: var(--rt-font-display);
  font-size: clamp(2.75rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.awards-bento__stat span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
  line-height: 1.2;
  white-space: nowrap;
}

.awards-bento__item--gisp .awards-bento__stat {
  flex-shrink: 0;
  padding: 1.5rem 1rem;
}

.awards-bento__item--gisp .awards-bento__stat span {
  font-size: clamp(0.5625rem, 1.8vw, 0.6875rem);
  letter-spacing: 0.03em;
}

.awards-bento__item--gisp .awards-bento__body {
  justify-content: center;
  padding: 24px;
  gap: var(--rt-card-inner-gap);
  text-align: center;
  align-items: center;
}

.awards-bento__item--gisp .awards-bento__title,
.awards-bento__item--gisp .awards-bento__desc {
  text-align: center;
}

.awards-bento__item--gisp .awards-bento__desc {
  margin: 0;
}

@media (max-width: 767px) {
  .awards-bento__item--wide:not(.awards-bento__item--gisp) {
    flex-direction: column;
  }

  .awards-bento__item--gisp {
    flex-direction: row;
  }

  .awards-bento__item--gisp .awards-bento__stat {
    flex: 0 0 clamp(120px, 36%, 152px);
    padding: 1.25rem 0.625rem;
  }

  .awards-bento__item--gisp .awards-bento__stat strong {
    font-size: 2.25rem;
  }

  .awards-bento__item--gisp .awards-bento__stat span {
    font-size: clamp(0.5rem, 2.4vw, 0.625rem);
  }

  .awards-bento__media--compact {
    flex: none;
    aspect-ratio: 16 / 9;
  }
}

.awards-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.awards-bento__item:hover .awards-bento__media img {
  transform: scale(1.03);
}

.awards-bento__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--rt-card-inner-gap);
}

.awards-bento__body--wide {
  justify-content: center;
}

.awards-bento__badge {
  align-self: flex-start;
  background: var(--rt-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--rt-radius-pill);
  margin: 0;
}

.awards-bento__badge--accent {
  background: var(--rt-accent);
}

.awards-bento__badge--forest {
  background: var(--rt-secondary);
}

.awards-bento__title {
  font-family: var(--rt-font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  color: var(--rt-secondary);
  margin: 0;
  line-height: 1.35;
}

.awards-bento__item--hero .awards-bento__title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

.awards-bento__desc {
  font-size: 0.875rem;
  color: var(--rt-text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.awards-bento__footer {
  margin-top: auto;
  padding-top: var(--rt-card-footer-gap);
  border-top: 1px solid var(--rt-outline);
  display: flex;
  justify-content: center;
  align-items: center;
}

.awards-bento__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rt-primary);
  transition: color 0.3s ease, gap 0.3s var(--rt-card-ease);
}

.awards-bento__item:hover .awards-bento__link {
  color: var(--rt-primary-hover);
}

@media (min-width: 768px) {
  .awards-bento__body,
  .awards-bento__item--gisp .awards-bento__body {
    padding: 32px;
    gap: 24px;
  }

  .awards-bento__footer {
    padding-top: 28px;
  }
}

.awards-showcase__cta {
  text-align: center;
  margin-top: var(--rt-section-gap);
}

.about-factory {
  background-color: var(--rt-surface-low);
}

.about-factory__panel {
  display: grid;
  gap: var(--rt-grid-gap);
  align-items: center;
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-lg);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--rt-shadow-card);
}

@media (min-width: 768px) {
  .about-factory__panel {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.about-factory__copy {
  display: flex;
  flex-direction: column;
  gap: var(--rt-card-inner-gap);
}

.about-factory__copy .section__title {
  margin: 0;
}

.about-factory__copy p {
  color: var(--rt-text-muted);
  line-height: 1.8;
  margin: 0;
}

.about-factory__actions {
  margin-top: 8px;
  padding-top: var(--rt-card-footer-gap);
  border-top: 1px solid var(--rt-outline);
}

.about-factory__media {
  border-radius: var(--rt-radius-md);
  overflow: hidden;
  background: var(--rt-surface-low);
  aspect-ratio: 4 / 3;
}

.about-factory__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-factory__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.awards-carousel-section {
  background: var(--rt-surface-low);
}

.section__sub--left {
  text-align: left;
  margin-inline: 0;
  max-width: 62ch;
}

.awards-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.awards-filter-head {
  align-items: center;
}

.awards-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.awards-filter__btn {
  border: 1px solid var(--rt-outline);
  background: var(--rt-surface);
  color: var(--rt-text-muted);
  border-radius: var(--rt-radius-pill);
  padding: 0.5rem 1rem;
  font-family: var(--rt-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.awards-filter__btn:hover,
.awards-filter__btn.is-active {
  background: var(--rt-secondary);
  border-color: var(--rt-secondary);
  color: #fff;
}

.award-card {
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-lg);
  overflow: hidden;
  box-shadow: var(--rt-shadow-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.award-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--rt-shadow-hover);
  border-color: var(--rt-primary);
}

.award-card:focus-within {
  outline: 2px solid var(--rt-focus-ring);
  outline-offset: 4px;
}

.award-card.is-hidden {
  display: none;
}

.award-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rt-surface-low);
}

.award-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.award-card:hover .award-card__media img {
  transform: scale(1.04);
}

.award-card__media--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--rt-surface-low), rgba(212, 122, 91, 0.12));
}

.award-card__media--placeholder span {
  font-family: var(--rt-font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rt-primary);
  text-align: center;
  padding: 1rem;
}

.award-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.award-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.award-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rt-primary);
}

.award-card__year {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rt-text-muted);
}

.award-card__title {
  font-family: var(--rt-font-display);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--rt-secondary);
  margin: 0;
}

.award-card__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--rt-text-muted);
}

.award-card__link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rt-primary);
  text-decoration: none;
}

.award-card__link:hover {
  text-decoration: underline;
}

.awards-carousel {
  position: relative;
}

.awards-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.awards-carousel__track > .award-card {
  scroll-snap-align: start;
  min-width: 280px;
}

.awards-carousel__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.awards-link-row {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #122421; /* Ultra deep Forest Pine */
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2rem;
  margin-top: var(--rt-section-y-sm);
}

.site-footer h4 {
  font-family: var(--rt-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--rt-primary);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  gap: 3rem 2rem;
  margin-bottom: 4rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-copy a:hover {
  color: #fff;
}

/* Vitrina Banner */
.vitrina-banner {
  background-color: var(--rt-primary-soft);
  color: var(--rt-primary-hover);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--rt-outline);
}

/* FAB */
.fab-support {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 99;
}

.fab-support .btn {
  box-shadow: 0 8px 32px rgba(212, 122, 91, 0.3);
}

/* ==========================================================================
   Legal and Form Modals
   ========================================================================== */

.legal-page {
  padding: 4rem 0 6rem;
  background-color: var(--rt-surface);
  border-radius: var(--rt-radius-lg);
  margin-top: 3rem;
  margin-bottom: 4rem;
  box-shadow: var(--rt-shadow-card);
  border: 1px solid var(--rt-outline);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-content h1 {
  font-family: var(--rt-font-display);
  color: var(--rt-secondary);
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.legal-content h2 {
  font-family: var(--rt-font-display);
  color: var(--rt-secondary);
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.legal-content p, .legal-content li {
  color: var(--rt-text-muted);
  line-height: 1.75;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.65rem;
}

/* Modals Overlay (Fixed blur) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 38, 34, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--rt-surface);
  border-radius: var(--rt-radius-lg);
  box-shadow: var(--rt-shadow-modal);
  border: 1px solid var(--rt-outline-strong);
  width: min(100% - 2.5rem, 540px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-visible .modal-card {
  transform: scale(1) translateY(0);
}

.modal-card__header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--rt-outline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-card__header h3 {
  margin: 0;
  font-family: var(--rt-font-display);
  color: var(--rt-secondary);
  font-size: 1.35rem;
  font-weight: 800;
}

.modal-card__close {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--rt-text-muted);
  display: grid;
  place-items: center;
  padding: 0.25rem;
  line-height: 1;
}

.modal-card__close:hover {
  color: var(--rt-primary);
}

.modal-card__body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal-card__footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--rt-outline);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  background-color: var(--rt-surface-low);
}

/* Cookie Settings Toggle Items */
.cookie-option {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rt-outline);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option__info h4 {
  margin: 0 0 0.35rem;
  font-family: var(--rt-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rt-secondary);
}

.cookie-option__info p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--rt-text-muted);
  line-height: 1.5;
}

/* Premium toggle switches */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--rt-surface-low);
  transition: .3s;
  border-radius: 30px;
  border: 1px solid var(--rt-outline-strong);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(29, 38, 34, 0.15);
}

input:checked + .slider {
  background-color: var(--rt-primary);
  border-color: var(--rt-primary);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

input:disabled + .slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--rt-secondary);
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  background-color: var(--rt-surface);
  color: var(--rt-on-background);
  transition: border-color 0.25s ease;
}

.form-control:focus {
  border-color: var(--rt-primary);
  outline: none;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D7571' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Custom Checkbox Container */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.5rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.8125rem;
  color: var(--rt-text-muted);
  line-height: 1.5;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: var(--rt-surface);
  border: 1px solid var(--rt-outline-strong);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--rt-primary);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--rt-primary);
  border-color: var(--rt-primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container a {
  text-decoration: underline;
  color: var(--rt-primary);
}

/* Cookie Banner (Glassmorphism card) */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: min(100% - 3rem, 440px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--rt-radius-md);
  box-shadow: var(--rt-shadow-modal);
  border: 1px solid var(--rt-outline-strong);
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--rt-text-muted);
  margin: 0;
  line-height: 1.6;
}

.cookie-banner__text a {
  text-decoration: underline;
  color: var(--rt-primary);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (min-width: 768px) {
  .nav-main {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(2rem, 4vw, 3rem);
    row-gap: clamp(2rem, 4vw, 2.5rem);
    align-items: stretch;
  }

  .hero__copy {
    align-self: center;
  }

  .hero__media {
    align-self: stretch;
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
  }

  .hero__cta {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-layout {
    grid-template-columns: 300px 1fr;
  }

  .product-detail {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid,
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   3D Card Carousel for Awards
   ========================================================================== */

.carousel-3d {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-3d__viewport {
  position: relative;
  width: 100%;
  height: 380px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-3d__cards {
  position: relative;
  width: 250px;
  height: 330px;
  transform-style: preserve-3d;
}

.carousel-3d__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--rt-surface);
  border: 1px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-lg);
  box-shadow: var(--rt-shadow-card);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  backface-visibility: hidden;
}

.carousel-3d__card:hover {
  box-shadow: var(--rt-shadow-hover);
  border-color: var(--rt-primary);
}

.carousel-3d__card-img {
  width: 100%;
  height: 240px;
  background: var(--rt-surface-low);
  overflow: hidden;
}

.carousel-3d__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-3d__card:hover .carousel-3d__card-img img {
  transform: scale(1.05);
}

.carousel-3d__card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--rt-radius-pill);
  font-family: var(--rt-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.carousel-3d__card-title {
  padding: 0.85rem 1rem;
  font-family: var(--rt-font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rt-secondary);
  line-height: 1.35;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--rt-outline);
  background-color: var(--rt-surface);
}

/* 3D Transform States with Perspective */
.carousel-3d__card.active {
  transform: translate3d(0, 0, 100px) rotateY(0deg);
  z-index: 10;
  opacity: 1;
}

.carousel-3d__card.next {
  transform: translate3d(105px, 0, -20px) rotateY(-30deg) scale(0.85);
  z-index: 5;
  opacity: 0.75;
}

.carousel-3d__card.prev {
  transform: translate3d(-105px, 0, -20px) rotateY(30deg) scale(0.85);
  z-index: 5;
  opacity: 0.75;
}

.carousel-3d__card.far-next {
  transform: translate3d(180px, 0, -120px) rotateY(-40deg) scale(0.7);
  z-index: 2;
  opacity: 0.35;
}

.carousel-3d__card.far-prev {
  transform: translate3d(-180px, 0, -120px) rotateY(40deg) scale(0.7);
  z-index: 2;
  opacity: 0.35;
}

.carousel-3d__card.hidden {
  transform: translate3d(0, 0, -300px) scale(0.5);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* Controls */
.carousel-3d__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  width: 100%;
}

.carousel-3d__btn {
  background: var(--rt-surface);
  border: 1px solid var(--rt-outline-strong);
  color: var(--rt-secondary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--rt-shadow-card);
  padding: 0;
}

.carousel-3d__btn:hover {
  background: var(--rt-primary);
  border-color: var(--rt-primary);
  color: #fff;
  transform: scale(1.05);
}

.carousel-3d__btn svg {
  display: block;
}

.carousel-3d__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.carousel-3d__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rt-outline-strong);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-3d__dot.active {
  background: var(--rt-primary);
  width: 20px;
  border-radius: var(--rt-radius-pill);
}

@media (max-width: 480px) {
  .carousel-3d__viewport {
    height: 360px;
  }
  .carousel-3d__cards {
    width: 220px;
    height: 300px;
  }
  .carousel-3d__card-img {
    height: 210px;
  }
  .carousel-3d__card.next {
    transform: translate3d(75px, 0, -20px) rotateY(-25deg) scale(0.8);
  }
  .carousel-3d__card.prev {
    transform: translate3d(-75px, 0, -20px) rotateY(25deg) scale(0.8);
  }
  .carousel-3d__card.far-next,
  .carousel-3d__card.far-prev {
    opacity: 0.15;
  }
}

/* Article / blog product photo carousel — same 3D standard, wider cards */
.carousel-3d--article {
  margin: 3rem 0;
  max-width: 100%;
}

.carousel-3d--article .carousel-3d__viewport {
  height: 400px;
}

.carousel-3d--article .carousel-3d__cards {
  width: 300px;
  height: 360px;
}

.carousel-3d--article .carousel-3d__card-img {
  height: 280px;
}

.carousel-3d--article .carousel-3d__card-title {
  font-size: 0.8125rem;
  line-height: 1.35;
  min-height: 3.5em;
}

@media (max-width: 767px) {
  .carousel-3d--article .carousel-3d__viewport {
    height: 360px;
  }

  .carousel-3d--article .carousel-3d__cards {
    width: 260px;
    height: 320px;
  }

  .carousel-3d--article .carousel-3d__card-img {
    height: 240px;
  }
}

/* Awards page showcase carousel — larger cards, accent section */
.carousel-3d--showcase {
  margin: 0 auto;
  max-width: 960px;
  padding: 2rem 1rem 1rem;
  background: var(--rt-surface);
  border: 1.5px solid var(--rt-outline-strong);
  border-radius: var(--rt-radius-lg);
  box-shadow: var(--rt-shadow-card);
}

.carousel-3d--showcase .carousel-3d__viewport {
  height: 440px;
}

.carousel-3d--showcase .carousel-3d__cards {
  width: 320px;
  height: 400px;
}

.carousel-3d--showcase .carousel-3d__card-img {
  height: 300px;
}

.carousel-3d--showcase .carousel-3d__card-title {
  font-size: 0.9375rem;
  min-height: 3em;
}

@media (max-width: 767px) {
  .carousel-3d--showcase .carousel-3d__viewport {
    height: 380px;
  }

  .carousel-3d--showcase .carousel-3d__cards {
    width: 280px;
    height: 340px;
  }

  .carousel-3d--showcase .carousel-3d__card-img {
    height: 250px;
  }
}

/* ==========================================================================
   Mobile Burger Menu & Navigation Styles
   ========================================================================== */

.burger-btn {
  display: none;
}

@media (max-width: 767px) {
  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
    margin-left: 0.5rem;
  }

  .burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--rt-secondary);
    border-radius: var(--rt-radius-pill);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .burger-btn--active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--rt-primary);
  }

  .burger-btn--active span:nth-child(2) {
    opacity: 0;
  }

  .burger-btn--active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--rt-primary);
  }

  .nav-main {
    display: none;
  }

  .nav-main.nav-main--active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--rt-surface);
    border-bottom: 2px solid var(--rt-primary);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 16px 32px rgba(29, 38, 34, 0.08);
    z-index: 1000;
    animation: nav-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes nav-slide-down {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


