/*
Theme Name: Ankhaz Bazaar
Theme URI: https://kemetova.com.eg
Author: Kemetova
Author URI: https://kemetova.com.eg
Description: A premium, custom-built e-commerce theme exclusively developed for Ankhaz Bazaar.
Version: 1.0.0
License: Proprietary
Text Domain: ankhaz
*/

/* ========================================= */
/* --- 1. PREMIUM VARIABLES & BASE --- */
/* ========================================= */
:root {
    --primary-gold: #CFA052;
    --primary-gold-dark: #b3883c;
    --gold-gradient: linear-gradient(135deg, #CFA052 0%, #E8C881 50%, #b3883c 100%);
    --accent-red: #E03A16;
    
    --text-dark: #222222;
    --text-body: #555555;
    --text-light: #888888;
    
    --bg-white: #ffffff;
    --bg-light: #f7f5f0; 
    --border-color: #eaeaea;
    
    --font-heading: 'Cinzel', serif; 
    --font-body: 'Montserrat', sans-serif; 
    
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.05);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Resets */
#page, #content, .site-content { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-body); line-height: 1.7; background-color: var(--bg-white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-gap { display: flex; gap: 20px; align-items: center; }
.section-padding { padding: 80px 0; }
.pb-0 { padding-bottom: 0 !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.bg-light { background-color: var(--bg-light); }
.mt-2 { margin-top: 10px; } .mt-3 { margin-top: 15px; } .mt-4 { margin-top: 25px; } .mt-5 { margin-top: 40px; }
.mb-2 { margin-bottom: 10px; } .mb-3 { margin-bottom: 15px; } .mb-4 { margin-bottom: 25px; } .mb-5 { margin-bottom: 40px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-dark); font-weight: 700; line-height: 1.2; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; }
.title-divider { height: 3px; width: 60px; background: var(--gold-gradient); margin: 0 auto; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 35px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; transition: var(--transition); border-radius: 3px; font-size: 0.85rem; gap: 8px; }
.btn-gold { background: var(--gold-gradient); color: var(--bg-white); box-shadow: 0 4px 15px rgba(207, 160, 82, 0.3); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(207, 160, 82, 0.4); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary-gold); color: var(--text-dark); }
.btn-outline:hover { background: var(--primary-gold); color: var(--bg-white); }
.btn-large { padding: 18px 45px; font-size: 0.95rem; width: 100%; }
.btn-disabled { opacity: 0.5; cursor: not-allowed; }
.center-btn { text-align: center; }
.gold-link { color: var(--primary-gold-dark); font-weight: 600; text-decoration: underline; }
.gold-link:hover { color: var(--primary-gold); }

/* ========================================= */
/* --- 2. HEADER & NAVIGATION --- */
/* ========================================= */
.top-bar { background-color: var(--text-dark); color: #ccc; padding: 8px 0; font-size: 0.8rem; }
.switcher { display: flex; align-items: center; gap: 8px; }
.switcher img { width: 16px; border-radius: 2px; }
.switcher form, .switcher .alg-currency-switcher-form { margin: 0; padding: 0; display: inline-flex; align-items: center; }
.switcher select, .switcher .woocommerce-currency-switcher-form select, .switcher select.postform { background: transparent !important; border: none !important; color: #ccc !important; outline: none !important; cursor: pointer; font-family: inherit; font-size: 0.8rem; padding: 0 15px 0 0 !important; box-shadow: none !important; -webkit-appearance: auto; -moz-appearance: auto; appearance: auto; height: auto; width: auto; }
.switcher select option { background: var(--text-dark) !important; color: #fff !important; }

/* Hide Duplicate Auto-Injected Currency Switchers */
.woocommerce-currency-switcher-form, #alg_currency_selector, .alg-currency-switcher-form { display: none !important; }
.top-bar-right .switcher .woocommerce-currency-switcher-form, .top-bar-right .switcher #alg_currency_selector, .top-bar-right .switcher .alg-currency-switcher-form { display: inline-flex !important; }

.header-main { padding: 25px 0; }
.logo img, .custom-logo { max-height: 50px !important; width: auto !important; }
.search-bar { display: flex; width: 40%; margin: 0 30px; border: 1px solid var(--border-color); border-radius: 30px; overflow: hidden; background: var(--bg-light); transition: var(--transition); }
.search-bar:focus-within { border-color: var(--primary-gold); box-shadow: 0 0 0 3px rgba(207, 160, 82, 0.1); }
.search-bar input { flex-grow: 1; padding: 12px 25px; border: none; outline: none; background: transparent; font-family: var(--font-body); }
.search-bar button { background: transparent; color: var(--text-dark); border: none; padding: 0 20px; cursor: pointer; font-size: 1.1rem; }
.search-bar button:hover { color: var(--primary-gold); }

.header-actions { display: flex; gap: 25px; }
.icon-link { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 1.2rem; color: var(--text-dark); }
.icon-link .action-text { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; color: var(--text-light); }
.icon-link:hover, .icon-link:hover .action-text { color: var(--primary-gold); }
.cart-icon { position: relative; }
.cart-count { background: var(--accent-red); color: white; font-size: 0.7rem; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; position: absolute; top: -5px; right: 5px; font-weight: bold; }

/* WP Menu Bridge */
.main-nav { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.main-nav div > ul { display: flex; justify-content: center; gap: 40px; margin: 0; padding: 0; }
.main-nav div > ul li { list-style: none; position: relative; }
.main-nav div > ul li a { display: block; padding: 18px 0; color: var(--text-dark); text-transform: uppercase; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; position: relative; }
.main-nav div > ul li a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: var(--gold-gradient); transition: var(--transition); }
.main-nav div > ul li a:hover::after, .main-nav div > ul li.current-menu-item > a::after, .main-nav div > ul li.current_page_item > a::after { width: 100%; }

.mobile-menu-toggle { display: none; background: transparent; border: none; font-size: 1.8rem; color: var(--text-dark); cursor: pointer; transition: var(--transition); }
.mobile-menu-toggle:hover { color: var(--primary-gold); }

/* ========================================= */
/* --- 3. HOMEPAGE SECTIONS --- */
/* ========================================= */
.ad-banner { position: relative; display: block; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.ad-banner:hover { box-shadow: var(--shadow-lg); opacity: 0.95; }
.ad-banner img { width: 100%; display: block; }
.ad-label { position: absolute; top: 0; right: 0; background: rgba(0,0,0,0.1); color: #555; font-size: 0.65rem; padding: 2px 8px; border-bottom-left-radius: 4px; z-index: 5; text-transform: uppercase; font-weight: 600; }

.hero { position: relative; height: 600px; background: url('https://images.unsplash.com/photo-1539650116574-8efeb43e2750?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat; display: flex; align-items: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%); }
.hero-content { position: relative; z-index: 2; }
.hero-box { max-width: 500px; color: var(--bg-white); }
.hero-subtitle { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; color: var(--primary-gold); margin-bottom: 15px; display: block; }
.hero-box h1 { font-size: 4rem; margin-bottom: 20px; color: var(--bg-white); line-height: 1.1; }
.hero-box p { font-size: 1.1rem; margin-bottom: 35px; color: #ddd; }

.trust-signals { padding: 40px 20px; margin-top: -40px; position: relative; z-index: 10; background: var(--bg-white); border-radius: 8px; box-shadow: var(--shadow-lg); }
.trust-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 15px; }
.icon-box { width: 50px; height: 50px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary-gold); }
.trust-text h4 { font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 3px; }
.trust-text p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.category-card { position: relative; border-radius: 8px; overflow: hidden; height: 350px; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover img { transform: scale(1.1); }
.category-content { position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(255,255,255,0.95); padding: 20px; text-align: center; border-radius: 4px; transition: var(--transition); }
.category-card:hover .category-content { background: var(--bg-white); }
.category-content h3 { font-size: 1.4rem; margin-bottom: 5px; }
.cat-link { font-size: 0.8rem; text-transform: uppercase; font-weight: 600; color: var(--text-light); }
.cat-link i { margin-left: 5px; color: var(--primary-gold); }

.weekly-wrapper, .deal-wrapper { display: flex; background: var(--bg-light); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.weekly-info, .deal-content { flex: 1; padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.weekly-image, .deal-image { flex: 1; min-height: 400px; }
.weekly-image img, .deal-image img { width: 100%; height: 100%; object-fit: cover; }
.weekly-info h2, .deal-content h2 { font-size: 2.2rem; margin: 15px 0; }
.price-large { font-size: 2.2rem; color: var(--accent-red); margin-left: 10px; }
.countdown-timer { margin: 20px 0; }
.time-box { background: var(--bg-white); border: 1px solid var(--border-color); padding: 15px; border-radius: 8px; text-align: center; min-width: 80px; box-shadow: var(--shadow-sm); }
.time-box span { display: block; font-size: 1.8rem; font-family: var(--font-heading); font-weight: bold; color: var(--text-dark); line-height: 1; }
.time-box small { font-size: 0.7rem; text-transform: uppercase; color: var(--text-light); }

.promo-banner { position: relative; background: url('https://images.unsplash.com/photo-1549488344-1f9b8d2bd1f3?q=80&w=1920&auto=format&fit=crop') center/cover fixed; padding: 100px 0; color: white; }
.promo-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.promo-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.promo-subtitle { color: var(--primary-gold); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; display: block; margin-bottom: 10px; }
.promo-banner h2 { font-size: 3rem; color: white; margin-bottom: 20px; }
.promo-banner p { font-size: 1.1rem; margin-bottom: 30px; color: #eee; }

.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--bg-white); padding: 40px; border-radius: 8px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); border-bottom: 3px solid transparent; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-bottom-color: var(--primary-gold); }
.quote-icon { font-size: 2.5rem; color: rgba(207, 160, 82, 0.2); margin-bottom: 20px; }
.review-text { font-style: italic; color: var(--text-body); margin-bottom: 20px; font-size: 1.05rem; }
.customer-name { font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; }

.story-newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.seo-content p { margin-bottom: 15px; font-size: 1.1rem; }
.newsletter-box { background: var(--text-dark); padding: 50px; border-radius: 12px; color: var(--bg-white); text-align: center; position: relative; overflow: hidden; }
.newsletter-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(207,160,82,0.1) 0%, transparent 70%); }
.newsletter-inner { position: relative; z-index: 2; }
.newsletter-inner h3 { color: var(--bg-white); font-size: 2rem; margin-bottom: 10px; }
.newsletter-inner p { color: #aaa; margin-bottom: 25px; }
.newsletter-form { display: flex; flex-direction: column; gap: 15px; }
.newsletter-form input { padding: 15px 20px; border: none; border-radius: 4px; font-family: var(--font-body); outline: none; }
.newsletter-form button { width: 100%; padding: 15px; font-size: 1rem; }

/* ========================================= */
/* --- 4. PRODUCT CARDS & GRIDS --- */
/* ========================================= */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.product-card { position: relative; transition: var(--transition); background: var(--bg-white); border-radius: 8px; overflow: hidden; border: 1px solid transparent; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--border-color); }
.product-image { position: relative; background: #f0f0f0; margin-bottom: 15px; overflow: hidden; }
.product-image img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.8s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }

.badge { position: absolute; top: 15px; left: 15px; color: white; padding: 4px 10px; font-size: 0.75rem; font-weight: 600; border-radius: 3px; text-transform: uppercase; z-index: 2; }
.badge-sale { background-color: var(--accent-red); }
.badge-hot { background: var(--gold-gradient); }
.badge-new { background-color: var(--text-dark); }

.product-actions { position: absolute; bottom: -50px; left: 0; width: 100%; display: flex; justify-content: center; gap: 10px; padding: 15px; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); opacity: 0; transition: all 0.4s ease; z-index: 2; }
.product-card:hover .product-actions { bottom: 0; opacity: 1; }
.action-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-white); border: none; color: var(--text-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm); }
.action-btn:hover { background: var(--primary-gold); color: var(--bg-white); transform: translateY(-3px); }

/* YITH Wishlist Grid Integration */
.product-actions .yith-wcwl-add-to-wishlist { margin: 0; display: inline-block; }
.product-actions .yith-wcwl-add-button > a, .product-actions .yith-wcwl-wishlistexistsbrowse a, .product-actions .yith-wcwl-wishlistaddedbrowse a { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-white); border: none; color: var(--text-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm); font-size: 1rem; }
.product-actions .yith-wcwl-add-button > a:hover, .product-actions .yith-wcwl-wishlistexistsbrowse a:hover, .product-actions .yith-wcwl-wishlistaddedbrowse a:hover { background: var(--primary-gold); color: var(--bg-white); transform: translateY(-3px); }
.product-actions .yith-wcwl-add-button > a span.feedback, .product-actions .yith-wcwl-add-button img.ajax-loading { display: none !important; }

.product-info { text-align: center; padding-bottom: 15px; }
.product-cat { font-size: 0.75rem; text-transform: uppercase; color: var(--text-light); letter-spacing: 1px; display: block; margin-bottom: 5px; }
.product-info h4 { font-family: var(--font-body); font-weight: 500; font-size: 1rem; margin-bottom: 8px; transition: color 0.3s; }
.product-info h4 a { color: var(--text-dark); }
.product-card:hover .product-info h4 a { color: var(--primary-gold); }
.price { font-size: 1.1rem; color: var(--text-dark); }
.price strong, p.price ins { text-decoration: none; color: var(--primary-gold-dark); font-weight: 600; }
.price del, p.price del { color: #aaa; font-size: 0.9rem; margin-right: 8px; font-weight: normal; }

.flash-sale-card { border: 1px solid var(--accent-red); }
.mini-countdown { background-color: rgba(224, 58, 22, 0.1); color: var(--accent-red); font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; padding: 5px 15px; border-radius: 20px; margin-top: 10px; }

/* ========================================= */
/* --- 5. SINGLE PRODUCT PAGE --- */
/* ========================================= */
.breadcrumbs { padding: 15px 0; font-size: 0.85rem; color: var(--text-light); border-bottom: 1px solid var(--border-color); }
.breadcrumbs a { color: var(--text-dark); font-weight: 500; }
.breadcrumbs a:hover { color: var(--primary-gold); }
.breadcrumbs i { margin: 0 10px; font-size: 0.7rem; }
.breadcrumbs span { color: var(--primary-gold-dark); }

.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

/* Native Woo Gallery Bridge */
.woocommerce-product-gallery { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); background: var(--bg-white); }
.woocommerce-product-gallery__trigger { position: absolute; top: 15px; right: 15px; z-index: 99; background: var(--bg-white); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.woocommerce-product-gallery__trigger::before { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--text-dark); }
.woocommerce-product-gallery__trigger img { display: none !important; }
.woocommerce-product-gallery img { width: 100%; display: block; border-radius: 4px; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 15px; margin: 15px 0 0 0; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li { cursor: pointer; }
.woocommerce-product-gallery .flex-control-thumbs img { opacity: 0.6; transition: var(--transition); border: 2px solid transparent; border-radius: 6px; width: 100%; height: auto; }
.woocommerce-product-gallery .flex-control-thumbs img:hover, .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--primary-gold); }

/* Native Woo Product Summary Bridge */
h1.product_title { font-size: 2.2rem; margin-bottom: 10px; font-family: var(--font-heading); color: var(--text-dark); font-weight: 700; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 0.9rem; color: var(--text-light); }
.star-rating { color: var(--primary-gold); font-size: 1rem; width: 5.4em; }
.star-rating::before { color: #ddd; }
.star-rating span::before { color: var(--primary-gold); }
.product-summary p.price { font-size: 1.8rem; margin-bottom: 25px; color: var(--accent-red); font-weight: 700; }
.product-summary p.price del { color: var(--text-light); font-size: 1.2rem; margin-right: 15px; font-weight: normal; }
.woocommerce-product-details__short-description { margin-bottom: 30px; font-size: 1.05rem; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); color: var(--text-body); }

form.cart { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
table.variations { width: 100%; margin-bottom: 20px; }
table.variations th { text-align: left; padding: 10px 0; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; color: var(--text-dark); vertical-align: middle; }
table.variations td { padding: 10px 0; }
table.variations select { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--transition); }
table.variations select:focus { border-color: var(--primary-gold); }
.reset_variations { font-size: 0.8rem; color: var(--accent-red); margin-top: 5px; display: inline-block; }

.woocommerce-variation-add-to-cart, .cart:not(.variations_form) { display: flex; gap: 20px; margin-top: 20px; align-items: center; width: 100%; flex-wrap: wrap; }
form.cart .quantity { display: inline-flex; border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden; height: 52px; background: var(--bg-light); width: 80px; }
form.cart .quantity input.qty { width: 100%; height: 100%; border: none; text-align: center; font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; outline: none; background: transparent; padding: 10px 0; -moz-appearance: textfield; }
form.cart .quantity input::-webkit-outer-spin-button, form.cart .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
form.cart .button[type="submit"] { background: var(--gold-gradient); color: var(--bg-white); border: none; padding: 0 40px; height: 52px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 15px rgba(207, 160, 82, 0.3); display: inline-flex; align-items: center; justify-content: center; flex-grow: 1; gap: 10px; }
form.cart .button[type="submit"]::before { content: "\f290"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
form.cart .button[type="submit"]:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(207, 160, 82, 0.4); color: white; }
form.cart .button[type="submit"].disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.product_meta { font-size: 0.9rem; color: var(--text-light); display: flex; flex-direction: column; gap: 8px; }
.product_meta span { display: block; }
.product_meta strong, .product_meta span.sku_wrapper, .product_meta span.posted_in, .product_meta span.tagged_as { color: var(--text-dark); font-weight: 600; text-transform: capitalize; }
.product_meta a { color: var(--text-light); transition: var(--transition); font-weight: normal; }
.product_meta a:hover { color: var(--primary-gold); text-decoration: underline; }

.product-share { display: flex; align-items: center; gap: 15px; font-size: 0.9rem; font-weight: 600; }
.product-share a { width: 35px; height: 35px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; color: var(--text-dark); transition: var(--transition); }
.product-share a:hover { background: var(--primary-gold); color: white; }

/* Native Woo Tabs Bridge */
.woocommerce-tabs { padding-bottom: 80px; }
.woocommerce-tabs ul.tabs { display: flex; justify-content: center; gap: 40px; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; padding: 0; list-style: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: transparent !important; border: none !important; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li a { display: block; background: transparent; border: none; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; color: var(--text-light); padding: 15px 0; cursor: pointer; position: relative; transition: var(--transition); }
.woocommerce-tabs ul.tabs li a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 3px; background: var(--gold-gradient); transition: var(--transition); }
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: var(--text-dark); }
.woocommerce-tabs ul.tabs li.active a::after, .woocommerce-tabs ul.tabs li a:hover::after { width: 100%; }
.woocommerce-Tabs-panel, .woocommerce-tabs .panel { max-width: 800px; margin: 0 auto; animation: fadeIn 0.5s ease; color: var(--text-body); font-size: 1.05rem; line-height: 1.8; }
.woocommerce-Tabs-panel h2, .woocommerce-tabs .panel h2 { display: none; /* Hide duplicate Woo title */ }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Native Woo Related Products */
.related.products > h2, .up-sells.upsells.products > h2 { font-size: 2.5rem; text-align: center; margin-bottom: 50px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 2px; position: relative; color: var(--text-dark); }
.related.products > h2::after, .up-sells.upsells.products > h2::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); height: 3px; width: 60px; background: var(--gold-gradient); border-radius: 2px; }
.related.products ul.products, .up-sells.upsells.products ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.related.products ul.products li.product, .up-sells.upsells.products ul.products li.product { width: 100% !important; margin: 0 !important; clear: none !important; }

/* PayPal Button Fixes (Single Product & Cart) */
form.cart .ppcp-smart-button-wrapper, .woocommerce-variation-add-to-cart .ppcp-smart-button-wrapper { margin-top: 20px !important; clear: both; width: 100% !important; display: block; }
.woocommerce-cart .wc-proceed-to-checkout .ppcp-smart-button-wrapper { margin-top: 15px !important; width: 100% !important; display: block; }
#payment .ppcp-smart-button-wrapper { margin-top: 20px !important; padding: 25px !important; background: var(--bg-light); border-radius: 8px; border: 1px dashed var(--border-color); width: 100% !important; }
.paypal-buttons { z-index: 99 !important; }
#ppc-button-clear { display: none !important; }

/* ========================================= */
/* --- 6. SHOP & ARCHIVE PAGE --- */
/* ========================================= */
.page-title-section { position: relative; background: url('https://images.unsplash.com/photo-1539650116574-8efeb43e2750?q=80&w=1920&auto=format&fit=crop') center/cover no-repeat; padding: 80px 0; color: white; }
.page-title-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6)); }
.page-title-content { position: relative; z-index: 2; }
.page-title-content h1 { font-size: 3rem; color: white; margin: 0; }

.shop-container { display: flex; gap: 40px; align-items: flex-start; }
.shop-sidebar { width: 280px; flex-shrink: 0; position: sticky; top: 20px; }
.widget { background: var(--bg-white); padding: 25px; border-radius: 8px; border: 1px solid var(--border-color); margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.widget-title { font-size: 1.1rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border-color); position: relative; text-transform: uppercase; letter-spacing: 1px; }
.widget-title::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 40px; height: 2px; background: var(--primary-gold); }

.filter-list { list-style: none; }
.filter-list li { margin-bottom: 12px; }
.filter-list li:last-child { margin-bottom: 0; }
.filter-list a { display: flex; justify-content: space-between; color: var(--text-body); font-size: 0.95rem; transition: var(--transition); }
.filter-list a:hover { color: var(--primary-gold); }
.filter-list span { color: var(--text-light); font-size: 0.85rem; }

/* Native WC Sidebar Widget Bridges */
.widget_product_categories .current-cat > a { color: var(--primary-gold); font-weight: 600; }
.widget_price_filter .price_slider { background: #ddd; border-radius: 2px; height: 4px; margin-bottom: 20px; }
.widget_price_filter .ui-slider-range { background: var(--primary-gold); height: 4px; border-radius: 2px; }
.widget_price_filter .ui-slider-handle { width: 16px; height: 16px; border-radius: 50%; background: var(--primary-gold); cursor: pointer; border: none; outline: none; top: -6px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.widget_price_filter .price_label { font-size: 0.9rem; color: var(--text-body); font-weight: 600; margin-top: 15px; float: left; }
.widget_price_filter .button { float: right; background: transparent; border: 2px solid var(--primary-gold); color: var(--text-dark); padding: 6px 15px; border-radius: 3px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: var(--transition); }
.widget_price_filter .button:hover { background: var(--primary-gold); color: white; }
.widget_layered_nav ul, .widget_rating_filter ul { list-style: none; padding: 0; margin: 0; }
.widget_layered_nav li, .widget_rating_filter li { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.widget_layered_nav li a, .widget_rating_filter li a { display: flex; align-items: center; gap: 10px; color: var(--text-body); font-size: 0.95rem; transition: var(--transition); }
.widget_layered_nav li a::before { content: '\f0c8'; font-family: "Font Awesome 6 Free"; font-weight: 400; color: #ccc; font-size: 1.1rem; transition: var(--transition); }
.widget_layered_nav li.chosen a::before { content: '\f14a'; font-weight: 900; color: var(--primary-gold); }
.widget_layered_nav li a:hover, .widget_layered_nav li.chosen a { color: var(--primary-gold); }
.widget_layered_nav li .count, .widget_rating_filter li .count { color: var(--text-light); font-size: 0.85rem; }

.shop-content { flex-grow: 1; }
.shop-toolbar { background: var(--bg-white); padding: 15px 25px; border-radius: 8px; border: 1px solid var(--border-color); margin-bottom: 30px; box-shadow: var(--shadow-sm); display: flex; justify-content: space-between; align-items: center; }
.woocommerce-result-count { margin: 0; color: var(--text-light); font-size: 0.9rem; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { padding: 8px 15px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body); outline: none; cursor: pointer; font-size: 0.9rem; }
.woocommerce-ordering select:focus { border-color: var(--primary-gold); }

.shop-page-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

nav.woocommerce-pagination { width: 100%; display: flex; justify-content: center; margin-top: 40px; }
nav.woocommerce-pagination ul.page-numbers { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; border: none; }
nav.woocommerce-pagination ul.page-numbers li { display: inline-block; border: none; }
nav.woocommerce-pagination ul.page-numbers li a.page-numbers, nav.woocommerce-pagination ul.page-numbers li span.page-numbers { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-white); border: 1px solid var(--border-color); color: var(--text-dark); font-weight: 600; transition: var(--transition); padding: 0; margin: 0; }
nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover { background: var(--primary-gold); color: white; border-color: var(--primary-gold); }
nav.woocommerce-pagination ul.page-numbers li span.current { background: var(--primary-gold); color: white; border-color: var(--primary-gold); }
nav.woocommerce-pagination ul.page-numbers li span.dots { border: none; background: transparent; color: var(--text-light); }

/* ========================================= */
/* --- 7. BLOG ARCHIVE --- */
/* ========================================= */
.blog-container { display: flex; gap: 40px; align-items: flex-start; }
.blog-main-content { flex-grow: 1; }
.blog-sidebar { width: 320px; flex-shrink: 0; position: sticky; top: 20px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.blog-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.blog-archive-grid .blog-card { display: flex; flex-direction: column; height: 100%; }
.blog-card { background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid transparent; }
.blog-card:hover { box-shadow: var(--shadow-lg); border-color: var(--border-color); }
.blog-img-wrap { overflow: hidden; }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover img { transform: scale(1.08); }
.blog-info { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-date { font-size: 0.8rem; text-transform: uppercase; color: var(--primary-gold); font-weight: 600; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.blog-info h3 { font-size: 1.3rem; margin-bottom: 20px; }
.blog-info h3 a { transition: var(--transition); }
.blog-info h3 a:hover { color: var(--primary-gold); }
.blog-info p { color: var(--text-body); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.read-more { font-size: 0.85rem; text-transform: uppercase; font-weight: 600; color: var(--text-dark); display: inline-flex; align-items: center; gap: 8px; }
.read-more:hover { color: var(--primary-gold); }

.sidebar-search { display: flex; border: 1px solid var(--border-color); border-radius: 4px; overflow: hidden; }
.sidebar-search input { flex-grow: 1; padding: 12px 15px; border: none; outline: none; font-family: var(--font-body); }
.sidebar-search button { background: var(--bg-light); color: var(--text-dark); border: none; padding: 0 15px; cursor: pointer; transition: var(--transition); }
.sidebar-search button:hover { background: var(--primary-gold); color: white; }

.recent-posts-list { display: flex; flex-direction: column; gap: 20px; }
.recent-post-item { align-items: flex-start; transition: var(--transition); }
.recent-post-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; }
.rp-info h5 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; margin-bottom: 5px; line-height: 1.4; transition: var(--transition); }
.recent-post-item:hover .rp-info h5 { color: var(--primary-gold); }
.rp-info span { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; font-weight: 600; }

/* ========================================= */
/* --- 8. ABOUT US / STATIC PAGES --- */
/* ========================================= */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-image { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.story-badge { position: absolute; bottom: -20px; right: -20px; background: var(--gold-gradient); color: var(--bg-white); width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; box-shadow: var(--shadow-sm); border: 5px solid var(--bg-white); }
.story-content h2 { font-size: 2.8rem; margin-bottom: 20px; }
.lead-text { font-size: 1.2rem; font-weight: 500; color: var(--text-dark); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.value-box { background: var(--bg-white); padding: 40px 30px; border-radius: 8px; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border-color); }
.value-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-gold); }
.value-icon { width: 80px; height: 80px; margin: 0 auto 20px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary-gold); transition: var(--transition); }
.value-box:hover .value-icon { background: var(--primary-gold); color: var(--bg-white); }

.about-stats { position: relative; background: url('https://images.unsplash.com/photo-1549488344-1f9b8d2bd1f3?q=80&w=1920&auto=format&fit=crop') center/cover fixed; color: var(--bg-white); text-align: center; }
.stats-overlay { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.85); }
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; color: var(--primary-gold); margin-bottom: 10px; line-height: 1; }
.stat-label { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }

.static-page-content { max-width: 900px; margin: 0 auto; background: var(--bg-white); padding: 50px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.static-page-content h2 { margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; }
.static-page-content h3 { margin-top: 30px; margin-bottom: 15px; font-size: 1.3rem; }
.static-page-content p, .static-page-content ul { margin-bottom: 20px; }
.static-page-content ul { padding-left: 20px; list-style: disc; }

/* ========================================= */
/* --- 9. CART PAGE --- */
/* ========================================= */
.cart-container { display: flex; gap: 40px; align-items: flex-start; }
.cart-items-wrapper { flex: 1; }
.cart-totals-wrapper { width: 380px; flex-shrink: 0; position: sticky; top: 20px; }

.cart-table-container { background: var(--bg-white); border-radius: 8px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); overflow: hidden; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { background: var(--bg-light); padding: 18px 20px; text-align: left; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--text-dark); border-bottom: 1px solid var(--border-color); }
.cart-table td { padding: 25px 20px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
.cart-item:last-child td { border-bottom: none; }
.product-remove { width: 40px; text-align: center; }
.remove-btn { color: var(--text-light); font-size: 1.2rem; transition: var(--transition); }
.remove-btn:hover { color: var(--accent-red); }
.product-thumbnail { width: 100px; }
.product-thumbnail img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border-color); }
.product-name a { font-weight: 600; color: var(--text-dark); font-size: 1.05rem; }
.product-name a:hover { color: var(--primary-gold); }
.product-meta-sm { font-size: 0.8rem; color: var(--text-light); margin-top: 5px; }

.cart-actions { background: var(--bg-white); padding: 20px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.coupon-box { display: flex; flex-wrap: wrap; }
.coupon-input { padding: 10px 20px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body); outline: none; transition: var(--transition); min-width: 200px; }
.coupon-input:focus { border-color: var(--primary-gold); }

.cart-totals-box { background: var(--text-dark); color: var(--bg-white); padding: 35px 30px; border-radius: 8px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cart-totals-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gold-gradient); }
.cart-totals-box h2 { color: var(--bg-white); margin-bottom: 25px; font-size: 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.totals-table { width: 100%; border-collapse: collapse; }
.totals-table th { text-align: left; padding: 15px 0; font-weight: 500; color: #ccc; vertical-align: top; }
.totals-table td { text-align: right; padding: 15px 0; }
.cart-subtotal th, .cart-subtotal td, .shipping-totals th, .shipping-totals td { border-bottom: 1px solid rgba(255,255,255,0.1); }
.shipping-methods { list-style: none; text-align: right; margin: 0; padding: 0; }
.shipping-methods li { margin-bottom: 8px; font-size: 0.9rem; }
.shipping-methods input[type="radio"] { accent-color: var(--primary-gold); margin-right: 5px; }
.shipping-destination { font-size: 0.85rem; color: #aaa; }
.calc-shipping { color: var(--primary-gold); text-decoration: underline; }
.order-total th { font-size: 1.2rem; color: var(--bg-white); padding-top: 25px; }
.order-total td strong { font-size: 1.8rem; color: var(--primary-gold); padding-top: 25px; display: block; }

/* Native WC Cart Bridges */
.woocommerce-cart-form button[name="update_cart"] { opacity: 0.5; cursor: not-allowed; }
.woocommerce-cart-form button[name="update_cart"]:not([disabled]) { opacity: 1; cursor: pointer; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; width: 100%; background: var(--gold-gradient); color: var(--bg-white); padding: 20px; text-align: center; border-radius: 3px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: 1.1rem; transition: var(--transition); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.woocommerce-cart .shipping-calculator-button { color: var(--primary-gold) !important; text-decoration: underline !important; }

/* ========================================= */
/* --- 10. CHECKOUT PAGE --- */
/* ========================================= */
.notice-box { background: var(--bg-white); border-top: 3px solid var(--primary-gold); padding: 15px 20px; border-radius: 4px; box-shadow: var(--shadow-sm); color: var(--text-body); font-size: 0.95rem; }
.notice-box i { color: var(--primary-gold); margin-right: 8px; }
.notice-box a { color: var(--primary-gold); font-weight: 600; }
.notice-box a:hover { text-decoration: underline; }

.checkout-form-section { flex: 1; background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.checkout-review-section { width: 450px; flex-shrink: 0; position: sticky; top: 20px; }
.checkout-heading, .checkout-form-section h3 { font-size: 1.6rem; margin-bottom: 25px; color: var(--text-dark); font-family: var(--font-heading); }

/* Native WC Checkout Form Bridge */
.checkout-form-section .form-row { width: 100%; margin-bottom: 20px; float: none; display: block; clear: both; }
.checkout-form-section .form-row-first, .checkout-form-section .form-row-last { width: 48%; display: inline-block; }
.checkout-form-section .form-row-last { float: right; }
.checkout-form-section label, abbr.required { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); font-size: 0.9rem; }
abbr.required { display: inline; color: var(--accent-red); text-decoration: none; border: none; }
.checkout-form-section input.input-text, .checkout-form-section select, .checkout-form-section textarea { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--transition); background: var(--bg-white); resize: vertical; }
.checkout-form-section input.input-text:focus, .checkout-form-section textarea:focus { border-color: var(--primary-gold); }
.checkout-form-section .select2-container--default .select2-selection--single { border: 1px solid var(--border-color); border-radius: 4px; height: 50px; padding: 10px; }

/* Native WC Order Review Bridge */
.order-review-box { background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); border-top: 4px solid var(--text-dark); }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table th { text-align: left; padding: 12px 0; color: var(--text-dark); font-family: var(--font-heading); font-weight: 700; }
.woocommerce-checkout-review-order-table td { padding: 15px 0; border-bottom: 1px solid var(--border-color); color: var(--text-body); }
.woocommerce-checkout-review-order-table tfoot th, .woocommerce-checkout-review-order-table tfoot td { border-bottom: 1px solid var(--border-color); padding: 15px 0; }
.woocommerce-checkout-review-order-table .product-name { font-size: 0.95rem; color: var(--text-dark); }
.woocommerce-checkout-review-order-table .product-total { text-align: right; font-weight: 600; color: var(--text-dark); }
.woocommerce-checkout-review-order-table .order-total th { font-size: 1.2rem; border-bottom: none; }
.woocommerce-checkout-review-order-table .order-total td { text-align: right; font-size: 1.6rem; color: var(--primary-gold); border-bottom: none; }

/* Native WC Payments Bridge */
#payment ul.payment_methods { list-style: none; margin: 0; padding: 0; border-radius: 4px; }
#payment ul.payment_methods li { margin-bottom: 10px; }
#payment ul.payment_methods li label { display: inline-block; font-weight: 600; color: var(--text-dark); cursor: pointer; font-size: 1rem; padding: 5px 0; margin-left: 10px; }
#payment ul.payment_methods li input[type="radio"] { accent-color: var(--primary-gold); }
#payment div.payment_box { background: var(--bg-light); padding: 20px; margin-top: 10px; border-radius: 4px; font-size: 0.9rem; color: var(--text-body); position: relative; border: 1px solid var(--border-color); }
#payment div.payment_box::before { content: ''; position: absolute; top: -10px; left: 20px; border-width: 0 10px 10px 10px; border-style: solid; border-color: transparent transparent var(--border-color) transparent; }
#payment div.payment_box::after { content: ''; position: absolute; top: -8px; left: 21px; border-width: 0 9px 9px 9px; border-style: solid; border-color: transparent transparent var(--bg-light) transparent; }
.place-order { margin-top: 30px; }
.place-order .button { width: 100%; font-size: 1.1rem; padding: 20px; background: var(--gold-gradient); color: var(--bg-white); border: none; font-weight: 600; text-transform: uppercase; border-radius: 3px; cursor: pointer; transition: var(--transition); }
.place-order .button:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ========================================= */
/* --- 11. THANK YOU PAGE --- */
/* ========================================= */
.success-header { max-width: 700px; margin: 0 auto; }
.success-icon { width: 90px; height: 90px; background: var(--gold-gradient); color: var(--bg-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto; box-shadow: 0 10px 25px rgba(207, 160, 82, 0.4); }
.success-header h1 { font-size: 2.2rem; color: var(--text-dark); }
.success-header p { font-size: 1.1rem; color: var(--text-body); }

.order-meta-grid { display: flex; flex-wrap: wrap; background: var(--bg-white); border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); padding: 25px; }
.meta-item { flex: 1; min-width: 150px; padding: 15px; border-right: 1px dashed var(--border-color); display: flex; flex-direction: column; gap: 5px; }
.meta-item:last-child { border-right: none; }
.meta-item span { text-transform: uppercase; font-size: 0.8rem; color: var(--text-light); font-weight: 600; letter-spacing: 1px; }
.meta-item strong { font-size: 1.05rem; color: var(--text-dark); }

/* Native WC Thank You Bridge */
.woocommerce-order-details { background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); margin-bottom: 40px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 1.6rem; margin-bottom: 25px; color: var(--text-dark); font-family: var(--font-heading); }
table.order_details { width: 100%; border-collapse: collapse; }
table.order_details th { text-align: left; padding: 12px 0; color: var(--text-dark); font-family: var(--font-heading); font-weight: 700; border-bottom: 1px solid var(--border-color); }
table.order_details td { padding: 15px 0; border-bottom: 1px solid var(--border-color); color: var(--text-body); }
table.order_details tfoot th, table.order_details tfoot td { padding: 15px 0; }
table.order_details tfoot th { font-weight: 500; color: var(--text-body); }
table.order_details tfoot tr:last-child th { font-size: 1.2rem; color: var(--text-dark); border-bottom: none; }
table.order_details tfoot tr:last-child td { text-align: right; font-size: 1.6rem; color: var(--primary-gold); border-bottom: none; font-weight: 700; }

.woocommerce-customer-details { margin-top: 40px; }
.woocommerce-customer-details address { background: var(--bg-white); padding: 35px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); font-style: normal; line-height: 1.8; color: var(--text-body); }
.woocommerce-bacs-bank-details { background: var(--bg-white); padding: 30px; border-radius: 8px; border: 1px solid var(--primary-gold); margin-bottom: 40px; }
@media (min-width: 768px) { .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; } }

/* ========================================= */
/* --- 12. MY ACCOUNT PAGE --- */
/* ========================================= */
.account-container { display: flex; gap: 40px; align-items: flex-start; }
.account-sidebar { width: 280px; flex-shrink: 0; background: var(--bg-white); border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); overflow: hidden; }
.account-user-card { padding: 30px 20px; border-bottom: 1px solid var(--border-color); background: var(--bg-light); }
.user-avatar i { font-size: 4rem; color: var(--primary-gold); }
.account-user-card h3 { font-size: 1.2rem; margin-bottom: 5px; }
.user-email { font-size: 0.85rem; color: var(--text-light); }
.account-nav ul { margin: 0; padding: 0; }
.account-nav li { border-bottom: 1px solid var(--border-color); }
.account-nav a { display: flex; align-items: center; gap: 15px; padding: 15px 25px; color: var(--text-body); font-size: 0.95rem; font-weight: 500; transition: var(--transition); border-left: 3px solid transparent; }
.account-nav a i { color: var(--text-light); width: 20px; text-align: center; transition: var(--transition); }
.account-nav li.active a, .account-nav a:hover, .account-nav li.is-active a { background: var(--bg-light); color: var(--text-dark); border-left-color: var(--primary-gold); }
.account-nav li.active a i, .account-nav a:hover i, .account-nav li.is-active a i { color: var(--primary-gold); }

.account-content { flex-grow: 1; }
.account-box { background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }

.quick-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.quick-link-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 8px; transition: var(--transition); }
.quick-link-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--primary-gold); }
.quick-link-card i { font-size: 2rem; color: var(--primary-gold); margin-bottom: 15px; }
.quick-link-card h4 { font-size: 1.1rem; margin-bottom: 5px; }
.quick-link-card p { font-size: 0.85rem; color: var(--text-light); }

/* Native WC Account Bridges */
.woocommerce-MyAccount-content h3 { font-size: 1.5rem; margin-bottom: 20px; font-family: var(--font-heading); color: var(--text-dark); }
.woocommerce-MyAccount-content table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.woocommerce-MyAccount-content table.shop_table th { background: var(--bg-light); padding: 15px; text-align: left; font-family: var(--font-heading); font-weight: 600; color: var(--text-dark); border-bottom: 1px solid var(--border-color); }
.woocommerce-MyAccount-content table.shop_table td { padding: 15px; border-bottom: 1px solid var(--border-color); color: var(--text-body); vertical-align: middle; }
.woocommerce-MyAccount-content .button { background: var(--bg-light); color: var(--text-dark); border: 1px solid var(--border-color); padding: 8px 15px; font-size: 0.8rem; border-radius: 4px; text-transform: uppercase; font-weight: 600; transition: var(--transition); }
.woocommerce-MyAccount-content .button:hover { background: var(--primary-gold); color: white; border-color: var(--primary-gold); }
.woocommerce-MyAccount-content form input, .woocommerce-MyAccount-content form select, .woocommerce-MyAccount-content form textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body); outline: none; margin-bottom: 15px; }
.woocommerce-MyAccount-content form button[type="submit"] { background: var(--gold-gradient); color: white; border: none; padding: 15px 30px; font-weight: 600; text-transform: uppercase; border-radius: 4px; cursor: pointer; transition: var(--transition); margin-top: 10px; }
.woocommerce-MyAccount-content form button[type="submit"]:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ========================================= */
/* --- 13. SINGLE BLOG POST --- */
/* ========================================= */
.single-post-hero { position: relative; padding: 120px 0 100px; background-size: cover; background-position: center; background-attachment: fixed; color: var(--bg-white); }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%); }
.post-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.post-category-badge { display: inline-block; background: var(--primary-gold); color: var(--bg-white); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 5px 15px; border-radius: 20px; margin-bottom: 20px; transition: var(--transition); }
.post-category-badge:hover { background: var(--bg-white); color: var(--primary-gold); }
.post-hero-content h1 { font-size: 3.5rem; color: var(--bg-white); margin-bottom: 0; }

.single-post-article { background: var(--bg-white); padding: 50px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.post-body { font-size: 1.1rem; color: var(--text-body); line-height: 1.8; }
.post-body h2 { font-size: 2rem; margin-top: 40px; margin-bottom: 20px; color: var(--text-dark); }
.post-body p { margin-bottom: 20px; }
.post-body .lead-text { font-size: 1.3rem; color: var(--text-dark); font-weight: 500; line-height: 1.7; }
.post-inline-image { width: 100%; border-radius: 8px; box-shadow: var(--shadow-sm); }
.post-body blockquote { margin: 40px 0; padding: 30px 40px; background: var(--bg-light); border-left: 5px solid var(--primary-gold); font-size: 1.3rem; font-family: var(--font-heading); font-style: italic; color: var(--text-dark); border-radius: 0 8px 8px 0; }

.post-footer { padding-top: 30px; border-top: 1px solid var(--border-color); }
.post-tags a { display: inline-block; background: var(--bg-light); color: var(--text-body); font-size: 0.85rem; padding: 4px 12px; border-radius: 4px; margin-right: 5px; transition: var(--transition); }
.post-tags a:hover { background: var(--primary-gold); color: var(--bg-white); }

.author-bio-box { background: var(--bg-light); padding: 30px; border-radius: 8px; align-items: center; border: 1px solid var(--border-color); }
.author-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.author-info h4 { margin-bottom: 10px; font-size: 1.3rem; }
.author-info p { font-size: 0.95rem; margin-bottom: 10px; }

/* ========================================= */
/* --- 14. SEARCH & 404 PAGE --- */
/* ========================================= */
.search-no-results { background: var(--bg-white); padding: 60px 20px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.empty-icon { font-size: 4rem; color: #e0e0e0; margin-bottom: 20px; }

.error-404-section { padding: 100px 0; min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.error-content-wrapper { max-width: 700px; margin: 0 auto; background: var(--bg-white); padding: 60px 40px; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }
.error-code { font-size: 8rem; line-height: 1; font-family: var(--font-heading); margin-bottom: 10px; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 10px 30px rgba(207, 160, 82, 0.2); }
.error-heading { font-size: 2rem; color: var(--text-dark); margin-bottom: 15px; }

/* ========================================= */
/* --- 15. CATEGORY ARCHIVE --- */
/* ========================================= */
.category-banner-section { position: relative; padding: 80px 0; background-size: cover; background-position: center; color: white; }
.category-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17,17,17,0.7), rgba(17,17,17,0.9)); }
.category-banner-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.category-banner-content h1 { font-size: 3rem; color: var(--bg-white); margin: 0; }
.category-description { font-size: 1.05rem; line-height: 1.8; color: #eee; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }

.pt-5 { padding-top: 40px; }
.pb-3 { padding-bottom: 20px; }
.subcat-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.subcat-item { display: flex; flex-direction: column; align-items: center; text-align: center; width: 120px; transition: var(--transition); }
.subcat-image { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; margin-bottom: 15px; border: 3px solid var(--bg-white); box-shadow: var(--shadow-sm); background: var(--bg-white); transition: var(--transition); }
.subcat-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.subcat-item span { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--text-dark); transition: var(--transition); }
.subcat-item:hover .subcat-image { border-color: var(--primary-gold); box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.subcat-item:hover .subcat-image img { transform: scale(1.1); }
.subcat-item:hover span { color: var(--primary-gold); }

/* ========================================= */
/* --- 16. WISHLIST & TRACK ORDER --- */
/* ========================================= */
.wishlist-table-container { background: var(--bg-white); border-radius: 8px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); overflow: hidden; }
table.yith-wcwl-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
table.yith-wcwl-table th { background: var(--bg-light); padding: 18px 20px; text-align: left; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: var(--text-dark); border-bottom: 1px solid var(--border-color); }
table.yith-wcwl-table td { padding: 25px 20px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
table.yith-wcwl-table td.product-remove a { color: var(--text-light); font-size: 1.2rem; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
table.yith-wcwl-table td.product-remove a:hover { color: var(--accent-red); }
table.yith-wcwl-table td.product-name a { font-weight: 600; color: var(--text-dark); font-size: 1.05rem; }
table.yith-wcwl-table td.product-name a:hover { color: var(--primary-gold); }
table.yith-wcwl-table td.product-stock-status span { font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
table.yith-wcwl-table td.product-stock-status span.wishlist-in-stock { color: #27ae60; background: rgba(46, 204, 113, 0.1); }
table.yith-wcwl-table td.product-stock-status span.wishlist-out-of-stock { color: var(--accent-red); background: rgba(224, 58, 22, 0.1); }
.yith-wcwl-share { background: var(--bg-white); padding: 20px 25px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); margin-top: 20px; display: flex; align-items: center; gap: 15px; }
.yith-wcwl-add-to-cart a.add_to_cart_button { background: var(--gold-gradient); color: var(--bg-white); padding: 10px 20px; border-radius: 3px; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; border: none; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.yith-wcwl-add-to-cart a.add_to_cart_button:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(207, 160, 82, 0.3); color: white; }

.track-order-wrapper { max-width: 700px; margin: 0 auto; }
.tracking-icon-header { width: 80px; height: 80px; background: var(--bg-white); border: 2px solid var(--primary-gold); color: var(--primary-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; box-shadow: var(--shadow-sm); }
form.track_order { background: var(--bg-white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); max-width: 700px; margin: 0 auto; }
form.track_order p.form-row { margin-bottom: 20px; width: 100%; float: none; }
form.track_order label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); font-size: 0.9rem; text-transform: uppercase; }
form.track_order input.input-text { width: 100%; padding: 15px 20px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--transition); }
form.track_order input.input-text:focus { background: var(--bg-white); border-color: var(--primary-gold); }
form.track_order .button { background: var(--gold-gradient); color: var(--bg-white); border: none; padding: 15px 40px; width: 100%; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 15px rgba(207, 160, 82, 0.3); margin-top: 10px; }
form.track_order .button:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(207, 160, 82, 0.4); color: white; }

/* ========================================= */
/* --- 17. FOOTER --- */
/* ========================================= */
.site-footer { background: #111; color: #aaa; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.brand-col p { font-size: 0.95rem; }
.social-icons a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border-radius: 50%; margin-right: 10px; transition: var(--transition); }
.social-icons a:hover { background: var(--primary-gold); color: white; transform: translateY(-3px); }
.footer-col h4 { color: white; margin-bottom: 25px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { display: inline-block; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-gold); transform: translateX(5px); }
.payment-icons i { font-size: 2.2rem; margin-right: 12px; color: #666; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 25px 0; font-size: 0.9rem; }

/* ========================================= */
/* --- 18. RESPONSIVE RULES --- */
/* ========================================= */
@media (max-width: 992px) {
    .story-newsletter-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .weekly-wrapper, .deal-wrapper { flex-direction: column; }
    .shop-container, .blog-container, .cart-container, .account-container { flex-direction: column; }
    .shop-sidebar, .blog-sidebar, .cart-totals-wrapper, .account-sidebar { width: 100%; position: static; }
    .shop-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .checkout-form { flex-direction: column; }
    .checkout-review-section { width: 100%; position: static; }
    .account-nav ul { display: flex; flex-wrap: wrap; }
    .account-nav li { flex: 1 1 auto; min-width: 150px; border-bottom: none; border-right: 1px solid var(--border-color); }
    .story-grid { grid-template-columns: 1fr; gap: 40px; }
    .story-badge { right: 20px; }
}

@media (max-width: 768px) {
    .header-main { flex-direction: column; gap: 20px; text-align: center; }
    .search-bar { width: 100%; margin: 0; }
    .nav-links { flex-wrap: wrap; gap: 15px; }
    .hero-box h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .shop-sidebar { grid-template-columns: 1fr; }
    .shop-toolbar { flex-direction: column; gap: 15px; text-align: center; }
    .add-to-cart-wrapper { flex-direction: column; }
    .tabs-header { flex-wrap: wrap; gap: 15px; justify-content: flex-start; }
    .cart-actions { flex-direction: column; gap: 20px; }
    .coupon-box { width: 100%; }
    .coupon-input { flex-grow: 1; }
    .checkout-form-section .form-row { flex-direction: column; gap: 0; }
    .checkout-form-section .form-row-first, .checkout-form-section .form-row-last { width: 100%; display: block; float: none; }
    
    /* Responsive Data Tables */
    .cart-table thead, .wishlist-table thead, .account-orders-table thead { display: none; }
    .cart-table tbody tr, .wishlist-table tbody tr, .account-orders-table tbody tr { display: block; padding: 20px 0; border-bottom: 1px solid var(--border-color); position: relative; }
    .cart-table td, .wishlist-table td, .account-orders-table td { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; border: none; text-align: right; }
    .cart-table td::before, .wishlist-table td::before, .account-orders-table td::before { content: attr(data-title); font-weight: 600; color: var(--text-dark); font-family: var(--font-heading); margin-right: 20px; }
    .product-remove, .wishlist-table .product-remove { position: absolute; top: 10px; right: 10px; border: none; padding: 0 !important; }
    .product-thumbnail { display: block; text-align: center; margin: 0 auto 15px; }
    .product-thumbnail::before, .wishlist-table .product-thumbnail::before { display: none; }
    .product-name { flex-direction: column; align-items: flex-end; }
    
    .order-meta-grid { flex-direction: column; }
    .meta-item { border-right: none; border-bottom: 1px dashed var(--border-color); text-align: center; }
    .meta-item:last-child { border-bottom: none; }
    .customer-details-grid { grid-template-columns: 1fr; }
    .success-header h1 { font-size: 1.8rem; }
    
    .error-code { font-size: 6rem; }
    .error-heading { font-size: 1.5rem; }
    .error-content-wrapper { padding: 40px 20px; }
    
    .category-banner-content h1 { font-size: 2.2rem; }
    .subcat-grid { gap: 15px; }
    .subcat-item { width: 90px; }
    .subcat-image { width: 70px; height: 70px; }
    .subcat-item span { font-size: 0.8rem; }
    
    .post-hero-content h1 { font-size: 2.2rem; }
    .single-post-article { padding: 30px 20px; }
    .post-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
    .author-bio-box { flex-direction: column; text-align: center; }
    .account-box { padding: 20px; }
    .checkout-form-section { padding: 25px 20px; }
    .order-review-box { padding: 30px 20px; }
}

/* ========================================= */
/* --- CRITICAL MOBILE HEADER FIXES --- */
/* ========================================= */

@media (max-width: 768px) {
    /* 1. Stack the Top Bar so text and switchers don't overlap */
    .top-bar .container.flex-between { 
        flex-direction: column; 
        gap: 10px; 
        text-align: center; 
        padding: 10px 20px; 
    }
    .top-bar-right.flex-gap { 
        justify-content: center; 
    }

    /* 2. Re-establish the App-like Grid for the Main Header */
    .header-main.container.flex-between { 
        flex-direction: row !important; 
        flex-wrap: wrap; 
        align-items: center; 
        justify-content: space-between !important; 
        padding: 15px 20px; 
    }
    
    /* Logo stays top left */
    .logo { 
        order: 1; 
        width: auto; 
        max-width: 70%; 
        text-align: left; 
    }
    
    /* Hamburger toggle stays top right */
    .mobile-menu-toggle { 
        display: block !important; 
        order: 2; 
        margin: 0; 
    }
    
    /* Search Bar takes full width under the logo */
    .search-bar.desktop-search { 
        order: 3; 
        width: 100% !important; 
        margin: 20px 0 0 0 !important; 
    }
    
    /* Account/Cart/Wishlist icons take full width at the bottom */
    .header-actions { 
        order: 4; 
        width: 100%; 
        justify-content: center; 
        margin-top: 20px; 
    }
    
    /* 3. Fix the Mobile Dropdown Menu */
    .main-nav { display: none; }
    .main-nav.active { display: block; border-top: 1px solid var(--border-color); }
    .main-nav div > ul { flex-direction: column; gap: 0; padding: 10px 0; }
    .main-nav div > ul li a { padding: 12px 0; font-size: 1rem; text-align: center; }
    .main-nav div > ul li a::after { display: none; } /* Hide gold hover line on mobile */
}

/* ========================================= */
/* --- FIX DUPLICATE CURRENCY SWITCHER --- */
/* ========================================= */

/* 1. Hide the WP Wham JS-generated "wSelect" clone */
.top-bar .switcher .wSelect-theme-classic,
.top-bar .switcher .wSelect {
    display: none !important;
}

/* 2. Force the native HTML select to remain visible and active */
.top-bar .switcher select#alg_currency_select {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
}

/* ========================================= */
/* --- NATIVE MY ACCOUNT CSS BRIDGES --- */
/* ========================================= */

/* Sidebar Navigation Mapping & FontAwesome Injection */
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--border-color); margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation li a { display: flex; align-items: center; gap: 15px; padding: 15px 25px; color: var(--text-body); font-size: 0.95rem; font-weight: 500; transition: var(--transition); border-left: 3px solid transparent; }
.woocommerce-MyAccount-navigation li a::before { font-family: "Font Awesome 6 Free"; font-weight: 900; width: 20px; text-align: center; color: var(--text-light); transition: var(--transition); }

/* Injecting Specific Icons for Endpoints */
.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\f3fd"; } /* Tachometer */
.woocommerce-MyAccount-navigation-link--orders a::before { content: "\f291"; } /* Basket */
.woocommerce-MyAccount-navigation-link--downloads a::before { content: "\f019"; } /* Download */
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\f3c5"; } /* Map Marker */
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f4ff"; } /* User Edit */
.woocommerce-MyAccount-navigation-link--wishlist a::before { content: "\f004"; font-weight: 400; } /* Heart */
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\f2f5"; } /* Sign Out */

/* Active States */
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { background: var(--bg-light); color: var(--text-dark); border-left-color: var(--primary-gold); }
.woocommerce-MyAccount-navigation li.is-active a::before, .woocommerce-MyAccount-navigation li a:hover::before { color: var(--primary-gold); }

/* Native Notice/Message Fixes */
.woocommerce-message, .woocommerce-error, .woocommerce-info { background: var(--bg-white); border-top: 3px solid var(--primary-gold); padding: 15px 20px; border-radius: 4px; box-shadow: var(--shadow-sm); color: var(--text-body); font-size: 0.95rem; margin-bottom: 25px; list-style: none; }
.woocommerce-error { border-top-color: var(--accent-red); color: var(--accent-red); }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; background: var(--bg-light); color: var(--text-dark); padding: 5px 15px; border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; font-weight: 600; }

/* Responsive Dashboard Nav */
@media (max-width: 992px) {
    .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; }
    .woocommerce-MyAccount-navigation li { flex: 1 1 auto; min-width: 150px; border-bottom: none; border-right: 1px solid var(--border-color); }
    .woocommerce-MyAccount-navigation li a { border-left: none; border-bottom: 3px solid transparent; justify-content: center; }
    .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover { border-left-color: transparent; border-bottom-color: var(--primary-gold); }
}

/* ========================================= */
/* --- CRITICAL BUG FIXES --- */
/* ========================================= */

/* 1. Kill the Duplicate JS Currency Switcher (wSelect plugin clone) */
.top-bar .switcher .wSelect-theme-classic,
.top-bar .switcher .wSelect {
    display: none !important;
}

/* 2. Force the Native Select to Show Normally */
.top-bar .switcher select.alg_currency_select {
    display: inline-block !important;
    position: static !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    width: auto !important;
    clip: auto !important;
}

/* 3. Fix Nested Breadcrumb Backgrounds (If they occur on shortcode pages) */
.page-title-content .breadcrumbs .breadcrumbs {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* ========================================= */
/* --- 1. PREMIUM BACKGROUND COLOR --- */
/* ========================================= */

/* Force Warm Mocha / Chestnut Brown on Top Bar and Footer */
.top-bar, 
.site-footer,
.widget.bg-dark {
    background: #4A3525 !important; 
    background-color: #4A3525 !important; 
}

/* Ensure the footer bottom border blends nicely */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* 2. Force 2-Column Layout on Mobile */
@media (max-width: 768px) {
    /* Create the 2-column split and reduce the gap to fit small screens */
    .category-grid,
    .product-grid,
    .related.products ul.products,
    .up-sells.upsells.products ul.products {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    /* Scale down the Category Cards to fit the new width nicely */
    .category-card {
        height: 220px !important;
    }
    .category-content {
        padding: 10px !important;
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
    }
    .category-content h3 {
        font-size: 1rem !important;
        margin-bottom: 2px !important;
    }
    .category-content .cat-link {
        font-size: 0.7rem !important;
    }

    /* Scale down the Product Cards so text doesn't overlap */
    .product-info h4 {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
    }
    .product-info p.price {
        font-size: 0.95rem !important;
    }
    .product-info .product-cat {
        font-size: 0.65rem !important;
    }

    /* Shrink the hover action buttons so they fit the narrower images */
    .product-actions {
        padding: 10px !important;
        gap: 5px !important;
    }
    .action-btn, 
    .product-actions .yith-wcwl-add-button > a {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
}

/* ========================================= */
/* --- MOBILE TRUST SIGNALS FIX --- */
/* ========================================= */

@media (max-width: 768px) {
    /* 1. Force a strict 2-column grid */
    .trust-signals .trust-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 25px 15px !important; 
    }

    /* 2. Stack the icon and text to fit the narrow columns, aligned left */
    .trust-signals .trust-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    /* 3. Slightly shrink the icon and add spacing below it */
    .trust-signals .icon-box {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }

    /* 4. Adjust typography for the smaller column width */
    .trust-signals .trust-text h4 {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }
    .trust-signals .trust-text p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
}