:root {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f4f5f7;
    --text: #111318;
    --muted: #555b66;
    --line: #dfe2e7;
    --red: #d92732;
    --red-hover: #b91f29;
    --blue: #1769d2;
    --blue-hover: #1258b3;
    --yellow: #f2cf19;
    --yellow-hover: #dfbc0e;
    --magenta: #ac2cad;
    --magenta-hover: #902392;
    --on-color: #ffffff;
    --on-yellow: #111318;
    --danger: #a71923;
    --shadow: 0 0.75rem 2.25rem rgba(17, 19, 24, 0.08);
    --radius-sm: 0.65rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.2rem;
    --container: 72rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 20rem;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

a {
    color: inherit;
}

:focus-visible {
    outline: 0.1875rem solid var(--blue);
    outline-offset: 0.1875rem;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--text);
    color: var(--bg);
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

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

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 0.0625rem solid var(--line);
    background: rgba(255, 255, 255, 0.96);
}

.site-header__inner {
    min-height: 4.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    min-width: 3rem;
    min-height: 4rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand__logo {
    width: 2.8rem;
    height: 4rem;
    display: block;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.primary-nav a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding-inline: 0.8rem;
    border-radius: var(--radius-sm);
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
}

.primary-nav a:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.header-page-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-shortcut,
.header-store-shortcut {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 0.8rem;
    border: 0.0625rem solid transparent;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 800;
}

.header-shortcut--blue {
    border-color: var(--blue);
    color: var(--blue);
}

.header-shortcut--blue:hover,
.header-shortcut--blue[aria-current="page"] {
    background: var(--blue);
    color: var(--on-color);
}

.header-shortcut--yellow {
    background: var(--yellow);
    color: var(--on-yellow);
}

.header-shortcut--yellow:hover,
.header-shortcut--yellow[aria-current="page"] {
    background: var(--yellow-hover);
}

.header-store-shortcut {
    background: var(--magenta);
    color: var(--on-color);
}

.header-store-shortcut:hover {
    background: var(--magenta-hover);
}

.cart-button {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.8rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--magenta);
    color: var(--on-color);
    cursor: pointer;
    font-weight: 800;
}

.cart-button:hover {
    background: var(--magenta-hover);
}

.cart-button__count {
    min-width: 1.55rem;
    min-height: 1.55rem;
    display: grid;
    place-items: center;
    padding-inline: 0.25rem;
    border-radius: 999px;
    background: var(--bg);
    color: var(--magenta-hover);
    font-size: 0.8rem;
}

.hero {
    background: var(--bg);
}

.hero__grid {
    min-height: 30rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 1fr);
    align-items: center;
    gap: 3rem;
    padding-block: 3.5rem;
}

.eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow--blue {
    color: var(--blue);
}

.eyebrow--magenta {
    color: var(--magenta);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.12;
}

h1 {
    max-width: 14ch;
    margin-bottom: 1.1rem;
    font-size: clamp(2.55rem, 6.5vw, 5.1rem);
    letter-spacing: -0.05em;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
}

h3 {
    font-size: 1.08rem;
}

.hero__lead {
    max-width: 35rem;
    margin-bottom: 1.6rem;
    color: var(--magenta);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 700;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.preview-note {
    max-width: 34rem;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.button {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border: 0;
    border-radius: var(--radius-sm);
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.button--blue {
    background: var(--blue);
    color: var(--on-color);
}

.button--blue:hover {
    background: var(--blue-hover);
}

.button--red {
    background: var(--red);
    color: var(--on-color);
}

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

.button--magenta {
    background: var(--magenta);
    color: var(--on-color);
}

.button--magenta:hover {
    background: var(--magenta-hover);
}

.button--outline {
    border: 0.0625rem solid var(--line);
    background: var(--surface);
    color: var(--text);
}

.button--outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.button--full {
    width: 100%;
}

.photo-placeholder {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--surface-soft);
    color: var(--muted);
    text-align: center;
}

.photo-placeholder span {
    padding: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.photo-placeholder--hero {
    min-height: 22rem;
    border-radius: var(--radius-lg);
}

.photo-placeholder--hero img {
    width: 100%;
    height: 100%;
    min-height: 22rem;
    display: block;
    object-fit: cover;
}

.page-hero {
    padding-block: 4.5rem;
    border-bottom: 0.0625rem solid var(--line);
    background: var(--bg);
}

.page-hero__content {
    max-width: 52rem;
}

.page-hero h1 {
    max-width: 18ch;
    margin-bottom: 1rem;
    font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.page-hero__lead {
    max-width: 44rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.info-section {
    padding-block: 4.5rem;
    background: var(--bg);
}

.info-section--soft {
    background: var(--surface-soft);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.info-card {
    padding: 1.35rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.info-card h2,
.info-card h3 {
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.info-card p,
.info-card ul {
    margin-bottom: 0;
    color: var(--muted);
}

.info-card ul {
    display: grid;
    gap: 0.45rem;
    padding-left: 1.2rem;
}

.whatsapp-contact-line {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.whatsapp-contact-link {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    color: #1fa855;
}

.whatsapp-contact-link:hover {
    color: #128c4b;
}

.whatsapp-contact-link:focus-visible {
    outline: 0.18rem solid var(--blue);
    outline-offset: 0.2rem;
    border-radius: 50%;
}

.whatsapp-contact-link svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.whatsapp-floating-button {
    position: fixed;
    z-index: 30;
    right: calc(1rem + env(safe-area-inset-right));
    bottom: calc(1rem + env(safe-area-inset-bottom));
    width: 4rem;
    height: 4rem;
    display: grid;
    place-items: center;
    border: 0.125rem solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    background: #25d366;
    box-shadow: 0 0.5rem 1.4rem rgba(19, 62, 42, 0.28);
    text-decoration: none;
}

.whatsapp-floating-button:hover {
    color: #ffffff;
    background: #1ebe5d;
}

.whatsapp-floating-button:focus-visible {
    outline: 0.2rem solid var(--blue);
    outline-offset: 0.2rem;
}

.whatsapp-floating-button svg {
    width: 2.25rem;
    height: 2.25rem;
    fill: currentColor;
}

.policy-note {
    margin: 1.25rem 0 0;
    padding: 1rem 1.15rem;
    border-left: 0.3rem solid var(--yellow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--surface);
    color: var(--muted);
}

.service-strip {
    border-block: 0.0625rem solid var(--line);
}

.service-strip__inner {
    min-height: 4.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 3rem;
    color: var(--muted);
    font-weight: 700;
}

.service-strip__inner span {
    position: relative;
}

.service-strip__inner span:not(:first-child)::before {
    position: absolute;
    top: 50%;
    left: -1.6rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--yellow);
    content: "";
    transform: translateY(-50%);
}

.how-to-buy {
    padding-block: 4.5rem;
    background: var(--surface-soft);
}

.section-heading--compact {
    margin-bottom: 1.5rem;
}

.section-heading__summary {
    max-width: 31rem;
    margin-bottom: 0;
    color: var(--muted);
}

.purchase-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.purchase-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 0.85rem;
    padding: 1.15rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.purchase-steps li > span {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--on-yellow);
    font-weight: 900;
}

.purchase-steps h3,
.purchase-steps p {
    margin-bottom: 0;
}

.purchase-steps p {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.catalog {
    padding-block: 4.5rem;
    background: var(--bg);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-heading__accent {
    margin: 0.5rem 0 0;
    color: var(--red);
    font-weight: 700;
}

.catalog-source {
    max-width: 24rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: right;
}

.catalog-tools {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.search-field,
.form-grid label {
    display: grid;
    gap: 0.4rem;
    color: var(--text);
    font-weight: 700;
}

.search-field span,
.form-grid label span {
    color: var(--muted);
    font-size: 0.9rem;
}

input,
select,
textarea {
    min-height: 3rem;
    padding: 0.65rem 0.8rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
}

textarea {
    width: 100%;
    resize: vertical;
}

.search-field input {
    width: min(24rem, 80vw);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter-button {
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    border: 0.0625rem solid currentColor;
    border-radius: 999px;
    background: var(--bg);
    cursor: pointer;
    font-weight: 700;
}

.filter-button--yellow {
    color: #705f00;
}

.filter-button--blue {
    color: var(--blue);
}

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

.filter-button--magenta {
    color: var(--magenta);
}

.filter-button--yellow.is-active {
    background: var(--yellow);
    color: var(--on-yellow);
}

.filter-button--blue.is-active {
    background: var(--blue);
    color: var(--on-color);
}

.filter-button--red.is-active {
    background: var(--red);
    color: var(--on-color);
}

.filter-button--magenta.is-active {
    background: var(--magenta);
    color: var(--on-color);
}

.results-status {
    min-height: 1.5rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

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

.product-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.product-card__visual {
    position: relative;
    min-height: 15rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--surface-soft);
    color: var(--muted);
}

.product-card__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-card__visual span {
    padding: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-card__body {
    display: grid;
    align-content: start;
    gap: 0.8rem;
    padding: 1rem;
}

.product-card__body h3,
.product-card__body p {
    margin-bottom: 0;
}

.product-card__meta {
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 700;
}

.product-card__detail {
    color: var(--magenta);
    font-size: 0.84rem;
}

.product-card__badge {
    position: absolute;
    z-index: 2;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.35rem 0.55rem !important;
    border-radius: 999px;
    background: var(--yellow);
    color: #171717 !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
}

.product-card__discount-badge {
    position: absolute;
    z-index: 2;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    background: var(--red);
    color: var(--on-color);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.store-announcement {
    padding: 0.55rem 1rem;
    background: var(--blue);
    color: white;
    text-align: center;
    font-size: 0.86rem;
    font-weight: 800;
}

.promo-banner {
    padding-block: 1.25rem;
    border-bottom: 0.0625rem solid var(--line);
    background: var(--surface);
}

.promo-banner__grid {
    min-height: 15rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
    overflow: hidden;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(19, 121, 209, 0.1), rgba(246, 204, 47, 0.13)),
        var(--surface-soft);
}

.promo-banner__content {
    align-self: center;
    padding: clamp(1.4rem, 4vw, 3rem);
}

.promo-banner__content h2 {
    max-width: 18ch;
    margin-bottom: 0.65rem;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.promo-banner__content > p:not(.eyebrow) {
    max-width: 40rem;
    color: var(--muted);
}

.promo-banner__image {
    min-height: 15rem;
}

.promo-banner__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.product-card__price {
    min-width: 0;
    display: grid;
    gap: 0.14rem;
    font-size: 1.12rem;
    font-weight: 900;
}

.price-prefix {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.price-promotion {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.28rem 0.45rem;
}

.price-original {
    color: var(--muted);
    font-size: 0.76em;
    font-weight: 700;
}

.price-current {
    color: var(--text);
    font-size: 1em;
    line-height: 1.15;
}

.price-current--sale {
    color: var(--red);
    font-size: 1.08em;
}

.price-discount {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.18rem 0.42rem;
    border-radius: 999px;
    background: #fcebed;
    color: var(--danger);
    font-size: 0.7rem;
    font-weight: 900;
    white-space: nowrap;
}

.product-card__action {
    background: var(--magenta);
    color: var(--on-color);
}

.product-card__action:hover {
    background: var(--magenta-hover);
}

.product-card__action:disabled {
    border-color: var(--line);
    background: var(--surface-soft);
    color: var(--muted);
    cursor: not-allowed;
}

.product-card__action:disabled:hover {
    background: var(--surface-soft);
}

.empty-results {
    grid-column: 1 / -1;
    padding: 2rem;
    border: 0.0625rem dashed var(--line);
    border-radius: var(--radius-md);
    color: var(--muted);
    text-align: center;
}

.wholesale {
    padding-block: 4.5rem;
    border-top: 0.0625rem solid var(--line);
    background: var(--surface-soft);
}

.wholesale__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1.15fr);
    align-items: start;
    gap: 3rem;
}

.wholesale__content p {
    max-width: 34rem;
    color: var(--muted);
}

.wholesale__content ul {
    display: grid;
    gap: 0.55rem;
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
}

.wholesale-form {
    padding: 1.25rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.full-field {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 700;
}

.full-field span {
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer {
    border-top: 0.0625rem solid var(--line);
    background: var(--surface-soft);
}

.site-footer__inner {
    min-height: 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer a {
    color: var(--blue);
    font-weight: 700;
}

.site-footer .whatsapp-contact-link {
    color: #1fa855;
    text-decoration: none;
}

.site-footer .whatsapp-contact-link:hover {
    color: #128c4b;
}

.dialog {
    width: min(calc(100% - 2rem), 35rem);
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
}

.dialog::backdrop {
    background: rgba(17, 19, 24, 0.62);
}

.dialog__card {
    margin: 0;
    padding: 1.4rem;
}

.dialog__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dialog__header h2 {
    font-size: 1.8rem;
}

.icon-button {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    border: 0.0625rem solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 1.5rem;
}

.dialog__price {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 900;
}

.dialog__price .price-promotion {
    gap: 0.45rem 0.65rem;
}

.dialog__price .price-current--sale {
    font-size: 1.28em;
}

.dialog__price .price-discount {
    min-height: 1.7rem;
    padding-inline: 0.55rem;
    font-size: 0.78rem;
}

.dialog-product-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5rem;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.dialog-product-media > img {
    width: 100%;
    max-height: 22rem;
    display: block;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--surface-soft);
}

.dialog-product-thumbnails {
    display: grid;
    align-content: start;
    gap: 0.45rem;
}

.dialog-product-thumbnails button {
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 0.125rem solid transparent;
    border-radius: 0.55rem;
    background: var(--surface-soft);
}

.dialog-product-thumbnails button.is-active {
    border-color: var(--blue);
}

.dialog-product-thumbnails img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.stock-help {
    min-height: 1.5rem;
    margin: 0 0 1rem;
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 700;
}

.design-help {
    margin: 0 0 1rem;
    padding: 0.8rem;
    border-left: 0.25rem solid var(--yellow);
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.86rem;
}

.cart-items {
    display: grid;
    gap: 0.75rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding: 0.9rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-sm);
}

.cart-item h3,
.cart-item p {
    margin-bottom: 0;
}

.cart-item p {
    color: var(--muted);
    font-size: 0.9rem;
}

.cart-item__actions {
    display: grid;
    justify-items: end;
    gap: 0.5rem;
}

.cart-item__original-price {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1;
}

.cart-item__sale-price {
    color: var(--red);
}

.remove-button {
    min-height: 2.75rem;
    padding: 0.45rem 0.7rem;
    border: 0.0625rem solid var(--danger);
    border-radius: 0.5rem;
    background: var(--surface);
    color: var(--danger);
    cursor: pointer;
}

.cart-empty {
    padding: 1.5rem 0;
    color: var(--muted);
    text-align: center;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-block: 1.3rem;
    padding-top: 1.1rem;
    border-top: 0.0625rem solid var(--line);
    font-size: 1.1rem;
}

.shipping-estimator {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.shipping-estimator h3,
.shipping-estimator p {
    margin-bottom: 0;
}

.shipping-estimator p {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.shipping-estimator__controls {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) auto;
    gap: 0.6rem;
}

.shipping-estimator__controls label {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.shipping-results {
    color: var(--muted);
    font-size: 0.85rem;
}

.shipping-options {
    display: grid;
    gap: 0.55rem;
}

.shipping-option {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.shipping-option span {
    color: var(--muted);
    font-size: 0.8rem;
    text-align: right;
}

.form-help {
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.cart-consultation {
    margin-top: 0.65rem;
}

.dialog--checkout {
    width: min(calc(100% - 2rem), 52rem);
}

.checkout {
    padding: clamp(1rem, 3vw, 1.75rem);
}

.checkout__preview-note {
    margin: -0.3rem 0 1.4rem;
    padding: 0.8rem 0.9rem;
    border-left: 0.25rem solid var(--yellow);
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.88rem;
}

.checkout-section {
    padding-block: 1.25rem;
    border-top: 0.0625rem solid var(--line);
}

.checkout-section h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.checkout-section h3 > span {
    width: 1.8rem;
    height: 1.8rem;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--blue);
    color: var(--on-color);
    font-size: 0.85rem;
}

.checkout-grid {
    display: grid;
    gap: 0.9rem;
}

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

.checkout-grid label,
.checkout-postal label {
    display: grid;
    gap: 0.4rem;
    color: var(--text);
    font-weight: 700;
}

.checkout-grid label > span,
.checkout-postal label > span {
    color: var(--muted);
    font-size: 0.88rem;
}

.checkout-grid label small {
    font-weight: 400;
}

.checkout-grid__wide {
    grid-column: 1 / -1;
}

.checkout-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.checkout-choice {
    min-height: 4.6rem;
    display: flex;
    align-items: start;
    gap: 0.7rem;
    padding: 0.9rem;
    border: 0.125rem solid var(--line);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.checkout-choice:has(input:checked) {
    border-color: var(--blue);
    background: color-mix(in srgb, var(--blue) 7%, var(--surface));
}

.checkout-choice input,
.checkout-terms input,
.checkout-shipping-option input {
    width: 1.25rem;
    height: 1.25rem;
    min-height: auto;
    flex: 0 0 auto;
    margin: 0.15rem 0 0;
    accent-color: var(--blue);
}

.checkout-choice span {
    display: grid;
    gap: 0.2rem;
}

.checkout-choice small {
    color: var(--muted);
    line-height: 1.35;
}

.checkout-shipping-fields {
    margin-top: 1rem;
}

.checkout-postal {
    display: grid;
    grid-template-columns:
        minmax(10rem, 16rem)
        auto;
    justify-content: start;
    align-items: end;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.checkout-postal-destination {
    max-width: 34rem;
    margin-top: 0.8rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.checkout-postal-destination[hidden] {
    display: none;
}

.checkout-postal-destination label {
    display: grid;
    gap: 0.4rem;
    color: var(--text);
    font-weight: 700;
}

.checkout-postal-destination label > span {
    color: var(--muted);
    font-size: 0.88rem;
}

.checkout-pickup-point {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.checkout-pickup-point label {
    display: grid;
    gap: 0.4rem;
    color: var(--text);
    font-weight: 700;
}

.checkout-pickup-point label > span {
    color: var(--muted);
    font-size: 0.88rem;
}

.checkout-pickup-point__detail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
}

.checkout-pickup-point__detail[hidden] {
    display: none;
}

.checkout-pickup-point__detail p {
    flex: 1 1 16rem;
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.45;
}

.checkout-pickup-point__detail a {
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 800;
    text-underline-offset: 0.18em;
}

.checkout-status {
    margin: 0.7rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.checkout-shipping-methods {
    margin: 1rem 0 0;
    padding: 0;
    border: 0;
}

.checkout-shipping-methods legend {
    margin-bottom: 0.65rem;
    font-weight: 800;
}

#checkoutShippingOptions {
    display: grid;
    gap: 0.65rem;
}

.checkout-shipping-option {
    min-height: 4.25rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.7rem;
    padding: 0.85rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.checkout-shipping-option:has(input:checked) {
    border-color: var(--blue);
    background: color-mix(in srgb, var(--blue) 7%, var(--surface));
}

.checkout-shipping-option__text {
    display: grid;
    gap: 0.15rem;
}

.checkout-shipping-option__text small {
    color: var(--muted);
    line-height: 1.35;
}

.checkout-shipping-option__cost {
    font-weight: 900;
    white-space: nowrap;
}

.checkout-shipping-option__cost--free {
    color: var(--blue);
}

.checkout-address {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 0.0625rem dashed var(--line);
}

.checkout-summary {
    overflow: hidden;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-md);
}

.checkout-summary__items {
    display: grid;
}

.checkout-summary__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-bottom: 0.0625rem solid var(--line);
}

.checkout-summary__item strong,
.checkout-summary__item small {
    display: block;
}

.checkout-summary__item small {
    margin-top: 0.1rem;
    color: var(--muted);
}

.checkout-summary dl {
    margin: 0;
    padding: 0.8rem 1rem;
    background: var(--surface-soft);
}

.checkout-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.25rem;
}

.checkout-summary dt,
.checkout-summary dd {
    margin: 0;
}

.checkout-summary__total {
    margin-top: 0.35rem;
    padding-top: 0.7rem !important;
    border-top: 0.0625rem solid var(--line);
    font-size: 1.15rem;
    font-weight: 900;
}

.checkout-summary > p {
    margin: 0;
    padding: 0.7rem 1rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.checkout-terms {
    min-height: 3rem;
    display: flex;
    align-items: start;
    gap: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.checkout-error {
    margin: 0 0 1rem;
    padding: 0.8rem;
    border-left: 0.25rem solid var(--danger);
    background: #fff2f3;
    color: var(--danger);
    font-weight: 700;
}

.checkout-error a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.checkout-success {
    margin-top: 1.3rem;
    padding: 1.25rem;
    border: 0.125rem solid var(--blue);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--blue) 6%, var(--surface));
    text-align: center;
}

.checkout-success h3 {
    font-size: 1.35rem;
}

.checkout-success strong {
    display: block;
    margin: 0.8rem 0 1rem;
    font-size: 1.35rem;
}

.payment-return-page {
    min-height: 100dvh;
    background: var(--surface-soft);
}

.payment-return-header {
    justify-content: space-between;
}

.payment-return {
    min-height: calc(100dvh - 7rem);
    display: grid;
    place-items: center;
    padding-block: 2rem;
}

.payment-return__card {
    width: min(100%, 36rem);
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    text-align: center;
}

.payment-return__icon {
    width: 4.5rem;
    height: 4.5rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--blue);
    font-size: 2rem;
    font-weight: 900;
}

.payment-return__icon[data-state="success"] {
    background: #e7f6ed;
    color: #176b37;
}

.payment-return__icon[data-state="warning"] {
    background: #fff4cf;
    color: #805f00;
}

.payment-return__icon[data-state="error"] {
    background: #fcebed;
    color: var(--danger);
}

.payment-return__summary {
    display: grid;
    gap: 0.6rem;
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    text-align: left;
}

.payment-return__summary[hidden] {
    display: none;
}

.payment-return__summary > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.payment-return__summary dt,
.payment-return__summary dd {
    margin: 0;
}

.payment-return__summary dd {
    font-weight: 900;
}

.payment-return__test {
    padding: 0.75rem;
    border-left: 0.25rem solid var(--yellow);
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.88rem;
}

.payment-return__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.payment-return__actions > [hidden] {
    display: none;
}

.order-status {
    padding-block: 2rem 3rem;
}

.order-status__card {
    width: min(100%, 52rem);
    margin-inline: auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.order-status__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.order-status__heading h1 {
    margin-top: 0;
}

.order-status__heading p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.order-status__badge {
    flex: 0 0 auto;
    padding: 0.45rem 0.75rem;
    border-radius: 999rem;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
}

.order-status__badge[data-state="active"] {
    background: #e9f2ff;
    color: var(--blue);
}

.order-status__badge[data-state="success"] {
    background: #e7f6ed;
    color: #176b37;
}

.order-status__badge[data-state="warning"] {
    background: #fff4cf;
    color: #805f00;
}

.order-status__badge[data-state="error"] {
    background: #fcebed;
    color: var(--danger);
}

.order-status__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 1.5rem 0;
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.order-status__summary[hidden],
.order-status__section[hidden] {
    display: none;
}

.order-status__summary > div {
    padding: 0.9rem 1rem;
    border-bottom: 0.0625rem solid var(--line);
}

.order-status__summary > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.order-status__summary dt {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.order-status__summary dd {
    margin: 0.15rem 0 0;
    font-weight: 800;
}

.order-status__section {
    margin-top: 2rem;
}

.order-status__section h2 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.order-timeline,
.order-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-timeline__item {
    position: relative;
    min-height: 4.25rem;
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.8rem;
    color: var(--muted);
}

.order-timeline__item::before {
    content: "";
    z-index: 1;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0.1rem auto 0;
    border: 0.16rem solid var(--line);
    border-radius: 50%;
    background: var(--surface);
}

.order-timeline__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.45rem;
    bottom: 0;
    left: 0.96rem;
    width: 0.14rem;
    background: var(--line);
}

.order-timeline__item[data-state="complete"]::before {
    border-color: #27804a;
    background: #27804a;
    box-shadow: inset 0 0 0 0.24rem #27804a;
}

.order-timeline__item[data-state="complete"]::after {
    background: #27804a;
}

.order-timeline__item[data-state="active"] {
    color: var(--text);
}

.order-timeline__item[data-state="active"]::before {
    border-color: var(--blue);
    box-shadow: inset 0 0 0 0.25rem var(--surface);
    background: var(--blue);
}

.order-timeline__item strong {
    display: block;
}

.order-items {
    border: 0.0625rem solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.order-items__item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
}

.order-items__item + .order-items__item {
    border-top: 0.0625rem solid var(--line);
}

.order-items__item strong,
.order-items__item span {
    display: block;
}

.order-items__item span {
    margin-top: 0.1rem;
    color: var(--muted);
    font-size: 0.88rem;
}

@media (max-width: 38rem) {
    .payment-return__actions {
        grid-template-columns: 1fr;
    }

    .order-status__heading {
        display: block;
    }

    .order-status__badge {
        display: inline-block;
        margin-top: 1rem;
    }

    .order-status__summary {
        grid-template-columns: 1fr;
    }

    .order-status__summary > div,
    .order-status__summary > div:nth-last-child(-n + 2) {
        border-bottom: 0.0625rem solid var(--line);
    }

    .order-status__summary > div:last-child {
        border-bottom: 0;
    }
}

.checkout.is-complete > :not(.dialog__header):not(.checkout-success) {
    display: none;
}

@media (max-width: 52rem) {
    .primary-nav {
        display: none;
    }

    .hero__grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-block: 3rem;
    }

    .photo-placeholder--hero {
        min-height: 18rem;
    }

    .catalog-tools,
    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .catalog-source {
        text-align: left;
    }

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

    .promo-banner__grid {
        grid-template-columns: 1fr;
    }

    .promo-banner__image {
        min-height: 12rem;
    }

    .purchase-steps,
    .wholesale__grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .wholesale__grid {
        gap: 2rem;
    }
}

@media (max-width: 36rem) {
    .container {
        width: min(calc(100% - 1.25rem), var(--container));
    }

    .site-header__inner {
        min-height: 4.25rem;
        flex-wrap: wrap;
        gap: 0.55rem;
        padding-block: 0.4rem;
    }

    .brand__logo {
        width: 2.45rem;
        height: 3.5rem;
    }

    .header-store-shortcut,
    .cart-button {
        min-height: 2.6rem;
        padding-inline: 0.65rem;
        font-size: 0.86rem;
    }

    .header-store-shortcut,
    .cart-button {
        margin-left: auto;
    }

    .header-page-links {
        order: 3;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .header-shortcut {
        min-height: 2.55rem;
        padding-inline: 0.55rem;
        font-size: 0.84rem;
    }

    .hero,
    .catalog,
    .how-to-buy,
    .wholesale,
    .page-hero,
    .info-section {
        scroll-margin-top: 7.5rem;
    }

    .hero__actions,
    .hero__actions .button,
    .page-hero__actions,
    .page-hero__actions .button,
    .search-field,
    .search-field input {
        width: 100%;
    }

    .service-strip__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
        padding-block: 0.9rem;
    }

    .service-strip__inner span:not(:first-child)::before {
        display: none;
    }

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

    .product-card__visual {
        min-height: 13rem;
    }

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

    .dialog-product-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .shipping-estimator__controls {
        grid-template-columns: 1fr;
    }

    .shipping-estimator__controls label {
        grid-column: auto;
    }

    .checkout-grid--two,
    .checkout-choices {
        grid-template-columns: 1fr;
    }

    .checkout-grid__wide {
        grid-column: auto;
    }

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

    .checkout-postal .button {
        width: 100%;
    }

    .checkout-shipping-option {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .checkout-shipping-option__cost {
        grid-column: 2;
    }

    .site-footer__inner {
        align-items: start;
        flex-direction: column;
        justify-content: center;
        padding-block: 1.25rem;
    }

    .whatsapp-floating-button {
        right: calc(0.75rem + env(safe-area-inset-right));
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        width: 3.5rem;
        height: 3.5rem;
    }

    .whatsapp-floating-button svg {
        width: 2rem;
        height: 2rem;
    }
}

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

@media (forced-colors: active) {
    .button,
    .filter-button,
    .cart-button,
    .whatsapp-floating-button {
        border: 0.125rem solid currentColor;
    }
}
/* Guía de talles: texto liviano, sin imágenes ni dependencias externas. */
.size-field { display: grid; gap: .45rem; }
.size-field__heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.size-guide-link { border: 0; background: transparent; color: #1769d2; text-decoration: underline; font: inherit; font-size: .85rem; cursor: pointer; padding: .35rem 0; }
.size-guide-link[hidden] { display: none; }
.size-guide-card { max-width: 38rem; }
.size-guide-scroll { overflow-x: auto; }
.size-guide-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.size-guide-table caption { text-align: left; padding: .5rem 0 1rem; font-weight: 600; }
.size-guide-table th, .size-guide-table td { padding: .75rem .5rem; text-align: center; border-bottom: 1px solid #dce2eb; }
.size-guide-table thead { background: #f3f6fa; }
.size-guide-table .is-selected { background: #eaf3ff; box-shadow: inset 3px 0 #1769d2; }
