/*
Theme Name: Style Tex Premium
Theme URI: https://styletex.store/
Author: Style Tex Team
Description: A minimalist luxury fashion theme inspired by high-end Bangladeshi fashion.
Version: 3.0.0
Text Domain: style-tex
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;600;900&family=Noto+Sans+Bengali:wght@400;700&display=swap');

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans Bengali', sans-serif;
    background-color: #FAF9F6;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
}

.font-serif { font-family: 'Cormorant Garamond', serif; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #FAF9F6; }
::-webkit-scrollbar-thumb { background: #000000; }

/* WooCommerce Specific Fixes */
.woocommerce-message, .woocommerce-info { border-top-color: #000 !important; }
.woocommerce-message::before, .woocommerce-info::before { color: #000 !important; }
.button.wc-forward {
    background: #000 !important;
    color: #fff !important;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 15px 30px !important;
    border-radius: 0 !important;
}

/* Header & Navigation Styles */
.wp-nav-menu ul { display: flex !important; gap: 1.5rem !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.wp-nav-menu li a { 
    font-family: 'Inter', sans-serif !important; 
    font-size: 10px !important; 
    font-weight: 700 !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.15em !important; 
    color: #1a1a1a !important; 
    text-decoration: none !important; 
    transition: all 0.3s ease; 
}
.wp-nav-menu li a:hover { color: #C9A96E !important; }

.header-search-input {
    width: 140px; 
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1); 
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.header-search-input:focus { 
    width: 220px; 
    border-bottom-color: #000; 
    outline: none; 
}

#mobile-sidebar { transition: transform 0.4s ease-in-out; }

/* Background Colors */
body, .bg-premium { background-color: #FAF9F6 !important; }
header#masthead { background-color: #f8e198 !important; }
footer { background-color: #f8e198 !important; }

/* Add to Cart Button Style */
.add_to_cart_button, .single_add_to_cart_button {
    background: #1a1a1a !important;
    color: #fff !important;
    font-family: 'Noto Sans Bengali', 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important; /* বাংলায় ফাঁকা কমাতে */
    padding: 15px !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-align: center !important;
}

.add_to_cart_button:hover, .single_add_to_cart_button:hover {
    background: #C9A96E !important;
    color: #fff !important;
}

/* Cart & Checkout page header space fix */
body.woocommerce-cart #masthead,
body.woocommerce-checkout #masthead {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.woocommerce-cart main,
body.woocommerce-checkout main,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-top: 0 !important;
    padding: 0 !important;
}

/* Force fix extra space on Cart & Checkout pages */
body.woocommerce-cart, 
body.woocommerce-checkout {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.woocommerce-cart #masthead,
body.woocommerce-checkout #masthead {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart main,
body.woocommerce-checkout main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-checkout .cart-collaterals {
    margin-top: 0.5rem !important;
    padding-top: 0 !important;
}

/* Ensure header spacer doesn't get overridden */
.h-12, .md\:h-16, .h-20, .md\:h-24 {
    margin: 0 !important;
    padding: 0 !important;
}

.site-branding img {
    max-height: 56px;  /* ডেস্কটপে সর্বোচ্চ ৫৬px */
    max-height: 40px;  /* মোবাইলে সর্বোচ্চ ৪০px */
}

body.woocommerce-cart .site-branding,
body.woocommerce-checkout .site-branding {
    padding: 0 !important;
    margin: 0 !important;
}
