:root {
    --brand-peach: #E8C4B0;
    --brand-peach-light: #F5E6DC;
    --brand-peach-dark: #D4A088;
    --brand-charcoal: #3D3D3D;
    --brand-charcoal-light: #5C5C5C;
    --bg-page: #FDF9F7;
    --bg-card: #ffffff;
    --bg-dark: #3D3D3D;
    --text-primary: #3D3D3D;
    --text-secondary: #6B6560;
    --text-muted: #A39E99;
    --border-light: #EDE6E0;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 50px;
    --shadow-sm: 0 2px 8px rgba(61,61,61,.04);
    --shadow-md: 0 8px 30px rgba(61,61,61,.08);
    --shadow-lg: 0 16px 50px rgba(61,61,61,.12);
    --bottom-nav-h: 72px;
    --header-h: 120px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
    --font-brand: 'Montserrat', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body.catalog-body {
    font-family: var(--font-brand);
    background: var(--bg-page);
    color: var(--text-primary);
    min-height: 100dvh;
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    overflow-x: hidden;
}

@media (min-width: 992px) {
    body.catalog-body { padding-bottom: 0; }
}

/* Header */
.app-header {
    background: rgba(253,249,247,.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1030;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-page);
    box-shadow: 0 2px 8px rgba(61,61,61,.06);
}

.brand-logo-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.brand-logo-name {
    font-family: var(--font-brand);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand-charcoal);
    line-height: 1;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .brand-logo-mark {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .brand-logo-name { font-size: 1.375rem; }
}

/* Full logo — hero, footer, etc. */
.brand-logo-img {
    height: auto;
    width: auto;
    max-height: 140px;
    object-fit: contain;
}

.offcanvas-header .brand-logo {
    flex: 1;
    min-width: 0;
}

.offcanvas-header .brand-logo-name {
    font-size: 1rem;
    letter-spacing: .14em;
}

@media (max-width: 380px) {
    .brand-logo-name {
        font-size: .9375rem;
        letter-spacing: .12em;
    }

    .brand-logo-mark {
        width: 38px;
        height: 38px;
    }
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.btn-icon:hover { background: var(--bg-page); }

/* Filter Bar */
.btn-filter {
    background: var(--bg-page);
    border: none;
    border-radius: var(--radius-pill);
    padding: .5rem 1.25rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.btn-pill {
    background: var(--bg-page);
    border: none;
    border-radius: var(--radius-pill);
    padding: .5rem 1.25rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all var(--transition);
}

.btn-pill:hover, .btn-pill.active {
    background: var(--brand-charcoal);
    color: #fff;
}

.btn-pill-featured {
    background: var(--brand-charcoal);
    color: #fff;
    font-weight: 600;
}

.btn-pill-featured:hover,
.btn-pill-featured.is-current {
    background: #1a1a1a;
    color: #fff;
}

.catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 0;
    border-top: 1px solid rgba(0,0,0,.08);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.catalog-toolbar-label {
    margin: 0;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.catalog-sort-form {
    flex: 1 1 220px;
    max-width: 100%;
    margin: 0;
}

.catalog-sort-select {
    width: 100%;
    max-width: 320px;
    min-height: 44px; /* touch-friendly mobile */
    appearance: auto;
    -webkit-appearance: menulist;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.18);
    background: #fff;
    padding: .55rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.catalog-sort-select:focus {
    outline: 2px solid rgba(0,0,0,.25);
    outline-offset: 2px;
}

.catalog-subchips {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: .15rem;
}

.catalog-subchips .btn-pill {
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .catalog-subchips {
        flex-wrap: wrap;
        overflow: visible;
    }

    .catalog-sort-form {
        flex: 0 0 auto;
    }

    .catalog-sort-select {
        width: auto;
        min-width: 260px;
    }
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-box .form-control {
    background: var(--bg-page);
    border: none;
    border-radius: var(--radius-pill);
    padding: .625rem 1rem .625rem 2.75rem;
    font-size: .875rem;
}

.search-box .form-control:focus {
    box-shadow: 0 0 0 2px rgba(0,0,0,.08);
}

/* Main Content */
.main-content {
    padding: 1rem 0 2rem;
}

@media (min-width: 992px) {
    .main-content { padding: 1.5rem 0 3rem; }
}

/* Breadcrumb */
.breadcrumb-modern {
    font-size: .8125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.breadcrumb-modern a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb-modern a:hover { color: var(--text-primary); }

/* Banner Carousel */
.banner-carousel .carousel-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.banner-slide {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

@media (min-width: 768px) {
    .banner-slide { height: 280px; }
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.5), transparent);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 2rem;
    color: #fff;
}

.banner-slide h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

@media (min-width: 768px) {
    .banner-slide h2 { font-size: 2rem; }
}

.banner-slide p {
    font-size: .875rem;
    opacity: .9;
    margin: 0;
}

/* Category Pills Mobile */
.category-scroll {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .5rem 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar { display: none; }

.category-chip {
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: .5rem 1rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition);
}

.category-chip:hover, .category-chip.active {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: #fff;
}

/* Product Cards */
.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-page);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    padding: .25rem .75rem;
    font-size: .6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    z-index: 2;
}

.product-card-badges {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .35rem;
    max-width: calc(100% - 1.5rem);
}

.product-card-badges .product-badge {
    position: static;
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-badge-agotado {
    background: #2c211c !important;
    color: #fff !important;
    letter-spacing: .02em;
}

.product-card-wrapper--agotado .product-card-image img {
    filter: grayscale(.35);
    opacity: .88;
}

.product-card-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin: .45rem 0 .15rem;
}

.product-card-size {
    min-width: 1.65rem;
    padding: .15rem .4rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    color: #2c211c;
}

.product-card-size--ok {
    border-color: rgba(44, 33, 28, .28);
}

.product-card-size--out {
    opacity: .45;
    text-decoration: line-through;
    background: #f3f1ef;
    color: #8a7b72;
}

.product-card-size-hint {
    font-size: .72rem;
    color: #8a7468;
    margin-top: .2rem;
}

.product-card-size-hint--out {
    color: #b42318;
    font-weight: 600;
}

.product-size-availability-hint {
    font-size: .82rem;
    color: #6b5b52;
    background: #fff8f0;
    border: 1px solid rgba(201, 139, 110, .35);
    border-radius: 10px;
    padding: .55rem .75rem;
}

.product-size-availability-hint i {
    color: #c98b6e;
    margin-right: .25rem;
}

.size-btn-label {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.1;
}

.size-btn-meta {
    font-size: .65rem;
    font-weight: 500;
    opacity: .75;
    line-height: 1;
}

.size-btn.active .size-btn-meta {
    opacity: .9;
}

.size-btn.size-btn--agotado .size-btn-meta {
    text-decoration: none;
}

.product-card-body {
    padding: 1rem;
}

.product-card-title {
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: .25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    font-size: 1rem;
    font-weight: 700;
}

.product-card-price .old-price {
    font-size: .8125rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: .5rem;
}

.product-card-rating {
    font-size: .75rem;
    color: var(--text-secondary);
    margin-top: .25rem;
}

.product-card-rating i { color: #fbbf24; }

/* ═══ Product Detail Page ═══ */
.main-content--product {
    padding-top: .5rem;
    background: linear-gradient(180deg, var(--brand-peach-light) 0%, var(--bg-page) 320px);
}

.product-page { padding-bottom: 2rem; }

.product-page > .container-fluid {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.product-shell {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: visible;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}

@media (min-width: 992px) {
    .product-shell { padding: 1.25rem 1.5rem; }

    .product-sticky {
        position: sticky;
        top: 130px;
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .product-page-layout {
        display: grid;
        grid-template-columns: 1.05fr 1fr 0.95fr;
        gap: 0;
        align-items: stretch;
    }

    .product-block {
        padding: 0 1rem;
        min-width: 0;
    }

    .product-block--gallery {
        padding-left: 0;
        border-right: 1px solid var(--border-light);
    }

    .product-block--info {
        border-right: 1px solid var(--border-light);
    }

    .product-block--reviews {
        padding-right: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .product-page-layout {
        grid-template-columns: 1fr 1fr;
    }

    .product-block--reviews {
        grid-column: 1 / -1;
        border-top: 1px solid var(--border-light);
        padding-top: 1.25rem;
        margin-top: .5rem;
        border-right: none;
    }

    .product-block--gallery { border-right: none; }
    .product-block--info { border-right: none; }
}

@media (max-width: 991px) {
    .product-page-layout {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .product-block { padding: 0; }
}

.product-page-layout { align-items: stretch; }

/* Premium Gallery */
.pg-gallery {
    display: flex;
    gap: .75rem;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: var(--brand-peach-light);
    border-radius: var(--radius-md);
    padding: .75rem;
    border: none;
    overflow: visible;
    min-width: 0;
}

.pg-thumbs {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    width: 72px;
    flex-shrink: 0;
    max-height: min(70vh, 560px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2px;
    scrollbar-width: thin;
}

.pg-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 0;
    background: var(--brand-peach-light);
    cursor: pointer;
    transition: all var(--transition);
    opacity: .65;
}

.pg-thumb:hover { opacity: 1; transform: scale(1.03); }

.pg-thumb.active {
    opacity: 1;
    border-color: var(--brand-peach-dark);
    box-shadow: 0 0 0 2px var(--brand-peach-light);
}

.pg-thumb.pg-thumb--in-variant {
    opacity: .9;
}

.pg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pg-viewer { flex: 1; min-width: 0; width: 100%; }

.pg-stage {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    width: 100%;
    cursor: zoom-in;
}

@media (min-width: 992px) {
    .pg-stage {
        height: 100%;
        min-height: 420px;
        max-height: calc(100vh - 180px);
        aspect-ratio: unset;
    }
}

@media (max-width: 991px) {
    .pg-stage {
        aspect-ratio: 3/4;
    }
}

.pg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s;
}

.pg-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.pg-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .15s ease-out;
    will-change: transform;
}

.pg-zoom-lens {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

.pg-zoom-lens.visible { opacity: 1; }

.pg-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 4;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    padding: .375rem 1rem;
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brand-charcoal);
}

.pg-counter {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 4;
    background: rgba(61,61,61,.75);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: .375rem .875rem;
    border-radius: var(--radius-pill);
}

.pg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    color: var(--brand-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    opacity: 0;
}

.pg-stage:hover .pg-nav { opacity: 1; }
.pg-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.pg-prev { left: 1rem; }
.pg-next { right: 1rem; }

.pg-expand {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    color: var(--brand-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.pg-expand:hover {
    background: #fff;
    transform: scale(1.08);
}

/* Mobile gallery track */
@media (max-width: 991px) {
    .pg-gallery { flex-direction: column; }

    /* En móvil la imagen vive en el track; el stage desktop se oculta (excepto vacío) */
    .pg-stage:not(.pg-stage-empty) {
        display: none;
    }

    .pg-viewer { position: relative; }

    .pg-badge-mobile {
        position: absolute;
        top: 1rem;
        left: 1.25rem;
        z-index: 3;
    }

    .pg-counter-mobile {
        position: absolute;
        bottom: 3.5rem;
        left: 1.25rem;
        z-index: 3;
    }

    .pg-mobile-track {
        display: flex;
        gap: .625rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0 -.75rem;
        padding: 0 .75rem;
        min-height: 280px;
    }

    .pg-mobile-track::-webkit-scrollbar { display: none; }

    .pg-mobile-slide {
        flex: 0 0 88%;
        scroll-snap-align: center;
        border-radius: var(--radius-lg);
        overflow: hidden;
        aspect-ratio: 3/4;
        background: var(--brand-peach-light);
        position: relative;
    }

    /* Una sola foto: ancho completo */
    .pg-mobile-track:has(.pg-mobile-slide:not(.pg-variant-hidden):only-child),
    .pg-mobile-track.pg-mobile-track--single .pg-mobile-slide:not(.pg-variant-hidden) {
        flex-basis: 100%;
    }

    .pg-mobile-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .pg-progress {
        height: 3px;
        background: var(--border-light);
        border-radius: 2px;
        margin: .875rem .75rem 0;
        overflow: hidden;
    }

    .pg-progress-bar {
        height: 100%;
        background: linear-gradient(90deg, var(--brand-peach), var(--brand-peach-dark));
        border-radius: 2px;
        transition: width .35s ease;
        width: 50%;
    }

    .pg-dots {
        display: flex;
        justify-content: center;
        gap: .375rem;
        margin-top: .75rem;
        padding-bottom: .25rem;
    }

    .pg-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        border: none;
        padding: 0;
        background: var(--border-light);
        transition: all var(--transition);
        cursor: pointer;
    }

    .pg-dot.active {
        width: 22px;
        border-radius: 4px;
        background: var(--brand-peach-dark);
    }
}

/* Lightbox */
.pg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}

.pg-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.pg-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(61,61,61,.95);
    backdrop-filter: blur(12px);
}

.pg-lightbox-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pg-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background var(--transition);
}

.pg-lightbox-close:hover { background: rgba(255,255,255,.25); }

.pg-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background var(--transition);
}

.pg-lightbox-nav:hover { background: rgba(255,255,255,.3); }
.pg-lightbox-prev { left: 1rem; }
.pg-lightbox-next { right: 1rem; }

.pg-lightbox-counter {
    position: absolute;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.8);
    font-size: .875rem;
    font-weight: 600;
    z-index: 10;
}

.pg-lightbox-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    max-width: 900px;
    height: 70vh;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.pg-lightbox-track::-webkit-scrollbar { display: none; }

.pg-lightbox-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.pg-lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    user-select: none;
}

.pg-lightbox-thumbs {
    display: flex;
    gap: .5rem;
    margin-top: 1rem;
    padding: .5rem;
    overflow-x: auto;
    max-width: 100%;
}

.pg-lightbox-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    padding: 0;
    background: transparent;
    cursor: pointer;
    opacity: .5;
    transition: all var(--transition);
}

.pg-lightbox-thumb.active,
.pg-lightbox-thumb:hover {
    opacity: 1;
    border-color: var(--brand-peach);
}

.pg-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Card */
.product-info-card {
    background: transparent;
    border-radius: 0;
    padding: .25rem 0;
    box-shadow: none;
    border: none;
}

.product-buy-box {
    background: var(--brand-peach-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.product-qty-inline {
    margin-bottom: .875rem;
    padding-bottom: 0;
    border-bottom: none;
}

.product-buy-box .product-actions {
    margin-bottom: 0;
}

.product-buy-box .product-actions .btn-brand-peach {
    padding: .8125rem;
    font-size: .9375rem;
}

.product-category-tag {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--brand-peach-dark);
    margin-bottom: .625rem;
}

.product-price-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-charcoal);
    margin: .75rem 0 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .625rem;
}

.product-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.product-price-off {
    font-size: .6875rem;
    font-weight: 700;
    background: #E53935;
    color: #fff;
    padding: .25rem .625rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: .05em;
    box-shadow: 0 2px 6px rgba(229, 57, 53, .3);
}

.product-stars i { color: #E8B84A; font-size: .875rem; }

.product-option { margin-bottom: 1rem; }

.product-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.qty-selector-light {
    background: var(--brand-peach-light);
}

.qty-selector-light .qty-btn {
    background: var(--bg-card);
    color: var(--brand-charcoal);
    border: 1px solid var(--border-light);
}

.qty-selector-light #qtyValue,
.qty-selector-light span {
    color: var(--brand-charcoal);
    font-weight: 600;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.product-actions .btn-brand-peach {
    padding: .875rem;
    font-size: .9375rem;
}

.product-description {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

.product-desc-title {
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .75rem;
    color: var(--brand-charcoal);
}

.product-desc-text {
    font-size: .875rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.mobile-buy-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mobile-buy-label {
    font-size: .6875rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

@media (min-width: 1200px) {
    .product-title { font-size: 1.375rem; }
}

.btn-favorite {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.btn-favorite:hover, .btn-favorite.active {
    background: #fef2f2;
    border-color: #fecaca;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.product-rating i { color: #fbbf24; }

.option-label {
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.color-swatches {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
    .color-swatches {
        grid-template-columns: 1fr 1fr;
    }
}

.product-variant-hint {
    margin-top: -.35rem;
}

.color-swatch {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    margin: 0;
    padding: .65rem .8rem;
    border-radius: 14px;
    border: 1.5px solid rgba(0, 0, 0, .1);
    background: #fff !important;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    text-align: left;
    position: relative;
    box-shadow: none;
    color: #1a1a1a;
}

.color-swatch:hover {
    border-color: rgba(0, 0, 0, .22);
    background: #fafafa !important;
}

.color-swatch.active {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 1px #1a1a1a;
    background: #fff !important;
}

.color-swatch-dot {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .15);
    background: linear-gradient(135deg, var(--swatch-c1, #ccc) 50%, var(--swatch-c2, #ccc) 50%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}

.color-swatch:not(.color-swatch--dual) .color-swatch-dot {
    background: var(--swatch-c1, #ccc);
}

.color-swatch-label {
    flex: 1;
    font-size: .8125rem;
    font-weight: 600;
    color: #1a1a1a !important;
    line-height: 1.35;
    white-space: normal;
}

.color-swatch--readonly {
    pointer-events: none;
    cursor: default;
    max-width: 28rem;
}

.color-swatch::after {
    display: none !important;
}

.color-swatch.active::after {
    display: none !important;
}

.pg-variant-hidden {
    display: none !important;
}

.size-options {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.size-btn {
    min-width: 52px;
    height: auto;
    min-height: 48px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
    padding: .35rem .65rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1rem;
}

.size-btn:hover, .size-btn.active {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: #fff;
}

.size-btn.size-btn--agotado {
    opacity: .45;
    text-decoration: none;
}

.size-btn.size-btn--agotado .size-btn-label {
    text-decoration: line-through;
}

.size-btn.size-btn--agotado.active {
    opacity: .7;
}

/* Price Box */
.price-box {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-box .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

@media (min-width: 992px) {
    .price-box .price { font-size: 1.75rem; }
}

.btn-buy {
    background: #fff;
    color: var(--bg-dark);
    border: none;
    border-radius: var(--radius-pill);
    padding: .75rem 1.5rem;
    font-size: .875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-buy:hover {
    background: #f4f4f5;
    transform: scale(1.02);
    color: var(--bg-dark);
}

.btn-buy-whatsapp:hover {
    background: #dcfce7;
}

.product-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.btn-add-cart-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    width: 100%;
    padding: .625rem;
    background: var(--brand-peach-light);
    color: var(--brand-charcoal);
    border: 1px solid var(--brand-peach);
    border-radius: var(--radius-sm);
    font-size: .8125rem;
    font-weight: 600;
    transition: all var(--transition);
}

.btn-add-cart-card:hover {
    background: var(--brand-peach);
    color: var(--brand-charcoal);
    transform: translateY(-1px);
}

.btn-consult-wsp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin-top: .75rem;
    padding: .75rem;
    background: transparent;
    color: #25D366;
    border: 1px solid #25D366;
    border-radius: var(--radius-pill);
    font-size: .8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-consult-wsp:hover {
    background: #25D366;
    color: #fff;
}

.price-box-stacked {
    flex-direction: column;
    align-items: stretch;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255,255,255,.12);
    border-radius: var(--radius-pill);
    padding: .25rem .5rem;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: 1.125rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-btn:hover { background: rgba(255,255,255,.35); }

#qtyValue {
    color: #fff;
    font-weight: 600;
    min-width: 1.25rem;
    text-align: center;
}

.mobile-buy-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.btn-add-cart-mobile {
    padding: .625rem 1rem;
    font-size: .8125rem;
}

.btn-cart-open {
    padding: .625rem .875rem;
    min-width: auto;
}

/* Cart badge */
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: #fff;
    font-size: .625rem;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-badge-nav {
    top: 0;
    right: 8px;
}

/* Cart offcanvas */
.cart-offcanvas {
    height: auto !important;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border: none;
    box-shadow: 0 -12px 40px rgba(61,61,61,.12);
    background: var(--bg-page);
}

@media (min-width: 576px) {
    .cart-offcanvas {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
        border-radius: var(--radius-lg);
        bottom: 1rem;
        max-height: calc(100vh - 2rem);
    }
}

.cart-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border-light);
    border-radius: var(--radius-pill);
    margin: .625rem auto 0;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .cart-sheet-handle { display: none; }
}

.cart-offcanvas-header {
    border-bottom: none;
    padding: .75rem 1.25rem 1rem;
    background: var(--bg-card);
}

.cart-header-text .offcanvas-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.125rem;
}

.cart-header-text .offcanvas-title i {
    color: var(--brand-peach-dark);
}

.cart-header-sub {
    font-size: .75rem;
    color: var(--text-muted);
    margin-top: .125rem;
    padding-left: 1.75rem;
}

.cart-close-btn {
    background: var(--bg-page);
    border-radius: 50%;
    padding: .625rem;
    opacity: .7;
}

.cart-offcanvas-body {
    padding: 0;
    overflow: hidden;
    background: var(--bg-page);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.cart-empty-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--brand-peach-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.cart-empty-icon i {
    font-size: 2rem;
    color: var(--brand-peach-dark);
}

.cart-items {
    overflow-y: auto;
    padding: .75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.cart-item-card {
    display: flex;
    gap: .875rem;
    padding: .875rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.cart-item-thumb {
    flex-shrink: 0;
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 80px;
    height: 80px;
    background: var(--brand-peach-light);
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .375rem;
}

.cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
}

.cart-item-name {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-name:hover { color: var(--brand-peach-dark); }

.cart-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
}

.cart-tag {
    font-size: .6875rem;
    font-weight: 500;
    padding: .2rem .5rem;
    background: var(--bg-page);
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: .25rem;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-page);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: background var(--transition);
}

.cart-qty-btn:hover { background: var(--brand-peach-light); }

.cart-qty-value {
    min-width: 28px;
    text-align: center;
    font-size: .875rem;
    font-weight: 600;
}

.cart-item-pricing {
    text-align: right;
}

.cart-item-price {
    display: block;
    font-size: .9375rem;
    font-weight: 700;
    color: var(--brand-charcoal);
}

.cart-item-unit {
    display: block;
    font-size: .6875rem;
    color: var(--text-muted);
}

.cart-item-remove {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-page);
    color: var(--text-muted);
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all var(--transition);
}

.cart-item-remove:hover {
    background: #fee2e2;
    color: #ef4444;
}

.cart-footer {
    padding: 0 1rem calc(1rem + env(safe-area-inset-bottom));
    background: var(--bg-page);
}

.cart-total-box {
    background: var(--brand-peach-light);
    border-radius: var(--radius-md);
    padding: 1rem 1.125rem;
    margin-bottom: 1rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: .875rem;
    color: var(--text-secondary);
}

.cart-total {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--brand-charcoal);
}

.cart-total-note {
    font-size: .6875rem;
    color: var(--text-muted);
    margin-top: .375rem;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.cart-btn-primary,
.cart-btn-wsp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9375rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition: all var(--transition);
}

.cart-btn-primary {
    background: var(--brand-peach);
    color: var(--brand-charcoal);
    box-shadow: 0 4px 14px rgba(232,196,176,.45);
}

.cart-btn-primary:hover {
    background: var(--brand-peach-dark);
    color: var(--brand-charcoal);
    transform: translateY(-1px);
}

.cart-btn-wsp {
    background: #fff;
    color: #128C7E;
    border: 2px solid #25D366;
}

.cart-btn-wsp:hover {
    background: #f0fdf4;
    color: #128C7E;
}

.cart-footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: .875rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border-light);
}

.cart-footer-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    color: var(--text-muted);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color var(--transition);
}

.cart-footer-link:hover { color: var(--brand-charcoal); }

.cart-footer-link-btn:hover { color: #ef4444; }

.btn-whatsapp-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .875rem;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    font-size: .9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition);
}

.btn-whatsapp-checkout:hover {
    background: #1da851;
    color: #fff;
}

.cart-toast-container {
    z-index: 1100;
    bottom: calc(var(--bottom-nav-h) + 1rem) !important;
}

@media (min-width: 992px) {
    .cart-toast-container { bottom: 1rem !important; }
}

.cart-toast {
    background: var(--bg-dark);
    color: #fff;
    border-radius: var(--radius-pill) !important;
    box-shadow: var(--shadow-lg);
}

.cart-toast .toast-body span { color: #fff; }

/* Sticky Mobile Buy Bar */
.mobile-buy-bar {
    position: fixed;
    bottom: var(--bottom-nav-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 1020;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.mobile-buy-bar.visible {
    transform: translateY(0);
}

.mobile-buy-bar .price {
    font-size: 1.25rem;
    font-weight: 700;
}

@media (min-width: 992px) {
    .mobile-buy-bar { display: none; }
}

/* Reviews */
.reviews-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviews-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

/* Reviews — 3rd column panel */
.product-reviews-panel {
    background: var(--brand-peach-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    height: 100%;
}

.product-reviews-panel .reviews-header {
    margin-bottom: .375rem;
}

.reviews-score-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: var(--bg-card);
    padding: .375rem .75rem;
    border-radius: var(--radius-pill);
    font-size: .8125rem;
    font-weight: 700;
    color: var(--brand-charcoal);
}

.reviews-score-badge i { color: #E8B84A; }

.reviews-count-label {
    font-size: .75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.product-reviews-panel .review-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: .875rem;
    margin-bottom: .625rem;
    border-bottom: none;
}

.product-reviews-panel .review-item:last-child {
    margin-bottom: 0;
}

.product-reviews-panel .review-text {
    font-size: .8125rem;
    line-height: 1.55;
}

.reviews-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
}

.reviews-empty i {
    font-size: 2rem;
    color: var(--brand-peach-dark);
    display: block;
    margin-bottom: .75rem;
}

.reviews-empty p {
    font-size: .8125rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .product-reviews-panel {
        background: var(--bg-card);
        border: 1px solid var(--border-light);
    }
}

.review-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.review-user {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .5rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-page);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .875rem;
    color: var(--text-secondary);
}

.review-meta {
    flex: 1;
}

.review-name {
    font-size: .875rem;
    font-weight: 600;
}

.review-date {
    font-size: .75rem;
    color: var(--text-muted);
}

.review-stars i { color: #fbbf24; font-size: .75rem; }

.review-text {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-h);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1030;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .125rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: .625rem;
    font-weight: 500;
    padding: .5rem;
    transition: color var(--transition);
    min-width: 56px;
}

.bottom-nav-item i { font-size: 1.25rem; }

.bottom-nav-item.active, .bottom-nav-item:hover,
button.bottom-nav-item.active, button.bottom-nav-item:hover {
    color: var(--text-primary);
}

/* Offcanvas */
.offcanvas-modern {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    border: none;
    max-width: 300px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.mobile-nav-item:hover { background: var(--bg-page); }

.mobile-nav-item i {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.dropdown-menu-modern {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
}

.dropdown-menu-modern .dropdown-item {
    border-radius: var(--radius-sm);
    padding: .5rem 1rem;
    font-size: .875rem;
}

/* Categorías: menú con hover de subcategorías */
.cat-nav-dropdown .dropdown-menu {
    min-width: 220px;
    padding: .4rem;
}

.cat-nav-menu .cat-nav-row {
    position: relative;
    list-style: none;
}

.cat-nav-menu .cat-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--text-primary);
}

.cat-nav-menu .cat-nav-item:hover,
.cat-nav-menu .cat-nav-row:hover > .cat-nav-item {
    background: var(--bg-page);
    color: var(--brand-charcoal);
}

.cat-nav-chevron {
    font-size: .7rem;
    opacity: .55;
}

.cat-nav-submenu {
    display: none;
    position: absolute;
    left: calc(100% - .25rem);
    top: -.25rem;
    min-width: 200px;
    margin: 0;
    padding: .4rem;
    list-style: none;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1060;
}

.cat-nav-row.has-submenu:hover > .cat-nav-submenu,
.cat-nav-row.has-submenu:focus-within > .cat-nav-submenu {
    display: block;
}

.cat-nav-sub-all {
    font-weight: 600;
}

.cat-nav-menu .dropdown-divider {
    margin: .35rem .25rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Admin Styles */
.admin-body {
    background: #f8fafc;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #1e293b;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-sidebar-top {
    flex-shrink: 0;
    padding: 1.25rem 0 0.5rem;
}

.admin-sidebar .brand {
    color: #fff;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 0 1.5rem 1rem;
    font-size: 1.125rem;
    text-decoration: none;
    display: block;
}

.admin-sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: .5rem;
    scrollbar-width: thin;
    scrollbar-color: #475569 transparent;
}

.admin-sidebar-nav::-webkit-scrollbar {
    width: 6px;
}
.admin-sidebar-nav::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 999px;
}

.admin-sidebar-footer {
    flex-shrink: 0;
    border-top: 1px solid rgba(148, 163, 184, .2);
    padding: .5rem 0 .75rem;
    background: #1e293b;
}

.admin-nav-section + .admin-nav-section {
    margin-top: .15rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: all .2s;
    position: relative;
}

.admin-nav-link:hover, .admin-nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.admin-nav-link.active {
    box-shadow: inset 3px 0 0 #60a5fa;
}

.admin-nav-link-text {
    flex: 1;
}

.admin-nav-badge {
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.admin-nav-group {
    margin: 1rem 1.5rem .3rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #64748b;
}

.admin-nav-section:first-child .admin-nav-group {
    margin-top: .35rem;
}

.admin-orders-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #fecaca;
}
.admin-orders-chip:hover {
    color: #991b1b;
    background: #fee2e2;
}
.admin-orders-chip.is-active {
    animation: adminPulse 2s ease-in-out infinite;
}

@keyframes adminPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .35); }
    50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.admin-order-toast {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: .85rem;
    max-width: min(420px, calc(100vw - 2rem));
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .35);
}

.admin-order-toast.d-none { display: none !important; }

.admin-order-toast-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.admin-order-toast-body {
    flex: 1;
    min-width: 0;
    font-size: .85rem;
}
.admin-order-toast-body strong {
    display: block;
    margin-bottom: .15rem;
}
.admin-order-toast-body p {
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-order-toast-close {
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0 .15rem;
    cursor: pointer;
}
.admin-order-toast-close:hover { color: #fff; }

.admin-main {
    margin-left: 260px;
    padding: 2rem;
}

@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform .3s;
    }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-main { margin-left: 0; padding: 1rem; }
    .admin-order-toast {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

.admin-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.admin-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-card-body { padding: 1.5rem; }

/* Productos admin AJAX */
.admin-product-app {
    position: relative;
    min-height: 240px;
}

.admin-product-loading {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4rem;
    background: rgba(248, 246, 243, .72);
    backdrop-filter: blur(2px);
}

.admin-product-loading-inner {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: .65rem 1.15rem;
    box-shadow: var(--shadow-sm);
    font-size: .9rem;
    font-weight: 500;
}

.admin-product-app.is-loading #adminProductContent {
    pointer-events: none;
    opacity: .55;
}

.product-admin-sections {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 5.5rem;
}

.product-admin-section {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-admin-section-head {
    padding: 1rem 1.35rem .35rem;
}

.product-admin-section-head h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .2rem;
}

.product-admin-section-head p {
    margin: 0;
    font-size: .82rem;
    color: #6c757d;
}

.product-admin-section-body {
    padding: .75rem 1.35rem 1.35rem;
}

.product-admin-row {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: .75rem;
    background: #fafafa;
}

.product-admin-stock-readonly {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 38px;
}

.product-admin-flags {
    padding: .75rem 1rem;
    background: #f8f6f3;
    border-radius: 12px;
}

.product-admin-sticky-bar {
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1rem 0;
    margin-top: .5rem;
    background: linear-gradient(180deg, transparent, #f8f6f3 28%);
}

.product-admin-sticky-bar .btn[disabled] {
    opacity: .85;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.stat-card .stat-label {
    font-size: .875rem;
    color: var(--text-secondary);
}

.table-modern {
    margin: 0;
}

.table-modern th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom-width: 1px;
}

.table-modern td {
    vertical-align: middle;
    font-size: .875rem;
}

.img-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.auth-page-wrap {
    background: linear-gradient(180deg, #fff8f4 0%, #fff 40%);
    min-height: calc(100vh - 120px);
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,.06);
}

.auth-card-wide {
    max-width: 640px;
}

.auth-standalone-body {
    background: #fff;
}

.auth-shell-page {
    min-height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
}

.auth-shell {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

.auth-shell-visual {
    display: none;
    position: relative;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255,255,255,.45), transparent 50%),
        linear-gradient(145deg, #f7d9c8 0%, #f0c4ae 40%, #e8b49a 100%);
    overflow: hidden;
}

.auth-shell-visual::after {
    content: '';
    position: absolute;
    inset: auto -10% -20% 20%;
    height: 70%;
    background: radial-gradient(circle, rgba(255,255,255,.35), transparent 60%);
    pointer-events: none;
}

.auth-shell-visual-inner {
    position: relative;
    z-index: 1;
    padding: 3.5rem;
    max-width: 420px;
    color: #3a2a22;
}

.auth-shell-brand {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: .8;
}

.auth-shell-headline {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}

.auth-shell-copy {
    font-size: 1.05rem;
    line-height: 1.55;
    opacity: .85;
    margin: 0;
}

.auth-shell-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background:
        linear-gradient(180deg, #fffaf7 0%, #ffffff 45%);
}

.auth-shell-form {
    width: 100%;
    max-width: 420px;
}

.auth-shell-form--wide {
    max-width: 560px;
}

.auth-shell-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #7a6a60;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.auth-shell-back:hover {
    color: #1a1a1a;
}

.auth-shell-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: .35rem;
    letter-spacing: -.02em;
}

.auth-shell-subtitle {
    color: #7a6a60;
    margin-bottom: 1.75rem;
    font-size: .95rem;
}

.auth-shell-error {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #fecdca;
    border-radius: 12px;
    padding: .75rem 1rem;
    font-size: .875rem;
    margin-bottom: 1.25rem;
}

.auth-shell-fields {
    display: grid;
    gap: 1rem;
}

.auth-field-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .auth-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.auth-field label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: #3a2a22;
}

.auth-field input {
    width: 100%;
    border: 1.5px solid rgba(58, 42, 34, .12);
    border-radius: 14px;
    padding: .85rem 1rem;
    font-size: .95rem;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.auth-field input:focus {
    outline: none;
    border-color: #c98b6e;
    box-shadow: 0 0 0 4px rgba(201, 139, 110, .15);
}

.auth-shell-submit {
    margin-top: .5rem;
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: .95rem 1.25rem;
    background: #2b211c;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .15s, background .2s;
}

.auth-shell-submit:hover {
    background: #1a1411;
    transform: translateY(-1px);
}

.auth-shell-switch {
    text-align: center;
    margin: 1.5rem 0 0;
    font-size: .9rem;
    color: #7a6a60;
}

.auth-shell-switch a {
    color: #2b211c;
    font-weight: 700;
    text-decoration: none;
}

.auth-shell-switch a:hover {
    text-decoration: underline;
}

@media (min-width: 992px) {
    .auth-shell {
        grid-template-columns: minmax(320px, 1.05fr) minmax(420px, 1fr);
    }

    .auth-shell-visual {
        display: flex;
        align-items: flex-end;
    }

    .auth-shell-panel {
        padding: 3rem;
    }
}

/* Welcome / announcement modal */
.welcome-modal-dialog {
    max-width: 520px;
}

.welcome-modal-dialog.modal-lg {
    max-width: 640px;
}

.welcome-modal-content {
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(43, 33, 28, .25);
}

.welcome-modal-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    z-index: 5;
    background: rgba(255,255,255,.92);
    border-radius: 999px;
    padding: .55rem;
    opacity: 1;
}

.welcome-announce-carousel {
    background: #1a1411;
}

.welcome-announce-img {
    width: 100%;
    max-height: min(58vh, 480px);
    object-fit: cover;
    display: block;
}

.welcome-announce-link {
    display: block;
}

.welcome-announce-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .85rem 1.1rem;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
}

.welcome-modal-body {
    padding: 1.5rem 1.5rem 1.75rem;
    text-align: center;
    background: #fffaf7;
}

.welcome-modal-kicker {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c98b6e;
    margin-bottom: .35rem;
}

.welcome-modal-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: .4rem;
    color: #2b211c;
}

.welcome-modal-text {
    color: #7a6a60;
    margin-bottom: 1.25rem;
    font-size: .95rem;
}

.welcome-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    justify-content: center;
}

.welcome-modal-btn {
    border-radius: 999px;
    background: #2b211c;
    color: #fff;
    border: 0;
    padding: .65rem 1.4rem;
    font-weight: 600;
}

.welcome-modal-btn:hover {
    background: #1a1411;
    color: #fff;
}

.welcome-modal-btn-outline {
    border-radius: 999px;
    border: 1.5px solid rgba(43,33,28,.2);
    color: #2b211c;
    padding: .65rem 1.4rem;
    font-weight: 600;
    text-decoration: none;
}

.welcome-modal-btn-outline:hover {
    background: #fff;
    color: #2b211c;
    border-color: #2b211c;
}

.announcement-admin-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.08);
}

.btn-pill-sm {
    font-size: .8125rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    color: var(--text-primary, #1a1a1a);
    text-decoration: none;
    font-weight: 600;
}

.btn-pill-sm:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.account-page-wrap {
    background: #fafafa;
    min-height: calc(100vh - 120px);
}

.account-header {
    max-width: 960px;
}

.chuladas-swal-popup {
    border-radius: 1rem !important;
    padding: 1.5rem !important;
}

.chuladas-swal-title {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
}

.chuladas-swal-text {
    font-size: .9375rem !important;
    color: #64748b !important;
}

.chuladas-swal-toast {
    border-radius: 999px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
    margin-bottom: 5.5rem !important;
}

@media (min-width: 992px) {
    .chuladas-swal-toast {
        margin-bottom: 1.5rem !important;
    }
}

.chuladas-swal-thanks {
    padding: 1.75rem 1.5rem 1.5rem !important;
}

.chuladas-thanks-lead {
    margin: 0 0 .75rem;
    color: #4a3f38;
}

.chuladas-thanks-code {
    margin: 0 0 .5rem;
    font-size: .95rem;
    color: #2c211c !important;
}

.chuladas-thanks-code strong {
    letter-spacing: .04em;
}

.chuladas-thanks-track {
    margin: 0 0 1rem;
    font-size: .875rem;
    color: #6b5b52 !important;
}

.chuladas-thanks-eta {
    display: flex;
    gap: .75rem;
    text-align: left;
    padding: .85rem 1rem;
    border-radius: 12px;
    background: #fff8f0;
    border: 1px solid rgba(201, 139, 110, .35);
    margin-top: .25rem;
}

.chuladas-thanks-eta i {
    color: #c98b6e;
    font-size: 1.15rem;
    margin-top: .1rem;
}

.chuladas-thanks-eta strong {
    display: block;
    font-size: .8rem;
    margin-bottom: .15rem;
    color: #2c211c;
}

.chuladas-thanks-eta span {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: #2c211c;
}

.chuladas-thanks-eta small {
    display: block;
    margin-top: .2rem;
    color: #8a7468;
    font-size: .75rem;
}

.chuladas-thanks-slot {
    margin-top: .55rem;
}

.order-eta-banner .order-eta-slot {
    margin-top: .35rem;
    font-size: .875rem;
    font-weight: 500;
}

.order-eta-banner .order-eta-slot i {
    font-size: .9rem;
    margin-right: .25rem;
}

.order-eta-banner {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .95rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff8f0, #fff);
    border: 1px solid rgba(201, 139, 110, .35);
}

.order-eta-banner i {
    color: #c98b6e;
    font-size: 1.25rem;
    margin-top: .1rem;
}

.order-eta-banner strong {
    display: block;
    font-size: .8rem;
    margin-bottom: .15rem;
}

.order-eta-banner span {
    display: block;
    font-weight: 600;
    color: #2c211c;
}

.order-eta-banner small {
    display: block;
    margin-top: .2rem;
    color: #8a7468;
    font-size: .78rem;
}

.order-eta-inline {
    color: #3a2a22;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp .5s ease forwards;
}

.product-card { animation: fadeInUp .4s ease forwards; }

/* Utilities */
.rounded-modern { border-radius: var(--radius-md) !important; }
.rounded-lg-modern { border-radius: var(--radius-lg) !important; }

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════════════════════════════════════
   CHULADAS BRAND — Home, Footer, Legal
   ═══════════════════════════════════════ */

.main-content--home { padding: 0; }

.page-section {
    padding: 2.5rem 0;
}

@media (min-width: 992px) {
    .page-section { padding: 3.5rem 0; }
}

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

.section-label {
    display: block;
    font-size: .6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--brand-peach-dark);
    margin-bottom: .375rem;
}

.section-label-new { color: #7BA87B; }
.section-label-sale { color: #C47070; }

.section-title {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0;
}

@media (min-width: 992px) {
    .section-title { font-size: 1.75rem; }
}

.section-link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--brand-charcoal);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition);
}

.section-link:hover { color: var(--brand-peach-dark); }

/* Brand buttons */
.btn-brand-peach {
    background: var(--brand-peach);
    color: var(--brand-charcoal);
    border: none;
    font-weight: 600;
    padding: .75rem 1.5rem;
    transition: all var(--transition);
}

.btn-brand-peach:hover {
    background: var(--brand-peach-dark);
    color: var(--brand-charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-brand-dark {
    background: var(--brand-charcoal);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: .75rem 1.5rem;
}

.btn-brand-dark:hover {
    background: var(--brand-charcoal-light);
    color: #fff;
}

.btn-brand-outline {
    background: transparent;
    color: var(--brand-charcoal);
    border: 1.5px solid var(--brand-charcoal);
    font-weight: 600;
    padding: .75rem 1.5rem;
}

.btn-brand-outline:hover {
    background: var(--brand-charcoal);
    color: #fff;
}

.btn-brand-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.6);
    font-weight: 600;
}

.btn-brand-outline-light:hover {
    background: rgba(255,255,255,.15);
    color: #fff;
}

/* Hero */
.hero-section { position: relative; }

.hero-banner-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
    background: var(--bg-page);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1983 / 793;
    object-fit: cover;
    object-position: center;
}

.hero-banner-carousel {
    position: relative;
}

.hero-banner-carousel .carousel-item .hero-banner-link {
    display: block;
}

.hero-banner-carousel .carousel-indicators {
    margin-bottom: .75rem;
}

.hero-banner-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.55);
    border: 0;
    opacity: 1;
}

.hero-banner-carousel .carousel-indicators .active {
    background-color: #fff;
}

.hero-banner-carousel .carousel-control-prev,
.hero-banner-carousel .carousel-control-next {
    width: 12%;
    opacity: .85;
}

@media (min-width: 992px) {
    .hero-section { padding: 0 1rem; }

    .hero-banner-link {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
}

.hero-carousel { border-radius: 0; overflow: hidden; }

.hero-slide {
    position: relative;
    display: block;
    height: 420px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

@media (min-width: 768px) {
    .hero-slide { height: 520px; }
}

@media (min-width: 992px) {
    .hero-slide { height: 580px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); margin: 0 1rem; }
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-peach-light) 0%, var(--brand-peach) 50%, var(--brand-peach-dark) 100%);
}

.hero-ken-burns {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61,61,61,.75) 0%, rgba(61,61,61,.2) 50%, rgba(61,61,61,.1) 100%);
}

.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 2.5rem;
    z-index: 2;
}

@media (min-width: 992px) {
    .hero-slide-content { padding: 3rem 3rem 4rem; max-width: 600px; }
}

.hero-label {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--brand-peach-light);
    margin-bottom: .75rem;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: .5rem;
    color: #fff;
}

@media (min-width: 768px) {
    .hero-title { font-size: 2.5rem; }
}

.hero-subtitle {
    font-size: .9375rem;
    opacity: .9;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,.9);
}

.hero-logo { height: 160px; width: auto; max-width: min(160px, 40vw); }

.hero-arch-deco {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(232,196,176,.25);
    z-index: 1;
    pointer-events: none;
}

.hero-indicators { margin-bottom: 1.5rem; }
.hero-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.4);
}
.hero-indicators .active {
    width: 24px;
    border-radius: 4px;
    background: var(--brand-peach);
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp .7s ease forwards;
}
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

.carousel-item.active .animate-fade-up {
    animation: fadeInUp .7s ease forwards;
}

/* Trust bar */
.trust-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .5rem;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--brand-peach-dark);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--brand-charcoal);
}

.trust-item span {
    font-size: .75rem;
    color: var(--text-muted);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .categories-grid { grid-template-columns: repeat(6, 1fr); }
}

.category-card {
    text-decoration: none;
    color: var(--brand-charcoal);
    text-align: center;
    transition: transform var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    color: var(--brand-charcoal);
}

.category-card-arch {
    aspect-ratio: 1;
    border-radius: 50% 50% 20% 20%;
    overflow: hidden;
    background: var(--brand-peach-light);
    margin-bottom: .625rem;
    transition: box-shadow var(--transition);
}

.category-card:hover .category-card-arch {
    box-shadow: var(--shadow-md);
}

.category-card-arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--brand-peach-dark);
}

.category-card-name {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
}

@media (min-width: 768px) {
    .category-card-name { font-size: .8125rem; }
}

/* Products horizontal scroll */
.products-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -1rem;
    padding: 0 1rem .5rem;
}

.products-scroll::-webkit-scrollbar { display: none; }

.products-scroll-track {
    display: flex;
    gap: 1rem;
}

.products-scroll-item {
    flex: 0 0 160px;
}

@media (min-width: 768px) {
    .products-scroll-item { flex: 0 0 220px; }
}

/* Promo banner */
.promo-banner {
    position: relative;
    background: linear-gradient(135deg, var(--brand-charcoal) 0%, #2a2a2a 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    overflow: hidden;
    color: #fff;
}

@media (min-width: 768px) {
    .promo-banner { padding: 3.5rem; }
}

.promo-banner-content { position: relative; z-index: 2; max-width: 400px; }

.promo-badge {
    display: inline-block;
    background: var(--brand-peach);
    color: var(--brand-charcoal);
    font-size: .75rem;
    font-weight: 700;
    padding: .375rem .875rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
}

.promo-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

@media (min-width: 768px) {
    .promo-banner h2 { font-size: 2rem; }
}

.promo-banner p {
    opacity: .8;
    margin-bottom: 1.25rem;
    font-size: .9375rem;
}

.promo-banner-deco { position: absolute; inset: 0; pointer-events: none; }

.promo-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(232,196,176,.15);
}

.promo-circle-1 { width: 200px; height: 200px; top: -50px; right: -30px; }
.promo-circle-2 { width: 150px; height: 150px; bottom: -40px; right: 120px; background: rgba(232,196,176,.1); }

/* CTA section */
.cta-section { padding: 2rem 0 3rem; }

.cta-box {
    background: linear-gradient(135deg, var(--brand-peach-light) 0%, var(--brand-peach) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-box { padding: 3.5rem; }
}

.cta-logo { height: 80px; margin-bottom: 1.25rem; }

.cta-box h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--brand-charcoal);
    margin-bottom: .5rem;
}

.cta-box p {
    color: var(--brand-charcoal-light);
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Product badges */
.product-badge-new { background: #E8F0E8 !important; color: #4A7A4A !important; }
.product-badge-sale {
    background: #E53935 !important;
    color: #fff !important;
    top: auto !important;
    bottom: .75rem !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    box-shadow: 0 2px 8px rgba(229, 57, 53, .35);
}

/* Footer */
.site-footer {
    position: relative;
    background: var(--brand-charcoal);
    color: rgba(255,255,255,.85);
    padding: 3rem 0 0;
    margin-top: 2rem;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 992px) {
    body.catalog-body { padding-bottom: 0; }
    .site-footer { margin-top: 3rem; }
}

.footer-arch {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80px;
    background: var(--brand-charcoal);
    border-radius: 50% 50% 0 0;
}

.footer-main { position: relative; z-index: 1; padding-bottom: 2rem; }

.footer-logo { height: 110px; width: auto; margin-bottom: 1rem; filter: brightness(1.1); }

.footer-tagline {
    font-size: .875rem;
    line-height: 1.6;
    color: rgba(255,255,255,.65);
    max-width: 280px;
}

.footer-heading {
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--brand-peach);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: .5rem; }

.footer-links a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .875rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--brand-peach); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .8125rem;
    color: rgba(255,255,255,.5);
}

.footer-made { color: rgba(255,255,255,.4); }
.footer-made i { color: var(--brand-peach); font-size: .625rem; }

.footer-credit {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: .875rem 0 1.5rem;
    text-align: center;
    font-size: .75rem;
    color: rgba(255,255,255,.35);
    letter-spacing: .04em;
}

.footer-credit a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.footer-credit a:hover { color: var(--brand-peach); }

/* Legal pages */
.legal-page {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    max-width: 800px;
}

@media (min-width: 768px) {
    .legal-page { padding: 3rem; }
}

.legal-page-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.legal-page-content h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.5rem 0 .75rem;
    color: var(--brand-charcoal);
}

.legal-page-content p {
    font-size: .9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.category-card.reveal { transition-delay: var(--delay, 0s); }

/* Price box brand */
.price-box {
    background: var(--brand-charcoal);
}

.cart-badge {
    background: var(--brand-peach-dark);
}

/* Product showcase */
.showcase-section { padding-top: 1rem; }

.showcase-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.showcase-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding: .5rem;
    height: 100%;
    min-height: 320px;
    position: relative;
}

@media (min-width: 992px) {
    .showcase-gallery { min-height: 480px; padding: .75rem; gap: .75rem; }
}

.showcase-gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--brand-peach-light);
}

.showcase-gallery-item-1 { grid-row: span 2; }

.showcase-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 140px;
    transition: transform .5s ease;
}

.showcase-gallery-item:hover img { transform: scale(1.04); }

.showcase-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    padding: .375rem 1rem;
    border-radius: var(--radius-pill);
    font-size: .75rem;
    font-weight: 600;
    color: var(--brand-charcoal);
}

.showcase-info {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@media (min-width: 992px) {
    .showcase-info { padding: 2.5rem; }
}

.showcase-category {
    font-size: .6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--brand-peach-dark);
    margin-bottom: .5rem;
}

.showcase-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: .75rem;
    line-height: 1.3;
}

@media (min-width: 992px) {
    .showcase-title { font-size: 1.75rem; }
}

.showcase-rating {
    font-size: .875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.showcase-rating i { color: #E8B84A; }

.showcase-desc {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.showcase-colors {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.showcase-color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
}

.showcase-color-label {
    font-size: .8125rem;
    color: var(--text-muted);
    margin-left: .25rem;
}

.showcase-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-charcoal);
}

.showcase-price-row { margin-bottom: 1.25rem; }

.showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.showcase-actions .btn { padding: .75rem 1.25rem; font-size: .875rem; }

/* Login brand */
.login-page {
    background: linear-gradient(135deg, var(--brand-peach-light) 0%, var(--brand-peach) 100%);
}

/* Checkout & Orders */
.checkout-page {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.checkout-wizard {
    width: 100%;
}

.checkout-form-wrap { position: relative; }

.checkout-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 .5rem;
}

.checkout-stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    flex: 0 0 auto;
    min-width: 72px;
}

.checkout-stepper-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    font-weight: 700;
    background: var(--bg-page);
    border: 2px solid var(--border-light);
    color: var(--text-muted);
    transition: all var(--transition);
}

.checkout-stepper-label {
    font-size: .6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    transition: color var(--transition);
}

@media (min-width: 576px) {
    .checkout-stepper-label { font-size: .75rem; }
}

.checkout-stepper-item.active .checkout-stepper-dot {
    background: var(--brand-charcoal);
    border-color: var(--brand-charcoal);
    color: #fff;
    box-shadow: 0 4px 12px rgba(61,61,61,.2);
}

.checkout-stepper-item.active .checkout-stepper-label {
    color: var(--brand-charcoal);
}

.checkout-stepper-item.done .checkout-stepper-dot {
    background: var(--brand-peach);
    border-color: var(--brand-peach);
    color: var(--brand-charcoal);
}

.checkout-stepper-item.done .checkout-stepper-dot::after {
    content: '✓';
    font-size: .75rem;
}

.checkout-stepper-item.done .checkout-stepper-dot {
    font-size: 0;
}

.checkout-stepper-line {
    flex: 1;
    height: 2px;
    background: var(--border-light);
    min-width: 24px;
    max-width: 80px;
    margin-bottom: 1.25rem;
}

.checkout-panel {
    display: none;
    animation: checkoutFadeIn .35s ease;
}

.checkout-panel.active {
    display: block;
}

@keyframes checkoutFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.checkout-card-centered {
    max-width: 560px;
    margin: 0 auto;
}

.checkout-page .checkout-header,
.checkout-page .breadcrumb-modern {
    text-align: center;
}

.checkout-page .breadcrumb-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .25rem;
}

.checkout-panel-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: .5rem;
}

.checkout-panel-actions-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.checkout-review-list {
    margin: 0;
}

.checkout-review-row {
    display: flex;
    gap: 1rem;
    padding: .625rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: .875rem;
}

.checkout-review-row:last-child { border-bottom: none; }

.checkout-review-row dt {
    flex: 0 0 90px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
}

.checkout-review-row dd {
    flex: 1;
    margin: 0;
    color: var(--text-primary);
}

.checkout-pay-total {
    text-align: center;
    background: var(--brand-peach-light);
    border-color: var(--brand-peach);
}

.checkout-pay-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-charcoal);
    line-height: 1.2;
    margin: .25rem 0 .5rem;
}

.checkout-alert {
    width: 100%;
}

.checkout-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.checkout-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: .875rem;
}

.checkout-summary-item:last-child { border-bottom: none; }

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid var(--border-light);
    font-size: 1.125rem;
}

.shipping-options {
    display: grid;
    gap: .75rem;
}

.checkout-delivery-info {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 75%);
    border: 1.5px solid rgba(201, 139, 110, .4);
}

.checkout-delivery-info > i {
    color: #c98b6e;
    font-size: 1.35rem;
    margin-top: .1rem;
}

.checkout-delivery-info strong {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #8a7468;
    margin-bottom: .2rem;
}

.checkout-delivery-info span {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c211c;
    line-height: 1.3;
}

.checkout-delivery-info small {
    display: block;
    margin-top: .25rem;
    font-size: .8rem;
    color: #8a7468;
}

.delivery-slot-options {
    display: grid;
    gap: .6rem;
}

@media (min-width: 576px) {
    .delivery-slot-options {
        grid-template-columns: 1fr 1fr;
    }
}

.delivery-slot-option {
    display: block;
    cursor: pointer;
    margin: 0;
}

.delivery-slot-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.delivery-slot-option-body {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1rem;
    border: 1.5px solid rgba(0,0,0,.1);
    border-radius: var(--radius-md);
    background: #fff;
    font-size: .9rem;
    font-weight: 500;
    color: #2c211c;
    transition: border-color .2s, box-shadow .2s, background .2s;
    min-height: 52px;
}

.delivery-slot-option-body i {
    color: #c98b6e;
    font-size: 1rem;
}

.delivery-slot-option input:checked + .delivery-slot-option-body {
    border-color: #2c211c;
    background: #fff8f0;
    box-shadow: 0 0 0 1px #2c211c;
}

.delivery-slot-option:hover .delivery-slot-option-body {
    border-color: rgba(44, 33, 28, .35);
}

.shipping-option {
    display: block;
    cursor: pointer;
    margin: 0;
}

.shipping-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shipping-option-body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .25rem 1rem;
    padding: 1rem 1.1rem;
    border: 1.5px solid rgba(0,0,0,.1);
    border-radius: var(--radius-md);
    background: #fff;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.shipping-option-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.shipping-option-desc {
    grid-column: 1;
    font-size: .8rem;
    color: #64748b;
}

.shipping-option-price {
    grid-row: 1 / span 2;
    align-self: center;
    font-weight: 700;
    font-size: 1rem;
}

.shipping-option input:checked + .shipping-option-body {
    border-color: #1a1a1a;
    background: #fff8f4;
    box-shadow: 0 0 0 1px #1a1a1a;
}

.shipping-option:hover .shipping-option-body {
    border-color: rgba(0,0,0,.25);
}

.shipping-admin-box {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 1rem;
    background: #fafafa;
    height: 100%;
}

.checkout-packaging-note {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    background: #fff8f0;
    border: 1px solid rgba(201, 139, 110, .35);
    font-size: .875rem;
    color: #3a2a22;
}

.shipping-option--disabled {
    opacity: .45;
    pointer-events: none;
}

.payment-qr-wrap {
    text-align: center;
    padding: 1rem;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.payment-qr-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.payment-qr-placeholder {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-page);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.payment-qr-placeholder i { font-size: 3rem; display: block; margin-bottom: .75rem; }

.payment-info p { margin-bottom: .35rem; font-size: .875rem; }

.payment-accounts-list {
    list-style: none;
    padding: 0;
    margin: 0 0 .75rem;
}

.payment-accounts-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem .5rem;
    padding: .55rem .75rem;
    margin-bottom: .4rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: .9rem;
}

.payment-accounts-list li strong {
    min-width: 4.5rem;
    color: #0f172a;
}

.payment-account-cci {
    flex-basis: 100%;
    font-size: .78rem;
    color: #64748b;
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

@media (min-width: 768px) {
    .checkout-steps { grid-template-columns: repeat(4, 1fr); }
}

.checkout-step {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: .875rem;
    font-size: .75rem;
    text-align: center;
    border: 1px solid var(--border-light);
}

.checkout-step span {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-charcoal);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    margin-bottom: .375rem;
}

.tracking-lookup { max-width: 440px; margin: 0 auto; }

.tracking-lookup-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand-peach-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--brand-charcoal);
}

.order-confirm-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-code-badge {
    display: inline-block;
    background: var(--brand-charcoal);
    color: #fff;
    padding: .375rem .875rem;
    border-radius: var(--radius-pill);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.order-status-pill { font-size: .8125rem; padding: .5rem 1rem; }

/* Order timeline */
.order-timeline {
    overflow: visible;
}

.timeline-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: .5rem 0 1rem;
    gap: 0;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-width: 0;
    padding: 0 .25rem;
}

.timeline-step-marker {
    position: relative;
    z-index: 2;
    margin-bottom: .625rem;
}

/* Línea conectora entre pasos */
.timeline-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(50% + 22px);
    right: calc(-50% + 22px);
    height: 3px;
    background: var(--border-light);
    z-index: 1;
}

.timeline-step:last-child::after {
    display: none;
}

.timeline-step.done::after {
    background: var(--brand-peach);
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-page);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: .9375rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition);
}

.timeline-label {
    font-size: .6875rem;
    line-height: 1.3;
    color: var(--text-muted);
    display: block;
    max-width: 72px;
}

@media (min-width: 576px) {
    .timeline-label { font-size: .75rem; max-width: 90px; }
}

@media (min-width: 992px) {
    .timeline-label { max-width: none; font-size: .8125rem; }
}

.timeline-step.done .timeline-dot {
    background: var(--brand-peach-light);
    border-color: var(--brand-peach);
    color: var(--brand-charcoal);
}

.timeline-step.active .timeline-dot {
    background: var(--brand-charcoal);
    border-color: var(--brand-charcoal);
    color: #fff;
    box-shadow: 0 4px 14px rgba(61,61,61,.25);
    transform: scale(1.08);
}

.timeline-step.active .timeline-label {
    color: var(--brand-charcoal);
    font-weight: 700;
}

.timeline-step.done .timeline-label {
    color: var(--text-secondary);
}

/* Timeline vertical en móvil */
@media (max-width: 767px) {
    .timeline-steps {
        flex-direction: column;
        align-items: stretch;
        padding: .25rem 0 .25rem .5rem;
    }

    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
        padding: .625rem 0;
    }

    .timeline-step-marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .timeline-step::after {
        top: 44px;
        left: 19px;
        right: auto;
        width: 3px;
        height: calc(100% - 8px);
    }

    .timeline-step:last-child::after {
        display: none;
    }

    .timeline-label {
        max-width: none;
        padding-top: .625rem;
        font-size: .875rem;
    }

    .timeline-step.active .timeline-label {
        font-size: .9375rem;
    }
}

.tracking-code-box {
    background: var(--brand-peach-light);
    padding: .875rem 1rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
}

.tracking-code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.tracking-code-row + .tracking-code-row {
    margin-top: .65rem;
    padding-top: .65rem;
    border-top: 1px dashed rgba(0,0,0,.08);
}

.tracking-code-label {
    color: #6b5b52;
    font-size: .8rem;
    font-weight: 600;
}

.tracking-secret-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    border-radius: 999px;
    padding: .35rem .75rem;
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .04em;
    cursor: pointer;
    color: #1f1a17;
}

.tracking-secret-btn:hover {
    background: #fff8f3;
}

.tracking-secret-btn.is-revealed .tracking-secret-mask {
    display: none;
}

.tracking-secret-btn.is-revealed .tracking-secret-value {
    display: inline !important;
}

.tracking-secret-hint {
    margin-top: .45rem;
    font-size: .75rem;
    color: #8a7468;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.order-item-row img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.order-item-row > div { flex: 1; min-width: 0; }

.history-row {
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.history-row:last-child { border-bottom: none; }

.voucher-preview {
    max-width: 280px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.payment-qr-preview {
    max-width: 180px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

/* Stock badges */
.product-stock-badge {
    font-size: .8125rem;
    font-weight: 600;
    padding: .5rem .75rem;
    border-radius: var(--radius-sm);
}

.product-stock-badge--ok {
    background: #e8f5e9;
    color: #2e7d32;
}

.product-stock-badge--low {
    background: #fff3e0;
    color: #e65100;
}

.product-stock-badge--out {
    background: #ffebee;
    color: #c62828;
}

/* Checkout discount */
.checkout-discount-box .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.checkout-discount-row {
    color: var(--brand-peach-dark, #c4956a);
}

/* POS / Caja */
.pos-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 1.25rem;
    min-height: calc(100vh - 140px);
}

@media (max-width: 991px) {
    .pos-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.pos-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: .75rem;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
}

.pos-product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    padding: .625rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #fff;
    text-align: left;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.pos-product-card:not(.is-out):hover {
    border-color: var(--brand-charcoal);
    box-shadow: var(--shadow-sm);
}

.pos-product-card.is-out {
    opacity: .55;
    cursor: not-allowed;
}

.pos-product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--bg-page);
}

.pos-product-info {
    display: flex;
    flex-direction: column;
    gap: .125rem;
}

.pos-product-info strong {
    font-size: .8125rem;
    line-height: 1.3;
}

.pos-cart-items {
    overflow-y: auto;
    padding: 1rem;
    max-height: 320px;
}

.pos-cart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pos-cart-row:last-child { border-bottom: none; }

.pos-cart-row-info {
    display: flex;
    flex-direction: column;
    gap: .125rem;
    min-width: 0;
}

.pos-cart-row-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.pos-cart-footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-page);
}

.pos-discount-row {
    display: flex;
    gap: .5rem;
    margin-bottom: .75rem;
}

.pos-totals {
    margin-bottom: 1rem;
}

.pos-total-row {
    display: flex;
    justify-content: space-between;
    padding: .25rem 0;
    font-size: .9375rem;
}

.pos-total-final {
    font-size: 1.125rem;
    padding-top: .5rem;
    margin-top: .25rem;
    border-top: 1px dashed var(--border-light);
}

.pos-discount-line { color: #2e7d32; }

.pos-success-icon {
    font-size: 3rem;
    color: #2e7d32;
}

/* POS daily banner */
.pos-daily-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--brand-peach-light) 0%, #fff 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.pos-daily-split { margin-right: auto; }

/* TikTok Live */
.btn-tiktok {
    background: linear-gradient(135deg, #010101 0%, #25f4ee 50%, #fe2c55 100%);
    background-size: 200% 200%;
    border: none;
    color: #fff;
    font-weight: 600;
    animation: tiktok-gradient 4s ease infinite;
}

.btn-tiktok:hover, .btn-tiktok:focus {
    color: #fff;
    filter: brightness(1.08);
}

@keyframes tiktok-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tiktok-live-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #0f0f0f;
    color: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.tiktok-live-status {
    display: flex;
    align-items: center;
    gap: .625rem;
}

.tiktok-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fe2c55;
    animation: tiktok-pulse 1.2s ease infinite;
}

@keyframes tiktok-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.2); }
}

.tiktok-live-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-left: auto;
}

.tiktok-live-stat .label {
    display: block;
    font-size: .6875rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .65;
}

.tiktok-live-stat strong, .tiktok-daily-link {
    font-size: 1.125rem;
    color: #fff;
}

.tiktok-daily-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.tiktok-daily-link:hover { color: #25f4ee; }

.tiktok-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 1.25rem;
    min-height: calc(100vh - 220px);
}

@media (max-width: 991px) {
    .tiktok-layout { grid-template-columns: 1fr; min-height: auto; }
}

.tiktok-items-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.tiktok-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 60px 80px 80px 32px;
    gap: .375rem;
    align-items: center;
}

@media (max-width: 768px) {
    .tiktok-item-row {
        grid-template-columns: 1fr 1fr;
    }
    .tiktok-item-row .tt-item-remove { grid-column: 2; }
}

.tiktok-catalog-results {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    max-height: 160px;
    overflow-y: auto;
    margin-top: .375rem;
}

.tiktok-catalog-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #fff;
    text-align: left;
    font-size: .8125rem;
}

.tiktok-catalog-item:hover {
    border-color: var(--brand-charcoal);
    background: var(--bg-page);
}

.tiktok-feed {
    overflow-y: auto;
    padding: .75rem;
    max-height: calc(100vh - 320px);
}

.tiktok-order-card {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: .875rem;
    margin-bottom: .625rem;
    border-left: 4px solid #fe2c55;
    animation: tiktok-slide-in .3s ease;
}

.tiktok-order-card.is-paid { border-left-color: #2e7d32; }

@keyframes tiktok-slide-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tiktok-order-head {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .5rem;
}

.tiktok-order-num {
    display: inline-block;
    background: #0f0f0f;
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    padding: .125rem .375rem;
    border-radius: 4px;
    margin-right: .375rem;
}

.tiktok-user {
    display: block;
    font-size: .75rem;
    color: #25f4ee;
    font-weight: 600;
}

.tiktok-order-meta {
    text-align: right;
    flex-shrink: 0;
}

.tiktok-order-time {
    display: block;
    font-size: .75rem;
    color: var(--text-muted);
}

.tiktok-order-items {
    list-style: none;
    padding: 0;
    margin: 0 0 .5rem;
    font-size: .8125rem;
}

.tiktok-order-items li { padding: .125rem 0; }

.tiktok-order-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.tiktok-feed-footer {
    padding: .75rem 1rem;
    border-top: 1px solid var(--border-light);
    background: #fff;
}

.tiktok-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #0f0f0f;
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all .3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.tiktok-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Ventas del día */
.ventas-dia-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ventas-dia-nav {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.ventas-dia-date {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 160px;
    justify-content: center;
}

.ventas-dia-actions {
    display: flex;
    gap: .5rem;
}

.ventas-stat-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    height: 100%;
}

.ventas-stat-card--total {
    background: linear-gradient(135deg, var(--brand-charcoal) 0%, #555 100%);
    color: #fff;
    border: none;
}

.ventas-stat-card--total .ventas-stat-label,
.ventas-stat-card--total .ventas-stat-meta { opacity: .75; color: #fff; }

.ventas-stat-card--tiktok {
    border-left: 4px solid #fe2c55;
}

.ventas-stat-label {
    font-size: .8125rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: .375rem;
}

.ventas-stat-card--total .ventas-stat-label { color: rgba(255,255,255,.8); }

.ventas-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.ventas-stat-meta {
    font-size: .8125rem;
    color: var(--text-muted);
    margin-top: .25rem;
    display: block;
}

/* Caja / Turno */
.caja-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.caja-page-title {
    font-size: 1.375rem;
    font-weight: 700;
}

.caja-page-subtitle {
    font-size: .875rem;
    color: var(--text-muted);
    max-width: 560px;
}

.caja-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.caja-btn-print {
    font-weight: 600;
    letter-spacing: .02em;
}

.caja-status-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    padding: .75rem 1rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
}

.caja-status-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 600;
    font-size: .8125rem;
    padding: .375rem .75rem;
    border-radius: 999px;
}

.caja-status-time {
    font-size: .8125rem;
    color: var(--text-muted);
}

.caja-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 1199px) {
    .caja-layout { grid-template-columns: 1fr; }
    .caja-sidebar { order: -1; }
}

.caja-stat-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1rem 1.125rem;
    height: 100%;
}

.caja-stat-label {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--text-muted);
    display: block;
    margin-bottom: .375rem;
}

.caja-stat-value {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
}

.caja-stat-card--income .caja-stat-value { color: #16a34a; }
.caja-stat-card--return .caja-stat-value { color: #d97706; }
.caja-stat-card--expense .caja-stat-value { color: #dc2626; }

.caja-section-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .875rem;
}

.caja-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
}

.caja-payment-item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .625rem .75rem;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    font-size: .8125rem;
}

.caja-table th {
    font-size: .6875rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
}

.caja-add-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    line-height: 1;
    font-size: 1.125rem;
}

.caja-mini-list .list-group-item {
    border-left: 0;
    border-right: 0;
}

.caja-chart-wrap {
    max-width: 220px;
    margin: 0 auto 1rem;
}

.caja-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    justify-content: center;
    font-size: .75rem;
}

.caja-legend-item {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
}

.caja-legend-item i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.caja-summary-rows {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    margin-bottom: 1rem;
}

.caja-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8125rem;
    gap: .5rem;
}

.caja-final-box {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    padding: .875rem 1rem;
    text-align: center;
}

.caja-final-box strong {
    display: block;
    font-size: 1.5rem;
    color: #dc2626;
    margin-top: .25rem;
}

.caja-closed-state {
    max-width: 480px;
    margin: 2rem auto;
}

.ventas-dia-calendar-form .ventas-date-input {
    min-width: 160px;
    font-weight: 600;
}

.ventas-detail-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.btn-brand-peach.btn-lg { padding: .875rem 1.5rem; font-weight: 600; }

/* --- Blog ----------------------------------------- */
.blog-hero {
    padding: 2.5rem 0 1.5rem;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201,139,110,.18), transparent 55%),
        linear-gradient(180deg, #fff8f3 0%, #f7f3ef 100%);
}
.blog-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .72rem;
    font-weight: 700;
    color: #a67c66;
    margin-bottom: .5rem;
}
.blog-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1;
    color: #2c211c;
    margin-bottom: .6rem;
}
.blog-hero-lead {
    max-width: 34rem;
    color: #6b5b52;
    margin: 0;
    font-size: 1.05rem;
}
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-card--featured {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 0;
    }
    .blog-card--featured .blog-card-media {
        min-height: 320px;
    }
    .blog-card--featured .blog-card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
    }
}
@media (min-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-card--featured {
        grid-column: 1 / -1;
    }
}
.blog-grid--compact {
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .blog-grid--compact { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(44,33,28,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(44,33,28,.08);
}
.blog-card-media {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #efe7e1;
}
.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.blog-card:hover .blog-card-media img {
    transform: scale(1.04);
}
.blog-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
}
.blog-card-body time {
    display: block;
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9a8478;
    margin-bottom: .45rem;
}
.blog-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .55rem;
}
.blog-card-title a {
    color: #2c211c;
    text-decoration: none;
}
.blog-card-title a:hover { color: #a0674e; }
.blog-card-excerpt {
    color: #6b5b52;
    font-size: .92rem;
    margin-bottom: .85rem;
}
.blog-card-link {
    font-size: .85rem;
    font-weight: 600;
    color: #2c211c;
    text-decoration: none;
}
.blog-card-link i { margin-left: .25rem; }

.blog-post-hero {
    position: relative;
    padding-bottom: 1.5rem;
}
.blog-post-cover {
    height: min(52vh, 420px);
    overflow: hidden;
    background: #1f1814;
}
.blog-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
}
.blog-post-hero-inner {
    max-width: 760px;
    margin: -3.5rem auto 0;
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem 1.35rem 1.25rem;
    border: 1px solid rgba(44,33,28,.08);
    box-shadow: 0 18px 40px rgba(44,33,28,.08);
}
@media (min-width: 768px) {
    .blog-post-hero-inner { padding: 2rem 2.25rem 1.5rem; margin-top: -4.5rem; }
}
.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    font-size: .8rem;
    color: #9a8478;
    margin-bottom: .75rem;
}
.blog-breadcrumb a { color: #6b5b52; text-decoration: none; }
.blog-post-hero-inner time {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9a8478;
    margin-bottom: .5rem;
}
.blog-post-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: .75rem;
    color: #2c211c;
}
.blog-post-deck {
    font-size: 1.05rem;
    color: #6b5b52;
    margin-bottom: .5rem;
}
.blog-post-author {
    font-size: .85rem;
    color: #9a8478;
    margin: 0;
}
.blog-post-layout {
    display: grid;
    gap: 1.75rem;
    max-width: 1100px;
    margin: 2rem auto 3rem;
}
@media (min-width: 992px) {
    .blog-post-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: start;
    }
}
.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3a2a22;
}
.blog-post-content h2,
.blog-post-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin-top: 1.75rem;
    margin-bottom: .75rem;
    color: #2c211c;
}
.blog-post-content p { margin-bottom: 1rem; }
.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}
.blog-post-content a { color: #a0674e; }
.blog-aside-card {
    padding: 1.25rem;
    border-radius: 16px;
    background: #fff8f3;
    border: 1px solid rgba(201,139,110,.3);
    position: sticky;
    top: 5.5rem;
}
.blog-aside-card h2 {
    font-size: 1.1rem;
    margin-bottom: .4rem;
}
.blog-aside-card p {
    font-size: .9rem;
    color: #6b5b52;
    margin-bottom: 1rem;
}
.blog-related {
    padding: 2.5rem 0 3.5rem;
    background: #f7f3ef;
}
.blog-related-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}
