* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: #161616;
    background: #ffffff;
}

body.intro-open {
    overflow: hidden;
}

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

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

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

.intro {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 0, 0, .18), transparent 28%), #ffffff;
    transition: opacity .5s ease, visibility .5s ease;
}

.intro.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-panel {
    width: min(620px, 100%);
    padding: 44px;
    border: 1px solid rgba(255, 0, 0, .18);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 28px 90px rgba(20, 20, 20, .16);
    text-align: center;
}

.intro-logo {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin: 0 auto 18px;
}

.intro-panel h1 {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 4vw, 3.8rem);
    line-height: .92;
    letter-spacing: 0;
    color: #ff0000;
}

.intro-panel p {
    margin: 0 auto 28px;
    color: #454545;
    line-height: 1.7;
}

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #eeeeee;
    backdrop-filter: blur(18px);
}

.nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    height: 64px;
    width: auto;
    border-radius: 12px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #333333;
    font-size: .95rem;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: #ff0000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #161616;
}

.cart-button,
.btn,
.filter-button,
.add-cart,
.cart-close {
    border: 0;
    cursor: pointer;
}

.cart-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #ffffff;
    background: #161616;
}

.cart-button strong {
    display: grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    color: #ff0000;
    background: #ffffff;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: #ff0000;
    box-shadow: 0 14px 34px rgba(255, 0, 0, .22);
}

.btn-light {
    color: #161616;
    background: #ffffff;
    border: 1px solid #e3e3e3;
}

.hero {
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 76px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 48px;
    padding: 48px 0 72px;
}

.hero-copy,
.hero-media,
.concept-grid,
.section-head,
.product-card,
.wholesale-grid,
.operation-grid article,
.contact-grid {
    opacity: 0;
    transform: translateY(22px);
    animation: riseIn .75s ease forwards;
}

.hero-media {
    animation-delay: .12s;
}

.eyebrow {
    margin: 0 0 12px;
    color: #ff0000;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 3.8rem);
    line-height: .9;
    letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 590px;
    margin: 24px 0 30px;
    color: #4a4a4a;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-media {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, .4);
    pointer-events: none;
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: .92;
}

.stock-card,
.route-badge {
    position: absolute;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .16);
}

.stock-card {
    left: 26px;
    bottom: 26px;
    padding: 18px 20px;
}

.stock-card span,
.route-badge span {
    display: block;
    color: #ff0000;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.stock-card strong {
    display: block;
    margin-top: 4px;
    font-size: 1.1rem;
}

.route-badge {
    right: 26px;
    top: 26px;
    width: 126px;
    height: 126px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 50%;
}

.route-badge strong {
    font-size: .92rem;
}

.category-strip {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.category-strip a {
    opacity: 1;
    transform: none;
    filter: none;
    min-height: 88px;
    display: grid;
    place-items: center;
    padding: 18px;
    color: #161616;
    font-weight: 900;
    text-transform: uppercase;
    border-right: 1px solid #eeeeee;
    transition: background .25s ease, color .25s ease;
}

.category-strip a:hover {
    color: #ffffff;
    background: #ff0000;
}

.section {
    padding: 92px 0;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.concept-section {
    background: #161616;
    color: #ffffff;
}

.concept-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.concept-grid h2,
.section-head h2,
.wholesale-grid h2,
.contact-grid h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: .98;
    letter-spacing: 0;
}

.concept-grid p:last-child {
    margin: 0;
    color: #dddddd;
    font-size: 1.08rem;
    line-height: 1.8;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.catalog-tools {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-input,
.order-type,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #161616;
    outline: none;
}

.search-input,
.order-type {
    min-height: 46px;
    padding: 0 14px;
}

.search-input {
    min-width: 250px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-button {
    padding: 12px 16px;
    color: #262626;
    background: #f3f3f3;
    font-weight: 800;
    transition: background .25s ease, color .25s ease;
}

.filter-button.active,
.filter-button:hover {
    color: #ffffff;
    background: #ff0000;
}

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

.product-card {
    animation-delay: calc(var(--delay, 0) * .05s);
    background: #ffffff;
    border: 1px solid #ededed;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 0, .24);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .09);
}

.product-card.hidden {
    display: none;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f5f5f5;
}

.product-info {
    padding: 18px;
}

.product-info span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #ff0000;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-info h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.product-info p {
    min-height: 48px;
    margin: 0 0 16px;
    color: #666666;
    line-height: 1.5;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price {
    color: #ff0000;
    font-size: 1.15rem;
}

.price + s {
    color: #999999;
    font-size: .85rem;
    font-weight: 600;
}

.wholesale-hint {
    margin: -14px 0 20px;
    color: #ff0000;
    font-size: .88rem;
    font-weight: 700;
}

.wholesale-hint a {
    color: inherit;
    text-decoration: underline;
}

.catalogo-empty {
    padding: 40px 0;
    color: #666666;
    text-align: center;
}

.catalogo-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.add-cart {
    min-height: 38px;
    padding: 0 14px;
    color: #ffffff;
    background: #ff0000;
    font-weight: 800;
}

.wholesale-section {
    background: #f7f7f7;
}

.wholesale-grid {
    display: grid;
    grid-template-columns: 1fr .78fr;
    gap: 52px;
    align-items: center;
}

.wholesale-grid p {
    max-width: 660px;
    color: #4a4a4a;
    line-height: 1.8;
}

.wholesale-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.wholesale-points,
.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 28px;
}

.wholesale-points span,
.contact-tags span {
    padding: 10px 14px;
    color: #161616;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    font-weight: 800;
}

.operation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.operation-grid article {
    padding: 28px;
    color: #ffffff;
    background: #161616;
}

.operation-grid article:nth-child(2) {
    background: #ff0000;
}

.operation-grid strong {
    display: block;
    margin-bottom: 44px;
    color: rgba(255, 255, 255, .65);
    font-size: 1.8rem;
}

.operation-grid h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.operation-grid p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.7;
}

.contact-section {
    background: #fafafa;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1fr;
    gap: 44px;
    align-items: start;
}

.contact-grid p {
    color: #4a4a4a;
    line-height: 1.8;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #ececec;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: #303030;
    font-size: .9rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    min-height: 46px;
    padding: 12px 14px;
    resize: vertical;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 60;
    width: min(420px, 100%);
    height: 100vh;
    padding: 24px;
    background: #ffffff;
    box-shadow: -20px 0 70px rgba(0, 0, 0, .16);
    transform: translateX(105%);
    transition: transform .35s ease;
    display: flex;
    flex-direction: column;
}

.cart-panel.open {
    transform: translateX(0);
}

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eeeeee;
}

.cart-head span {
    display: block;
    color: #ff0000;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-head strong {
    display: block;
    margin-top: 4px;
}

.cart-close {
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: #161616;
    font-size: 1.5rem;
}

.cart-list {
    flex: 1;
    overflow: auto;
    padding: 18px 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}

.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.cart-item h4 {
    margin: 0 0 4px;
    font-size: .95rem;
}

.cart-item span {
    color: #777777;
    font-size: .88rem;
}

.cart-item button {
    border: 0;
    color: #ff0000;
    background: transparent;
    cursor: pointer;
    font-weight: 900;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-top: 1px solid #eeeeee;
}

.cart-total strong {
    color: #ff0000;
    font-size: 1.4rem;
}

.cart-whatsapp,
.cart-checkout {
    width: 100%;
    text-align: center;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.form-hint {
    margin: 0 0 16px;
    color: #666666;
    font-size: .88rem;
}

.form-error {
    color: #c00000;
    font-size: .9rem;
    font-weight: 700;
}

.form-success {
    color: #147a3d;
    font-size: .9rem;
    font-weight: 700;
}

.link-button {
    border: 0;
    background: none;
    padding: 0;
    color: #ff0000;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    justify-self: start;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-label input {
    min-height: 0;
    width: 18px;
    height: 18px;
}

/* Checkout */
.checkout-section .section-head {
    margin-bottom: 8px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: start;
}

.checkout-form h3 {
    margin: 8px 0 4px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.checkout-form h3:first-child {
    margin-top: 0;
}

.order-summary {
    position: sticky;
    top: 100px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #ececec;
}

.order-summary h3 {
    margin: 0 0 16px;
}

.order-product {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: .9rem;
}

.order-product img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    background: #f5f5f5;
}

.order-product small {
    display: block;
    color: #777777;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    color: #4a4a4a;
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    margin-top: 6px;
    border-top: 1px solid #eeeeee;
    font-size: 1.2rem;
}

.summary-total strong {
    color: #ff0000;
}

.payment-methods {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
    display: grid;
    gap: 10px;
}

.payment-methods h4 {
    margin: 0 0 4px;
    font-size: .9rem;
    text-transform: uppercase;
}

.payment-option {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f7f7f7;
    font-size: .92rem;
    font-weight: 600;
}

.payment-option input {
    min-height: 0;
    width: 16px;
    height: 16px;
}

.shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f7f7f7;
}

.transfer-info {
    max-width: 560px;
    margin: 0 auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #ececec;
}

.transfer-dato {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 700;
}

/* Cuenta mayorista */
.account-wrap {
    max-width: 560px;
}

.account-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.account-tab {
    flex: 1;
    min-height: 46px;
    border: 1px solid #e5e5e5;
    background: #f7f7f7;
    color: #262626;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.account-tab.active {
    color: #ffffff;
    background: #ff0000;
    border-color: #ff0000;
}

.account-form {
    display: grid;
    gap: 16px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #ececec;
}

.account-form label {
    display: grid;
    gap: 8px;
    color: #303030;
    font-size: .9rem;
    font-weight: 800;
}

.account-form input,
.account-form select,
.account-form textarea {
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #161616;
    outline: none;
}

.account-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #ececec;
}

.account-card h1,
.account-card h3 {
    margin: 6px 0 10px;
    font-size: 1.3rem;
}

/* Topbar de avisos + footer (config-driven desde admin, no-op si no hay datos cargados) */
.site-topbar {
    position: relative;
    z-index: 45;
    height: 0;
    overflow: hidden;
    background: #161616;
    color: #ffffff;
    transition: height .3s ease;
}

.site-topbar.visible {
    height: 36px;
}

.topbar-track {
    display: flex;
    align-items: center;
    height: 36px;
    width: max-content;
    white-space: nowrap;
    font-size: .8rem;
    font-weight: 700;
    padding-inline: 16px;
}

.topbar-track.loop {
    animation: topbarSlide linear infinite;
}

.topbar-sep {
    margin: 0 1.2rem;
    color: #ff0000;
}

@keyframes topbarSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .topbar-track.loop {
        animation: none;
        overflow-x: auto;
    }
}

.site-footer {
    background: #161616;
    color: #ffffff;
    padding: 44px 0 24px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
}

.footer-bottom a {
    text-decoration: underline;
}

.credit a {
    color: #ffffff;
}

.footer-legal-extra {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-legal-extra img {
    height: 60px;
    width: auto;
    background: #ffffff;
    padding: 2px;
}

.footer-legal-extra a {
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    text-decoration: underline;
}

@keyframes riseIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #ffffff;
        border-bottom: 1px solid #eeeeee;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 18px 24px;
        border-top: 1px solid #eeeeee;
    }

    .hero,
    .concept-grid,
    .wholesale-grid,
    .contact-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .hero {
        min-height: 0;
    }

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

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

@media (max-width: 680px) {
    .intro-panel {
        padding: 30px 22px;
    }

    .nav {
        width: min(100% - 24px, 1180px);
    }

    .brand img {
        width: 76px;
    }

    .hero {
        width: min(100% - 24px, 1180px);
        min-height: auto;
        padding: 16px 0 22px;
        gap: 12px;
    }

    .hero-media,
    .hero-media img {
        min-height: clamp(220px, 58vw, 300px);
    }

    .category-strip {
        grid-template-columns: 1fr;
    }

    .category-strip a {
        min-height: 58px;
        border-right: 0;
        border-bottom: 1px solid #eeeeee;
    }

    .section {
        padding: 64px 0;
    }

    .section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .search-input {
        min-width: 0;
    }

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

    .stock-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .route-badge {
        width: 104px;
        height: 104px;
        right: 16px;
        top: 16px;
    }
}

.motion-target {
    animation: none;
    opacity: 0;
    transform: translateY(34px) scale(.96);
    filter: blur(10px);
}

.motion-target.is-visible {
    animation: dsurImpactIn .9s cubic-bezier(.16, 1, .3, 1) var(--motion-delay, 0ms) forwards;
}

.hero-media.is-visible {
    animation-name: dsurPanelIn;
}

.category-strip a.is-visible,
.filter-button:hover,
.add-cart:hover {
    animation: dsurSnap .42s cubic-bezier(.2, 1.5, .4, 1) forwards;
}

.hero-media::after,
.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .34) 46%, transparent 64%);
    transform: translateX(-130%);
}

.hero-media::after {
    z-index: 2;
    animation: dsurScan 3.2s ease-in-out infinite;
}

.product-card {
    position: relative;
}

.product-card:hover::after {
    animation: dsurScan .9s ease;
}

.product-card:hover img {
    transform: scale(1.07) rotate(.7deg);
}

.product-card img {
    transition: transform .45s ease;
}

.stock-card,
.route-badge {
    animation: dsurFloat 4s ease-in-out infinite;
}

.route-badge {
    animation-delay: .6s;
}

@keyframes dsurImpactIn {
    0% {
        opacity: 0;
        transform: translateY(34px) scale(.96) skewY(1.2deg);
        filter: blur(10px);
    }
    70% {
        opacity: 1;
        transform: translateY(-4px) scale(1.01) skewY(0);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes dsurPanelIn {
    0% {
        opacity: 0;
        transform: translateX(46px) scale(.94);
        clip-path: inset(0 0 0 100%);
        filter: blur(12px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        clip-path: inset(0);
        filter: blur(0);
    }
}

@keyframes dsurScan {
    0% {
        transform: translateX(-130%);
    }
    100% {
        transform: translateX(130%);
    }
}

@keyframes dsurSnap {
    0% {
        transform: scale(.96);
    }
    65% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes dsurFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .motion-target,
    .motion-target.is-visible,
    .hero-media::after,
    .product-card::after,
    .stock-card,
    .route-badge {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 16px 0 22px;
        gap: 12px;
    }

    .hero-media,
    .hero-media img {
        min-height: clamp(220px, 58vw, 300px);
    }
    .hero h1{
        font-size: clamp(2.4rem, 6vw, 3.2rem);
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: auto;
        padding: 18px 0 26px;
        gap: 14px;
    }

    .hero-media,
    .hero-media img {
        min-height: clamp(230px, 38vw, 340px);
    }
}
