* {
    box-sizing: border-box;
}

:root {
    --dark: #171512;
    --cream: #f7f2ea;
    --white: #ffffff;
    --gold: #bf8a4a;
    --gold-dark: #8f5d27;
    --text: #24211f;
    --muted: #6f6a64;
    --border: #e7dfd5;
    --whatsapp: #20bd5a;
    --shadow: 0 18px 45px rgba(31, 25, 19, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid rgba(0,0,0,.05);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    font-family: Georgia, serif;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: Georgia, serif;
    font-size: 1.15rem;
}

.brand small {
    color: var(--muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .main-nav > a {
        font-size: .9rem;
        font-weight: 700;
    }

.nav-cta {
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--dark);
    color: var(--white);
}

.menu-button {
    display: none;
    width: 42px;
    height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--cream);
}

    .menu-button span {
        display: block;
        height: 2px;
        margin: 5px 0;
        background: var(--dark);
    }

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(95deg, rgba(17,14,12,.95), rgba(17,14,12,.78) 55%, rgba(17,14,12,.35)), url("../images/Fashion_Casme_Portada.png") center/cover no-repeat, radial-gradient(circle at 80% 20%, #c89554, #201b16 58%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.18), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0;
    color: var(--white);
}

.eyebrow,
.section-label {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow {
    padding: 8px 13px;
    border-radius: 999px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.25);
}

.hero h1,
h2 {
    margin: 0 0 20px;
    font-family: Georgia, serif;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(3rem, 7vw, 6rem);
}

h2 {
    font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.hero p {
    max-width: 650px;
    margin: 0 0 34px;
    color: rgba(255,255,255,.8);
    line-height: 1.75;
    font-size: 1.12rem;
}

.hero-actions,
.hero-social-buttons,
.live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 21px;
    border-radius: 10px;
    font-weight: 800;
    transition: transform .2s ease;
}

    .button:hover,
    .mini-social:hover,
    .dock-link:hover,
    .social-card:hover,
    .location-card:hover {
        transform: translateY(-3px);
    }

.button-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(32,189,90,.22);
}

.button-light {
    background: var(--white);
    color: var(--dark);
}

.button-outline {
    color: var(--white);
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.08);
}

.hero-social-callout {
    max-width: 760px;
    margin-top: 28px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.hero-social-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .hero-social-copy strong,
    .hero-social-copy small,
    .live-image-text strong,
    .live-image-text small,
    .social-copy small,
    .social-copy strong,
    .brand strong,
    .brand small {
        display: block;
    }

    .hero-social-copy small {
        color: rgba(255,255,255,.72);
        line-height: 1.45;
    }

.live-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #ff3040;
    box-shadow: 0 0 0 7px rgba(255,48,64,.16);
}

.mini-social {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 9px;
    color: var(--white);
    font-size: .84rem;
    font-weight: 850;
}

.tiktok-mini,
.live-tiktok {
    background: #080808;
    color: #fff;
}

.facebook-mini,
.live-facebook {
    background: #1877f2;
    color: #fff;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 34px;
    color: rgba(255,255,255,.72);
    font-weight: 700;
    font-size: .92rem;
}

.section {
    padding: 96px 0;
}

.section-soft {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 68px;
    align-items: center;
}

.lead {
    color: var(--text);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.65;
}

.about-grid p,
.section-heading p,
.info-card p,
.step-card p,
.location-details p,
.live-content p {
    color: var(--muted);
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    margin-top: 12px;
    color: var(--gold-dark);
    font-weight: 850;
}

.about-card {
    padding: 42px;
    border-radius: 20px;
    background: var(--dark);
    color: var(--white);
    box-shadow: var(--shadow);
}

.about-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 15px;
    background: rgba(191,138,74,.16);
    color: var(--gold);
}

.about-card h3 {
    margin: 0 0 12px;
    font-family: Georgia, serif;
    font-size: 1.7rem;
}

.about-card p {
    color: rgba(255,255,255,.68);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.benefit-grid,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px;
}

.info-card,
.step-card,
.location-card {
    padding: 30px 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .info-card:hover,
    .step-card:hover,
    .location-card:hover,
    .social-card:hover {
        box-shadow: var(--shadow);
    }

.card-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: var(--cream);
    color: var(--gold-dark);
    font-weight: 900;
    font-size: 1.35rem;
}

.info-card h3,
.step-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.step-card {
    position: relative;
    padding-top: 68px;
}

.step-number {
    position: absolute;
    top: 20px;
    left: 26px;
    color: var(--gold-dark);
    font-family: Georgia, serif;
    font-size: 1.45rem;
    font-weight: 900;
}

.center-action {
    margin-top: 40px;
    text-align: center;
}

.live-section {
    padding: 96px 0;
    background: linear-gradient(135deg, #151217, #241a22 62%, #151217);
    color: var(--white);
}

.live-section-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 66px;
    align-items: center;
}

.live-image-card {
    min-height: 460px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.65)), url("../images/Fashion_Casme_Tiktok.png") center/cover no-repeat, radial-gradient(circle at 70% 25%, #b77b45, #2b1f26 62%);
    box-shadow: 0 30px 75px rgba(0,0,0,.35);
}

.live-image-overlay {
    min-height: 460px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding: 26px;
    gap: 12px;
}

.live-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0,0,0,.48);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.live-image-text strong {
    font-family: Georgia, serif;
    font-size: 1.65rem;
    color: var(--white);
}

.live-image-text small {
    color: rgba(255,255,255,.74);
    line-height: 1.5;
}

.live-content p,
.light-heading p {
    color: rgba(255,255,255,.72);
}

.live-benefits {
    display: grid;
    gap: 10px;
    margin: 26px 0;
    color: rgba(255,255,255,.88);
    font-weight: 700;
}

.locations-section {
    background: var(--dark);
}

.light-heading h2 {
    color: var(--white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
}

.location-title {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.location-pin {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--cream);
    color: var(--gold-dark);
    font-size: 1.5rem;
}

.location-title span {
    color: var(--gold-dark);
    font-size: .74rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.location-title h3 {
    margin: 3px 0 0;
    font-family: Georgia, serif;
    font-size: 1.45rem;
}

.location-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.location-button {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 9px;
    font-size: .85rem;
    font-weight: 850;
}

    .location-button.waze {
        background: #52d4f2;
        color: #102a32;
    }

    .location-button.maps {
        background: var(--dark);
        color: var(--white);
    }

.social-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.social-card {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 21px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    transition: transform .2s ease, box-shadow .2s ease;
}

.social-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--cream);
    color: var(--gold-dark);
    font-size: 1.4rem;
    font-weight: 900;
}

.social-copy small {
    color: var(--muted);
    margin-bottom: 2px;
}

.social-copy strong {
    font-size: 1.1rem;
}

.social-arrow {
    color: var(--gold-dark);
    font-size: 1.2rem;
}

.final-cta {
    padding: 70px 0;
    background: var(--gold-dark);
    color: var(--white);
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.light-label {
    color: rgba(255,255,255,.85);
}

.site-footer {
    padding: 34px 0;
    background: #11100e;
    color: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand .brand-mark {
    background: var(--gold-dark);
}

.site-footer p {
    margin: 0;
    color: rgba(255,255,255,.55);
    font-size: .86rem;
}

.floating-social-dock {
    position: fixed;
    left: 18px;
    top: 50%;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-50%);
}

.dock-link {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--white);
    box-shadow: 0 12px 28px rgba(0,0,0,.2);
}

    .dock-link strong {
        max-width: 0;
        overflow: hidden;
        opacity: 0;
        white-space: nowrap;
        transition: max-width .2s ease, opacity .2s ease;
    }

    .dock-link:hover strong {
        max-width: 90px;
        opacity: 1;
    }

.dock-tiktok {
    background: #090909;
}

.dock-facebook {
    background: #1877f2;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 41;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 14px 35px rgba(0,0,0,.24);
}

@media (max-width:1050px) {
    .menu-button {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

        .main-nav.open {
            display: flex;
        }

        .main-nav > a {
            padding: 13px;
            border-radius: 8px;
        }

    .about-grid,
    .live-section-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .benefit-grid,
    .steps-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:780px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .hero {
        min-height: 740px;
    }

    .hero-actions,
    .hero-social-buttons,
    .live-actions {
        flex-direction: column;
    }

        .hero-actions .button,
        .mini-social,
        .live-actions .button {
            width: 100%;
        }

    .hero-social-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .benefit-grid,
    .steps-grid,
    .locations-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .location-actions {
        grid-template-columns: 1fr;
    }

    .final-cta-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .floating-social-dock {
        left: 14px;
        bottom: 18px;
        top: auto;
        transform: none;
        flex-direction: row;
    }

    .dock-link {
        width: 48px;
        min-width: 48px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

        .dock-link strong {
            display: none;
        }

    .floating-whatsapp {
        right: 14px;
        bottom: 18px;
        width: 58px;
        height: 58px;
        justify-content: center;
        padding: 0;
    }

        .floating-whatsapp strong {
            display: none;
        }
}


.catalog-header {
    padding: 70px 0 55px;
    background: linear-gradient(135deg, #171512, #3a2d24);
    color: white;
    margin-bottom: 20px;
}

    .catalog-header h1 {
        font-family: Georgia, serif;
        font-size: clamp(2.4rem, 5vw, 4.5rem);
        font-weight: 900;
        margin-bottom: 14px;
    }

    .catalog-header p {
        max-width: 760px;
        color: rgba(255,255,255,.78);
        font-size: 1.05rem;
        line-height: 1.7;
    }

.filter-card {
    background: white;
    border: 1px solid #e7dfd5;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(31, 25, 19, .08);
}

.btn-soft {
    background: #f7f2ea;
    border: 1px solid #e7dfd5;
    color: #171512;
    border-radius: 12px;
    font-weight: 800;
}

    .btn-soft:hover {
        background: #171512;
        color: #ffffff;
    }

.btn-brand {
    background: #171512;
    border-color: #171512;
    color: white;
    border-radius: 12px;
    font-weight: 800;
}

    .btn-brand:hover {
        background: #bf8a4a;
        border-color: #bf8a4a;
        color: white;
    }

.product-card {
    height: 100%;
    background: white;
    border: 1px solid #e7dfd5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(31, 25, 19, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 46px rgba(31, 25, 19, .13);
    }

    .product-card img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        display: block;
        background: #eee;
    }

    .product-card .category {
        display: inline-block;
        margin-bottom: 8px;
        color: #8f5d27;
        font-size: .75rem;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .product-card h5 {
        font-weight: 900;
        margin-bottom: 8px;
        color: #171512;
    }

.price-box {
    padding: 12px;
    border-radius: 14px;
    background: #f7f2ea;
    border: 1px solid #eadfce;
}

.price {
    color: #171512;
    font-size: 1.15rem;
}

.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.empty-state {
    margin: 34px 0;
    padding: 34px;
    text-align: center;
    background: white;
    border: 1px dashed #d4c6b4;
    border-radius: 20px;
    color: #6f6a64;
    font-weight: 700;
}

.footer-section {
    background: #11100e;
    color: #ffffff;
}

    .footer-section .text-muted {
        color: rgba(255,255,255,.58) !important;
    }

    .footer-section .socials {
        display: flex;
        gap: 12px;
    }

        .footer-section .socials a {
            width: 42px;
            height: 42px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: rgba(255,255,255,.08);
            color: #ffffff;
            text-decoration: none;
        }

            .footer-section .socials a:hover {
                background: #bf8a4a;
            }


/* =========================
   LOGIN ADMIN
========================= */

.login-page {
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    background: linear-gradient(135deg, rgba(23,21,18,.92), rgba(23,21,18,.72)), url("../images/Fashion_Casme_Portada.png") center/cover no-repeat;
}

.login-card {
    width: min(100%, 420px);
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e7dfd5;
    box-shadow: 0 24px 65px rgba(0, 0, 0, .25);
}

    .login-card h2 {
        margin-bottom: 6px;
        font-family: Georgia, serif;
        font-weight: 900;
        color: #171512;
        text-align: center;
    }

    .login-card > p {
        text-align: center;
        margin-bottom: 26px;
    }

    .login-card .form-label {
        font-weight: 800;
        color: #24211f;
    }

    .login-card .form-control {
        min-height: 48px;
        border-radius: 12px;
        border-color: #ddd3c5;
    }

        .login-card .form-control:focus {
            border-color: #bf8a4a;
            box-shadow: 0 0 0 .2rem rgba(191, 138, 74, .16);
        }

    .login-card .form-check-input:checked {
        background-color: #171512;
        border-color: #171512;
    }

    .login-card .btn-brand {
        min-height: 48px;
        border-radius: 12px;
        font-weight: 900;
    }

@media (max-width: 576px) {
    .login-card {
        padding: 26px 20px;
    }
}

/* =========================
   CATÁLOGO - DETALLE PRODUCTO
========================= */

.product-gallery {
    width: 100%;
}

.product-carousel {
    overflow: hidden;
    border: 1px solid #e7dfd5;
    border-radius: 24px;
    background: #f7f2ea;
    box-shadow: 0 14px 34px rgba(31, 25, 19, .08);
}

    .product-carousel .carousel-inner {
        border-radius: 24px;
    }

    .product-carousel .carousel-item {
        background: #f7f2ea;
    }

.gallery-main-button {
    width: 100%;
    height: 560px;
    max-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: #f7f2ea;
    cursor: zoom-in;
}

    .gallery-main-button img {
        width: 100%;
        height: 100%;
        max-height: 560px;
        object-fit: contain;
        display: block;
    }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

    .gallery-thumbs button {
        width: 82px;
        height: 82px;
        flex: 0 0 82px;
        padding: 0;
        border: 2px solid transparent;
        border-radius: 14px;
        overflow: hidden;
        background: #f7f2ea;
    }

        .gallery-thumbs button.active {
            border-color: #bf8a4a;
        }

        .gallery-thumbs button img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

/* Flechas del carrusel */
.product-carousel .carousel-control-prev,
.product-carousel .carousel-control-next {
    width: 46px;
}

.product-carousel .carousel-control-prev-icon,
.product-carousel .carousel-control-next-icon {
    padding: 18px;
    border-radius: 999px;
    background-color: rgba(23, 21, 18, .72);
    background-size: 55%;
}

/* Modal de imagen grande */
.gallery-modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
}

.gallery-modal-img {
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 16px;
    background: #f7f2ea;
}

/* Panel de precio en detalle */
.price-panel {
    padding: 18px;
    border: 1px solid #e7dfd5;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(31, 25, 19, .06);
}

.price-table th {
    color: #6f6a64;
    font-weight: 800;
}

.price-table td {
    color: #171512;
}

.category {
    display: inline-block;
    margin-bottom: 10px;
    color: #8f5d27;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-main-button {
        height: 390px;
        max-height: 58vh;
    }

    .gallery-thumbs button {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }
}

@media (max-width: 480px) {
    .gallery-main-button {
        height: 330px;
    }
}

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

.section-title {
    margin-bottom: 28px;
}

    .section-title span {
        display: inline-block;
        margin-bottom: 8px;
        color: #8f5d27;
        font-size: .78rem;
        font-weight: 900;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .section-title h1 {
        margin: 0;
        font-family: Georgia, serif;
        font-weight: 900;
        color: #171512;
    }

.cart-empty {
    padding: 54px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7dfd5;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(31, 25, 19, .08);
}

.cart-empty-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 22px;
    background: #f7f2ea;
    color: #8f5d27;
    font-size: 2rem;
}

.cart-empty h3 {
    font-weight: 900;
    color: #171512;
}

.cart-empty p {
    color: #6f6a64;
}

.cart-list {
    display: grid;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 92px 1fr 120px 120px 130px 50px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e7dfd5;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(31, 25, 19, .07);
}

.cart-item-img img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid #e7dfd5;
    background: #f7f2ea;
}

.cart-item-info h5 {
    margin: 0 0 4px;
    font-weight: 900;
    color: #171512;
}

.cart-variant,
.cart-stock {
    margin: 0;
    color: #6f6a64;
    font-size: .86rem;
}

.cart-price-type {
    display: inline-block;
    margin: 6px 0;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f7f2ea;
    color: #8f5d27;
    font-size: .75rem;
    font-weight: 900;
}

.cart-item-price small,
.cart-item-qty small,
.cart-item-subtotal small {
    display: block;
    margin-bottom: 5px;
    color: #6f6a64;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cart-item-price strong,
.cart-item-subtotal strong {
    color: #171512;
    font-size: 1.05rem;
}

.cart-item-qty input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #ddd3c5;
    border-radius: 12px;
    padding: 8px 10px;
}

.cart-summary {
    margin-top: 22px;
    margin-left: auto;
    width: min(100%, 440px);
    display: grid;
    gap: 10px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e7dfd5;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(31, 25, 19, .08);
}

    .cart-summary > div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        color: #6f6a64;
    }

    .cart-summary strong {
        color: #171512;
    }

.cart-summary-total {
    padding-top: 12px;
    border-top: 1px solid #e7dfd5;
    font-size: 1.1rem;
}

    .cart-summary-total strong {
        font-size: 1.35rem;
    }

@media (max-width: 992px) {
    .cart-item {
        grid-template-columns: 82px 1fr;
    }

    .cart-item-price,
    .cart-item-qty,
    .cart-item-subtotal,
    .cart-item-actions {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-img img {
        width: 100%;
        height: 220px;
    }

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

/* =========================
   CHECKOUT
========================= */

.form-card,
.summary-card {
    padding: 28px;
    border: 1px solid #e7dfd5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(31, 25, 19, .08);
}

    .form-card h2 {
        margin-bottom: 14px;
        font-family: Georgia, serif;
        font-weight: 900;
        color: #171512;
    }

    .summary-card h4 {
        margin-bottom: 22px;
        font-weight: 900;
        color: #171512;
    }

.checkout-summary-list {
    display: grid;
    gap: 12px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e7dfd5;
}

    .checkout-summary-item strong {
        color: #171512;
    }

    .checkout-summary-item small {
        display: block;
        margin-top: 3px;
        color: #6f6a64;
    }

.checkout-totals {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

    .checkout-totals > div {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        color: #6f6a64;
    }

    .checkout-totals strong {
        color: #171512;
    }

.checkout-total-final {
    padding-top: 12px;
    border-top: 1px solid #e7dfd5;
    font-size: 1.15rem;
}

    .checkout-total-final strong {
        font-size: 1.35rem;
    }