/* =============================== */
/*  VARIABLES Y CONFIGURACIÓN BASE */
/* =============================== */
@font-face {
    font-family: "Google Sans";
    src: url("../fonts/GoogleSans_17pt-Regular.woff2") format("woff2"),
         url("../fonts/GoogleSans_17pt-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Google Sans";
    src: url("../fonts/GoogleSans_17pt-Medium.woff2") format("woff2"),
         url("../fonts/GoogleSans_17pt-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Google Sans";
    src: url("../fonts/GoogleSans_17pt-SemiBold.woff2") format("woff2"),
         url("../fonts/GoogleSans_17pt-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Google Sans";
    src: url("../fonts/GoogleSans_17pt-Bold.woff2") format("woff2"),
         url("../fonts/GoogleSans_17pt-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2"),
         url("../fonts/InstrumentSerif-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"),
         url("../fonts/InstrumentSerif-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

:root {
    --color-primary: #f0d28a;
    --color-primary-strong: #d6a64d;
    --color-text: #f7efe7;
    --color-text-dark: #2a1b16;
    --color-surface: rgba(243, 233, 223, 0.9);
    --color-surface-strong: #121212;
    --color-background: #1b100d;
    --color-border-soft: rgba(247, 239, 231, 0.22);
    --color-overlay: rgba(32, 14, 8, 0.42);
    --font-family-base: "Google Sans", sans-serif;
    --font-family-display: "Instrument Serif", serif;
    --max-width-container: 1680px;
    --spacing-unit: 1rem;
    --header-offset: 1.6rem;
    --header-height: 4.5rem;
    --shadow-soft: 0 18px 60px rgba(14, 8, 5, 0.22);
}

/* =============================== */
/*  RESETEO Y TIPOGRAFÍA GENERAL   */
/* =============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 15px;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    color: var(--color-text);
    /* background-color: var(--color-background); */
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

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

main {
    flex: 1 0 auto;
    width: 100%;
}

.site-toast-stack {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(20, 10, 5, 0.52);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.site-toast-stack.is-active {
    display: flex;
}

.site-toast {
    position: relative;
    width: min(100%, 25rem);
    padding: 2rem 2rem 1.65rem;
    border: 1px solid rgba(197, 188, 174, 0.46);
    border-radius: 1.4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7f3ed 100%);
    box-shadow: 0 28px 60px rgba(30, 14, 8, 0.2);
    transform: translateY(0.55rem) scale(0.97);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-toast.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.site-toast::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.28rem;
    border-radius: 1.4rem 0 0 1.4rem;
    background: #bc8d2b;
}

.site-toast[data-state="success"]::before {
    background: #738247;
}

.site-toast[data-state="error"]::before {
    background: #a55245;
}

.site-toast[data-state="warning"]::before {
    background: #b0811a;
}

.site-toast__body {
    display: grid;
    gap: 0.35rem;
    padding-left: 0.5rem;
}

.site-toast__title {
    margin: 0 0 0.1rem;
    color: #1a110c;
    font-family: var(--font-family-display);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
}

.site-toast__message {
    margin: 0;
    color: #7a746d;
    font-family: var(--font-family-base);
    font-size: 0.95rem;
    line-height: 1.48;
}

.site-toast__close {
    display: block;
    width: 100%;
    min-height: 2.85rem;
    margin-top: 1.5rem;
    padding: 0 1.1rem;
    border: 1px solid rgba(161, 152, 140, 0.4);
    border-radius: 0.5rem;
    background: transparent;
    color: #7a746d;
    font-family: var(--font-family-base);
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.site-toast__close:hover,
.site-toast__close:focus-visible {
    background: #f0ece5;
    color: #2a1b16;
    outline: none;
}

/* ─── Skeleton / shimmer ─── */

@keyframes skeleton-shimmer {
    from { background-position: -200% 0; }
    to   { background-position:  200% 0; }
}

/* Texto de precio en el sidebar del producto (fondo blanco) */
[data-product-detail][data-loading] [data-product-total],
[data-product-detail][data-loading] [data-product-unit-price] {
    display: inline-block;
    min-width: 5rem;
    border-radius: 0.3em;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.07) 25%,
        rgba(0, 0, 0, 0.14) 50%,
        rgba(0, 0, 0, 0.07) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
    color: transparent !important;
    pointer-events: none;
    user-select: none;
}

/* Presentaciones y botón agregar bloqueados mientras carga */
[data-product-detail][data-loading] [data-product-presentations] {
    opacity: 0.35;
    pointer-events: none;
}

[data-product-detail][data-loading] [data-product-add] {
    opacity: 0.4;
    pointer-events: none;
}

::selection {
    background-color: rgba(240, 210, 138, 0.28);
    color: #ffffff;
}

@media (max-width: 720px) {
    html {
        font-size: 14px;
    }

}

/* ─── Product card — base visual compartido ─── */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: #d7d1c8;
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.product-card:focus-within {
    color: #2b1914;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(63, 42, 28, 0.1);
}

.product-card__weight {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background-color: #f7d66f;
    color: #a87717;
    font-family: var(--font-family-base);
    font-weight: 500;
    text-transform: uppercase;
}

.product-card__name {
    position: relative;
    z-index: 3;
    max-width: 6ch;
    margin: 0;
    font-family: var(--font-family-display);
    font-weight: 400;
    line-height: 0.92;
    text-transform: uppercase;
}

.product-card__visual {
    position: absolute;
    inset: 0;
}

.product-card__packshot {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
}

.product-card__packshot-default,
.product-card__packshot-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

.product-card__packshot-default {
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

.product-card__packshot-hover {
    object-fit: cover;
    object-position: center;
    opacity: 0;
}

.product-card:hover .product-card__packshot-default,
.product-card:focus-within .product-card__packshot-default {
    opacity: 0;
}

.product-card:hover .product-card__packshot-hover,
.product-card:focus-within .product-card__packshot-hover {
    opacity: 1;
}

.product-card__footer {
    position: relative;
    z-index: 3;
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.product-card__price {
    margin: 0;
    font-family: var(--font-family-display);
    line-height: 0.9;
    font-weight: 400;
}

.product-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0 0.95rem;
    border-radius: 0.35rem;
    background-color: #111111;
    color: #f5cf61;
    font-family: var(--font-family-display);
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    letter-spacing: 0.03em;
}

.product-card__button::after {
    content: none;
}

.product-card:hover .product-card__button,
.product-card:focus-within .product-card__button {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
/* =============================== */
/*  ESTILOS DEL HEADER PRINCIPAL   */
/* =============================== */
.site-header {
    position: absolute;
    inset: calc(var(--header-offset) + 0.9rem) 0 auto;
    z-index: 20;
    padding: 0 0.5rem;
    color: var(--color-text-dark);
}

.site-header__inner {
    position: relative;
    width: min(100% - 1rem, var(--max-width-container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    min-height: var(--header-height);
    padding: 0.5rem 1.6rem;
    background-color: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.site-header__branding {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.site-header__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b88b36;
}

.site-header__logo-image {
    display: block;
    width: 4.625rem;
    height: auto;
}

.site-header__menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-header__menu-toggle {
    display: none;
}

.site-header__menu-toggle-line {
    display: block;
}

.site-navigation__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.site-navigation__link {
    color: inherit;
    font-family: var(--font-family-base);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.site-navigation__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background-color: rgba(42, 27, 22, 0.75);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-navigation__link:hover::after,
.site-navigation__link:focus-visible::after {
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header__contact {
    font-size: 0.95rem;
    font-weight: 500;
}

.site-header__buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 1.1rem;
    background-color: var(--color-surface-strong);
    color: #f8e3ad;
    border-radius: 0.55rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.site-header__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 1.8rem;
    padding: 0 0.2rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #7d2a25;
}

.site-header__icon-image {
    display: block;
    width: 1.125rem;
    height: auto;
}

.site-header__icon-image--cart {
    width: 1.375rem;
}

.site-header__cart-count {
    position: absolute;
    top: -0.15rem;
    right: -0.25rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: #111111;
    color: #f5cf61;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-base);
    font-size: 0.62rem;
    font-weight: 700;
}

.site-header__user {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-bottom: 0.9rem;
    margin-bottom: -0.9rem;
}

.site-header__user-guest,
.site-header__user-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.1rem;
    padding: 0 0.35rem;
    color: #2a1b16;
    font-family: var(--font-family-base);
    font-size: 0.9rem;
    font-weight: 500;
}

.site-header__user-trigger {
    border: 0;
    background: transparent;
    cursor: default;
}

.site-header__user-name {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header__user-chevron {
    width: 0.7rem;
    height: auto;
    transition: transform 0.2s ease;
}

.site-header__user.is-open .site-header__user-chevron {
    transform: rotate(180deg);
}

.site-header__user:hover .site-header__user-chevron,
.site-header__user:focus-within .site-header__user-chevron {
    transform: rotate(180deg);
}

.site-header__user-dropdown {
    position: absolute;
    top: calc(100% + 0.15rem);
    left: 50%;
    z-index: 30;
    min-width: 12rem;
    padding: 0.7rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(63, 42, 28, 0.14);
    transform: translateX(-50%);
}

.site-header__user-dropdown-arrow {
    position: absolute;
    top: -0.42rem;
    left: 50%;
    width: 0.9rem;
    height: 0.9rem;
    background: #ffffff;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -3px -3px 8px rgba(63, 42, 28, 0.03);
}

.site-header__user-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 2.5rem;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 0.75rem;
    background: transparent;
    color: #2a1b16;
    font-family: var(--font-family-base);
    font-size: 0.92rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__user-option:hover,
.site-header__user-option:focus-visible {
    background: #f8f2e8;
    color: #8f6512;
}

.site-header__user-option--disabled {
    opacity: 0.6;
}

.site-header__user [hidden] {
    display: none !important;
}

/* ── Desktop safety: always show menu panel even if [hidden] is set ── */
@media (min-width: 1081px) {
    .site-header__menu {
        display: flex !important;
    }
}

@media (max-width: 1080px) {
    /* ── Wrapper ── */
    .site-header {
        position: sticky;
        top: 0;
        inset: 0;
        z-index: 50;
        padding: 0;
        background: rgba(250, 247, 243, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(21, 18, 15, 0.09);
        box-shadow: 0 2px 16px rgba(21, 18, 15, 0.06);
        color: #15120f;
    }

    /* ── Inner: fixed-height top bar, no wrapping ── */
    .site-header__inner {
        position: relative;
        width: 100%;
        max-width: none;
        margin: 0;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        min-height: 3.8rem;
        padding: 0 1.25rem;
        gap: 0;
        background-color: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    /* ── Logo: back to normal flow ── */
    .site-header__branding {
        position: static;
        transform: none;
        flex: 0 0 auto;
    }

    /* ── Hamburger ── */
    .site-header__menu-toggle {
        position: relative;
        z-index: 2;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        width: 2.55rem;
        height: 2.55rem;
        margin-left: auto;
        border: 1px solid rgba(21, 18, 15, 0.16);
        border-radius: 0.5rem;
        background: transparent;
        color: #15120f;
        box-shadow: none;
        cursor: pointer;
        transition: background-color 0.18s ease, border-color 0.18s ease;
    }

    .site-header__menu-toggle:hover {
        background: rgba(21, 18, 15, 0.05);
        border-color: rgba(21, 18, 15, 0.24);
    }

    .site-header__menu-toggle-line {
        width: 1.05rem;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header__inner.is-menu-open .site-header__menu-toggle-line:nth-child(1) {
        transform: translateY(0.38rem) rotate(45deg);
    }

    .site-header__inner.is-menu-open .site-header__menu-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .site-header__inner.is-menu-open .site-header__menu-toggle-line:nth-child(3) {
        transform: translateY(-0.38rem) rotate(-45deg);
    }

    /* ── Menu panel: absolute overlay, always in DOM for transitions ── */
    .site-header__menu,
    .site-header__menu[hidden] {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 40;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.45rem 0 1rem;
        background: rgba(250, 247, 243, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(21, 18, 15, 0.08);
        border-bottom: 1px solid rgba(21, 18, 15, 0.09);
        box-shadow: 0 10px 28px rgba(21, 18, 15, 0.1);
        /* Hidden state */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    /* Visible state — driven by JS adding .is-menu-open on inner */
    .site-header__inner.is-menu-open .site-header__menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* ── Nav list ── */
    .site-navigation--primary,
    .site-header__actions {
        width: 100%;
    }

    .site-navigation__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-navigation__link {
        display: flex;
        align-items: center;
        min-height: 2.85rem;
        padding: 0 1.25rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #15120f;
        font-family: var(--font-family-base);
        font-size: 0.92rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(21, 18, 15, 0.05);
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    .site-navigation__list li:last-child .site-navigation__link {
        border-bottom: 0;
    }

    .site-navigation__link:hover,
    .site-navigation__link:focus-visible {
        background: rgba(21, 18, 15, 0.03);
        color: #a89168;
    }

    .site-navigation__link::after {
        display: none;
    }

    /* ── Actions row ── */
    .site-header__actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.55rem;
        padding: 0.9rem 1.25rem 0;
    }

    .site-header__contact {
        flex: 1 1 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 2.6rem;
        padding: 0 1rem;
        border: 1px solid rgba(21, 18, 15, 0.14);
        border-radius: 0.45rem;
        background: transparent;
        color: #15120f;
        font-family: var(--font-family-base);
        font-size: 0.88rem;
        font-weight: 500;
        transition: background-color 0.15s ease;
    }

    .site-header__contact:hover {
        background: rgba(21, 18, 15, 0.04);
    }

    .site-header__icon {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 2.6rem;
        min-height: 2.6rem;
        padding: 0;
        border: 1px solid rgba(21, 18, 15, 0.14);
        border-radius: 0.45rem;
        background: transparent;
        color: #15120f;
    }

    /* ── User block ── */
    .site-header__user {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .site-header__user-guest,
    .site-header__user-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        min-height: 2.6rem;
        padding: 0 0.9rem;
        border: 1px solid rgba(21, 18, 15, 0.14);
        border-radius: 0.45rem;
        background: transparent;
        color: #15120f;
        font-family: var(--font-family-base);
        font-size: 0.88rem;
        font-weight: 500;
        transition: background-color 0.15s ease;
    }

    .site-header__user-guest:hover,
    .site-header__user-trigger:hover {
        background: rgba(21, 18, 15, 0.04);
    }

    /* ── User dropdown: anchor to right edge ── */
    .site-header__user-dropdown {
        left: auto;
        right: 0;
        transform: none;
    }

    .site-header__user-dropdown-arrow {
        left: auto;
        right: 1.1rem;
        transform: rotate(45deg);
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        padding-inline: 1rem;
    }

    .site-header__menu,
    .site-header__menu[hidden] {
        left: 0;
        right: 0;
    }

    .site-navigation__link {
        padding-inline: 1rem;
    }

    .site-header__actions {
        padding-inline: 1rem;
    }

    .site-header__user {
        flex: 1 1 auto;
    }

    .site-header__user-guest,
    .site-header__user-trigger {
        width: 100%;
        font-size: 0.84rem;
    }

    .site-header__contact {
        font-size: 0.84rem;
    }
}

/* =============================== */
/*  CINTILLO DE CUPÓN              */
/* =============================== */
.coupon-ribbon {
    position: fixed;
    inset: auto 0 0;
    z-index: 200;
    background: #2a1b16;
    border-top: 1px solid rgba(212, 168, 74, 0.3);
    padding: 0.55rem 1rem;
}

.coupon-ribbon__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.coupon-ribbon__text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    font-size: 0.85rem;
    color: #f0e8da;
}

.coupon-ribbon__name {
    font-weight: 600;
    color: #e8d5a8;
}

.coupon-ribbon__desc {
    color: #b8ae9e;
    font-size: 0.8rem;
}

.coupon-ribbon__label {
    color: #9d9589;
    font-size: 0.8rem;
}

.coupon-ribbon__code {
    background: rgba(212, 168, 74, 0.18);
    color: #d4a84a;
    border: 1px solid rgba(212, 168, 74, 0.35);
    border-radius: 0.4rem;
    padding: 0.18rem 0.55rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.coupon-ribbon__timer {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
}

.coupon-ribbon__timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.2rem;
}

.coupon-ribbon__timer-unit b {
    font-size: 1rem;
    font-weight: 700;
    color: #e8d5a8;
    line-height: 1;
}

.coupon-ribbon__timer-unit small {
    font-size: 0.6rem;
    color: #7a7267;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.coupon-ribbon__timer-sep {
    color: #5a5047;
    font-weight: 700;
    padding-bottom: 0.8rem;
}

.coupon-ribbon__close {
    background: none;
    border: none;
    color: #6a6058;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: color 0.15s ease;
    margin-left: auto;
}

.coupon-ribbon__close:hover {
    color: #f0e8da;
}
/* =============================== */
/*  ESTILOS DEL FOOTER PRINCIPAL   */
/* =============================== */
.site-footer {
    background-color: #f2f0ec;
    color: #D9D9D9;
    padding: 4rem 3rem 5rem;
    margin-top: auto;
}

.site-footer__inner {
    width: min(100% - 2rem, var(--max-width-container));
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 3rem;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.site-footer__column a,
.site-footer__copy,
.site-footer__social a {
    color: #B2B2A4;
    font-size: 0.98rem;
    font-weight: 200;
}

.site-footer__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2.5rem;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
}

.site-footer__social img {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 200;
}

@media (max-width: 980px) {
    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__meta {
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 3rem 0;
    }

    .site-footer__nav {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
