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

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

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f8fafc;
    color: #222;
}

/* =========================
   BOUTONS GLOBAUX
========================= */
.btn-primary,
.btn-secondary {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: #2563eb;
    color: #fff;
}

.btn-secondary:hover {
    background: #1d4ed8;
}

/* =========================
   PAGE ADMIN
========================= */
.admin-body {
    background: #f4f6f9;
    color: #222;
}

.admin-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 15px;
}

.admin-card {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.admin-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid #eee;
}

.admin-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.admin-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.admin-form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form,
.form-group {
    display: flex;
    flex-direction: column;
}

.form label {
    margin-top: 12px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.form input:not([type="checkbox"]),
.form textarea,
.form-group input:not([type="checkbox"]),
.form-group textarea,
select {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 10px;
    transition: 0.2s;
}

.form input:not([type="checkbox"]),
.form textarea,
.form-group input:not([type="checkbox"]),
.form-group textarea {
    padding: 12px 14px;
    margin-top: 5px;
}

.form-group input:not([type="checkbox"]) {
    height: 42px;
}

.form textarea,
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form input:focus,
.form textarea:focus,
.form-group input:focus,
.form-group textarea:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

select {
    height: 44px;
    padding: 0 12px;
    color: #344054;
    appearance: none;
}

.image-preview {
    width: 140px;
    height: 140px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* =========================
   CHECKBOX ADMIN
========================= */
.checkbox-group {
    margin-top: 4px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label:hover .custom-checkbox {
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 14px;
    line-height: 1.2;
}

/* =========================
   SHOP HEADER / CATALOGUE
========================= */
.shop-body {
    background: #f4f6f9;
    color: #222;
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 30px;
    color: white;
    overflow: hidden;
    width: 100%;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)),
        url('../images/Visage.png') center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    animation: bgPremium 25s infinite ease-in-out;
}

.shop-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.shop-header * {
    position: relative;
    z-index: 1;
}

.shop-header.scrolled {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.header-top {
    max-width: 1250px;
    margin: 0 auto 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.brand-block {
    animation: brandFadeIn 1s ease-out, brandFloat 4s ease-in-out infinite 1.2s;
}

.brand-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    text-shadow: 0 4px 18px rgba(255, 255, 255, 0.12);
}

.brand-subtitle {
    margin: 6px 0 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

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

.cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
}

.cart-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 24px;
    height: 24px;
    padding: 2px 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35);
    transform-origin: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-count.bump {
    animation: cartBadgePop 0.45s ease;
}

.cart-count-active {
    animation: cartCountPulse 2s infinite ease-in-out;
}

.cart-count.flash-ring::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(249, 115, 22, 0.45);
    animation: cartRing 0.45s ease;
}

/* =========================
   SEARCH
========================= */
.search-form {
    max-width: 1250px;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
}

.search-input-group {
    flex: 1;
    max-width: 450px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dbe1e8;
    border-radius: 12px;
    padding: 0 14px;
    height: 34px;
}

.search-input-group i {
    color: #6b7280;
    font-size: 14px;
}

.search-input-group input {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 15px;
    background: transparent;
}

.search-filters-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #dbe1e8;
    border-radius: 12px;
    padding: 0 14px;
    height: 34px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: 0.2s;
}

.promo-filter:hover {
    background: #e0ecff;
}

.gift-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: normal;
}

.gift-filter-label i {
    font-size: 13px;
    color: #f59e0b;
    flex-shrink: 0;
}

.search-btn {
    height: 34px;
    white-space: nowrap;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.search-btn:hover {
    background: #1d4ed8;
}

/* =========================
   CATALOGUE
========================= */
.catalog-bg {
    width: 100%;
    background: url('../images/fond.jpg') center/cover no-repeat;
    padding: 40px 0;
    position: relative;
}

.catalog-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.catalog-container {
    max-width: 1250px;
    margin: 30px auto;
    padding: 0 20px 30px;
    position: relative;
    z-index: 1;

}

.catalog-results-bar {
    margin: 0 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-results-text {
    margin: 0;
    color: #475467;
    font-size: 14px;
}

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

.product-card {
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.product-card-out {
    opacity: 0.96;
}

.product-image-wrap {
    position: relative;
    height: 200px;
    padding: 12px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.product-image-wrap a,
.product-image-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.product-image-wrap img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

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

.product-content {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-content h2 {
    margin: 8px 0 4px !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    min-height: auto !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title-link {
    display: inline-block;
    text-decoration: none !important;
    color: #161616 !important;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.1px;
    transition: opacity 0.2s ease;
}

.product-title-link:hover {
    text-decoration: none !important;
    color: #161616 !important;
    opacity: 0.82;
}

.product-content a,
.product-content a:hover,
.product-content a:focus,
.product-content a:visited {
    text-decoration: none !important;
}

.product-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.3;
}

.product-footer {
    margin-top: auto;
}

.price-block {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

.promo-price {
    font-size: 18px;
    font-weight: bold;
    color: #e11d48;
    animation: flashPrice 2s infinite;
}

.normal-price {
    font-size: 18px;
    font-weight: bold;
    color: #111827;
}

.cart-form {
    margin: 0;
}

.add-cart-btn {
    width: 100%;
    border: none;
    background: #2563eb;
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.add-cart-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 153, 0, 0.4);
}

.add-cart-btn:active {
    transform: scale(0.97);
}

.add-cart-btn.added {
    background: #16a34a !important;
    color: #fff;
}

.disabled-btn {
    background: #d0d5dd !important;
    color: #667085 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.95;
}

.disabled-btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

.label-promo,
.label-new,
.label-gift {
    position: absolute;
    z-index: 5;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.label-promo {
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ef4444, #e11d48);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 6px 14px rgba(225, 29, 72, 0.35);
    animation: promoPulse 2s infinite;
}

.label-promo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.5);
}

.label-new {
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.4);
    animation: newPulse 2s infinite;
}

.label-gift {
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff0f6, #ffe4ec);
    color: #be185d;
    border: 1px solid #f9a8d4;
    box-shadow: 0 6px 16px rgba(190, 24, 93, 0.12);
}

.stock-status-wrap {
    margin: 4px 0 8px !important;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2px;
}

.stock-badge.in-stock {
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #abefc6;
}

.stock-badge.out-stock {
    background-color: #fff7ed !important;
    color: #c2410c !important;
    border: 1px solid #fdba74 !important;
}

.stock-badge.out-stock i {
    color: #c2410c !important;
}

.gift-inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #dc2626;
    background: #fff1f2;
    border: 1px solid #fecaca;
    animation: pulseGift 1.8s infinite;
}

.gift-badge {
    margin: 6px 0 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #c2410c;
    border: 1px solid #fdba74;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.gift-badge i {
    margin-right: 6px;
}

.gift-badge strong,
.gift-text strong,
.gift-detail-text strong {
    font-weight: 700;
}

.gift-badge-rich {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 12px;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fdba74;
}

.gift-thumb {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #fed7aa;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gift-content {
    flex: 1;
    min-width: 0;
}

.gift-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #c2410c;
    margin-bottom: 4px;
}

.gift-text {
    font-size: 13px;
    line-height: 1.4;
    color: #9a3412;
}

/* =========================
   EMPTY STATE
========================= */
.empty-state {
    background: #fff;
    border-radius: 18px;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf1f5;
}

.empty-state i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.empty-state h2 {
    margin: 0 0 10px;
    color: #1f2937;
}

.empty-state p {
    margin: 0;
    color: #6b7280;
}

/* =========================
   PAGE PANIER
========================= */
.cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.cart-page-title {
    margin: 0;
    font-size: 32px;
    color: #1f2937;
}

.cart-page-subtitle {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 360px;
    gap: 24px;
    align-items: start;
}

.cart-items-card,
.cart-summary-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #edf1f5;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.cart-items-card {
    padding: 20px;
}

.cart-summary-card {
    padding: 24px;
    position: sticky;
    top: 110px;
}

.cart-summary-card h2 {
    margin: 0 0 20px;
    font-size: 22px;
    color: #1f2937;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 20px;
    font-size: 16px;
}

.cart-summary-gift {
    color: #0f8a4b;
}

.cart-summary-gift-box {
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: #f0fff4;
    border: 1px solid #b9f5d0;
    border-radius: 12px;
}

.cart-summary-gift-box h4 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #0f8a4b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-summary-gift-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 4px;
}

.cart-summary-gift-item:last-child {
    margin-bottom: 0;
}

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

.cart-table th,
.cart-table td {
    vertical-align: middle;
}

.cart-table thead th {
    text-align: left;
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
    padding: 0 0 16px;
    border-bottom: 1px solid #eef2f6;
}

.cart-table tbody td {
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 260px;
}

.cart-product-image {
    width: 92px;
    height: 92px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
}

.cart-product-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #1f2937;
}

.cart-product-info p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.cart-price,
.cart-subtotal {
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
}

.cart-mobile-actions {
    display: none;
}

.cart-desktop-action form,
.cart-mobile-remove-form,
.cart-auto-qty-form,
.cart-mobile-auto-qty-form {
    margin: 0;
}

.cart-hidden-qty {
    display: none;
}

.cart-qty-control,
.cart-mobile-qty-control {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.cart-qty-control {
    gap: 1px;
    padding: 2px 2px;
    border-radius: 10px;
}

.cart-mobile-qty-control {
    gap: 6px;
    padding: 2px 4px;
    border-radius: 14px;
}

.cart-qty-display,
.cart-mobile-qty-display {
    min-width: 32px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #d8e0eb;
    font-size: 15px;
    font-weight: 700;
    color: #132238;
    line-height: 1;
}

.cart-qty-step-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border: none;
    border-radius: 10px;
    background: #fff;
    color: #132238;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cart-qty-step-btn:hover {
    background: #f2f6fb;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.cart-qty-step-btn:active {
    transform: scale(0.96);
}

.cart-remove-btn,
.cart-checkout-btn {
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s ease;
}

.cart-remove-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(220, 38, 38, 0.08);
}

.cart-remove-btn:hover {
    background: #ffe4e6;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.12);
}

.cart-checkout-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    background: #2563eb;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.cart-checkout-btn:hover {
    background: #1d4ed8;
}

.cart-gift-offer-box {
    margin-top: 10px;
    padding: 10px 12px;
    background: #fff8ef;
    border: 1px solid #ffe0b3;
    border-radius: 12px;
}

.cart-gift-offer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8a4b00;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 6px;
}

.cart-gift-offer-header i {
    color: #f59e0b;
    flex-shrink: 0;
}

.cart-gift-offer-progress {
    font-size: 13px;
    color: #7a5b2e;
}

.cart-gift-offer-success {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0f8a4b;
    font-weight: 600;
}

.gift-row {
    background: #fff8f1;
}

.gift-line-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff0f6, #ffe4ec);
    color: #be185d;
    border: 1px solid #f9a8d4;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.gift-free-price {
    color: #067647;
    font-weight: 700;
}

.gift-qty-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    font-weight: 700;
}

.gift-auto-text {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   PAGE CHECKOUT
========================= */
.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.checkout-title {
    margin: 0;
    font-size: 32px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-title i {
    color: #2563eb;
    font-size: 26px;
    transition: transform 0.3s ease;
}

.checkout-title:hover i {
    transform: scale(1.15);
}

.checkout-subtitle {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.6fr 420px;
    gap: 24px;
    align-items: start;
}

.checkout-form-card,
.checkout-summary-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #edf1f5;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.checkout-form-card {
    padding: 28px;
}

.checkout-summary-card {
    padding: 14px;
    position: sticky;
    top: 110px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-radius: 14px;
}

.checkout-form-card h2,
.checkout-summary-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #1f2937;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.checkout-full {
    grid-column: 1 / -1;
}

.checkout-note {
    background: #fff8e6;
    color: #8a5a00;
    border: 1px solid #fde7b0;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
}

.checkout-submit-btn {
    width: 100%;
    border: none;
    background: #2563eb;
    color: #fff;
    border-radius: 12px;
    padding: 15px 18px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

.checkout-submit-btn:hover {
    background: #1d4ed8;
}

.checkout-items {
    display: flex;
    flex-direction: column;
}

.checkout-item {
    display: grid;
    grid-template-columns: 55px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.checkout-item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.checkout-item-info h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.checkout-item-info p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.checkout-item-price {
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.checkout-summary-totals {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.checkout-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13px;
}

.checkout-summary-line strong {
    font-size: 14px;
}

.checkout-summary-line.total-final {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.checkout-summary-line.total-final span {
    font-size: 14px;
    font-weight: 700;
}

.checkout-summary-line.total-final strong {
    font-size: 18px;
    font-weight: 800;
    color: #2563eb;
}

/* =========================
   PAGE APERCU PRODUIT
========================= */
.product-view-topbar {
    margin-bottom: 20px;
}

.product-view-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #edf1f5;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    padding: 18px;
}

.product-view-grid {
    display: grid;
    grid-template-columns: minmax(320px, 640px) minmax(320px, 1fr);
    gap: 22px;
    align-items: start;
}

.product-view-image-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.product-zoom-wrapper {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 12px;
}

.product-zoom-wrapper img {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    display: block;
}

.product-view-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-view-title {
    margin: 0;
    font-size: 24px;
    color: #1f2937;
}

.product-view-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

.product-view-price-box {
    margin-top: 6px;
    background: #fffaf2;
    border: 1px solid #fde7b0;
    border-radius: 14px;
    padding: 14px;
}

.product-view-status {
    margin: 10px 0 0;
    font-size: 14px;
}

.promo-status {
    color: #b45309;
}

.new-status {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #15803d;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: 500;
}

.normal-status {
    color: #374151;
}

.product-view-actions {
    margin-top: 8px;
}

.product-view-btn {
    max-width: 260px;
    padding: 12px 16px;
    font-size: 14px;
}

.product-view-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 6px 0 14px;
}

.product-detail-box,
.product-detail-box-left {
    padding: 16px 18px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.product-detail-box {
    margin: 18px 0;
}

.product-detail-box-left {
    margin-top: 0;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.product-detail-title,
.product-detail-box-left .product-detail-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-detail-text,
.product-detail-box-left .product-detail-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.gift-detail-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 1px solid #fdba74;
}

.gift-detail-thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #fed7aa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-detail-content {
    flex: 1;
    min-width: 0;
}

.gift-detail-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #c2410c;
    margin-bottom: 6px;
}

.gift-detail-text {
    font-size: 14px;
    line-height: 1.6;
    color: #9a3412;
}

.zoom-lens {
    position: absolute;
    display: none;
    border: 2px solid #ff9900;
    background: rgba(255, 153, 0, 0.18);
    width: 110px;
    height: 110px;
    border-radius: 14px;
    cursor: crosshair;
    pointer-events: none;
}

.zoom-result {
    position: absolute;
    top: 0;
    left: calc(100% + 20px);
    width: 320px;
    height: 320px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background-repeat: no-repeat;
    background-color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 20;
}

/* =========================
   TABLEAUX ADMIN
========================= */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}

.admin-table td.image-cell {
    width: 90px;
}

.admin-order-image {
    width: 70px;
    height: 70px;
    min-width: 70px;
    max-width: 70px;
    min-height: 70px;
    max-height: 70px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-order-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================
   RECHERCHE COMMANDES
========================= */
.orders-search-form {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 24px;
}

.orders-search-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.orders-search-grid-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: end;
}

.orders-search-full {
    grid-column: auto;
}

/* =========================
   BADGES COMMANDES
========================= */
.badge-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    min-width: 90px;
    text-align: center;
    vertical-align: middle;
}

.badge-status-valid {
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #abefc6;
}

.badge-status-cancel {
    background: #fff1f3;
    color: #be123c;
    border: 1px solid #fda4af;
}

.badge-status-closed {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

/* =========================
   PAGINATION
========================= */
.catalog-pagination {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

.pagination-btn:hover {
    background: #f9fafb;
    border-color: #98a2b3;
    transform: translateY(-1px);
}

.pagination-active {
    background: #111827;
    color: #fff;
    border-color: #111827;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.18);
}

.pagination-active:hover {
    background: #111827;
    color: #fff;
    border-color: #111827;
    transform: none;
}

.pagination-nav {
    padding: 0 16px;
}

.pagination-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-dots {
    color: #98a2b3;
    font-weight: 700;
    padding: 0 4px;
}

/* =========================
   TOAST
========================= */
.cart-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #111827;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9999;
}

.cart-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   HOMEPAGE PREMIUM
========================= */
.header-utility-bar {
    display: none !important;
}

.shop-header.shop-header-premium {
    padding: 18px 22px 20px;
}

.header-main-shell {
    max-width: 1250px;
    margin: 0 auto;
    padding-top: 0;
	padding-bottom: 2px;
}

.header-top-premium {
    margin-bottom: 12px;
    align-items: center;
}

.brand-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.header-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.header-shortcuts-top {
    margin-top: 0;
    margin-bottom: 14px;
}

.shortcut-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    text-decoration: none;
    border: 1px solid rgba(226, 232, 240, 0.95);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.shortcut-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.10);
    background: #ffffff;
}

.shortcut-pill i {
    color: #2563eb;
}

.shortcut-pill-gift i {
    color: #f59e0b !important;
}

.search-form-premium {
    align-items: stretch;
    gap: 10px;
}

.search-input-group-premium {
    height: 42px;
    border-radius: 14px;
    padding: 0 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.search-input-group-premium input {
    font-size: 14px;
}

.search-filters-premium {
    flex-wrap: wrap;
}

.search-filters-premium .promo-filter {
    height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 13px;
}

.search-form-premium .search-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.catalog-bg-premium::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.96) 100%);
}

.home-hero-panel {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 24px;
    margin-bottom: 28px;
    padding: 26px;
    border-radius: 26px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #fff7f8 100%);
    border: 1px solid #e9eef6;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.hero-copy h2 {
    margin: 14px 0 12px;
    font-size: 34px;
    line-height: 1.1;
    color: #0f172a;
}

.hero-copy p {
    margin: 0;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hero-benefits {
    display: grid;
    gap: 12px;
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #ecf1f6;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.benefit-card i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: 18px;
}

.benefit-card strong,
.universe-card span,
.catalog-section-title {
    color: #0f172a;
	
}

.benefit-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.benefit-card span {
    font-size: 13px;
    color: #64748b;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.catalog-section-title,
.section-heading-inline h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.universes-strip {
    margin-bottom: 28px;
}

.universes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.universe-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ecf1f6;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.universe-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.universe-card i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #fdf2f8);
    color: #2563eb;
    font-size: 18px;
}

.catalog-results-bar-premium {
    margin-bottom: 20px;
}

.products-grid-premium {
    gap: 22px;
}

.product-card-premium {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.product-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.10);
}

.product-image-wrap-premium {
    height: 240px;
    padding: 20px;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f7fb 100%);
    border-radius: 24px 24px 0 0;
}

.product-content-premium {
    padding: 18px 18px 20px;
    gap: 10px;
}

.product-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.product-card-premium .product-title-link {
    font-size: 17px;
    line-height: 1.35;
}

.product-card-premium .product-desc {
    min-height: 34px;
}

.price-block-premium {
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 12px;
}

.gift-badge-premium {
    margin-top: 2px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff7ed, #fff1f2);
    border-color: #fed7aa;
}

.add-cart-btn-premium {
    min-height: 46px;
    border-radius: 16px;
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.20);
}

/* =========================
   ANIMATIONS
========================= */
@keyframes brandFadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes brandFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

@keyframes bgPremium {
    0% { background-size: 100%; background-position: center; }
    50% { background-size: 110%; background-position: center right; }
    100% { background-size: 105%; background-position: center left; }
}

@keyframes promoPulse {
    0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(225, 29, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

@keyframes newPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes flashPrice {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes cartRing {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes cartBadgePop {
    0% { transform: scale(1); box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35); }
    30% { transform: scale(1.28); box-shadow: 0 10px 22px rgba(249, 115, 22, 0.5); }
    60% { transform: scale(0.92); box-shadow: 0 5px 12px rgba(249, 115, 22, 0.3); }
    100% { transform: scale(1); box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35); }
}

@keyframes cartCountPulse {
    0% { transform: scale(1); box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35); }
    50% { transform: scale(1.12); box-shadow: 0 10px 20px rgba(249, 115, 22, 0.5); }
    100% { transform: scale(1); box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35); }
}

@keyframes pulseGift {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 3px rgba(220, 38, 38, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary-card,
    .checkout-summary-card {
        position: static;
    }
}

@media (max-width: 1100px) {
    .home-hero-panel {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 980px) {
    .product-view-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .search-form {
        flex-wrap: wrap;
        gap: 10px;
    }

    .search-input-group {
        width: 100%;
        max-width: 100%;
    }

    .search-filters-inline {
        width: 100%;
        justify-content: space-between;
    }

    .search-btn {
        width: 100%;
    }

    .header-top,
    .cart-page-header,
    .checkout-header,
    .header-utility-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        justify-content: flex-start;
    }

    .orders-search-grid,
    .orders-search-grid-detailed,
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-full,
    .orders-search-full {
        grid-column: auto;
    }

    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table th,
    .cart-table td,
    .cart-table tr {
        display: block;
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody td {
        padding: 12px 0;
    }

    .cart-product {
        align-items: flex-start;
    }

    .shop-header.shop-header-premium {
        padding: 16px 16px 18px;
    }

    .header-shortcuts-top {
        gap: 8px;
        margin-bottom: 12px;
    }

    .shortcut-pill {
        padding: 8px 12px;
        font-size: 12px;
    }

    .brand-title {
        font-size: 24px;
    }

    .brand-subtitle {
        font-size: 13px;
    }

    .search-form-premium {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .shop-header.shop-header-premium {
        padding: 14px 14px 16px;
    }

    .header-main-shell {
        padding-top: 0;
    }

    .header-shortcuts-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }

    .shortcut-pill {
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 11px;
        gap: 6px;
    }

    .shortcut-pill i {
        font-size: 13px;
    }

    .header-top-premium {
        margin-bottom: 10px;
    }

    .brand-kicker {
        padding: 5px 9px;
        font-size: 10px;
    }

    .brand-title {
        font-size: 22px;
    }

    .brand-subtitle {
        font-size: 12px;
    }

    .search-form {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .search-form > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .search-input-group,
    .search-input-group-premium {
        display: flex !important;
        align-items: center;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        height: 40px;
        border-radius: 12px;
        padding: 0 12px;
    }

    .search-input-group input,
    .search-input-group-premium input {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .search-filters-inline {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        margin-top: 10px;
    }

    .search-filters-inline .promo-filter,
    .search-filters-premium .promo-filter {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100% !important;
        min-width: 0;
        padding: 0 10px;
        height: 40px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        background: #f8fafc;
        box-sizing: border-box;
        font-size: 12px;
    }

    .search-filters-inline .promo-filter span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        line-height: 1.2;
        white-space: normal;
    }

    .gift-filter-label i {
        font-size: 12px;
    }

    .search-btn,
    .search-form-premium .search-btn {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px;
        box-sizing: border-box;
        height: 40px;
        border-radius: 12px;
        font-size: 13px;
    }

    .cart-desktop-qty,
    .cart-desktop-action {
        display: none !important;
    }

    .cart-mobile-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        margin-top: 14px;
    }

    .cart-mobile-qty-control {
        gap: 5px;
        padding: 4px 5px;
        border-radius: 12px;
    }

    .cart-mobile-qty-display {
        min-width: 28px;
        height: 32px;
        padding: 0 7px;
        border-radius: 9px;
        font-size: 14px;
    }

    .cart-qty-step-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        border-radius: 9px;
        font-size: 17px;
    }

    .cart-remove-btn {
        width: 30px;
        height: 30px;
        min-width: 40px;
        border-radius: 12px;
    }

    .cart-gift-offer-box {
        margin-top: 8px;
        padding: 9px 10px;
        border-radius: 10px;
    }

    .cart-gift-offer-header,
    .cart-gift-offer-progress,
    .cart-gift-offer-success {
        font-size: 12px;
    }

    .hero-copy h2 {
        font-size: 26px;
    }

    .catalog-section-title,
    .section-heading-inline h3 {
        font-size: 22px;
    }

    .product-image-wrap-premium {
        height: 210px;
    }

    .product-content-premium {
        padding: 16px;
    }
}

@media (max-width: 700px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-header {
        padding: 18px 16px;
    }

    .catalog-container {
        padding: 0 16px 24px;
		
    }

    .product-view-title,
    .checkout-title,
    .cart-page-title {
        font-size: 24px;
    }

    .product-view-card {
        padding: 18px;
    }

    .product-zoom-wrapper {
        height: 280px;
        padding: 14px;
    }

    .product-zoom-wrapper img {
        max-height: 260px;
    }

    .zoom-lens {
        width: 80px;
        height: 80px;
    }

    .zoom-result {
        position: static;
        width: 100%;
        height: 260px;
        margin-top: 18px;
    }

    .checkout-item {
        grid-template-columns: 60px 1fr;
    }

    .checkout-item-price {
        grid-column: 2;
    }

    .product-view-btn {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .orders-search-grid-detailed {
        grid-template-columns: 1fr;
    }

    .brand-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .header-shortcuts-top,
    .universes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .shortcut-pill {
        font-size: 10.5px;
        padding: 8px 8px;
    }

    .product-card-topline {
        align-items: flex-start;
    }
}

@media (max-width: 450px) {
    .products-grid,
    .universes-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   HEADER MODE (CONFIG)
========================= */

/* mode FIXE */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* mode NORMAL */
.header-static {
    position: relative;
    top: auto;
    z-index: auto;
}
/* =========================
   ULTRA MOBILE CATALOGUE
========================= */

.hero-panel-compact {
    padding: 18px;
    border-radius: 20px;
    margin-bottom: 22px;
}

.universes-strip-compact {
    margin-bottom: 22px;
}

.products-grid-ultra {
    gap: 16px;
}

.product-card-ultra {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    background: #fff;
}

.product-card-ultra:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.product-image-wrap-ultra {
    height: 180px;
    padding: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
    border-radius: 18px 18px 0 0;
}

.product-content-ultra {
    padding: 12px 12px 14px;
    gap: 7px;
}

.product-card-topline-ultra {
    justify-content: flex-start;
    gap: 7px;
}

.product-card-ultra .product-title-link {
    font-size: 15px;
    line-height: 1.28;
}

.product-card-ultra .product-desc {
    font-size: 12px;
    line-height: 1.35;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer-ultra {
    margin-top: auto;
}

.price-block-ultra {
    margin: 2px 0 10px;
    align-items: baseline;
    gap: 8px;
}

.price-block-ultra .old-price {
    font-size: 12px;
}

.price-block-ultra .promo-price,
.price-block-ultra .normal-price {
    font-size: 16px;
}

.add-cart-btn-ultra {
    min-height: 40px;
    border-radius: 12px;
    font-size: 13px;
    padding: 10px 12px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}

/* cadeau compact cliquable */
.gift-inline-trigger {
    width: 100%;
    border: 1px solid #fed7aa;
    background: linear-gradient(135deg, #fff7ed, #fff1f2);
    border-radius: 12px;
    padding: 9px 10px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.gift-inline-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(194, 65, 12, 0.10);
    border-color: #fdba74;
}

.gift-inline-trigger-top {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 800;
}

.gift-inline-trigger-text {
    font-size: 12px;
    color: #9a3412;
    line-height: 1.35;
    font-weight: 600;
}

/* alternative sans cadeau */
.product-benefit-lite {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
}

.product-benefit-lite i {
    font-size: 12px;
}

/* badges plus compacts */
.product-card-ultra .stock-badge,
.product-card-ultra .gift-inline-badge {
    font-size: 11px;
    padding: 5px 9px;
}

.product-card-ultra .label-promo,
.product-card-ultra .label-new,
.product-card-ultra .label-gift {
    font-size: 11px;
    padding: 5px 8px;
}

/* modal cadeau */
.gift-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.gift-modal.show {
    display: block;
}

.gift-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.gift-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 460px);
    margin: 8vh auto 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    overflow: hidden;
}

.gift-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.gift-modal-body {
    padding: 18px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: center;
}

.gift-modal-image-wrap {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7ed, #fff1f2);
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 12px;
    font-weight: 800;
}

.gift-modal-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #0f172a;
}

.gift-modal-content p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
    font-size: 14px;
}

.gift-modal-open {
    overflow: hidden;
}

/* header + hero plus compacts */
.search-form-premium {
    gap: 10px;
}

.search-input-group-premium {
    height: 42px;
}

.search-filters-premium .promo-filter {
    height: 42px;
}

.search-form-premium .search-btn {
    height: 42px;
}

@media (max-width: 1200px) {
    .products-grid-ultra {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .products-grid-ultra {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-panel-compact {
        padding: 14px;
        border-radius: 16px;
    }

    .hero-copy h2 {
        font-size: 24px;
    }

    .hero-copy p {
        font-size: 13px;
        line-height: 1.55;
    }

    .benefit-card {
        padding: 12px;
        border-radius: 14px;
    }

    .benefit-card i {
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 12px;
    }

    .benefit-card strong {
        font-size: 13px;
    }

    .benefit-card span {
        font-size: 12px;
    }

    .universes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .universe-card {
        padding: 12px;
        border-radius: 14px;
    }

    .universe-card i {
        width: 36px;
        height: 36px;
        font-size: 15px;
        border-radius: 12px;
    }

    .products-grid-ultra {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image-wrap-ultra {
        height: 145px;
        padding: 10px;
    }

    .product-content-ultra {
        padding: 10px 10px 12px;
        gap: 6px;
    }

    .product-card-ultra .product-title-link {
        font-size: 14px;
    }

    .product-card-ultra .product-desc {
        font-size: 11px;
        min-height: 28px;
    }

    .price-block-ultra .promo-price,
    .price-block-ultra .normal-price {
        font-size: 15px;
    }

    .add-cart-btn-ultra {
        min-height: 38px;
        font-size: 12px;
        border-radius: 10px;
        padding: 9px 10px;
    }

    .gift-inline-trigger {
        padding: 8px 9px;
        border-radius: 10px;
    }

    .gift-inline-trigger-top,
    .gift-inline-trigger-text,
    .product-benefit-lite {
        font-size: 11px;
    }

    .gift-modal-dialog {
        width: min(94vw, 420px);
        margin-top: 10vh;
        border-radius: 16px;
    }

    .gift-modal-body {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px;
    }

    .gift-modal-image-wrap {
        width: 90px;
        height: 90px;
        margin: 0 auto;
    }

    .gift-modal-badge {
        justify-content: center;
    }

    .gift-modal-content h3 {
        font-size: 16px;
    }

    .gift-modal-content p {
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .products-grid-ultra {
        grid-template-columns: 1fr;
    }

    .product-image-wrap-ultra {
        height: 170px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }
}

.categories-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.category-checkbox-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
}

.product-categories-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.product-category-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .categories-checkboxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .products-grid,
    .products-grid-ultra {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}
.product-seo-section {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.seo-block {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.seo-block h2 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.seo-block p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.catalog-container {
    padding-top: 10px;
}

#catalog-results {
    scroll-margin-top: 90px;
}

@media (max-width: 768px) {
    .catalog-container {
        padding-top: 6px;
    }

    .catalog-results-bar-premium {
        margin-top: 8px;
    }
}