/*
Theme Name: Denicheur Theme
Theme URI: https://example.com
Author: Dénicheur
Description: Thème reproduisant le visuel Luminelle Bijoux
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: denicheurtheme
Tags: e-commerce, custom-background, custom-logo, translation-ready, woocommerce
*/

:root {
    --dt-primary: #ffffff;
    --dt-accent: #111418;
    /* Dark button background */
    --dt-accent-hover: #252a2e;
    /* Slightly lighter on hover */
    --dt-bg: #32383e;
    --dt-surface: #252a2e;
    --dt-text: #ffffff;
    --dt-text-light: #abb1b6;
    --dt-border: rgba(255, 255, 255, 0.1);
    --dt-font: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--dt-font);
    background-color: var(--dt-bg);
    color: var(--dt-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--dt-primary);
    text-decoration: none;
    transition: 0.2s;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

/* ================================= */
/* Header */
/* ================================= */

.site-header {
    background: rgb(2 6 23 / 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-branding {
    flex: 0 0 auto;
}

.site-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-title a {
    color: #fff;
}

.custom-logo {
    width: 120px !important;
    max-width: 120px !important;
    height: auto;
    display: block;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    white-space: nowrap;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 1rem 0;
    display: inline-block;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation a:hover::before {
    transform: scaleX(1);
}

.menu-item-has-children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.8rem;
    display: inline-block;
    vertical-align: middle;
}

.main-navigation .menu-item-has-children a:hover::before {
    width: calc(100% - 20px);
}

.main-navigation a:hover {
    color: #fff;
    opacity: 0.8;
}

/* Dropdown styling */
.main-navigation ul li {
    position: relative;
    padding: 0;
}

.main-navigation ul .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(2 6 23);
    min-width: 220px;
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1002;
    border-top: 2px solid #fff;
}

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

.main-navigation ul .sub-menu li {
    padding: 0;
    width: 100%;
}

.main-navigation ul .sub-menu a {
    padding: 0.8rem 1.5rem;
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: background 0.2s, padding-left 0.2s;
}

.main-navigation ul .sub-menu a::after {
    display: none;
    /* No underline for sub-menu items */
}

.main-navigation ul .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.8rem;
}

/* Indicators for items with children */
.menu-item-has-children>a::after {
    content: '\f107';
    /* Font Awesome angle down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.8rem;
    display: inline-block;
    vertical-align: middle;
}

.main-navigation ul .sub-menu .menu-item-has-children>a::after {
    content: '\f105';
    /* Angle right for second level */
    float: right;
}

.fa-times {
    font-size: 1.5rem;
}

.header-tools {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.header-search-form {
    flex: 1;
    max-width: 250px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    pointer-events: none;
}

.header-search-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 8px 12px 8px 35px;
    color: #fff;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.header-search-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #fff;
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon {
    display: flex;
    align-items: center;
    color: #fff;
    transition: color 0.2s, transform 0.2s;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
}

.header-icon:hover {
    color: #fff;
    opacity: 0.8;
    background: none !important;
    transform: scale(1.1);
}

.mobile-only {
    display: none !important;
}

@media (max-width: 991px) {
    .main-navigation {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .header-cart .cart-text {
        display: none;
    }

    .site-branding {
        flex: 0 0 auto;
    }

    .header-tools {
        flex: 1;
        gap: 0.8rem;
    }

    .header-search-form {
        flex: 1;
        max-width: none;
    }

    #mobile-menu-toggle {
        font-size: 1.4rem;
    }

    .custom-logo {
        width: 80px !important;
        max-width: 80px !important;
    }

    .main-navigation.active {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgb(2 6 23);
        z-index: 1001;
        padding: 6rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        animation: slideInRight 0.3s ease-out;
    }

    .main-navigation.active ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-navigation.active a {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }

    /* Mobile Sub-menu */
    .main-navigation.active .sub-menu {
        display: block !important;
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0.5rem 0 0.5rem 1rem !important;
        transform: none !important;
        border: none !important;
    }

    .main-navigation.active .sub-menu a {
        font-size: 0.95rem !important;
        text-transform: none !important;
        padding: 0.4rem 0 !important;
        color: rgba(255, 255, 255, 0.7);
    }

    .main-navigation.active .menu-item-has-children>a::after {
        display: none;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.header-cart {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.header-cart svg {
    margin-right: 6px;
}

.header-icon svg {
    margin-right: 0;
}

.site-content {
    background-color: var(--dt-bg);
    min-height: 80vh;
}

.header-search-icon svg {
    margin-right: 0;
}



/* ================================= */
/* Hero & Sections */
/* ================================= */

.hero-section {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.kickstarter-badge {
    color: #00ff88;
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    display: block;
}

.section-title {
    margin: 0;
    color: #fff;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1.5rem;
}

.main-intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .section-title {
        letter-spacing: 1px;
    }

    .main-intro-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
}

.intro-section {
    max-width: 900px;
    margin: 0 auto 4rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.products-section {
    margin-bottom: 5rem;
}

.hashtag-section {
    text-align: center;
    padding: 3rem 0;
}

.hashtag-section h3 {
    color: var(--dt-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hashtag-section p {
    font-size: 0.9rem;
    color: var(--dt-text-light);
}

/* ================================= */
/* Buttons */
/* ================================= */

.button,
.woocommerce ul.products li.product .button,
input[type="submit"]:not(.adminbar-button) {
    background-color: var(--dt-accent) !important;
    color: #fff !important;
    border-radius: 2px !important;
    padding: 0.8rem 2rem !important;
    font-weight: 500 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: background 0.3s !important;
    display: inline-block !important;
    border: none !important;
    cursor: pointer;
}

.button:hover,
.woocommerce ul.products li.product .button:hover,
button:hover,
input[type="submit"]:hover {
    background-color: var(--dt-accent-hover) !important;
}

/* ================================= */
/* WooCommerce Overrides */
/* ================================= */

.woocommerce .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 3rem 0 !important;
    align-items: stretch !important;
}

.woocommerce .products.columns-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.woocommerce .products.columns-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.woocommerce .products::before,
.woocommerce .products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    background: #252a2e !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
    margin: 0 !important;
    height: auto !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.woocommerce ul.products li.product img {
    border-radius: 8px !important;
    margin: 0 0 1.5rem 0 !important;
    background: #1a1e22 !important;
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    height: auto !important;
}

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price * {
    color: #fff !important;
    text-align: left !important;
    margin: auto 0 0 0 !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    /* Keep price and currency on same line */
    flex-wrap: wrap;
    gap: 4px;
    height: auto !important;
}

/* ==> Product LOOP card: icon-only cart button (bottom-right of card) */
.woocommerce ul.products li.product .button {
    position: absolute !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    min-width: 0 !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 0 !important;
    /* Hide text */
    overflow: hidden !important;
}

.woocommerce ul.products li.product .button::after {
    content: '\f217';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem !important;
    color: #fff;
    line-height: 1;
}

.woocommerce ul.products li.product .button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ==> Single product page: override back to normal full button */
.single-product .cart .button,
.single-product form.cart .single_add_to_cart_button {
    position: static !important;
    width: auto !important;
    height: auto !important;
    font-size: 1rem !important;
    padding: 1.2rem 3rem !important;
    background: #000 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: inline-block !important;
    cursor: pointer !important;
    overflow: visible !important;
    transition: background 0.3s, border-color 0.3s, transform 0.2s !important;
}

.single-product .cart .button::after,
.single-product form.cart .single_add_to_cart_button::after {
    content: none !important;
    /* Remove the icon override */
}

.single-product .cart .button:hover,
.single-product form.cart .single_add_to_cart_button:hover {
    background: #1a1e22 !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Star Rating */
.star-rating {
    margin: 0 auto 1rem !important;
    font-size: 0.85rem !important;
    width: 5.4rem !important;
    height: 1rem !important;
    line-height: 1 !important;
}

.star-rating span {
    color: #ffc107 !important;
}

.star-rating::before {
    color: #e2e2e2 !important;
    opacity: 1 !important;
}

/* Global Star Rating Color */
.woocommerce .star-rating span::before,
.woocommerce-page .star-rating span::before {
    color: #ffc107 !important;
}

.woocommerce span.onsale {
    background-color: #000 !important;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    min-height: auto;
    border-radius: 2px;
    line-height: 1;
}

@media (max-width: 900px) {
    .woocommerce .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .woocommerce .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0 !important;
        margin-left: -0.5rem !important;
        margin-right: -0.5rem !important;
    }

    .woocommerce ul.products li.product {
        margin-bottom: 1.5rem !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.95rem !important;
    }
}

.single-product div.product {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

/* Ensure tabs and related products take full row in flex container */
.woocommerce-tabs,
.related.products {
    flex: 0 0 100%;
}

.woocommerce-product-gallery {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin-bottom: 2rem;
}

.summary {
    flex: 1.2;
    min-width: 300px;
}

.woocommerce-Price-amount bdi {
    color: #fff;
    font-weight: 700;
}

.price del {
    color: #999;
    font-weight: 400;
    font-size: 0.9em;
    margin-right: 10px;
}

.price ins {
    text-decoration: none;
}

/* Hide screen reader text in price to avoid clutter */
.price .screen-reader-text {
    display: none !important;
}

/* Main Product Page Styles */
.single-product .summary .price,
.single-product .summary .price * {
    font-size: 2rem !important;
    color: #fff !important;
}

.single-product .summary .price del,
.single-product .summary .price del * {
    font-size: 1.2rem !important;
    opacity: 0.5;
    color: #fff !important;
}

.single-product .product_title {
    color: #fff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.single-product .woocommerce-product-details__short-description {
    color: rgba(255, 255, 255, 0.7) !important;
}

.single-product .cart .button {
    background: #000 !important;
    color: #fff !important;
    padding: 1.2rem 3rem !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s !important;
}

.single-product .cart .button:hover {
    background: #111 !important;
    border-color: #fff !important;
    transform: translateY(-2px);
}

.single-product .quantity input,
.single-product .quantity input.qty,
.single-product .quantity input[type="number"],
.woocommerce .single-product .quantity input.qty {
    background: #1a1e22 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0.9rem 0.5rem !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    width: 80px !important;
    text-align: center !important;
}

.single-product .quantity input:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    outline: none !important;
    box-shadow: none !important;
}

.single-product .product_meta {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8rem;
}

.single-product .product_meta a {
    color: #fff !important;
}

/* ---- Product Variations ---- */
.single-product table.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.single-product table.variations th.label {
    padding: 0.6rem 0;
    width: auto;
    vertical-align: middle;
}

.single-product table.variations th.label label {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    padding-right: 1.5rem;
}

.single-product table.variations td.value {
    padding: 0.6rem 0;
    width: 100%;
}

/* The select dropdown */
.single-product table.variations select {
    width: 100%;
    background: #1a1e22 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 0.75rem 2.5rem 0.75rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    transition: border-color 0.2s !important;
}

.single-product table.variations select:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    outline: none !important;
    box-shadow: none !important;
}

.single-product table.variations select option {
    background: #1a1e22;
    color: #fff;
}

/* Reset / Clear link */
.single-product .reset_variations {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: underline;
    transition: color 0.2s;
}

.single-product .reset_variations:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}


/* Single Product Tabs */
.woocommerce-tabs {
    margin-top: 0;
    padding-top: 2rem;
    border-top: none;
}

.woocommerce-tabs ul.tabs {
    padding: 0 !important;
    border: none !important;
    display: flex !important;
    justify-content: center !important;
    gap: 3rem !important;
    margin-bottom: 3rem !important;
    background: none !important;
}

.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
    display: none !important;
}

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

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce-tabs ul.tabs li a {
    color: #999 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 0.9rem !important;
    padding: 1rem 0 !important;
    display: block !important;
    position: relative !important;
    transition: color 0.3s !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: #fff !important;
}

.woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
}

.woocommerce-Tabs-panel {
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0 !important;
    line-height: 1.8;
}

.woocommerce-Tabs-panel h2 {
    display: none;
}

.woocommerce-product-details__short-description {
    margin-bottom: 2rem;
    color: #666;
}

/* Related Products */
.related.products {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    clear: both !important;
    display: block !important;
    /* Break out of parent flex */
    width: 100% !important;
    flex: 0 0 100% !important;
    min-width: 100% !important;
}

.related.products h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 800;
    text-align: center;
    width: 100% !important;
    display: block !important;
    float: none !important;
}

.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Adaptation for Single Product Related items */
.single-product .related.products ul.products li.product {
    padding-bottom: 5rem !important;
    /* Space for the bottom button */
}

.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
    text-transform: uppercase;
    font-weight: 800;
}

.single-product .related.products ul.products li.product .button {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 0 12px 12px !important;
    padding: 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: block !important;
    text-align: center !important;
}

.single-product .related.products ul.products li.product .button::after {
    display: none !important;
    /* Remove the icon added previously */
}

.single-product .related.products ul.products li.product .button {
    font-size: 0.8rem !important;
    /* Restore text */
}

.single-product .related.products ul.products li.product .button:hover {
    background: #111 !important;
}

@media (max-width: 900px) {
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ================================= */
/* Reassurance Section (Global) */
/* ================================= */

.reassurance-section {
    padding: 4rem 0;
    background: transparent;
    text-align: center;
    margin-top: 4rem;
}

.reassurance-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.reassurance-item {
    background: #1a1e22;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reassurance-item:hover {
    transform: translateY(-5px);
}

.reassurance-icon {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.2rem;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reassurance-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
    text-transform: none;
    line-height: 1.2;
}

.reassurance-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
    max-width: 250px;
}

@media (max-width: 900px) {
    .reassurance-inner {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 3rem 1rem !important;
    }

    .reassurance-item {
        flex: none !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* ================================= */
/* Footer */
/* ================================= */

.site-footer {
    background: #000000;
    color: #ffffff;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid #111;
    margin-top: 3rem;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: #cccccc;
}

.site-footer h4 {
    color: #ffffff;
}

.site-footer p {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-col {
    flex: 1;
}

.footer-col h4,
.footer-col .widget-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0;
    text-transform: none;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 1.1rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-col ul a:hover {
    color: #fff;
}

/* Social list (Connect with us) */
.footer-social-list a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social-list a:hover {
    color: #fff !important;
}

.footer-social-list i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #999999;
    margin: 0;
}

/* ================================= */
/* Search Modal & Autocomplete */
/* ================================= */

.dt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: dt-fade-in 0.3s ease;
}

.dt-modal-content {
    background: #fff;
    width: 100%;
    max-width: 850px;
    border-radius: 0;
    padding: 4rem;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: dt-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@keyframes dt-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes dt-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--dt-text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--dt-accent);
}

.modal-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dt-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.search-form-wrap form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    width: 100%;
    border: none;
    border-bottom: 2px solid #000;
    border-radius: 0;
    padding: 1.5rem 4rem 1.5rem 0;
    font-size: 1.5rem;
    font-family: var(--dt-font);
    transition: border-color 0.3s;
    background: transparent;
}

.search-field:focus {
    outline: none;
    border-color: #000;
}

.search-submit {
    position: absolute;
    right: 0;
    background: none !important;
    border: none;
    color: #000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
}

/* AJAX Results Grid */
.search-results-container {
    margin-top: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.ajax-search-results {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ajax-search-results li {
    border-bottom: 1px solid var(--dt-border);
}

.ajax-search-results li:last-child {
    border-bottom: none;
}

.ajax-search-results a {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    text-decoration: none;
    transition: background 0.2s;
    border-radius: var(--dt-radius);
}

.ajax-search-results a:hover {
    background: #f8f8f8;
}

.result-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--dt-radius);
    background: #f8f8f8;
}

.result-title {
    display: block;
    font-weight: 600;
    color: var(--dt-primary);
    margin-bottom: 0.2rem;
}

.result-price {
    font-size: 0.9rem;
    color: var(--dt-primary);
    font-weight: 700;
}

.view-all-results {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--dt-border);
}

.view-all-results a {
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-decoration: none;
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}

.no-results {
    text-align: center;
    color: var(--dt-text-light);
    padding: 2rem 0;
}

/* Custom Scrollbar */
.search-results-container::-webkit-scrollbar {
    width: 6px;
}

.search-results-container::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-container::-webkit-scrollbar-thumb {
    background: var(--dt-border);
    border-radius: 3px;
}

/* ================================= */
/* FAQ Section */
/* ================================= */

.faq-section {
    padding: 8rem 0;
    background: #000;
    color: #fff;
    margin: 4rem -1.5rem;
}

.faq-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 2rem 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #ccc;
}

.faq-question i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 2rem;
}

.faq-answer p {
    color: #aaa;
    line-height: 1.8;
    margin: 0;
}

/* ================================= */
/* Shop Sidebar Layout */
/* ================================= */

.shop-layout {
    display: flex;
    gap: 4rem;
    margin: 4rem 0;
}

.shop-sidebar {
    flex: 0 0 22%;
    max-width: 22%;
}

.shop-content {
    flex: 1;
}

.shop-sidebar .widget {
    margin-bottom: 3rem;
}

.shop-sidebar .widget-title {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #000;
    color: #000;
}

/* Category List Styling */
.shop-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar ul li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.shop-sidebar ul li a {
    color: #666;
    transition: color 0.2s;
}

.shop-sidebar ul li a:hover {
    color: #000;
    padding-left: 5px;
}

/* WooCommerce Price Filter UI */
.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #eee;
    height: 3px;
    border: none;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background-color: #000;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #000;
    border: none;
    width: 12px;
    height: 12px;
    top: -5px;
    border-radius: 50%;
    cursor: pointer;
}

.widget_price_filter .price_slider_amount .button {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.7rem !important;
    margin-top: 1rem !important;
}

.widget_price_filter .price_label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

/* Responsive Shop */
.filter-toggle {
    width: 100%;
    background: #000 !important;
    color: #fff !important;
    padding: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    border: none;
    margin-bottom: 2rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ================================= */
/* Info Boxes */
/* ================================= */

.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 4rem auto 5rem;
    position: relative;
    z-index: 10;
    max-width: 1100px;
}

.info-box {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    /* Icon above text */
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-box:hover {
    transform: translateY(-8px);
    color: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.info-box i {
    font-size: 1.8rem;
}

.info-box span {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.2px;
}

.info-box.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 30%, #dc2743 60%, #cc2366 85%, #bc1888 100%);
}

.info-box.patreon {
    background: #252a2e;
    /* Matches the dark color in screen */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-box.purchases {
    background: linear-gradient(135deg, #b91d1d 0%, #ef4444 100%);
}

/* ================================= */
/* Home Reviews */
/* ================================= */



.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.review-card {
    background: #111418;
    /* Darker than background */
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    color: #ff9800;
    font-size: 0.75rem;
    display: flex;
    gap: 2px;
}

.review-date {
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0.5rem 0;
    min-height: 90px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    background: #ff1744;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

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

@media (max-width: 600px) {
    .info-boxes {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin: 2rem -0.5rem;
    }

    .info-box {
        padding: 1.2rem 0.3rem;
        border-radius: 12px;
        gap: 0.5rem;
    }

    .info-box i {
        font-size: 1.1rem;
    }

    .info-box span {
        font-size: 0.62rem;
        line-height: 1.2;
    }
}

.shop-layout {
    flex-direction: column;
    gap: 0;
    margin: 0;
}

.shop-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 3rem 2rem;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
}

.shop-sidebar.active {
    left: 0;
}

.close-sidebar {
    background: none;
    border: none;
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.shop-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.shop-sidebar-overlay.active {
    display: block;
}

.shop-content {
    max-width: 100%;
    flex: 1;
}

/* Overriding products grid when sidebar is present */
.shop-content .woocommerce .products {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1200px) {
    .shop-content .woocommerce .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ================================= */
/* Cart & Checkout - Dark Theme      */
/* ================================= */

/* Page wrapper */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    color: #fff;
}

/* Page titles */
.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-cart h2,
.woocommerce-checkout h2,
.woocommerce-cart h3,
.woocommerce-checkout h3 {
    color: #fff !important;
}

/* ---- CART TABLE ---- */
.woocommerce-cart table.cart,
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.woocommerce-cart table.cart thead th {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none !important;
}

.woocommerce-cart table.cart tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03) !important;
}

.woocommerce-cart table.cart .product-name a {
    color: #fff !important;
    font-weight: 600;
}

.woocommerce-cart table.cart .product-name a:hover {
    opacity: 0.8;
}

.woocommerce-cart table.cart .product-thumbnail img {
    border-radius: 8px;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Remove button */
.woocommerce-cart table.cart a.remove {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.woocommerce-cart table.cart a.remove:hover {
    color: #ef4444 !important;
    background: none !important;
}

/* Cart totals box */
.cart_totals,
.woocommerce-checkout #order_review {
    background: #1a1e22 !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    color: #fff !important;
}

.cart_totals h2,
.woocommerce-checkout #order_review_heading {
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem !important;
}

.cart_totals table,
.woocommerce-checkout #order_review table {
    background: transparent !important;
}

.cart_totals table th,
.cart_totals table td,
.woocommerce-checkout #order_review table th,
.woocommerce-checkout #order_review table td {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ---- UPDATE CART BUTTON ---- */
.woocommerce-cart .actions .button {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    font-size: 0.8rem !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

.woocommerce-cart .actions .button:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Proceed to checkout / Place order button */
.wc-proceed-to-checkout .checkout-button,
#place_order,
.woocommerce-checkout #payment #place_order {
    background: #fff !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 1.2rem 2rem !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    letter-spacing: 0.5px;
    transition: opacity 0.2s, transform 0.2s !important;
}

.wc-proceed-to-checkout .checkout-button:hover,
#place_order:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px) !important;
    color: #000 !important;
}

/* ---- CHECKOUT FORM ---- */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout #order_review_heading {
    color: #fff !important;
}

.woocommerce-checkout .form-row label,
.woocommerce-checkout .col-1 h3,
.woocommerce-checkout .col-2 h3 {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-cart input[type="text"],
.woocommerce-cart input[type="email"],
.woocommerce-cart select,
.woocommerce-cart textarea {
    background: #1a1e22 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 0.9rem 1rem !important;
    font-size: 0.95rem !important;
    transition: border-color 0.2s !important;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: rgba(255, 255, 255, 0.4) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Payment section */
#payment {
    background: #1a1e22 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

#payment ul.payment_methods {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#payment ul.payment_methods li {
    color: #fff !important;
}

#payment ul.payment_methods li label {
    color: #fff !important;
}

#payment .payment_box {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#payment .payment_box::before {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

/* Coupon / promo */
.woocommerce-cart .coupon input[type="text"] {
    background: #1a1e22 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    padding: 0.7rem 1rem !important;
}

.woocommerce-cart .coupon .button {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 6px !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
    background: #1a1e22 !important;
    color: #fff !important;
    border-top-color: #fff !important;
}

.woocommerce-message a,
.woocommerce-info a {
    color: #fff !important;
    text-decoration: underline;
}

/* Required field asterisk */
.woocommerce-checkout abbr[title] {
    color: #ef4444 !important;
}

@media (max-width: 768px) {

    .cart_totals,
    .woocommerce-checkout #order_review {
        padding: 1.5rem !important;
    }
}

/* ================================= */
/* My Account - Dark Theme           */
/* ================================= */

/* Page wrapper */
.woocommerce-account .woocommerce {
    color: #fff;
}

.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account h3 {
    color: #fff !important;
}

/* Sidebar nav */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #1a1e22;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

/* Content area */
.woocommerce-account .woocommerce-MyAccount-content {
    color: #fff !important;
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content td,
.woocommerce-account .woocommerce-MyAccount-content th,
.woocommerce-account .woocommerce-MyAccount-content label {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Tables (orders) */
.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.shop_table {
    background: #1a1e22 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    overflow: hidden;
}

.woocommerce-account table.woocommerce-orders-table th,
.woocommerce-account table.shop_table th {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.woocommerce-account table.woocommerce-orders-table td,
.woocommerce-account table.shop_table td {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.woocommerce-account table td a {
    color: #fff !important;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.woocommerce-account table td a:hover {
    opacity: 0.8;
}

/* Form fields */
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="tel"],
.woocommerce-account input[type="password"],
.woocommerce-account select,
.woocommerce-account textarea {
    background: #1a1e22 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 0.9rem 1rem !important;
}

.woocommerce-account input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
    border-color: rgba(255, 255, 255, 0.4) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Buttons in My Account */
.woocommerce-account .button,
.woocommerce-account input[type="submit"],
.woocommerce-account .woocommerce-Button {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 0.9rem 2rem !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: background 0.2s, border-color 0.2s !important;
}

.woocommerce-account .button:hover,
.woocommerce-account input[type="submit"]:hover,
.woocommerce-account .woocommerce-Button:hover {
    background: #1a1e22 !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
}

/* Status badges */
.woocommerce-account mark.order-status {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Notices */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    background: #1a1e22 !important;
    color: #fff !important;
    border-top-color: #fff !important;
    border-radius: 8px;
}