/* =====================================================
   VAL-DE-GRACE — Front-end Stylesheet
   Palette: #26221E #A68B55 #332E29 #EBEBE6 #B0B0A8
   ===================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #26221E;
    color: #EBEBE6;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #A68B55;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #B0B0A8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.3;
    color: #EBEBE6;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

button,
input,
select,
textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

::selection {
    background: #A68B55;
    color: #26221E;
}

/* --- Utility --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
    border-bottom: 1px solid rgba(166, 139, 85, 0.3);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #A68B55;
    font-style: italic;
}

.section-subtitle {
    text-align: center;
    color: #B0B0A8;
    margin-bottom: 50px;
    font-weight: 300;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: #A68B55;
}

.text-pink {
    color: #B0B0A8;
}

/* --- Shop Toolbar & Filters --- */
/* --- Luxury Categories Tabs --- */
.luxury-categories-nav {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(166, 139, 85, 0.2);
    padding-bottom: 15px;
}

.luxury-category-tab {
    color: #B0B0A8;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    padding-bottom: 10px;
    position: relative;
    transition: color 0.3s ease;
}

.luxury-category-tab:hover,
.luxury-category-tab.active {
    color: #A68B55;
}

.luxury-category-tab::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #A68B55;
    transition: width 0.3s ease;
}

.luxury-category-tab:hover::after,
.luxury-category-tab.active::after {
    width: 100%;
}

/* --- Minimalist Shop Toolbar & Filters --- */
body .shop-toolbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent !important;
    padding: 0 0 20px 0 !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(166, 139, 85, 0.2) !important;
    margin: 0 0 40px 0 !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    box-shadow: none !important;
}

body .filter-tags {
    display: flex !important;
    gap: 25px !important;
    align-items: center !important;
}

body .filter-tag {
    background: transparent !important;
    border: none !important;
    color: #B0B0A8 !important;
    padding: 5px 0 !important;
    border-radius: 0 !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: color 0.3s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block !important;
}

body .filter-tag:hover,
body .filter-tag.active {
    background: transparent !important;
    color: #A68B55 !important;
    border: none !important;
    transform: none !important;
}

body .shop-search-box {
    position: relative !important;
    width: 300px !important;
}

body .shop-search-input {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(166, 139, 85, 0.4) !important;
    border-radius: 0 !important;
    padding: 10px 10px 10px 35px !important;
    color: #EBEBE6 !important;
    font-size: 0.9rem !important;
    transition: border-color 0.3s ease !important;
    outline: none !important;
}

body .shop-search-input:focus {
    border-color: #A68B55 !important;
    box-shadow: none !important;
}

body .search-icon {
    position: absolute !important;
    left: 5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #B0B0A8 !important;
    font-size: 1rem !important;
    z-index: 5 !important;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    body .shop-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 15px !important;
    }

    body .filter-tags {
        overflow-x: auto !important;
        padding-bottom: 15px !important;
        margin-bottom: 5px !important;
        width: calc(100% + 10px) !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        -webkit-overflow-scrolling: touch;
    }

    body .filter-tags::-webkit-scrollbar {
        display: none;
    }

    body .shop-search-box {
        width: 100% !important;
    }
}

.btn-primary {
    background: #A68B55;
    color: #26221E;
}

.btn-primary:hover {
    background: #A68B55;
    color: #26221E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(166, 139, 85, 0.3);
}

.btn-secondary {
    background: #332E29;
    color: #EBEBE6;
}

.btn-secondary:hover {
    background: #8a2550;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 46, 41, 0.3);
}

.btn-outline {
    background: transparent;
    color: #A68B55;
    border: 2px solid #A68B55;
}

.btn-outline:hover {
    background: #A68B55;
    color: #26221E;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-danger {
    background: #8B0000;
    color: #EBEBE6;
}

.btn-danger:hover {
    background: #a00;
}

/* --- Alerts --- */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(51, 46, 41, 0.15);
    border-color: #A68B55;
    color: #A68B55;
}

.alert-error {
    background: rgba(139, 0, 0, 0.15);
    border-color: #8B0000;
    color: #B0B0A8;
}

.alert-info {
    background: rgba(166, 139, 85, 0.1);
    border-color: #A68B55;
    color: #EBEBE6;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #26221E;
    border-bottom: 1px solid rgba(166, 139, 85, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Cloister Black', serif;
    font-style: normal;
    font-size: 2rem;
    color: #A68B55;
    font-weight: normal;
    letter-spacing: 1px;
}

.logo-slogan {
    font-size: 0.7rem;
    color: #B0B0A8;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #EBEBE6;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #A68B55;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #A68B55;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-mobile-extras {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cart {
    position: relative;
    font-size: 1.3rem;
    color: #EBEBE6;
    transition: color 0.3s;
}

.header-cart:hover {
    color: #A68B55;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #332E29;
    color: #EBEBE6;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.header-account {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: #EBEBE6;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    padding: 5px;
}

.dropdown-toggle:hover {
    color: #A68B55;
}

.account-icon {
    font-size: 1.2rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #332E29;
    border: 1px solid rgba(166, 139, 85, 0.2);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 18px;
    color: #EBEBE6;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: rgba(166, 139, 85, 0.1);
    color: #A68B55;
}

.dropdown-divider {
    border-top: 1px solid rgba(166, 139, 85, 0.1);
    margin: 5px 0;
}

.header-login {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #EBEBE6;
    font-size: 0.9rem;
}

.header-login:hover {
    color: #A68B55;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: #A68B55;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    /* Centré verticalement */
    justify-content: center;
    /* Centré horizontalement */
    position: relative;
    background: #26221E;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(38, 34, 30, 0.2), rgba(38, 34, 30, 0.6));
    z-index: 1;
}

.hero-cta-container {
    position: relative;
    z-index: 10;
    text-align: center;
}

.modern-hero-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(166, 139, 85, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(166, 139, 85, 0.4);
    padding: 22px 48px;
    border-radius: 100px;
    color: #EBEBE6;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(166, 139, 85, 0.1),
        inset 0 0 15px rgba(166, 139, 85, 0.05);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: goldPulse 3s infinite ease-in-out;
}

.modern-hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.modern-hero-cta:hover::before {
    left: 100%;
    transition: 0.7s;
}

.modern-hero-cta span {
    display: inline-block;
}

.modern-hero-cta:hover {
    background: rgba(166, 139, 85, 0.3);
    border-color: rgba(166, 139, 85, 0.8);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(166, 139, 85, 0.4);
    color: #fff;
    letter-spacing: 4px;
}

.modern-hero-cta:active {
    transform: translateY(0) scale(0.98);
}

.modern-hero-cta .material-symbols-outlined {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.modern-hero-cta:hover .material-symbols-outlined {
    transform: translateX(5px);
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 10px rgba(166, 139, 85, 0.1);
    }

    50% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(166, 139, 85, 0.3);
        border-color: rgba(166, 139, 85, 0.6);
    }

    100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 10px rgba(166, 139, 85, 0.1);
    }
}

/* Mobile Adjustments for Hero */
@media (max-width: 768px) {
    .modern-hero-cta {
        padding: 16px 32px;
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .hero-cta-container {
        margin: 0;
    }
}


/* --- Product Cards --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #332E29;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(166, 139, 85, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(166, 139, 85, 0.2);
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #111;
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-nouveau {
    background: #A68B55;
    color: #26221E;
}

.badge-bestseller {
    background: #332E29;
    color: #EBEBE6;
}

.badge-promo {
    background: #B0B0A8;
    color: #26221E;
}

.badge-custom {
    background: rgba(166, 139, 85, 0.15);
    color: #A68B55;
    border: 1px solid #A68B55;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #EBEBE6;
}

.product-name a {
    color: #EBEBE6;
}

.product-name a:hover {
    color: #A68B55;
}

.product-desc {
    font-size: 0.85rem;
    color: rgba(237, 230, 219, 0.6);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #A68B55;
    margin-bottom: 15px;
}

.product-price .old-price {
    text-decoration: line-through;
    color: rgba(237, 230, 219, 0.4);
    font-size: 0.9rem;
    margin-right: 8px;
    font-weight: 400;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 0.8rem;
}

/* --- Single Product --- */
.product-detail {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    padding: 40px 0;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 1;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: #A68B55;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-category-link {
    color: #B0B0A8;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: inline-block;
}

.product-price-detail {
    font-size: 2rem;
    color: #A68B55;
    font-weight: 700;
    margin: 20px 0;
}

.product-description {
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(237, 230, 219, 0.85);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 25px;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(166, 139, 85, 0.3);
    background: transparent;
    color: #A68B55;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: rgba(166, 139, 85, 0.1);
}

.qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 1px solid rgba(166, 139, 85, 0.3);
    border-left: none;
    border-right: none;
    background-color: #26221E !important;
    background: #26221E !important;
    color: #fff !important;
    font-size: 1rem;
    color-scheme: dark !important;
}


.related-products {
    padding: 60px 0;
}

/* --- Cart --- */
.cart-page {
    padding: 40px 0 80px;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty h2 {
    color: #A68B55;
    margin-bottom: 15px;
}

.cart-empty p {
    color: rgba(237, 230, 219, 0.6);
    margin-bottom: 30px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid rgba(166, 139, 85, 0.2);
    color: #A68B55;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-name a {
    color: #EBEBE6;
}

.cart-item-name a:hover {
    color: #A68B55;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #B0B0A8;
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
}

.cart-item-remove:hover {
    color: #8B0000;
}

.cart-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.promo-form {
    display: flex;
    gap: 10px;
}

.promo-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(166, 139, 85, 0.3);
    border-radius: 6px;
    background: transparent;
    color: #EBEBE6;
}

.cart-summary {
    background: #332E29;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(166, 139, 85, 0.15);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.cart-summary-row.total {
    border-top: 2px solid #A68B55;
    padding-top: 15px;
    margin-top: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #A68B55;
}

.cart-summary-row .reduction {
    color: #B0B0A8;
}

.cart-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cart-buttons .btn {
    flex: 1;
}

/* --- Checkout --- */
.checkout-page {
    padding: 40px 0 80px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.checkout-section {
    background: #332E29;
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(166, 139, 85, 0.1);
    margin-bottom: 20px;
}

.checkout-section h3 {
    color: #A68B55;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 2px solid rgba(166, 139, 85, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.delivery-option:hover,
.delivery-option.selected {
    border-color: #A68B55;
    background: rgba(166, 139, 85, 0.05);
}

.delivery-option input[type="radio"] {
    accent-color: #A68B55;
    width: 18px;
    height: 18px;
}

.delivery-option-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin-bottom: 3px;
}

.delivery-option-info p {
    font-size: 0.85rem;
    color: rgba(237, 230, 219, 0.6);
    margin: 0;
}

.delivery-option-price {
    margin-left: auto;
    color: #A68B55;
    font-weight: 700;
}

.checkout-total {
    background: #332E29;
    border-radius: 8px;
    padding: 30px;
    border: 2px solid #A68B55;
    position: sticky;
    top: 90px;
}

.checkout-info {
    font-size: 0.85rem;
    color: #B0B0A8;
    margin-top: 15px;
    padding: 12px;
    background: rgba(168, 146, 121, 0.05);
    border-radius: 6px;
}

.checkout-points {
    color: #A68B55;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #A68B55;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(166, 139, 85, 0.25);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    color: #EBEBE6;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #A68B55;
    box-shadow: 0 0 0 3px rgba(166, 139, 85, 0.1);
}

.form-control::placeholder {
    color: rgba(237, 230, 219, 0.3);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C9A96E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-error {
    color: #B0B0A8;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-hint {
    color: rgba(237, 230, 219, 0.5);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* --- Auth Pages --- */
.auth-page {
    padding: 120px 0 80px;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #332E29;
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(166, 139, 85, 0.1);
}

.auth-card h1 {
    text-align: center;
    color: #A68B55;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-style: italic;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: rgba(237, 230, 219, 0.6);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: rgba(237, 230, 219, 0.6);
}

/* --- Account Page --- */
.account-page {
    padding: 120px 0 80px;
}

.account-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(166, 139, 85, 0.15);
}

.account-tab {
    padding: 15px 25px;
    color: rgba(237, 230, 219, 0.6);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.account-tab:hover {
    color: #A68B55;
}

.account-tab.active {
    color: #A68B55;
    border-bottom-color: #A68B55;
}

.account-panel {
    display: none;
}

.account-panel.active {
    display: block;
}

/* --- Order Detail / Timeline --- */
.order-detail {
    padding: 120px 0 80px;
}

.order-number {
    font-size: 2rem;
    color: #A68B55;
    font-style: italic;
    margin-bottom: 30px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(166, 139, 85, 0.2);
}

.timeline-step {
    text-align: center;
    position: relative;
    flex: 1;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #222;
    border: 3px solid rgba(166, 139, 85, 0.2);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.timeline-step.completed .timeline-dot {
    background: #A68B55;
    border-color: #A68B55;
    color: #26221E;
}

.timeline-step.current .timeline-dot {
    background: #332E29;
    border-color: #332E29;
    color: #EBEBE6;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(51, 46, 41, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(51, 46, 41, 0);
    }
}

.timeline-label {
    font-size: 0.8rem;
    color: rgba(237, 230, 219, 0.5);
}

.timeline-step.completed .timeline-label {
    color: #A68B55;
}

.timeline-step.current .timeline-label {
    color: #EBEBE6;
    font-weight: 600;
}

.timeline-date {
    font-size: 0.7rem;
    color: rgba(237, 230, 219, 0.3);
    margin-top: 3px;
}

/* --- Badges --- */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-en_attente {
    background: rgba(150, 150, 150, 0.2);
    color: #aaa;
}

.badge-paiement_verifie {
    background: rgba(70, 130, 180, 0.2);
    color: #6cacde;
}

.badge-en_cours {
    background: rgba(166, 139, 85, 0.2);
    color: #A68B55;
}

.badge-livree {
    background: rgba(76, 175, 80, 0.2);
    color: #66bb6a;
}

.badge-annulee {
    background: rgba(139, 0, 0, 0.2);
    color: #e57373;
}

.badge-role-client {
    background: rgba(150, 150, 150, 0.2);
    color: #aaa;
}

.badge-role-vendeur {
    background: rgba(168, 146, 121, 0.2);
    color: #B0B0A8;
}

.badge-role-manager {
    background: rgba(51, 46, 41, 0.2);
    color: #c44;
}

.badge-role-admin {
    background: rgba(166, 139, 85, 0.2);
    color: #A68B55;
}

/* --- Loyalty --- */
.loyalty-section {
    padding: 80px 0;
}

.loyalty-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.loyalty-card {
    background: #332E29;
    border-radius: 8px;
    padding: 35px 25px;
    text-align: center;
    border: 2px solid;
    transition: transform 0.3s ease;
}

.loyalty-card:hover {
    transform: translateY(-5px);
}

.loyalty-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.loyalty-card .points {
    font-size: 0.9rem;
    color: rgba(237, 230, 219, 0.5);
    margin-bottom: 5px;
}

.loyalty-card .reduction {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.loyalty-card .description {
    font-size: 0.85rem;
    color: rgba(237, 230, 219, 0.7);
    line-height: 1.6;
}

.loyalty-progress {
    background: rgba(166, 139, 85, 0.1);
    border-radius: 20px;
    height: 12px;
    margin: 15px 0;
    overflow: hidden;
}

.loyalty-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #A68B55, #332E29);
    border-radius: 20px;
    transition: width 0.5s ease;
}

.loyalty-client-card {
    background: linear-gradient(135deg, #332E29, #222);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid;
    margin-bottom: 30px;
}

.loyalty-client-card .pseudo {
    font-size: 1.3rem;
    font-weight: 700;
}

.loyalty-client-card .points-total {
    font-size: 2rem;
    color: #A68B55;
    font-weight: 700;
}

/* --- Events --- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: #332E29;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(166, 139, 85, 0.08);
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.event-card-image {
    height: 200px;
    overflow: hidden;
    background: #111;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-body {
    padding: 25px;
}

.event-card-date {
    color: #A68B55;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-card h3 {
    margin-bottom: 10px;
}

.event-card p {
    font-size: 0.9rem;
    color: rgba(237, 230, 219, 0.7);
}

.event-card-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(166, 139, 85, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.events-past {
    margin-top: 50px;
}

.events-past .event-card {
    opacity: 0.6;
}

/* --- Journal --- */
/* --- Journal Modern --- */
.journal-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 60px auto;
    max-width: 1000px;
}

.article-card-modern {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(166, 139, 85, 0.1);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.article-card-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #A68B55;
    opacity: 0.1;
    transition: all 0.4s ease;
    z-index: 2;
}

.article-card-modern:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(166, 139, 85, 0.4);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px rgba(166, 139, 85, 0.08);
}

.article-card-modern:hover::before {
    opacity: 1;
    box-shadow: 0 0 20px #A68B55;
}

.article-image {
    width: 40%;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card-modern:hover .article-image img {
    transform: scale(1.08);
}

.article-info {
    width: 60%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-date {
    color: #B0B0A8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 500;
}

.article-info h3 {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 2rem;
    color: #A68B55;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-excerpt {
    color: rgba(237, 230, 219, 0.7);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #A68B55;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: gap 0.3s ease;
}

.article-card-modern:hover .read-more {
    gap: 18px;
}

@media (max-width: 992px) {
    .article-card-modern {
        flex-direction: column;
    }

    .article-image,
    .article-info {
        width: 100%;
    }

    .article-image {
        min-height: 250px;
    }

    .article-info {
        padding: 40px;
    }

    .article-info h3 {
        font-size: 1.6rem;
    }
}


.article-full {
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.article-full h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #A68B55;
    font-style: italic;
}

.article-full .article-meta {
    color: #B0B0A8;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.article-full .article-content {
    line-height: 1.9;
    font-size: 1.05rem;
}

.article-full .article-content p {
    margin-bottom: 1.2rem;
}

/* --- Static Pages --- */
.page-header {
    padding: 120px 0 40px;
    text-align: center;
}

.page-header h1 {
    color: #A68B55;
    font-style: italic;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    color: #B0B0A8;
    font-size: 1.1rem;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.page-content p {
    line-height: 1.8;
    color: rgba(237, 230, 219, 0.85);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.value-card {
    background: #332E29;
    border-radius: 8px;
    padding: 30px;
    border-left: 3px solid #A68B55;
}

.value-card h3 {
    color: #A68B55;
    margin-bottom: 10px;
}

.value-card p {
    color: rgba(237, 230, 219, 0.7);
    margin: 0;
    font-size: 0.95rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 60px auto;
    max-width: 900px;
}

.service-block-modern {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(166, 139, 85, 0.08);
    border-radius: 24px;
    padding: 50px;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.service-block-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #A68B55;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.service-block-modern:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(166, 139, 85, 0.3);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(166, 139, 85, 0.05);
}

.service-block-modern:hover::before {
    opacity: 1;
    box-shadow: 0 0 15px #A68B55;
}

.service-info h3 {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #A68B55;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: none;
}

.service-info p {
    color: rgba(237, 230, 219, 0.8);
    line-height: 1.9;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 300;
}

.link-gold {
    color: #A68B55;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
}

.link-gold::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.link-gold:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .service-block-modern {
        padding: 30px;
    }

    .service-info h3 {
        font-size: 1.4rem;
    }

    .service-info p {
        font-size: 0.95rem;
    }
}



/* --- Premium Forms & Auth Modern --- */

/* Layout Grids */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Premium Card (Auth & Contact) */
.contact-card-modern,
.auth-card-modern,
.contact-info-block-modern {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(166, 139, 85, 0.1);
    border-radius: 28px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-card-modern {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.contact-info-block-modern {
    background: rgba(166, 139, 85, 0.03);
    border-color: rgba(166, 139, 85, 0.15);
    padding: 40px;
}

.contact-card-modern::before,
.auth-card-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #A68B55;
    opacity: 0.2;
    transition: all 0.4s ease;
}

.contact-card-modern:hover::before,
.auth-card-modern:hover::before {
    opacity: 0.8;
    box-shadow: 0 0 15px #A68B55;
}

/* Typography & Headers */
.info-header h3,
.auth-title {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #A68B55;
    margin-bottom: 10px;
}

.auth-title {
    font-size: 2.2rem;
    text-align: center;
}

.gold-separator {
    width: 40px;
    height: 2px;
    background: #A68B55;
    margin-bottom: 30px;
    border-radius: 2px;
}

.auth-subtitle {
    text-align: center;
    color: rgba(237, 230, 219, 0.5);
    margin-bottom: 40px;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Info Items (Contact) */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item .material-symbols-outlined {
    color: #A68B55;
    font-size: 1.8rem;
    background: rgba(166, 139, 85, 0.1);
    padding: 10px;
    border-radius: 12px;
}

.info-item p {
    color: rgba(237, 230, 219, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* Unified Modern Form Elements */
.form-group-modern {
    margin-bottom: 25px;
    position: relative;
}

.form-label-modern {
    display: block;
    color: #B0B0A8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-control-modern {
    width: 100%;
    background-color: #26221E !important;
    background: #26221E !important;
    border: 1px solid rgba(166, 139, 85, 0.15);
    border-radius: 14px;
    padding: 16px 20px;
    color: #fff !important;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    color-scheme: dark !important;
}

.form-control-modern:focus {
    outline: none;
    background-color: #111 !important;
    background: #111 !important;
    border-color: #A68B55;
    box-shadow: 0 0 20px rgba(166, 139, 85, 0.1);
    transform: translateX(4px);
}

/* Checkbox Alignment & Styling */
.checkbox-group-modern {
    margin: 25px 0;
}

.checkbox-label-modern {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    user-select: none;
}

.checkbox-label-modern input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(166, 139, 85, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.checkbox-label-modern input:checked+.checkbox-custom {
    background: #A68B55;
    border-color: #A68B55;
    box-shadow: 0 0 15px rgba(166, 139, 85, 0.4);
}

.checkbox-custom::after {
    content: 'check';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #000;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.checkbox-label-modern input:checked+.checkbox-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-text {
    font-size: 0.95rem;
    color: rgba(237, 230, 219, 0.7);
}

/* Autofill Fix */
.form-control-modern:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #26221E inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Action Button */
.btn-modern-submit {
    background: #A68B55;
    color: #000 !important;
    border: none;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.btn-modern-submit .material-symbols-outlined {
    color: #000 !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-block;
}

.btn-modern-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(166, 139, 85, 0.2);
    background: #D4AF37;
    color: #000 !important;
}

.btn-modern-submit:hover .material-symbols-outlined {
    transform: translateX(6px);
    color: #000 !important;
}


/* Footer / Links */
.auth-footer-modern {
    text-align: center;
    margin-top: 35px;
    font-size: 0.95rem;
    color: rgba(237, 230, 219, 0.5);
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.link-gold {
    color: #A68B55;
    font-weight: 600;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card-modern,
    .auth-card-modern,
    .contact-info-block-modern {
        padding: 30px;
    }
}




/* --- Orders Table (account) --- */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid rgba(166, 139, 85, 0.2);
    color: #A68B55;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.orders-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.order-items-table th {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid rgba(166, 139, 85, 0.2);
    color: #A68B55;
    font-size: 0.8rem;
}

.order-items-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-summary-box {
    background: #332E29;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid rgba(166, 139, 85, 0.15);
    max-width: 400px;
    margin-left: auto;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    background: #332E29;
    color: #EBEBE6;
    font-size: 0.9rem;
    border: 1px solid rgba(166, 139, 85, 0.15);
    transition: all 0.3s;
}

.pagination-btn:hover {
    border-color: #A68B55;
    color: #A68B55;
}

.pagination-btn.active {
    background: #A68B55;
    color: #26221E;
    border-color: #A68B55;
    font-weight: 700;
}

.pagination-dots {
    display: flex;
    align-items: center;
    color: rgba(237, 230, 219, 0.4);
}

/* --- Toast --- */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 15px 25px;
    border-radius: 8px;
    color: #EBEBE6;
    font-size: 0.9rem;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 350px;
}

.toast-success {
    background: #332E29;
    border-left: 4px solid #A68B55;
}

.toast-error {
    background: #332E29;
    border-left: 4px solid #8B0000;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* --- Boutique Filters --- */
.shop-filters {
    background: #332E29;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(166, 139, 85, 0.08);
}

.filters-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    display: block;
    font-size: 0.8rem;
    color: #A68B55;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(166, 139, 85, 0.2);
    border-radius: 6px;
    background: #26221E;
    color: #EBEBE6;
    font-size: 0.85rem;
}

.price-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.price-btn {
    padding: 6px 12px;
    border: 1px solid rgba(166, 139, 85, 0.2);
    background: transparent;
    color: #EBEBE6;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.price-btn:hover,
.price-btn.active {
    background: #A68B55;
    color: #26221E;
    border-color: #A68B55;
}

.shop-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(237, 230, 219, 0.5);
    font-size: 1.1rem;
}

/* --- Confirmation --- */
.confirmation-page {
    padding: 120px 0 80px;
    text-align: center;
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.confirmation-page h1 {
    color: #A68B55;
    font-style: italic;
    margin-bottom: 15px;
}

/* --- Honeypot --- */
.ohnohoney {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* --- Philosophy Section --- */
.philosophy {
    background: linear-gradient(135deg, #26221E, #332E29);
    text-align: center;
}

.philosophy-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(237, 230, 219, 0.8);
    font-style: italic;
}

/* --- Footer --- */
.site-footer {
    background: #26221E;
    border-top: 1px solid rgba(166, 139, 85, 0.1);
    padding: 60px 0 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #A68B55;
}

.footer-slogan {
    color: #B0B0A8;
    font-size: 0.85rem;
    margin: 8px 0;
}

.footer-address {
    color: rgba(237, 230, 219, 0.5);
    font-size: 0.85rem;
}

.footer-title {
    color: #A68B55;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(237, 230, 219, 0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #A68B55;
}

.footer-info {
    color: rgba(237, 230, 219, 0.6);
    font-size: 0.85rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact-link {
    color: #A68B55;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(166, 139, 85, 0.08);
    color: rgba(237, 230, 219, 0.4);
    font-size: 0.85rem;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: #332E29;
    border-radius: 8px;
    padding: 35px;
    max-width: 450px;
    width: 90%;
    border: 1px solid rgba(166, 139, 85, 0.2);
}

.modal h3 {
    color: #A68B55;
    margin-bottom: 15px;
}

.modal p {
    color: rgba(237, 230, 219, 0.7);
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* --- Loading Spinner --- */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(166, 139, 85, 0.3);
    border-radius: 50%;
    border-top-color: #A68B55;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .loyalty-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .cart-bottom {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #26221E;
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid rgba(166, 139, 85, 0.1);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(166, 139, 85, 0.05);
        display: block;
    }

    .nav-mobile-extras {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(166, 139, 85, 0.1);
    }

    .nav-mobile-extras .nav-link {
        padding: 12px 0;
        font-size: 0.95rem;
    }

    .hamburger {
        display: flex;
    }

    .account-name,
    .login-text {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .loyalty-cards {
        grid-template-columns: 1fr;
    }

    .cart-table th:nth-child(4),
    .cart-table td:nth-child(4) {
        display: none;
    }

    .timeline {
        flex-direction: column;
        gap: 20px;
    }

    .timeline::before {
        display: none;
    }

    .account-tabs {
        overflow-x: auto;
    }

    .account-tab {
        white-space: nowrap;
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .journal-grid {
        grid-template-columns: 1fr;
    }

    .filters-row {
        flex-direction: column;
    }

    .filter-group {
        min-width: 100%;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* --- No Image Placeholder --- */
.no-image {
    background: linear-gradient(135deg, #332E29, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(166, 139, 85, 0.3);
    font-size: 2rem;
}

/* =====================================================
   MODERN ANIMATIONS & EFFECTS (2026)
   ===================================================== */

/* --- Scroll Reveal Animations (progressive enhancement: require JS) --- */
html.js-ready .reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

html.js-ready .reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

html.js-ready .reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

html.js-ready .reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* --- Staggered Children --- */
html.js-ready .stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .stagger-children.revealed>*:nth-child(1) {
    transition-delay: 0.05s;
}

html.js-ready .stagger-children.revealed>*:nth-child(2) {
    transition-delay: 0.1s;
}

html.js-ready .stagger-children.revealed>*:nth-child(3) {
    transition-delay: 0.15s;
}

html.js-ready .stagger-children.revealed>*:nth-child(4) {
    transition-delay: 0.2s;
}

html.js-ready .stagger-children.revealed>*:nth-child(5) {
    transition-delay: 0.25s;
}

html.js-ready .stagger-children.revealed>*:nth-child(6) {
    transition-delay: 0.3s;
}

html.js-ready .stagger-children.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

/* --- Enhanced Product Card Hover --- */
.product-card {
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(166, 139, 85, 0.08);
    border-color: rgba(166, 139, 85, 0.25);
}

.product-card .product-image img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* --- Magnetic Button Effect --- */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::after {
    transform: translateX(100%);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(166, 139, 85, 0.35), 0 0 15px rgba(166, 139, 85, 0.15);
}

/* --- Glassmorphism Header on Scroll --- */
.site-header {
    backdrop-filter: blur(0px);
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: rgba(38, 34, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(166, 139, 85, 0.15);
}

/* --- Section Titles Animation --- */
.section-title {
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A68B55, transparent);
    margin: 15px auto 0;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.revealed .section-title::after,
.section-title.revealed::after {
    width: 80px;
}

/* --- Value Cards Hover --- */
.value-card {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-left-color: #A68B55;
    border-left-width: 4px;
}

/* --- Event Card Hover --- */
.event-card {
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(166, 139, 85, 0.2);
}

/* --- Loyalty Card Glow --- */
.loyalty-card {
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.loyalty-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* --- Smooth Page Transitions --- */
.site-main {
    flex: 1;
    animation: pageIn 0.5s ease forwards;
}

@keyframes pageIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Philosophy Text Glow --- */
.philosophy-text {
    text-shadow: 0 0 40px rgba(166, 139, 85, 0.05);
    transition: text-shadow 0.5s ease;
}

.philosophy:hover .philosophy-text {
    text-shadow: 0 0 60px rgba(166, 139, 85, 0.12);
}

/* --- Footer Link Hover Underline --- */
.footer-links a {
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #A68B55;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* --- Form Focus Glow --- */
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(166, 139, 85, 0.12), 0 0 20px rgba(166, 139, 85, 0.06);
}

/* --- Dropdown Slide --- */
.dropdown-menu {
    transform: translateY(-10px) scale(0.97);
}

.dropdown-menu.show {
    transform: translateY(0) scale(1);
}

/* --- Cart Badge Pulse --- */
.cart-badge {
    animation: badgePop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes badgePop {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Toast Slide Enhanced --- */
@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* --- About Page Reveal --- */
html.js-ready .about-heritage,
html.js-ready .about-metamorphosis,
html.js-ready .about-philosophy,
html.js-ready .about-invitation {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .about-heritage.revealed,
html.js-ready .about-metamorphosis.revealed,
html.js-ready .about-philosophy.revealed,
html.js-ready .about-invitation.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Separator Line Animation --- */
.separator {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #A68B55, transparent);
    margin: 40px auto;
}

html.js-ready .separator {
    width: 0;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .separator.revealed {
    width: 120px;
}

/* --- Image Parallax Subtle --- */
@media (prefers-reduced-motion: no-preference) {
    .hero {
        background-attachment: fixed;
    }
}

/* --- Smooth Scrollbar (Webkit) --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #26221E;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #332E29, #A68B55);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A68B55;
}

/* --- Category Cards (Vitrines) --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.category-card {
    position: relative;
    height: 550px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(166, 139, 85, 0.2);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    background: #332E29;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: #A68B55;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(166, 139, 85, 0.3);
}

.category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
    filter: brightness(0.7);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(38, 34, 30, 0.95) 0%, rgba(38, 34, 30, 0.3) 50%, rgba(38, 34, 30, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px 30px;
    z-index: 2;
    transition: background 0.5s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(38, 34, 30, 0.98) 0%, rgba(38, 34, 30, 0.1) 60%, rgba(38, 34, 30, 0.2) 100%);
}

.category-content {
    transition: all 0.5s ease;
}

.category-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #A68B55;
    margin-bottom: 20px;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.category-btn {
    display: inline-block;
    color: #EBEBE6;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 600;
    border-bottom: 1px solid #A68B55;
    padding-bottom: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.category-card:hover .category-btn {
    opacity: 1;
    transform: translateY(0);
    color: #A68B55;
}

@media (max-width: 768px) {
    .shop-search-box {
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Age Verification Modal --- */
.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #332E29 0%, #26221E 100%);
    z-index: 999999;
    /* Ensure it stays above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: #26221E;
    border: 1px solid rgba(166, 139, 85, 0.3);
    padding: 60px 40px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(166, 139, 85, 0.1);
    position: relative;
    animation: ageModalIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.age-modal-logo {
    font-family: 'Cloister Black', serif;
    font-size: 3rem;
    color: #A68B55;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.age-modal-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #EBEBE6;
    margin-bottom: 20px;
    font-style: italic;
}

.age-modal-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(237, 230, 219, 0.8);
    margin-bottom: 40px;
}

.age-modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 40px;
}

.age-modal-actions>* {
    flex: 1;
}

.age-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    padding: 0 25px;
    border: 1px solid #A68B55;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.age-btn-accept {
    background: #A68B55;
    color: #26221E;
    font-weight: 700;
}

.age-btn-accept:hover {
    background: #C9A96E;
    border-color: #C9A96E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(166, 139, 85, 0.3);
}

.age-btn-refuse {
    color: #A68B55;
}

.age-btn-refuse:hover {
    background: rgba(166, 139, 85, 0.1);
    transform: translateY(-3px);
}

.age-modal-footer {
    margin-top: 40px;
    font-size: 0.7rem;
    color: rgba(237, 230, 219, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes ageModalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 600px) {
    .age-modal-content {
        padding: 40px 20px;
    }

    .age-modal-actions {
        flex-direction: column;
    }

    .age-modal-logo {
        font-size: 1.8rem;
    }
}