@import url("./cart_drawer.02fc2ba67a05.css");

:root {
  --teal: #591C31;
  --teal-soft: #7991a4;
  --wine: #591c31;
  --navy: #0d293d;
  --bg: #eef3f6;
  --text: #0d293d;
  --muted: #5f7385;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}


body.no-scroll {
  overflow: hidden;
}

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

.is-hidden {
  display: none !important;
}


.page {
  background: white;
  padding: 32px 125px 48px;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(89,28,49, 0.1), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(114, 18, 46, 0.1), transparent 32%),
    linear-gradient(180deg, #f6f8fb 0%, #eef3f6 40%, #f9fbfd 100%);
  z-index: -1;
}

.mobile-controls {
  display: none;
}

.hero-offer {
  position: fixed;
  left: 0;
  top: 140px;
  z-index: 4;
  background: #2f3135;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: flex-start;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  animation: hero-offer-pulse 2.2s ease-in-out infinite;
}

.hero-offer.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero-offer__close {
  position: absolute;
  right: -6px;
  top: -6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #ececec;
  color: #2f3135;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-offer__link {
  color: #fff;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 14px 8px;
  min-height: 160px;
  font-size: 26px;
  letter-spacing: 0.01em;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
}

.hero-offer__link:hover,
.hero-offer__link:focus-visible {
  outline: none;
  opacity: 0.92;
}

.session-warning-modal[hidden] {
  display: none;
}

.session-warning-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.session-warning-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 41, 61, 0.62);
}

.session-warning-modal__dialog {
  position: relative;
  width: min(480px, 100%);
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(13, 41, 61, 0.3);
}

.session-warning-modal__dialog h2 {
  margin: 0 0 0.75rem;
  color: var(--wine);
}

.session-warning-modal__dialog p {
  margin: 0;
  color: var(--navy);
  line-height: 1.5;
}

.session-warning-modal__actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.session-warning-modal__actions .btn {
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--wine);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.session-warning-modal__actions .btn--outline {
  background: #ffffff;
  color: var(--wine);
}

.session-warning-modal__actions .btn--primary {
  background: var(--wine);
  color: #ffffff;
}

.session-warning-modal__actions .btn--outline:hover {
  background: rgba(89, 28, 49, 0.08);
}

.session-warning-modal__actions .btn--primary:hover {
  background: #72122e;
}

.session-warning-modal__actions .btn:focus-visible {
  outline: 3px solid rgba(89, 28, 49, 0.24);
  outline-offset: 2px;
}

@keyframes hero-offer-orbit {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(calc(100vw - 180px), 0);
  }
  50% {
    transform: translate(calc(100vw - 180px), calc(100vh - 120px));
  }
  75% {
    transform: translate(0, calc(100vh - 120px));
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes hero-offer-pulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 8px 26px rgba(17, 86, 120, 0.52);
  }
}

.hero {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 576px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  margin-bottom: 48px;
}

.hero__slider {
  position: relative;
  width: 100%;
  display: grid;
  min-height: 420px;
  touch-action: pan-y;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-image) center/cover no-repeat;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.hero__slide.is-active {
  opacity: 1;
  position: relative;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(180deg, rgba(13, 41, 61, 0.4), rgba(13, 41, 61, 0.52));*/
}

.hero__mobile-link {
  display: none;
}

.hero__content {
  position: relative;
  color: #fff;
  max-width: 720px;
  padding: 48px;
  display: grid;
  gap: 12px;
}

.hero h2 {
  margin: 0;
  font-size: 13vh;
  font-family: "Ms Madi", cursive;
}

.hero__subtitle {
  margin: 0;
  font-size: 5vh;
  font-weight: 400;
  opacity: 0.92;
  margin-top: -5%;
}

.cta {
  justify-self: center;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(13, 41, 61, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta:hover,
.cta:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(13, 41, 61, 0.32);
}

.eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 500;
  font-size: 5vh;
  margin-bottom: -8%;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 10px;
  z-index: 2;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero__dot.is-active {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.categories {
  margin: 42px 0 72px;
}

.categories-heading {
  margin-bottom: 48px;
}

.categories-heading .h6-presentation {
  margin: 0;
  color: black;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
}

.category-carousel {
  position: relative;
  overflow: hidden;
}

.category-carousel__button {
  display: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4.3vw, 64px);
}

.category-card {
  background: transparent;
  border-radius: 0;
  padding: 0 0 8px;
  display: grid;
  gap: 16px;
  border: 0;
  box-shadow: none;
  transition: transform 0.28s ease;
  text-decoration: none;
}

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

.category-card:focus-visible {
  border-radius: 44px 44px 4px 4px;
  outline: 3px solid rgba(89, 28, 49, 0.42);
  outline-offset: 6px;
}

.category-media {
  position: relative;
  border-radius: clamp(34px, 3.5vw, 52px);
  overflow: hidden;
  aspect-ratio: 0.84;
  border: 0;
  background: #eee9e6;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.category-card:hover .category-media img {
  transform: scale(1.05);
}

.category-media--placeholder {
  display: grid;
  place-items: center;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(89, 28, 49, 0.1));
  opacity: 0.16;
  transition: opacity 0.25s ease;
}

.category-card:hover .category-overlay {
  opacity: 0.46;
}

.category-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.category-label {
  margin: 0;
  color: #591C31;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(26px, 2.35vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 411;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  justify-content: center;
  color: #111;
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 2px solid #d9dcdd;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.category-chip__arrow {
  color: var(--wine);
  font-size: 30px;
  line-height: 0.5;
  font-weight: 400;
}

.category-chip__text {
  line-height: 1;
}

.category-card:hover .category-label,
.category-card:focus-visible .category-label {
  color: var(--wine);
}

.category-card:hover .category-chip,
.category-card:focus-visible .category-chip {
  color: #111;
  border-color: rgba(89, 28, 49, 0.45);
}


.featured {
  margin: 36px 0 64px;
  display: grid;
  gap: 40px;
}

.section-heading .h6-presentation {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  color: black;
}

.section-heading p {
  margin: 0;
  color: rgba(88, 29, 49, 0.35);
  font-size: clamp(17px, 2vw, 24px);
}

.featured .section-heading .h6-presentation {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: black;
}

.featured .section-heading p {
  font-size: clamp(17px, 2vw, 24px);
}

.featured-carousel {
  position: relative;
}

.featured-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 2px 18px;
}

.featured-grid::-webkit-scrollbar {
  display: none;
}

.featured-card {
  flex: 0 0 calc((100% - 24px) / 2);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(230px, 0.88fr);
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(89, 28, 49, 0.05);
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 18px 44px rgba(30, 24, 32, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px rgba(16, 50, 50, 0.12);
}

.featured-image {
  display: block;
  position: relative;
  min-height: 330px;
  text-decoration: none;
}

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

.featured-name {
  color: inherit;
  text-decoration: none;
}

.featured-name:focus-visible,
.featured-image:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 6px;
  border-radius: 18px;
}

.featured-body {
  padding: 32px 28px 22px;
  display: grid;
  gap: 10px;
  align-content: center;
}

.featured-body .product-name {
  font-size: 19px;
  color: #111;
}

.featured-body .prices .current {
  color: #111;
  font-weight: 500;
}

.featured-body .prices .old:empty {
  display: none;
}

.featured-meta {
  display: grid;
  gap: 6px;
}

.featured-meta__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(88, 29, 49, 0.35);
  font-weight: 700;
}

.featured-meta__value {
  margin: 0;
  font-size: 13px;
  font-style: italic;
  color: rgba(88, 29, 49, 0.35);
}

.featured-body .color-choices {
  min-height: 34px;
}

.featured-body .color-dot {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.featured-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.featured-size-chip {
border: 1px solid #dbe5e5;
font-size: 12px;
color: rgba(88, 29, 49, 0.35);
background: #f5f8f8;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 7px rgba(13, 41, 61, 0.06);
  transition: border 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.add-btn--wide {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.featured-body .add-btn--wide {
  margin-top: 12px;
  min-height: 46px;
  border-radius: 999px;
  background: var(--wine);
  box-shadow: 0 14px 28px rgba(89, 28, 49, 0.2);
}

.featured-cart-icon {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.featured-carousel__control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--wine);
  box-shadow: 0 12px 24px rgba(89, 28, 49, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
}

.featured-carousel__control span {
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 300;
  line-height: 0.8;
  transform: translateY(-2px);
}

.featured-carousel__control--previous {
  left: -26px;
}

.featured-carousel__control--next {
  right: -26px;
}

.featured-carousel__control:disabled {
  opacity: 0;
  pointer-events: none;
}

.featured-carousel__control:focus-visible {
  outline: 3px solid rgba(89, 28, 49, 0.3);
  outline-offset: 4px;
}

.featured-card .badge.new {
  top: 0;
  left: -1px;
  min-width: 116px;
  padding: 13px 20px;
  border-radius: 24px 1px;
  background: var(--wine);
  color: #fff;
  font-size: 20px;
  text-align: center;
}

.home-products {
  display: grid;
  gap: 24px;
  margin-bottom: 56px;
}

.home-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.home-products__header .section-heading {
  margin: 0;
}

.home-products__catalog-link {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  min-width: 235px;
  padding: 0 12px 8px;
  border-bottom: 2px solid #d9dcdd;
  color: #0d3e47;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.32em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.home-products__catalog-link span {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  transition: transform 180ms ease;
}

.home-products__catalog-link:hover,
.home-products__catalog-link:focus-visible {
  border-bottom-color: rgba(89, 28, 49, 0.45);
  color: #0d3e47;
  outline: none;
}

.home-products__catalog-link:hover span,
.home-products__catalog-link:focus-visible span {
  transform: translateX(4px);
}

.home-products__empty {
  border: 1px dashed rgba(89,28,49, 0.35);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.home-products__empty p {
  margin: 0;
}

/* Boutique cards shared by the home collection and the full catalog. */
.home-products .product-grid {
  align-items: stretch;
}

:is(.home-products, .catalog-page) .product-card {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(89, 28, 49, 0.06);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(30, 24, 32, 0.1);
}

@media (min-width: 769px) {
  .home-products .product-card {
    width: 100%;
    min-width: 0;
  }
}

:is(.home-products, .catalog-page) .product-card__link {
  border-radius: 28px;
}

:is(.home-products, .catalog-page) .card-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

:is(.home-products, .catalog-page) .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

:is(.home-products, .catalog-page) .card-body {
  flex: 1;
  gap: 10px;
  padding: 22px 22px 20px;
}

:is(.home-products, .catalog-page) .product-name {
  color: #171d24;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
}

:is(.home-products, .catalog-page) .prices {
  margin-bottom: 8px;
}

:is(.home-products, .catalog-page) .prices .current {
  color: var(--wine);
  font-size: 22px;
  font-weight: 750;
}

:is(.home-products, .catalog-page) .prices--discount .current {
  color: var(--wine);
  font-size: 22px;
  font-weight: 750;
}

:is(.home-products, .catalog-page) .prices--discount .old {
  color: #7f8790;
  font-size: 15px;
}

:is(.home-products, .catalog-page) .card-actions {
  margin-top: auto;
}

:is(.home-products, .catalog-page) .add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: var(--wine);
  box-shadow: 0 10px 22px rgba(89, 28, 49, 0.22);
}

.product-card__cart-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

:is(.home-products, .catalog-page) .badge.new {
  top: 16px;
  background: var(--wine);
}

:is(.home-products, .catalog-page) .badge.discount + .badge.new {
  top: 54px;
}

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.filters-panel {
  background: #fff;
  border-radius: 32px;
  padding: 32px 28px;
  box-shadow: 0 30px 60px rgba(16, 50, 50, 0.08);
  align-self: start;
  position: relative;
}

.filters-apply {
  display: none;
}

.filters-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #eef6f6;
  color: var(--teal);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: 0 10px 25px rgba(16, 50, 50, 0.08);
}

.filters-overlay {
  display: none;
}


.filters-panel__top {
  margin-bottom: 14px;
}

.filters-panel__eyebrow {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: black;
  font-weight: 700;
}

.filters-panel__heading {
  margin: 6px 0 0;
  font-size: 28px;
  color: var(--teal);
}

.filters-feedback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4faf9;
}

.filters-feedback__results {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #331c26;
}

.filters-feedback__clear {
  border: none;
  background: transparent;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-filters:not([hidden]) {
  margin-bottom: 18px;
}

.active-filter-chip {
  border: 1px solid #d7e8e6;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #331c26;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .active-filters {
    display: none;
  }
}

.filters-group + .filters-group {
  padding-top: 8px;
}

.filters-title {
  font-size: 16px;
  margin: 0 0 16px;
}

.filters-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #591c31;
}

.category-filter-heading {
  margin: 0;
  font: inherit;
}

.checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  border: 1px solid #591c31;
  background: #f8fbfb;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 600;
  color: #591c31;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.size-btn[aria-pressed="true"] {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.color-picker,
.color-choices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.color-dot[aria-pressed="true"] {
  transform: scale(1.08);
  border-color: #153f3f !important;
  box-shadow: 0 0 0 3px rgba(29, 109, 109, 0.2);
}

.switch {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.switch input {
  display: none;
}

.slider {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 24px;
  background: #dfe6e6;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.switch input:checked + .slider {
  background: var(--teal);
}

.switch input:checked + .slider::after {
  transform: translateX(22px);
}

.catalog {
  background: transparent;
  margin-top: 19px;
  margin-left: 19px;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.catalog-header h1 {
  margin: 0;
  font-size: 32px;
}

.subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.sort {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(31, 107, 107, 0.08);
}

.sort select {
  border: none;
  font-weight: 600;
  color: var(--teal);
  background: transparent;
}

.sort select:focus {
  outline: none;
}

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

.catalog-page .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: #fff;
  border-radius: 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  box-shadow: 0 30px 60px rgba(16, 50, 50, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 32px;
}

.product-card .add-btn,
.product-card .color-dot {
  position: relative;
  z-index: 2;
}

.product-card .favorite-btn {
  z-index: 2;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px rgba(16, 50, 50, 0.12);
}



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

.badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge.discount {
  background: #fff;
  color: #581d31;
  box-shadow: 0 8px 16px rgba(90, 61, 0, 0.2);
}

.badge.new {
  background: var(--teal);
  color: #fff;
  top: 54px;
}

.favorite-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.96);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.favorite-btn svg {
  width: 22px;
  fill: none;
  stroke: #f04452;
  stroke-width: 1.8px;
}

.favorite-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 16px 26px rgba(240, 68, 82, 0.26);
}

.favorite-btn:focus-visible {
  outline: 3px solid rgba(240, 68, 82, 0.35);
  outline-offset: 2px;
}

.favorite-btn.is-active {
  background: #ffecef;
  box-shadow: 0 12px 26px rgba(255, 90, 95, 0.25);
}

.favorite-btn.is-active svg {
  fill: #ff5a5f;
  stroke: #ff5a5f;
}

.favorite-btn__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-name {
  margin: 0;
  font-weight: 600;
  font-size: 18px;
}

.prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.prices .current {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
}

.prices .old {
  font-size: 15px;
  color: var(--muted);
  text-decoration: line-through;
}

.card-actions {
  display: flex;
  gap: 12px;
}

.add-btn {
  flex: 1;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(31, 107, 107, 0.25);
}

.mobile-filters {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
  z-index: 1000;
}

.mobile-filters.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-filters__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.mobile-filters__panel {
  position: relative;
  width: min(420px, 80vw);
  max-width: 480px;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.mobile-filters.is-open .mobile-filters__panel {
  transform: translateX(0);
}

.mobile-filters__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.mobile-filters__header p {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.mobile-filters__back {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--teal);
}

.mobile-filters__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-filters__group + .mobile-filters__group {
  border-top: 1px solid #f0f2f2;
  padding-top: 24px;
}

.mobile-filters__title {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
}

.mobile-filters__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mobile-size-chip {
  border: 1px solid #dfe4e4;
  border-radius: 999px;
  padding: 10px 18px;
  background: #fff;
  font-weight: 600;
  color: #516060;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-size-chip.is-selected {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 10px 25px rgba(31, 107, 107, 0.25);
}

.mobile-color-picker {
  display: flex;
  gap: 14px;
}

.mobile-color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border 0.2s ease;
}

.mobile-color-dot.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 107, 107, 0.15);
}

.mobile-filters__footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  position: sticky;
  bottom: 0;
}

.mobile-filters__clear {
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 14px 16px;
  font-weight: 600;
  background: #fff;
  color: var(--teal);
  cursor: pointer;
}

.mobile-filters__apply {
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  font-weight: 600;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 15px 35px rgba(31, 107, 107, 0.28);
}

.mobile-sort {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
  z-index: 1100;
}

.mobile-sort.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sort__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.mobile-sort__panel {
  position: relative;
  width: min(480px, 100%);
  margin: 0 14px 12px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  transform: translateY(14px);
  transition: transform 0.24s ease;
}

.mobile-sort.is-open .mobile-sort__panel {
  transform: translateY(0);
}

.mobile-sort__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
  border-bottom: 1px solid #eef1f1;
}

.mobile-sort__header p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
}

.mobile-sort__close {
  border: none;
  background: #f3f8f8;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  font-size: 18px;
  color: var(--teal);
  cursor: pointer;
}

.mobile-sort__options {
  display: grid;
  gap: 8px;
  padding: 12px 16px 18px;
}

.mobile-sort__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e7eded;
  background: #f9fbfb;
  cursor: pointer;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mobile-sort__option.is-selected {
  border-color: var(--teal);
  background: #eef6f6;
  box-shadow: 0 8px 20px rgba(31, 107, 107, 0.1);
}

.mobile-sort__option input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.mobile-sort__label {
  font-weight: 600;
  color: #334041;
}
@media (max-width: 640px) {
.section-heading {
  margin-left: 4%;
}

.section-heading .h6-presentation {
  color: #111;
}

.featured-card {
  border-radius: 0px;
}

.categories-heading .h6-presentation {
  color: #111;
  margin-left: 4%;
}

.featured {
  margin-bottom: 21px;
}
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
 * Give the home page a fluid tablet gutter. The desktop 125px padding left
 * only ~550px of usable space on an 800px viewport, forcing the four category
 * cards (and their labels) to overlap before the mobile carousel took over.
 */
@media (min-width: 769px) and (max-width: 1100px) {
  .home-page .page {
    padding-inline: clamp(28px, 5vw, 56px);
  }

  .home-page .category-grid {
    gap: clamp(16px, 2.5vw, 28px);
  }

  .home-page .category-label {
    font-size: clamp(20px, 3vw, 28px);
  }

  .home-page .category-chip {
    gap: 8px;
    font-size: clamp(9px, 1.2vw, 12px);
    letter-spacing: 0.2em;
  }
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  /*
   * Keep the catalog usable in the narrow desktop/tablet range. The generic
   * one-column layout used to stack the complete filter panel above the
   * products while the mobile controls were still hidden until 768px. At
   * widths such as 800px this made the catalog look like a filters-only page.
   */
  .catalog-page .page {
    padding-inline: 24px;
  }

  .catalog-page .layout {
    grid-template-columns: minmax(210px, 230px) minmax(0, 1fr);
    gap: 18px;
  }

  .catalog-page .filters-panel {
    min-width: 0;
    padding: 26px 20px;
    border-radius: 24px;
  }

  .catalog-page .catalog {
    min-width: 0;
    margin-left: 0;
  }

  .catalog-page .product-grid {
    gap: 16px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    flex-basis: min(86vw, 620px);
  }

  .home-products__header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 0px;
  }

  .page::before {
    background: radial-gradient(circle at 18% 14%, rgba(86, 134, 160, 0.16), transparent 34%),
      radial-gradient(circle at 78% 10%, rgba(154, 132, 188, 0.12), transparent 34%),
      linear-gradient(180deg, #f3f6fa 0%, #ecf2f8 40%, #f5f7fb 100%);
  }

  .hero {
    min-height: 450px;
    max-height: 450px;
    border-radius: 0;
    margin: 0px;
  }

  .hero-offer {
    left: 0;
    top: 120px;
    animation-duration: 2s;
  }

  .hero-offer__link {
    min-height: 130px;
    font-size: 20px;
    padding: 10px 6px;
  }

  .hero__slider {
    min-height: 450px;
    max-height: 450px;
  }

  .hero__slide {
    height: 100%;
  }

  .hero__content {
    width: 100%;
    max-width: none;
    padding: clamp(24px, 7vw, 40px) clamp(16px, 5vw, 28px);
    gap: 10px;
    align-content: center;
    justify-items: center;
  }

  .eyebrow {
    font-size: clamp(11px, 3.2vw, 13px);
    letter-spacing: 0.18em;
    margin-bottom: 0;
  }

  .hero__mobile-link {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
  }

  .hero h2 {
    font-size: clamp(34px, 9.2vw, 52px);
    line-height: 1.04;
    text-wrap: balance;
    max-inline-size: 100%;
  }

  .hero__subtitle {
    font-size: clamp(15px, 4.6vw, 20px);
    line-height: 1.2;
    max-inline-size: 100%;
    text-wrap: balance;
    margin-top: 0;
  }

  .hero .cta {
    max-width: none;
    min-width: min(62vw, 260px);
    padding-inline: clamp(24px, 8vw, 36px);
    margin-bottom: 0;
  }

  .hero__dots {
    bottom: clamp(10px, 3.2vw, 18px);
    z-index: 3;
  }

  .category-carousel {
    overflow: hidden;
    margin-inline: 0;
    padding-inline: 0;
    margin-top: 12px;
  }

  .category-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0;
  }

  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0;
    gap: 0;
    scroll-snap-align: center;
    transform: none;
  }

  .category-card .category-media {
    border: 0;
    border-radius: 0;
    aspect-ratio: 0.86;
  }

  .category-card.is-active {
    transform: none;
  }

  .category-card.is-active .category-media {
    box-shadow: 0 12px 28px rgba(89, 28, 49, 0.12);
  }

  .category-card.is-active .category-label {
    color: var(--wine);
  }

  .category-card.is-active .category-chip {
    border-color: rgba(89, 28, 49, 0.45);
  }

  .categories-heading .h6-presentation {
      font-size: 34px;
      display: grid;
  }


  .category-content {
    position: absolute;
    z-index: 2;
    right: 12%;
    bottom: 53px;
    left: 12%;
    gap: 0;
    color: #fff;
    background: rgba(89, 27, 49, 0.4);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    border-radius: 15px;
  }

  .categories-heading__line {
    width: 72px;
    height: 4px;
    margin-top: 14px;
  }

  .category-label {
    width: 100%;
    padding: 2px 10px 1px;
    color: #fff;
    font-size: clamp(18px, 5.8vw, 25px);
    line-height: 1.05;
    text-align: center;
  }
  .categories {
    margin: 30px 0 40px;
  }
  .category-chip {
    width: auto;
    margin-bottom: -17px;
    padding: 3px 9px;
    border: 0;
    color: #171717;
    background: rgba(224, 205, 181, 0.94);
    font-size: 8px;
    gap: 0;
    letter-spacing: 0.2em;
  }

  .category-chip__arrow {
    display: none;
  }

  .category-card:hover .category-label,
  .category-card:focus-visible .category-label,
  .category-card.is-active .category-label {
    color: #fff;
  }

  .category-carousel__button {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    color: #fff;
    background: rgba(89, 28, 49, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .category-carousel__button span {
    margin-top: -3px;
  }

  .category-carousel__button--previous {
    left: 8px;
  }

  .category-carousel__button--next {
    right: 8px;
  }

  .category-carousel__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
  }

.categories-heading {
  margin-bottom: 12px;
}

  .layout {
    gap: 24px;
  }

  .filters-panel {
    display: none;
  }

  .filters-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 32, 32, 0.35);
    z-index: 1000;
    display: none;
  }

  .filters-overlay.is-visible {
    display: block;
  }

  .filters-panel.is-open {
    display: block;
    position: fixed;
    inset: 50px 14px auto 14px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 1001;
    padding-top: 56px;
  }

  .filters-panel-nav {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7efef;
  }

  .filters-panel-nav .filters-title {
    margin-bottom: 10px;
  }

  .filters-panel-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .filters-panel-nav .nav-link {
    appearance: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #d9e8e7;
    background: #f7fbfb;
    color: var(--teal);
    border-bottom: 1px solid #d9e8e7;
  }

  .filters-panel-nav .nav-link.is-active {
    background: #1d6d6d;
    border-color: #1d6d6d;
    color: #fff;
  }

  .filters-panel-nav .nav-link:hover,
  .filters-panel-nav .nav-link:focus-visible {
    border-color: #1d6d6d;
  }

  .filters-group--mobile-account {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e7efef;
  }

  .filters-panel__heading {
    font-size: 24px;
  }

  .filters-apply {
    display: block;
    position: sticky;
    bottom: 0;
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 20px;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 14px 24px rgba(16, 50, 50, 0.2);
  }

  .filters-close {
    display: inline-flex;
  }

  .catalog-header {
    display: none;
  }

  .catalog-page .mobile-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 8px 10px calc(6px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: rgba(246, 250, 252, 0.96);
    border: 1px solid rgba(212, 227, 238, 0.9);
    box-shadow: 0 -8px 24px rgba(16, 50, 50, 0.14);
    backdrop-filter: blur(10px);
  }

  .catalog-page .page {
    padding-inline: 0;
    padding-bottom: calc(124px + env(safe-area-inset-bottom));
  }

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

  .mobile-pill {
    border: 1px solid #ccdde8;
    background: linear-gradient(180deg, #ffffff 0%, #f5fafc 100%);
    border-radius: 999px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.01em;
    color: #1a4963;
    box-shadow: 0 8px 16px rgba(18, 75, 96, 0.11);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .mobile-pill:hover,
  .mobile-pill:focus-visible {
    transform: translateY(-1px);
    border-color: #8cb0c5;
    box-shadow: 0 12px 20px rgba(18, 75, 96, 0.18);
    outline: none;
  }

  .mobile-pill--segment {
    background: #1d6d6d;
    color: #fff;
    border-color: #1d6d6d;
  }

  .pill-icon {
    font-size: 13px;
  }

  .mobile-results {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #c6c6c6;
    padding-left: 2px;
  }

  .mobile-section-heading h1 {
    margin: 0;
    font-size: 26px;
    color: var(--teal);
  }

  .mobile-section-heading .subtitle {
    margin-top: 6px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    border-radius: 28px;
    padding: 0;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0f4f4;
    box-shadow: 0 35px 70px rgba(15, 40, 40, 0.08);
  }

  .card-image img {
    height: auto;
    aspect-ratio: 4 / 5;
    object-position: center;
  }

  .catalog-page .badge {
    left: 12px;
    top: 12px;
    font-size: 14px;
    padding: 8px 15px;
  }

  .catalog-page .badge.new {
    top: 12px;
  }

  .catalog-page .badge.discount + .badge.new {
    top: 50px;
  }

  .catalog-page .product-card .favorite-btn {
    display: grid;
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    background: rgba(255, 236, 239, 0.96);
  }

  .catalog-page .card-body {
    gap: 12px;
    padding: 24px;
    align-content: center;
  }

  .catalog-page .product-name {
    font-size: 18px;
    line-height: 1.2;
    color: #1f2f41;
  }

  .catalog-page .prices .current {
    font-size: 22px;
    line-height: 1.1;
  }

  .catalog-page .prices .old {
    font-size: 14px;
  }

  .catalog-page .color-choices {
    padding: 0;
  }

  .catalog-page .color-dot {
    width: 22px;
    height: 22px;
    box-shadow: none;
    border: none;
  }

  .card-actions {
    align-items: center;
  }

  .catalog-page .add-btn {
    border-radius: 999px;
    padding: 12px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
}

@media (min-width: 769px) {
  .filters-panel-nav {
    display: none;
  }

  .filters-group--mobile-account {
    display: none;
  }
}


.email-verification-banner {
  background: #fff3cd;
  color: #7a5a00;
  border-bottom: 1px solid #f0d98a;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Keep boutique cards compact on phones. */
@media (max-width: 768px) {
  .home-products {
    gap: 16px;
    padding: 0 12px;
  }

  /* Give the catalog the same mobile gutter as the home product grid. */
  .catalog-page .layout {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 12px;
  }

  .catalog-page .catalog {
    width: 100%;
    min-width: 0;
    margin-inline: 0;
  }

  .home-products__header {
    gap: 12px;
  }

  .home-products__catalog-link {
    min-width: 0;
    padding-inline: 0;
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .home-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  :is(.home-products, .catalog-page) .product-card {
    width: 100%;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(89, 28, 49, 0.06);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(30, 24, 32, 0.09);
  }

  :is(.home-products, .catalog-page) .product-card:hover {
    transform: none;
    box-shadow: 0 12px 28px rgba(30, 24, 32, 0.09);
  }

  :is(.home-products, .catalog-page) .product-card__link {
    border-radius: 18px;
  }

  :is(.home-products, .catalog-page) .card-image {
    aspect-ratio: 3 / 4;
  }

  :is(.home-products, .catalog-page) .card-image img {
    height: 100%;
    object-fit: cover;
  }

  :is(.home-products, .catalog-page) .card-body {
    gap: 7px;
    padding: 12px 10px 10px;
  }

  :is(.home-products, .catalog-page) .product-name {
    font-size: 13px;
    line-height: 1.3;
  }

  :is(.home-products, .catalog-page) .prices {
    flex-wrap: wrap;
    gap: 3px 6px;
  }

  :is(.home-products, .catalog-page) .prices .current {
    font-size: 16px;
  }

  :is(.home-products, .catalog-page) .prices .old {
    font-size: 11px;
  }

  .home-products .color-choices {
    gap: 4px;
  }

  .home-products .color-dot {
    width: 12px;
    height: 12px;
  }

  :is(.home-products, .catalog-page) .add-btn {
    min-height: 36px;
    border-radius: 999px;
    padding: 8px 6px;
    font-size: 12px;
    box-shadow: 0 7px 16px rgba(89, 28, 49, 0.18);
  }

  :is(.home-products, .catalog-page) .favorite-btn {
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
  }

  :is(.home-products, .catalog-page) .favorite-btn svg {
    width: 16px;
  }

  :is(.home-products, .catalog-page) .badge {
    left: 6px;
    top: 6px;
    padding: 4px 7px;
    font-size: 10px;
  }

  :is(.home-products, .catalog-page) .badge.new {
    top: 6px;
  }

  :is(.home-products, .catalog-page) .badge.discount + .badge.new {
    top: 34px;
  }
}

/* Featured carousel mobile treatment intentionally follows the shared mobile card rules. */
@media (max-width: 640px) {
  .featured {
    margin: 28px 0 42px;
    gap: 20px;
  }

  .featured .section-heading {
    margin: 0 20px;
  }

  .featured .section-heading .h6-presentation {
    color: #111;
    font-size: 34px;
  }

  .featured .section-heading p {
    font-size: 16px;
  }

  .featured-grid {
    flex-direction: column;
    gap: 14px;
    overflow-x: visible;
    padding: 10px 20px 16px;
    scroll-snap-type: none;
  }

  .featured-card {
    flex: none;
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .featured-card:hover {
    transform: none;
    box-shadow: 0 18px 44px rgba(30, 24, 32, 0.1);
  }

  .featured-image {
    min-height: 310px;
  }

  .featured-body {
    padding: 22px;
  }

  .featured-carousel__control {
    display: none;
  }
}
