/* ========================================
   VARIABLES & FONTS
======================================== */
:root {
    /* Couleurs principales */
    --champagne: #F6ECD8;
    --cream: #FAF7F2;
    --cocoa: #B08070;
    --cocoa-dark: #9A6B58;
    --gold: #CCA748;
    --gold-light: #D9B857;
    --rose: #FF6B8F;
    --rose-soft: #FF8BA5;
    --accent: #E6D8C8;
    --white: #FFFFFF;
    
    /* Couleurs de fond */
    --bg-main: #FAF6F3;
    --bg-card: #FFF9F2;
    --bg-alt: #F6ECD8;
    
    /* Couleurs de texte */
    --text-main: #3F2A1F;
    --text-secondary: #6E503D;
    --text-muted: #988977;
    
    /* Ombres */
    --shadow-sm: 0 2px 6px rgba(103, 62, 48, 0.08);
    --shadow-md: 0 6px 20px rgba(103, 62, 48, 0.12);
    --shadow-lg: 0 8px 28px rgba(103, 62, 48, 0.18);
    --shadow-xl: 0 12px 40px rgba(103, 62, 48, 0.25);
    
    /* Effets glow */
    --glow-soft: 0 0 8px rgba(255, 107, 143, 0.3), 
                 0 0 15px rgba(255, 107, 143, 0.2),
                 0 0 25px rgba(204, 167, 72, 0.15);
    --glow-intense: 0 0 12px rgba(255, 107, 143, 0.5), 
                    0 0 24px rgba(255, 107, 143, 0.3),
                    0 0 35px rgba(204, 167, 72, 0.25);
    
    /* Bordures */
    --border-soft: 2px solid rgba(204, 167, 72, 0.3);
    --border-accent: 2px solid rgba(255, 107, 143, 0.4);
    
    /* Bordures arrondies */
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-full: 9999px;
}

/* ========================================
   BASE
======================================== */
* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, var(--bg-main) 0%, var(--bg-alt) 100%);
    color: var(--text-main);
    font-family: 'Inter', 'Georgia', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

/* ========================================
   HERO
======================================== */
.nc-hero-content {
    text-align: center;
    padding: 3rem 2rem;
    backdrop-filter: blur(12px);
}

.nc-hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--cocoa-dark);
    font-family: 'Georgia', serif;
    white-space: nowrap;
}

.nc-hero-content h1 span {
    background: linear-gradient(120deg, var(--rose), var(--rose-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(var(--glow-soft));
}

/* ========================================
   CONTAINER & LAYOUT
======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .main-layout {
        grid-template-columns: 70% 30%;
    }
}

.boxes-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ========================================
   FEATURED BOX (Personnalisable)
======================================== */
.featured-box {
    background: linear-gradient(145deg, var(--bg-card), var(--cream));
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-accent);
    box-shadow: var(--shadow-lg);
    transition: all 0.5s ease;
}

.featured-box:hover {
    box-shadow: var(--shadow-xl), var(--glow-soft);
}

.featured-box-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .featured-box-inner {
        grid-template-columns: 40% 60%;
    }
}

.featured-box-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

@media (min-width: 768px) {
    .featured-box-image {
        aspect-ratio: auto;
    }
}

.featured-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-box:hover .featured-box-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--rose), var(--rose-soft));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--glow-soft);
}

.featured-box-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.featured-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--cocoa-dark);
}

.featured-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.featured-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    text-align: center;
}

.benefit-item i {
    color: var(--rose);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(var(--glow-soft));
}

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

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.featured-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.price-value {
    font-size: 1.875rem;
    font-family: 'Playfair Display', serif;
    color: var(--cocoa);
}

.btn-featured {
    background: linear-gradient(135deg, var(--gold), var(--rose-soft));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-md), var(--glow-soft);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-featured:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--rose));
    box-shadow: var(--shadow-lg), var(--glow-intense);
    transform: translateY(-2.5px);
}

/* ========================================
   BOXES SECTION
======================================== */
.boxes-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-header {
    max-width: 42rem;
}

.section-title {
    font-size: 1.875rem;
    margin-bottom: 0.5rem;
    color: var(--cocoa-dark);
}

.section-subtitle {
    color: var(--text-secondary);
    font-weight: 300;
}

.boxes-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ========================================
   BOX CARD
======================================== */
.box-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: var(--shadow-sm);
    border: var(--border-soft);
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .box-card {
        grid-template-columns: 40% 60%;
    }
}

.box-card:hover {
    box-shadow: var(--shadow-xl), var(--glow-soft);
    border-color: var(--rose-soft);
}

.box-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

@media (min-width: 768px) {
    .box-image {
        aspect-ratio: auto;
    }
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.stock-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.stock-badge.out-of-stock {
    background: #ef4444;
}

.stock-badge.low-stock {
    background: #f97316;
}

.box-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.box-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.box-title {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--cocoa-dark);
}

.box-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.box-composition {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(246, 236, 216, 0.4);
    border-radius: var(--radius-md);
}

.composition-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.composition-title i {
    color: var(--rose);
}

.composition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.composition-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.composition-item i {
    color: var(--gold);
    font-size: 0.75rem;
}

.box-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(230, 216, 200, 0.3);
    flex-wrap: wrap;
    gap: 1rem;
}

.box-info {
    display: flex;
    flex-direction: column;
}

.stock-info {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.stock-info i.fa-check-circle {
    color: #10b981;
}

.stock-info i.fa-times-circle {
    color: #ef4444;
}

.box-price {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--cocoa);
}

.box-form {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ========================================
   QUANTITY CONTROLS
======================================== */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(246, 236, 216, 0.5);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
}

.qty-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: white;
    color: var(--cocoa);
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 600;
}

.qty-btn:hover {
    background: linear-gradient(135deg, var(--gold), var(--rose-soft));
    color: white;
    border-color: var(--rose-soft);
    transform: scale(1.1);
    box-shadow: var(--glow-soft);
}

.qty-input {
    width: 2rem;
    text-align: center;
    font-weight: 500;
    background: transparent;
    border: none;
    color: var(--cocoa);
    font-size: 1rem;
}

.qty-input:focus {
    outline: none;
}

/* ========================================
   BUTTONS
======================================== */
.btn-add-cart {
    background: var(--cocoa);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid var(--cocoa);
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-add-cart:hover {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: var(--shadow-md), 0 0 20px rgba(204, 167, 72, 0.4);
    transform: translateY(-2px);
}

.btn-disabled {
    background: #D5D0C8;
    color: #8B8378;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
}

/* ========================================
   EMPTY STATE
======================================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    border: var(--border-soft);
}

.empty-state i {
    font-size: 4rem;
    color: rgba(103, 62, 48, 0.2);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.btn-back {
    display: inline-block;
    background: var(--cocoa);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* ========================================
   SIDEBAR
======================================== */
.sidebar {
    position: static;
}

@media (min-width: 1024px) {
    .sidebar {
        position: sticky;
        top: 2rem;
        max-height: calc(100vh - 4rem);
    }
}

.sidebar-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: var(--border-soft);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--cocoa-dark);
}

.sidebar-subtitle {
    font-size: 0.625rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    font-weight: 700;
}

/* ========================================
   BOX PREVIEW
======================================== */
.box-preview {
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: rgba(246, 236, 216, 0.4);
    border-radius: var(--radius-md);
    border: var(--border-soft);
}

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

.preview-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.preview-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--rose);
    text-shadow: var(--glow-soft);
}

.box-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.box-slot {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    border: 1px solid var(--accent);
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.box-slot.filled {
    background: linear-gradient(135deg, var(--gold) 0%, var(--rose-soft) 100%);
    border: 2px solid var(--rose);
    box-shadow: var(--glow-soft);
    transform: scale(1.05);
    animation: slotFill 0.3s ease;
}

@keyframes slotFill {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.progress-bar-wrapper {
    height: 0.25rem;
    width: 100%;
    background: white;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--rose));
    border-radius: var(--radius-full);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s ease;
}

/* ========================================
   SIDEBAR PRODUCTS
======================================== */
.sidebar-products {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    max-height: 16rem;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.sidebar-products::-webkit-scrollbar {
    width: 4px;
}

.sidebar-products::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-products::-webkit-scrollbar-thumb {
    background: rgba(204, 167, 72, 0.3);
    border-radius: var(--radius-full);
}

.sidebar-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--champagne);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose);
}

.product-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cocoa);
}

.product-price {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   SIDEBAR FOOTER
======================================== */
.sidebar-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(230, 216, 200, 0.3);
}

.total-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.total-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
}

.total-price {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--cocoa);
}

.btn-customize {
    width: 100%;
    background: linear-gradient(135deg, var(--rose), var(--gold));
    color: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-md), var(--glow-intense);
}

.btn-customize:hover {
    background: linear-gradient(135deg, var(--rose-soft), var(--gold-light));
    box-shadow: var(--shadow-lg), var(--glow-intense);
    transform: translateY(-2px);
}

/* ========================================
   MODAL
======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

.modal.active .modal-container {
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

.modal-wrapper {
    position: relative;
    z-index: 10000;
    width: 90%;
    max-width: 90rem;
    max-height: 90vh;
}

.modal-container {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   MODAL HEADER
======================================== */
.modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(230, 216, 200, 0.3);
    background: linear-gradient(to right, var(--champagne), white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-content h2 {
    font-size: 1.875rem;
    color: var(--cocoa-dark);
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.modal-close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(230, 216, 200, 0.3);
}

.modal-close i {
    color: var(--cocoa);
    font-size: 1.25rem;
}

/* ========================================
   MODAL PROGRESS
======================================== */
.modal-progress {
    padding: 1.5rem 2rem;
    background: rgba(246, 236, 216, 0.3);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cocoa);
}

.progress-count {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--rose);
    text-shadow: var(--glow-soft);
}

.progress-bar-container {
    height: 0.5rem;
    width: 100%;
    background: white;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rose), var(--gold));
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

/* ========================================
   MODAL BODY
======================================== */
.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(246, 236, 216, 0.3);
    border-radius: var(--radius-full);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: var(--radius-full);
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--rose);
}

.cookies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

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

/* ========================================
   COOKIE CARD
======================================== */
.cookie-card {
    background: white;
    border-radius: var(--radius-lg);
    border: var(--border-soft);
    overflow: hidden;
    transition: all 0.3s ease;
}

.cookie-card:hover {
    box-shadow: var(--shadow-lg), var(--glow-soft);
    border-color: var(--rose-soft);
}

.cookie-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.cookie-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cookie-card:hover .cookie-image img {
    transform: scale(1.1);
}

.cookie-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #f97316;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
}

.cookie-info {
    padding: 1rem;
}

.cookie-name {
    font-weight: 500;
    color: var(--cocoa);
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.cookie-price {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.cookie-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(246, 236, 216, 0.5);
    border-radius: var(--radius-full);
    padding: 0.5rem 0.75rem;
}

.cookie-btn {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: white;
    color: var(--cocoa);
    cursor: pointer;
    transition: all 0.25s ease;
}

.cookie-btn:not(:disabled):hover {
    background: linear-gradient(135deg, var(--gold), var(--rose-soft));
    color: white;
    border-color: var(--rose-soft);
    transform: scale(1.1);
    box-shadow: var(--glow-soft);
}

.cookie-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f3f4f6;
    border-color: #d1d5db;
}

.cookie-qty-input {
    width: 2rem;
    text-align: center;
    font-weight: 700;
    background: transparent;
    border: none;
    color: var(--cocoa);
}

.cookie-qty-input:focus {
    outline: none;
}

/* ========================================
   MODAL FOOTER
======================================== */
.modal-footer {
    padding: 2rem;
    border-top: 1px solid rgba(230, 216, 200, 0.3);
    background: rgba(246, 236, 216, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-reset {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--cocoa);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-reset:hover {
    background: var(--gold);
    color: white;
    box-shadow: var(--glow-soft);
    transform: translateY(-2px);
}

.btn-validate {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--rose), var(--gold));
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-md), var(--glow-intense);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-validate:not(:disabled):hover {
    background: linear-gradient(135deg, var(--rose-soft), var(--gold-light));
    box-shadow: var(--shadow-lg), var(--glow-intense);
    transform: translateY(-2px);
}

.btn-validate:disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-validate.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3), var(--glow-soft);
    cursor: pointer;
    animation: btnPulse 2s infinite;
}

.btn-validate.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5), var(--glow-intense);
}

@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    }
}

/* ========================================
   NOTIFICATIONS
======================================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 99999;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 380px;
    font-family: 'Inter', sans-serif;
    border-left: 4px solid transparent;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left-color: #10b981;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), white);
}

.notification-success i {
    color: #10b981;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
}

.notification-error {
    border-left-color: #ef4444;
    background: linear-gradient(to right, rgba(239, 68, 68, 0.1), white);
}

.notification-error i {
    color: #ef4444;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.3));
}

.notification-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.1), white);
}

.notification-warning i {
    color: #f59e0b;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.3));
}

.notification-info {
    border-left-color: #3b82f6;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), white);
}

.notification-info i {
    color: #3b82f6;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.notification span {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-main);
}

/* ========================================
   ACCESSIBILITY
======================================== */
.cookie-btn:focus,
.btn-validate:focus,
.btn-reset:focus,
.btn-featured:focus,
.btn-customize:focus,
.btn-add-cart:focus {
    outline: 3px solid var(--rose-soft);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 430px) {

    /* ========== HERO ========== */
    .nc-hero-content {
        padding: 1.25rem 1rem !important;
    }

    .nc-hero-content h1 {
        font-size: 2.2rem !important;
        white-space: normal !important;
    }

    /* ========== CONTAINER & LAYOUT ========== */
    .container {
        padding: 1rem !important;
    }

    .main-layout {
        gap: 1.25rem !important;
    }

    .boxes-main {
        gap: 1.25rem !important;
    }

    /* ========== FEATURED BOX ========== */
    .featured-box-image {
    width: 100%;
    aspect-ratio: 16/9 !important;
    max-height: 200px !important;
    object-fit: cover;
    display: block;
}

    .featured-box-content {
        padding: 1rem !important;
    }

    .featured-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
    }

    .featured-description {
        font-size: 0.8rem !important;
        margin-bottom: 0.75rem !important;
    }

    .featured-benefits {
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .benefit-item {
        padding: 0.4rem !important;
    }

    .benefit-item i {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .benefit-item span {
        font-size: 0.65rem !important;
    }

    .featured-footer {
        padding-top: 0.75rem !important;
        gap: 0.5rem !important;
    }

    .price-value {
        font-size: 1.3rem !important;
    }

    .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
     margin: 30px auto;
}

    .btn-featured {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.75rem !important;
    }

    .featured-badge {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.6rem !important;
    }

    /* ========== SECTION HEADER ========== */
    .section-title {
        font-size: 1.3rem !important;
    }

    .section-subtitle {
        font-size: 0.8rem !important;
    }

    .boxes-list {
        gap: 1rem !important;
    }

    /* ========== BOX CARD ========== */
    .box-image {
        aspect-ratio: 16/9 !important;
        max-height: 180px !important;
        width: 100%;
    overflow: hidden;
    }



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

    .box-content {
        padding: 3rem !important;
    }

    .box-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .box-description {
        font-size: 0.8rem !important;
        margin-bottom: 0.75rem !important;
    }

    .box-composition {
        padding: 0.6rem !important;
        margin-bottom: 0.75rem !important;
    }

    .composition-grid {
        grid-template-columns: 1fr !important;
        gap: 0.25rem !important;
    }

    .composition-item {
        font-size: 0.75rem !important;
    }

    .box-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-top: 0.75rem !important;
        gap: 0.75rem !important;
    }

    .box-price {
        font-size: 1.2rem !important;
    }

    .box-form {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .qty-controls {
        padding: 0.35rem 0.75rem !important;
        gap: 0.5rem !important;
    }

    .qty-btn {
        width: 1.6rem !important;
        height: 1.6rem !important;
        font-size: 0.7rem !important;
    }

    .btn-add-cart,
    .btn-disabled {
        padding: 0.6rem 1rem !important;
        font-size: 0.75rem !important;
    }

    /* ========== SIDEBAR ========== */
    .sidebar-content {
        padding: 1rem !important;
    }

    .sidebar-header {
        margin-bottom: 0.75rem !important;
    }

    .sidebar-title {
        font-size: 1.1rem !important;
    }

    .box-preview {
        padding: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .box-slots {
        gap: 0.4rem !important;
        margin-bottom: 0.75rem !important;
    }

    .sidebar-products {
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
        max-height: 10rem !important;
    }

    .product-name {
        font-size: 0.75rem !important;
    }

    .sidebar-footer {
        padding-top: 0.75rem !important;
    }

    .total-price {
        font-size: 1.1rem !important;
    }

    .btn-customize {
        padding: 0.75rem !important;
        font-size: 0.7rem !important;
    }

    /* ========== MODAL ========== */
    .modal-wrapper {
        width: 100% !important;
        max-height: 100vh !important;
    }

    .modal-container {
        border-radius: 1rem 1rem 0 0 !important;
        max-height: 95vh !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }

    .modal-header {
        padding: 1rem !important;
    }

    .modal-header-content h2 {
        font-size: 1.1rem !important;
    }

    .modal-subtitle {
        font-size: 0.75rem !important;
    }

    .modal-progress {
        padding: 0.75rem 1rem !important;
    }

    .modal-body {
        padding: 0.75rem !important;
    }

    .cookies-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .cookie-info {
        padding: 0.6rem !important;
    }

    .cookie-name {
        font-size: 0.75rem !important;
    }

    .cookie-price {
        font-size: 0.65rem !important;
        margin-bottom: 0.5rem !important;
    }

    .cookie-controls {
        padding: 0.3rem 0.5rem !important;
        gap: 0.4rem !important;
    }

    .cookie-btn {
        width: 1.4rem !important;
        height: 1.4rem !important;
        font-size: 0.6rem !important;
    }

    .modal-footer {
        padding: 0.75rem 1rem !important;
        gap: 0.5rem !important;
    }

    .btn-reset {
        padding: 0.6rem 1rem !important;
        font-size: 0.7rem !important;
    }

    .btn-validate {
        padding: 0.6rem 1rem !important;
        font-size: 0.7rem !important;
        flex: 1 !important;
    }

    /* ========== NOTIFICATION ========== */
    .notification {
        top: 4.5rem !important;
        left: 1rem !important;
        right: 1rem !important;
        max-width: 100% !important;
        font-size: 0.85rem !important;
    }
}