.sxo {
    --sxo-ink: #182c30;
    --sxo-muted: #435d61;
    --sxo-accent: #9d3510;
    --sxo-border: #dbe6e6;
    --sxo-glass: linear-gradient(155deg, #fff, #f7fbfa 75%, #edf5f3);
    color: var(--sxo-ink);
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
    text-align: start;
    isolation: isolate;
    background: linear-gradient(150deg, #f7fbfa, #fff 42%, #f3f8f7);
    border: 1px solid var(--sxo-border);
    border-radius: 28px;
    padding: clamp(14px, 3vw, 36px);
    container-type: inline-size;
}

.sxo *, .sxo *::before, .sxo *::after { box-sizing: border-box; }
.sxo [hidden] { display: none !important; }
.sxo :focus-visible { outline: 3px solid #a33c19; outline-offset: 3px; }
.sxo h2, .sxo h3, .sxo h4, .sxo p { color: inherit; margin: 0; }
.sxo a { color: inherit; }
html.sxo-timer-visible { scroll-padding-top: var(--sxo-timer-clearance, 48px); }
.sxo :is(a, button, input, .sxo-group, .sxo-categories) { scroll-margin-top: 8px; }

.sxo .sxo-countdown-slot { margin-block-end: 16px; }
.sxo-countdown, .sxo-countdown * { box-sizing: border-box; }
.sxo-countdown [hidden] { display: none !important; }
.sxo-countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 18px;
    padding: 10px clamp(10px, 3vw, 22px);
    border: 1px solid #244342;
    border-radius: 14px;
    background: #1b3837;
    color: #fff;
    font: 700 1rem/1.35 Tahoma, "Segoe UI", Arial, sans-serif;
    text-align: start;
}
.sxo .sxo-countdown h3, .sxo-countdown h3, .sxo-countdown p { margin: 0; color: #fff; font: inherit; }
.sxo-countdown.sxo-countdown-pinned { position: fixed; top: var(--sxo-pin-top); left: var(--sxo-pin-left); width: var(--sxo-pin-width); z-index: 9990; box-shadow: 0 5px 16px #30130d38; }
.sxo-countdown-time { display: flex; flex-wrap: wrap; gap: 5px; }
.sxo-countdown-time span { display: inline-flex; align-items: baseline; gap: 4px; padding: 2px 6px; border-radius: 6px; color: #532411; background: #fff3e8; font-size: .74rem; white-space: nowrap; }
.sxo-countdown-time bdi { font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
    .sxo-countdown.sxo-countdown-pinned { justify-content: center; padding: 4px 5px; min-height: 33px; gap: 4px; border-radius: 8px; }
    .sxo-countdown.sxo-countdown-pinned h3 { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
    .sxo-countdown.sxo-countdown-pinned .sxo-countdown-time { justify-content: center; gap: 3px; }
    .sxo-countdown.sxo-countdown-pinned .sxo-countdown-time span { gap: 3px; padding: 2px 5px; font-size: .68rem; }
    .sxo-countdown.sxo-countdown-pinned .sxo-countdown-time bdi { font-size: .88rem; }
}

.sxo .sxo-hero {
    display: grid;
    grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-block-end: clamp(14px, 2.4vw, 26px);
    border-radius: 23px;
    color: #173237;
    border: 1px solid #d5e5e4;
    background: linear-gradient(145deg, #fffdf9, #e7f1f1);
    box-shadow: 0 14px 30px #213a3616;
}

.sxo .sxo-hero-copy { padding: clamp(20px, 4vw, 44px); }
.sxo .sxo-hero-image { display: block; align-self: stretch; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sxo .sxo-brand {
    display: inline-block;
    font: 900 1.12rem/1 Arial, sans-serif;
    letter-spacing: .16em;
    border-inline-start: 2px solid #bd5125;
    padding-inline-start: .55rem;
}
.sxo .sxo-brand span { color: #a94115; }
.sxo .sxo-hero h2 { color: #173237; font-size: clamp(1.55rem, 4.5cqi, 3rem); font-weight: 800; line-height: 1.25; margin-top: .5em; }
.sxo .sxo-hero p { color: #435d61; font-size: clamp(.9rem, 2.1cqi, 1.08rem); margin-top: .6em; }
.sxo .sxo-hero-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 13px; border-radius: 9px; background: #9d3510; color: #fff; text-decoration: none; font-weight: 700; }
.sxo .sxo-hero-link:hover { background: #752409; color: #fff; }

.sxo .sxo-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 2vw, 26px); }
.sxo .sxo-categories { padding: clamp(10px, 2vw, 20px) 0; }
.sxo .sxo-category-heading { text-align: center; margin-bottom: 15px; }
.sxo .sxo-category-heading h3 { font-size: clamp(1.25rem, 3.1cqi, 2rem); }
.sxo .sxo-category-heading p { color: var(--sxo-muted); margin-top: 5px; }
.sxo .sxo-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sxo .sxo-category-card { display: grid; gap: 10px; min-width: 0; border: 1px solid var(--sxo-border); border-radius: 17px; padding: 11px; background: var(--sxo-glass); text-decoration: none; }
.sxo .sxo-category-card:hover { border-color: #a65d39; color: #7d2a0d; }
.sxo .sxo-category-photo { display: grid; place-items: center; min-width: 0; height: clamp(110px, 16cqi, 175px); padding: 8px; border-radius: 11px; background: #eaf2f2; }
.sxo .sxo-category-photo img { width: 100%; height: 100%; object-fit: contain; }
.sxo .sxo-category-title { display: flex; align-items: center; justify-content: space-between; gap: 6px; line-height: 1.5; }
.sxo .sxo-category-arrow { color: #9d3510; }
.sxo .sxo-groups { display: grid; gap: 16px; min-width: 0; }
.sxo .sxo-group, .sxo .sxo-summary {
    background: #ffffff9e;
    backdrop-filter: blur(16px);
    border: 1px solid #fff;
    box-shadow: inset 0 0 0 1px #e9c5ae73, 0 7px 24px #70300d10;
    border-radius: 20px;
    padding: clamp(13px, 2.1vw, 24px);
    min-width: 0;
}
.sxo .sxo-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-block-end: 14px; }
.sxo h3 { font-size: clamp(1.05rem, 2.8cqi, 1.3rem); font-weight: 800; }
.sxo .sxo-tag { border: 1px solid #f3d5c2; border-radius: 999px; padding: 2px 10px; color: var(--sxo-accent); background: #fff4eb; font-size: .76rem; font-weight: 700; }
.sxo .sxo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 12px; }
.sxo .sxo-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 9px;
    border: 1px solid var(--sxo-border);
    border-radius: 15px;
    background: var(--sxo-glass);
    box-shadow: inset 0 1px 0 #fff, 0 7px 14px #8e441016;
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.sxo .sxo-card:only-child { max-inline-size: 385px; }
@media (hover: hover) {
    .sxo .sxo-card:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 12px 18px #8e441024; }
}
.sxo .sxo-card.sxo-selected { border-color: #b4491f; box-shadow: inset 0 0 0 1px #ffd6bc, 0 8px 19px #b84d2124; }
.sxo .sxo-image { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; aspect-ratio: 1; max-block-size: 310px; padding: 9px; border: 1px solid #e0ebeb; border-radius: 12px; background: radial-gradient(ellipse at center, #fff 35%, #eaf2f2); overflow: hidden; }
.sxo .sxo-image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; border-radius: 0; }
.sxo .sxo-details { padding: 10px 3px; flex: 1; overflow-wrap: anywhere; }
.sxo .sxo-details h4 { font-size: .94rem; font-weight: 700; line-height: 1.6; }
.sxo .sxo-product { text-decoration: none; text-underline-offset: .2em; }
.sxo .sxo-product:hover, .sxo .sxo-product:focus-visible { color: var(--sxo-accent); text-decoration: underline; }
.sxo .sxo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin-block-start: 8px; }
.sxo .sxo-price { color: var(--sxo-accent); font-weight: 800; font-size: .96rem; white-space: nowrap; }
.sxo .sxo-stock { color: #235139; font-size: .76rem; }
.sxo .sxo-stock::before { content: ""; display: inline-block; width: .38em; height: .38em; margin-inline-end: .35em; border-radius: 50%; background: currentColor; vertical-align: .18em; }
.sxo .sxo-out, .sxo .sxo-pack { color: var(--sxo-muted); }
.sxo .sxo-pack { display: block; margin-top: .34em; font-size: .73rem; }

.sxo .sxo-button {
    appearance: none;
    max-width: 100%;
    min-height: 44px;
    padding: 8px 11px;
    border: 1px solid #e5b797;
    border-radius: 10px;
    background: linear-gradient(165deg, #fff, #fff4eb 60%, #ffdfca);
    box-shadow: inset 0 1px 0 #fff, 0 3px 6px #8e441016;
    color: #7d2a0d;
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.35;
    cursor: pointer;
    text-transform: none;
    white-space: normal;
}
.sxo .sxo-button:not(:disabled):hover { border-color: #a9421a; background: #ffeddf; color: #742608; }
.sxo .sxo-button:disabled { opacity: .68; cursor: not-allowed; }
.sxo .sxo-quantity { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; margin: 0; color: var(--sxo-ink); font-size: .84rem; }
.sxo .sxo-quantity label { margin: 0; }
.sxo .sxo-quantity-stepper { display: grid; grid-template-columns: 44px minmax(42px, 52px) 44px; gap: 4px; align-items: center; }
.sxo .sxo-quantity input { min-width: 0; width: 100%; height: 44px; margin: 0; padding: 0; border: 1px solid var(--sxo-border); border-radius: 8px; color: var(--sxo-ink); background: #fff; text-align: center; font: inherit; font-size: 1rem; }
.sxo .sxo-quantity-step { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0; border: 1px solid #bdcecc; border-radius: 8px; background: #eff6f5 !important; color: var(--sxo-ink) !important; font: 700 1.2rem/1 Arial, sans-serif; cursor: pointer; }
.sxo .sxo-quantity-step:not(:disabled):hover { border-color: #536f6a; background: #e2efec !important; }
.sxo .sxo-quantity-step:disabled { opacity: .5; cursor: not-allowed; }

.sxo .sxo-product-purchase { display: grid; gap: 5px; margin-top: 7px; }
.sxo .sxo-button.sxo-shop { width: 100%; background: #9d3510 !important; border-color: #9d3510; color: #fff !important; }
.sxo .sxo-button.sxo-shop:not(:disabled):hover { background: #752409 !important; }
.sxo .sxo-product-result { margin-top: 6px; color: var(--sxo-accent); font-size: .78rem; overflow-wrap: anywhere; }
.sxo .sxo-product-result a { margin-inline-start: 5px; text-decoration: underline; }
.sxo .sxo-summary h3 { margin-block-end: 9px; }
.sxo .sxo-empty, .sxo .sxo-loading { color: var(--sxo-muted); font-size: .88rem; }
.sxo .sxo-lines { list-style: none; padding: 0; margin: 0; }
.sxo .sxo-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding-block: 8px; border-bottom: 1px solid #f2dbcc; color: var(--sxo-ink); font-size: .79rem; overflow-wrap: anywhere; }
.sxo .sxo-lines bdi { font-weight: 700; }
.sxo .sxo-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 15px 0; font-size: .89rem; }
.sxo .sxo-total strong { font-size: clamp(1.12rem, 3cqi, 1.47rem); color: var(--sxo-accent); }
.sxo .sxo-button.sxo-primary { width: 100%; min-height: 49px; color: #fff !important; border-color: #943109; background: linear-gradient(155deg, #a94016, #8f2e0d) !important; box-shadow: inset 0 1px 0 #ffd4bd75, 0 6px 13px #8e44102b; }
.sxo .sxo-button.sxo-primary:not(:disabled):hover { background: #752409 !important; }
.sxo .sxo-order-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sxo .sxo-button.sxo-whatsapp {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #145337;
    border-color: #9bc9ac;
    background: linear-gradient(165deg, #fff, #edf9f0 65%, #d8efde);
}
.sxo .sxo-button.sxo-whatsapp[href]:hover { background: #d8efde; color: #12452f; border-color: #558a65; }
.sxo .sxo-button.sxo-whatsapp[aria-disabled="true"] { opacity: .68; cursor: not-allowed; }
.sxo .sxo-message { color: #842b13; background: #fff3e7; border: 1px solid #efd0b9; border-radius: 9px; padding: 8px; margin-block-start: 10px; font-size: .82rem; overflow-wrap: anywhere; }
.sxo .sxo-retry { margin-block-start: 8px; }

@container (max-width: 730px) {
    .sxo .sxo-hero { grid-template-columns: minmax(0, 1fr); }
    .sxo .sxo-hero-image { height: auto; order: -1; }
    .sxo .sxo-summary h3 { margin-block-end: 3px; }
    .sxo .sxo-total { margin: 6px 0; }
    .sxo .sxo-button.sxo-primary { min-height: 44px; }
}
@container (max-width: 470px) {
    .sxo .sxo-category-grid { grid-template-columns: minmax(0, 1fr); }
    .sxo .sxo-category-card { grid-template-columns: 70px minmax(0, 1fr); align-items: center; padding: 7px; }
    .sxo .sxo-category-photo { height: 62px; padding: 4px; }
    .sxo .sxo-grid { grid-template-columns: minmax(0, 1fr); }
    .sxo .sxo-details h4 { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
    .sxo .sxo-card, .sxo .sxo-card:hover { transition: none; transform: none; }
}
