:root {
    /* Brand colors */
    --at-navy-900: #0D182A;
    --at-navy-800: #1B263B;
    --at-yellow: #F7B500;
    --at-white: #FFFFFF;
    --at-gray-100: #E5E7EB;
    --at-gray-400: #9CA3AF;

    /* Functional aliases */
    --at-dark: var(--at-navy-900);
    --at-dark-2: var(--at-navy-800);
    --at-primary: var(--at-yellow);
    --at-text: #101828;
    --at-muted: #667085;
    --at-line: var(--at-gray-100);
    --at-bg: var(--at-white);
    --at-soft: #F6F7F9;

    /* Typography */
    --at-font-main: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Layout */
    --at-container: 1600px !important;
    --at-radius-sm: 8px;
    --at-radius: 16px;
    --at-radius-lg: 24px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.at-site {
    margin: 0; 
    font-family: var(--at-font-main);
    color: var(--at-text);
    background: var(--at-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.at-container {
    width: min(100% - 32px, var(--at-container));
    margin-inline: auto;
}

/*header*/

.at-header {
    position: relative;
    z-index: 50;
    background: var(--at-white);
}

.at-topbar {
    background: #07111d;
    color: rgba(255,255,255,.82);
    font-size: 12px;
}

.at-topbar__inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
}

.at-header-main {
    background: var(--at-white);
    border-bottom: 1px solid var(--at-line);
}

.at-header-main__inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
}

.at-logo img {
    max-width: 140px;
    height: auto;
    /*filter: brightness(0) saturate(100%) !important;  */
}

a:hover, a:focus, a:active{
    color:var(--at-yellow) !important;
}

.at-header-search {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 48px;
    display: flex;
    align-items: center;
    background: #f5f6f8;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.at-header-search input {
    width: 100%;
    height: 100%;
    padding: 0 62px 0 22px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--at-navy-900);
    font-size: 14px;
    font-weight: 500;
}

.at-header-search input::placeholder {
    color: #8a93a3;
}

.at-header-search button {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;
    background: var(--at-navy-900);
    color: #fff;

    cursor: pointer;
    font-size: 0;
}

.at-header-search button::before {
    content: "";
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: block;
    left: -6px;
    position: relative;
    top: -3px;
}

.ccd-checkout:hover, .ccd-checkout:focus{
    color:#000 !important;
}

.at-header-search button::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transform: translate(8px, 8px) rotate(-71deg);
    top: 16px;
    left: 8px;
}

.at-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--at-navy-900);
}

.at-screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.at-header-icon,
.at-codelia-cart .ccd-trigger {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--at-navy-900);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.at-header-icon:hover,
.at-codelia-cart .ccd-trigger:hover {
    background: var(--at-soft);
    color: var(--at-navy-900);
    transform: translateY(-1px);
}

.at-header-icon svg,
.at-codelia-cart .ccd-trigger svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.at-codelia-cart {
    display: flex;
    align-items: center;
}

.at-codelia-cart .ccd-trigger__label {
    display: none;
}

.at-codelia-cart .ccd-count,
.at-cart-link > strong {
    position: absolute;
    top: 0;
    right: -1px;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid var(--at-white);
    border-radius: 999px;
    background: var(--at-yellow);
    color: var(--at-navy-900);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.at-cart-link > strong:empty {
    display: none;
}

.at-desktop-nav {
    background: var(--at-navy-900);
    color: var(--at-white);
}

.at-desktop-nav ul {
    min-height: 52px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin: 0;
    padding: 0;
}

.at-desktop-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.at-desktop-nav a:hover {
    color: var(--at-yellow);
}

.at-mobile-toggle,
.at-mobile-cart {
    display: none;
}

.at-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.54);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 998;
}

.at-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: min(90vw, 430px);
    height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(247,181,0,.10), transparent 32%),
        linear-gradient(135deg, #07111d 0%, #0d182a 48%, #03101e 100%);
    color: var(--at-white);
    transform: translateX(-102%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    z-index: 999;
    overflow-y: auto;
}

.at-mobile-menu__head {
    min-height: 104px;
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.at-mobile-menu__head img {
    max-width: 190px;
}

.at-mobile-close {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: var(--at-white);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.at-mobile-menu__nav {
    padding: 26px 30px;
    display: grid;
    gap: 8px;
}

.at-mobile-menu__nav a,
.at-mobile-menu__account a {
    min-height: 52px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

.at-mobile-menu__nav span,
.at-mobile-menu__account span {
    width: 34px;
    color: var(--at-white);
    font-size: 25px;
    text-align: center;
}

.at-mobile-menu__nav em {
    font-style: normal;
    font-size: 25px;
}

.at-mobile-menu__nav a.is-active {
    color: var(--at-yellow);
}

.at-mobile-menu__benefits {
    margin: 8px 30px 0;
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,.14);
    border-bottom: 1px solid rgba(255,255,255,.14);
    display: grid;
    gap: 20px;
}

.at-mobile-menu__benefits div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
}

.at-mobile-menu__benefits span {
    color: var(--at-yellow);
    font-size: 30px;
}

.at-mobile-menu__benefits p {
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 17px;
    line-height: 1.45;
}

.at-mobile-menu__account {
    padding: 26px 30px;
    display: grid;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.at-mobile-menu__account strong {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--at-yellow);
    color: var(--at-navy-900);
    display: grid;
    place-items: center;
    font-size: 12px;
}

.at-mobile-menu__social {
    padding: 24px 30px 34px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.at-mobile-menu__social a {
    font-size: 0;
}

.at-mobile-menu__social a::first-letter {
    font-size: 0;
}

.at-mobile-menu__social a:nth-child(1)::before { content: "◎"; }
.at-mobile-menu__social a:nth-child(2)::before { content: "f"; }
.at-mobile-menu__social a:nth-child(3)::before { content: "♪"; }
.at-mobile-menu__social a:nth-child(4)::before { content: "▶"; }

.at-mobile-menu__social a::before {
    font-size: 26px;
    font-weight: 500;
}

body.at-menu-open {
    overflow: hidden;
}

body.at-menu-open .at-mobile-overlay {
    opacity: 1;
    visibility: visible;
}

body.at-menu-open .at-mobile-menu {
    transform: translateX(0);
}

@media (max-width: 980px) {
    .at-topbar,
    .at-desktop-nav,
    .at-header-search {
        display: none;
    }

    .at-header-main {
        border-bottom: 1px solid var(--at-line);
    }

    .at-header-main__inner {
               min-height: 69px;
        display: grid;
        grid-template-columns: 44px 1fr auto;
        gap: 8px;
        padding-left: 16px;
        padding-right: 16px;
    }

        .at-header-main__inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 68px;
    }

    .at-logo {
        justify-self: center;
    }

    .at-logo img {
        max-width: 150px;
        height:65px;
        filter: brightness(0) saturate(100%) !important;
    }

    .at-header-actions {
        display: flex;
        gap: 2px;
        justify-self: end;
    }

    .at-header-icon,
    .at-codelia-cart .ccd-trigger {
        width: 40px;
        height: 40px;
        min-height: 40px;
        flex-basis: 40px;
        padding: 9px;
    }

.at-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    min-width: 82px;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;

    background: transparent;
    border: 0;
    box-shadow: none;

    justify-self: start;
    cursor: pointer;
}

.at-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--at-navy-900);
    border-radius: 999px;
}

}

@media (max-width:768px){

    .at-header-main__inner{
        padding-left:0px;
        padding-right:0px;
    }

    .at-mobile-toggle{
        transform:translateX(-4px);
    }

}

.at-header {
    position: relative;
    z-index: 999;
}

/* PC: solo se fija la zona blanca + menú, NO la topbar superior */
.at-header-main,
.at-desktop-nav {
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        background-color .28s ease;
}

@media (min-width: 981px) {
    body.at-header-sticky .at-header-main {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        box-shadow: 0 14px 40px rgba(13, 24, 42, .10);
    }

    body.at-header-sticky .at-desktop-nav {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        z-index: 998;
        box-shadow: 0 16px 38px rgba(13, 24, 42, .14);
    }

    body.at-header-sticky .at-main {
        padding-top: 134px;
    }
}

/* Móvil: se fija la cabecera completa móvil */
@media (max-width: 980px) {
    .at-header-main {
        transition:
            transform .28s ease,
            box-shadow .28s ease,
            background-color .28s ease;
    }

    body.at-header-sticky .at-header-main {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: var(--at-white);
        box-shadow: 0 12px 34px rgba(13, 24, 42, .12);
    }

    body.at-header-sticky .at-main {
        padding-top: 76px;
    }
}


/*Footer*/

/* =========================
   FOOTER
========================= */

.at-footer{
    background: var(--at-navy-900);
    color: rgba(255,255,255,.82);
    padding: 70px 0 24px;
}

.at-footer__grid{
    display:grid;
    grid-template-columns:1.5fr 1fr .8fr .8fr;
    gap:60px;
}

.at-footer h3,
.at-footer h4{
    margin:0 0 14px;
    color:var(--at-white);
}

.at-footer h3{
    font-size:24px;
    font-weight:500;
}

.at-footer h4{
    font-size:12px;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.at-footer p{
    margin:0;
    font-size:14px;
    line-height:1.7;
    color:rgba(255,255,255,.68);
}

.at-footer-form{
    display:flex;
    margin-top:20px;
    max-width:450px;
    overflow:hidden;
    border-radius:10px;
    gap:10px;
}

.at-footer-form input{
    flex:1;
    min-width:0;
    height:42px;
    border:none;
    padding:0 20px;
    background:#fff;
    border-radius:10px;
}

.at-footer-form button{
    height:42px;
    border:none;
    padding:0 14px;
    background:var(--at-yellow);
    color:var(--at-navy-900);
    font-weight:500;
    cursor:pointer;
    border-radius:10px !important;
    max-width:167px;
    white-space:nowrap !important;
}

.at-footer__col ul{
    list-style:none;
    margin:0;
    padding:0;
}

.at-footer__col li{
    margin-bottom:10px;
}

.at-footer__col a{
    color:rgba(255,255,255,.68);
    transition:.25s;
}

.at-footer__col a:hover{
    color:var(--at-yellow);
}

.at-footer-social{
    display:flex;
    gap:16px;
    margin-top:22px;
}

.at-footer-social a{
    width:40px;
    height:40px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.25s;
}

.at-footer-social a:hover{
    background:var(--at-yellow);
    color:var(--at-navy-900);
}

.at-footer__bottom{
    margin-top:60px;
    padding-top:24px;
    border-top:1px solid rgba(255,255,255,.08);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.at-footer__bottom span{
    font-size:13px;
}

.at-footer-payments{
    display:flex;
    align-items:center;
    gap:18px;
    color:var(--at-white);
    font-size:13px;
    font-weight:500;
}

.at-footer-payments img{
    display:block;
    width:40px;
    max-width:40px;
    height:auto;
    object-fit:contain;
}

/* Tablet */

@media (max-width: 1100px){

    .at-footer__grid{
        grid-template-columns:1fr 1fr;
        gap:40px;
    }

}

/* Móvil */

@media (max-width: 768px){

    .at-footer{
        padding:50px 0 20px;
    }

    .at-footer__grid{
        grid-template-columns:1fr;
        gap:34px;
    }

    .at-footer h3{
        font-size:22px;
    }

    .at-footer-form{
        max-width:100%;
        width:100%;
    }

    .at-footer__bottom{
        flex-direction:column;
        align-items:flex-start;
    }

    .at-footer-payments{
        flex-wrap:wrap;
        gap:14px;
    }

}

/* Móvil pequeño */

@media (max-width: 480px){

    .at-footer-form{
        flex-direction:column;
        gap:10px;
    }

    .at-footer-form input,
    .at-footer-form button{
        width:100%;
        max-width:none;
        min-height:40px;
    }

    .at-footer-form button{
        justify-content:center;
    }

    .at-footer__bottom{
        margin-top:44px;
    }

    .at-footer-payments img{
        width:38px;
        max-width:38px;
    }

}


@media(max-width: 768px){
    .at-mobile-menu__nav a{
        display:flex;
        justify-content: flex-start;
    }

    .at-mobile-menu__nav span{
        display: none;
    }

    .at-mobile-menu__nav em{
        display: none;
    }

    .at-mobile-menu__head{
        align-items: flex-start;
    }
}

.at-cart-icon-img {
    display: block;
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.at-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 54px;
    padding: 0 18px;

    background: #25D366;
    color: #fff !important;

    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.at-whatsapp-float svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    fill: currentColor;
}

.at-whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

.at-whatsapp-float:focus {
    color: #fff !important;
}

@media (max-width: 768px) {
    .at-whatsapp-float {
        right: 16px;
        bottom: 16px;

        width: 54px;
        height: 54px;
        min-height: 54px;
        padding: 0;

        justify-content: center;
    }

    .at-whatsapp-float span {
        display: none;
    }

    .at-whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .post-68 .inside-article{
        padding:0px !important;
    }
}

