@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  font-family: "Manrope", system-ui, sans-serif;
  color: #15223a;
  background: #ffffff;
  font-synthesis: none;
  --purple: #8a70d8;
  --purple-dark: #6f48d5;
  --cyan: #46c0df;
  --blue: #68a5de;
  --coral: #ff7a59;
  --ink: #15223a;
  --muted: #69758f;
  --surface: #f7f9fc;
  --border: #e5e7eb;
  --shadow: 0 18px 50px rgba(69, 52, 122, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

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

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  display: none;
  padding: 8px 20px;
  color: #fff;
  background: linear-gradient(90deg, #8a70d8, #68a5de, #46c0df);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 10px max(28px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.logo-button {
  width: 142px;
  padding: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 25px 0;
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--purple-dark);
}

.category-dropdown {
  position: absolute;
  top: 62px;
  left: -18px;
  display: grid;
  width: 210px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: 180ms ease;
}

.category-dropdown button {
  padding: 10px 12px;
  border-radius: 9px;
  text-align: left;
  font-size: 13px;
}

.category-dropdown button:hover {
  background: #f5f0ff;
  color: var(--purple-dark);
}

.category-trigger:hover .category-dropdown,
.category-trigger:focus-within .category-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-actions,
.search-box {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 10px;
}

.search-box {
  width: 268px;
  height: 43px;
  padding: 0 13px 0 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.search-box input::placeholder {
  color: #929bb0;
}

.search-box button {
  display: grid;
  padding: 4px;
  color: #6c7894;
  place-items: center;
}

.bag-button,
.icon-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #596581;
  place-items: center;
}

.bag-button:hover,
.icon-button:hover {
  background: #f5f0ff;
  color: var(--purple-dark);
}

.bag-button span {
  position: absolute;
  top: 2px;
  right: 1px;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 10px;
  color: #fff;
  background: var(--purple-dark);
  font-size: 9px;
  font-weight: 800;
  place-items: center;
}

.menu-button,
.mobile-search {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  align-items: center;
  gap: 50px;
  min-height: 570px;
  padding-block: 54px 64px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -30px;
  left: -150px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(138, 112, 216, 0.13),
    transparent 66%
  );
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 99px;
  color: #7752d6;
  background: #f2edff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.small {
  padding: 5px 9px;
  border-radius: 5px;
}

.hero h1 {
  max-width: 660px;
  margin: 20px 0 22px;
  font-size: clamp(49px, 5.2vw, 74px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(90deg, #8a70d8 10%, #46c0df 95%);
  background-clip: text;
  font-style: normal;
}

.hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #8a70d8, #7250d6);
  box-shadow: 0 12px 26px rgba(122, 83, 215, 0.24);
}

.button.secondary {
  border: 1px solid #ddd7ef;
  color: #7250d6;
  background: #fff;
}

.button.whatsapp {
  color: #fff;
  background: #16bd61;
  box-shadow: 0 10px 22px rgba(22, 189, 97, 0.16);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
  color: #6f7990;
  font-size: 11px;
  font-weight: 600;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-points svg {
  color: #39b999;
}

.hero-sale-wrap {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 18px 30px;
}

.hero-sale-wrap::before {
  position: absolute;
  z-index: -2;
  inset: 2% -8% 4%;
  border-radius: 48% 52% 45% 55% / 57% 48% 52% 43%;
  background:
    radial-gradient(
      circle at 35% 28%,
      rgba(255, 255, 255, 0.95),
      transparent 35%
    ),
    linear-gradient(145deg, #eee8ff, #e8f8fb 70%);
  content: "";
  transform: rotate(-4deg);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(138, 112, 216, 0.28);
  border-radius: 50%;
}

.orbit-one {
  inset: 3% 4% 6% -1%;
  transform: rotate(15deg);
}

.orbit-two {
  inset: 12% -5% 0 8%;
  border-color: rgba(70, 192, 223, 0.3);
  transform: rotate(-10deg);
}

.hero-sale-card {
  width: min(380px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(75, 48, 132, 0.17);
  backdrop-filter: blur(10px);
}

.sale-badge,
.card-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #9a77e4, #7545dd);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-sale-card {
  position: relative;
}

.hero-product-image {
  width: 100%;
  height: 252px;
  padding: 18px 24px 0;
  background: linear-gradient(180deg, #f5f2fa, #fbfbfd);
}

.hero-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 250ms ease;
}

.hero-product-image:hover img,
.product-image:hover img {
  transform: scale(1.035);
}

.hero-card-copy {
  padding: 19px 24px 24px;
}

.sku {
  display: block;
  color: #8b94aa;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-copy h2 {
  margin: 5px 0 10px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-line strong {
  color: #7146da;
  font-size: 24px;
}

.price-line s {
  color: #9ca5b7;
  font-size: 12px;
}

.stock {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0 16px;
  color: #64718a;
  font-size: 10px;
}

.stock i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21bd70;
}

.hero-card-copy .button {
  width: 100%;
  min-height: 44px;
  font-size: 12px;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 17px;
}

.hero-carousel-controls > button {
  display: grid;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(138, 112, 216, 0.25);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 15px rgba(65, 50, 109, 0.09);
  place-items: center;
}

.carousel-dots {
  display: flex;
  gap: 5px;
}

.carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 8px;
  background: #cec5e8;
  transition: 160ms ease;
}

.carousel-dots button.active {
  width: 22px;
  background: var(--purple);
}

.category-section {
  padding-block: 64px 38px;
  border-top: 1px solid #f0edf6;
}

.section-heading span,
.catalog-header > span,
.quote-header > span,
.whatsapp-banner > div > span {
  color: var(--purple-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading.row > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 800;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 29px;
}

.category-card {
  display: grid;
  gap: 13px;
  min-height: 125px;
  padding: 22px 10px;
  border: 1px solid #ebe9f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(44, 37, 65, 0.04);
  place-items: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 32px rgba(70, 48, 125, 0.1);
}

.category-card > span {
  display: grid;
  width: 51px;
  height: 51px;
  border-radius: 16px;
  place-items: center;
}

.category-card strong {
  font-size: 11px;
}

.category-card.purple > span {
  color: #7e57d7;
  background: #f1ebff;
}

.category-card.blue > span {
  color: #4c91d0;
  background: #eaf4ff;
}

.category-card.coral > span {
  color: #e9674e;
  background: #fff0ec;
}

.category-card.cyan > span {
  color: #27a9c8;
  background: #e7fafd;
}

.category-card.gold > span {
  color: #d49a31;
  background: #fff7dc;
}

.category-card.violet > span {
  color: #9b65cb;
  background: #f5ecfb;
}

.showcase {
  padding-block: 74px 46px;
}

.product-rail,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.product-card {
  overflow: hidden;
  border: 1px solid #e9e8ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(40, 31, 72, 0.035);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(51, 39, 91, 0.1);
}

.product-image {
  position: relative;
  width: 100%;
  height: 255px;
  padding: 24px;
  background: #f8f8fa;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms ease;
}

.product-copy {
  padding: 17px 18px 19px;
}

.product-category {
  color: #8b94a8;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-name {
  display: block;
  min-height: 48px;
  margin: 6px 0 4px;
  padding: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.product-name:hover {
  color: var(--purple-dark);
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.product-price strong {
  color: var(--purple-dark);
  font-size: 19px;
}

.product-price s {
  color: #a1a8b6;
  font-size: 10px;
}

.quick-quote {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  border: 1px solid #c5ead6;
  border-radius: 9px;
  color: #159b51;
  background: #f3fff8;
  font-size: 10px;
  font-weight: 800;
}

.quick-quote:hover {
  color: #fff;
  background: #16bd61;
}

.whatsapp-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-block: 56px;
  padding: 41px 50px;
  overflow: hidden;
  border-radius: 25px;
  color: #fff;
  background:
    radial-gradient(
      circle at 75% -40%,
      rgba(255, 255, 255, 0.26),
      transparent 45%
    ),
    linear-gradient(120deg, #7c58d5, #55a9d9 62%, #3cc0d9);
}

.whatsapp-banner h2 {
  margin: 7px 0 7px;
  font-size: 31px;
  letter-spacing: -0.04em;
}

.whatsapp-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.whatsapp-banner > div > span {
  color: rgba(255, 255, 255, 0.78);
}

.button.whatsapp.light {
  flex: 0 0 auto;
  color: #138c49;
  background: #fff;
  box-shadow: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-block: 45px 80px;
  padding: 26px;
  border: 1px solid #eae8ef;
  border-radius: 19px;
  background: #fff;
}

.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 2px 25px;
  border-right: 1px solid #ece9f1;
}

.trust-strip > div:last-child {
  border: 0;
}

.trust-strip > div > span {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--purple-dark);
  background: #f1ebff;
  place-items: center;
}

.trust-strip > div:nth-child(2) > span {
  color: #259db9;
  background: #e7f9fd;
}

.trust-strip > div:nth-child(3) > span {
  color: #159b51;
  background: #eafbf2;
}

.trust-strip p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: #7d879d;
  font-size: 9px;
  line-height: 1.5;
}

.trust-strip p strong {
  color: var(--ink);
  font-size: 11px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 28px 0;
  color: #7f8aa0;
  font-size: 11px;
}

.breadcrumb button {
  padding: 0;
}

.breadcrumb button:hover {
  color: var(--purple-dark);
}

.catalog-page,
.quote-page {
  min-height: 680px;
  padding-bottom: 90px;
}

.catalog-header,
.quote-header {
  max-width: 700px;
  padding: 24px 0 35px;
}

.catalog-header h1,
.quote-header h1 {
  margin: 8px 0 10px;
  font-size: clamp(38px, 5vw, 57px);
  letter-spacing: -0.05em;
}

.catalog-header p,
.quote-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-block: 1px solid var(--border);
  font-size: 11px;
}

.catalog-toolbar select {
  padding: 10px 35px 10px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: #626e86;
  background: #fff;
  font-size: 11px;
}

.catalog-grid {
  margin-top: 26px;
}

.pdp {
  padding-bottom: 80px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
}

.pdp-image {
  position: relative;
  display: grid;
  min-height: 590px;
  padding: 50px;
  border-radius: 24px;
  background: #f6f4f8;
  place-items: center;
}

.pdp-image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}

.pdp-grid > div > .trust-strip {
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 0;
  padding: 20px 12px;
}

.pdp-grid > div > .trust-strip > div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 9px;
  text-align: center;
}

.pdp-grid > div > .trust-strip p {
  display: none;
}

.pdp-info {
  padding-top: 8px;
}

.pdp-info > .sku {
  margin-top: 15px;
}

.pdp-info h1 {
  margin: 8px 0 13px;
  font-size: clamp(38px, 4.5vw, 55px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.pdp-price {
  display: flex;
  align-items: center;
  gap: 13px;
}

.pdp-price strong {
  color: var(--purple-dark);
  font-size: 36px;
}

.pdp-price s {
  color: #a0a8b8;
  font-size: 14px;
}

.taxes {
  margin: 2px 0 18px;
  color: #949daf;
  font-size: 10px;
}

.pdp-short {
  margin: 0 0 23px;
  color: #65718a;
  font-size: 14px;
  line-height: 1.7;
}

.option-group {
  margin-top: 20px;
}

.option-group > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
}

.color-options {
  display: flex;
  gap: 10px;
}

.color-options button {
  display: grid;
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 13px;
  color: #fff;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #dfe2e8;
  place-items: center;
}

.color-options button.active {
  box-shadow: 0 0 0 2px var(--purple-dark);
}

.quantity {
  display: inline-grid;
  grid-template-columns: 35px 45px 35px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  font-size: 11px;
}

.quantity button {
  display: grid;
  height: 35px;
  place-items: center;
}

.pdp-cta {
  width: 100%;
  min-height: 58px;
  margin-top: 27px;
  font-size: 15px;
}

.pdp-description {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 17px;
}

.tabs {
  display: flex;
  gap: 35px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: #7d879b;
  font-size: 11px;
}

.tabs strong {
  position: relative;
  color: var(--purple-dark);
}

.tabs strong::after {
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  height: 2px;
  background: var(--purple-dark);
  content: "";
}

.pdp-description > p {
  color: #68748b;
  font-size: 11px;
  line-height: 1.65;
}

.pdp-description ul {
  display: grid;
  gap: 7px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  color: #68748b;
  font-size: 10px;
}

.pdp-description li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.pdp-description li svg {
  color: var(--purple-dark);
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: start;
}

.quote-list {
  display: grid;
  gap: 12px;
}

.quote-item {
  display: grid;
  grid-template-columns: 105px 1fr auto 35px;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.quote-item > img {
  width: 105px;
  height: 90px;
  border-radius: 11px;
  background: #f6f5f7;
  object-fit: contain;
}

.quote-item > div > span {
  color: #929bad;
  font-size: 9px;
}

.quote-item h2 {
  margin: 4px 0 7px;
  font-size: 15px;
}

.quote-item > div > strong {
  color: var(--purple-dark);
  font-size: 14px;
}

.remove-button {
  display: grid;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  color: #a7aebb;
  place-items: center;
}

.remove-button:hover {
  color: #d95050;
  background: #fff1f1;
}

.quote-summary {
  position: sticky;
  top: 105px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-summary > span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  color: #788399;
  font-size: 11px;
}

.quote-summary > div p {
  margin: 0;
}

.quote-summary > .total {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.quote-summary > .total strong {
  color: var(--purple-dark);
  font-size: 22px;
}

.quote-summary .button {
  width: 100%;
  margin-top: 24px;
}

.quote-summary small {
  display: block;
  margin-top: 12px;
  color: #929bad;
  text-align: center;
  font-size: 9px;
  line-height: 1.5;
}

.empty-state {
  display: grid;
  min-height: 330px;
  padding: 50px 20px;
  color: #7b869b;
  text-align: center;
  place-items: center;
  place-content: center;
}

.empty-state h2 {
  margin: 15px 0 5px;
  color: var(--ink);
}

.empty-state p {
  margin: 0 0 20px;
  font-size: 12px;
}

.site-footer {
  color: #667086;
  background: #f7f8fb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding-block: 50px 35px;
}

.footer-grid img {
  width: 142px;
}

.footer-grid p {
  max-width: 390px;
  font-size: 11px;
  line-height: 1.7;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  font-size: 11px;
}

.footer-grid strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 12px;
}

.footer-grid button,
.footer-grid a {
  padding: 0;
  color: #667086;
  font-size: 11px;
}

.footer-bottom {
  padding-block: 16px;
  border-top: 1px solid #e6e8ed;
  font-size: 9px;
}

.toast {
  position: fixed;
  z-index: 70;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  background: #17233a;
  box-shadow: 0 18px 45px rgba(24, 35, 57, 0.25);
  font-size: 11px;
  font-weight: 700;
  animation: toast-in 220ms ease both;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 160px 1fr auto;
    gap: 15px;
  }

  .main-nav {
    gap: 16px;
  }

  .search-box {
    width: 210px;
  }

  .hero {
    gap: 20px;
  }

  .hero h1 {
    font-size: 55px;
  }

  .category-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .topbar {
    font-size: 9px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding-inline: 20px;
  }

  .logo-button {
    width: 126px;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    padding: 12px 10px;
    text-align: left;
  }

  .category-dropdown {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    place-items: center;
  }

  .menu-button span,
  .menu-button span::before,
  .menu-button span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    content: "";
  }

  .menu-button span {
    position: relative;
  }

  .menu-button span::before {
    position: absolute;
    top: -6px;
  }

  .menu-button span::after {
    position: absolute;
    top: 6px;
  }

  .search-box {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    z-index: 5;
    display: flex;
    width: auto;
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    transition: 160ms ease;
  }

  .search-box.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-search {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 48px 55px;
  }

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

  .hero h1,
  .hero-copy > p {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-sale-wrap {
    width: min(540px, 100%);
    margin: 15px auto 0;
  }

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

  .whatsapp-banner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .pdp-image {
    min-height: 500px;
  }

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

  .quote-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    padding: 7px 10px;
    letter-spacing: 0.03em;
  }

  .site-header {
    padding-inline: 14px;
  }

  .header-actions {
    gap: 2px;
  }

  .hero {
    padding-block: 34px 43px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 44px;
  }

  .hero-copy > p {
    font-size: 13px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .button {
    padding-inline: 14px;
    font-size: 11px;
  }

  .hero-points {
    gap: 10px;
    font-size: 9px;
  }

  .hero-sale-wrap {
    padding-inline: 7px;
  }

  .hero-sale-card {
    border-radius: 22px;
  }

  .hero-product-image {
    height: 230px;
  }

  .category-section {
    padding-block: 46px 20px;
  }

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

  .category-rail,
  .product-rail {
    display: flex;
    gap: 12px;
    width: calc(100vw - 14px);
    margin-right: -14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .category-rail::-webkit-scrollbar,
  .product-rail::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    flex: 0 0 130px;
    scroll-snap-align: start;
  }

  .showcase {
    padding-block: 52px 30px;
  }

  .section-heading.row {
    align-items: flex-start;
  }

  .section-heading.row > button {
    flex: 0 0 auto;
    margin-top: 8px;
    font-size: 10px;
  }

  .product-card {
    flex: 0 0 242px;
    scroll-snap-align: start;
  }

  .product-image {
    height: 235px;
  }

  .whatsapp-banner {
    margin-block: 35px;
    padding: 30px 24px;
  }

  .whatsapp-banner h2 {
    font-size: 27px;
  }

  .whatsapp-banner .button {
    width: 100%;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 55px;
  }

  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid #ece9f1;
    padding: 0 0 16px;
  }

  .trust-strip > div:last-child {
    padding-bottom: 0;
  }

  .catalog-header,
  .quote-header {
    padding-top: 10px;
  }

  .catalog-header h1,
  .quote-header h1 {
    font-size: 39px;
  }

  .catalog-grid {
    gap: 10px;
  }

  .catalog-grid .product-image {
    height: 190px;
    padding: 15px;
  }

  .catalog-grid .product-copy {
    padding: 13px;
  }

  .catalog-grid .product-name {
    min-height: 56px;
    font-size: 12px;
  }

  .catalog-grid .quick-quote {
    font-size: 0;
  }

  .catalog-grid .quick-quote svg {
    width: 20px;
    height: 20px;
  }

  .pdp {
    width: 100%;
  }

  .pdp > .breadcrumb,
  .pdp-info {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .pdp-grid {
    gap: 25px;
  }

  .pdp-image {
    min-height: 390px;
    padding: 36px 25px;
    border-radius: 0;
  }

  .pdp-grid > div > .trust-strip {
    display: none;
  }

  .pdp-info h1 {
    font-size: 39px;
  }

  .pdp-price strong {
    font-size: 31px;
  }

  .pdp-description {
    padding: 20px;
  }

  .quote-item {
    grid-template-columns: 82px 1fr auto;
    gap: 12px;
  }

  .quote-item > img {
    width: 82px;
    height: 78px;
  }

  .quote-item .quantity {
    grid-column: 2 / 3;
  }

  .quote-item .remove-button {
    grid-column: 3;
    grid-row: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Ajuste final aprobado: composición editorial + hero con tarjeta de venta. */
.hero {
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 425px;
  padding-block: 28px 36px;
}

.hero h1 {
  max-width: 600px;
  margin: 19px 0 15px;
  font-size: clamp(47px, 4.6vw, 64px);
  line-height: 1.03;
}

.hero-copy > p {
  font-size: 15px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 25px;
}

.button.primary {
  background: linear-gradient(135deg, #46c0df, #18acd0);
  box-shadow: 0 12px 26px rgba(40, 177, 210, 0.22);
}

.button.whatsapp-outline {
  border-color: #19b85c;
  color: #13974e;
}

.hero-sale-wrap {
  padding: 12px 12px 3px;
}

.hero-sale-card {
  display: grid;
  grid-template-areas: "copy image";
  grid-template-columns: 0.82fr 1.18fr;
  width: min(590px, 100%);
  min-height: 335px;
  border-radius: 19px;
}

.hero-product-image {
  grid-area: image;
  height: 100%;
  min-height: 335px;
  padding: 12px 12px 10px 0;
  background: linear-gradient(90deg, #fff, #f8f5fb);
}

.hero-card-copy {
  grid-area: copy;
  align-self: center;
  padding: 55px 10px 25px 26px;
}

.hero-card-copy h2 {
  font-size: 25px;
  line-height: 1.1;
}

.hero-card-copy > p {
  margin: 0 0 12px;
  color: #65718a;
  font-size: 11px;
  line-height: 1.45;
}

.hero-card-copy .button {
  min-height: 40px;
  padding-inline: 10px;
  font-size: 10px;
}

.category-section {
  padding-block: 18px 28px;
}

.category-section .section-heading {
  display: none;
}

.category-rail {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
}

.category-card {
  display: flex;
  min-height: 72px;
  justify-content: flex-start;
  gap: 14px;
  padding: 10px 17px;
  border-radius: 12px;
}

.category-card > span {
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.category-card strong {
  font-size: 12px;
}

.showcase.featured {
  padding-top: 18px;
}

.showcase.featured .product-rail {
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 14px;
  margin-top: 0;
}

.showcase-intro {
  display: grid;
  align-content: center;
  padding: 15px 18px 15px 5px;
}

.showcase-intro h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.showcase-intro i {
  width: 42px;
  height: 3px;
  margin: 13px 0;
  border-radius: 3px;
  background: var(--purple-dark);
}

.showcase-intro span {
  color: #7b879d;
  font-size: 10px;
}

.showcase.featured .product-image {
  height: 165px;
  padding: 13px;
}

.showcase.featured .product-copy {
  padding: 12px 13px 13px;
}

.showcase.featured .product-name {
  min-height: 37px;
  margin: 4px 0 3px;
  font-size: 11px;
}

.showcase.featured .product-price strong {
  font-size: 15px;
}

.showcase.featured .quick-quote {
  min-height: 32px;
  margin-top: 8px;
  font-size: 8px;
}

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

  .showcase.featured .product-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero-sale-card {
    display: block;
  }

  .hero-product-image {
    height: 230px;
    min-height: 230px;
    padding: 15px;
    background: #f7f5f9;
  }

  .hero-card-copy {
    padding: 20px 22px 23px;
  }

  .hero-card-copy > p {
    display: none;
  }

  .category-card {
    flex: 0 0 205px;
  }

  .showcase.featured .product-rail {
    display: flex;
  }

  .showcase.featured .showcase-intro {
    flex: 0 0 210px;
  }
}

/* Integración WordPress */
.admin-bar .site-header {
  top: 32px;
}

.site-header i,
.button i,
.quick-quote i {
  font-size: 1.25em;
  line-height: 1;
}

.category-dropdown a {
  padding: 10px 12px;
  border-radius: 9px;
  text-align: left;
  font-size: 13px;
}

.category-trigger {
  position: relative;
}

.category-dropdown {
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

.category-dropdown-group {
  display: grid;
}

.category-dropdown .category-parent {
  color: var(--ink);
  font-weight: 800;
}

.category-dropdown .category-child {
  padding-block: 6px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 11px;
}

.category-dropdown a:hover {
  color: var(--purple-dark);
  background: #f5f0ff;
}

.bag-button b {
  position: absolute;
  top: 2px;
  right: 1px;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 10px;
  color: #fff;
  background: var(--purple-dark);
  font-size: 9px;
  font-weight: 800;
  place-items: center;
}

.hero-sale-card:not(.is-active) {
  display: none;
}

.hero-sale-card.is-active {
  animation: coldestco-card-in 220ms ease both;
}

@keyframes coldestco-card-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
}

.hero-empty {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 320px;
  padding: 50px;
  border: 1px solid #ded8ee;
  border-radius: 24px;
  background: linear-gradient(145deg, #f2edff, #e9f9fc);
}

.hero-empty > i {
  color: var(--purple-dark);
  font-size: 52px;
}

.hero-empty h2 {
  margin: 20px 0 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.hero-empty p {
  color: var(--muted);
  line-height: 1.6;
}

.category-card .category-arrow {
  margin-left: auto;
  color: #9ba4b6;
}

.section-heading.row > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-name {
  color: var(--ink);
}

.promo-rail {
  display: grid;
  grid-auto-columns: minmax(310px, 1fr);
  grid-auto-flow: column;
  gap: 16px;
  padding-block: 20px 50px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.promo-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 20px;
  background: #f5f3f8;
  scroll-snap-align: start;
}

.promo-card picture,
.promo-card img {
  width: 100%;
  height: 100%;
}

.promo-card img {
  object-fit: cover;
}

.promo-card > span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  padding: 17px;
  border-radius: 13px;
  color: #fff;
  background: rgba(21, 34, 58, 0.72);
  backdrop-filter: blur(8px);
}

.promo-card > span strong {
  font-size: 18px;
}

.promo-card > span small {
  margin-top: 4px;
  opacity: 0.85;
}

.pagination {
  margin-top: 35px;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pagination .page-numbers {
  display: grid;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  place-items: center;
}

.pagination .current {
  color: #fff;
  border-color: var(--purple-dark);
  background: var(--purple-dark);
}

.spec-list {
  display: grid;
  margin-top: 20px;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 10px;
}

.spec-list dt {
  font-weight: 800;
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
}

.coldestco-content {
  min-height: 600px;
  padding-block: 70px;
}

.coldestco-content > h1 {
  font-size: clamp(38px, 6vw, 62px);
  letter-spacing: -0.05em;
}

.empty-state > i {
  font-size: 44px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 820px) {
  .category-trigger > .nav-link {
    justify-content: space-between;
  }

  .category-trigger.is-open .category-dropdown {
    position: static;
    display: grid;
    width: 100%;
    margin-bottom: 8px;
    border: 0;
    border-radius: 10px;
    background: #f8f6fc;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 560px) {
  .admin-bar .site-header {
    top: 0;
  }

  .hero-empty {
    padding: 30px;
  }

  .promo-rail {
    grid-auto-columns: 86%;
  }

  .spec-list > div {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) {
  .shell {
    width: min(1400px, calc(100% - 80px));
  }

  .site-header {
    padding-inline: max(40px, calc((100vw - 1400px) / 2));
  }

  .hero-sale-card {
    width: min(660px, 100%);
  }
}

/* Estos estilos cierran el contrato visual entre el editor y el home real. */
.category-section > .section-heading {
  display: block;
  margin-bottom: 18px;
}

.category-section > .section-heading h2 {
  font-size: clamp(21px, 2.4vw, 30px);
}

.coldestco-preview-active {
  position: relative;
  z-index: 2;
  outline: 4px solid rgba(138, 112, 216, 0.92);
  outline-offset: 5px;
  border-radius: 18px;
  box-shadow: 0 0 0 10px rgba(138, 112, 216, 0.12);
}

/* Paridad pública con el prototipo aprobado. */
[hidden] {
  display: none !important;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.logo-button img,
.footer-grid img {
  width: 100%;
  height: auto;
}

.footer-grid .footer-logo {
  width: 142px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.mobile-nav-heading,
.hero-card-cta-mobile {
  display: none;
}

.category-menu-backdrop {
  top: 78px;
}

.category-dropdown {
  z-index: 3;
  top: 100%;
  left: -28px;
  width: min(500px, calc(100vw - 40px));
  max-height: min(72vh, 620px);
  gap: 2px;
  padding: 14px;
  overflow-y: auto;
  border-top: 0;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 24px 55px rgba(35, 27, 65, 0.16);
}

.category-trigger.is-open .category-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.category-menu-item {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 15px;
  border-radius: 13px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.category-menu-item > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.category-menu-item strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.category-menu-item small {
  color: #7b879e;
  font-size: 10px;
  line-height: 1.4;
}

.category-menu-item em {
  display: inline-flex;
  min-width: 55px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: #f1ebff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.category-menu-item:hover,
.category-menu-item:focus-visible {
  color: var(--purple-dark);
  background: #f8f5ff;
  outline: 0;
}

.category-section {
  padding-block: 42px 28px;
}

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

.category-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  min-width: 0;
  min-height: 130px;
  align-items: center;
  gap: 15px;
  padding: 20px;
}

.category-card-icon {
  flex: 0 0 auto;
}

.category-card-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
  text-align: left;
}

.category-card-copy strong {
  font-size: 14px;
  line-height: 1.25;
}

.category-card-copy small {
  color: #7a869c;
  font-size: 10px;
  line-height: 1.4;
}

.category-card-copy em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--purple-dark);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

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

.product-price {
  min-height: 47px;
  gap: 3px;
  margin: 8px 0 15px;
}

.product-price strong {
  line-height: 1.15;
}

.product-price s {
  line-height: 1.25;
}

.quick-quote {
  color: #fff;
  border-color: #16bd61;
  background: #16bd61;
  box-shadow: 0 9px 21px rgba(22, 189, 97, 0.17);
}

.quick-quote:hover {
  border-color: #119c50;
  background: #119c50;
}

.showcase .product-rail {
  display: block;
  min-width: 0;
}

.showcase.featured .product-rail {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 4fr);
  gap: 18px;
}

.showcase-intro {
  min-width: 0;
}

.product-carousel-shell {
  position: relative;
  width: 100%;
  min-width: 0;
}

.product-carousel-viewport {
  width: calc(100% + 56px);
  min-width: 0;
  margin: -30px -28px;
  padding: 30px 28px;
  overflow: hidden;
}

.product-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.product-carousel-track > .product-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
}

.showcase .product-card {
  grid-template-rows: 220px minmax(238px, 1fr);
  height: 100%;
}

.showcase .product-copy {
  padding: 16px 16px 18px;
}

.showcase .product-name {
  min-height: 45px;
  margin-bottom: 4px;
}

.showcase-carousel-arrow {
  z-index: 4;
}

.showcase-carousel-dots {
  display: none;
}

.hero-sale-wrap,
.hero-sale-card {
  min-width: 0;
  max-width: 100%;
}

.hero-card-cta-desktop {
  display: inline-flex;
}

.catalog-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-filter-apply {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 9px;
  color: #fff;
  background: var(--purple-dark);
  font-size: 10px;
  font-weight: 800;
}

.catalog-filter-apply:hover {
  background: #5f38be;
}

.pdp-grid > *,
.pdp-media-column,
.pdp-info,
.pdp-description {
  min-width: 0;
  max-width: 100%;
}

.pdp-promo-mobile {
  display: none;
}

.tabs button {
  cursor: pointer;
}

.pdp-tab-panel[hidden] {
  display: none !important;
}

.pdp-long-description,
.pdp-long-description p {
  color: #68748b;
  font-size: 11px;
  line-height: 1.7;
}

.pdp-description li i {
  color: var(--purple-dark);
}

.footer-social-heading {
  margin-top: 7px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid #e1dced;
  border-radius: 50%;
  color: var(--purple-dark);
  background: #fff;
  place-items: center;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: #fff;
  border-color: var(--purple-dark);
  background: var(--purple-dark);
  outline: 0;
  transform: translateY(-2px);
}

.floating-cart-button b {
  font-style: normal;
}

.toast {
  right: max(84px, calc(env(safe-area-inset-right) + 80px));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
  max-width: min(390px, calc(100vw - 172px));
}

.admin-bar .category-menu-backdrop {
  top: 110px;
}

@media (min-width: 821px) {
  .main-nav {
    align-self: stretch;
  }

  .category-trigger {
    display: flex;
    align-self: stretch;
    align-items: center;
  }

  .category-dropdown {
    top: 100%;
  }

  .product-carousel-shell.is-carousel::before,
  .product-carousel-shell.is-carousel::after {
    position: absolute;
    z-index: 2;
    top: -30px;
    bottom: -30px;
    width: 30px;
    background: #fff;
    content: "";
    pointer-events: none;
  }

  .product-carousel-shell.is-carousel::before {
    left: -28px;
  }

  .product-carousel-shell.is-carousel::after {
    right: -28px;
  }
}

@media (max-width: 820px) {
  html.mobile-menu-open,
  body.mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header.is-menu-open {
    border-bottom-color: rgba(138, 112, 216, 0.24);
    background: rgba(249, 247, 255, 0.99);
    box-shadow: 0 12px 32px rgba(52, 38, 91, 0.12);
  }

  .logo-button img {
    transition:
      filter 180ms ease,
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-menu-open .logo-button img {
    filter: blur(1.4px) saturate(0.82);
    opacity: 0.62;
    transform: scale(0.985);
  }

  .site-header.is-menu-open .menu-button {
    color: var(--purple-dark);
    background: #eee8ff;
    box-shadow: 0 0 0 4px rgba(138, 112, 216, 0.1);
  }

  .main-nav {
    position: fixed;
    z-index: 42;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    width: 100%;
    height: calc(100dvh - 68px);
    align-content: start;
    gap: 4px;
    padding: 22px 20px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    border: 0;
    border-top: 1px solid #ece8f5;
    border-radius: 0;
    background:
      radial-gradient(
        circle at 100% 0%,
        rgba(70, 192, 223, 0.1),
        transparent 30%
      ),
      linear-gradient(180deg, #fff 0%, #fbfaff 100%);
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    touch-action: pan-y;
    transform: translateY(-12px);
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    transition:
      opacity 160ms ease,
      transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 180ms;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .mobile-nav-heading {
    display: grid;
    gap: 5px;
    margin-bottom: 5px;
    padding: 3px 12px 18px;
    border-bottom: 1px solid #e8e3f4;
  }

  .mobile-nav-heading span {
    color: var(--purple-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mobile-nav-heading strong {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.035em;
  }

  .main-nav .nav-link {
    min-height: 54px;
    justify-content: space-between;
    padding: 14px 12px;
    border-bottom: 1px solid #ececf2;
    font-size: 16px;
  }

  .category-trigger:not(.is-open) .category-dropdown {
    display: none;
  }

  .category-trigger.is-open .category-dropdown {
    position: static;
    display: grid;
    width: 100%;
    max-height: none;
    gap: 4px;
    margin: 4px 0 10px;
    padding: 8px;
    overflow: visible;
    border: 0;
    border-radius: 16px;
    background: #f7f4ff;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .category-menu-item {
    min-height: 64px;
    padding: 10px 11px;
    background: rgba(255, 255, 255, 0.72);
  }

  .category-menu-item small {
    display: none;
  }

  .category-menu-item em {
    min-width: 48px;
    min-height: 34px;
  }

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

  .showcase.featured .product-rail {
    grid-template-columns: minmax(150px, 0.7fr) minmax(0, 2fr);
  }

  .product-carousel-viewport {
    width: 100%;
    margin: -30px 0;
    padding: 30px 14px;
  }

  .product-carousel-track > .product-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .showcase-carousel-arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    overflow: visible;
  }

  .hero-copy,
  .hero-sale-wrap,
  .hero-sale-card,
  .hero-product-image,
  .hero-card-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-sale-wrap::before {
    right: -14px;
    left: -14px;
    pointer-events: none;
  }

  .hero-sale-card {
    display: flex;
    overflow: hidden;
    flex-direction: column;
  }

  .hero-card-copy {
    order: 1;
  }

  .hero-product-image {
    order: 2;
    height: 300px;
    min-height: 300px;
    padding: 0;
    background: #fff;
  }

  .hero-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-card-cta-desktop {
    display: none !important;
  }

  .hero-card-cta-mobile {
    order: 3;
    display: inline-flex;
    width: calc(100% - 28px);
    min-height: 54px;
    margin: 14px;
  }

  .category-rail {
    display: flex;
    width: calc(100% + 28px);
    gap: 12px;
    margin: -14px -14px -24px;
    padding: 14px 14px 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

  .category-card {
    flex: 0 0 230px;
    min-height: 116px;
    padding: 16px;
    scroll-snap-align: start;
  }

  .category-card-copy small {
    font-size: 9px;
  }

  .showcase.featured .product-rail {
    display: block;
  }

  .showcase-intro {
    margin-bottom: 18px;
    padding-inline: 2px;
  }

  .product-carousel-viewport {
    width: calc(100% + 28px);
    margin: -24px -14px -18px;
    padding: 24px 14px 18px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .product-carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .product-carousel-track {
    gap: 12px;
  }

  .product-carousel-track > .product-card,
  .showcase.featured .product-carousel-track > .product-card {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: 0;
    scroll-snap-align: start;
  }

  .showcase .product-card {
    grid-template-rows: 184px minmax(224px, 1fr);
  }

  .showcase .product-image,
  .showcase.featured .product-image {
    height: 184px;
    min-height: 184px;
    max-height: 184px;
  }

  .showcase .product-copy,
  .showcase.featured .product-copy {
    padding: 12px;
  }

  .showcase .product-name,
  .showcase.featured .product-name {
    min-height: 52px;
    font-size: 11px;
    line-height: 1.35;
  }

  .showcase .product-price {
    min-height: 44px;
    margin: 5px 0 11px;
  }

  .showcase .product-price strong {
    font-size: 16px;
  }

  .showcase .quick-quote,
  .showcase.featured .quick-quote {
    min-height: 44px;
    padding: 8px 5px;
    font-size: 8px;
    white-space: normal;
  }

  .showcase-carousel-dots {
    display: flex;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 22px;
  }

  .showcase-carousel-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 999px;
    background: #ddd7ed;
    transition:
      width 180ms ease,
      background-color 180ms ease;
  }

  .showcase-carousel-dots button.active {
    width: 22px;
    background: var(--purple);
  }

  .catalog-toolbar {
    align-items: center;
  }

  .catalog-sort {
    display: none;
  }

  .mobile-filter-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid #ded9ea;
    border-radius: 11px;
    color: var(--ink);
    background: #fff;
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-filter-toggle em {
    display: grid;
    min-width: 19px;
    height: 19px;
    padding-inline: 5px;
    border-radius: 999px;
    color: #fff;
    background: var(--purple-dark);
    font-size: 8px;
    font-style: normal;
    place-items: center;
  }

  .mobile-filter-toggle > i:last-child {
    transition: transform 180ms ease;
  }

  .mobile-filter-toggle.is-open > i:last-child {
    transform: rotate(180deg);
  }

  .catalog-filters {
    display: grid;
    max-height: 0;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition:
      max-height 220ms ease,
      margin-top 180ms ease,
      opacity 160ms ease,
      visibility 0s linear 220ms;
  }

  .catalog-filters.is-open {
    max-height: 680px;
    margin-top: 14px;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .catalog-sort-mobile {
    display: grid;
  }

  .catalog-filter-actions {
    grid-column: 1 / -1;
  }

  .catalog-filter-actions > * {
    flex: 1;
  }

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

  .catalog-grid .product-card {
    min-width: 0;
  }

  .catalog-grid .product-name {
    min-height: 50px;
    overflow-wrap: anywhere;
  }

  .catalog-grid .quick-quote {
    min-height: 42px;
    padding-inline: 5px;
    font-size: 8px;
    white-space: normal;
  }

  .pdp {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    margin-inline: auto;
  }

  .pdp > .breadcrumb,
  .pdp-info {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .pdp-grid {
    width: 100%;
    min-width: 0;
    gap: 25px;
  }

  .pdp-image {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 24px;
    border-radius: 22px;
  }

  .pdp-image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .pdp-info h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(32px, 10vw, 39px);
  }

  .pdp-cta,
  .pdp-description,
  .pdp-promo-banner {
    width: 100%;
    max-width: 100%;
  }

  .pdp-cta {
    padding-inline: 14px;
    text-align: center;
    white-space: normal;
  }

  .pdp-description {
    padding: 20px;
  }

  .tabs {
    width: 100%;
    gap: 0;
  }

  .tabs button {
    min-width: 0;
    flex: 1;
    padding-inline: 8px;
    font-size: 11px;
  }

  .pdp-specifications > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .pdp-promo-desktop {
    display: none;
  }

  .pdp-promo-mobile {
    display: block;
    margin-top: 22px;
    border-radius: 14px;
  }

  .quote-list {
    overflow: visible;
  }

  .quote-list-toggle {
    min-height: 48px;
  }

  .toast {
    right: max(78px, calc(env(safe-area-inset-right) + 74px));
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 14px));
    left: auto;
    max-width: calc(100vw - 100px);
    padding: 12px 14px;
    font-size: 10px;
  }

  .floating-cart-button {
    right: max(14px, calc(env(safe-area-inset-right) + 10px));
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
    width: 50px;
    height: 50px;
    min-height: 50px;
  }
}

@media (max-width: 390px) {
  .catalog-filters {
    grid-template-columns: 1fr;
  }

  .catalog-filter-actions {
    grid-column: 1;
  }

  .showcase .quick-quote,
  .showcase.featured .quick-quote {
    font-size: 7.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-carousel-viewport {
    scroll-behavior: auto !important;
  }
}
