*{
    box-sizing:border-box;
}

html, body{
    margin:0;
    padding:0;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#faf7f9;
    color:#333333;
}

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

a{
    text-decoration:none;
}

.container{
    width:100%;
    max-width:1240px;
    margin:0 auto;
    padding-left:32px;
    padding-right:32px;
}

/* TOPBAR */

.topbar{
    background:#b0307c;
    color:#ffffff;
    font-size:14px;
}

.topbar-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    min-height:52px;
}

/* HEADER */

.site-header{
    background:#ffffff;
    border-bottom:1px solid #eee;
}

.header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    flex-wrap:wrap;
    min-height:96px;
    padding-top:10px;
    padding-bottom:10px;
}

.logo{
    display:flex;
    align-items:center;
}

.logo a{
    display:block;
}

.logo img{
    height:84px;
    width:auto;
    display:block;
}

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

.main-nav a{
    color:#333333;
    font-weight:700;
    font-size:16px;
}

.main-nav a:hover{
    color:#b0307c;
}

/* HERO */

.hero-home{
    background:
        radial-gradient(circle at top right, rgba(176,48,124,.08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fcf7fa 100%);
    border-bottom:1px solid #f0e4eb;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:42px;
    align-items:center;
    min-height:560px;
    padding:50px 0;
}

.hero-copy{
    max-width:760px;
}

.hero-badge{
    display:inline-block;
    background:#f7e6ef;
    color:#b0307c;
    padding:10px 18px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    margin-bottom:22px;
}

.hero h1{
    font-size:58px;
    line-height:1.08;
    margin:0 0 18px;
    color:#222222;
}

.hero p{
    font-size:21px;
    line-height:1.75;
    margin:0;
    color:#555555;
    max-width:760px;
}

.hero-actions{
    margin-top:30px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.hero-visual{
    display:flex;
    justify-content:center;
}

.hero-card{
    width:100%;
    max-width:520px;
    min-height:420px;
    border-radius:28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,238,243,.95)),
        url('/assets/img/hero-boutique.jpg');
    background-size:cover;
    background-position:center;
    border:1px solid #ecdce4;
    box-shadow:0 18px 40px rgba(176,48,124,.08);
    display:flex;
    align-items:flex-end;
    overflow:hidden;
}

.hero-card-inner{
    width:100%;
    padding:34px;
    background:linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.78));
    backdrop-filter:blur(2px);
}

.hero-card-tag{
    display:inline-block;
    margin-bottom:12px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#b0307c;
}

.hero-card h3{
    margin:0 0 10px;
    font-size:34px;
    line-height:1.2;
    color:#333333;
}

.hero-card p{
    margin:0;
    font-size:17px;
    line-height:1.7;
    color:#555555;
}

/* BUTTONS */

.btn{
    display:inline-block;
    padding:14px 24px;
    background:#b0307c;
    color:#ffffff;
    border-radius:10px;
    font-weight:700;
    font-size:15px;
    border:1px solid #b0307c;
}

.btn:hover{
    opacity:.92;
}

.btn-outline{
    background:#ffffff;
    color:#b0307c;
}

/* SECTIONS */

.section{
    padding:68px 0;
}

.section-soft{
    background:linear-gradient(180deg, #fbf7fa 0%, #ffffff 100%);
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:15px;
    flex-wrap:wrap;
    margin-bottom:24px;
}

.section h2{
    margin:0;
    color:#b0307c;
    font-size:38px;
}

.section-sub{
    margin:8px 0 0;
    color:#666666;
    font-size:16px;
}

/* CATEGORIES */

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:22px;
}

.category-card{
    background:#ffffff;
    border:1px solid #eeeeee;
    border-radius:18px;
    padding:26px;
    box-shadow:0 6px 18px rgba(0,0,0,0.04);
}

.category-card h3{
    margin:0 0 10px;
    color:#333333;
    font-size:22px;
}

.category-card a{
    color:#b0307c;
    font-weight:700;
}

.category-card-image{
    overflow:hidden;
    padding:0;
}

.category-card-thumb{
    width:100%;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#f3f3f3;
    display:block;
}

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

.category-card-body{
    padding:20px 22px 22px;
}

/* PRODUCTS */

.grid-productos{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:24px;
}

.card-producto{
    background:#ffffff;
    border:1px solid #ececec;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
    transition:transform .15s ease, box-shadow .15s ease;
}

.card-producto:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 24px rgba(0,0,0,0.08);
}

.card-producto img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    background:#f3f3f3;
}

.card-producto-body{
    padding:18px;
}

.card-producto-body h3{
    margin:0 0 10px;
    font-size:19px;
    color:#333333;
}

.price{
    font-weight:700;
    color:#b0307c;
    font-size:18px;
    margin-bottom:12px;
}

.product-badge{
    display:inline-block;
    margin-bottom:10px;
    padding:7px 12px;
    border-radius:999px;
    background:#f7e6ef;
    color:#b0307c;
    font-size:12px;
    font-weight:700;
    letter-spacing:.02em;
}

.product-link{
    color:#333333;
}

.product-link:hover{
    color:#b0307c;
}

.empty-box{
    background:#ffffff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:40px 30px;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

.empty-box h3{
    margin:0 0 12px;
    color:#b0307c;
    font-size:28px;
}

.empty-box p{
    margin:0;
    color:#666666;
    font-size:16px;
    line-height:1.7;
}

/* PRODUCT PAGE */

.product-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:34px;
    align-items:start;
}

.product-gallery{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.product-main-image{
    background:#ffffff;
    border:1px solid #ececec;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

.product-main-image img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    background:#f3f3f3;
}

.product-image-placeholder{
    min-height:420px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#777777;
    font-size:18px;
    background:#f7f7f7;
}

.product-thumb-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(90px, 1fr));
    gap:12px;
}

.product-thumb{
    padding:0;
    border:1px solid #ececec;
    border-radius:14px;
    overflow:hidden;
    background:#ffffff;
    cursor:pointer;
    transition:all .15s ease;
}

.product-thumb.is-active{
    border-color:#b0307c;
    box-shadow:0 0 0 2px rgba(176,48,124,.15);
}

.product-thumb:hover{
    border-color:#d98ab5;
}

.product-thumb img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    background:#f3f3f3;
}

.product-info-box{
    background:#ffffff;
    border:1px solid #ececec;
    border-radius:22px;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

.product-info-inner{
    padding:28px;
}

.product-page-badge{
    display:inline-block;
    margin-bottom:12px;
    padding:7px 12px;
    border-radius:999px;
    background:#f7e6ef;
    color:#b0307c;
    font-size:12px;
    font-weight:700;
}

.product-title{
    margin:0 0 12px;
    font-size:40px;
    line-height:1.15;
    color:#222222;
}

.product-page-price{
    margin:0 0 18px;
    font-size:28px;
    font-weight:700;
    color:#b0307c;
}

.product-description{
    color:#555555;
    font-size:17px;
    line-height:1.8;
    margin-bottom:20px;
}

.product-form label{
    display:block;
    margin-bottom:8px;
    font-size:15px;
    font-weight:700;
    color:#333333;
}

.product-form select,
.product-form input[type="number"]{
    width:100%;
    padding:14px 16px;
    margin-bottom:16px;
    border:1px solid #dcdcdc;
    border-radius:12px;
    font-size:16px;
    background:#ffffff;
    color:#333333;
}

.product-form-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:10px;
}

.product-note{
    margin-top:20px;
    padding:16px 18px;
    border-radius:14px;
    background:#fcf4f8;
    color:#6a5661;
    font-size:15px;
    line-height:1.7;
    border:1px solid #f0dfe8;
}

/* CART */

.cart-layout{
    display:grid;
    grid-template-columns:1.4fr .8fr;
    gap:28px;
    align-items:start;
}

.cart-table-wrap{
    background:#ffffff;
    border:1px solid #ececec;
    border-radius:18px;
    overflow:auto;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

.cart-table{
    width:100%;
    border-collapse:collapse;
    min-width:760px;
}

.cart-table th,
.cart-table td{
    padding:16px;
    border-bottom:1px solid #f0f0f0;
    text-align:left;
    vertical-align:middle;
}

.cart-table th{
    background:#fbf7fa;
    color:#555555;
    font-size:14px;
}

.cart-product-name{
    font-weight:700;
    color:#333333;
}

.cart-qty-input{
    width:90px;
    padding:10px 12px;
    border:1px solid #dcdcdc;
    border-radius:10px;
    font-size:15px;
}

.cart-summary-box{
    background:#ffffff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:24px;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
    position:sticky;
    top:20px;
}

.cart-summary-box h3{
    margin:0 0 18px;
    color:#b0307c;
    font-size:26px;
}

.cart-summary-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    font-size:18px;
    margin-bottom:16px;
}

.cart-summary-note{
    color:#666666;
    font-size:15px;
    line-height:1.8;
    margin-bottom:20px;
}

.cart-summary-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.btn-danger-light{
    background:#fff3f3;
    color:#b42318;
    border:1px solid #f1c7c7;
}

/* CHECKOUT */

.checkout-layout{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:28px;
    align-items:start;
}

.checkout-form-box,
.checkout-summary-box{
    background:#ffffff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:24px;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

.checkout-form label{
    display:block;
    margin-bottom:8px;
    font-size:15px;
    font-weight:700;
    color:#333333;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea{
    width:100%;
    padding:14px 16px;
    margin-bottom:16px;
    border:1px solid #dcdcdc;
    border-radius:12px;
    font-size:16px;
    background:#ffffff;
    color:#333333;
}

.checkout-form textarea{
    min-height:110px;
    resize:vertical;
}

.checkout-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.checkout-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:10px;
}

.checkout-summary-box h3{
    margin:0 0 18px;
    color:#b0307c;
    font-size:26px;
}

.checkout-item{
    padding:0 0 16px;
    margin:0 0 16px;
    border-bottom:1px solid #f0f0f0;
}

.checkout-item-name{
    font-weight:700;
    color:#333333;
    margin-bottom:6px;
}

.checkout-item-meta{
    font-size:14px;
    color:#777777;
    margin-bottom:8px;
}

.checkout-item-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    font-size:15px;
    color:#555555;
}

.checkout-total-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    font-size:20px;
    margin-top:8px;
    margin-bottom:18px;
}

.checkout-note{
    color:#666666;
    font-size:15px;
    line-height:1.8;
    margin:0;
}

.alert-error-box{
    background:#ffe3e3;
    color:#8a0000;
    padding:14px 16px;
    border-radius:12px;
    margin-bottom:20px;
    border:1px solid #f1c1c1;
}

/* TESTIMONIO HERO */

.hero-testimonio-card{
    position:relative;
    width:100%;
    max-width:520px;
    min-height:420px;
    border-radius:28px;
    overflow:hidden;
    border:1px solid #ecdce4;
    box-shadow:0 18px 40px rgba(176,48,124,.08);
    background:#ffffff;
}

.hero-testimonio-card img{
    width:100%;
    height:100%;
    min-height:420px;
    object-fit:cover;
    display:block;
    background:#f3f3f3;
}

.hero-testimonio-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:26px;
    background:linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.62) 100%);
    color:#ffffff;
}

.hero-testimonio-texto{
    margin:8px 0 10px;
    font-size:18px;
    line-height:1.6;
    color:#ffffff !important;
}

.hero-testimonio-nombre{
    font-size:15px;
    font-weight:700;
    color:#ffffff;
}

/* FOOTER */

.footer{
    background:linear-gradient(180deg, #ffffff 0%, #f8eef3 100%);
    border-top:1px solid #ecdce4;
    margin-top:60px;
    padding:50px 0 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:30px;
    align-items:start;
}

.footer h4{
    margin:0 0 14px;
    font-size:26px;
    color:#b0307c;
}

.footer p{
    margin:0;
    line-height:1.8;
    color:#5e4c55;
    font-size:17px;
}

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

.footer-links li{
    margin-bottom:12px;
}

.footer-links a{
    color:#333333;
    font-size:18px;
    font-weight:600;
}

.footer-links a:hover{
    color:#b0307c;
}

.footer-bottom{
    margin-top:30px;
    padding-top:18px;
    border-top:1px solid #ead6df;
    text-align:center;
    font-size:15px;
    color:#7f6a73;
}

/* WHATSAPP */

.floating-wa{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:999;
    background:#25D366;
    color:#ffffff;
    padding:14px 18px;
    border-radius:999px;
    font-weight:700;
    box-shadow:0 10px 25px rgba(0,0,0,.18);
    font-size:15px;
    line-height:1;
}

.floating-wa:hover{
    opacity:.92;
}

/* LARGE SCREENS */

@media screen and (min-width: 1500px){
    .container{
        max-width:1280px;
        padding-left:40px;
        padding-right:40px;
    }
}

/* MOBILE */

@media screen and (max-width: 991px){
    .container{
        padding-left:22px;
        padding-right:22px;
    }

    .topbar-inner{
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:6px;
        padding-top:10px;
        padding-bottom:10px;
        min-height:auto;
        text-align:center;
    }

    .header-inner{
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:4px;
        padding-top:8px;
        padding-bottom:8px;
        min-height:auto;
    }

    .logo{
        width:100%;
        text-align:center;
    }

    .logo a{
        display:block;
        width:100%;
    }

    .logo img{
        display:block;
        width:100%;
        max-width:100%;
        height:auto;
        max-height:unset;
        margin:0 auto;
    }

    .main-nav{
        width:100%;
        gap:18px;
        justify-content:center;
    }

    .main-nav a{
        font-size:15px;
    }

    .hero-grid{
        grid-template-columns:1fr;
        gap:24px;
        min-height:auto;
        padding:42px 0;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:18px;
        line-height:1.7;
    }

    .hero-card{
        min-height:260px;
    }

    .hero-card h3{
        font-size:26px;
    }

    .hero-testimonio-card,
    .hero-testimonio-card img{
        min-height:260px;
    }

    .hero-testimonio-overlay{
        padding:18px;
    }

    .hero-testimonio-texto{
        font-size:16px;
    }

    .grid-productos,
    .category-grid,
    .footer-grid,
    .product-layout,
    .cart-layout,
    .checkout-layout{
        grid-template-columns:1fr;
    }

    .section{
        padding:46px 0;
    }

    .section h2{
        font-size:32px;
    }

    .cart-summary-box{
        position:static;
    }

    .checkout-grid{
        grid-template-columns:1fr;
        gap:0;
    }

    .cart-summary-actions,
    .checkout-actions,
    .product-form-actions{
        flex-direction:column;
    }

    .footer{
        padding:40px 0 90px;
    }
}

@media screen and (max-width: 640px){
    .hero h1{
        font-size:32px;
    }

    .hero p{
        font-size:16px;
    }

    .hero-actions{
        gap:12px;
    }

    .btn{
        padding:13px 20px;
    }

    .floating-wa{
        right:14px;
        bottom:14px;
    }
}