/* ============================================
   TerraLuneHome Decor v2 - Main Stylesheet
   Design sobre, professionnel, moderne
   ============================================ */

/* --------------------------------------------
   1. VARIABLES & RESET
   -------------------------------------------- */
:root {
    --tlh-primary: #1a1a2e;
    --tlh-accent: #c9a96e;
    --tlh-accent-hover: #b8954f;
    --tlh-text: #333333;
    --tlh-text-light: #666666;
    --tlh-bg: #ffffff;
    --tlh-bg-alt: #f8f7f4;
    --tlh-bg-dark: #1a1a2e;
    --tlh-border: #e8e5e0;
    --tlh-white: #ffffff;
    --tlh-black: #0a0a0a;
    --tlh-success: #2d6a4f;
    --tlh-error: #c1121f;
    --tlh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --tlh-radius: 8px;
    --tlh-radius-sm: 4px;
    --tlh-shadow: 0 2px 20px rgba(0,0,0,0.06);
    --tlh-shadow-hover: 0 8px 30px rgba(0,0,0,0.10);
    --tlh-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --tlh-container: 1200px;
    --tlh-header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--tlh-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--tlh-text);
    background: var(--tlh-bg);
    overflow-x: hidden;
}

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

a {
    color: var(--tlh-text);
    text-decoration: none;
    transition: color var(--tlh-transition);
}

a:hover {
    color: var(--tlh-accent);
}

ul, ol {
    list-style: none;
}

/* --------------------------------------------
   2. CONTAINER & GRID
   -------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--tlh-container);
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* --------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--tlh-primary);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
    color: var(--tlh-text-light);
}

/* --------------------------------------------
   4. HEADER
   -------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--tlh-white);
    border-bottom: 1px solid var(--tlh-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--tlh-header-height);
}

.header-left,
.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--tlh-primary);
    text-transform: none;
}

.site-logo img {
    max-height: 48px;
    width: auto;
}

/* Menu Toggle (mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--tlh-primary);
    transition: var(--tlh-transition);
    border-radius: 2px;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    font-size: 1.25rem;
    color: var(--tlh-primary);
    padding: 8px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--tlh-accent);
    color: var(--tlh-white);
    font-size: 0.65rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------
   5. NAVIGATION
   -------------------------------------------- */
.main-navigation {
    background: var(--tlh-white);
    border-top: 1px solid var(--tlh-border);
}

.main-navigation .container {
    display: flex;
    justify-content: center;
}

.primary-menu {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: block;
    padding: 14px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tlh-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--tlh-transition);
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a {
    color: var(--tlh-accent);
}

/* Submenu */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--tlh-white);
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    box-shadow: var(--tlh-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--tlh-transition);
    z-index: 100;
}

.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--tlh-text);
    border-bottom: 1px solid var(--tlh-border);
}

.primary-menu .sub-menu a:hover {
    background: var(--tlh-bg-alt);
    color: var(--tlh-accent);
}

.primary-menu .sub-menu li:last-child a {
    border-bottom: none;
}

/* --------------------------------------------
   6. PAGE HEADER
   -------------------------------------------- */
.page-header {
    background: var(--tlh-bg-alt);
    padding: 48px 0;
    text-align: center;
    margin-bottom: 48px;
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: var(--tlh-primary);
}

/* --------------------------------------------
   7. CONTENT AREA
   -------------------------------------------- */
.content-area {
    padding-bottom: 80px;
}

.content-page,
.content-single {
    max-width: 800px;
    margin: 0 auto;
}

.content-page p,
.content-single p {
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* --------------------------------------------
   8. POSTS GRID
   -------------------------------------------- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.post-card {
    background: var(--tlh-white);
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    overflow: hidden;
    transition: box-shadow var(--tlh-transition);
}

.post-card:hover {
    box-shadow: var(--tlh-shadow-hover);
}

.post-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.post-card-body {
    padding: 24px;
}

.post-title {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.post-title a {
    color: var(--tlh-primary);
}

.post-title a:hover {
    color: var(--tlh-accent);
}

.post-excerpt {
    font-size: 0.9375rem;
    color: var(--tlh-text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.read-more {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tlh-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.read-more:hover {
    color: var(--tlh-accent-hover);
}

/* --------------------------------------------
   9. BUTTONS
   -------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-family: var(--tlh-font);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--tlh-radius);
    cursor: pointer;
    transition: all var(--tlh-transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.btn-accent {
    background: var(--tlh-accent);
    color: var(--tlh-white);
}

.btn-accent:hover {
    background: var(--tlh-accent-hover);
    color: var(--tlh-white);
}

/* --------------------------------------------
   10. FOOTER
   -------------------------------------------- */
.site-footer {
    background: var(--tlh-bg-dark);
    color: rgba(255,255,255,0.8);
    margin-top: 80px;
}

.footer-main {
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tlh-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-widget p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    transition: color var(--tlh-transition);
}

.footer-menu a:hover {
    color: var(--tlh-accent);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    transition: all var(--tlh-transition);
}

.social-links a:hover {
    border-color: var(--tlh-accent);
    color: var(--tlh-accent);
    background: rgba(201,169,110,0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-language-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-language-switcher li {
    margin: 0;
    padding: 0;
}

.footer-language-switcher a {
    display: inline-block;
    padding: 4px;
    border-radius: 4px;
    transition: opacity 0.2s;
    line-height: 0;
}

.footer-language-switcher a:hover {
    opacity: 0.7;
}

.footer-language-switcher a img {
    width: 24px;
    height: 16px;
    display: block;
    border-radius: 2px;
}

.footer-language-switcher li.current-lang a {
    outline: 2px solid var(--tlh-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --------------------------------------------
   11. 404 PAGE
   -------------------------------------------- */
.error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--tlh-accent);
    line-height: 1;
    margin-bottom: 16px;
}

.error-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.error-text {
    font-size: 1.0625rem;
    margin-bottom: 32px;
}

/* --------------------------------------------
   12. WOOCOMMERCE OVERRIDES
   -------------------------------------------- */
.woo-page {
    padding-bottom: 80px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 0;
    padding: 0;
}

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

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

/* Product Card */
.product-card {
    list-style: none;
    margin: 0 !important;
}

.product-card-inner {
    background: var(--tlh-white);
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    overflow: hidden;
    transition: all var(--tlh-transition);
    position: relative;
}

.product-card-inner:hover {
    box-shadow: var(--tlh-shadow-hover);
    transform: translateY(-4px);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--tlh-accent);
    color: var(--tlh-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--tlh-radius-sm);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-image-link {
    display: block;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-card-body {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-title a {
    color: var(--tlh-primary);
}

.product-title a:hover {
    color: var(--tlh-accent);
}

.product-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--tlh-primary);
    margin-bottom: 16px;
}

.product-price del {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--tlh-text-light);
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
    color: var(--tlh-accent);
}

.product-actions .add_to_cart_button,
.product-actions .button {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--tlh-font);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--tlh-primary);
    color: var(--tlh-white);
    border: none;
    border-radius: var(--tlh-radius);
    cursor: pointer;
    transition: all var(--tlh-transition);
}

.product-actions .add_to_cart_button:hover,
.product-actions .button:hover {
    background: var(--tlh-accent);
    color: var(--tlh-white);
}

/* Single Product */
.single-product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 48px 0;
}

@media (max-width: 768px) {
    .single-product-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.product-summary .product_title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.product-summary .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tlh-accent);
    margin-bottom: 24px;
}

.product-summary .woocommerce-product-rating {
    margin-bottom: 16px;
}

.product-summary .cart {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.product-summary .quantity input {
    width: 60px;
    padding: 10px;
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    font-family: var(--tlh-font);
    font-size: 1rem;
    text-align: center;
}

.product-summary .single_add_to_cart_button {
    flex: 1;
    padding: 14px 32px;
    font-family: var(--tlh-font);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--tlh-accent);
    color: var(--tlh-white);
    border: none;
    border-radius: var(--tlh-radius);
    cursor: pointer;
    transition: all var(--tlh-transition);
}

.product-summary .single_add_to_cart_button:hover {
    background: var(--tlh-accent-hover);
}

/* WooCommerce Tabs */
.woocommerce-tabs {
    padding: 48px 0;
    border-top: 1px solid var(--tlh-border);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--tlh-border);
    margin-bottom: 32px;
    padding: 0;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    border-radius: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--tlh-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--tlh-transition);
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--tlh-accent);
    border-bottom-color: var(--tlh-accent);
}

/* Related Products */
.related-products {
    padding: 48px 0;
    border-top: 1px solid var(--tlh-border);
}

.related-products h2 {
    text-align: center;
    margin-bottom: 32px;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px 24px;
    margin-bottom: 24px;
    border-radius: var(--tlh-radius);
    border: none;
    font-size: 0.9375rem;
}

.woocommerce-message {
    background: #e8f5e9;
    color: var(--tlh-success);
}

.woocommerce-info {
    background: #e3f2fd;
    color: #1565c0;
}

.woocommerce-error {
    background: #fce4ec;
    color: var(--tlh-error);
}

/* WooCommerce Pagination */
.woocommerce-pagination {
    margin-top: 48px;
    text-align: center;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    border: none;
}

.woocommerce-pagination ul.page-numbers li {
    border: none;
    margin: 0;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    font-size: 0.875rem;
    color: var(--tlh-text);
    transition: all var(--tlh-transition);
}

.woocommerce-pagination .page-numbers a:hover {
    border-color: var(--tlh-accent);
    color: var(--tlh-accent);
}

.woocommerce-pagination .page-numbers span.current {
    background: var(--tlh-primary);
    border-color: var(--tlh-primary);
    color: var(--tlh-white);
}

/* --------------------------------------------
   13. RESPONSIVE
   -------------------------------------------- */
@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: var(--tlh-header-height);
        left: 0;
        right: 0;
        background: var(--tlh-white);
        border-bottom: 1px solid var(--tlh-border);
        box-shadow: var(--tlh-shadow);
    }

    .main-navigation.active {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
    }

    .primary-menu > li > a {
        padding: 14px 24px;
        border-bottom: 1px solid var(--tlh-border);
    }

    .primary-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--tlh-bg-alt);
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 32px 0;
        margin-bottom: 32px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}

/* --------------------------------------------
   14. UTILITIES
   -------------------------------------------- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Animations subtiles */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.post-card,
.product-card {
    animation: fadeIn 0.6s ease forwards;
}

.post-card:nth-child(2),
.product-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3),
.product-card:nth-child(3) { animation-delay: 0.2s; }
.post-card:nth-child(4),
.product-card:nth-child(4) { animation-delay: 0.3s; }
.post-card:nth-child(5),
.product-card:nth-child(5) { animation-delay: 0.4s; }
.post-card:nth-child(6),
.product-card:nth-child(6) { animation-delay: 0.5s; }

/* --------------------------------------------
   15. TEMPLATE PARTS
   -------------------------------------------- */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--tlh-primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--tlh-bg-alt);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 48px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--tlh-white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-btn {
    font-size: 0.9375rem;
    padding: 16px 40px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1.0625rem;
    }
}

/* Features Section */
.features-section {
    background: var(--tlh-bg-alt);
}

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

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

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tlh-white);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--tlh-accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.feature-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--tlh-text-light);
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--tlh-primary);
}

.newsletter-inner {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2rem;
    color: var(--tlh-white);
    margin-bottom: 12px;
}

.newsletter-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    border-radius: var(--tlh-radius);
    overflow: hidden;
}

.newsletter-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-family: var(--tlh-font);
    font-size: 1rem;
    outline: none;
}

.newsletter-input-group .btn {
    border-radius: 0;
    padding: 16px 32px;
}

/* --------------------------------------------
   16. WOOCOMMERCE - PANIER
   -------------------------------------------- */
.tlh-cart-wrapper {
    padding: 48px 0;
}

.tlh-cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 992px) {
    .tlh-cart-grid {
        grid-template-columns: 1fr;
    }
}

.tlh-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--tlh-primary);
}

/* Empty cart */
.tlh-cart-empty {
    text-align: center;
    padding: 80px 24px;
}

.tlh-cart-empty-icon {
    font-size: 3rem;
    color: var(--tlh-accent);
    margin-bottom: 24px;
}

.tlh-cart-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.tlh-cart-empty p {
    color: var(--tlh-text-light);
    margin-bottom: 32px;
}

/* Cart table */
.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.shop_table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tlh-text-light);
    padding: 12px 8px;
    border-bottom: 2px solid var(--tlh-border);
    text-align: left;
}

.shop_table tbody tr {
    border-bottom: 1px solid var(--tlh-border);
}

.shop_table tbody td {
    padding: 20px 8px;
    vertical-align: middle;
}

.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--tlh-radius-sm);
}

.product-name a {
    font-weight: 500;
    color: var(--tlh-primary);
}

.product-name a:hover {
    color: var(--tlh-accent);
}

.product-price .amount,
.product-subtotal .amount {
    font-weight: 600;
    color: var(--tlh-primary);
}

.quantity input {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius-sm);
    font-family: var(--tlh-font);
    font-size: 0.9375rem;
    text-align: center;
}

.product-remove .remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--tlh-text-light);
    transition: all var(--tlh-transition);
}

.product-remove .remove:hover {
    background: var(--tlh-error);
    color: var(--tlh-white);
}

/* Cart actions */
.tlh-cart-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

/* Cart totals */
.cart_totals {
    background: var(--tlh-bg-alt);
    border-radius: var(--tlh-radius);
    padding: 32px;
    position: sticky;
    top: 120px;
}

.cart_totals h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tlh-border);
}

.cart_totals table {
    width: 100%;
    border: none;
}

.cart_totals table th,
.cart_totals table td {
    padding: 12px 0;
    border: none;
    font-size: 0.9375rem;
}

.cart_totals table th {
    font-weight: 400;
    color: var(--tlh-text-light);
}

.cart_totals table td {
    text-align: right;
    font-weight: 500;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    font-size: 1.125rem;
    font-weight: 700;
    padding-top: 20px;
    border-top: 2px solid var(--tlh-border);
}

.cart_totals .order-total .amount {
    color: var(--tlh-accent);
}

.tlh-cart-cta {
    margin-top: 24px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.tlh-continue-shopping {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--tlh-text-light);
}

.tlh-continue-shopping:hover {
    color: var(--tlh-accent);
}

/* Coupon */
.coupon {
    display: flex;
    gap: 8px;
}

.coupon input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius-sm);
    font-family: var(--tlh-font);
    font-size: 0.875rem;
}

/* --------------------------------------------
   17. WOOCOMMERCE - CHECKOUT
   -------------------------------------------- */
.tlh-checkout-wrapper {
    padding: 48px 0;
}

.tlh-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 992px) {
    .tlh-checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* Checkout form fields */
.tlh-checkout-fields .form-row {
    margin-bottom: 20px;
}

.tlh-checkout-fields label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--tlh-text);
}

.tlh-checkout-fields .input-text,
.tlh-checkout-fields select,
.tlh-checkout-fields textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    font-family: var(--tlh-font);
    font-size: 0.9375rem;
    color: var(--tlh-text);
    background: var(--tlh-white);
    transition: border-color var(--tlh-transition);
}

.tlh-checkout-fields .input-text:focus,
.tlh-checkout-fields select:focus,
.tlh-checkout-fields textarea:focus {
    outline: none;
    border-color: var(--tlh-accent);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}

.tlh-checkout-fields .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .tlh-checkout-fields .col2-set {
        grid-template-columns: 1fr;
    }
}

/* Order review in checkout */
.tlh-order-review {
    background: var(--tlh-bg-alt);
    border-radius: var(--tlh-radius);
    padding: 32px;
    position: sticky;
    top: 120px;
}

.tlh-order-review h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tlh-border);
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border: none;
}

.woocommerce-checkout-review-order-table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tlh-text-light);
    padding: 8px 0;
    border-bottom: 2px solid var(--tlh-border);
}

.woocommerce-checkout-review-order-table tbody td {
    padding: 12px 0;
    border-bottom: 1px solid var(--tlh-border);
    font-size: 0.9375rem;
}

.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    padding: 12px 0;
    border: none;
    font-size: 0.9375rem;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-size: 1.125rem;
    font-weight: 700;
    padding-top: 20px;
    border-top: 2px solid var(--tlh-border);
}

.woocommerce-checkout-review-order-table .order-total .amount {
    color: var(--tlh-accent);
}

/* Payment methods */
.woocommerce-checkout-payment {
    margin-top: 24px;
}

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

.wc_payment_method {
    margin-bottom: 12px;
}

.wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

.wc_payment_method .payment_box {
    margin-top: 8px;
    padding: 16px;
    background: var(--tlh-white);
    border-radius: var(--tlh-radius-sm);
    font-size: 0.875rem;
    color: var(--tlh-text-light);
}

.place-order {
    margin-top: 24px;
}

.place-order .button {
    width: 100%;
    padding: 16px 32px;
    font-family: var(--tlh-font);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--tlh-accent);
    color: var(--tlh-white);
    border: none;
    border-radius: var(--tlh-radius);
    cursor: pointer;
    transition: all var(--tlh-transition);
}

.place-order .button:hover {
    background: var(--tlh-accent-hover);
}

/* --------------------------------------------
   18. WOOCOMMERCE - THANK YOU
   -------------------------------------------- */
.tlh-thankyou {
    padding: 48px 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.tlh-thankyou-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.tlh-thankyou-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.tlh-thankyou-header p {
    color: var(--tlh-text-light);
    margin-bottom: 32px;
}

.tlh-thankyou-details {
    text-align: left;
    margin: 32px 0;
}

.tlh-order-info {
    background: var(--tlh-bg-alt);
    border-radius: var(--tlh-radius);
    padding: 24px;
}

.tlh-order-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--tlh-border);
}

.tlh-order-info-item:last-child {
    border-bottom: none;
}

.tlh-order-info-item .label {
    font-size: 0.875rem;
    color: var(--tlh-text-light);
}

.tlh-order-info-item .value {
    font-weight: 600;
    color: var(--tlh-primary);
}

.tlh-thankyou-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--tlh-primary);
    color: var(--tlh-primary);
}

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

/* --------------------------------------------
   19. WOOCOMMERCE - MON COMPTE
   -------------------------------------------- */
.tlh-myaccount {
    padding: 48px 0;
}

.tlh-myaccount-header {
    margin-bottom: 32px;
}

.tlh-myaccount-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.tlh-myaccount-header p {
    color: var(--tlh-text-light);
}

.tlh-myaccount-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

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

/* Account navigation */
.woocommerce-MyAccount-navigation {
    background: var(--tlh-bg-alt);
    border-radius: var(--tlh-radius);
    padding: 24px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 4px;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--tlh-text);
    border-radius: var(--tlh-radius-sm);
    transition: all var(--tlh-transition);
}

.woocommerce-MyAccount-navigation li a:hover {
    background: var(--tlh-white);
    color: var(--tlh-accent);
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: var(--tlh-primary);
    color: var(--tlh-white);
    font-weight: 500;
}

/* Account content */
.woocommerce-MyAccount-content {
    min-height: 300px;
}

.woocommerce-MyAccount-content .order {
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    padding: 24px;
    margin-bottom: 24px;
}

.woocommerce-MyAccount-content .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tlh-border);
}

.woocommerce-MyAccount-content address {
    font-style: normal;
    line-height: 1.8;
    color: var(--tlh-text-light);
}

/* --------------------------------------------
   20. WOOCOMMERCE - FORMULAIRE CONNEXION
   -------------------------------------------- */
.tlh-login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 32px;
    background: var(--tlh-bg-alt);
    border-radius: var(--tlh-radius);
}

.tlh-login-form h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    text-align: center;
}

.tlh-login-form .form-row {
    margin-bottom: 20px;
}

.tlh-login-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.tlh-login-form .input-text {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    font-family: var(--tlh-font);
    font-size: 0.9375rem;
}

.tlh-login-form .input-text:focus {
    outline: none;
    border-color: var(--tlh-accent);
}

.tlh-login-form .lost_password {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
}

/* --------------------------------------------
   21. WOOCOMMERCE - NOTICES & MESSAGES
   -------------------------------------------- */
.woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin-bottom: 16px;
    border-radius: var(--tlh-radius);
    font-size: 0.9375rem;
    border: none;
}

.woocommerce-message {
    background: #e8f5e9;
    color: var(--tlh-success);
}

.woocommerce-info {
    background: #e3f2fd;
    color: #1565c0;
}

.woocommerce-error {
    background: #fce4ec;
    color: var(--tlh-error);
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    margin-left: auto;
    padding: 8px 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: var(--tlh-radius-sm);
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--tlh-transition);
    white-space: nowrap;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    opacity: 0.8;
}

/* --------------------------------------------
   22. WOOCOMMERCE - BOUTIQUE (FILTRES)
   -------------------------------------------- */
.woocommerce-result-count {
    font-size: 0.875rem;
    color: var(--tlh-text-light);
    margin-bottom: 24px;
}

.woocommerce-ordering {
    margin-bottom: 24px;
}

.woocommerce-ordering select {
    padding: 10px 16px;
    border: 1px solid var(--tlh-border);
    border-radius: var(--tlh-radius);
    font-family: var(--tlh-font);
    font-size: 0.875rem;
    color: var(--tlh-text);
    background: var(--tlh-white);
    cursor: pointer;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--tlh-accent);
}

/* Store notice */
.woocommerce-store-notice {
    background: var(--tlh-primary);
    color: var(--tlh-white);
    text-align: center;
    padding: 12px;
    font-size: 0.875rem;
}
