/*
 * TIENDA DE ROPA - CSS MODERNO
 * Mobile First
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #b85c6e;
    --secondary: #d4707e;
    --accent: #c46b78;
    --gold: #e8a889;
    --light: #fdf8f8;
    --dark: #5c4a4a;
    --gray: #7a6565;
    --gray-light: #f0e6e6;
    --white: #ffffff;
    --success: #6bb387;
    --danger: #d47a7a;
    --warning: #e0a86e;
    --gradient: linear-gradient(135deg, #fce8e8 0%, #fff0f0 50%, #f9e4e4 100%);
    --shadow: 0 4px 20px rgba(184,92,110,0.12);
    --shadow-lg: 0 10px 40px rgba(184,92,110,0.18);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ========== BOTONES ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 112, 126, 0.4);
}
.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 92, 110, 0.5);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-light);
}
.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: var(--secondary); }

.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    padding: 80px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 2000;
}
.nav.active { left: 0; }

.nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.nav ul { list-style: none; }
.nav li { margin-bottom: 10px; }
.nav a {
    display: block;
    padding: 12px 16px;
    color: var(--dark);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav a:hover, .nav a.active {
    background: var(--secondary);
    color: var(--white);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1500;
}
.overlay.active { opacity: 1; visibility: visible; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}
.header-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--secondary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== HERO ========== */
.hero {
    background: var(--gradient);
    color: var(--dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(184,92,110,0.08);
    border-radius: 50%;
}
.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #4a3a3a;
}
.hero p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== SECCIONES ========== */
.section { padding: 60px 0; }
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 10px;
}
.section-header p {
    color: var(--gray);
    max-width: 500px;
    margin: 0 auto;
}

/* ========== PRODUCTOS ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--gray-light);
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    background: var(--secondary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
}
.product-badge.new { background: var(--success); }
.product-badge.sale { background: var(--danger); }

.product-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}
.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}
.product-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 12px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    color: var(--dark);
}
.product-actions .btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.product-info {
    padding: 20px;
}
.product-category {
    display: block;
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.product-name a { color: var(--dark); }
.product-name a:hover { color: var(--secondary); }

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
}
.price-old {
    font-size: 14px;
    color: var(--gray);
    text-decoration: line-through;
}

/* ========== CARRITO DRAWER ========== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 2000;
    transition: var(--transition);
}
.cart-drawer.active { right: 0; }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
}
.cart-header h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.cart-close:hover {
    background: var(--secondary);
    color: var(--white);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}
.cart-item-img {
    width: 80px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; margin-bottom: 4px; }
.cart-item-variant { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.cart-item-price { font-weight: 700; color: var(--secondary); }

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 10px;
    border: 1px solid var(--gray-light);
    border-radius: 50px;
    overflow: hidden;
}
.cart-item-qty button {
    width: 32px;
    height: 32px;
    background: var(--light);
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.cart-item-qty button:hover { background: var(--gray-light); }
.cart-item-qty span {
    width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 13px;
    cursor: pointer;
    margin-top: 8px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}
.cart-empty i { font-size: 60px; margin-bottom: 20px; opacity: 0.3; }

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-light);
    background: var(--light);
}
.cart-totals {
    margin-bottom: 15px;
}
.cart-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}
.cart-row.total {
    font-size: 18px;
    font-weight: 700;
    border-top: 2px solid var(--dark);
    padding-top: 15px;
    margin-top: 10px;
}

/* ========== DETALLE PRODUCTO ========== */
.product-detail {
    padding: 30px 0;
}

.product-gallery {
    margin-bottom: 30px;
}
.gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--gray-light);
}
.gallery-main img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.gallery-thumb {
    width: 70px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}
.gallery-thumb:hover, .gallery-thumb.active {
    border-color: var(--secondary);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}
.detail-price .old {
    font-size: 18px;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-desc {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.8;
}

/* VARIANTES */
.variant-group {
    margin-bottom: 25px;
}
.variant-label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}
.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.variant-btn {
    min-width: 50px;
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.variant-btn:hover { border-color: var(--secondary); }
.variant-btn.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}
.variant-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.color-btn:hover, .color-btn.active {
    box-shadow: 0 0 0 3px var(--secondary);
}
.color-btn.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-btn {
    width: 48px;
    height: 48px;
    background: var(--light);
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--secondary); color: var(--white); }
.qty-input {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
}

.stock-status {
    margin-top: 10px;
    font-size: 14px;
    color: var(--success);
}
.stock-status.low { color: var(--warning); }
.stock-status.out { color: var(--danger); }

.add-cart-btn {
    margin-top: 25px;
}

/* ========== FORMULARIOS ========== */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 15px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--secondary);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* ========== CHECKOUT ========== */
.checkout-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}
.checkout-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 10px;
}
.shipping-option:hover, .shipping-option.active {
    border-color: var(--secondary);
    background: rgba(233, 69, 96, 0.05);
}
.shipping-option input { display: none; }
.shipping-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
}
.shipping-info { flex: 1; }
.shipping-name { font-weight: 600; }
.shipping-time { font-size: 13px; color: var(--gray); }
.shipping-price { font-size: 18px; font-weight: 700; color: var(--secondary); }

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}
.footer h4 {
    font-size: 16px;
    margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--white); }

.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--secondary);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ========== ADMIN ========== */
.admin-layout {
    min-height: 100vh;
    background: var(--light);
}
.admin-header {
    background: var(--dark);
    color: var(--white);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}
.admin-header .logo { color: var(--white); font-size: 20px; }

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 62px;
    width: 260px;
    height: calc(100vh - 62px);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 25px 0;
    overflow-y: auto;
    z-index: 99;
    transform: translateX(-100%);
    transition: var(--transition);
}
.admin-sidebar.active { transform: translateX(0); }

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: var(--gray);
    font-weight: 500;
    transition: var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
    background: var(--light);
    color: var(--secondary);
}
.admin-nav i { font-size: 18px; }

.admin-content {
    padding: 25px;
    min-height: calc(100vh - 62px);
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}
.admin-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th, .admin-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}
.admin-table th {
    background: var(--light);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-table tr:hover { background: var(--light); }

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
.status-pendiente-pago { background: #fef3cd; color: #856404; }
.status-pagado { background: #d4edda; color: #155724; }
.status-enviado { background: #cce5ff; color: #004085; }
.status-entregado { background: #d4edda; color: #155724; }
.status-cancelado { background: #f8d7da; color: #721c24; }

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary);
}
.stat-card h4 {
    font-size: 28px;
    margin-bottom: 5px;
}
.stat-card p {
    color: var(--gray);
    font-size: 14px;
}

/* ========== ALERTAS ========== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }
.alert-warning { background: #fff3cd; color: #856404; }

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .menu-btn { display: none; }
    .nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        transform: none;
    }
    .nav-close { display: none; }
    .nav ul { display: flex; gap: 5px; }
    .nav li { margin: 0; }
    .nav a { padding: 10px 16px; border-radius: 50px; }
    
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    
    .product-detail .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: start;
    }
    .product-gallery { margin-bottom: 0; }
    
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    
    .admin-sidebar { transform: translateX(0); }
    .admin-content { margin-left: 260px; }
    
    .checkout-grid {
        display: grid;
        grid-template-columns: 1fr 400px;
        gap: 30px;
        align-items: start;
    }
}

@media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .hero { padding: 120px 0; }
    .section { padding: 80px 0; }
}

/* ========== UTILIDADES ========== */
.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-2 { margin-top: 20px; }
.d-flex { display: flex; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* ========== WHATSAPP FLOTANTE ========== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fce8e8;
}

.slider {
    position: relative;
    height: 500px;
    width: 100%;
}

.slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fce8e8;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide img {
    height: 100%;
    width: auto;
    max-width: none;
}

.slide-content {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    padding: 20px 35px;
    background: rgba(92, 74, 74, 0.85);
    border-radius: var(--radius);
    max-width: 90%;
    width: auto;
    z-index: 5;
}

.slide-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap;
}

.slide-content p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.slide-content .btn {
    padding: 10px 25px;
    font-size: 14px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark);
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: var(--secondary);
    color: white;
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(92,74,74,0.3);
}

.dot.active, .dot:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

@media (min-width: 768px) {
    .slider {
        height: 600px;
    }
    
    .slide-content {
        bottom: 50px;
        padding: 25px 45px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .slider {
        height: 700px;
    }
}

/* ========== BENEFITS SECTION ========== */
.benefits-section {
    background: var(--light);
    padding: 40px 0;
}

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

.benefit-item {
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.benefit-item i {
    font-size: 35px;
    color: var(--secondary);
    margin-bottom: 12px;
    display: block;
}

.benefit-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

@media (min-width: 768px) {
    .slider {
        height: 70vh;
        max-height: 700px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .benefit-item {
        padding: 30px 20px;
    }
    
    .benefit-item i {
        font-size: 40px;
    }
    
    .benefit-item h4 {
        font-size: 16px;
    }
    
    .benefit-item p {
        font-size: 14px;
    }
}
