/* ===================================================
   GOLDEN DAWN - PAGES LAYER (pages.css)
   Estilos específicos de Home, Producto,
   Estudio de Personalización y DTF por Metro
   =================================================== */

/* ===================================================
   1. PÁGINA DE INICIO (Home / index.html)
   =================================================== */

/* Hero Section */
.hero {
    background: var(--paper);
    display: grid;
    grid-template-columns: 52% 48%;
    min-height: 752px;
    overflow: hidden;
    padding-top: 82px;
}

.hero-content {
    align-self: center;
    padding: 5rem 5vw 7rem 12vw;
    position: relative;
    z-index: 1;
}

.eyebrow {
    align-items: center;
    color: var(--red);
    display: flex;
    font-size: .7rem;
    font-weight: 700;
    gap: .75rem;
    letter-spacing: .16em;
    margin: 0 0 2rem;
    text-transform: uppercase;
}

.eyebrow span {
    background: var(--red);
    display: inline-block;
    height: 1px;
    width: 32px;
}

.hero h1 {
    font-size: clamp(3.7rem, 7vw, 7.8rem);
    font-weight: 600;
    letter-spacing: -.08em;
    line-height: .86;
}

.hero-copy {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 330px;
    margin: 2.25rem 0 2.5rem;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-proof {
    border-top: 1px solid var(--line);
    display: flex;
    gap: 1.75rem;
    margin-top: 4rem;
    max-width: 460px;
    padding-top: 1rem;
}

.hero-proof div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.hero-proof strong {
    font: 700 .92rem var(--display);
}

.hero-proof span {
    color: var(--muted);
    font-size: .67rem;
    line-height: 1.2;
}

.hero-art {
    background: var(--gold);
    min-height: clamp(560px, 58vw, 826px);
    overflow: hidden;
    position: relative;
}

.hero-art::before {
    background: repeating-linear-gradient(90deg, transparent 0 49px, rgba(23, 23, 23, .08) 50px 51px);
    content: '';
    inset: 0;
    position: absolute;
}

.hero-art::after {
    border: 1px solid rgba(23, 23, 23, .28);
    content: '';
    inset: 1.5rem;
    pointer-events: none;
    position: absolute;
}

.sun-disc {
    height: min(44vw, 560px);
    left: 50%;
    max-height: calc(100% - 4rem);
    max-width: calc(100% - 4rem);
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(44vw, 560px);
    object-fit: contain;
    position: absolute;
    z-index: 1;
}

.hero-stamp {
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: grid;
    font: 600 .8rem var(--display);
    height: 76px;
    place-items: center;
    position: absolute;
    right: 9%;
    top: 17%;
    transform: rotate(12deg);
    width: 76px;
    z-index: 2;
}

.hero-caption {
    bottom: 5%;
    font: 600 .72rem var(--display);
    letter-spacing: .14em;
    line-height: 1.3;
    position: absolute;
    right: 5%;
    text-align: right;
    z-index: 2;
}

/* Sección Catálogo */
.catalogo {
    border-top: 1px solid var(--line);
    padding: 8rem 12vw 10rem;
}

.section-heading {
    align-items: end;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 4.5rem;
}

.section-heading>div:first-child {
    align-self: start;
}

.section-heading .eyebrow {
    margin-bottom: .75rem;
}

.section-heading h2 {
    font-size: clamp(2.8rem, 5vw, 5.4rem);
    letter-spacing: -.07em;
    line-height: .9;
}

.section-index {
    color: var(--muted);
    display: block;
    font: 700 .62rem var(--display);
    letter-spacing: .13em;
}

.section-intro {
    align-self: end;
    justify-self: end;
    max-width: 250px;
}

.section-heading>.section-intro p {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: .92rem;
}

.section-intro .text-link {
    font-size: .65rem;
}

.grid-productos {
    display: grid;
    column-gap: 2rem;
    row-gap: 3.5rem;
    grid-template-columns: repeat(3, 1fr);
}

/* Banner Promocional de Personalización */
.custom-promo-banner {
    background: linear-gradient(120deg, #171717 0%, #26231e 100%);
    color: var(--paper);
    padding: 6rem 12vw;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 4vw;
    align-items: center;
    border-top: 1px solid var(--line);
    position: relative;
}

.custom-promo-banner::before {
    border: 1px solid rgba(228, 184, 76, .28);
    content: '';
    inset: 1.5rem;
    pointer-events: none;
    position: absolute;
}

.custom-promo-content,
.custom-promo-stamp {
    position: relative;
    z-index: 1;
}

.custom-promo-banner h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -.06em;
    line-height: .92;
    margin: 0 0 1.25rem;
}

.custom-promo-banner h2 em {
    color: var(--gold);
}

.custom-promo-banner p {
    color: #aaa69d;
    font-size: .95rem;
    margin: 0 0 2rem;
    max-width: 480px;
}

.custom-promo-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.custom-promo-stamp {
    align-items: center;
    align-self: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    display: grid;
    font: 600 .95rem var(--display);
    height: 110px;
    justify-self: center;
    place-items: center;
    transform: rotate(8deg);
    width: 110px;
}

/* ===================================================
   2. DETALLE DE PRODUCTO (producto.html)
   =================================================== */
/* Espaciado del contenido para librar la cabecera fija */
.product-detail {
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    padding: calc(82px + 2rem) 6vw 9rem;
    align-items: start;
}

.reviews-page #main-content {
    padding-top: calc(82px + 1.5rem);
}

.product-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.product-gallery .zoom-frame {
    border: 1px solid var(--ink);
}

.zoom-frame {
    background: #dfd7c8;
    cursor: zoom-in;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 5;
    width: 90%;
    border-radius: 4px;
}

.gallery-arrow {
    align-items: center;
    background: rgba(242, 238, 229, .86);
    border: 1px solid rgba(23, 23, 23, .32);
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font: 700 1.1rem var(--display);
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
    width: 42px;
    z-index: 3;
}

.gallery-arrow:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.06);
}

.gallery-arrow:focus-visible {
    background: var(--gold);
}

.gallery-arrow-prev {
    left: 1rem;
}

.gallery-arrow-next {
    right: 1rem;
}

.gallery-arrow:disabled {
    cursor: not-allowed;
    opacity: 0.22;
    pointer-events: none;
    transform: translateY(-50%);
}

.zoom-frame img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform .18s cubic-bezier(.16, 1, .3, 1);
    width: 100%;
    will-change: transform, transform-origin;
}

.zoom-frame img.image-changing {
    animation: product-image-change .28s ease-out;
}

@keyframes product-image-change {
    from {
        opacity: .35;
        transform: scale(1.03);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-frame.is-zoomed img {
    transform: scale(1.95);
    cursor: crosshair;
}

.zoom-frame.is-zoomed .zoom-label {
    opacity: 0;
    transform: translateY(-4px);
}

.zoom-label {
    background: var(--ink);
    color: var(--paper);
    font-size: .68rem;
    font-weight: 700;
    left: 1rem;
    letter-spacing: .12em;
    padding: .55rem .7rem;
    position: absolute;
    text-transform: uppercase;
    top: 1rem;
    z-index: 2;
    pointer-events: none;
    border-radius: 2px;
    transition: opacity .2s ease, transform .2s ease;
}

.product-thumbnails {
    display: block;
    margin-top: .85rem;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    width: 100%;
}

.product-thumbnails-track {
    display: flex;
    gap: .75rem;
    width: 100%;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.product-thumbnail {
    -webkit-appearance: none;
    appearance: none;
    aspect-ratio: 1;
    background: #e8e2d4;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    flex: 0 0 calc((100% - 2.25rem) / 4);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: border-color .2s ease, opacity .25s ease, transform .2s ease;
}

.product-thumbnail:hover,
.product-thumbnail:focus-visible {
    border-color: rgba(184, 41, 27, .5);
}

.product-thumbnail.active {
    border-color: var(--red);
}

.product-thumbnail img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: opacity .3s ease, transform .3s ease;
}

.product-thumbnail.active img {
    opacity: 1;
}

/* Miniaturas opacas con contador +N (siguiente a la derecha y previa a la izquierda) */
.product-thumbnail.is-peek-next img,
.product-thumbnail.is-peek-prev img {
    opacity: 0.38;
    transform: scale(0.96);
}

.product-thumbnail.is-peek-next .thumbnail-badge,
.product-thumbnail.is-peek-prev .thumbnail-badge {
    opacity: 1;
    visibility: visible;
}


/* Badge superpuesto en la miniatura opaca */
.thumbnail-badge {
    align-items: center;
    background: rgba(23, 23, 23, .52);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    color: var(--gold);
    display: flex;
    font: 700 1.2rem var(--display);
    inset: 0;
    justify-content: center;
    letter-spacing: .06em;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: background .2s ease, color .2s ease, opacity .25s ease;
    visibility: hidden;
    z-index: 2;
}

.product-thumbnail:hover .thumbnail-badge {
    background: rgba(23, 23, 23, .72);
    color: #ffffff;
}

.product-copy {
    align-self: start;
    display: flex;
    flex-direction: column;
    padding-bottom: 1.25rem;
}

.product-copy h1 {
    font-size: clamp(3rem, 5.5vw, 5.8rem);
}

.product-price-wrapper {
    align-items: baseline;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1rem;
    margin-bottom: 1.25rem;
    margin-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.product-price {
    display: block;
    font: 600 1.25rem var(--display);
    margin-top: 0;
}

.product-price-bcv {
    color: #1b5e20;
    font: 600 1.05rem var(--display);
}

.bcv-rate-badge {
    align-items: center;
    background: #f0f7f2;
    border: 1px solid #bce2c7;
    border-radius: 12px;
    color: #1b5e20;
    display: inline-flex;
    font-size: .75rem;
    font-weight: 600;
    gap: 6px;
    margin-top: .4rem;
    padding: 3px 8px;
}

.bcv-rate-badge .bcv-dot {
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
    animation: bcvPulse 2s infinite ease-in-out;
}

@keyframes bcvPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.product-copy p {
    color: var(--muted);
    max-width: 360px;
}

.product-back {
    border-bottom: 1px solid var(--ink);
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 2.5rem;
    padding-bottom: .35rem;
    text-transform: uppercase;
}

/* Selector de Tallas con Stepper */
.size-selector {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
    margin: 2rem 0 1.75rem;
}

.size-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: .75rem;
    max-width: 360px;
}

.size-header span {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.size-guide-btn {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .2s ease;
}

.size-guide-btn:hover {
    opacity: .8;
}

.size-options {
    display: flex;
    gap: .6rem;
}

.size-btn {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    cursor: pointer;
    font: 700 .85rem var(--display);
    height: 44px;
    min-width: 44px;
    padding: 0 .75rem;
    transition: all .2s ease;
}

.size-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.size-btn.active {
    background: var(--ink);
    color: var(--paper);
}

.size-stepper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .55rem;
    max-width: 380px;
}

.size-stepper-card {
    background: var(--paper);
    border: 1.5px solid var(--ink);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem .35rem;
    transition: all .2s ease;
    user-select: none;
    cursor: pointer;
}

.size-stepper-card:hover {
    border-color: var(--red);
}

.size-stepper-card.active {
    border: 2px solid var(--red);
    background: rgba(184, 70, 50, 0.05);
    box-shadow: 0 2px 8px rgba(184, 70, 50, 0.12);
}

.size-stepper-card .size-label {
    font: 700 1.05rem var(--display);
    color: var(--ink);
    margin-bottom: .35rem;
}

.size-stepper-card.active .size-label {
    color: var(--red);
}

.stepper-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(23, 23, 23, 0.05);
    border-radius: 3px;
    border: 1px solid rgba(23, 23, 23, 0.12);
    overflow: hidden;
}

.stepper-btn {
    background: transparent;
    border: none;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    width: 28px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
    touch-action: manipulation;
}

.stepper-btn:hover {
    background: var(--ink);
    color: var(--paper);
}

.stepper-btn:active {
    transform: scale(0.92);
}

.stepper-qty {
    font: 700 .92rem var(--display);
    color: var(--ink);
    min-width: 18px;
    text-align: center;
}

.size-stepper-card.active .stepper-qty {
    color: var(--red);
    font-weight: 800;
}

.order-summary-pill {
    background: #f8f6f0;
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: 0 6px 6px 0;
    padding: .7rem .9rem;
    margin-top: .85rem;
    max-width: 380px;
    font-size: .85rem;
    line-height: 1.45;
}

.order-summary-pill .pill-total {
    font-weight: 700;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: .95rem;
}

.order-summary-pill .pill-total .pill-bs {
    color: #1b5e20;
    font-weight: 700;
}

.order-summary-pill .pill-breakdown {
    color: var(--muted);
    font-size: .8rem;
    margin-top: 3px;
}

.product-note {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .78rem;
    margin-top: 2.5rem;
    padding-top: 1rem;
}

.product-assurances {
    border-top: 1px solid var(--line);
    display: grid;
    gap: .85rem;
    margin-top: 1.5rem;
    max-width: 360px;
    padding-top: 1.25rem;
}

.assurance-item {
    align-items: flex-start;
    display: grid;
    gap: .75rem;
    grid-template-columns: 28px minmax(0, 1fr);
}

.assurance-icon {
    align-items: center;
    border: 1px solid var(--red);
    border-radius: 50%;
    color: var(--red);
    display: grid;
    flex: 0 0 28px;
    font: 700 .75rem var(--display);
    height: 28px;
    place-items: center;
    width: 28px;
}

.assurance-item span:last-child {
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: .72rem;
    line-height: 1.3;
    min-width: 0;
}

.assurance-item strong {
    color: var(--ink);
    font: 700 .75rem var(--display);
    letter-spacing: .02em;
}

/* ===================================================
   3. ESTUDIO DE PERSONALIZACIÓN (personalizar.html)
   =================================================== */
.studio-page {
    padding-top: 82px;
}

.studio-hero {
    border-bottom: 1px solid var(--line);
    padding: 5rem 12vw 3rem;
}

.studio-hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: .9;
}

.studio-hero p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
    margin: 1.5rem 0 0;
}

.studio-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 6vw;
    padding: 4.5rem 12vw 8rem;
}

/* Escenario del Mockup */
.mockup-sticky {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-view-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--paper-warm, #f2eee5);
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    margin-bottom: .25rem;
    overflow: hidden;
}

.mockup-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem .85rem;
    background: transparent;
    border: 0;
    border-right: 1.5px solid var(--ink);
    color: var(--ink);
    font-family: var(--display);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    user-select: none;
    outline: none;
}

.mockup-view-btn:last-child {
    border-right: 0;
}

.mockup-view-btn:hover {
    background: rgba(23, 23, 23, .06);
}

.mockup-view-btn.active {
    background: var(--ink);
    color: var(--paper);
}

.mockup-view-btn .view-btn-icon {
    font-size: 1rem;
    line-height: 1;
    transition: transform .2s ease;
}

.mockup-view-btn:hover .view-btn-icon {
    transform: scale(1.15);
}

.mockup-frame {
    aspect-ratio: 3 / 4;
    background: #f1ebe1;
    border: 1px solid var(--ink);
    overflow: hidden;
    position: relative;
    user-select: none;
}

.mockup-tshirt {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
    transition: opacity .2s ease;
}

.mockup-tshirt.switching {
    opacity: 0.45;
}

.mockup-brand-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid var(--ink);
    border-radius: 50%;
    color: var(--ink);
    font: 600 .75rem var(--display);
    padding: .55rem .45rem;
    z-index: 5;
    background: rgba(242, 238, 229, .6);
}

/* Área de Estampado sobre la franela */
.print-area {
    position: absolute;
    border: 1.5px dashed rgba(228, 184, 76, .85);
    background: rgba(228, 184, 76, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: all .35s cubic-bezier(.22, .61, .36, 1);
    z-index: 4;
    border-radius: 2px;
}

.print-area.has-image {
    border-color: transparent;
    background: transparent;
}

.print-area-placeholder {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 1px rgba(0, 0, 0, .95);
    font: 600 .55rem var(--display);
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    padding: .2rem;
    line-height: 1.15;
}

.print-area.has-image .print-area-placeholder {
    display: none;
}

/* Posiciones proporcionales de impresión (escaladas a tamaño realista sobre franela oversize) */
.pos-pocket {
    top: 27%;
    left: 32%;
    width: 11%;
    height: 8.5%;
}

.pos-pocket .print-area-placeholder {
    font-size: .48rem;
    letter-spacing: 0;
}

.pos-front-a4 {
    top: 27%;
    left: 38.5%;
    width: 23%;
    height: 26%;
}

.pos-front-a3 {
    top: 24%;
    left: 35%;
    width: 30%;
    height: 35%;
}

.pos-back {
    top: 22%;
    left: 35%;
    width: 30%;
    height: 35%;
}

.pos-back-neck {
    top: 18.5%;
    left: 45%;
    width: 10%;
    height: 7.5%;
}

.pos-back-neck .print-area-placeholder {
    font-size: .48rem;
    letter-spacing: 0;
}

.print-graphic {
    display: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .15s ease;
}

.print-graphic.active {
    display: block;
}

/* Controles flotantes del mockup */
.mockup-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(23, 23, 23, .04);
    border: 1px solid var(--line);
    padding: .75rem 1.25rem;
    font-size: .8rem;
}

.mockup-scale {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1;
}

.mockup-scale span {
    font-family: var(--display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: .72rem;
}

.mockup-scale input[type="range"] {
    flex: 1;
    accent-color: var(--red);
    cursor: pointer;
}

.btn-reset-graphic {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: .75rem;
    text-decoration: underline;
}

.btn-reset-graphic:hover {
    color: var(--red);
}

/* Panel de Controles / Pasos del Estudio */
.studio-panel {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.studio-step {
    border-top: 1px solid var(--ink);
    padding-top: 1.25rem;
}

.step-title {
    font: 700 .85rem var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.step-title span {
    color: var(--red);
}

/* Opciones de Base */
.base-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.base-card {
    border: 1px solid var(--line);
    padding: .85rem 1rem;
    cursor: pointer;
    background: transparent;
    display: flex;
    align-items: center;
    gap: .75rem;
    transition: all .2s ease;
    text-align: left;
}

.base-card:hover {
    border-color: var(--ink);
}

.base-card.active {
    border-color: var(--red);
    background: rgba(184, 70, 50, .05);
}

.base-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.base-swatch.ecru {
    background: #d9d0bc;
}

.base-swatch.black {
    background: #171717;
}

.base-card strong {
    font: 700 .85rem var(--display);
    display: block;
}

.base-card span {
    font-size: .72rem;
    color: var(--muted);
    display: block;
}

/* Opciones de Ubicación del Estampado */
.placement-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.placement-btn {
    background: transparent;
    border: 1px solid var(--line);
    padding: .85rem 1rem;
    cursor: pointer;
    text-align: left;
    transition: all .2s ease;
}

.placement-btn:hover {
    border-color: var(--ink);
}

.placement-btn.active {
    border-color: var(--red);
    background: rgba(184, 70, 50, .05);
}

.placement-btn strong {
    font: 700 .85rem var(--display);
    display: block;
    margin-bottom: .2rem;
}

.placement-btn span {
    font-size: .72rem;
    color: var(--muted);
    display: block;
}

.placement-subgroup {
    margin-bottom: 1.25rem;
}

.placement-subgroup-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: 700 .75rem var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: .6rem;
}

.placement-subgroup-title span.tag {
    font-size: .65rem;
    color: var(--muted);
    font-weight: 500;
}

.dual-large-alert {
    background: rgba(184, 70, 50, .08);
    border-left: 3px solid var(--red);
    padding: .85rem 1rem;
    margin-top: 1rem;
    font-size: .82rem;
    line-height: 1.45;
    color: var(--ink);
    display: none;
}

.dual-large-alert.active {
    display: block;
}

.dual-large-alert strong {
    color: var(--red);
}

.dual-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.upload-subcard {
    display: flex;
    flex-direction: column;
}

.upload-subcard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: 700 .8rem var(--display);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .5rem;
    color: var(--ink);
}

.upload-subcard-header .side-badge {
    background: rgba(23, 23, 23, .07);
    padding: .2rem .5rem;
    font-size: .68rem;
    border-radius: 2px;
}

.upload-dropzone.compact {
    padding: 1.6rem 1rem;
}

.upload-dropzone.compact .upload-icon {
    font-size: 1.5rem;
    margin-bottom: .4rem;
}

.upload-dropzone.compact h4 {
    font-size: .88rem;
}

/* Dropzone de Carga de Archivo */
.upload-dropzone {
    border: 2px dashed var(--line);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    background: rgba(23, 23, 23, .02);
    transition: all .2s ease;
    position: relative;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--red);
    background: rgba(184, 70, 50, .03);
}

.upload-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
    display: block;
}

.upload-dropzone h4 {
    font: 700 1rem var(--display);
    margin: 0 0 .35rem;
}

.upload-dropzone p {
    color: var(--muted);
    font-size: .8rem;
    margin: 0;
}

/* Tarjeta de Detalles del Archivo */
.file-card {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 1.1rem 1.25rem;
    margin-top: 0;
    display: none;
    box-shadow: 2px 2px 0 rgba(23, 23, 23, 0.06);
    border-radius: 4px;
}

.file-card.active {
    display: flex;
    flex-direction: column;
}

/* Unificación de Zona de Carga y Tarjeta de Archivo */
.upload-subcard.has-file .upload-dropzone,
.upload-subcard:has(.file-card.active) .upload-dropzone {
    display: none !important;
}

.upload-subcard.has-file .file-card,
.upload-subcard:has(.file-card.active) .file-card {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.file-card-body {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: .5rem;
}

.file-thumb-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.file-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: repeating-conic-gradient(#eeeeee 0% 25%, #ffffff 0% 50%) 50% / 8px 8px;
}

.file-thumb-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.file-card-main-info {
    flex: 1;
    min-width: 0;
}

.file-card-footer {
    margin-top: .65rem;
    padding-top: .55rem;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: flex-end;
}

.btn-remove-subfile {
    background: #fff5f5;
    border: 1px solid rgba(184, 70, 50, .3);
    color: var(--red);
    font-size: .75rem;
    cursor: pointer;
    font-family: var(--display);
    font-weight: 700;
    padding: .35rem .75rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: all .2s ease;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.btn-remove-subfile:hover {
    background: var(--red);
    color: #ffffff;
    border-color: var(--red);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(184, 70, 50, .25);
}

.btn-remove-icon {
    font-size: .8rem;
    font-weight: 800;
    line-height: 1;
}

.file-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    margin-bottom: .6rem;
}

.file-name {
    font: 700 .85rem var(--display);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: clamp(120px, 35vw, 250px);
}

.quality-badge {
    font: 700 .7rem var(--display);
    letter-spacing: .06em;
    padding: .25rem .6rem;
    text-transform: uppercase;
    border-radius: 2px;
}

.quality-badge.good {
    background: #d4edda;
    color: #155724;
}

.quality-badge.medium {
    background: #fff3cd;
    color: #856404;
}

.quality-badge.low {
    background: #f8d7da;
    color: #721c24;
}

.file-meta {
    font-size: .78rem;
    color: var(--muted);
    display: flex;
    gap: 1rem;
    margin-bottom: .75rem;
}

.cloud-upload-box {
    margin-top: .5rem;
    border-top: 1px solid var(--line);
    padding-top: .75rem;
}

.cloud-progress-track {
    background: var(--line);
    height: 4px;
    overflow: hidden;
    width: 100%;
    margin-bottom: .5rem;
}

.cloud-progress-bar {
    background: var(--red);
    height: 100%;
    width: 0%;
    transition: width .3s ease;
}

.cloud-status-text {
    font-size: .75rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cloud-status-text.success {
    color: #155724;
    font-weight: 700;
}

/* ===================================================
   4. PÁGINA Y SERVICIO DTF POR METRO (dtf.html)
   =================================================== */
.dtf-page {
    background: var(--paper);
    color: var(--ink);
}

.dtf-hero {
    border-bottom: 2px solid var(--ink);
    padding: 7rem 4vw 4rem;
    position: relative;
    overflow: hidden;
}

.dtf-hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 3.5rem;
    align-items: center;
}

.dtf-badge-strip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 70, 50, 0.08);
    border: 1px solid var(--red);
    color: var(--red);
    padding: .35rem .85rem;
    border-radius: 20px;
    font: 700 .75rem var(--display);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1.25rem;
}

@media (min-width: 701px) {
    .dtf-badge-strip {
        margin-top: .75rem;
    }
}

.dtf-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.dtf-spec-card {
    background: #ffffff;
    border: 1.5px solid var(--ink);
    padding: 1.15rem 1rem;
    border-radius: 4px;
    box-shadow: 3px 3px 0 var(--ink);
}

.dtf-spec-card h4 {
    font: 700 .9rem var(--display);
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 .35rem;
}

.dtf-spec-card p {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}

/* Calculadora Interactiva de Metros */
.dtf-calc-section {
    padding: 6rem 4vw 7rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dtf-calc-intro {
    align-items: end;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
    margin-bottom: 3.5rem;
}

.dtf-calc-intro .eyebrow {
    align-self: start;
    grid-column: 1 / -1;
    margin-bottom: -1rem;
}

.dtf-calc-intro h2 {
    font-size: clamp(3rem, 5.5vw, 5.4rem);
    grid-column: 1;
}

.dtf-calc-intro>p:last-child {
    border-left: 2px solid var(--red);
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    max-width: 300px;
    padding-left: 1.25rem;
    grid-column: 2;
}

.dtf-calc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 2.5rem;
    align-items: start;
}

.dtf-calculator-card {
    background: #ffffff;
    border: 2px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    padding: 2.25rem 2rem;
    border-radius: 6px;
}

.dtf-config-heading {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.dtf-config-heading h3 {
    font: 700 1.5rem var(--display);
    letter-spacing: -.03em;
    margin: 0;
}

.dtf-step-label {
    color: var(--red);
    display: block;
    font: 700 .64rem var(--display);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dtf-config-copy {
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.5;
    margin: 0 0 1.35rem;
}

.meter-control-box {
    background: #faf8f5;
    border: 1.5px solid var(--line);
    padding: 1.25rem;
    border-radius: 6px;
    margin: 1.25rem 0 1.5rem;
}

.meter-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: .75rem;
}

.meter-stepper-btn {
    background: var(--ink);
    color: var(--paper);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 4px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s ease;
    touch-action: manipulation;
}

.meter-stepper-btn:hover {
    background: var(--red);
    transform: translateY(-1px);
}

.meter-stepper-btn:active {
    transform: scale(0.94);
}

.meter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid var(--ink);
    border-radius: 4px;
    padding: 0 .75rem;
}

.meter-number-input {
    width: 110px;
    border: none;
    outline: none;
    font: 700 1.85rem var(--display);
    color: var(--ink);
    text-align: right;
    padding: .45rem 0;
    background: transparent;
    -moz-appearance: textfield;
}

.meter-number-input::-webkit-outer-spin-button,
.meter-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.meter-unit-label {
    font: 700 1.1rem var(--display);
    color: var(--red);
    margin-left: 6px;
    user-select: none;
}

.meter-presets {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .85rem;
    justify-content: center;
}

.preset-chip {
    background: #ffffff;
    border: 1px solid var(--ink);
    border-radius: 3px;
    padding: .3rem .65rem;
    font: 600 .76rem var(--display);
    color: var(--ink);
    cursor: pointer;
    transition: all .15s ease;
}

.preset-chip:hover {
    background: var(--ink);
    color: var(--paper);
}

.preset-chip.active {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
}

/* Escala de Precios DTF por Volumen */
.dtf-volume-tier-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    margin-top: .9rem;
}

.dtf-tier-card {
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 6px;
    padding: .6rem .45rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
}

.dtf-tier-card:hover {
    border-color: var(--ink);
    transform: translateY(-1px);
}

.dtf-tier-card.active {
    background: rgba(184, 70, 50, .07);
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.dtf-tier-card.active-wholesale {
    background: rgba(40, 167, 69, .09);
    border-color: #28a745;
    box-shadow: 0 0 0 1px #28a745;
}

.dtf-tier-card-label {
    display: block;
    font: 700 .68rem var(--display);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dtf-tier-card.active .dtf-tier-card-label {
    color: var(--red);
}

.dtf-tier-card.active-wholesale .dtf-tier-card-label {
    color: #166534;
}

.dtf-tier-card-price {
    display: block;
    font: 700 1.05rem var(--display);
    color: var(--ink);
    margin-top: 2px;
}

.dtf-tier-card.active .dtf-tier-card-price {
    color: var(--red);
}

.dtf-tier-card.active-wholesale .dtf-tier-card-price {
    color: #166534;
}

.dtf-tier-card-price small {
    font-size: .68rem;
    font-weight: 500;
    color: var(--muted);
}

.dtf-tier-indicator-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--display);
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-left: 5px;
    vertical-align: middle;
}

.dtf-tier-indicator-badge.tier-1 {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #d1d5db;
}

.dtf-tier-indicator-badge.tier-5 {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.dtf-tier-indicator-badge.tier-10 {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}


.dtf-dimensions-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(184, 70, 50, .05);
    border: 1px solid rgba(184, 70, 50, .25);
    border-left: 4px solid #b84632;
    padding: .75rem 1rem;
    border-radius: 0 4px 4px 0;
    margin: 1.25rem 0;
    font-size: .84rem;
}

.dtf-dimensions-box strong {
    color: #b84632;
}

.dtf-total-card {
    background: #fdfcf9;
    border: 1.5px solid var(--ink);
    border-radius: 6px;
    box-shadow: 6px 6px 0 var(--ink);
    padding: 1.5rem;
    text-align: center;
    margin-top: 0;
}

.dtf-calc-layout>div:last-child {
    min-width: 0;
    position: sticky;
    top: 1.5rem;
}

.dtf-total-card>div[style*="text-align: left"] {
    margin-top: 0;
}

.dtf-guidelines-box {
    margin-top: 1.5rem;
}

.dtf-total-card>.dtf-step-label {
    margin-bottom: 1rem;
    text-align: left;
}

.dtf-cart-cta {
    justify-content: center;
    width: 100%;
}

.dtf-total-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .25rem;
}

.dtf-total-usd {
    font: 800 2.4rem var(--display);
    color: var(--ink);
    line-height: 1.1;
}

.dtf-total-bs {
    font: 700 1.25rem var(--display);
    color: #1b5e20;
    margin-top: .35rem;
}

.dtf-total-divider {
    border-top: 1px solid var(--line);
    margin: 1.5rem 0 1.25rem;
}

.dtf-guidelines-box {
    background: #ffffff;
    border: 1.5px solid var(--ink);
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.dtf-guidelines-box h4 {
    font: 700 .95rem var(--display);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--ink);
}

.guidelines-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.guidelines-list li {
    font-size: .84rem;
    color: var(--ink);
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    line-height: 1.4;
}

.guidelines-list li span.check-icon {
    color: #28a745;
    font-weight: 700;
}

/* Tarjeta de Análisis Automático de Imagen para DTF */
.dtf-analysis-card {
    background: #fdfaf6;
    border: 1.5px solid #28a745;
    border-radius: 6px;
    padding: 1.15rem;
    margin: .85rem 0 1.15rem;
    text-align: left;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.08);
    animation: fadeInAnalysis .3s ease-out;
}

@keyframes fadeInAnalysis {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.analysis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .65rem;
    flex-wrap: wrap;
    gap: .4rem;
}

.analysis-badge {
    background: #e8f5e9;
    color: #1b5e20;
    font: 700 .72rem var(--display);
    padding: .25rem .6rem;
    border-radius: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.analysis-meta {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .65rem;
    word-break: break-all;
}

.analysis-result-box {
    background: #ffffff;
    border: 1px solid #c8e6c9;
    border-left: 4px solid #28a745;
    padding: .75rem .95rem;
    border-radius: 0 4px 4px 0;
    margin-bottom: .75rem;
}

.analysis-len-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    margin-bottom: .2rem;
}

.analysis-len-val {
    font: 800 1.6rem var(--display);
    color: #1b5e20;
    line-height: 1.15;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.analysis-price-preview {
    font-size: .82rem;
    color: var(--ink);
    margin-top: .3rem;
}

.analysis-price-preview span {
    font-weight: 700;
    color: #1b5e20;
}

.btn-apply-detected {
    width: 100%;
    background: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: .65rem 1rem;
    font: 700 .8rem var(--display);
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-apply-detected:hover {
    background: #218838;
    transform: translateY(-1px);
}

.analysis-tip {
    font-size: .72rem;
    color: var(--muted);
    line-height: 1.4;
    margin-top: .55rem;
}

/* ===================================================
   SECCIÓN FAQ - PREGUNTAS FRECUENTES (SEO & AEO)
   =================================================== */
.faq-section {
    padding: 5rem 12vw;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.faq-header {
    margin-bottom: 2.5rem;
}

.faq-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    margin-top: .5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
}

.faq-item {
    background: var(--surface);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .15s ease, box-shadow .15s ease;
}

.faq-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    transition: transform .2s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
    border-top: 1px dashed var(--line);
    padding-top: 1rem;
}

.faq-answer strong {
    color: var(--ink);
}

/* ===================================================
   ZONA DE RESEÑAS - OPINIONES Y CANDADO COMPRA VERIFICADA
   =================================================== */
.reviews-section {
    padding: 5rem 12vw;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.reviews-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    margin-top: .5rem;
}

.btn-open-review {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--surface);
    color: var(--ink);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    font-family: var(--display);
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .85rem 1.4rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-open-review:hover {
    background: var(--paper-warm);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.btn-open-review span {
    color: var(--gold);
    font-size: 1.1rem;
}

/* Tarjeta Resumen de Reputación */
.reviews-summary-card {
    background: var(--surface);
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.reviews-score-block {
    text-align: center;
    padding-right: 1.5rem;
    border-right: 1px solid var(--line);
}

.reviews-big-score {
    font-family: var(--display);
    font-size: clamp(3rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: .9;
    color: var(--ink);
    margin-bottom: .4rem;
}

.reviews-score-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: .4rem;
}

.reviews-score-caption {
    font-size: .78rem;
    color: var(--muted);
}

.reviews-score-caption strong {
    color: var(--ink);
}

/* Barras de Desglose */
.reviews-bars-block {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    min-width: 200px;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .76rem;
    font-family: var(--display);
    font-weight: 700;
}

.bar-star-label {
    width: 28px;
    color: var(--ink);
}

.bar-track {
    flex: 1;
    height: 8px;
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gold);
    transition: width .4s ease;
}

.bar-count-label {
    width: 32px;
    text-align: right;
    color: var(--muted);
}

/* Badge de Confianza */
.reviews-trust-badge {
    background: var(--paper-warm);
    border: 1.5px dashed var(--ink);
    padding: 1.2rem 1.5rem;
    max-width: 260px;
    text-align: center;
}

.reviews-trust-badge .trust-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: .3rem;
}

.reviews-trust-badge strong {
    display: block;
    font-size: .88rem;
    font-family: var(--display);
    color: var(--ink);
    margin-bottom: .2rem;
}

.reviews-trust-badge p {
    font-size: .74rem;
    color: var(--muted);
    line-height: 1.35;
    margin: 0;
}

/* Rejilla de Reseñas */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
}

.review-card {
    background: var(--surface);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .15s ease, box-shadow .15s ease;
}

.review-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-stars-group {
    display: flex;
    gap: 2px;
}

.star-icon.filled {
    color: var(--gold);
}

.review-date {
    font-size: .74rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.review-comment {
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-card-footer {
    border-top: 1px dashed var(--line);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.review-author-info {
    font-family: var(--display);
    font-size: .92rem;
    font-weight: 700;
    color: var(--ink);
}

.review-author-city {
    font-weight: 400;
    color: var(--muted);
    font-size: .82rem;
}

.review-badges-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #81c784;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: .68rem;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.badge-order-id {
    font-size: .68rem;
    font-family: monospace;
    color: var(--muted);
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 2px 6px;
    font-weight: 600;
}

.review-product-tag {
    font-size: .74rem;
    color: var(--muted);
}

.review-product-tag strong {
    color: var(--ink);
}

/* ===================================================
   1. FORMULARIO EN PÁGINA (resenas.html) - SCROLL 100% NATURAL
   =================================================== */
.review-create-card {
    background: #ffffff;
    border: 3px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    padding: 2.2rem 2.4rem;
    margin-bottom: 3.5rem;
    position: relative;
    border-radius: 4px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.review-create-card-header {
    border-bottom: 2px solid var(--ink);
    padding-bottom: 1.2rem;
    margin-bottom: 1.6rem;
}

.review-create-card-header .eyebrow {
    font-family: var(--display);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold-dark);
    margin: 0 0 .25rem;
}

.review-create-card-header h3 {
    font-family: var(--display);
    font-size: 1.85rem;
    line-height: 1.15;
    margin: .2rem 0 .4rem;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.review-create-card-header p.subtitle {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

.review-submit-wrap {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 2px dashed var(--line);
}

/* ===================================================
   2. MODAL DE CALIFICACIÓN - VENTANA EMERGENTE (index.html y resenas.html)
   =================================================== */
.review-modal {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 10000;
    padding: 2.5rem 1.25rem 4rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.review-modal.open {
    display: flex;
}

.review-modal-card {
    background: #ffffff;
    border: 3px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    max-width: 580px;
    width: 100%;
    margin: 1.5rem auto 3rem;
    position: relative;
    border-radius: 4px;
    animation: modal-pop .22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modal-pop {
    from {
        opacity: 0;
        transform: scale(.96) translateY(12px);
    }

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

/* Encabezado del Modal */
.review-modal-header {
    padding: 1.6rem 2rem 1.1rem;
    border-bottom: 2px solid var(--ink);
    position: relative;
    background: #faf8f5;
}

.review-modal-header .eyebrow {
    font-family: var(--display);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold-dark);
    margin: 0 0 .25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-modal-header h3 {
    font-family: var(--display);
    font-size: 1.65rem;
    line-height: 1.15;
    margin: .2rem 0 .4rem;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.review-modal-header p.subtitle {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

/* Botón Cerrar Modal */
.review-modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: #ffffff;
    border: 2px solid var(--ink);
    color: var(--ink);
    font-size: 1.3rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 2px 2px 0 var(--ink);
    transition: transform .12s ease, background .12s ease;
    z-index: 10;
    border-radius: 3px;
}

.review-modal-close:hover {
    transform: translate(-1px, -1px);
    background: var(--paper-warm);
    box-shadow: 3px 3px 0 var(--ink);
}

/* Cuerpo del Formulario en Modal */
.review-modal-body {
    padding: 1.6rem 2rem 1.8rem;
}

/* Selector Interactivo de Estrellas */
.star-picker-container {
    background: #fdfbf7;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 rgba(23, 23, 23, 0.12);
    padding: 1.1rem;
    text-align: center;
    margin-bottom: 1.35rem;
    border-radius: 4px;
}

.star-picker-container label {
    display: block;
    font-size: .78rem;
    font-family: var(--display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .4rem;
    color: var(--ink);
}

.star-rating-picker {
    display: inline-flex;
    gap: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.star-picker-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: transform .15s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.star-picker-btn:hover {
    transform: scale(1.22);
}

.star-picker-btn svg {
    width: 32px;
    height: 32px;
    fill: #e5e0d8;
    stroke: #c2bcb0;
    stroke-width: 1.2;
    transition: fill .15s ease, stroke .15s ease, filter .15s ease;
}

.star-picker-btn.active svg {
    fill: var(--gold);
    stroke: var(--gold-dark);
    filter: drop-shadow(0 2px 4px rgba(228, 184, 76, 0.45));
}

.rating-value-display {
    font-size: .84rem;
    font-family: var(--display);
    font-weight: 700;
    color: var(--ink);
    margin-top: .4rem;
    letter-spacing: .02em;
}

/* Candado Anti-Spam Banner */
.order-lock-banner {
    background: #fff8e1;
    border: 1.5px solid #ffb300;
    padding: .75rem 1rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .78rem;
    line-height: 1.4;
    color: #4a3424;
    border-radius: 4px;
}

.order-lock-banner .lock-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    line-height: 1;
}

/* Grupos del Formulario y Rejilla */
.review-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.review-form-group {
    margin-bottom: 1.15rem;
}

.review-form-group label {
    display: block;
    font-family: var(--display);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .35rem;
    color: var(--ink);
}

.review-form-group label .required {
    color: var(--red);
}

.label-help {
    display: block;
    font-family: var(--body);
    font-size: .72rem;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    letter-spacing: 0;
    margin-top: .15rem;
}

.order-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.order-status-icon {
    position: absolute;
    right: 12px;
    font-size: 1rem;
    pointer-events: none;
}

.order-verified-notice {
    background: var(--green-bg);
    border: 1.5px solid var(--green);
    color: var(--green);
    padding: .5rem .8rem;
    font-size: .78rem;
    font-weight: 600;
    margin-top: .45rem;
    border-radius: 3px;
    display: none;
    align-items: center;
    gap: 6px;
}

.review-form-group input,
.review-form-group select,
.review-form-group textarea,
.review-input,
.review-select,
.review-textarea {
    width: 100%;
    padding: .8rem 1rem;
    background: #ffffff;
    border: 2px solid var(--ink);
    font-family: var(--body);
    font-size: .92rem;
    color: var(--ink);
    border-radius: 4px;
    box-shadow: 2px 2px 0 var(--ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.review-form-group input:focus,
.review-form-group select:focus,
.review-form-group textarea:focus,
.review-input:focus,
.review-select:focus,
.review-textarea:focus {
    border-color: var(--gold-dark);
    box-shadow: 3px 3px 0 var(--gold);
}

.review-input[readonly] {
    background-color: var(--paper-warm, #eae5d8) !important;
    color: var(--ink, #171717) !important;
    cursor: not-allowed !important;
    border-color: rgba(23, 23, 23, 0.4) !important;
}

.review-textarea {
    resize: vertical;
    min-height: 90px;
    line-height: 1.5;
}

.review-char-count {
    display: flex;
    justify-content: flex-end;
    font-size: .72rem;
    color: var(--muted);
    margin-top: .3rem;
    font-weight: 500;
}

/* ===================================================
   FOOTER STICKY: EL BOTÓN DE ENVÍO SIEMPRE VISIBLE
   =================================================== */
.review-modal-footer {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding: 1.1rem 2rem 1.3rem;
    border-top: 2px dashed var(--line);
    z-index: 10;
    margin-top: auto;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.review-modal-footer::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 180px;
    background: #ffffff;
    pointer-events: none;
}

.btn-submit-review {
    width: 100%;
    background: var(--ink) !important;
    color: #ffffff !important;
    border: 2px solid var(--ink) !important;
    box-shadow: 4px 4px 0 var(--gold) !important;
    padding: 1.1rem 1.6rem;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    border-radius: 4px;
    transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.btn-submit-review:hover:not(:disabled) {
    background: var(--gold) !important;
    color: var(--ink) !important;
    border-color: var(--ink) !important;
    box-shadow: 6px 6px 0 var(--ink) !important;
    transform: translate(-2px, -2px);
}

.btn-submit-review:active:not(:disabled) {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0 var(--ink) !important;
}

.btn-submit-review:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.btn-submit-review .btn-arrow {
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform .18s ease;
}

.btn-submit-review:hover:not(:disabled) .btn-arrow {
    transform: translateX(5px);
}

/* Pantalla de Éxito */
.review-success-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    display: none;
}

.review-success-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: .8rem;
    line-height: 1;
}

.review-success-box h4 {
    font-family: var(--display);
    font-size: 1.65rem;
    color: var(--ink);
    margin-bottom: .5rem;
}

.review-success-box p {
    font-size: .92rem;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 1.6rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.btn-done-review {
    background: var(--ink);
    color: #ffffff !important;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0 var(--gold);
    padding: .85rem 2.2rem;
    font-family: var(--display);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    border-radius: 4px;
    transition: all .15s ease;
}

.btn-done-review:hover {
    background: var(--gold);
    color: var(--ink) !important;
    box-shadow: 4px 4px 0 var(--ink);
    transform: translate(-1px, -1px);
}

/* Callout de Fidelización en Cabecera del Modal de Reseñas */
.review-loyalty-callout {
    background: #121212;
    color: #ffffff;
    border: 1.5px solid var(--gold);
    border-radius: 6px;
    padding: .85rem 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    text-align: left;
    box-shadow: 3px 3px 0 var(--gold);
}

.review-loyalty-callout .callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.review-loyalty-callout .callout-text {
    font-size: .8rem;
    line-height: 1.4;
    color: #e5e5e5;
}

.review-loyalty-callout .callout-text strong.callout-title {
    color: var(--gold);
    display: block;
    font-family: var(--display);
    font-size: .88rem;
    letter-spacing: .02em;
    margin-bottom: 2px;
}

.review-loyalty-callout .callout-text strong.callout-highlight {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--gold);
}

/* Tarjeta Golden Dawn de Fidelidad en Pantalla de Éxito (Colores Originales) */
.member-card-preview {
    background: var(--paper-card, #fbf9f4);
    border: 2px solid var(--ink, #171717);
    border-radius: 4px;
    padding: 1.3rem 1.4rem;
    color: var(--ink, #171717);
    margin: 1.25rem auto 1.6rem;
    max-width: 420px;
    text-align: left;
    position: relative;
    box-shadow: 5px 5px 0 var(--ink, #171717);
    overflow: hidden;
}

.member-card-preview::after {
    display: none;
}

.member-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line, rgba(23, 23, 23, 0.16));
    padding-bottom: .6rem;
    margin-bottom: .8rem;
}

.member-card-brand {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .05em;
    color: var(--ink, #171717);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.member-card-brand span {
    color: var(--red, #b84632);
}

.member-card-status {
    background: var(--gold, #e4b84c);
    color: var(--ink, #171717);
    font-size: .68rem;
    font-weight: 800;
    padding: 4px 9px;
    border: 1px solid var(--ink, #171717);
    border-radius: 2px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.member-card-holder {
    font-size: 1.1rem;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    color: var(--ink, #171717);
    margin-bottom: 2px;
    text-transform: uppercase;
}

.member-card-id {
    font-family: monospace;
    font-size: .88rem;
    color: var(--red, #b84632);
    margin-bottom: .85rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.member-card-perks {
    background: #ffffff;
    border: 1.5px solid var(--ink, #171717);
    box-shadow: 2px 2px 0 var(--ink, #171717);
    border-radius: 3px;
    padding: .8rem .95rem;
    font-size: .8rem;
    color: var(--ink, #171717);
    line-height: 1.55;
    margin-bottom: .75rem;
}

.member-card-perks span {
    color: var(--red, #b84632);
    font-weight: 700;
}

.member-card-footer-note {
    font-size: .75rem;
    color: var(--muted, #77736b);
    line-height: 1.4;
    font-style: italic;
}

/* ===================================================
   TARJETA DE FIDELIDAD INTERACTIVA (3D FLIP & SELLOS)
   =================================================== */
.loyalty-card-wrapper {
    perspective: 1200px;
    margin: 1.4rem auto;
    max-width: 440px;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.loyalty-card-flipper {
    position: relative;
    width: 100%;
    aspect-ratio: 85 / 55;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.loyalty-card-flipper.flipped {
    transform: rotateY(180deg);
}

.loyalty-card-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--paper, #f2eee5);
    border: 2px solid var(--ink, #171717);
    border-radius: 8px;
    box-shadow: 6px 6px 0 var(--ink, #171717);
    padding: 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--paper, #f2eee5);
    background-image: radial-gradient(var(--ink, #171717) 0.4px, transparent 0.4px);
    background-size: 8px 8px;
}

.loyalty-card-face.face-front {
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.loyalty-card-face.face-front .logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loyalty-card-face.face-front .logo-sun-svg {
    width: 82px;
    height: auto;
    margin-bottom: 2px;
}

.loyalty-card-face.face-front .brand-text {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink, #171717);
}

.loyalty-card-face.face-front .brand-text span {
    color: var(--red, #b84632);
}

.loyalty-card-face.face-front .card-badge {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink, #171717);
    margin-top: 3px;
}

.loyalty-card-face.face-front .front-client-line {
    width: 92%;
    margin-top: 0.6rem;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--body, sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink, #171717);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.loyalty-card-face.face-front .client-name-display {
    flex: 1;
    border-bottom: 1.5px solid var(--ink, #171717);
    padding-bottom: 2px;
    color: var(--red, #b84632);
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.06em;
}

/* Cara Reverso (Casillas con Sellos) */
.loyalty-card-face.face-back {
    transform: rotateY(180deg);
    padding: 0.75rem 0.9rem;
    justify-content: space-between;
}

.loyalty-card-face.face-back .back-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.2px solid var(--ink, #171717);
    padding-bottom: 4px;
}

.loyalty-card-face.face-back .back-header-title {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink, #171717);
}

.loyalty-card-face.face-back .back-header-brand {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--ink, #171717);
}

.loyalty-card-face.face-back .back-header-brand span {
    color: var(--red, #b84632);
}

/* Rejilla de 8 Casillas */
.loyalty-card-face.face-back .stamps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    margin: 4px 0;
    width: 100%;
}

.loyalty-card-face.face-back .stamp-slot {
    aspect-ratio: 1;
    border: 1.2px solid var(--ink, #171717);
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-shadow: 1px 1px 0 rgba(23, 23, 23, 0.15);
    padding: 2px;
    transition: transform 0.2s ease;
}

.loyalty-card-face.face-back .stamp-slot .slot-number {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--muted, #77736b);
}

.loyalty-card-face.face-back .stamp-slot.slot-stickers {
    border: 1.5px solid var(--gold, #e4b84c);
    background: #fffdf5;
}

.loyalty-card-face.face-back .stamp-slot.slot-stickers .slot-perk-text {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.52rem;
    font-weight: 700;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--ink, #171717);
}

.loyalty-card-face.face-back .stamp-slot.slot-discount {
    border: 1.5px solid var(--red, #b84632);
    background: #fff9f8;
}

.loyalty-card-face.face-back .stamp-slot.slot-discount .slot-discount-text {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.58rem;
    font-weight: 800;
    color: var(--red, #b84632);
    line-height: 1;
    text-transform: uppercase;
}

.loyalty-card-face.face-back .stamp-slot.slot-free-tee {
    border: 1.8px solid var(--red, #b84632);
    background: var(--gold, #e4b84c);
    box-shadow: 1.5px 1.5px 0 var(--ink, #171717);
}

.loyalty-card-face.face-back .stamp-slot.slot-free-tee .slot-icon {
    font-size: 0.72rem;
    line-height: 1;
}

.loyalty-card-face.face-back .stamp-slot.slot-free-tee .slot-free-text {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.48rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink, #171717);
}

/* Casillas con Sello Estampado (Compra Verificada #GD-XXXX) */
.loyalty-card-face.face-back .stamp-slot.is-stamped {
    border: 1.8px solid var(--red, #b84632);
    background: #ffffff;
    box-shadow: 1px 1px 0 var(--red, #b84632);
    animation: stamp-pop 0.3s ease-out;
}

@keyframes stamp-pop {
    0% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.loyalty-card-face.face-back .stamp-slot.is-stamped .slot-stamp-mark {
    font-size: 0.8rem;
    color: var(--red, #b84632);
    font-weight: 900;
    line-height: 1;
}

.loyalty-card-face.face-back .stamp-slot.is-stamped .slot-order-code {
    font-family: monospace;
    font-size: 0.5rem;
    font-weight: 800;
    color: var(--ink, #171717);
    line-height: 1;
    margin-top: 1px;
}

.loyalty-card-face.face-back .stamp-slot.is-stamped .slot-subtag {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.42rem;
    font-weight: 800;
    background: var(--gold, #e4b84c);
    color: var(--ink, #171717);
    padding: 1px 3px;
    border-radius: 2px;
    margin-top: 1px;
    line-height: 1;
}

/* Casillas con Sello Pendiente por Confirmar */
.loyalty-card-face.face-back .stamp-slot.is-pending-stamp {
    border: 1.8px dashed #e67e22;
    background: #fffdf7;
    box-shadow: 1px 1px 0 rgba(230, 126, 34, 0.3);
    animation: stamp-pulse-glow 2.2s infinite ease-in-out;
}

@keyframes stamp-pulse-glow {

    0%,
    100% {
        border-color: #e67e22;
        background: #fffdf7;
    }

    50% {
        border-color: #d35400;
        background: #fff6e6;
    }
}

.loyalty-card-face.face-back .stamp-slot.is-pending-stamp .slot-stamp-pending-icon {
    font-size: 0.72rem;
    line-height: 1;
}

.loyalty-card-face.face-back .stamp-slot.is-pending-stamp .slot-pending-label {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.38rem;
    font-weight: 800;
    color: #b95d00;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-top: 1px;
}

.loyalty-card-face.face-back .stamp-slot.is-pending-stamp .slot-order-code {
    font-family: monospace;
    font-size: 0.46rem;
    font-weight: 800;
    color: #7d3c00;
    line-height: 1;
    margin-top: 1px;
}

/* Etiqueta Pendiente por confirmar en el frente */
.card-pending-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.card-pending-badge .pending-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e67e22;
    display: inline-block;
    animation: pending-pulse 1.4s infinite ease-in-out;
}

@keyframes pending-pulse {

    0%,
    100% {
        transform: scale(0.85);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

.badge-pending-tag-mini {
    display: inline-block;
    font-size: 0.45rem;
    font-weight: 700;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 3px;
    padding: 1px 4px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Banner Informativo de Compra Pendiente */
.loyalty-pending-card {
    background: #fffdf5;
    border: 1.5px solid #f39c12;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 3px 3px 0 var(--ink, #171717);
    text-align: left;
}

.loyalty-pending-card .pending-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.loyalty-pending-tag {
    display: inline-block;
    background: #f39c12;
    color: #ffffff;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 3px;
    margin-bottom: 4px;
}

.loyalty-pending-title {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink, #171717);
    margin-bottom: 3px;
}

.loyalty-pending-desc {
    font-size: 0.85rem;
    color: #5d4037;
    line-height: 1.45;
    margin: 0;
}

/* Píldoras de estado en el listado de pedidos */
.order-status-pill {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.order-status-pill.status-confirmed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.order-status-pill.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    animation: pending-pill-pulse 2s infinite ease-in-out;
}

@keyframes pending-pill-pulse {

    0%,
    100% {
        border-color: #ffeeba;
    }

    50% {
        border-color: #f39c12;
    }
}

.loyalty-card-face.face-back .back-footer {
    border-top: 1px solid var(--line, rgba(23, 23, 23, 0.16));
    padding-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.58rem;
    color: var(--muted, #77736b);
    letter-spacing: 0.02em;
}

.loyalty-card-face.face-back .back-footer strong {
    color: var(--ink, #171717);
}

/* Controles de Voltear la Tarjeta */
.loyalty-flip-controls {
    text-align: center;
    margin-top: 0.75rem;
}

.btn-flip-card {
    background: var(--surface, #ffffff);
    border: 1.5px solid var(--ink, #171717);
    box-shadow: 2px 2px 0 var(--ink, #171717);
    border-radius: 3px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    cursor: pointer;
    color: var(--ink, #171717);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-flip-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--ink, #171717);
    background: var(--paper-warm, #eae5d8);
}

.btn-flip-card .flip-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.reviews-cta-banner {
    background: #ffffff;
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    padding: 1.8rem 2.2rem;
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-radius: 4px;
}

.cta-banner-pill {
    display: inline-block;
    font-family: var(--display);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: .3rem;
}

.cta-banner-content h3 {
    font-size: 1.35rem;
    color: var(--ink);
    margin: 0 0 .3rem;
}

.cta-banner-content p {
    font-size: .88rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

.btn-cta-review {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--ink);
    color: #ffffff;
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--gold);
    font-family: var(--display);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .85rem 1.6rem;
    cursor: pointer;
    border-radius: 4px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.btn-cta-review:hover {
    background: var(--gold);
    color: var(--ink);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink);
}

.btn-cta-review span {
    color: var(--gold);
    font-size: 1.1rem;
    transition: color .15s ease;
}

.btn-cta-review:hover span {
    color: var(--ink);
}

/* Responsive para Reseñas */
@media (max-width: 900px) {
    .reviews-summary-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reviews-score-block {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding-right: 0;
        padding-bottom: 1.2rem;
    }

    .reviews-trust-badge {
        max-width: 100%;
    }

    .reviews-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.4rem;
    }

    .btn-cta-review {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================
   6. PÁGINAS LEGALES Y DE CONFIANZA (terminos, privacidad, reembolsos, envios)
   =================================================== */
.legal-page #main-content {
    padding-top: calc(82px + 2.5rem);
    padding-bottom: 7rem;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 6vw;
    padding-right: 6vw;
}

.legal-hero {
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 2rem;
}

.legal-eyebrow {
    color: var(--gold);
    font-family: var(--display);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.legal-eyebrow span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.legal-title {
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: .96;
    letter-spacing: -.05em;
    margin: 0 0 1rem;
    color: var(--ink);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.5rem;
    font-size: .82rem;
    color: var(--muted);
}

.legal-badge-pill {
    background: #e5ded0;
    border: 1px solid var(--line);
    padding: .25rem .65rem;
    border-radius: 3px;
    font-weight: 600;
    color: var(--ink);
    font-size: .75rem;
}

/* Pestañas de navegación entre políticas */
.legal-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 3rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--line);
}

.legal-nav-tab {
    background: var(--surface);
    border: 1px solid var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
    color: var(--ink);
    font-family: var(--display);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .65rem 1.25rem;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.legal-nav-tab:hover,
.legal-nav-tab:focus-visible {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--ink);
    background: #ebd8aa;
}

.legal-nav-tab.active {
    background: var(--ink);
    color: var(--gold);
    box-shadow: none;
    cursor: default;
}

/* Contenido del cuerpo legal */
.legal-article {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.legal-section {
    background: #f7f4ed;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    padding: 2rem 2.2rem;
    border-radius: 4px;
}

.legal-section h2 {
    font-size: 1.45rem;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: .75rem;
}

.legal-section h2 .sec-num {
    font-size: 1.05rem;
    color: var(--gold);
    font-weight: 700;
}

.legal-section p {
    font-size: .95rem;
    line-height: 1.65;
    color: #383531;
    margin: 0 0 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
    margin: .75rem 0 1.25rem 1.4rem;
    padding: 0;
    color: #383531;
    font-size: .95rem;
    line-height: 1.65;
}

.legal-section li {
    margin-bottom: .5rem;
}

.legal-callout {
    background: #ebe5d8;
    border: 1px solid rgba(228, 184, 76, .6);
    border-radius: 4px;
    padding: 1.1rem 1.3rem;
    margin: 1.25rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.legal-callout-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.legal-callout p {
    font-size: .88rem;
    color: var(--ink);
    line-height: 1.5;
    margin: 0;
}

.legal-callout strong {
    color: var(--ink);
}

/* Tarjeta de soporte / dudas al final */
.legal-contact-card {
    background: var(--ink);
    color: var(--paper);
    padding: 2.5rem;
    border-radius: 6px;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: 6px 6px 0 var(--gold);
}

.legal-contact-card h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: .4rem;
}

.legal-contact-card p {
    color: #c7c3ba;
    font-size: .92rem;
    max-width: 540px;
    margin: 0;
}

.btn-legal-whatsapp {
    background: var(--gold);
    color: var(--ink);
    font-family: var(--display);
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .85rem 1.6rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}

.btn-legal-whatsapp:hover,
.btn-legal-whatsapp:focus-visible {
    background: #ffffff;
    transform: translateY(-2px);
}

/* ===================================================
   5. TARJETA DE FIDELIDAD (tarjeta.html)
   =================================================== */
.loyalty-hero-section {
    padding: 7rem 6vw 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.loyalty-search-card {
    background: var(--surface, #ffffff);
    border: 2px solid var(--ink, #171717);
    box-shadow: 6px 6px 0 var(--ink, #171717);
    border-radius: 6px;
    padding: 2rem 2.2rem;
    margin: 2.5rem auto 3rem;
    max-width: 620px;
    text-align: left;
}

.loyalty-search-form {
    display: flex;
    gap: 10px;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.loyalty-input-wrap {
    flex: 1;
    min-width: 240px;
    position: relative;
}

.loyalty-search-input {
    width: 100%;
    height: 52px;
    border: 2px solid var(--ink, #171717);
    border-radius: 4px;
    padding: 0 1rem;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    background: var(--paper, #f2eee5);
    color: var(--ink, #171717);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.loyalty-search-input:focus {
    background: #ffffff;
    border-color: var(--red, #b84632);
}

.btn-search-loyalty {
    height: 52px;
    padding: 0 1.6rem;
    background: var(--red, #b84632);
    color: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 3px 3px 0 var(--ink, #171717);
    border-radius: 4px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-search-loyalty:hover {
    background: #9e3927;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--ink, #171717);
}

.loyalty-result-container {
    display: none;
    margin: 2rem auto;
    max-width: 620px;
}

.loyalty-status-banner {
    background: var(--paper-card, #fbf9f4);
    border: 2px solid var(--ink, #171717);
    box-shadow: 4px 4px 0 var(--ink, #171717);
    border-radius: 6px;
    padding: 1.2rem 1.4rem;
    margin-top: 1.5rem;
    text-align: left;
}

.loyalty-progress-track {
    height: 12px;
    background: var(--paper-warm, #eae5d8);
    border: 1.5px solid var(--ink, #171717);
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0 14px;
}

.loyalty-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold, #e4b84c), var(--red, #b84632));
    width: 0%;
    transition: width 0.6s ease;
}

.loyalty-orders-list {
    margin-top: 1rem;
    border-top: 1px solid var(--line, rgba(23, 23, 23, 0.16));
    padding-top: 1rem;
}

.loyalty-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px dashed var(--line, rgba(23, 23, 23, 0.16));
}

.loyalty-order-item:last-child {
    border-bottom: none;
}

.loyalty-claim-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #25d366;
    color: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 3px 3px 0 var(--ink, #171717);
    border-radius: 4px;
    padding: 14px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.15s ease;
}

.loyalty-claim-btn:hover {
    background: #1eb956;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--ink, #171717);
}

.loyalty-search-error {
    margin-top: 0.8rem;
    padding: 0.75rem 1rem;
    background: #fff3f0;
    border: 1px solid var(--red, #b84632);
    border-radius: 4px;
    color: var(--red, #b84632);
    font-size: 0.88rem;
    display: none;
}

/* ==========================================================================
   GOLDEN DAWN - SISTEMA DE RASTREO DE PEDIDOS EN VIVO (ORDER TRACKING)
   ========================================================================== */

.tracking-page {
    background-color: var(--paper, #f4ede2);
    color: var(--ink, #171717);
}

.tracking-hero-section {
    padding: 3.5rem 4vw 4rem;
    max-width: 960px;
    margin: 0 auto;
}

/* Tarjeta Buscadora de Pedido */
.tracking-search-card {
    background: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 6px 6px 0 var(--ink, #171717);
    border-radius: 8px;
    padding: 2rem 2.25rem;
    margin-bottom: 2.5rem;
}

.tracking-search-label {
    display: block;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink, #171717);
    margin-bottom: 0.85rem;
}

.tracking-search-form {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.tracking-input-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.tracking-input-prefix {
    position: absolute;
    left: 1.15rem;
    font-size: 1.1rem;
    pointer-events: none;
    user-select: none;
}

.tracking-search-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.25rem;
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink, #171717);
    background: #faf8f5;
    border: 2px solid var(--ink, #171717);
    border-radius: 6px;
    outline: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.tracking-search-input:focus {
    background: #ffffff;
    border-color: var(--red, #b84632);
    box-shadow: 0 0 0 3px rgba(184, 70, 50, 0.15);
}

.btn-search-tracking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.85rem;
    background: var(--ink, #171717);
    color: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 4px 4px 0 var(--red, #b84632);
    border-radius: 6px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-search-tracking:hover {
    background: var(--red, #b84632);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink, #171717);
}

.btn-search-tracking:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Chips de Pedidos Recientes */
.tracking-recent-chips {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.tracking-recent-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted, #666);
    letter-spacing: 0.05em;
}

.tracking-chips-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tracking-chip-btn {
    background: #faf8f5;
    border: 1px solid var(--ink, #171717);
    border-radius: 4px;
    padding: 4px 10px;
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink, #171717);
    cursor: pointer;
    transition: all 0.15s ease;
}

.tracking-chip-btn:hover {
    background: var(--gold, #d4af37);
    border-color: var(--ink, #171717);
    transform: translateY(-1px);
}

.btn-clear-recent-chips {
    background: transparent;
    border: 1px dashed rgba(23, 23, 23, 0.25);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted, #666);
    cursor: pointer;
    transition: all 0.15s ease;
    margin-left: 4px;
}

.btn-clear-recent-chips:hover {
    color: #c92a2a;
    border-color: #c92a2a;
    background: #fff5f5;
}

.tracking-search-error {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: #fff3f0;
    border: 2px solid var(--red, #b84632);
    border-radius: 6px;
    color: var(--ink, #171717);
    font-size: 0.92rem;
    line-height: 1.5;
    display: none;
}

/* Contenedor del Resultado del Pedido */
.tracking-result-container {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    animation: gdFadeUp 0.3s ease-out forwards;
}

@keyframes gdFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

/* Tarjeta Encabezado */
.tracking-header-card {
    background: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 6px 6px 0 var(--ink, #171717);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.tracking-id-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.tracking-order-id {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink, #171717);
}

.btn-copy-order-id {
    background: #faf8f5;
    border: 1px solid var(--ink, #171717);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
}

.btn-copy-order-id:hover {
    background: var(--gold, #d4af37);
    transform: translateY(-1px);
}

.tracking-order-meta {
    font-size: 0.88rem;
    color: var(--muted, #666);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.meta-separator {
    color: #bbb;
}

/* Badge de Estado en Vivo */
.tracking-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.15rem;
    border: 2px solid var(--ink, #171717);
    border-radius: 50px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 3px 3px 0 var(--ink, #171717);
}

.pulsing-dot {
    width: 10px;
    height: 10px;
    background-color: var(--red, #b84632);
    border-radius: 50%;
    display: inline-block;
    animation: gd-live-pulse 1.8s infinite;
}

@keyframes gd-live-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(184, 70, 50, 0.7);
    }

    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(184, 70, 50, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(184, 70, 50, 0);
    }
}

.badge-verification {
    background: #fff8e1;
    color: #b78103;
}

.badge-verification .pulsing-dot {
    background-color: #f59e0b;
}

.badge-production {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-production .pulsing-dot {
    background-color: #0284c7;
}

.badge-packaged {
    background: #fef3c7;
    color: #b45309;
}

.badge-packaged .pulsing-dot {
    background-color: #d97706;
}

.badge-shipped {
    background: #dcfce7;
    color: #15803d;
}

.badge-shipped .pulsing-dot {
    background-color: #22c55e;
}

.badge-delivered {
    background: #f0fdf4;
    color: #166534;
}

.badge-delivered .pulsing-dot {
    background-color: #16a34a;
}

.badge-cancelled {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-cancelled .pulsing-dot {
    background-color: #ef4444;
}

/* Stepper Visual de 4 Fases */
.tracking-stepper-card {
    background: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 6px 6px 0 var(--ink, #171717);
    border-radius: 8px;
    padding: 2rem 2.25rem;
}

.stepper-track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.stepper-title {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.stepper-percentage {
    background: var(--gold, #d4af37);
    border: 1px solid var(--ink, #171717);
    box-shadow: 2px 2px 0 var(--ink, #171717);
    border-radius: 4px;
    padding: 4px 10px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.stepper-progress-bg {
    width: 100%;
    height: 10px;
    background: #e5e5e5;
    border: 1.5px solid var(--ink, #171717);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.stepper-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold, #d4af37), var(--red, #b84632));
    border-radius: 6px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stepper-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.stepper-step {
    border: 2px solid var(--ink, #171717);
    border-radius: 8px;
    padding: 1.25rem 1rem;
    background: #faf8f5;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stepper-step.completed {
    background: #f0fdf4;
    border-color: #16a34a;
    box-shadow: 3px 3px 0 #16a34a;
}

.stepper-step.active {
    background: #ffffff;
    border-color: var(--red, #b84632);
    box-shadow: 4px 4px 0 var(--ink, #171717);
    transform: translateY(-2px);
}

.stepper-step.pending {
    opacity: 0.6;
    background: #fdfdfd;
    border-style: dashed;
    border-color: #bbb;
}

.step-icon-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--ink, #171717);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
}

.stepper-step.completed .step-number {
    background: #16a34a;
    color: #ffffff;
    border-color: #16a34a;
}

.stepper-step.active .step-number {
    background: var(--red, #b84632);
    color: #ffffff;
    border-color: var(--red, #b84632);
}

.step-emoji {
    font-size: 1.4rem;
}

.step-head {
    margin-bottom: 0.5rem;
}

.step-name {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
    margin: 0 0 0.35rem;
    color: var(--ink, #171717);
}

.step-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-completed {
    background: #dcfce7;
    color: #166534;
}

.tag-active {
    background: #fee2e2;
    color: #b91c1c;
}

.tag-pending {
    background: #f3f4f6;
    color: #6b7280;
}

.step-desc {
    font-size: 0.82rem;
    color: var(--muted, #666);
    line-height: 1.45;
    margin: 0;
}

/* Tarjeta de Guía y Encomienda (MRW, Zoom, Tealca) */
.tracking-carrier-card {
    background: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 6px 6px 0 var(--ink, #171717);
    border-radius: 8px;
    padding: 2rem 2.25rem;
    border-left: 8px solid var(--gold, #d4af37);
}

.carrier-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid var(--line, rgba(23, 23, 23, 0.12));
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.carrier-brand-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carrier-icon {
    font-size: 2rem;
}

.carrier-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted, #666);
}

.carrier-name {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink, #171717);
}

.carrier-status-tag {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 10px;
    border: 1.5px solid var(--ink, #171717);
    box-shadow: 2px 2px 0 var(--ink, #171717);
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-active-guide {
    background: #dcfce7;
    color: #166534;
}

.tag-prep-guide {
    background: #fef3c7;
    color: #92400e;
}

.tag-pending-guide {
    background: #f3f4f6;
    color: #4b5563;
}

.carrier-guide-box {
    background: #faf8f5;
    border: 2px solid var(--ink, #171717);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.guide-label {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--muted, #666);
}

.guide-number-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.guide-number {
    font-family: 'Space Grotesk', monospace, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink, #171717);
    letter-spacing: 0.05em;
}

.guide-number.is-pending {
    font-size: 1rem;
    color: #999;
}

.btn-copy-guide {
    background: var(--ink, #171717);
    color: #ffffff;
    border: 1.5px solid var(--ink, #171717);
    box-shadow: 2px 2px 0 var(--gold, #d4af37);
    border-radius: 4px;
    padding: 6px 12px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.15s ease;
}

.btn-copy-guide:hover {
    background: var(--gold, #d4af37);
    color: var(--ink, #171717);
    transform: translateY(-1px);
}

.carrier-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-track-carrier {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ink, #171717);
    color: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 4px 4px 0 var(--ink, #171717);
    border-radius: 6px;
    padding: 0.85rem 1.5rem;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.15s ease;
}

.btn-track-carrier:hover {
    background: var(--gold, #d4af37);
    color: var(--ink, #171717);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink, #171717);
}

.btn-carrier-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 4px 4px 0 var(--ink, #171717);
    border-radius: 6px;
    padding: 0.85rem 1.5rem;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.15s ease;
}

.btn-carrier-wa:hover {
    background: #1eb956;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink, #171717);
}

.carrier-note {
    font-size: 0.88rem;
    color: var(--muted, #666);
    line-height: 1.5;
    margin: 0;
}

/* Tarjeta de Detalles del Pedido */
.tracking-details-card {
    background: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 6px 6px 0 var(--ink, #171717);
    border-radius: 8px;
    padding: 2rem 2.25rem;
}

.details-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid var(--line, rgba(23, 23, 23, 0.12));
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.details-title {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.details-total {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--red, #b84632);
}

.details-items-list {
    margin-bottom: 1.5rem;
}

.tracking-item-row {
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--line, rgba(23, 23, 23, 0.12));
}

.item-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink, #171717);
}

.item-sub {
    font-size: 0.85rem;
    color: var(--muted, #666);
}

.details-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    background: #faf8f5;
    padding: 1.25rem;
    border: 1.5px solid var(--line, rgba(23, 23, 23, 0.12));
    border-radius: 6px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted, #666);
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink, #171717);
}

.link-loyalty-check {
    color: var(--red, #b84632);
    text-decoration: underline;
}

/* ==========================================================================
   PANEL DE CONTROL ADMINISTRADOR EN TIEMPO REAL
   ========================================================================== */

.tracking-admin-card {
    background: #171717;
    color: #f5f5f5;
    border: 2px solid var(--gold, #d4af37);
    box-shadow: 6px 6px 0 var(--gold, #d4af37);
    border-radius: 8px;
    padding: 2rem 2.25rem;
    margin-top: 1rem;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gold, #d4af37);
    letter-spacing: 0.05em;
}

.admin-target-id {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.admin-card-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #ccc;
    margin: 0 0 1.5rem;
}

.admin-card-desc strong {
    color: #ffffff;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.admin-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.admin-label {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold, #d4af37);
}

.admin-select,
.admin-input {
    background: #262626;
    border: 1.5px solid #444;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.15s ease;
}

.admin-select:focus,
.admin-input:focus {
    border-color: var(--gold, #d4af37);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.admin-form-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-admin-save {
    background: var(--gold, #d4af37);
    color: #171717;
    border: 2px solid var(--gold, #d4af37);
    box-shadow: 3px 3px 0 #000000;
    border-radius: 6px;
    padding: 0.95rem 1.75rem;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-admin-save:hover {
    background: #e6c555;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 #000000;
}

.btn-admin-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.admin-status-feedback {
    margin-top: 1.25rem;
    padding: 0.85rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

.feedback-success {
    background: #064e3b;
    border: 1px solid #10b981;
    color: #a7f3d0;
}

.feedback-error {
    background: #7f1d1d;
    border: 1px solid #ef4444;
    color: #fecaca;
}

/* Barra de Toggle Admin */
.admin-toggle-bar {
    text-align: center;
    margin-top: 1rem;
}

.btn-toggle-admin {
    background: transparent;
    border: 1.5px dashed var(--line, rgba(23, 23, 23, 0.25));
    border-radius: 4px;
    padding: 6px 14px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 0.82rem;
    color: var(--muted, #666);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-toggle-admin:hover {
    border-color: var(--ink, #171717);
    color: var(--ink, #171717);
    background: #ffffff;
}

/* Modal de Autenticación de Administrador */
.tracking-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

.admin-modal-box {
    position: relative;
    background: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 8px 8px 0 var(--ink, #171717);
    border-radius: 8px;
    padding: 2.25rem;
    max-width: 440px;
    width: 100%;
    z-index: 10000;
}

.admin-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--ink, #171717);
}

.admin-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.admin-modal-icon {
    font-size: 2.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

.admin-modal-header h3 {
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.admin-modal-header p {
    font-size: 0.85rem;
    color: var(--muted, #666);
    line-height: 1.45;
    margin: 0;
}

.admin-login-error {
    margin-top: 0.75rem;
    padding: 0.6rem 0.85rem;
    background: #fee2e2;
    border: 1px solid #ef4444;
    border-radius: 4px;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 700;
}

.btn-admin-login-submit {
    width: 100%;
    margin-top: 1.25rem;
    background: var(--ink, #171717);
    color: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 4px 4px 0 var(--gold, #d4af37);
    border-radius: 6px;
    padding: 0.9rem;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-admin-login-submit:hover {
    background: var(--gold, #d4af37);
    color: #171717;
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--ink, #171717);
}

/* Botón de Rastrear Pedido en Modal de Confirmación de Checkout */
.btn-tracking-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: var(--ink, #171717);
    color: #ffffff;
    border: 2px solid var(--ink, #171717);
    box-shadow: 4px 4px 0 var(--gold, #d4af37);
    border-radius: 6px;
    font-family: var(--display, 'Space Grotesk', sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.04em;
    margin-top: 0.75rem;
    transition: all 0.15s ease;
}

.btn-tracking-link:hover {
    background: var(--gold, #d4af37);
    color: var(--ink, #171717);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--ink, #171717);
}

/* ==========================================================================
   RESPONSIVE DESIGN PARA RASTREO DE PEDIDOS
   ========================================================================== */

@media (max-width: 860px) {
    .stepper-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .details-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .tracking-search-form {
        flex-direction: column;
    }

    .btn-search-tracking {
        width: 100%;
    }

    .stepper-steps-grid {
        grid-template-columns: 1fr;
    }

    .carrier-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .carrier-guide-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-track-carrier,
    .btn-carrier-wa {
        width: 100%;
        justify-content: center;
    }
}