/**
 * Frontend personalizado de Landimotos.
 * Navbar responsive + carrito lateral.
 */

:root {
    --lm-orange: #fe5000;
    --lm-orange-dark: #dc4600;

    /* Paleta exclusiva del botón de rastreo */
    --lm-track-orange: #ff5a00;
    --lm-track-orange-light: #ff8747;
    --lm-track-orange-soft: #ffb184;
    --lm-track-orange-dark: #d94a00;
    --lm-track-orange-deep: #b83d00;
    --lm-dark: #212322;
    --lm-white: #ffffff;
    --lm-border: #e8e8e8;
    --lm-soft-background: #fafafa;
    --lm-text-secondary: #6d6d6d;
}

/* ==================================================
   RESET DEL COMPONENTE
   ================================================== */

.lm-header,
.lm-header *,
.lm-header *::before,
.lm-header *::after,
.lm-cart-drawer,
.lm-cart-drawer *,
.lm-cart-drawer *::before,
.lm-cart-drawer *::after {
    box-sizing: border-box;
}

/* ==================================================
   ENCABEZADO GENERAL
   ================================================== */

.lm-header {
    position: relative;
    z-index: 10000;

    width: 100%;

    background: rgba(255, 255, 255, 0.985);
    color: var(--lm-dark);

    border-bottom: 2px solid var(--lm-orange);

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.04);

    transform: translateY(0);

    transition:
        box-shadow 0.28s ease,
        transform 0.28s ease,
        background-color 0.28s ease;
}

.lm-header.lm-header--fixed {
    position: fixed;

    top: 0;
    right: 0;
    left: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.985);

    box-shadow:
        0 9px 30px rgba(0, 0, 0, 0.11);

    animation:
        lmHeaderEnter
        0.34s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.lm-header-spacer {
    width: 100%;
    height: 0;

    pointer-events: none;
}

@keyframes lmHeaderEnter {
    from {
        transform: translateY(-14px);
        opacity: 0.96;
    }

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

body.admin-bar .lm-header.lm-header--fixed {
    top: 32px;
}

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

/* ==================================================
   OCULTAR HEADER ANTERIOR DE WOODMART
   ================================================== */

body .whb-header,
body .whb-main-header,
body .whb-sticky-header,
body .whb-sticky-header.whb-sticked,
body .whb-header-bottom {
    display: none !important;
}

/* ==================================================
   HEADER ESCRITORIO
   ================================================== */

.lm-header__desktop {
    display: none;
    width: 100%;
    background: var(--lm-white);
    border-top: 3px solid var(--lm-dark);
}

.lm-header__desktop-main {
    display: grid;
    grid-template-columns: 235px minmax(300px, 1fr) auto auto;
    align-items: center;

    width: min(100%, 1440px);
    min-height: 88px;

    margin: 0 auto;
    padding: 12px 24px;

    gap: 20px;

    background: var(--lm-white);
}

/* ==================================================
   LOGO ESCRITORIO
   ================================================== */

.lm-header__desktop-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.lm-header__desktop-logo a {
    display: flex;
    align-items: center;
    color: var(--lm-dark);
    text-decoration: none;
}

.lm-header__desktop-logo .custom-logo {
    display: block;

    width: auto;
    max-width: 230px;
    max-height: 84px;

    object-fit: contain;
}

/* ==================================================
   BUSCADOR ESCRITORIO
   ================================================== */

.lm-header__desktop-search {
    width: 100%;
    min-width: 0;
}

.lm-header__desktop-search .woocommerce-product-search,
.lm-header__desktop-search form[role="search"] {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 60px;

    width: 100%;
    height: 52px;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border: 1px solid #dddddd;
    border-radius: 999px;

    background: var(--lm-white);
    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.lm-header__desktop-search .woocommerce-product-search:focus-within,
.lm-header__desktop-search form[role="search"]:focus-within {
    border-color: var(--lm-orange);

    box-shadow:
        0 0 0 3px rgba(254, 80, 0, 0.1);
}

.lm-header__desktop-search input[type="search"],
.lm-header__desktop-search input.search-field {
    position: static;

    width: 100%;
    min-width: 0;
    height: 100%;

    margin: 0;
    padding: 0 22px;

    border: 0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;
    outline: none;

    color: var(--lm-dark);

    font-family: inherit;
    font-size: 15px;
    font-weight: 400;

    appearance: none;
}

.lm-header__desktop-search input[type="search"]::placeholder,
.lm-header__desktop-search input.search-field::placeholder {
    color: #666666;
    opacity: 1;
}

/* ==================================================
   BOTÓN BUSCADOR ESCRITORIO
   ================================================== */

.lm-header__desktop-search button[type="submit"] {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    min-width: 60px;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border: 0;
    border-radius: 0 999px 999px 0;

    background: var(--lm-orange);
    color: var(--lm-white);

    box-shadow: none;

    font-size: 0;

    cursor: pointer;
    appearance: none;

    transition: background-color 0.2s ease;
}

.lm-header__desktop-search button[type="submit"]:hover,
.lm-header__desktop-search button[type="submit"]:focus-visible {
    background: var(--lm-orange-dark);
    outline: none;
}

/* Ocultar iconos heredados de WooCommerce / WoodMart */

.lm-header__desktop-search button[type="submit"] > span,
.lm-header__desktop-search button[type="submit"] > i,
.lm-header__desktop-search button[type="submit"] > svg {
    display: none !important;
}

/* ==================================================
   LUPA ESCRITORIO
   ================================================== */

.lm-header__desktop-search button[type="submit"]::before {
    content: "" !important;

    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    display: block !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background-color: transparent !important;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;

    transform: translate(-50%, -50%) !important;

    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: none !important;
}

.lm-header__desktop-search button[type="submit"]::after {
    display: none !important;
    content: none !important;
}

/* ==================================================
   RASTREAR PEDIDO ESCRITORIO
   Cápsula elegante y delicada
   ================================================== */

.lm-header__desktop-track {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 192px;
    min-height: 46px;

    padding: 0 24px;

    overflow: hidden;
    isolation: isolate;

    border: 1px solid rgba(190, 67, 0, 0.72);
    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #ff6c17 0%,
            var(--lm-track-orange) 52%,
            #ed5100 100%
        );

    color: #ffffff;

    box-shadow:
        0 0 0 3px rgba(255, 90, 0, 0.10),
        0 6px 16px rgba(177, 59, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);

    font-family: inherit;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease,
        opacity 0.2s ease;
}

/* Borde interior sutil */
.lm-header__desktop-track::before {
    content: "";

    position: absolute;
    inset: 5px;
    z-index: 1;

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: inherit;

    pointer-events: none;
}

/* Brillo fino y suave */
.lm-header__desktop-track::after {
    content: "";

    position: absolute;
    top: -42%;
    bottom: -42%;
    left: -32%;
    z-index: 1;

    width: 14%;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.06) 30%,
            rgba(255, 255, 255, 0.34) 50%,
            rgba(255, 255, 255, 0.06) 70%,
            transparent 100%
        );

    transform:
        skewX(-18deg)
        translateX(-240%);

    pointer-events: none;

    animation:
        lmDesktopTrackingShine
        6.4s
        ease-in-out
        infinite;
}

@keyframes lmDesktopTrackingShine {
    0% {
        transform:
            skewX(-18deg)
            translateX(-240%);
    }

    14% {
        transform:
            skewX(-18deg)
            translateX(980%);
    }

    100% {
        transform:
            skewX(-18deg)
            translateX(980%);
    }
}

.lm-header__desktop-track:hover {
    color: #ffffff;

    filter: brightness(1.02);

    box-shadow:
        0 0 0 3px rgba(255, 90, 0, 0.13),
        0 8px 18px rgba(177, 59, 0, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);

    transform: translateY(-1px);
}

.lm-header__desktop-track:active {
    transform: translateY(0);
}

.lm-header__desktop-track:focus-visible {
    color: #ffffff;

    outline: 2px solid rgba(255, 90, 0, 0.24);
    outline-offset: 4px;
}

.lm-header__track-title {
    position: relative;
    z-index: 3;

    color: #ffffff;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.025em;
    text-transform: uppercase;

    white-space: nowrap;

    text-shadow:
        0 1px 1px rgba(93, 29, 0, 0.14);
}

/* Al quedar fijo el navbar, este botón no permanece */
@media (min-width: 1101px) {
    .lm-header.lm-header--fixed .lm-header__desktop-track {
        display: none;
    }

    .lm-header.lm-header--fixed .lm-header__desktop-main {
        grid-template-columns:
            235px
            minmax(300px, 1fr)
            auto;
    }
}

/* ==================================================
   ACCIONES ESCRITORIO
   ================================================== */

.lm-header__desktop-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.lm-header__desktop-action {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 10px;

    background: transparent;
    color: var(--lm-dark);

    font: inherit;
    text-decoration: none;

    cursor: pointer;
    appearance: none;

    transition:
        color 0.2s ease;
}

.lm-header__desktop-action:hover {
    color: var(--lm-orange);
    background: transparent;
    transform: none;
}

.lm-header__desktop-action:focus-visible {
    color: var(--lm-orange);
    background: transparent;
    outline: 2px solid rgba(254, 80, 0, 0.28);
    outline-offset: 2px;
    transform: none;
}

.lm-header__desktop-action svg {
    display: block;

    width: 29px;
    height: 29px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lm-header__desktop-cart .lm-header__cart-count {
    top: -2px;
    right: -2px;
}

/* ==================================================
   MENÚ HORIZONTAL ESCRITORIO
   ================================================== */

.lm-header__desktop-nav {
    position: relative;
    z-index: 50;

    width: 100%;

    border-top: 1px solid var(--lm-border);
    border-bottom: 1px solid var(--lm-border);

    background: var(--lm-white);
}

.lm-header__desktop-menu,
.lm-header__desktop-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lm-header__desktop-menu {
    display: flex;
    align-items: stretch;
    justify-content: center;

    width: min(100%, 1440px);
    min-height: 54px;

    margin: 0 auto;
    padding: 0 14px;
}

.lm-header__desktop-menu > li {
    position: relative;

    display: flex;
    align-items: stretch;

    flex: 0 0 auto;

    margin: 0;
    padding: 0;
}

.lm-header__desktop-menu > li::before,
.lm-header__desktop-menu > li::after {
    display: none !important;
    content: none !important;
}

.lm-header__desktop-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
    background: transparent;
    color: var(--lm-dark);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.lm-header__desktop-menu > li > a:hover,
.lm-header__desktop-menu > li:hover > a,
.lm-header__desktop-menu > li:focus-within > a {
    color: var(--lm-orange);
    background: rgba(254, 80, 0, 0.05);
}

/* Línea inferior naranja */

.lm-header__desktop-menu > li > a::before {
    content: "";

    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;

    height: 2px;

    border-radius: 999px;

    background: var(--lm-orange);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.lm-header__desktop-menu > li:hover > a::before,
.lm-header__desktop-menu > li:focus-within > a::before,
.lm-header__desktop-menu > .current-menu-item > a::before,
.lm-header__desktop-menu > .current-menu-ancestor > a::before {
    transform: scaleX(1);
}

.lm-header__desktop-menu
    > .menu-item-has-children
    > a::after {
    content: "";

    width: 7px;
    height: 7px;

    margin-left: 9px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: translateY(-2px) rotate(45deg);
}

/* ==================================================
   SUBMENÚ ESCRITORIO
   ================================================== */

.lm-header__desktop-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;

    display: block;

    min-width: 245px;

    margin: 0;
    padding: 8px 0;

    border: 1px solid var(--lm-border);
    border-radius: 0 0 10px 10px;

    background: var(--lm-white);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(8px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.lm-header__desktop-menu li:hover > .sub-menu,
.lm-header__desktop-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lm-header__desktop-menu .sub-menu li {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.lm-header__desktop-menu .sub-menu li::before,
.lm-header__desktop-menu .sub-menu li::after {
    display: none !important;
    content: none !important;
}

.lm-header__desktop-menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 42px;

    padding: 10px 18px;

    color: #444444;

    font-size: 13px;
    font-weight: 400;

    text-decoration: none;
    text-transform: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.lm-header__desktop-menu .sub-menu a:hover,
.lm-header__desktop-menu .sub-menu a:focus-visible {
    color: var(--lm-orange);
    background: var(--lm-soft-background);
    outline: none;
}

.lm-header__desktop-menu
    .sub-menu
    .menu-item-has-children
    > a::after {
    content: "";

    width: 7px;
    height: 7px;

    margin-left: 14px;

    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;

    transform: rotate(45deg);
}

.lm-header__desktop-menu .sub-menu .sub-menu {
    top: -9px;
    left: 100%;
    border-radius: 8px;
}

.lm-header__desktop-menu img,
.lm-header__desktop-menu picture,
.lm-header__desktop-menu .wd-nav-img,
.lm-header__desktop-menu .wd-nav-img-wrap,
.lm-header__desktop-menu .wd-menu-icon,
.lm-header__desktop-menu .wd-nav-icon,
.lm-header__desktop-menu .menu-image,
.lm-header__desktop-menu .menu-img {
    display: none !important;
}

/* ==================================================
   RASTREAR PEDIDO — BOTÓN SUPERIOR MÓVIL / TABLET
   Cápsula elegante y delicada
   ================================================== */

.lm-header__tracking-strip {
    position: relative;

    display: none;
    align-items: center;
    justify-content: center;

    width: calc(100% - 28px);
    min-height: 40px;
    max-height: 40px;

    margin: 10px 14px 8px;
    padding: 0 20px;

    overflow: hidden;
    isolation: isolate;

    border: 1px solid rgba(190, 67, 0, 0.72);
    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #ff6c17 0%,
            var(--lm-track-orange) 52%,
            #ed5100 100%
        );

    color: #ffffff;

    box-shadow:
        0 0 0 3px rgba(255, 90, 0, 0.10),
        0 6px 16px rgba(177, 59, 0, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    text-decoration: none;
    letter-spacing: 0.015em;

    opacity: 1;

    transition:
        max-height 0.28s ease,
        min-height 0.28s ease,
        margin 0.28s ease,
        padding 0.28s ease,
        border-width 0.2s ease,
        opacity 0.18s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

/* Borde interior sutil */
.lm-header__tracking-strip::before {
    content: "";

    position: absolute;
    inset: 5px;
    z-index: 1;

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: inherit;

    pointer-events: none;
}

/* Brillo fino y suave */
.lm-header__tracking-strip::after {
    content: "";

    position: absolute;
    top: -42%;
    bottom: -42%;
    left: -32%;
    z-index: 1;

    width: 14%;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.06) 30%,
            rgba(255, 255, 255, 0.34) 50%,
            rgba(255, 255, 255, 0.06) 70%,
            transparent 100%
        );

    transform:
        skewX(-18deg)
        translateX(-240%);

    pointer-events: none;

    animation:
        lmTrackingShine
        6.2s
        ease-in-out
        infinite;
}

@keyframes lmTrackingShine {
    0% {
        transform:
            skewX(-18deg)
            translateX(-240%);
    }

    14% {
        transform:
            skewX(-18deg)
            translateX(980%);
    }

    100% {
        transform:
            skewX(-18deg)
            translateX(980%);
    }
}

.lm-header__tracking-strip:hover {
    color: #ffffff;

    filter: brightness(1.02);

    box-shadow:
        0 0 0 3px rgba(255, 90, 0, 0.13),
        0 8px 18px rgba(177, 59, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);

    transform: translateY(-1px);
}

.lm-header__tracking-strip:active {
    transform: translateY(0);
}

.lm-header__tracking-strip:focus-visible {
    color: #ffffff;

    outline: 2px solid rgba(255, 90, 0, 0.24);
    outline-offset: 4px;
}

.lm-header__tracking-strip-label {
    position: relative;
    z-index: 3;

    color: #ffffff;

    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;

    white-space: nowrap;

    text-shadow:
        0 1px 1px rgba(93, 29, 0, 0.14);
}

/*
 * Cuando el navbar queda fijo:
 * el botón de rastreo se recoge suavemente
 * y solamente permanece fija la navegación.
 */
@media (max-width: 1100px) {
    .lm-header.lm-header--fixed .lm-header__tracking-strip {
        min-height: 0;
        max-height: 0;

        margin-top: 0;
        margin-bottom: 0;

        padding-top: 0;
        padding-bottom: 0;

        border-top-width: 0;
        border-bottom-width: 0;

        box-shadow: none;

        opacity: 0;

        transform: translateY(-8px);

        pointer-events: none;
    }
}

/* ==================================================
   NAVBAR MÓVIL / TABLET
   ================================================== */





.lm-header__mobile {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    width: 100%;
    min-height: 76px;

    padding: 10px 16px;

    gap: 12px;
}

.lm-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.lm-header__actions--left {
    justify-content: flex-start;
}

.lm-header__actions--right {
    justify-content: flex-end;
}

/* ==================================================
   ICONOS MÓVILES
   ================================================== */

.lm-header__icon-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 10px;

    background: transparent;
    color: var(--lm-dark);

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.2s ease;
}

.lm-header__icon-button:hover {
    color: var(--lm-orange);
    background: transparent;
    transform: none;
}

.lm-header__icon-button:focus-visible {
    color: var(--lm-orange);
    background: transparent;

    outline: 2px solid rgba(254, 80, 0, 0.22);
    outline-offset: 2px;

    transform: none;
}

.lm-header__icon-button svg {
    display: block;

    width: 26px;
    height: 26px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==================================================
   LOGO MÓVIL
   ================================================== */

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

.lm-header__logo a {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--lm-dark);
    text-decoration: none;
}

.lm-header__logo .custom-logo {
    display: block;

    width: auto;
    max-width: 225px;
    max-height: 76px;

    object-fit: contain;
}

/* ==================================================
   CONTADOR DEL CARRITO
   ================================================== */

.lm-header__cart-count {
    position: absolute;
    top: 1px;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    padding: 0 5px;

    border: 2px solid var(--lm-white);
    border-radius: 999px;

    background: var(--lm-orange);
    color: var(--lm-white);

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* ==================================================
   BUSCADOR PERMANENTE MÓVIL / TABLET
   ================================================== */

.lm-header__search-panel {
    width: 100%;

    padding: 0 10px 10px;

    background: var(--lm-white);

    border-top: 0;
    border-bottom: 1px solid var(--lm-border);
}

.lm-header__search-panel[hidden] {
    display: none !important;
}

.lm-header__search-panel .woocommerce-product-search,
.lm-header__search-panel form[role="search"] {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;

    width: min(100%, 720px);
    height: 50px;

    margin: 0 auto;
    padding: 0;

    overflow: hidden;

    border: 1px solid #d9d9d9;
    border-radius: 999px;

    background: var(--lm-white);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.lm-header__search-panel
    .woocommerce-product-search:focus-within,
.lm-header__search-panel
    form[role="search"]:focus-within {
    border-color: var(--lm-orange);

    box-shadow:
        0 0 0 3px rgba(254, 80, 0, 0.1);
}

.lm-header__search-panel input[type="search"],
.lm-header__search-panel input.search-field {
    position: static;

    width: 100%;
    min-width: 0;
    height: 100%;

    margin: 0;
    padding: 0 18px;

    border: 0;
    border-radius: 0;

    background: transparent;
    box-shadow: none;
    outline: none;

    color: var(--lm-dark);

    font-family: inherit;
    font-size: 15px;

    appearance: none;
}

.lm-header__search-panel input[type="search"]::placeholder,
.lm-header__search-panel input.search-field::placeholder {
    color: #666666;
    opacity: 1;
}

/* ==================================================
   BOTÓN BUSCADOR MÓVIL
   ================================================== */

.lm-header__search-panel button[type="submit"] {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    min-width: 58px;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    border: 0;
    border-radius: 0 999px 999px 0;

    background: var(--lm-orange);
    color: var(--lm-white);

    box-shadow: none;

    font-size: 0;

    cursor: pointer;
    appearance: none;

    transition: background-color 0.2s ease;
}

.lm-header__search-panel button[type="submit"]:hover,
.lm-header__search-panel button[type="submit"]:focus-visible {
    background: var(--lm-orange-dark);
    outline: none;
}

/* Ocultar iconos heredados */

.lm-header__search-panel button[type="submit"] > span,
.lm-header__search-panel button[type="submit"] > i,
.lm-header__search-panel button[type="submit"] > svg {
    display: none !important;
}

/* ==================================================
   LUPA MÓVIL
   ================================================== */

.lm-header__search-panel button[type="submit"]::before {
    content: "" !important;

    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    display: block !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background-color: transparent !important;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;

    transform: translate(-50%, -50%) !important;

    opacity: 1 !important;
    visibility: visible !important;

    pointer-events: none !important;
}

.lm-header__search-panel button[type="submit"]::after {
    display: none !important;
    content: none !important;
}

/* ==================================================
   MENÚ MÓVIL
   ================================================== */

.lm-header__mobile-menu {
    width: 100%;

    padding: 0;

    background: var(--lm-white);

    border-top: 1px solid var(--lm-border);
}

.lm-header__mobile-menu[hidden] {
    display: none !important;
}

.lm-header__menu-list,
.lm-header__menu-list ul {
    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}

.lm-header__menu-list li {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 0;
}

.lm-header__menu-list li::before,
.lm-header__menu-list li::after {
    display: none;
    content: none;
}

.lm-header__menu-list > li {
    border-bottom: 1px solid #f0f0f0;
}

.lm-header__menu-list > li:last-child {
    border-bottom: 0;
}

.lm-header__menu-list > li > a {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 54px;

    padding: 16px 58px 16px 20px;

    color: var(--lm-dark);
    background: var(--lm-white);

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;
}

.lm-header__menu-list > li > a:hover,
.lm-header__menu-list > li > a:focus-visible {
    color: var(--lm-orange);
    background: var(--lm-soft-background);
    outline: none;
}

.lm-header__menu-list
    .menu-item-has-children
    > a::after {
    display: none;
    content: none;
}

/* ==================================================
   BOTÓN SUBCATEGORÍAS
   ================================================== */

.lm-header__submenu-toggle {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: var(--lm-dark);

    cursor: pointer;
}

.lm-header__submenu-toggle:hover,
.lm-header__submenu-toggle:focus-visible {
    color: var(--lm-orange);
    background: rgba(254, 80, 0, 0.08);
    outline: none;
}

.lm-header__submenu-toggle svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 0.25s ease;
}

.lm-header__submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* ==================================================
   SUBMENÚ MÓVIL
   ================================================== */

.lm-header__menu-list .sub-menu {
    position: static;

    display: none;

    width: 100%;

    margin: 0;
    padding: 4px 0;

    border-top: 1px solid #ededed;

    background: var(--lm-soft-background);

    box-shadow: none;
}

.lm-header__menu-list .sub-menu[hidden] {
    display: none !important;
}

.lm-header__menu-list
    .menu-item-has-children.lm-open
    > .sub-menu:not([hidden]) {
    display: block;
}

.lm-header__menu-list .sub-menu > li {
    border-bottom: 1px solid #ececec;
}

.lm-header__menu-list .sub-menu > li:last-child {
    border-bottom: 0;
}

.lm-header__menu-list .sub-menu a {
    display: block;

    width: 100%;
    min-height: 44px;

    padding: 13px 28px;

    color: #444444;

    font-size: 13px;

    text-decoration: none;
}

.lm-header__menu-list .sub-menu a:hover,
.lm-header__menu-list .sub-menu a:focus-visible {
    color: var(--lm-orange);
    background: #f3f3f3;
    outline: none;
}

.lm-header__menu-list .sub-menu .sub-menu {
    background: #f5f5f5;
}

.lm-header__menu-list .sub-menu .sub-menu a {
    padding-left: 42px;
    font-size: 12px;
}

.lm-header__menu-list .current-menu-item > a,
.lm-header__menu-list .current-menu-ancestor > a {
    color: var(--lm-orange);
}

.lm-header__menu-list .wd-nav-img,
.lm-header__menu-list .wd-nav-img-wrap,
.lm-header__menu-list .wd-menu-icon,
.lm-header__menu-list .wd-nav-icon,
.lm-header__menu-list .menu-image,
.lm-header__menu-list .menu-img,
.lm-header__menu-list .wd-lazy-load,
.lm-header__menu-list .wd-lazy-fade,
.lm-header__menu-list .wd-lazy-blur,
.lm-header__menu-list a > img,
.lm-header__menu-list li > img,
.lm-header__menu-list picture {
    display: none !important;
}

/* ==================================================
   CARRITO LATERAL
   ================================================== */

html.lm-cart-open,
body.lm-cart-open {
    overflow: hidden;
}

/* ==================================================
   OVERLAY CARRITO
   ================================================== */

.lm-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(18, 18, 18, 0.44);
    backdrop-filter: blur(2px);
}

.lm-cart-overlay[hidden] {
    display: none !important;
}

/* ==================================================
   PANEL CARRITO
   ================================================== */

.lm-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;

    display: flex;
    flex-direction: column;

    width: min(430px, 94vw);
    height: 100vh;
    height: 100dvh;

    background: #ffffff;
    box-shadow: -18px 0 42px rgba(0, 0, 0, 0.14);

    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;

    transition:
        transform 0.28s ease,
        visibility 0.28s ease;
}

.lm-cart-drawer[aria-hidden="false"] {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

/* ==================================================
   CABECERA CARRITO
   ================================================== */

.lm-cart-drawer__header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;

    gap: 14px;
    min-height: 76px;
    padding: 17px 20px;

    border-bottom: 1px solid #ececec;
    background: #ffffff;
}

.lm-cart-drawer__header::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--lm-orange) 0 76px,
            transparent 76px
        );
}

.lm-cart-drawer__title {
    margin: 0;

    color: var(--lm-dark);

    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.lm-cart-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    margin: 0;
    padding: 0;

    border: 1px solid #ededed;
    border-radius: 10px;

    background: #f7f7f7;
    color: #606060;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.lm-cart-drawer__close:hover,
.lm-cart-drawer__close:focus-visible {
    border-color: rgba(254, 80, 0, 0.18);
    background: rgba(254, 80, 0, 0.08);
    color: var(--lm-orange);

    outline: none;
    transform: rotate(90deg);
}

.lm-cart-drawer__close svg {
    display: block;

    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* ==================================================
   CUERPO CARRITO
   ================================================== */

.lm-cart-drawer__body {
    flex: 1 1 auto;
    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;

    padding: 0 20px 22px;
    background: #ffffff;
}

.lm-cart-drawer__body::-webkit-scrollbar {
    width: 6px;
}

.lm-cart-drawer__body::-webkit-scrollbar-track {
    background: transparent;
}

.lm-cart-drawer__body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d6d6d6;
}

/* ==================================================
   CONTENIDO ELEMENTOR / WOOCOMMERCE
   ================================================== */

.lm-cart-drawer .widget_shopping_cart_content {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ==================================================
   LISTA DE PRODUCTOS
   ================================================== */

.lm-cart-drawer .elementor-menu-cart__products {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* ==================================================
   PRODUCTO
   ================================================== */

.lm-cart-drawer .elementor-menu-cart__product {
    position: relative !important;

    display: grid !important;

    grid-template-columns:
        92px
        minmax(0, 1fr)
        30px !important;

    grid-template-areas:
        "image name remove"
        "image price remove" !important;

    align-items: start !important;

    column-gap: 15px !important;
    row-gap: 7px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 18px 0 !important;

    border: 0 !important;
    border-bottom: 1px solid #ededed !important;

    background: #ffffff !important;
    box-shadow: none !important;
}

.lm-cart-drawer .elementor-menu-cart__product:last-child {
    border-bottom: 0 !important;
}

/* ==================================================
   IMAGEN PRODUCTO
   ================================================== */

.lm-cart-drawer .elementor-menu-cart__product-image {
    grid-area: image !important;

    display: block !important;

    width: 92px !important;
    min-width: 92px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.lm-cart-drawer .elementor-menu-cart__product-image a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 92px !important;
    height: 92px !important;

    margin: 0 !important;
    padding: 7px !important;

    overflow: hidden !important;

    border: 1px solid #ededed !important;
    border-radius: 12px !important;

    background: #f8f8f8 !important;
    text-decoration: none !important;
}

.lm-cart-drawer .elementor-menu-cart__product-image img {
    position: static !important;

    display: block !important;
    float: none !important;

    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    object-fit: contain !important;
}

/* ==================================================
   NOMBRE PRODUCTO
   ================================================== */

.lm-cart-drawer .elementor-menu-cart__product-name {
    grid-area: name !important;

    align-self: end !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 2px 0 0 !important;
}

.lm-cart-drawer .elementor-menu-cart__product-name a {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--lm-dark) !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.38 !important;
    letter-spacing: -0.01em !important;

    text-decoration: none !important;

    transition: color 0.2s ease;
}

.lm-cart-drawer .elementor-menu-cart__product-name a:hover,
.lm-cart-drawer .elementor-menu-cart__product-name a:focus-visible {
    color: var(--lm-orange) !important;
    outline: none !important;
}

/* ==================================================
   CANTIDAD + PRECIO
   ================================================== */

.lm-cart-drawer .elementor-menu-cart__product-price {
    grid-area: price !important;

    align-self: start !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #777777 !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

.lm-cart-drawer .elementor-menu-cart__product-price .quantity {
    display: inline !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
}

.lm-cart-drawer
    .elementor-menu-cart__product-price
    .woocommerce-Price-amount {
    color: var(--lm-orange) !important;
    font-weight: 700 !important;
}

/* ==================================================
   ELIMINAR PRODUCTO
   ================================================== */

.lm-cart-drawer .elementor-menu-cart__product-remove {
    grid-area: remove !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;

    width: 30px !important;
    min-width: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
}

.lm-cart-drawer .elementor-menu-cart__product-remove::before,
.lm-cart-drawer .elementor-menu-cart__product-remove::after {
    display: none !important;
    content: none !important;
}

.lm-cart-drawer .elementor-menu-cart__product-remove > a {
    display: none !important;
}

.lm-cart-drawer .elementor-menu-cart__product-remove > a:last-of-type {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 30px !important;
    min-width: 30px !important;

    height: 30px !important;
    min-height: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;

    border: 1px solid #ececec !important;
    border-radius: 9px !important;

    background: #fafafa !important;
    color: #727272 !important;

    font-size: 0 !important;
    line-height: 1 !important;

    text-decoration: none !important;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.lm-cart-drawer
    .elementor-menu-cart__product-remove
    > a:last-of-type::before,
.lm-cart-drawer
    .elementor-menu-cart__product-remove
    > a:last-of-type::after {
    content: "" !important;

    position: absolute !important;

    top: 50% !important;
    left: 50% !important;

    display: block !important;

    width: 12px !important;
    height: 1.5px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 999px !important;

    background: currentColor !important;

    pointer-events: none !important;
}

.lm-cart-drawer
    .elementor-menu-cart__product-remove
    > a:last-of-type::before {
    transform:
        translate(-50%, -50%)
        rotate(45deg) !important;
}

.lm-cart-drawer
    .elementor-menu-cart__product-remove
    > a:last-of-type::after {
    transform:
        translate(-50%, -50%)
        rotate(-45deg) !important;
}

.lm-cart-drawer
    .elementor-menu-cart__product-remove
    > a:last-of-type:hover,
.lm-cart-drawer
    .elementor-menu-cart__product-remove
    > a:last-of-type:focus-visible {
    border-color: rgba(254, 80, 0, 0.20) !important;

    background: rgba(254, 80, 0, 0.07) !important;
    color: var(--lm-orange) !important;

    outline: none !important;

    transform: translateY(-1px);
}

/* ==================================================
   SUBTOTAL
   ================================================== */

.lm-cart-drawer .elementor-menu-cart__subtotal {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 18px !important;

    width: 100% !important;

    margin: 8px 0 0 !important;
    padding: 18px 0 16px !important;

    border: 0 !important;
    border-top: 1px solid #dfdfdf !important;
    border-bottom: 1px solid #ededed !important;

    background: transparent !important;

    color: var(--lm-dark) !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.lm-cart-drawer .elementor-menu-cart__subtotal strong,
.lm-cart-drawer .elementor-menu-cart__subtotal b {
    font-weight: 600 !important;
}

.lm-cart-drawer
    .elementor-menu-cart__subtotal
    .woocommerce-Price-amount {
    color: var(--lm-dark) !important;

    font-size: 19px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

/* ==================================================
   BOTONES CARRITO
   ================================================== */

.lm-cart-drawer .elementor-menu-cart__footer-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;

    gap: 9px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 16px 0 0 !important;

    border: 0 !important;

    background: transparent !important;
}

.lm-cart-drawer
    .elementor-menu-cart__footer-buttons
    .elementor-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 50px !important;

    margin: 0 !important;
    padding: 13px 18px !important;

    border: 1px solid #dedede !important;
    border-radius: 10px !important;

    background: #ffffff !important;
    color: var(--lm-dark) !important;

    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease !important;
}

/* Ver carrito */

.lm-cart-drawer
    .elementor-menu-cart__footer-buttons
    .elementor-button--view-cart {
    border-color: #dcdcdc !important;
    background: #ffffff !important;
    color: var(--lm-dark) !important;
}

.lm-cart-drawer
    .elementor-menu-cart__footer-buttons
    .elementor-button--view-cart:hover,
.lm-cart-drawer
    .elementor-menu-cart__footer-buttons
    .elementor-button--view-cart:focus-visible {
    border-color: #cfcfcf !important;
    background: #f7f7f7 !important;
    color: var(--lm-dark) !important;

    outline: none !important;
    transform: translateY(-1px);
}

/* Finalizar compra */

.lm-cart-drawer
    .elementor-menu-cart__footer-buttons
    .elementor-button--checkout {
    border-color: var(--lm-orange) !important;
    background: var(--lm-orange) !important;
    color: #ffffff !important;
}

.lm-cart-drawer
    .elementor-menu-cart__footer-buttons
    .elementor-button--checkout:hover,
.lm-cart-drawer
    .elementor-menu-cart__footer-buttons
    .elementor-button--checkout:focus-visible {
    border-color: var(--lm-orange-dark) !important;
    background: var(--lm-orange-dark) !important;
    color: #ffffff !important;

    outline: none !important;
    transform: translateY(-1px);
}

/* ==================================================
   CARRITO VACÍO
   ================================================== */

.lm-cart-drawer .woocommerce-mini-cart__empty-message,
.lm-cart-drawer
    .elementor-menu-cart__main
    .woocommerce-mini-cart__empty-message {
    margin: 32px 0 !important;
    padding: 28px 18px !important;

    border: 1px dashed #dedede !important;
    border-radius: 12px !important;

    background: #fafafa !important;
    color: var(--lm-text-secondary) !important;

    font-size: 14px !important;
    line-height: 1.55 !important;

    text-align: center !important;
}

/* ==================================================
   CARRITO RESPONSIVE
   ================================================== */

@media (max-width: 480px) {

    .lm-cart-drawer {
        width: min(390px, 96vw);
    }

    .lm-cart-drawer__header {
        min-height: 70px;
        padding: 15px 16px;
    }

    .lm-cart-drawer__title {
        font-size: 20px;
    }

    .lm-cart-drawer__close {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .lm-cart-drawer__body {
        padding: 0 15px 18px;
    }

    .lm-cart-drawer .elementor-menu-cart__product {
        grid-template-columns:
            78px
            minmax(0, 1fr)
            28px !important;

        column-gap: 12px !important;
        row-gap: 6px !important;

        padding: 15px 0 !important;
    }

    .lm-cart-drawer .elementor-menu-cart__product-image {
        width: 78px !important;
        min-width: 78px !important;
    }

    .lm-cart-drawer .elementor-menu-cart__product-image a {
        width: 78px !important;
        height: 78px !important;

        padding: 6px !important;
        border-radius: 10px !important;
    }

    .lm-cart-drawer .elementor-menu-cart__product-name a {
        font-size: 13.5px !important;
        line-height: 1.35 !important;
    }

    .lm-cart-drawer .elementor-menu-cart__product-price {
        font-size: 12.5px !important;
    }

    .lm-cart-drawer
        .elementor-menu-cart__subtotal
        .woocommerce-Price-amount {
        font-size: 18px !important;
    }

    .lm-cart-drawer
        .elementor-menu-cart__footer-buttons
        .elementor-button {
        min-height: 48px !important;
        font-size: 13.5px !important;
    }
}

@media (max-width: 380px) {

    .lm-cart-drawer {
        width: 100vw;
    }

    .lm-cart-drawer .elementor-menu-cart__product {
        grid-template-columns:
            70px
            minmax(0, 1fr)
            26px !important;

        column-gap: 10px !important;
    }

    .lm-cart-drawer .elementor-menu-cart__product-image {
        width: 70px !important;
        min-width: 70px !important;
    }

    .lm-cart-drawer .elementor-menu-cart__product-image a {
        width: 70px !important;
        height: 70px !important;
    }
}

/* ==================================================
   RESPONSIVE
   ================================================== */

/*
 * Escritorio real:
 * desde 1101px en adelante.
 */
@media (min-width: 1101px) {

    .lm-header {
        display: block !important;
    }

    .lm-header__desktop {
        display: block !important;
    }

    .lm-header__tracking-strip,
    .lm-header__mobile,
    .lm-header__search-panel,
    .lm-header__mobile-menu {
        display: none !important;
    }
}

/*
 * Teléfono + tablet:
 * hasta 1100px usan exactamente la misma estructura.
 */
@media (max-width: 1100px) {

    .lm-header {
        display: block !important;
    }

    .lm-header__desktop {
        display: none !important;
    }

    .lm-header__tracking-strip {
        display: flex !important;
    }

    .lm-header__mobile {
        display: grid !important;

        min-height: 84px;

        padding: 8px 10px 3px;

        gap: 4px;
    }

    .lm-header__actions {
        gap: 2px;
    }

    .lm-header__icon-button {
        flex-basis: 44px;

        width: 44px;
        height: 44px;

        border-radius: 8px;
    }

    .lm-header__icon-button svg {
        width: 25px;
        height: 25px;
    }

    /* El menú hamburguesa se ve ligeramente más fuerte */
    .lm-header__icon-button[data-lm-menu-toggle] svg {
        width: 27px;
        height: 27px;

        stroke-width: 2.15;
    }

    .lm-header__logo .custom-logo {
        max-width: 225px;
        max-height: 76px;
    }

    .lm-header__cart-count {
        top: 0;
        right: -1px;
    }

    .lm-header__menu-list > li > a {
        min-height: 52px;

        padding-top: 15px;
        padding-bottom: 15px;

        font-size: 13px;
    }

    .lm-header__submenu-toggle {
        top: 5px;
    }

    .lm-header__search-panel {
        display: block !important;
    }

    .lm-header__mobile-menu[hidden] {
        display: none !important;
    }

    .lm-header__mobile-menu:not([hidden]) {
        display: block !important;
    }
}

/* ==================================================
   AJUSTE DE LOGO POR RESOLUCIÓN
   ================================================== */

/* Tablet */
@media (min-width: 768px) and (max-width: 1100px) {

    .lm-header__logo .custom-logo {
        max-width: 255px;
        max-height: 82px;
    }
}

/* Teléfonos */
@media (max-width: 767px) {

    .lm-header__logo .custom-logo {
        max-width: 205px;
        max-height: 70px;
    }
}

/* ==================================================
   ANCHO 1192PX — SOLO ESCRITORIO
   ================================================== */

@media (min-width: 1200px) {

    .lm-header__desktop-main,
    .lm-header__desktop-menu {
        width: 1192px;
        max-width: calc(100% - 48px);

        margin-right: auto;
        margin-left: auto;

        padding-right: 0;
        padding-left: 0;
    }

    .lm-header__desktop-menu {
        justify-content: flex-start;
    }
}

/* ==================================================
   MÓVIL PEQUEÑO
   ================================================== */

@media (max-width: 480px) {

    .lm-header__tracking-strip {
        width: calc(100% - 24px);
        min-height: 38px;
        max-height: 38px;

        margin: 9px 12px 7px;
        padding-inline: 15px;

        font-size: 11px;
    }

    .lm-header__search-panel {
        padding: 0 12px 10px;
    }

    .lm-header__search-panel .woocommerce-product-search,
    .lm-header__search-panel form[role="search"] {
        grid-template-columns:
            minmax(0, 1fr)
            54px;

        height: 48px;
    }

    .lm-header__search-panel button[type="submit"] {
        width: 54px;
        min-width: 54px;
    }
}

/* ==================================================
   TELÉFONOS MUY ANGOSTOS
   ================================================== */

@media (max-width: 380px) {

    .lm-header__mobile {
        padding-inline: 6px;
    }

    .lm-header__icon-button {
        flex-basis: 40px;

        width: 40px;
        height: 40px;
    }

    .lm-header__icon-button svg {
        width: 23px;
        height: 23px;
    }

    .lm-header__icon-button[data-lm-menu-toggle] svg {
        width: 25px;
        height: 25px;
    }

    .lm-header__logo .custom-logo {
        max-width: 175px;
        max-height: 62px;
    }

    .lm-header__menu-list > li > a {
        padding-left: 16px;
        padding-right: 54px;
    }

    .lm-header__submenu-toggle {
        right: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lm-header__tracking-strip::after,
    .lm-header__desktop-track::after {
        animation: none;
    }

    .lm-header.lm-header--fixed {
        animation: none;
    }
}

/* =========================================================
   LANDIMOTOS - CHECKOUT V1
   Envíos + pagos + botón
   ========================================================= */

body.woocommerce-checkout #order_review {
    background: #fff;
}

/* ---------- MÉTODOS DE ENVÍO ---------- */

body.woocommerce-checkout ul#shipping_method {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0 5px !important;
    padding: 0 !important;
}

body.woocommerce-checkout ul#shipping_method li {
    position: relative;
    display: flex !important;
    align-items: center;
    min-height: 64px;
    margin: 0 !important;
    padding: 12px 14px !important;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        transform .2s ease;
}

body.woocommerce-checkout ul#shipping_method li:hover {
    border-color: #fe5000;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transform: translateY(-1px);
}

body.woocommerce-checkout ul#shipping_method li.lm-selected {
    border: 2px solid #fe5000;
    background: #fff8f4;
    box-shadow: 0 8px 22px rgba(254,80,0,.10);
}

/* Radio */
body.woocommerce-checkout ul#shipping_method li input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0 10px 0 0 !important;
    accent-color: #fe5000;
}

/* Texto */
body.woocommerce-checkout ul#shipping_method li label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    width: 100%;
    margin: 0 !important;

    color: #212322;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
}

/* Precio del envío */
body.woocommerce-checkout ul#shipping_method li .amount {
    color: #fe5000;
    font-weight: 700;
    white-space: nowrap;
}

/* Logos de transportadoras */
body.woocommerce-checkout ul#shipping_method li img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
    margin-right: 7px;
}


/* ---------- RECOGIDA EN TIENDA ---------- */

body.woocommerce-checkout ul#shipping_method li.lm-local-pickup {
    min-height: 72px;
}

body.woocommerce-checkout ul#shipping_method li.lm-local-pickup label {
    font-weight: 700;
}

body.woocommerce-checkout ul#shipping_method li.lm-local-pickup label::after {
    content: "GRATIS";
    margin-left: auto;

    color: #fe5000;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
}


/* ---------- MÉTODOS DE PAGO ---------- */

body.woocommerce-checkout .wc_payment_methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px !important;
    padding: 0 !important;
}

body.woocommerce-checkout .wc_payment_methods li.wc_payment_method {
    margin: 0 !important;
    padding: 14px 16px !important;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

body.woocommerce-checkout .wc_payment_methods li.wc_payment_method.lm-selected {
    border: 2px solid #fe5000;
    background: #fff8f4;
    box-shadow: 0 8px 22px rgba(254,80,0,.10);
}

body.woocommerce-checkout .wc_payment_methods input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px !important;
    accent-color: #fe5000;
}

body.woocommerce-checkout .wc_payment_methods label {
    font-weight: 600;
    color: #212322;
    cursor: pointer;
}


/* Caja de información Wompi / Sistecrédito */

body.woocommerce-checkout .payment_box {
    margin: 12px 0 0 !important;
    padding: 13px 15px !important;

    background: #f7f7f7 !important;
    border-radius: 10px !important;

    color: #555 !important;
    font-size: 13px;
}

body.woocommerce-checkout .payment_box::before {
    display: none !important;
}


/* ---------- TOTAL ---------- */

body.woocommerce-checkout .order-total th,
body.woocommerce-checkout .order-total td {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

body.woocommerce-checkout .order-total .amount {
    color: #fe5000 !important;
    font-size: 20px;
    font-weight: 800;
}


/* ---------- BOTÓN ---------- */

body.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 56px;

    margin-top: 12px !important;

    border: 0 !important;
    border-radius: 10px !important;

    background: #fe5000 !important;
    color: #fff !important;

    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .2px;

    box-shadow: 0 8px 20px rgba(254,80,0,.20);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

body.woocommerce-checkout #place_order:hover {
    background: #e84900 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(254,80,0,.28);
}


/* ---------- MÓVIL ---------- */

@media (max-width: 767px) {

    body.woocommerce-checkout ul#shipping_method li {
        padding: 12px !important;
    }

    body.woocommerce-checkout ul#shipping_method li label {
        font-size: 13px;
    }

    body.woocommerce-checkout ul#shipping_method li img {
        max-width: 32px;
        max-height: 32px;
    }

    body.woocommerce-checkout #place_order {
        min-height: 54px;
    }
}

/* =========================================================
   LANDIMOTOS - CHECKOUT
   Título de envío arriba + opciones a ancho completo
   ========================================================= */

body.woocommerce-checkout
tr.woocommerce-shipping-totals.shipping {
    display: block !important;
    width: 100% !important;
}

/* Título ENVÍO */
body.woocommerce-checkout
tr.woocommerce-shipping-totals.shipping > th {
    display: block !important;
    width: 100% !important;

    padding: 18px 0 12px !important;
    margin: 0 !important;

    border: 0 !important;

    text-align: left !important;
    color: #212322;
    font-size: 15px;
    font-weight: 800;
    text-transform: lowercase;
}

/* Contenedor de métodos */
body.woocommerce-checkout
tr.woocommerce-shipping-totals.shipping > td {
    display: block !important;
    width: 100% !important;

    padding: 0 0 18px !important;
    margin: 0 !important;

    border: 0 !important;
}

/* Lista al 100% */
body.woocommerce-checkout
tr.woocommerce-shipping-totals.shipping ul#shipping_method {
    width: 100% !important;
    margin: 0 !important;
}

/* Cada opción ocupa todo el ancho disponible */
body.woocommerce-checkout
tr.woocommerce-shipping-totals.shipping ul#shipping_method li {
    width: 100% !important;
    box-sizing: border-box;
}