/* Notie alert por encima de todos los elementos */
.notie-container {
  z-index: 9999 !important;
}

:root {
  --site-max-width: 1340px;
  --red: #059669;
  --red-dark: #047857;
  --ink: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --page: #F9FAFB;
  --white: #ffffff;
  --rose-soft: #ecfdf5;
  --soft-bg: #d1fae5;
  --footer-bg: #111827;
  --footer-dark: #030712;
  --accent: #34D399;
  --shadow: 0 1px 8px rgba(17, 24, 39, 0.1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: "Josefin Sans", sans-serif;
}

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

button,
input {
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #aeb9b4;
  font-weight: 500;
  opacity: 1;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: #c5cfca;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(100% - 32px, var(--site-max-width));
  max-width: var(--site-max-width);
  min-height: 68px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.hero-slide,
.special-offer-container,
.new-products-container,
.beauty-categories-container,
.visit-stats-wrap,
.visit-stats-container {
  max-width: var(--site-max-width);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent), var(--red));
  border-radius: 55% 45% 55% 45%;
  clip-path: none;
  position: relative;
  transform: rotate(-18deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px 8px 7px 6px;
  background: var(--white);
  border-radius: inherit;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 1.9vw, 34px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: lowercase;
}

.category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-width: 148px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.category-button:hover {
  background: var(--red-dark);
}

.category-button:active {
  transform: translateY(1px);
}

.search {
  display: flex;
  align-items: center;
  flex: 1 1 520px;
  min-width: 180px;
  height: 44px;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 5px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search input {
  flex: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px 0 21px;
  color: #333333;
  font-size: 15px;
}

.search input::placeholder {
  color: #b8b8b8;
}

.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration,
.search-modal-form input::-webkit-search-cancel-button,
.search-modal-form input::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
}

.search input::-ms-clear,
.search-modal-form input::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

.search-button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 100%;
  border: 0;
  background: transparent;
  color: #777777;
  cursor: pointer;
  transition: color 160ms ease;
}

.search-button:hover {
  color: var(--red);
}

.actions {
  display: flex;
  align-items: center;
  height: 44px;
  color: #555555;
}

.action-link,
.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #555555;
  transition: color 160ms ease;
}

.action-link {
  gap: 12px;
  min-width: 132px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.12;
}

.action-link:first-child {
  border-left: 1px solid var(--line);
}

.cart-link {
  width: 58px;
}

.action-link:hover,
.cart-link:hover {
  color: var(--red);
}

.icon {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-button .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}

.search-button .icon {
  width: 22px;
  height: 22px;
}

.search-icon-clear {
  display: none;
}

.search.has-query .search-icon-find {
  display: none;
}

.search.has-query .search-icon-clear {
  display: block;
}

.category-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: clamp(16px, calc((100vw - 1620px) / 2 + 210px), 390px);
  display: grid;
  min-width: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.category-menu a {
  padding: 14px 18px;
  color: #333333;
  font-weight: 600;
}

.category-menu a:hover {
  background: #f6f6f6;
  color: var(--red);
}

.hero-slider {
  --slider-height: clamp(180px, 31.25vw, 600px);
  --slider-footer-height: clamp(22px, 2.75vw, 52px);
  --slider-dot-size: clamp(11px, 0.9vw, 17px);
  --slider-dot-gap: clamp(10px, 1vw, 18px);
  position: relative;
  overflow: hidden;
  height: var(--slider-height);
  min-height: var(--slider-height);
  background: #eeeeee;
}

.slider-track {
  position: relative;
  height: calc(var(--slider-height) - var(--slider-footer-height));
  min-height: calc(var(--slider-height) - var(--slider-footer-height));
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
  column-gap: clamp(32px, 5vw, 76px);
  align-items: center;
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 38px clamp(48px, 6vw, 86px) 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease;
}

.hero-slide.slide-right {
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
}

.hero-slide.slide-right .slide-content {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  padding-right: 24px;
  padding-left: 0;
  text-align: right;
}

.hero-slide.slide-right .slide-media {
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.slide-content {
  position: relative;
  z-index: 1;
  max-width: 430px;
  justify-self: start;
  padding-left: 24px;
  color: #3a3a3a;
  text-align: left;
  text-transform: uppercase;
}

.slide-title {
  margin: 0 0 14px;
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.slide-subtitle {
  margin: 0 0 14px;
  color: #7a7a7a;
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0;
}

.slide-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 45px;
  margin-top: 12px;
  padding: 0 22px;
  border-radius: 5px;
  background: var(--red);
  color: var(--white);
  font-family: "Josefin Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 160ms ease, transform 120ms ease;
}

.slide-button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.slide-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.slide-media img {
  display: block;
  width: min(100%, 720px);
  max-height: calc(var(--slider-height) - var(--slider-footer-height) - 56px);
  height: auto;
  object-fit: contain;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(34px, 3vw, 44px);
  height: clamp(34px, 3vw, 44px);
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: #222222;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slider-arrow-next {
  right: 16px;
}

.slider-arrow-prev {
  left: 16px;
}

.slider-arrow:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.slider-footer {
  position: relative;
  display: grid;
  place-items: center;
  height: var(--slider-footer-height);
  background: #d9d9d9;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: var(--slider-dot-gap);
}

.slider-dot {
  width: var(--slider-dot-size);
  height: var(--slider-dot-size);
  padding: 0;
  border: 2px solid #9d9d9d;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.36);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.slider-dot.is-active {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.2);
}

.special-offer {
  position: relative;
  min-height: clamp(190px, 16vw, 305px);
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(17, 24, 39, 0.42), rgba(5, 150, 105, 0.44)),
    url("../img/beauty-offers-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-top: 3px solid var(--accent);
}

.special-offer-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  max-width: 1280px;
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(28px, 6vw, 86px);
}

.special-offer-copy {
  width: min(100%, 560px);
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.65);
}

.special-offer-copy h2 {
  margin: 0 0 clamp(12px, 1.4vw, 20px);
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none;
}

.special-offer-copy p {
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
}

.special-offer-discount {
  margin-bottom: clamp(12px, 1.4vw, 20px) !important;
  font-size: clamp(28px, 2.8vw, 44px);
}

.special-offer-date {
  font-size: clamp(24px, 2.3vw, 36px);
}

.new-products {
  background: var(--white);
  padding: clamp(46px, 5vw, 72px) 0 clamp(42px, 5vw, 64px);
}

.new-products-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  color: #202020;
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 2vw, 34px);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
}

.section-heading a {
  color: #111111;
  font-size: 18px;
  font-weight: 700;
  transition: color 160ms ease;
}

.section-heading a:hover {
  color: var(--red);
}

.product-carousel {
  position: relative;
}

.product-list {
  display: grid;
  grid-auto-columns: minmax(210px, 1fr);
  grid-auto-flow: column;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0 56px 8px;
}

.product-list::-webkit-scrollbar {
  display: none;
}

.product-card {
  position: relative;
  min-height: 362px;
  overflow: hidden;
  border: 1px solid #ededed;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.06);
  padding: 38px 10px 18px;
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.12);
  border-color: #e2e2e2;
}

.product-card[data-product-link] {
  cursor: pointer;
}

.product-card img {
  display: block;
  width: 100%;
  height: 190px;
  box-sizing: border-box;
  object-fit: contain;
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfaf8 0%, var(--rose-soft) 100%);
  transition: transform 260ms ease;
}

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

.product-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0 0 4px;
  overflow: hidden;
  color: #18181b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.product-card p {
  min-height: 42px;
  margin: 0 0 14px;
  overflow: hidden;
  color: #71717a;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.product-card strong {
  display: block;
  color: #111111;
  font-family: "Josefin Sans", sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 46px);
}

.product-badge {
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--red-dark);
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.16);
}

.badge-offer {
  background: #fee2e2;
  color: #b91c1c;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.16);
}

.badge-stock {
  background: #111827;
  color: var(--white);
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.2);
}

.product-tag {
  position: absolute;
  top: 12px;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.product-tag-dark {
  background: #111111;
}

.product-tag-pink {
  background: var(--accent);
  color: var(--ink);
}

.favorite-button,
.gift-bubble {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #222222;
  cursor: pointer;
}

.favorite-button {
  right: 12px;
  /* Anclado al borde de la imagen (no al fondo de la tarjeta) para que
  no se encime con el título cuando el nombre ocupa dos líneas */
  top: 186px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.14);
  font-size: 17px;
  line-height: 1;
  transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.favorite-button:hover {
  color: var(--red-dark);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.2);
}

.favorite-button.is-favorite {
  color: var(--red-dark);
  box-shadow: 0 6px 18px rgba(0, 128, 104, 0.22);
}

.favorite-button:disabled {
  cursor: default;
}

.gift-bubble {
  left: 12px;
  top: 146px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--red);
  font-size: 32px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.product-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #222222;
  border-radius: 50%;
  background: var(--white);
  color: #222222;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.product-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-arrow-prev {
  left: 0;
}

.product-arrow-next {
  right: 0;
}

.product-arrow.is-hidden {
  display: none;
}

.best-sellers {
  padding-top: clamp(46px, 5vw, 72px);
}

.viral-products {
  overflow: hidden;
  background: linear-gradient(90deg, var(--rose-soft) 0%, var(--soft-bg) 100%);
  padding: clamp(42px, 5vw, 70px) 0;
}

.viral-products-container {
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.9fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.viral-copy {
  text-align: center;
}

.viral-copy h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 3.2vw, 48px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.viral-copy p {
  margin: 0;
  color: var(--red-dark);
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 500;
}

.viral-see-all {
  display: inline-block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.viral-see-all:hover {
  color: var(--red);
}

.viral-carousel {
  width: 100%;
}

.viral-product-list {
  display: grid;
  grid-auto-flow: initial;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-columns: initial;
  gap: clamp(18px, 2vw, 26px);
  overflow: visible;
  padding: 0 54px 8px;
}

.viral-card {
  display: grid;
  grid-template-rows: 150px auto auto auto;
  width: 100%;
  min-width: 0;
  min-height: 306px;
  padding: 34px 16px 16px;
}

.viral-card img {
  height: 142px;
  margin-bottom: 8px;
}

.viral-card p {
  min-height: 38px;
  margin-bottom: 10px;
  font-size: 15px;
}

.viral-card .product-tag-dark {
  top: 10px;
  right: 10px;
  background: var(--ink);
}

.viral-card .viral-exclusive {
  top: 54px;
  right: 10px;
  background: var(--red);
  color: var(--white);
}

.viral-card .favorite-button {
  bottom: 112px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: wrap;
}

.price-row strong {
  display: inline;
  order: 1;
}

.old-price {
  order: -1;
  flex-basis: 100%;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1;
  text-decoration: line-through;
}

.discount-tag {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--soft-bg);
  color: var(--red-dark);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.beauty-categories {
  overflow: hidden;
  background: var(--rose-soft);
  padding: clamp(30px, 3.2vw, 46px) 0;
}

.beauty-categories-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4.5vw, 66px);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.beauty-category {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 170px;
  height: 78px;
  padding: 8px 20px 8px 10px;
  border-radius: 999px;
  background: var(--white);
  color: #000000;
  font-size: 18px;
  font-style: italic;
  line-height: 1;
  box-shadow: 0 1px 12px rgba(5, 150, 105, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.beauty-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.14);
}

.beauty-category img {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.beauty-category span {
  display: block;
}

.visit-stats {
  background: linear-gradient(180deg, var(--white) 0%, var(--rose-soft) 100%);
  padding: clamp(46px, 5vw, 70px) 0 clamp(54px, 5.4vw, 78px);
}

.visit-stats-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.visit-stats-heading {
  margin-bottom: clamp(28px, 3vw, 42px);
}

.visit-stats-heading h2 {
  color: var(--ink);
}

.visit-stats-heading span {
  color: var(--red-dark);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.visit-stats-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 54px);
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.visit-stat {
  display: grid;
  justify-items: center;
  text-align: center;
}

.visit-stat h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: 0;
}

.stat-ring {
  --percent: 0;
  --ring-color: var(--red);
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(92px, 8.2vw, 126px);
  height: clamp(92px, 8.2vw, 126px);
  border-radius: 50%;
  background: conic-gradient(var(--ring-color) calc(var(--percent) * 1%), var(--soft-bg) 0);
}

.stat-ring::before {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: var(--white);
}

.stat-ring span {
  position: relative;
  z-index: 1;
  color: var(--ring-color);
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 700;
  line-height: 1;
}

.visit-stat p {
  margin: 26px 0 0;
  color: #000000;
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 400;
  line-height: 1.1;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--white);
}

.footer-main {
  background: var(--footer-bg);
  padding: clamp(48px, 5vw, 70px) 0 clamp(56px, 5.6vw, 82px);
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(410px, 1.1fr) minmax(290px, 0.85fr) minmax(360px, 1fr);
  gap: clamp(34px, 4vw, 58px);
  width: min(100% - 32px, var(--site-max-width));
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 20px;
  align-content: start;
}

.footer-column h2,
.footer-contact h2,
.footer-form h2 {
  margin: 0;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: none;
}

.footer-column h2 {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column ul,
.footer-contact ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.footer-column li,
.footer-contact li {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.footer-column a,
.footer-contact a {
  color: inherit;
}

.footer-column a:hover,
.footer-contact a:hover,
.social-links a:hover {
  color: var(--accent);
}

.footer-links .footer-column:nth-child(4) {
  grid-column: 1;
}

.footer-contact h2 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.footer-contact li:last-child {
  display: block;
  padding-left: 25px;
}

.footer-contact span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--white);
}

.footer-contact .lucide-icon {
  width: 18px;
  height: 18px;
}

.footer-contact img,
.footer-map {
  display: block;
  width: 100%;
  max-width: 355px;
  height: 252px;
  margin-top: 30px;
  border: 0;
  object-fit: cover;
}

.footer-form h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 600;
  font-style: italic;
}

.footer-form form {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 5px;
  background: var(--white);
  color: #333333;
  outline: 0;
  padding: 0 16px;
  font-size: 20px;
}

.footer-form input {
  height: 48px;
}

.footer-form textarea {
  min-height: 166px;
  padding-top: 12px;
  resize: vertical;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #8f979f;
}

.footer-form button {
  min-width: 86px;
  height: 45px;
  border: 0;
  border-radius: 5px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  font-family: "Josefin Sans", sans-serif;
}

.footer-form button:hover {
  background: var(--red-dark);
}

.footer-bottom {
  background: var(--footer-dark);
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--site-max-width));
  max-width: var(--site-max-width);
  min-height: 70px;
  margin: 0 auto;
  padding: 0;
}

.footer-bottom p {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (min-width: 1400px) {
  .topbar {
    max-width: var(--site-max-width);
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .topbar {
    gap: 16px;
  }

  .brand-name {
    font-size: 29px;
  }

  .category-button {
    min-width: 124px;
    gap: 11px;
  }

  .search {
    flex-basis: 300px;
  }

  .search input {
    font-size: 13px;
  }

  .action-link {
    min-width: 100px;
    gap: 8px;
    padding: 0 12px;
    font-size: 12px;
  }

  .cart-link {
    width: 48px;
  }

  .hero-slide {
    padding-right: 62px;
    padding-left: 62px;
  }

  .slide-content {
    max-width: 360px;
    padding-left: 20px;
  }

  .slide-media img {
    width: min(100%, 590px);
  }

  .visit-stats-container {
    gap: 22px;
  }

  .visit-stat h2 {
    font-size: 28px;
  }

  .visit-stat p {
    font-size: 18px;
  }

  .footer-container {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  }

  .footer-links {
    grid-column: 1 / -1;
  }

  .footer-contact img,
  .footer-map {
    max-width: 100%;
  }
}

@media (max-width: 1023px) {
  .site-header {
    padding-top: 0;
  }

  .topbar {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 0 14px;
  }

  .category-button {
    order: 1;
    min-width: 32px;
    width: 32px;
    height: 38px;
    padding: 0;
    gap: 0;
    border-radius: 0;
    background: transparent;
    color: #4d4d4d;
  }

  .category-button:hover {
    background: transparent;
    color: var(--red);
  }

  .category-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .category-button .icon {
    width: 25px;
    height: 25px;
    stroke-width: 2;
  }

  .brand {
    order: 2;
    margin-right: auto;
    gap: 5px;
  }

  .brand-mark {
    width: 18px;
    height: 18px;
  }

  .brand-mark::after {
    inset: 5px;
  }

  .brand-name {
    font-size: 25px;
  }

  .search {
    order: 3;
    flex: 0 0 42px;
    min-width: 42px;
    width: 42px;
    height: 38px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .search input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .search-button {
    width: 42px;
    color: #4d4d4d;
  }

  .search-button .icon {
    width: 24px;
    height: 24px;
  }

  .actions {
    order: 4;
    width: auto;
    height: 38px;
    margin: 0;
  }

  .action-link {
    display: none;
  }

  .cart-link {
    width: 42px;
  }

  .cart-link .icon {
    width: 26px;
    height: 26px;
  }

  .category-menu {
    top: calc(100% + 6px);
    left: 18px;
    right: auto;
    width: 230px;
    max-width: calc(100% - 36px);
  }

  .hero-slider {
    --slider-height: clamp(180px, 31.25vw, 600px);
  }

  .slider-track {
    height: calc(var(--slider-height) - var(--slider-footer-height));
    min-height: calc(var(--slider-height) - var(--slider-footer-height));
  }

  .hero-slide {
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
    column-gap: 28px;
    padding: 32px 56px 26px;
  }

  .hero-slide.slide-right {
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 1fr);
  }

  .slide-content {
    max-width: 330px;
    padding-left: 12px;
  }

  .slide-title {
    font-size: clamp(25px, 4vw, 36px);
  }

  .slide-subtitle {
    font-size: clamp(19px, 3vw, 28px);
  }

  .slide-button {
    min-width: 126px;
    height: 40px;
    font-size: 15px;
  }

  .slider-arrow {
    width: clamp(30px, 3.5vw, 38px);
    height: clamp(30px, 3.5vw, 38px);
  }

  .slider-arrow svg {
    width: clamp(14px, 2vw, 18px);
    height: clamp(14px, 2vw, 18px);
  }

  .visit-stats-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 42px;
  }

  .visit-stat h2 {
    margin-bottom: 20px;
  }

  .visit-stat p {
    margin-top: 18px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column: auto;
  }

  .footer-links .footer-column:nth-child(4) {
    grid-column: auto;
  }

  .footer-contact img,
  .footer-map {
    max-width: 520px;
  }

  .footer-form form {
    justify-items: start;
  }

  .footer-form button {
    justify-self: end;
  }
}

@media (min-width: 621px) and (max-width: 760px) {
  .hero-slider {
    --slider-height: clamp(238px, 38vw, 290px);
    --slider-footer-height: clamp(28px, 5vw, 36px);
    --slider-dot-size: clamp(10px, 1.8vw, 13px);
    --slider-dot-gap: clamp(10px, 2vw, 15px);
  }

  .slider-track {
    height: calc(var(--slider-height) - var(--slider-footer-height));
    min-height: calc(var(--slider-height) - var(--slider-footer-height));
  }

  .hero-slide {
    grid-template-columns: minmax(170px, 1fr) minmax(230px, 1fr);
    column-gap: clamp(18px, 4vw, 30px);
    padding: clamp(18px, 3.2vw, 24px) 58px clamp(12px, 2.2vw, 18px);
  }

  .hero-slide.slide-right {
    grid-template-columns: minmax(230px, 1fr) minmax(170px, 1fr);
  }

  .hero-slide.slide-right .slide-content {
    justify-self: end;
    padding-right: 0;
    text-align: right;
  }

  .slide-content {
    max-width: 260px;
    padding-left: 0;
  }

  .slide-title {
    margin-bottom: 6px;
    font-size: clamp(20px, 3.4vw, 25px);
    line-height: 1;
  }

  .slide-subtitle {
    margin-bottom: 5px;
    font-size: clamp(14px, 2.4vw, 18px);
    line-height: 1.02;
  }

  .slide-button {
    min-width: 104px;
    height: 32px;
    margin-top: 7px;
    padding: 0 12px;
    font-size: 12px;
  }

  .slide-media img {
    width: min(100%, clamp(210px, 40vw, 300px));
    max-height: calc(var(--slider-height) - var(--slider-footer-height) - 28px);
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-top: 0;
  }

  .topbar {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
  }

  .brand-name {
    font-size: clamp(21px, 5.8vw, 25px);
  }

  .page-preview {
    margin-top: 48px;
  }

  .category-menu {
    left: 30px;
    width: min(230px, calc(100% - 60px));
  }

  .hero-slider {
    --slider-height: clamp(170px, 31.25vw, 240px);
    --slider-footer-height: clamp(22px, 7vw, 36px);
    --slider-dot-size: clamp(10px, 3vw, 14px);
    --slider-dot-gap: clamp(10px, 3.4vw, 16px);
  }

  .slider-track {
    height: calc(var(--slider-height) - var(--slider-footer-height));
    min-height: calc(var(--slider-height) - var(--slider-footer-height));
  }

  .hero-slide {
    grid-template-columns: minmax(72px, 40%) minmax(116px, 60%);
    align-content: center;
    column-gap: clamp(8px, 4vw, 24px);
    gap: clamp(8px, 4vw, 24px);
    padding: clamp(10px, 4vw, 24px) clamp(28px, 8.5vw, 52px) clamp(8px, 3vw, 18px);
    text-align: left;
  }

  .hero-slide.slide-right {
    grid-template-columns: minmax(112px, 55%) minmax(86px, 45%);
  }

  .hero-slide.slide-right .slide-content,
  .hero-slide.slide-right .slide-media {
    grid-row: 1;
  }

  .hero-slide.slide-right .slide-content {
    grid-column: 2;
    padding-right: 0;
    text-align: right;
  }

  .hero-slide.slide-right .slide-media {
    grid-column: 1;
    justify-content: flex-start;
  }

  .slide-content {
    max-width: 100%;
    padding-left: 0;
  }

  .slide-title {
    margin-bottom: clamp(2px, 1.2vw, 8px);
    font-size: clamp(11px, 4vw, 24px);
    line-height: 0.95;
  }

  .slide-subtitle {
    margin-bottom: clamp(2px, 1vw, 7px);
    font-size: clamp(7px, 2.7vw, 16px);
    line-height: 0.98;
  }

  .slide-button {
    min-width: clamp(52px, 18vw, 100px);
    height: clamp(16px, 5.4vw, 32px);
    margin-top: clamp(2px, 1.2vw, 9px);
    padding: 0 clamp(6px, 2.4vw, 14px);
    border-radius: 3px;
    font-size: clamp(6px, 2.25vw, 12px);
  }

  .slide-media {
    justify-content: flex-end;
  }

  .slide-media img {
    width: min(100%, clamp(116px, 48vw, 340px));
    max-height: calc(var(--slider-height) - var(--slider-footer-height) - 24px);
  }

  .slider-footer {
    height: var(--slider-footer-height);
  }

  .slider-arrow {
    width: clamp(28px, 7vw, 34px);
    height: clamp(28px, 7vw, 34px);
  }

  .slider-arrow svg {
    width: clamp(13px, 3.5vw, 16px);
    height: clamp(13px, 3.5vw, 16px);
  }

  .special-offer {
    min-height: clamp(160px, 38vw, 220px);
    background-position: center;
  }

  .special-offer-container {
    justify-content: center;
    padding: clamp(22px, 6vw, 34px) 24px;
  }

  .special-offer-copy {
    max-width: 360px;
  }

  .special-offer-copy h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .special-offer-discount {
    font-size: clamp(22px, 6.5vw, 32px);
  }

  .special-offer-date {
    font-size: clamp(18px, 5.4vw, 26px);
  }

  .new-products {
    padding-top: 38px;
  }

  .new-products-container {
    padding: 0 14px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading a {
    font-size: 15px;
  }

  .product-list {
    grid-template-columns: none;
    grid-auto-columns: minmax(190px, 72vw);
    gap: 14px;
    padding: 0 42px 8px;
  }

  .product-card {
    min-height: 342px;
  }

  .product-card img {
    height: 170px;
  }

  .product-arrow {
    width: 36px;
    height: 36px;
  }

  .product-arrow svg {
    width: 16px;
    height: 16px;
  }

  .viral-products-container {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .viral-copy {
    text-align: left;
  }
  .beauty-categories {
    padding: 24px 0;
  }

  .beauty-categories-container {
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding: 0 14px 4px;
    scrollbar-width: none;
  }

  .beauty-categories-container::-webkit-scrollbar {
    display: none;
  }

  .beauty-category {
    min-width: 150px;
    height: 66px;
    gap: 10px;
    padding: 7px 16px 7px 8px;
    font-size: 16px;
  }

  .beauty-category img {
    width: 52px;
    height: 52px;
  }


  .viral-products {
    padding: 34px 0 38px;
  }

  .viral-products-container {
    padding: 0 14px;
  }

  .viral-copy {
    text-align: center;
  }

  .viral-product-list {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(220px, 76vw);
    overflow-x: auto;
    padding: 0 42px 8px;
  }

  .viral-card {
    grid-template-rows: 138px auto auto auto;
    min-height: 300px;
    padding-top: 34px;
  }

  .viral-card img {
    height: 130px;
  }

  .viral-card .favorite-button {
    bottom: 108px;
  }
  .visit-stats {
    padding: 38px 0 44px;
  }

  .visit-stats-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
    padding: 0 14px;
  }

  .visit-stat h2 {
    margin-bottom: 16px;
    font-size: clamp(22px, 8vw, 30px);
  }

  .stat-ring {
    width: clamp(78px, 26vw, 104px);
    height: clamp(78px, 26vw, 104px);
  }

  .visit-stat p {
    margin-top: 14px;
    font-size: clamp(15px, 5vw, 20px);
  }

  .footer-main {
    padding: 36px 0 42px;
  }

  .footer-container {
    padding: 0 14px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .footer-column h2 {
    padding-bottom: 14px;
    font-size: 22px;
  }

  .footer-column ul,
  .footer-contact ul {
    margin-top: 16px;
  }

  .footer-column li {
    font-size: 16px;
  }

  .footer-contact img,
  .footer-map {
    height: 200px;
    margin-top: 22px;
  }

  .footer-form h2 {
    font-size: clamp(24px, 8vw, 30px);
  }

  .footer-form input,
  .footer-form textarea {
    font-size: 17px;
  }

  .footer-bottom-container {
    flex-direction: column;
    justify-content: center;
    min-height: 96px;
    padding: 16px 14px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 14px;
  }

}

@media (max-width: 300px) {
  .topbar {
    width: 100%;
    gap: 5px;
    padding: 0 8px;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-mark {
    width: 16px;
    height: 16px;
  }

  .category-button,
  .search,
  .search-button,
  .cart-link {
    width: 30px;
    min-width: 30px;
    flex-basis: 30px;
  }

  .icon,
  .category-button .icon,
  .search-button .icon,
  .cart-link .icon {
    width: 22px;
    height: 22px;
  }

  .category-menu {
    left: 10px;
    width: calc(100% - 20px);
  }

  .hero-slider {
    --slider-height: clamp(160px, 54vw, 180px);
    --slider-footer-height: 22px;
    --slider-dot-size: 10px;
    --slider-dot-gap: 9px;
  }

  .hero-slide {
    column-gap: 6px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .slide-title {
    font-size: 10px;
  }

  .slide-subtitle {
    font-size: 6px;
  }

  .slide-button {
    min-width: 48px;
    height: 15px;
    font-size: 5px;
  }

  .slider-arrow {
    width: 30px;
    height: 30px;
  }

  .slider-arrow svg {
    width: 14px;
    height: 14px;
  }

  .special-offer {
    min-height: 150px;
  }

  .special-offer-container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .special-offer-copy h2 {
    font-size: 25px;
  }

  .special-offer-discount {
    margin-bottom: 8px !important;
    font-size: 20px;
  }

  .special-offer-date {
    font-size: 16px;
  }

  .section-heading {
    align-items: flex-end;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .product-list {
    grid-auto-columns: minmax(178px, 78vw);
    padding-right: 32px;
    padding-left: 32px;
  }

  .product-card {
    min-height: 326px;
    padding-top: 36px;
  }

  .product-card h3 {
    font-size: 17px;
  }

  .product-card p {
    font-size: 14px;
  }

  .product-card img {
    height: 156px;
  }

  .product-arrow {
    width: 30px;
    height: 30px;
  }

  .product-arrow svg {
    width: 14px;
    height: 14px;
  }

  .beauty-categories {
    padding: 20px 0;
  }

  .beauty-categories-container {
    gap: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .beauty-category {
    min-width: 132px;
    height: 58px;
    font-size: 14px;
  }

  .beauty-category img {
    width: 46px;
    height: 46px;
  }

  .visit-stats-container {
    gap: 28px 12px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .visit-stat h2 {
    font-size: 20px;
  }

  .stat-ring {
    width: 72px;
    height: 72px;
  }

  .stat-ring span {
    font-size: 18px;
  }

  .visit-stat p {
    font-size: 14px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-column h2 {
    font-size: 20px;
  }

  .footer-column li,
  .footer-contact li {
    font-size: 14px;
  }

  .footer-contact img,
  .footer-map {
    height: 170px;
  }

  .footer-form input {
    height: 42px;
  }

  .footer-form textarea {
    min-height: 132px;
  }

}

/* Final responsive refinements */
.product-list {
  --visible-products: 5;
  --product-gap: 18px;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - (var(--visible-products) - 1) * var(--product-gap)) / var(--visible-products));
  gap: var(--product-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.product-card {
  scroll-snap-align: start;
}

.beauty-categories {
  position: relative;
}

.beauty-categories-container {
  justify-content: flex-start;
  width: 100%;
  max-width: var(--site-max-width);
  gap: clamp(18px, 3vw, 42px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.beauty-categories-container::-webkit-scrollbar {
  display: none;
}

.beauty-categories-container.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.beauty-category {
  scroll-snap-align: start;
}

@media (min-width: 1024px) {
  .new-products-container,
  .special-offer-container,
  .beauty-categories-container,
  .visit-stats-container {
    width: min(100% - 32px, var(--site-max-width));
    max-width: var(--site-max-width);
  }

  .new-products-container,
.beauty-categories-container,
.visit-stats-wrap,
.visit-stats-container {
    padding-right: 0;
    padding-left: 0;
  }
}

.footer-container {
  grid-template-columns: minmax(500px, 1.15fr) minmax(280px, 0.8fr) minmax(340px, 1fr);
}

.footer-container > * {
  min-width: 0;
}

.footer-links {
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 36px 42px;
}

.social-links a {
  width: 24px;
  height: 24px;
  font-size: 0;
}

.lucide-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1320px) {
  .footer-container {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }

  .footer-links .footer-column:nth-child(4) {
    grid-column: auto;
  }

  .footer-contact img,
  .footer-map {
    max-width: 100%;
  }
}

@media (max-width: 1180px) {
  .product-list {
    --visible-products: 4;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    grid-column: auto;
  }

  .footer-links .footer-column:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 1023px) {
  .topbar {
    width: 100%;
    max-width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 900px) {
  .product-list {
    --visible-products: 3;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 32px 42px;
  }
}

@media (max-width: 620px) {
  .product-list {
    --visible-products: 2;
    --product-gap: 14px;
    grid-auto-columns: calc((100% - var(--product-gap)) / 2);
    padding-right: 42px;
    padding-left: 42px;
  }

  .beauty-categories-container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 420px) {
  .product-list {
    --visible-products: 1;
    grid-auto-columns: 100%;
    padding-right: 38px;
    padding-left: 38px;
  }
}

/* Viral section must fill the selected horizontal area on desktop. */
.viral-products .viral-carousel {
  width: 100%;
  min-width: 0;
}

.viral-products .viral-product-list {
  --visible-products: 3;
  --product-gap: clamp(18px, 2vw, 26px);
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - (var(--visible-products) - 1) * var(--product-gap)) / var(--visible-products));
  gap: var(--product-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 54px 8px;
}

.viral-products .viral-card {
  width: 100%;
  min-width: 0;
}

@media (max-width: 620px) {
  .viral-products .viral-product-list {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: minmax(220px, 76vw);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-right: 42px;
    padding-left: 42px;
  }
}
/* Responsive tuning for the viral product strip. */
@media (max-width: 900px) {
  .viral-products {
    padding: 38px 0 44px;
  }

  .viral-products-container {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100% - 28px, var(--site-max-width));
    padding: 0;
  }

  .viral-copy {
    text-align: center;
  }

  .viral-copy h2 {
    font-size: clamp(32px, 7vw, 42px);
  }

  .viral-copy p {
    font-size: 17px;
  }

  .viral-products .viral-product-list {
    --product-gap: 14px;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: calc((100% - var(--product-gap)) / 2);
    gap: var(--product-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 42px 8px;
  }

  .viral-card {
    grid-template-rows: 132px auto auto auto;
    min-height: 292px;
    padding: 32px 14px 15px;
  }

  .viral-card img {
    height: 124px;
  }

  .viral-card h3 {
    font-size: 18px;
  }

  .viral-card p {
    min-height: 36px;
    font-size: 14px;
  }

  .viral-card .favorite-button {
    bottom: 106px;
  }
}

@media (max-width: 620px) {
  .viral-products {
    padding: 34px 0 40px;
  }

  .viral-products-container {
    width: 100%;
    padding: 0 14px;
  }

  .viral-products .viral-product-list {
    grid-auto-columns: minmax(218px, 82vw);
    padding-right: 38px;
    padding-left: 38px;
  }

  .viral-card {
    grid-template-rows: 128px auto auto auto;
    min-height: 294px;
    padding-top: 32px;
  }

  .viral-card img {
    height: 120px;
  }

  .viral-card .product-tag {
    width: 38px;
    height: 38px;
    font-size: 7px;
  }

  .viral-card .viral-exclusive {
    top: 50px;
  }

  .viral-card .favorite-button {
    bottom: 102px;
  }
}

@media (max-width: 420px) {
  .viral-copy h2 {
    font-size: clamp(29px, 10vw, 36px);
  }

  .viral-copy p {
    font-size: 15px;
  }

  .viral-products .viral-product-list {
    grid-auto-columns: minmax(0, calc(100vw - 76px));
    padding-right: 34px;
    padding-left: 34px;
  }

  .viral-card {
    grid-template-rows: 116px auto auto auto;
    min-height: 282px;
    padding: 30px 12px 14px;
  }

  .viral-card img {
    height: 110px;
  }

  .viral-card h3 {
    font-size: 17px;
  }

  .viral-card p {
    min-height: 34px;
    font-size: 13px;
  }

  .viral-card .favorite-button {
    bottom: 96px;
  }
}
/* Product detail page */
.product-detail-page {
  background: var(--white);
}

.product-detail-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--site-max-width));
  min-height: 68px;
  margin: 0 auto;
}

.detail-back-link {
  color: var(--red);
  font-weight: 700;
}

.product-detail-main {
  width: min(100% - 32px, var(--site-max-width));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.product-detail-page .topbar {
  width: min(100% - 32px, var(--site-max-width));
  max-width: var(--site-max-width);
  padding-right: 0;
  padding-left: 0;
}

.product-detail-page .footer-container,
.product-detail-page .footer-bottom-container {
  width: min(100% - 32px, var(--site-max-width));
  max-width: var(--site-max-width);
  padding-right: 0;
  padding-left: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.breadcrumb a:hover {
  color: var(--red);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: start;
  gap: clamp(28px, 4vw, 54px);
  margin-top: 44px;
}

.product-gallery {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-self: start;
  gap: 18px;
}

.product-thumbs {
  display: grid;
  align-content: start;
  gap: 22px;
}

.product-thumb {
  display: grid;
  place-items: center;
  min-height: 104px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: var(--red);
}

.product-thumb img {
  width: 70px;
  height: 92px;
  object-fit: contain;
}

.product-main-image {
  position: relative;
  display: grid;
  place-items: center;
  height: 520px;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ad 0%, #f9fafb 46%, #111827 100%);
}

.product-main-image-full {
  grid-column: 1 / -1;
}

.product-main-image img {
  width: min(64%, 360px);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(17, 24, 39, 0.28));
}

.product-main-image figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: var(--white);
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.product-purchase {
  position: relative;
  padding-left: clamp(0px, 2vw, 20px);
}

.product-ref {
  float: right;
  color: var(--ink);
  font-size: 16px;
}

.product-brand {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Josefin Sans", sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-purchase h1 {
  max-width: 620px;
  margin: 0 0 20px;
  color: #000000;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.35;
}

.product-detail-price {
  display: block;
  margin-bottom: 16px;
  color: #000000;
  font-family: "Josefin Sans", sans-serif;
  font-size: 22px;
}

.product-actions-row {
  display: grid;
  grid-template-columns: 132px minmax(180px, 250px);
  gap: 18px;
  align-items: center;
}

.quantity-control {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  height: 38px;
  overflow: hidden;
  border: 1px solid #f472b6;
  border-radius: 999px;
  color: #111827;
}

.quantity-control button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font-size: 16px;
}

.quantity-control span {
  text-align: center;
  font-size: 18px;
}

.buy-now-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.payment-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 16px 0 20px;
  padding: 14px 12px;
  background: var(--soft-bg);
  color: var(--ink);
  font-size: 13px;
}

.payment-strip strong {
  color: #4b5563;
  font-family: "Josefin Sans", sans-serif;
  font-size: 22px;
}

.delivery-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin: 20px 0 54px;
}

.delivery-options article {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 90px;
  border-radius: 18px;
  background: #f3f4f6;
  padding: 18px;
}

.delivery-options .lucide-icon {
  color: var(--red);
}

.delivery-options h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
}

.delivery-options p {
  margin: 0;
  color: #374151;
  font-size: 13px;
}

.product-accordion details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.product-accordion summary {
  display: flex;
  justify-content: space-between;
  color: #111827;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}

.product-accordion summary::after {
  content: "+";
  color: var(--red);
}

.product-accordion details[open] summary::after {
  content: "^";
}

.product-accordion p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.45;
}

.detail-product-carousel {
  margin-top: clamp(54px, 6vw, 84px);
}

.detail-product-carousel + .detail-product-carousel {
  margin-top: clamp(48px, 5vw, 68px);
}

.detail-product-carousel .section-heading {
  margin-bottom: 34px;
}

.detail-product-carousel .section-heading h2 {
  color: var(--ink);
  font-size: clamp(26px, 2.5vw, 32px);
}

.detail-product-carousel .product-carousel {
  padding: 0 24px;
}

@media (max-width: 1023px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .product-gallery {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .product-main-image {
    height: 420px;
    min-height: 420px;
  }

  .detail-product-carousel .product-carousel {
    padding: 0;
  }
}

@media (max-width: 620px) {
  .product-detail-topbar,
  .product-detail-page .topbar,
  .product-detail-main {
    width: min(100% - 24px, var(--site-max-width));
  }

  .product-detail-topbar {
    min-height: 58px;
  }

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

  .product-thumbs {
    grid-template-columns: repeat(3, 1fr);
    order: 2;
  }

  .product-main-image {
    height: 320px;
    min-height: 320px;
  }

  .product-main-image img {
    width: min(72%, 260px);
  }

  .product-ref {
    float: none;
    margin-bottom: 12px;
  }

  .product-actions-row,
  .delivery-options {
    grid-template-columns: 1fr;
  }

  .buy-now-button {
    width: 100%;
  }
}

/* Checkout */
.checkout-page {
  min-height: 100vh;
  background: #f4f2f2;
  color: #050505;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1120px);
  min-height: 76px;
  margin: 0 auto;
}

.secure-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000000;
  font-family: "Ubuntu", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.secure-site .lucide-icon {
  width: 24px;
  height: 24px;
}

.checkout-main {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
  padding: 8px 0 0;
}

.checkout-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 860px);
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
}

.checkout-steps::before {
  content: "";
  position: absolute;
  top: 38px;
  right: 12.5%;
  left: 12.5%;
  height: 4px;
  border-radius: 999px;
  background: #e4e4e4;
}

.checkout-steps::after {
  content: "";
  position: absolute;
  top: 38px;
  left: 12.5%;
  z-index: 0;
  width: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--red);
}

.checkout-steps.is-step-2::after {
  width: 25%;
}

.checkout-steps li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #111111;
}

.checkout-steps .lucide-icon {
  width: 20px;
  height: 20px;
}

.checkout-steps span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e4e4e4;
}

.checkout-steps .is-active span,
.checkout-steps .is-complete span {
  background: var(--red);
}

.checkout-steps .is-active .lucide-icon,
.checkout-steps .is-complete .lucide-icon {
  color: var(--red);
  stroke-width: 2.4;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 335px;
  gap: 20px;
  align-items: start;
}

.checkout-products,
.checkout-summary {
  border-radius: 14px;
  background: var(--white);
}

.checkout-products {
  padding: 28px 30px 34px;
}

.checkout-table-head {
  display: grid;
  grid-template-columns: 1fr 120px 120px 34px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 0 16px;
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

.checkout-table-head h1 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
}

.checkout-product {
  display: grid;
  grid-template-columns: 78px 1fr 120px 120px 34px;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding-top: 22px;
}

.checkout-product img {
  width: 70px;
  height: 90px;
  object-fit: contain;
}

.checkout-product h2 {
  max-width: 430px;
  margin: 0;
  font-family: "Ubuntu", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.05;
}

.checkout-quantity {
  width: 80px;
  height: 34px;
  justify-self: center;
  border-color: var(--soft-bg);
}

.checkout-product strong {
  font-family: "Ubuntu", sans-serif;
  font-size: 17px;
}

.checkout-remove {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
}

.checkout-summary {
  padding: 20px;
}

.coupon-panel {
  border-radius: 12px;
  background: var(--rose-soft);
  padding: 14px 12px 22px;
}

.coupon-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #111111;
  cursor: pointer;
  padding: 0 0 14px;
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
}

.coupon-form {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 10px;
}

.coupon-form input {
  min-width: 0;
  height: 52px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
}

.coupon-form button,
.checkout-finish {
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: "Ubuntu", sans-serif;
  font-weight: 800;
}

.checkout-benefit {
  margin: 24px 0 16px;
  text-align: center;
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.checkout-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.checkout-progress span {
  display: block;
  width: 29%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.checkout-availability {
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
}

.checkout-availability li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-availability .lucide-icon {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.checkout-payment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 5px;
  background: var(--soft-bg);
  padding: 14px 10px;
  font-family: "Ubuntu", sans-serif;
  font-size: 12px;
  text-align: center;
}

.checkout-payment strong {
  color: #4b5563;
  font-size: 16px;
}

.checkout-total-card h2 {
  margin: 18px 0;
  text-align: center;
  font-family: "Ubuntu", sans-serif;
  font-size: 17px;
}

.checkout-total-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.checkout-total-card div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: "Ubuntu", sans-serif;
  font-size: 14px;
}

.checkout-total-card dt {
  font-weight: 700;
}

.checkout-total-card dd {
  margin: 0;
}

.points-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 44px 0 18px;
  border-radius: 10px;
  background: var(--rose-soft);
  padding: 18px 12px;
  font-family: "Ubuntu", sans-serif;
}

.points-box strong {
  color: var(--red);
  font-size: 16px;
}

.points-box span {
  max-width: 150px;
  text-align: right;
  font-size: 11px;
}

.checkout-terms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: "Ubuntu", sans-serif;
  font-size: 12px;
}

.checkout-terms input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.checkout-terms a {
  color: var(--red);
}

.checkout-finish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  font-size: 16px;
  text-transform: capitalize;
}

.checkout-continue-shopping {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  color: var(--ink);
  font-family: "Ubuntu", sans-serif;
  font-size: 14px;
}

.checkout-continue-shopping span {
  font-size: 26px;
  line-height: 1;
}

.checkout-payment {
  display: none;
}

.checkout-form-layout {
  grid-template-columns: minmax(0, 660px) minmax(300px, 435px);
  gap: 20px;
}

.checkout-flow {
  display: grid;
  gap: 20px;
}

.checkout-step-card {
  border-radius: 12px;
  background: var(--white);
  padding: 34px 30px;
}

.checkout-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: "Ubuntu", sans-serif;
}

.checkout-step-title span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
}

.checkout-step-card.is-open .checkout-step-title span {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.checkout-step-title h1,
.checkout-step-title h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
}

.checkout-step-card > p {
  margin: 0 0 24px;
  color: #111111;
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
}

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

.checkout-form label {
  display: grid;
  gap: 9px;
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
}

.checkout-form .field-full {
  grid-column: 1 / -1;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  outline: 0;
  padding: 0 12px;
  font: inherit;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.invoice-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}

.invoice-toggle label {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 12px;
  min-width: 160px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 18px;
  color: var(--red);
  font-weight: 800;
}

.invoice-toggle label.is-selected {
  border-color: var(--red);
}

.invoice-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.invoice-toggle .lucide-icon {
  color: var(--ink);
}

.checkout-continue {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 330px);
  height: 42px;
  border: 0;
  border-radius: 5px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: "Ubuntu", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.newsletter-field {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
}

.newsletter-field input {
  width: 14px;
  height: 14px;
  accent-color: var(--red);
}

.checkout-step-closed {
  min-height: 100px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.checkout-step-closed .checkout-step-title {
  margin-bottom: 0;
}

.checkout-side-summary {
  align-self: start;
  margin-top: 0;
  padding: 18px 20px 34px;
}

.checkout-mini-product {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 18px;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 24px 18px;
}

.checkout-mini-product h2 {
  margin: 0 0 14px;
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.checkout-mini-product strong {
  font-family: "Ubuntu", sans-serif;
  font-size: 16px;
}

.checkout-mini-product img {
  width: 66px;
  height: 92px;
  object-fit: contain;
}

.checkout-interest {
  margin-top: 52px;
  padding-bottom: 70px;
}

.checkout-interest h2 {
  margin: 0 0 34px;
  text-align: center;
  font-family: "Ubuntu", sans-serif;
  font-size: clamp(24px, 2.5vw, 30px);
}

.checkout-interest .product-carousel {
  padding: 0 32px;
}

.checkout-interest-card {
  min-height: 390px;
  padding-bottom: 74px;
}

.checkout-interest-card .interest-cart-button {
  position: absolute;
  right: 12px;
  bottom: 14px;
  left: 12px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: "Ubuntu", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

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

  .checkout-summary {
    order: -1;
  }

  .checkout-side-summary {
    order: 0;
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .checkout-header,
  .checkout-main {
    width: min(100% - 24px, 1120px);
  }

  .checkout-header {
    min-height: 64px;
  }

  .checkout-steps {
    margin-bottom: 28px;
  }

  .checkout-products {
    padding: 20px 14px;
  }

  .checkout-table-head {
    display: none;
  }

  .checkout-product {
    grid-template-columns: 70px 1fr auto;
    gap: 14px;
  }

  .checkout-product h2 {
    grid-column: 2 / -1;
  }

  .checkout-quantity {
    grid-column: 2;
    justify-self: start;
  }

  .checkout-product strong {
    grid-column: 2;
  }

  .checkout-remove {
    grid-column: 3;
    grid-row: 2 / 4;
  }

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

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

  .checkout-step-card {
    padding: 24px 16px;
  }

  .invoice-toggle label {
    width: 100%;
  }

  .checkout-interest .product-carousel {
    padding: 0;
  }
}

/* Category side modal */
body.category-modal-open {
  overflow: hidden;
}

body.cart-modal-open {
  overflow: hidden;
}

body.auth-modal-open {
  overflow: hidden;
}

body.search-modal-open {
  overflow: hidden;
}

.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(17, 24, 39, 0.58);
}

.search-panel {
  position: fixed;
  top: 68px;
  left: 50%;
  z-index: 90;
  width: min(92vw, 690px);
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(17, 24, 39, 0.26);
  transform: translateX(-50%);
}

.search-panel-head {
  display: none;
}

.search-panel-body {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 280px;
  padding: 20px;
}

.search-suggestions {
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.search-suggestions h2,
.search-products h2 {
  margin: 0 0 14px;
  color: #a3a3a3;
  font-size: 15px;
  font-weight: 800;
}

.search-suggestions button {
  display: block;
  width: 100%;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #3f3f46;
  cursor: pointer;
  padding: 0 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.search-suggestions button:hover,
.search-suggestions button:first-of-type {
  background: #f3f4f6;
}

.search-products {
  display: grid;
  align-content: start;
  padding-left: 14px;
}

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

.search-product {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  min-height: 78px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  padding: 8px;
  color: #3f3f46;
}

.search-product img {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.search-product span {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
}

.search-product strong {
  color: var(--ink);
  font-family: "Josefin Sans", sans-serif;
  font-size: 14px;
}

.search-product em {
  color: var(--red);
  font-style: normal;
  font-weight: 800;
}

.search-view-all {
  justify-self: center;
  margin-top: 26px;
  color: #3f3f46;
  text-decoration: underline;
  font-size: 13px;
}

@media (max-width: 1023px) {
  .search-overlay {
    display: block;
  }

  .search-panel {
    inset: 58px 4px auto;
    z-index: 220;
    width: auto;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    transform: none;
  }

  .search-panel-head {
    display: block;
    padding: 0;
  }

  .search-modal-form {
    display: grid;
    grid-template-columns: 1fr 44px;
    height: 44px;
    border-bottom: 1px solid var(--line);
  }

  .search-modal-form input {
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: var(--ink);
    font-size: 15px;
  }

  .search-panel-close {
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .search-panel-body {
    grid-template-columns: 1fr;
    min-height: 480px;
    padding: 20px;
  }

  .search-suggestions {
    border-right: 0;
    padding-right: 0;
  }

  .search-suggestions button {
    padding-left: 0;
  }

  .search-suggestions button:hover,
  .search-suggestions button:first-of-type {
    background: transparent;
  }

  .search-products {
    padding: 24px 0 0;
  }

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

  .search-product {
    min-height: 82px;
  }
}

@media (max-width: 620px) {
  .search-panel {
    top: 52px;
  }

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

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 24, 39, 0.68);
  backdrop-filter: blur(1px);
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 210;
  width: min(92vw, 390px);
  max-height: min(92vh, 620px);
  overflow-y: auto;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.34);
  transform: translate(-50%, -50%);
}

.auth-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 14px 0 18px;
}

.auth-modal-header h2 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.auth-close-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.auth-close-button:hover {
  background: #f3f4f6;
  color: var(--red);
}

.auth-modal-body {
  padding: 12px 18px 22px;
}

.auth-intro {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.25;
}

.auth-tabs {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 8px;
  background: #f3fbf7;
}

.auth-tab {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-weight: 900;
}

.auth-tab.is-active {
  background: #ffffff;
  color: var(--red-dark);
  box-shadow: 0 6px 14px rgba(5, 150, 105, 0.12);
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form[hidden] {
  display: none;
}

.auth-form label,
.auth-label-row a {
  font-size: 13px;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-label-row a,
.auth-register a {
  color: var(--red);
  font-weight: 700;
}

.auth-form input:not([type="checkbox"]) {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: 0;
  padding: 0 12px;
  color: var(--ink);
  font-size: 14px;
}

.auth-form input:not([type="checkbox"]):focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.auth-submit {
  height: 38px;
  margin-top: 18px;
  border: 0;
  border-radius: 5px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-family: "Josefin Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.auth-submit:hover {
  background: var(--red-dark);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
  color: #9ca3af;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: #d1d5db;
}

.auth-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-options button,
.auth-options a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  background: #111827;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.auth-options button:hover,
.auth-options a:hover {
  background: #0f172a;
  transform: translateY(-1px);
}

.auth-options .lucide-icon {
  width: 16px;
  height: 16px;
}

.auth-options .auth-social-button span {
  color: var(--accent);
  font-weight: 900;
}

.auth-register {
  margin: 26px 0 0;
  color: #4b5563;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 420px) {
  .auth-options {
    grid-template-columns: 1fr;
  }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(17, 24, 39, 0.62);
}

.cart-modal {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 190;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(100vw, 396px);
  background: var(--white);
  color: var(--ink);
  box-shadow: -18px 0 42px rgba(0, 0, 0, 0.22);
}

.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  padding: 0 18px 0 22px;
  border-bottom: 1px solid var(--line);
}

.cart-modal-header h2 {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.cart-close-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.cart-close-button:hover {
  background: #f3f4f6;
  color: var(--red);
}

.cart-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100%;
  padding: 40px 28px;
  color: #6b7280;
  text-align: center;
}

.cart-empty h3 {
  margin: 0 0 64px;
  color: var(--red);
  font-family: "Josefin Sans", sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.cart-empty-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 36px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-empty strong {
  display: block;
  margin-bottom: 36px;
  color: #6b7280;
  font-size: 16px;
  font-weight: 800;
}

.cart-empty p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.12;
}

.category-button .icon-menu-close {
  display: none;
}

.category-button[aria-expanded="true"] .icon-menu-lines {
  display: none;
}

.category-button[aria-expanded="true"] .icon-menu-close {
  display: block;
}

.category-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(17, 24, 39, 0.62);
}

.category-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 150;
  display: block;
  --category-panel-width: 298px;
  width: var(--category-panel-width);
  min-width: 260px;
  max-width: 100%;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: #111827;
  color: var(--white);
  box-shadow: 18px 0 48px rgba(0, 0, 0, 0.35);
}

.category-menu-header {
  padding: 28px 22px 22px;
  border-bottom: 1px solid rgba(249, 250, 251, 0.28);
}

.category-menu-header h2 {
  margin: 0;
  color: var(--white);
  font-family: "Josefin Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.category-menu-list {
  display: grid;
  padding: 14px 0 22px;
}

.category-menu-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 42px 0 22px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.category-menu-list a::after {
  content: "";
  position: absolute;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(249, 250, 251, 0.65);
  border-right: 1px solid rgba(249, 250, 251, 0.65);
  transform: rotate(45deg);
}

.category-menu-list a:hover {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent);
}

.category-menu-list .lucide-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.category-submenu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: auto;
  left: 298px;
  z-index: 145;
  width: min(810px, calc(100vw - 330px));
  max-width: calc(100vw - 298px);
  overflow-y: auto;
  background: var(--white);
  color: var(--ink);
  padding: 28px 40px 46px;
  box-shadow: 20px 0 48px rgba(0, 0, 0, 0.18);
}

.category-submenu-head {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.category-submenu-head h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Josefin Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.category-submenu-head a {
  border-left: 1px solid var(--line);
  padding-left: 18px;
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease;
}

.category-submenu-head a:hover {
  color: var(--red-dark);
}

.category-submenu-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
}

.category-submenu-close:hover {
  background: #f3f4f6;
  color: var(--red);
}

.category-submenu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 30px 52px;
  padding-top: 26px;
}

.category-submenu-group h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
}

.category-submenu-group a {
  display: block;
  margin-bottom: 8px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.25;
}

.category-submenu-group a:hover {
  color: var(--red);
}

.category-menu-list a.is-active {
  background: rgba(52, 211, 153, 0.16);
  color: var(--accent);
}

.category-mobile-account,
.category-mobile-shortcuts,
.category-mobile-featured,
.category-mobile-close,
.category-mobile-submenu {
  display: none;
}

@media (max-width: 900px) {
  .category-submenu {
    left: 298px;
    right: auto;
    width: calc(100vw - 298px);
    padding: 24px;
  }

  .category-submenu-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 24px 30px;
  }
}

@media (max-width: 620px) {
  .category-submenu {
    display: none !important;
  }

  .category-menu.is-mobile-submenu .category-mobile-account,
  .category-menu.is-mobile-submenu .category-mobile-shortcuts,
  .category-menu.is-mobile-submenu .category-mobile-featured,
  .category-menu.is-mobile-submenu .category-menu-list {
    display: none;
  }

  .category-menu.is-mobile-submenu .category-mobile-submenu {
    display: block;
  }

  .category-mobile-submenu-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 80px;
    margin: 0 -26px;
    padding: 0 54px 0 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
  }

  .category-mobile-back {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
  }

  .category-mobile-submenu-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Josefin Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
  }

  .category-mobile-submenu-head a {
    border-left: 1px solid #9ca3af;
    padding-left: 12px;
    color: var(--red-dark);
    font-size: 14px;
    font-weight: 500;
  }

  .category-mobile-submenu-list {
    display: grid;
    padding: 10px 0 24px;
  }

  .category-mobile-submenu-list a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 45px;
    padding-right: 28px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 400;
  }

  .category-mobile-submenu-list a::after {
    content: "";
    position: absolute;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #4b5563;
    border-right: 1px solid #4b5563;
    transform: rotate(45deg);
  }
}

@media (max-width: 1023px) {
  .category-overlay {
    display: none !important;
  }

  .category-button[aria-expanded="true"] {
    position: fixed;
    top: 16px;
    right: 18px;
    left: auto;
    z-index: 170;
    color: #4b5563;
    background: transparent;
  }

  .category-button[aria-expanded="true"]:hover {
    color: var(--red);
  }

  .category-menu {
    inset: 0;
    z-index: 160;
    width: 100vw;
    min-width: 0;
    max-width: none;
    background: var(--white);
    color: var(--ink);
    box-shadow: none;
    padding: 0 26px 28px;
  }

  .category-menu-header {
    display: none;
  }

  .category-mobile-account,
  .category-mobile-shortcuts,
  .category-mobile-featured {
    display: grid;
  }

  .category-mobile-close {
    position: absolute;
    top: 22px;
    right: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
  }

  .category-mobile-close:hover {
    background: #ecfdf5;
    color: var(--red);
  }

  .category-mobile-close .lucide-icon {
    width: 22px;
    height: 22px;
    stroke-width: 2.2;
  }

  .category-mobile-account {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    min-height: 80px;
    margin: 0 -26px;
    padding: 14px 54px 14px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
  }

  .category-mobile-avatar {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #d1d5db;
  }

  .category-mobile-avatar .lucide-icon {
    width: 38px;
    height: 38px;
  }

  .category-mobile-account a {
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
  }

  .category-mobile-shortcuts,
  .category-mobile-featured,
  .category-menu-list {
    border-bottom: 1px solid #d1d5db;
    padding: 14px 0;
  }

  .category-mobile-shortcuts a,
  .category-mobile-featured a,
  .category-menu-list a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 46px;
    padding: 0 28px 0 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
  }

  .category-mobile-shortcuts a::after,
  .category-menu-list a::after {
    content: "";
    position: absolute;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #4b5563;
    border-right: 1px solid #4b5563;
    transform: rotate(45deg);
  }

  .category-mobile-shortcuts .lucide-icon,
  .category-mobile-featured .lucide-icon,
  .category-menu-list .lucide-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: #4b5563;
  }

  .category-menu-list a:hover,
  .category-menu-list a.is-active,
  .category-mobile-shortcuts a:hover,
  .category-mobile-featured a:hover {
    background: transparent;
    color: var(--red);
  }

  .category-submenu {
    display: none !important;
  }

  .category-menu.is-mobile-submenu .category-mobile-account,
  .category-menu.is-mobile-submenu .category-mobile-shortcuts,
  .category-menu.is-mobile-submenu .category-mobile-featured,
  .category-menu.is-mobile-submenu .category-menu-list {
    display: none;
  }

  .category-menu.is-mobile-submenu .category-mobile-submenu {
    display: block;
  }

  .category-mobile-submenu-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 80px;
    margin: 0 -26px;
    padding: 0 54px 0 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
  }

  .category-mobile-back {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
  }

  .category-mobile-submenu-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Josefin Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
  }

  .category-mobile-submenu-head a {
    border-left: 1px solid #9ca3af;
    padding-left: 12px;
    color: var(--red-dark);
    font-size: 14px;
    font-weight: 500;
  }

  .category-mobile-submenu-list {
    display: grid;
    padding: 10px 0 24px;
  }

  .category-mobile-submenu-list a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 45px;
    padding-right: 28px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 400;
  }

  .category-mobile-submenu-list a::after {
    content: "";
    position: absolute;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #4b5563;
    border-right: 1px solid #4b5563;
    transform: rotate(45deg);
  }
}


@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .special-offer {
    background-attachment: scroll;
    background-position: center;
  }
}
/* Whole-template responsive polish */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.topbar,
.new-products-container,
.beauty-categories-container,
.visit-stats-wrap,
.footer-container,
.footer-bottom-container,
.product-detail-main,
.product-detail-page .topbar,
.product-detail-page .footer-container,
.product-detail-page .footer-bottom-container,
.checkout-header,
.checkout-main {
  width: min(100% - 32px, var(--site-max-width));
}

.checkout-header,
.checkout-main {
  max-width: 1120px;
}

.product-card,
.checkout-products,
.checkout-summary,
.checkout-step-card,
.product-main-image,
.delivery-options article {
  min-width: 0;
}

@media (max-width: 1180px) {
  .topbar,
  .new-products-container,
  .beauty-categories-container,
  .visit-stats-wrap,
  .footer-container,
  .footer-bottom-container,
  .product-detail-main,
  .product-detail-page .topbar,
  .product-detail-page .footer-container,
  .product-detail-page .footer-bottom-container,
  .checkout-header,
  .checkout-main {
    width: min(100% - 28px, var(--site-max-width));
  }

  .product-detail-layout,
  .checkout-layout,
  .checkout-form-layout {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    max-width: 820px;
    margin: 0 auto;
  }

  .product-purchase,
  .checkout-side-summary {
    width: min(100%, 820px);
    margin: 0 auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }
}

@media (max-width: 900px) {
  .section-heading {
    align-items: flex-start;
    gap: 12px;
  }

  .section-heading h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .product-list {
    --visible-products: 2;
    --product-gap: 14px;
    grid-auto-columns: calc((100% - var(--product-gap)) / 2);
    gap: var(--product-gap);
  }

  .product-card {
    min-height: 326px;
  }

  .product-card img {
    height: 158px;
  }

  .beauty-categories-container {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .visit-stats-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }

  .footer-form form,
  .checkout-form {
    grid-template-columns: 1fr;
  }

  .checkout-table-head {
    display: none;
  }

  .checkout-products,
  .checkout-summary,
  .checkout-step-card {
    padding: 22px 18px;
  }

  .checkout-product {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }

  .checkout-product img {
    grid-row: span 3;
  }

  .checkout-product h2 {
    max-width: none;
    line-height: 1.25;
  }

  .checkout-quantity {
    justify-self: start;
  }

  .checkout-remove {
    align-self: start;
  }

  .product-detail-layout {
    margin-top: 28px;
  }

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

  .product-thumbs {
    order: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .product-thumb {
    min-height: 82px;
  }

  .product-main-image {
    height: clamp(320px, 62vw, 460px);
    min-height: 0;
  }

  .product-main-image img {
    width: min(58%, 280px);
  }

  .product-actions-row {
    grid-template-columns: 128px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .topbar,
  .new-products-container,
  .beauty-categories-container,
  .visit-stats-wrap,
  .footer-container,
  .footer-bottom-container,
  .product-detail-main,
  .product-detail-page .topbar,
  .product-detail-page .footer-container,
  .product-detail-page .footer-bottom-container,
  .checkout-header,
  .checkout-main {
    width: min(100% - 24px, var(--site-max-width));
  }

  .new-products,
  .best-sellers,
  .visit-stats {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading a {
    font-size: 14px;
  }

  .product-list {
    --visible-products: 1;
    grid-auto-columns: 100%;
    padding-right: 34px;
    padding-left: 34px;
  }

  .product-card {
    min-height: 314px;
    padding: 34px 12px 16px;
  }

  .product-card img {
    height: 148px;
  }

  .favorite-button {
    top: 162px;
  }

  .beauty-category {
    min-width: 142px;
    height: 62px;
    font-size: 15px;
  }

  .visit-stats-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links,
  .footer-container,
  .footer-bottom-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom-container {
    gap: 14px;
    text-align: center;
  }

  .checkout-header {
    min-height: 64px;
  }

  .checkout-steps {
    margin-bottom: 30px;
  }

  .checkout-steps::before,
  .checkout-steps::after {
    top: 32px;
  }

  .checkout-layout,
  .checkout-form-layout,
  .checkout-flow {
    gap: 14px;
  }

  .checkout-product {
    grid-template-columns: 64px minmax(0, 1fr) 28px;
  }

  .checkout-product img {
    width: 58px;
    height: 74px;
  }

  .checkout-product strong,
  .checkout-quantity {
    grid-column: 2 / -1;
  }

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

  .checkout-finish,
  .checkout-continue,
  .buy-now-button {
    width: 100%;
  }

  .product-detail-topbar {
    gap: 14px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .product-main-image {
    height: clamp(260px, 78vw, 340px);
  }

  .product-main-image figcaption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    font-size: clamp(20px, 7vw, 30px);
  }

  .product-ref {
    float: none;
    margin-bottom: 10px;
  }

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

  .quantity-control {
    width: 132px;
  }

  .delivery-options article {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 14px;
  }

  .checkout-interest .product-carousel,
  .detail-product-carousel .product-carousel {
    margin-right: -4px;
    margin-left: -4px;
  }
}

@media (max-width: 420px) {
  .topbar,
  .new-products-container,
  .beauty-categories-container,
  .visit-stats-wrap,
  .footer-container,
  .footer-bottom-container,
  .product-detail-main,
  .product-detail-page .topbar,
  .product-detail-page .footer-container,
  .product-detail-page .footer-bottom-container,
  .checkout-header,
  .checkout-main {
    width: min(100% - 20px, var(--site-max-width));
  }

  .section-heading {
    flex-direction: column;
  }

  .product-list {
    padding-right: 28px;
    padding-left: 28px;
  }

  .product-card h3 {
    font-size: 17px;
  }

  .product-card p {
    font-size: 14px;
  }

  .visit-stats-container {
    grid-template-columns: 1fr;
  }

  .checkout-products,
  .checkout-summary,
  .checkout-step-card {
    border-radius: 10px;
    padding: 18px 14px;
  }

  .checkout-step-title {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .checkout-step-title h1,
  .checkout-step-title h2 {
    font-size: 18px;
  }

  .checkout-product {
    grid-template-columns: 54px minmax(0, 1fr) 26px;
  }

  .checkout-product img {
    width: 50px;
    height: 66px;
  }

  .product-thumb img {
    height: 70px;
  }

  .product-main-image img {
    width: min(70%, 220px);
  }
}
/* Final fix: viral carousel mobile sizing */
@media (max-width: 900px) {
  .viral-products .viral-carousel {
    width: 100%;
    overflow: visible;
  }

  .viral-products .viral-product-list {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none !important;
    grid-auto-columns: minmax(240px, calc(50% - 7px)) !important;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 42px 8px;
  }

  .viral-products .viral-card {
    width: auto;
    min-width: 0;
    scroll-snap-align: start;
  }
}

@media (max-width: 620px) {
  .viral-products .viral-product-list {
    grid-auto-columns: minmax(250px, calc(100vw - 96px)) !important;
    gap: 14px;
    padding-right: 42px;
    padding-left: 42px;
  }

  .viral-products .viral-card {
    grid-template-rows: 132px auto auto auto;
    min-height: 308px;
    padding: 32px 14px 16px;
  }

  .viral-products .viral-card img {
    height: 124px;
  }
}

@media (max-width: 420px) {
  .viral-products .viral-product-list {
    grid-auto-columns: minmax(236px, calc(100vw - 76px)) !important;
    padding-right: 34px;
    padding-left: 34px;
  }

  .viral-products .viral-card {
    grid-template-rows: 124px auto auto auto;
    min-height: 296px;
  }

  .viral-products .viral-card img {
    height: 116px;
  }
}
/* Admin login page */
.admin-login-page {
  background: linear-gradient(180deg, #f8fffc 0%, #eef8f4 42%, #dff7ed 100%);
}

.admin-login-page .site-header {
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(520px, calc(100vh - 76px), 760px);
  padding: clamp(54px, 8vw, 110px) 16px;
  overflow: hidden;
}

.admin-page::before,
.admin-page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.admin-page::before {
  width: 360px;
  height: 360px;
  top: 8%;
  left: -120px;
  background: rgba(52, 211, 153, 0.18);
}

.admin-page::after {
  width: 460px;
  height: 460px;
  right: -180px;
  bottom: -160px;
  background: rgba(5, 150, 105, 0.13);
}

.admin-login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
}

.admin-login-head {
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 24px 28px 20px;
  text-align: center;
}

.admin-login-head h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 36px);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.admin-login-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.admin-login-form {
  display: grid;
  gap: 14px;
  padding: 24px 24px 26px;
}

.admin-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  overflow: hidden;
}

.admin-field input {
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: var(--ink);
  font-size: 15px;
}

.admin-field span {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  background: #f3f4f6;
  color: var(--red-dark);
  font-size: 18px;
}

.admin-field.error {
  border-color: #ef4444;
  background: #fff5f5;
}

.admin-field.error > input {
  background: transparent;
}

.admin-field.error > span {
  border-left-color: #ef4444;
  background: #fff5f5;
  color: #ef4444;
}

.admin-field.success {
  border-color: #10b981;
  background: #f0fdf4;
}

.admin-field.success > input {
  background: transparent;
}

.admin-field.success > span {
  border-left-color: #10b981;
  background: #f0fdf4;
  color: #10b981;
}

.field-msg {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.75rem;
  padding: 0 14px;
  transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.field-msg.error {
  max-height: 30px;
  opacity: 1;
  padding: 4px 14px;
  color: #ef4444;
}

.field-msg.success {
  max-height: 30px;
  opacity: 1;
  padding: 4px 14px;
  color: #10b981;
}

.admin-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.admin-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.admin-options input {
  width: 15px;
  height: 15px;
  accent-color: var(--red);
}

.admin-submit {
  min-width: 118px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.24);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-submit:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.28);
}

.admin-error {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #e53e3e;
  font-size: 14px;
  font-weight: 600;
}

.admin-recover {
  width: fit-content;
  color: var(--red-dark);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Modal Restablecer Contraseña ── */
.modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  margin: 16px;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.modal-close {
  background: none;
  border: none;
  font-size: 36px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.modal-close:hover {
  color: var(--ink);
}

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

.modal-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 4px;
}

.modal-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.modal-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.modal-input:focus {
  border-color: var(--red);
}

.modal-input.error {
  border-color: #ef4444;
  background: #fff5f5;
}

.modal-input.success {
  border-color: #10b981;
  background: #f0fdf4;
}

.modal-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px 24px;
}

.modal-btn-primary {
  height: 46px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-btn-primary:hover {
  background: var(--red-dark);
}

.modal-btn-secondary {
  height: 46px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal-btn-secondary:hover {
  opacity: 0.85;
}

.admin-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 620px) {
  .admin-page {
    align-items: start;
    min-height: auto;
    padding: 42px 12px 56px;
  }

  .admin-login-head {
    padding: 22px 18px 18px;
  }

  .admin-login-form {
    padding: 20px 16px 22px;
  }

  .admin-options {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-submit {
    width: 100%;
  }
}

/* Final category sidebar polish */
.category-menu {
  background: linear-gradient(180deg, #223034 0%, #263438 45%, #1f2b2f 100%);
  color: #dbe5e7;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 14px 0 30px rgba(17, 24, 39, 0.28);
}

.category-menu-header {
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 24, 39, 0.2);
  padding: 18px 20px;
}

.category-menu-header h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dbe5e7;
  font-size: 22px;
  font-weight: 700;
}

.category-menu-list {
  gap: 2px;
  padding: 16px 14px 22px;
}

.category-menu-list a {
  min-height: 46px;
  border-radius: 8px;
  color: #dbe5e7;
  padding: 0 38px 0 12px;
  transition: background 160ms ease, color 160ms ease;
}

.category-menu-list a::before {
  content: "";
  position: absolute;
  inset: 9px auto 9px 0;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.category-menu-list a::after {
  right: 14px;
  border-color: rgba(219, 229, 231, 0.62);
}

.category-menu-list a:hover,
.category-menu-list a.is-active {
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
}

.category-menu-list a:hover::before,
.category-menu-list a.is-active::before {
  background: #34d399;
}

.category-menu-list a:hover::after,
.category-menu-list a.is-active::after {
  border-color: #34d399;
}

.category-menu-list .lucide-icon {
  color: #b7c7cb;
  stroke-width: 2.2;
}

.category-menu-list a:hover .lucide-icon,
.category-menu-list a.is-active .lucide-icon {
  color: #34d399;
}

.category-submenu {
  border-left: 1px solid rgba(5, 150, 105, 0.12);
  box-shadow: 16px 0 40px rgba(17, 24, 39, 0.16);
}

.category-submenu-head {
  border-bottom-color: var(--soft-bg);
}

.category-submenu-head h2 {
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
}

.category-submenu-group h3 {
  color: var(--red-dark);
}

@media (max-width: 1023px) {
  .category-menu {
    background: var(--white);
    color: var(--ink);
    border-right: 0;
    box-shadow: none;
  }

  .category-menu-list a {
    color: var(--ink);
    border-radius: 0;
    padding: 0 28px 0 0;
  }

  .category-menu-list a::after {
    border-color: #4b5563;
  }

  .category-menu-list a:hover,
  .category-menu-list a.is-active {
    background: transparent;
    color: var(--red-dark);
  }

  .category-menu-list a:hover::after,
  .category-menu-list a.is-active::after {
    border-color: var(--red-dark);
  }

  .category-menu-list .lucide-icon {
    color: #4b5563;
  }

  .category-menu-list a:hover .lucide-icon,
  .category-menu-list a.is-active .lucide-icon {
    color: var(--red-dark);
  }

  .category-menu-list a::before,
  .category-menu-header h2::before {
    display: none;
  }
}

/* Final frontend polish */
:root {
  --ui-surface: #ffffff;
  --ui-surface-soft: #f3fbf7;
  --ui-border: #e3eee8;
  --ui-shadow-sm: 0 2px 10px rgba(17, 24, 39, 0.06);
  --ui-shadow-md: 0 14px 34px rgba(17, 24, 39, 0.1);
}

body {
  background: linear-gradient(180deg, #ffffff 0, #f8fbfa 520px, var(--page) 100%);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(227, 238, 232, 0.92);
  box-shadow: 0 6px 22px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(10px);
}

.topbar {
  min-height: 72px;
}

.brand img {
  display: block;
  width: clamp(118px, 11vw, 160px);
  height: auto;
}

.category-button {
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.18);
}

.category-button:hover {
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.22);
}

.search {
  border-color: var(--ui-border);
  border-radius: 8px;
  box-shadow: var(--ui-shadow-sm);
}

.search:focus-within {
  border-color: rgba(5, 150, 105, 0.42);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.09), var(--ui-shadow-sm);
}

.search input {
  font-size: 14px;
}

.auth-terms {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.2;
}

.auth-terms input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.action-link,
.cart-link {
  color: #3f4a45;
}

.action-link:hover,
.cart-link:hover {
  color: var(--red-dark);
}

.hero-slider {
  background: #eef8f3;
}

@media (min-width: 1024px) {
  .hero-slider {
    --slider-height: clamp(420px, 34vw, 640px);
  }

  .hero-slide {
    padding-top: clamp(42px, 4vw, 58px);
    padding-bottom: clamp(36px, 3.4vw, 50px);
  }
}

@media (min-width: 621px) and (max-width: 1023px) {
  .hero-slider {
    --slider-height: clamp(270px, 42vw, 360px);
  }
}

.new-products,
.best-sellers,
.catalog {
  background: transparent;
}

.section-heading h2,
.catalog-header h1 {
  color: #17211d;
}

.section-heading a,
.catalog-count {
  color: #52635b;
}

.product-card {
  border-color: var(--ui-border);
  border-radius: 8px;
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-sm);
}

.product-card:hover {
  border-color: #c8ded2;
  box-shadow: var(--ui-shadow-md);
}

.product-card img {
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, var(--ui-surface-soft) 100%);
}

.product-card h3 {
  color: #17211d;
}

.product-card p {
  color: #66746e;
}

.product-card strong,
.price-row strong {
  color: #0f1f18;
}

.product-badge {
  background: #ecfdf5;
  color: #047857;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.13);
}

.badge-offer {
  background: #e8fff4;
  color: #036348;
}

.badge-stock {
  background: #1f2937;
  color: #ffffff;
}

.favorite-button {
  color: #405149;
  box-shadow: var(--ui-shadow-sm);
}

.favorite-button:hover {
  color: var(--red-dark);
}

.favorite-button.is-favorite,
.favorite-button.is-favorite:hover {
  color: var(--red-dark);
  box-shadow: 0 6px 18px rgba(0, 128, 104, 0.22);
}

.catalog-container {
  width: min(100% - 32px, var(--site-max-width));
  max-width: var(--site-max-width);
  padding-right: 0;
  padding-left: 0;
}

.catalog-header {
  min-height: 64px;
  border-bottom: 1px solid var(--ui-border);
  margin-bottom: 28px;
}

.catalog-grid {
  gap: 22px;
}

.catalog-pagination a {
  border-color: var(--ui-border);
  border-radius: 8px;
  background: #ffffff;
}

.catalog-pagination a:hover,
.catalog-pagination a.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
}

.product-detail-page {
  background: #ffffff;
}

.product-detail-page .product-detail-main {
  width: min(100% - 32px, var(--site-max-width));
}

.product-detail-page .product-main-image,
.product-detail-page .product-thumb,
.product-detail-page .delivery-options article {
  border-radius: 8px;
}

.product-detail-page .delivery-options article {
  border: 1px solid var(--ui-border);
  box-shadow: var(--ui-shadow-sm);
}

.product-detail-page .buy-now-button,
.checkout-finish,
.checkout-continue,
.modal-btn-primary {
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.18);
}

.footer-main {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-form input,
.footer-form textarea {
  border-radius: 8px;
}

@media (max-width: 620px) {
  body {
    background: var(--page);
  }

  .site-header {
    backdrop-filter: none;
  }

  .topbar {
    min-height: 56px;
  }

  .catalog-container,
  .product-detail-page .product-detail-main {
    width: min(100% - 24px, var(--site-max-width));
  }

  .catalog-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding-bottom: 16px;
  }
}

/* Hero slider side arrows */
.slider-arrow {
  width: 52px;
  height: 126px;
  border-radius: 0;
  border: 1px solid rgba(167, 243, 208, 0.42);
  background: rgba(5, 150, 105, 0.62);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(5, 150, 105, 0.16);
  backdrop-filter: blur(3px);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.slider-arrow-prev {
  left: 0;
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.slider-arrow-next {
  right: 0;
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.slider-arrow svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.7;
}

.slider-arrow:hover {
  background: rgba(5, 150, 105, 0.82);
  border-color: rgba(209, 250, 229, 0.72);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.24);
}

@media (max-width: 768px) {
  .slider-arrow {
    width: 36px;
    height: 78px;
  }

  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 620px) {
  .hero-slider {
    --slider-height: clamp(220px, 64vw, 260px);
    --slider-footer-height: 34px;
  }

  .slider-track {
    height: calc(var(--slider-height) - var(--slider-footer-height));
    min-height: calc(var(--slider-height) - var(--slider-footer-height));
  }

  .hero-slide {
    grid-template-columns: minmax(128px, 46%) minmax(0, 54%);
    column-gap: 12px;
    padding: 18px 40px 12px;
  }

  .hero-slide.slide-right {
    grid-template-columns: minmax(0, 54%) minmax(128px, 46%);
  }

  .slide-title {
    margin-bottom: 5px;
    font-size: clamp(16px, 4.9vw, 21px);
    line-height: 1.04;
  }

  .slide-subtitle {
    margin-bottom: 7px;
    font-size: clamp(10px, 3.2vw, 13px);
    line-height: 1.14;
  }

  .slide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 30px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
  }

  .slide-media img {
    width: min(100%, 184px);
    max-height: calc(var(--slider-height) - var(--slider-footer-height) - 26px);
  }

  .slider-arrow {
    width: 28px;
    height: 88px;
    background: rgba(5, 150, 105, 0.54);
  }

  .slider-arrow svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 420px) {
  .hero-slider {
    --slider-height: 230px;
  }

  .hero-slide {
    grid-template-columns: minmax(130px, 50%) minmax(0, 50%);
    padding-right: 34px;
    padding-left: 34px;
  }

  .hero-slide.slide-right {
    grid-template-columns: minmax(0, 50%) minmax(130px, 50%);
  }

  .slide-title {
    font-size: clamp(15px, 4.8vw, 18px);
  }

  .slide-subtitle {
    font-size: clamp(9px, 3vw, 11px);
  }

  .slide-button {
    min-width: 106px;
    height: 29px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 9px;
  }

  .slide-media img {
    width: min(100%, 168px);
  }

  .slider-arrow {
    width: 26px;
    height: 82px;
  }
}

/* Mobile header icon cleanup */
@media (max-width: 1023px) {
  .topbar .category-button,
  .topbar .search {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .topbar .category-button {
    min-width: 34px;
    width: 34px;
    height: 38px;
    color: #1f2937;
  }

  .topbar .category-button:hover,
  .topbar .category-button[aria-expanded="true"] {
    background: transparent;
    color: var(--red);
    box-shadow: none;
  }

  body.category-modal-open .topbar .category-button {
    display: none;
  }

  .topbar .category-button .icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.3;
  }

  .topbar .search {
    flex: 0 0 38px;
    min-width: 38px;
    width: 38px;
    height: 38px;
  }

  .topbar .search-button {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1f2937;
    box-shadow: none;
  }

  .topbar .search-button:hover {
    background: transparent;
    color: var(--red);
  }
}

@media (max-width: 420px) {
  .topbar .category-button,
  .topbar .search,
  .topbar .search-button {
    flex-basis: 34px;
    min-width: 34px;
    width: 34px;
  }
}

/* Drawer visibility restore */
body.category-modal-open .site-header,
body.cart-modal-open .site-header {
  position: static;
  z-index: auto;
  backdrop-filter: none;
}

body.category-modal-open .category-overlay,
body.cart-modal-open .cart-overlay {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.24);
}

body.category-modal-open .category-overlay {
  z-index: 180;
}

body.category-modal-open .category-menu {
  inset: 0 auto 0 0;
  height: 100vh;
  z-index: 200;
}

body.category-modal-open .category-submenu {
  top: 0;
  bottom: 0;
  height: 100vh;
  z-index: 195;
}

body.cart-modal-open .cart-overlay {
  z-index: 210;
}

body.cart-modal-open .cart-modal {
  inset: 0 0 0 auto;
  height: 100vh;
  z-index: 220;
}

@media (max-width: 1023px) {
  body.category-modal-open .category-overlay {
    display: none !important;
  }

  body.category-modal-open .category-menu,
  body.cart-modal-open .cart-modal {
    inset: 0;
    height: 100vh;
  }
}

@media (min-width: 621px) and (max-width: 1023px) {
  body.cart-modal-open .cart-modal {
    inset: 0 0 0 auto;
    width: min(420px, calc(100vw - 24px));
    max-width: 420px;
    border-radius: 0;
  }
}

@media (max-width: 620px) {
  body.cart-modal-open .cart-modal {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
}

/* Auth modal responsive restore */
body.auth-modal-open .auth-overlay {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 230;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.24);
}

body.auth-modal-open .site-header {
  position: static;
  z-index: auto;
  backdrop-filter: none;
}

body.auth-modal-open .auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 240;
  display: flex;
  flex-direction: column;
  width: min(92vw, 440px);
  max-height: min(620px, calc(100vh - 32px));
  overflow: hidden;
  border-radius: 8px;
  transform: translate(-50%, -50%);
}

body.auth-modal-open .auth-modal-header {
  position: relative;
  min-height: 62px;
  justify-content: center;
  padding: 0 58px;
  border-bottom: 1px solid var(--line);
}

body.auth-modal-open .auth-modal-header h2 {
  width: 100%;
  text-align: center;
}

body.auth-modal-open .auth-close-button {
  position: absolute;
  top: 12px;
  right: 16px;
}

body.auth-modal-open .auth-modal-body {
  display: grid;
  flex: 1;
  justify-items: center;
  align-content: start;
  overflow-y: auto;
  padding: 22px 22px 26px;
}

body.auth-modal-open .auth-intro,
body.auth-modal-open .auth-form,
body.auth-modal-open .auth-divider,
body.auth-modal-open .auth-options,
body.auth-modal-open .auth-register {
  width: min(100%, 380px);
  margin-right: auto;
  margin-left: auto;
}

body.auth-modal-open .auth-form,
body.auth-modal-open .auth-options {
  justify-self: center;
}

body.auth-modal-open .auth-intro {
  text-align: center;
}

body.auth-modal-open .auth-options button,
body.auth-modal-open .auth-options a {
  min-width: 0;
  padding: 0 12px;
  line-height: 1.05;
}

@media (min-width: 621px) and (max-width: 1023px) {
  body.auth-modal-open .auth-modal {
    width: min(420px, calc(100vw - 32px));
  }
}

@media (max-width: 620px) {
  body.auth-modal-open .auth-modal {
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    transform: none;
  }

  body.auth-modal-open .auth-modal-body {
    min-height: calc(100vh - 62px);
    align-content: start;
    padding: 20px 18px 28px;
  }

  body.auth-modal-open .auth-options {
    grid-template-columns: 1fr;
  }
}

/* Zahara preload and skeleton utilities */
.zahara-preloader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--red-dark);
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.zahara-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.zahara-preloader__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ecfdf5;
  box-shadow: inset 0 0 0 1px #a7f3d0, 0 14px 34px rgba(5, 150, 105, 0.16);
}

.zahara-preloader__mark span {
  width: 28px;
  height: 28px;
  border: 4px solid #a7f3d0;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: zahara-spin 820ms linear infinite;
}

.zahara-preloader p {
  margin: 0;
  color: #047857;
  font-size: 14px;
  font-weight: 900;
}

.skeleton-line,
.skeleton-box,
.skeleton-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf3ef;
}

.skeleton-line::after,
.skeleton-box::after,
.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: translateX(-100%);
  animation: zahara-skeleton 1.35s ease-in-out infinite;
}

.skeleton-line {
  height: 12px;
}

.skeleton-box {
  min-height: 44px;
}

.skeleton-card {
  min-height: 160px;
}

@keyframes zahara-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes zahara-skeleton {
  to {
    transform: translateX(100%);
  }
}

/* User account */
.account-page {
  min-height: calc(100vh - 90px);
  background: linear-gradient(180deg, #f2fbf7 0%, #ffffff 280px);
  padding: clamp(28px, 4vw, 54px) 0 64px;
}

.account-container {
  width: min(100% - 32px, var(--site-max-width));
  margin: 0 auto;
}

.account-empty,
.account-hero,
.account-panel,
.account-sidebar {
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-sm);
}

.account-empty {
  display: grid;
  justify-items: center;
  max-width: 520px;
  margin: 36px auto;
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
}

.account-empty-icon,
.account-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--red);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.14);
}

.account-empty-icon .lucide-icon {
  width: 34px;
  height: 34px;
}

.account-empty h1,
.account-hero h1,
.account-panel h2 {
  margin: 0;
  color: #17211d;
}

.account-empty h1 {
  margin-top: 22px;
  font-size: clamp(26px, 4vw, 34px);
}

.account-empty p,
.account-hero p,
.account-mini-panel p {
  margin: 10px 0 0;
  color: #66746e;
  line-height: 1.55;
}

.account-primary-button,
.account-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #ffffff;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.18);
}

.account-primary-button {
  margin-top: 24px;
}

.account-primary-button:hover,
.account-logout:hover {
  background: var(--red-dark);
  color: #ffffff;
}

.account-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.account-avatar {
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-kicker,
.account-panel-head span,
.account-mini-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.account-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.account-sidebar {
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.account-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  border-radius: 8px;
  color: #52635b;
  padding: 0 12px;
  font-weight: 800;
}

.account-sidebar a:hover,
.account-sidebar a.is-active {
  background: #ecfdf5;
  color: var(--red);
}

.account-sidebar .lucide-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.account-content {
  display: grid;
  gap: 18px;
}

.account-panel {
  padding: clamp(20px, 3vw, 28px);
}

.account-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--ui-border);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.account-panel h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.account-status {
  border-radius: 999px;
  background: #fff7ed;
  color: #b45309;
  padding: 8px 14px;
  font-size: 12px;
}

.account-status.is-verified {
  background: #ecfdf5;
  color: #047857;
}

.account-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.account-data-grid div {
  min-width: 0;
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: var(--ui-surface-soft);
  padding: 14px 16px;
}

.account-data-grid dt {
  margin-bottom: 7px;
  color: #66746e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-data-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #17211d;
  font-size: 16px;
  font-weight: 800;
}

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

.account-field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.account-field-wide {
  grid-column: 1 / -1;
}

.account-field label {
  color: #66746e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-field input,
.account-field select,
.account-field textarea {
  width: 100%;
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: #ffffff;
  color: #17211d;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: 0;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.account-field select {
  min-height: 48px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #52635b 50%), linear-gradient(135deg, #52635b 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.account-field textarea {
  min-height: 108px;
  resize: vertical;
}

.account-field input:focus,
.account-field select:focus,
.account-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.account-field input[readonly] {
  background: var(--ui-surface-soft);
  color: #66746e;
  cursor: not-allowed;
}

.auth-form input:not([type="checkbox"])::placeholder,
.account-field input::placeholder,
.account-field textarea::placeholder,
.checkout-form input::placeholder,
.newsletter-field input::placeholder,
.modal-input::placeholder {
  color: #b7c1bc;
  font-weight: 500;
}

.account-phone-field {
  display: grid;
  grid-template-columns: minmax(76px, auto) minmax(0, 1fr);
}

.account-phone-field .account-dial-code {
  display: grid;
  place-items: center;
  border: 1px solid var(--ui-border);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #ecfdf5;
  color: var(--red);
  padding: 0 14px;
  font-weight: 900;
}

.account-phone-field input {
  border-radius: 0 8px 8px 0;
}

.account-field .select2-container {
  width: 100% !important;
}

.account-field .select2-container--default .select2-selection--single {
  height: 48px;
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.account-field .select2-container--default.select2-container--focus .select2-selection--single,
.account-field .select2-container--default.select2-container--open .select2-selection--single {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.account-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #17211d;
  font-size: 15px;
  font-weight: 700;
  line-height: 48px;
  padding-left: 14px;
  padding-right: 38px;
}

.account-field .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #b7c1bc;
  font-weight: 500;
}

.account-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 10px;
  right: 10px;
}

.select2-dropdown {
  border-color: var(--ui-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.16);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  outline: 0;
  padding: 9px 10px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--red);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--red);
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: #ecfdf5;
  color: #047857;
}

.account-form-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--ui-border);
  margin-top: 20px;
  padding-top: 18px;
}

.account-mini-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.account-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.account-section-head small {
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--red-dark);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.account-favorites-grid {
  display: grid;
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.account-favorite-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--ui-border);
  background: #ffffff;
  padding: 20px;
  transition: background 160ms ease;
}

.account-favorite-card:last-child {
  border-bottom: 0;
}

.account-favorite-card:hover {
  background: #f8fffb;
}

.account-favorite-image {
  display: grid;
  place-items: center;
  width: 150px;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #f4f8f6;
  overflow: hidden;
}

.account-favorite-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.account-favorite-info {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.account-favorite-info h3 {
  margin: 0;
  color: #38534a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.account-favorite-info p {
  margin: 10px 0 0;
  color: #26342f;
  font-size: 16px;
  line-height: 1.55;
}

.account-favorite-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 24px;
  margin-top: 9px;
}

.account-favorite-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--red-dark);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-favorite-badges span.is-muted {
  background: #f3f4f6;
  color: #52635b;
}

.account-favorite-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.account-favorite-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.account-favorite-price strong {
  color: #38534a;
  font-size: 20px;
  font-weight: 900;
}

.account-favorite-price del {
  color: #9aa6a0;
  font-weight: 800;
}

.account-favorite-actions {
  display: flex;
  align-items: center;
  gap: 0;
}

.account-favorite-remove,
.account-favorite-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.account-favorite-remove {
  border-radius: 6px 0 0 6px;
  background: #f8faf9;
  color: #52635b;
}

.account-favorite-remove:hover {
  background: #ecfdf5;
  color: var(--red-dark);
}

.account-favorite-link {
  border-radius: 0 6px 6px 0;
  background: var(--red);
  color: #ffffff;
}

.account-favorite-link:hover {
  background: var(--red-dark);
  color: #ffffff;
}

.account-favorites-empty {
  display: grid;
  justify-items: center;
  padding: 28px 18px;
  text-align: center;
}

.account-favorites-empty h3 {
  margin: 16px 0 0;
  color: #17211d;
  font-size: 22px;
}

/* Cart page */
.cart-page {
  min-height: calc(100vh - 90px);
  background: linear-gradient(180deg, #f2fbf7 0%, #ffffff 300px);
  padding: clamp(24px, 4vw, 48px) 0 64px;
}

.cart-page-container {
  width: min(100% - 32px, var(--site-max-width));
  margin: 0 auto;
}

.cart-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #66746e;
  font-size: 14px;
  font-weight: 700;
}

.cart-breadcrumb a:hover {
  color: var(--red-dark);
}

.cart-breadcrumb strong {
  color: #17211d;
}

.cart-page-hero,
.cart-table,
.cart-page-empty {
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--ui-shadow-sm);
}

.cart-page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: clamp(20px, 3vw, 30px);
}

.cart-page-hero span {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-page-hero h1 {
  margin: 0;
  color: #17211d;
  font-size: clamp(30px, 4vw, 44px);
}

.cart-page-hero p {
  margin: 10px 0 0;
  color: #66746e;
  line-height: 1.55;
}

.cart-page-back,
.cart-checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  white-space: nowrap;
}

.cart-page-back {
  border: 1px solid rgba(5, 150, 105, 0.22);
  background: #ecfdf5;
  color: var(--red-dark);
}

.cart-page-back:hover {
  background: #d1fae5;
  color: var(--red-dark);
}

.cart-table {
  overflow: hidden;
}

.cart-table-head,
.cart-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 160px 150px 160px 70px;
  align-items: center;
}

.cart-table-head {
  min-height: 58px;
  border-bottom: 1px solid var(--ui-border);
  background: #f8faf9;
  color: #52635b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.cart-table-head span:first-child {
  text-align: left;
  padding-left: 20px;
}

.cart-row {
  border-bottom: 1px solid var(--ui-border);
  padding: 18px 0;
}

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

.cart-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding-left: 20px;
}

.cart-product-image {
  display: grid;
  place-items: center;
  width: 92px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f4f8f6;
  overflow: hidden;
}

.cart-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.cart-product-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.cart-product-copy strong {
  color: #17211d;
  font-size: 17px;
  line-height: 1.25;
}

.cart-product-copy small {
  color: #66746e;
  line-height: 1.4;
}

.cart-cell {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #17211d;
  font-weight: 800;
  text-align: center;
}

.cart-mobile-label {
  display: none;
  color: #66746e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-quantity {
  display: grid;
  grid-template-columns: 38px 48px 38px;
  min-height: 38px;
  border: 1px solid rgba(5, 150, 105, 0.26);
  border-radius: 999px;
  overflow: hidden;
}

.cart-quantity-button,
.cart-quantity input {
  border: 0;
  background: #ffffff;
  color: #17211d;
  text-align: center;
  font-weight: 900;
  outline: 0;
}

.cart-quantity-button {
  cursor: pointer;
}

.cart-quantity-button:hover {
  background: #ecfdf5;
  color: var(--red-dark);
}

.cart-quantity input::-webkit-outer-spin-button,
.cart-quantity input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.cart-price,
.cart-subtotal {
  color: #17211d;
  font-size: 16px;
}

.cart-subtotal {
  color: var(--red-dark);
}

.cart-remove-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ui-border);
  border-radius: 50%;
  background: #ffffff;
  color: #52635b;
  cursor: pointer;
}

.cart-remove-button:hover {
  border-color: rgba(5, 150, 105, 0.28);
  background: #ecfdf5;
  color: var(--red-dark);
}

.cart-remove-button .lucide-icon {
  width: 18px;
  height: 18px;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  border-top: 1px solid var(--ui-border);
  background: #f8faf9;
  padding: 18px 20px;
}

.cart-summary div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.cart-summary span {
  color: #52635b;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-summary strong {
  color: var(--red-dark);
  font-size: 24px;
}

.cart-checkout-button {
  border: 0;
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.18);
}

.cart-checkout-button:hover {
  background: var(--red-dark);
  color: #ffffff;
}

.cart-page-empty {
  display: grid;
  justify-items: center;
  padding: clamp(34px, 7vw, 70px) 20px;
  text-align: center;
}

.cart-page-empty-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--red-dark);
}

.cart-page-empty-icon .lucide-icon {
  width: 44px;
  height: 44px;
}

.cart-page-empty h2 {
  margin: 22px 0 0;
  color: #17211d;
  font-size: clamp(26px, 4vw, 34px);
}

.cart-page-empty p {
  max-width: 460px;
  margin: 10px 0 22px;
  color: #66746e;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .account-hero,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-avatar {
    width: 64px;
    height: 64px;
  }

  .account-logout {
    width: 100%;
  }

  .account-sidebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-sidebar a {
    justify-content: center;
    min-height: 52px;
    padding: 0 8px;
    font-size: 13px;
  }

  .cart-page-hero,
  .cart-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-page-back,
  .cart-checkout-button {
    width: 100%;
  }

  .cart-table-head {
    display: none;
  }

  .cart-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cart-product {
    grid-template-columns: 82px minmax(0, 1fr);
    padding-left: 0;
  }

  .cart-product-image {
    width: 82px;
  }

  .cart-cell {
    grid-template-columns: 120px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
  }

  .cart-mobile-label {
    display: block;
  }

  .cart-remove-cell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .account-page {
    padding-top: 18px;
  }

  .account-container {
    width: min(100% - 24px, var(--site-max-width));
  }

  .account-sidebar,
  .account-data-grid,
  .account-form-grid {
    grid-template-columns: 1fr;
  }

  .account-panel-head {
    display: grid;
  }

  .account-form-actions .account-primary-button {
    width: 100%;
  }

  .account-section-head,
  .account-favorite-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .account-section-head small,
  .account-favorite-link {
    width: fit-content;
  }

  .account-favorite-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .account-favorite-image {
    width: 92px;
  }

  .account-favorite-info p {
    font-size: 14px;
    line-height: 1.45;
  }

  .account-favorite-actions {
    align-items: flex-start;
    gap: 0;
  }
}
