/* CM Stores Dark Theme v4 - Complete */

/* === FULL WIDTH TEMPLATE === */
.page-template-page-fullwidth .site-main,
.page-template-page-fullwidth #main {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* === HERO === */
.cms-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 80px 20px;
    position: relative;
    background-color: #0a0a0a;
}
.cms-hero-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    padding: 80px 20px;
    position: relative;
    background-color: #111;
    margin-top: 40px;
}
.cms-hero-inner {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}
.cms-hero-title {
    font-family: "Playfair Display", serif;
    color: #fff;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.cms-hero-subtitle {
    font-family: "Montserrat", sans-serif;
    color: #c4a265;
    font-size: clamp(13px, 1.8vw, 18px);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 40px;
    font-weight: 400;
}
.cms-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.cms-mid-title {
    font-family: "Playfair Display", serif;
    color: #fff;
    font-size: 32px;
    margin: 0 0 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.cms-mid-text {
    color: #ccc;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 30px;
}

/* === USP BAR === */
.cms-usp-section {
    background: #1a1a1a;
    padding: 25px 20px;
}
.cms-usp-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.cms-usp-item {
    color: #c4a265;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
}

/* === SHOWCASE === */
.cms-showcase-section {
    background: #0f0f0f;
    padding: 50px 20px;
}
.cms-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.cms-showcase > div {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}
.cms-showcase img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform .3s, filter .3s;
    filter: brightness(0.9);
}
.cms-showcase img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* === SECTION HEADERS === */
.cms-section-header {
    text-align: center;
    padding: 50px 20px 20px;
}
.cms-section-header h2 {
    font-family: "Playfair Display", serif;
    color: #fff;
    font-size: 36px;
    margin: 0 0 8px;
}
.cms-section-header p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

/* === STATS === */
.cms-stats-section {
    background: #111;
    padding: 80px 20px;
    text-align: center;
}
.cms-stats-title {
    font-family: "Playfair Display", serif;
    color: #fff;
    font-size: 32px;
    margin: 0 0 30px;
}
.cms-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}
.cms-stat-num {
    font-family: "Playfair Display", serif;
    color: #c4a265;
    font-size: 52px;
    font-weight: 700;
}
.cms-stat-label {
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}
.cms-stats-desc {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
}

/* === CTA === */
.cms-cta-section {
    background: #0a0a0a;
    padding: 60px 20px;
    text-align: center;
}
.cms-cta-title {
    font-family: "Playfair Display", serif;
    color: #fff;
    font-size: 28px;
    margin: 0 0 15px;
}
.cms-cta-text {
    color: #aaa;
    max-width: 500px;
    margin: 0 auto 25px;
    font-size: 15px;
}

/* === BUTTONS === */
.cms-btn-primary {
    display: inline-block;
    background: #c4a265;
    color: #000 !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 16px 44px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .3s;
}
.cms-btn-primary:hover { background: #d4b275; }
.cms-btn-outline {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 44px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .3s;
}
.cms-btn-outline:hover { border-color: #c4a265; color: #c4a265 !important; }
.cms-btn-outline-gold {
    display: inline-block;
    border: 2px solid #c4a265;
    color: #c4a265 !important;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 36px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .3s;
}
.cms-btn-outline-gold:hover { background: #c4a265; color: #000 !important; }

/* === DARK THEME OVERRIDES === */
body, .site-content, .main-page-wrapper { background-color: #0f0f0f !important; }
.whb-header, .whb-main-header, .whb-row, .whb-general-header, .whb-header .whb-row { background-color: #000 !important; }
.whb-top-bar, .whb-row-top, .whb-top-bar-inner, .whb-header .whb-top-bar, .wd-header-text { display: none !important; height: 0 !important; overflow: hidden !important; max-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
.whb-header a, .whb-header .wd-nav .menu>li>a, .woodmart-navigation .menu>li>a, .wd-header-nav .menu>li>a { color: #fff !important; }
.whb-header a:hover, .wd-header-nav .menu>li>a:hover, .wd-header-nav .menu>li.current-menu-item>a { color: #c4a265 !important; }
.whb-header .wd-tools-element>a, .whb-header .wd-header-search-icon, .whb-header .wd-header-wishlist a, .whb-header .wd-header-compare a, .whb-header .wd-header-my-account a, .whb-header .wd-cart-design-1 a, .whb-header .wd-tools-element .wd-tools-inner { color: #fff !important; }

/* Product cards dark */
.product-grid-item, .wd-product, .product { background: #1a1a1a !important; }
.product-grid-item .wd-entities-title a, .wd-product .wd-entities-title a, .woocommerce ul.products li.product .woocommerce-loop-product__title { color: #fff !important; }
.product-grid-item .price, .wd-product .price, .woocommerce ul.products li.product .price { color: #c4a265 !important; }
.wd-cat .wd-entities-title, .product-category h2 { color: #fff !important; }
.woocommerce ul.products { background: transparent; padding: 0 20px 40px; }
.woocommerce .products .product { border-radius: 4px; overflow: hidden; }
.woocommerce .star-rating span::before { color: #c4a265; }

/* Footer dark */
.wd-footer, .footer-container, .copyrights-wrapper { background-color: #0a0a0a !important; color: #aaa !important; }
.wd-footer a { color: #c4a265 !important; }

/* Page title - hide on homepage */
.home .wd-page-title, .home .page-title-default,
.page-template-page-fullwidth .wd-page-title,
.page-template-page-fullwidth .page-title-default,
body.home .wd-page-title { display: none !important; }

/* Other dark overrides */
.page-title-default, .wd-page-title { background-color: #0a0a0a !important; }
.page-title-default .entry-title, .wd-page-title .entry-title { color: #fff !important; }
.breadcrumbs a, .woocommerce-breadcrumb a { color: #c4a265 !important; }
.breadcrumbs, .woocommerce-breadcrumb { color: #888 !important; }
.entry-content { color: #ccc; }
.whb-sticky-header, .whb-clone { background: #0a0a0a !important; }
.btn-color-primary, .button, .add_to_cart_button, .woocommerce a.button { background-color: #c4a265 !important; color: #000 !important; border-color: #c4a265 !important; }
.btn-color-primary:hover, .button:hover, .add_to_cart_button:hover { background-color: #d4b275 !important; }

/* Responsive */
@media (max-width: 768px) {
    .cms-hero { min-height: 50vh; padding: 40px 15px; }
    .cms-hero-title { font-size: 28px !important; }
    .cms-hero-mid { min-height: 30vh; }
    .cms-stats { gap: 30px; }
    .cms-stat-num { font-size: 36px; }
    .cms-usp-bar { gap: 15px; flex-direction: column; align-items: center; }
    .cms-showcase > div { min-width: 140px; }
    .cms-hero-buttons { flex-direction: column; align-items: center; }
}
