/*
Theme Name: Alveera Jewellery
Theme URI: https://alveera.com
Author: Alveera Team
Author URI: https://alveera.com
Description: A luxury jewellery theme for WooCommerce with elegant design, custom filters, and responsive layout.
Version: 1.0.9
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alveera-jewellery
*/

html, body, #page, #content, .site-main { background: #fdf5ec !important; }

/* ============================================
   BASE THEME STYLES (Reconstructed)
   ============================================ */

/* ============================================
   BASE THEME STYLES (Reconstructed)
   ============================================ */

/* ============================================
   BASE THEME STYLES (Reconstructed)
   ============================================ */

:root {
    --bg: #FFFFFF;
    --card-bg: #fdf5ec;
    --text: #721121;
    --primary: #d4af37;
    --text-muted: rgba(114, 17, 33, 0.7);
    --border: #e8d5c0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Jost', sans-serif;
    background: #fdf5ec;
    color: #721121;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

a { color: var(--text); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn, button, input[type="submit"] {
    display: inline-block;
    padding: 12px 28px;
    background: #E8D5C0;
    color: #721121;
    border: none;
    border-radius: 30px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover, button:hover, input[type="submit"]:hover {
    background: #721121;
    color: #E8D5C0;
    box-shadow: 0 4px 15px rgba(114, 17, 33, 0.15);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--text);
    color: #fff;
}

.font-serif { font-family: 'Cormorant Garamond', serif; }
.font-sans { font-family: 'Jost', sans-serif; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    background: var(--text);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .announcement-bar { font-size: 11px; padding: 8px 15px; }
}

/* ============================================
   NAVIGATION - HEADER
   ============================================ */
.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(114, 17, 33, 0.05);
}

.navbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
}

.logo { cursor: pointer; flex-shrink: 0; }
.logo img,
.logo-image { height: 45px !important; width: auto !important; }

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}
.search-bar form {
    display: flex !important;
    align-items: stretch !important;
    background: #fdf8f2 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 30px !important;
    padding: 0 !important;
    overflow: hidden !important;
    height: 42px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}
.search-bar form:hover {
    border-color: #721121 !important;
    background: #fff !important;
}
.search-bar form:focus-within {
    border-color: #721121 !important;
    background: #fff !important;
    box-shadow: 0 0 10px rgba(114, 17, 33, 0.15) !important;
}
.search-bar form input[type="search"] {
    flex: 1 !important;
    width: auto !important;
    border: none !important;
    background: transparent !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    font-family: 'Jost', sans-serif !important;
    color: #721121 !important;
    outline: none !important;
    letter-spacing: 0.3px !important;
    height: 100% !important;
    box-shadow: none !important;
}
.search-bar form input[type="search"]::placeholder {
    color: rgba(114, 17, 33, 0.6) !important;
    font-weight: 300 !important;
}
.search-bar form button.search-submit {
    background: linear-gradient(135deg, #721121 0%, #a21e35 100%) !important;
    border: none !important;
    padding: 0 25px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: auto !important;
    transition: opacity 0.3s ease !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.search-bar form button.search-submit:hover {
    opacity: 0.9 !important;
    background: linear-gradient(135deg, #721121 0%, #a21e35 100%) !important;
    color: #ffffff !important;
}

/* Mobile Search Bar Styling */
.mobile-search-bar {
    margin-bottom: 25px;
    padding: 0 5px;
}
.mobile-search-bar form {
    display: flex !important;
    align-items: center !important;
    background: #fdf8f2 !important;
    border: 1px solid #d4af37 !important;
    border-radius: 30px !important;
    padding: 0 10px 0 15px !important;
    height: 42px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}
.mobile-search-bar form:focus-within {
    border-color: #721121 !important;
    background: #fff !important;
    box-shadow: 0 0 8px rgba(114, 17, 33, 0.15) !important;
}
.mobile-search-bar form button.mobile-search-submit {
    background: transparent !important;
    border: none !important;
    padding: 0 8px 0 0 !important;
    color: #721121 !important;
    cursor: pointer !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.mobile-search-bar form button.mobile-search-submit:hover {
    background: transparent !important;
    color: #d4af37 !important;
}
.mobile-search-bar form input[type="search"] {
    flex: 1 !important;
    width: auto !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-family: 'Jost', sans-serif !important;
    color: #721121 !important;
    outline: none !important;
    height: 100% !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    -webkit-user-select: text !important;
    user-select: text !important;
}
.mobile-search-bar form input[type="search"]::placeholder {
    color: rgba(114, 17, 33, 0.6) !important;
    font-weight: 300 !important;
}

/* Nav Icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}
.nav-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.3s;
    color: var(--text);
    font-size: 22px;
}
.nav-icon:hover { background: #fdf5ec; }
.nav-icon i { color: var(--text); }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    background: #721121;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    font-family: 'Jost', sans-serif;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
    font-size: 22px;
    padding: 5px;
}
.hamburger-menu:hover {
    background: transparent;
    color: var(--text);
    transform: rotate(90deg);
}
.hamburger-menu::after { display: none; }

/* Nav Links */
.nav-links {
    border-top: 1px solid var(--border);
}
.nav-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    list-style: none;
}
.nav-links li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'Jost', sans-serif;
}
.nav-links li a:hover,
.nav-links li.current-menu-item a { color: var(--primary); }

/* Desktop Dropdowns (sub-menu) */
.nav-links li {
    position: relative;
}
.nav-links li .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    margin: 0;
    border: 1px solid var(--border);
    max-width: none;
    gap: 0;
}
.nav-links li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-links li .sub-menu li {
    width: 100%;
}
.nav-links li .sub-menu li a {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    color: var(--text);
    display: block;
    text-align: left;
    white-space: nowrap;
    border-top: none;
    font-family: 'Jost', sans-serif;
    transition: all 0.25s ease;
}
.nav-links li .sub-menu li a:hover {
    background: var(--border);
    color: var(--primary);
    padding-left: 24px;
}


/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    padding: 90px 25px 30px;
    overflow-y: auto;
}
.mobile-nav-overlay.active { right: 0; }

.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-nav-backdrop.active { opacity: 1; visibility: visible; }

.mobile-nav-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(114, 17, 33, 0.05);
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}
.mobile-nav-close:hover {
    background: var(--text);
    color: #fff;
    transform: rotate(90deg);
}

.mobile-nav-section { margin-bottom: 35px; padding: 0 5px; }

.mobile-nav-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(114, 17, 33, 0.6);
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.mobile-nav-item,
.mobile-nav-section ul li a,
.mobile-nav-section .nav-link {
    display: flex !important;
    align-items: center !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #721121 !important; /* Burgundy */
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    border: 1px solid var(--border) !important;
    background: #fdfaf6 !important;
    margin-bottom: 8px !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.mobile-nav-item:hover,
.mobile-nav-section ul li a:hover,
.mobile-nav-section .nav-link:hover {
    background: #f5eedf !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateX(5px) !important;
}

/* Hardcoded icons / child icons styling */
.mobile-nav-item i,
.mobile-nav-section ul li a i,
.mobile-nav-section .nav-link i {
    margin-right: 12px !important;
    width: 22px !important;
    text-align: center !important;
    font-size: 16px !important;
    color: var(--primary) !important;
    display: inline-block !important;
}

/* Pseudo-element icon for dynamic menu links (if no <i> icon is present) */
.mobile-nav-section ul li a::before,
.mobile-nav-section .nav-link::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    margin-right: 12px !important;
    width: 22px !important;
    text-align: center !important;
    font-size: 16px !important;
    color: var(--primary) !important;
    display: inline-block !important;
    content: "\f3a5"; /* Default: fa-gem */
}

/* Disable ::before pseudo-element on the hardcoded items since they already have <i> tags */
.mobile-nav-item::before {
    display: none !important;
}

/* Dynamic category icon mappings based on URL slug */
.mobile-nav-section ul li a[href*="ring"]::before,
.mobile-nav-section .nav-link[href*="ring"]::before { content: "\f70b" !important; } /* fa-ring */
.mobile-nav-section ul li a[href*="earring"]::before,
.mobile-nav-section .nav-link[href*="earring"]::before { content: "\f3a5" !important; } /* fa-gem */
.mobile-nav-section ul li a[href*="necklace"]::before,
.mobile-nav-section .nav-link[href*="necklace"]::before { content: "\f0c1" !important; } /* fa-link */
.mobile-nav-section ul li a[href*="bangle"]::before,
.mobile-nav-section ul li a[href*="bracelet"]::before,
.mobile-nav-section ul li a[href*="payal"]::before,
.mobile-nav-section .nav-link[href*="bangle"]::before,
.mobile-nav-section .nav-link[href*="bracelet"]::before,
.mobile-nav-section .nav-link[href*="payal"]::before { content: "\f70b" !important; } /* fa-ring */
.mobile-nav-section ul li a[href*="gift"]::before,
.mobile-nav-section .nav-link[href*="gift"]::before { content: "\f06b" !important; } /* fa-gift */
.mobile-nav-section ul li a[href*="pendant"]::before,
.mobile-nav-section .nav-link[href*="pendant"]::before { content: "\f0c1" !important; } /* fa-link */

/* Right chevron for all menu cards */
.mobile-nav-item::after,
.mobile-nav-section ul li a::after,
.mobile-nav-section .nav-link::after {
    content: "\f054" !important; /* fa-chevron-right */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    margin-left: auto !important;
    font-size: 11px !important;
    color: rgba(114, 17, 33, 0.4) !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
}

.mobile-nav-item:hover::after,
.mobile-nav-section ul li a:hover::after,
.mobile-nav-section .nav-link:hover::after {
    color: var(--primary) !important;
    transform: translateX(3px) !important;
}

/* Mobile submenu indentation */
.mobile-nav-section ul.sub-menu {
    padding-left: 15px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-left: 1px solid var(--border);
}
.mobile-nav-section ul.sub-menu li a {
    display: flex !important;
    align-items: center !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #721121 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.25s ease !important;
    border: 1px solid rgba(114, 17, 33, 0.08) !important;
    background: #ffffff !important;
    margin-bottom: 6px !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
.mobile-nav-section ul.sub-menu li a:hover {
    background: #fdf5ec !important;
    border-color: #721121 !important;
    color: #721121 !important;
    transform: translateX(4px) !important;
}
.mobile-nav-section ul.sub-menu li a::before {
    font-size: 13px !important;
    color: #721121 !important;
    margin-right: 10px !important;
    transition: transform 0.25s ease !important;
}
.mobile-nav-section ul.sub-menu li a:hover::before {
    transform: scale(1.1) !important;
}
.mobile-nav-section ul.sub-menu li a::after {
    display: none !important;
}


/* ============================================
   DROPDOWNS (Account, Wishlist)
   ============================================ */
.account-dropdown,
.wishlist-btn-header { position: relative; }

.account-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 20px;
    min-width: 220px;
    z-index: 1000;
    margin-top: 15px;
    animation: fadeInDropdown 0.2s ease;
}
.account-dropdown:hover .account-dropdown-content { display: block; }

.wishlist-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 20px;
    min-width: 320px;
    max-width: 400px;
    z-index: 1000;
    margin-top: 15px;
    animation: fadeInDropdown 0.2s ease;
}
.wishlist-dropdown-content.active { display: block; }

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wishlist-dropdown-content { display: none; position: absolute; right: 0; top: 100%; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.15); border-radius: 12px; padding: 20px; min-width: 320px; max-width: 400px; z-index: 1000; margin-top: 15px; animation: fadeInDropdown 0.2s ease; }
.wishlist-dropdown-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--text); margin: 0 0 15px 0; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.wishlist-empty { text-align: center; color: rgba(114, 17, 33, 0.6); font-size: 14px; padding: 20px 0; }
.wishlist-view-all-btn { display: inline-block; padding: 10px 25px; background: var(--text); color: #fff; text-decoration: none; border-radius: 6px; font-size: 14px; font-weight: 600; }

.account-dropdown-content { display: none; position: absolute; right: 0; top: 100%; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.15); border-radius: 12px; padding: 20px; min-width: 220px; z-index: 1000; margin-top: 15px; animation: fadeInDropdown 0.2s ease; }
.account-dropdown-guest-label { margin: 0 0 15px 0; font-size: 14px; color: rgba(114, 17, 33, 0.8); text-align: center; font-weight: 500; }
.account-welcome { margin: 0 0 12px 0; font-size: 14px; color: var(--text); font-weight: 600; }
.account-action-btn { display: block; padding: 12px; text-align: center; text-decoration: none; border-radius: 8px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.account-login-btn { background: var(--text); color: #fff; }
.account-login-btn:hover { background: var(--primary); color: #fff; }
.account-signup-btn { background: var(--border); color: var(--text); margin-bottom: 0; }
.account-signup-btn:hover { background: var(--primary); color: #fff; }
.account-dropdown-link { display: flex; align-items: center; padding: 10px 0; color: rgba(114, 17, 33, 0.85); text-decoration: none; font-size: 14px; border-bottom: 1px solid #f0e6d3; }
.account-dropdown-link:hover { color: var(--text); background: var(--border); padding-left: 5px; }
.account-dropdown-link i { margin-right: 10px; width: 18px; }
.account-logout-link { color: var(--text); font-weight: 600; border-bottom: none; }

.account-dropdown-content a:hover {
    color: var(--text) !important;
    background: var(--border);
    padding-left: 5px;
}

/* Wishlist Items */
.wishlist-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0e6d3;
}
.wishlist-item:last-child { border-bottom: none; }
.wishlist-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}
.wishlist-item-info { flex: 1; }
.wishlist-item-info h4 {
    font-size: 14px;
    color: var(--text);
    margin: 0 0 5px 0;
    font-family: 'Cormorant Garamond', serif;
}
.wishlist-item-info span { font-size: 14px; color: var(--text); font-weight: 600; }
.wishlist-item-remove {
    color: rgba(114, 17, 33, 0.5);
    cursor: pointer;
    font-size: 18px;
    transition: color 0.2s ease;
}
.wishlist-item-remove:hover { color: var(--text); }

/* Product Wishlist Button */
.product-wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}
.product-wishlist-btn:hover { transform: scale(1.1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.product-wishlist-btn.in-wishlist { background: var(--text); color: #fff; }
.product-wishlist-btn i { font-size: 18px; color: var(--text); transition: color 0.2s ease; }
.product-wishlist-btn.in-wishlist i { color: #fff; }

/* Account Link */
.account-link { display: inline-block; position: relative; }
.account-link:hover .nav-icon i { color: var(--primary); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #fdf5ec !important;
    color: #721121 !important;
    padding: 80px 40px 30px;
    border-top: 4px solid #E8D5C0 !important;
}
.footer * {
    color: #721121 !important;
}
.footer-links a {
    color: #721121 !important;
}
.footer-links a:hover {
    color: #d4af37 !important;
    background: none !important;
    padding-left: 0;
}
.footer-column h4 {
    color: #721121 !important;
}
.footer-copyright {
    color: rgba(114, 17, 33, 0.6) !important;
}
.trust-badges .badge {
    color: #721121 !important;
}
.social-icons a {
    background: rgba(114, 17, 33, 0.1) !important;
    color: #721121 !important;
}
.social-icons a:hover {
    background: #E8D5C0 !important;
    color: #721121 !important;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(114, 17, 33, 0.15);
}
.footer-column { }
.footer-logo { margin-bottom: 15px; }
.footer-logo img { height: 60px; width: auto; }
.footer-description {
    color: rgba(114, 17, 33, 0.7);
    font-size: 14px;
    line-height: 1.6;
}
.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #721121;
    margin-bottom: 20px;
    font-family: 'Jost', sans-serif;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: rgba(114, 17, 33, 0.8);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}
.footer-links a:hover { color: #721121; padding-left: 5px; }

/* Social Icons */
.social-icons { display: flex; gap: 15px; margin-top: 20px; justify-content: flex-start; }
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(114, 17, 33, 0.1);
    color: #721121;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}
.social-icons a:hover {
    background: #E8D5C0;
    color: #721121;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 30px auto 0;
    padding-top: 25px;
}
.footer-copyright { font-size: 13px; color: rgba(114, 17, 33, 0.7); }
.trust-badges { display: flex; gap: 20px; align-items: center; }
.trust-badges .badge {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: rgba(114, 17, 33, 0.7);
    letter-spacing: 0.5px;
}
.trust-badges .badge i { color: #c5a47e; margin-right: 5px; }

/* ============================================
   CART PAGE
   ============================================ */
.cart-page {
    background: var(--card-bg);
    min-height: 100vh;
    padding: 40px 20px;
}
.cart-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.cart-page-title {
    text-align: center;
    margin-bottom: 50px;
}
.cart-page-title h1 {
    font-size: 48px;
    color: var(--text);
    margin-bottom: 15px;
}
.cart-page-title a {
    color: rgba(114, 17, 33, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
}
.cart-page-title a:hover { color: var(--text); }
.cart-page-title a i { margin-right: 5px; }

/* Cart Empty State */
.cart-empty {
    text-align: center;
    padding: 100px 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(114, 17, 33, 0.1);
}
.cart-empty i {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 30px;
    display: block;
}
.cart-empty h2 { font-size: 32px; color: var(--text); margin-bottom: 20px; }
.cart-empty p { color: rgba(114, 17, 33, 0.7); margin-bottom: 30px; font-size: 18px; }

/* Cart Form Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}
.cart-items {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border);
}
.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 25px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image {
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { }
.cart-item-details h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
}
.cart-item-details a { text-decoration: none; color: var(--text); }
.cart-item-details a:hover { color: var(--primary); }
.cart-item-meta { font-size: 13px; color: rgba(114, 17, 33, 0.6); margin-bottom: 12px; }
.cart-item-actions { display: flex; align-items: center; gap: 15px; }
.qty-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}
.qty-btn {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--card-bg); }
.qty-input input {
    width: 45px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    color: var(--text);
    background: #fff;
}
.remove-item {
    color: rgba(114, 17, 33, 0.5);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
}
.remove-item:hover { color: #c00; }
.cart-item-right { text-align: right; }
.cart-item-price { font-size: 20px; color: var(--text); font-weight: 600; margin-bottom: 15px; }
.cart-remove-btn {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Jost', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}
.cart-remove-btn:hover { background: var(--text); color: #fff; border-color: var(--text); }
.cart-trust-badges { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--border); }
.cart-trust-badge { text-align: center; font-size: 12px; color: rgba(114, 17, 33, 0.7); }
.cart-trust-badge i { color: var(--primary); display: block; margin-bottom: 5px; font-size: 18px; }

/* Cart Summary */
.cart-summary {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.cart-summary h2 {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
}
.cart-summary-row.total {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}
.cart-summary .btn {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 16px;
    font-size: 14px;
}
.coupon-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.coupon-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    background: var(--card-bg);
}
.coupon-form .btn {
    padding: 12px 20px;
    white-space: nowrap;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page {
    background: var(--card-bg);
    min-height: 100vh;
    padding: 40px 20px;
}
.checkout-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.checkout-title {
    text-align: center;
    margin-bottom: 50px;
}
.checkout-title h1 { font-size: 48px; color: var(--text); margin-bottom: 15px; }
.checkout-title a {
    color: rgba(114, 17, 33, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
}
.checkout-title a:hover { color: var(--text); }
.checkout-title a i { margin-right: 5px; }

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}
.checkout-form-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border);
}
.checkout-form-section h3 {
    font-size: 28px;
    color: var(--text);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}
.checkout-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.checkout-form-row.full { grid-template-columns: 1fr; }
.checkout-form-group { }
.checkout-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    font-family: 'Jost', sans-serif;
}
.checkout-form-group label .required { color: #e74c3c; }
.checkout-form-group input,
.checkout-form-group select,
.checkout-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    background: var(--card-bg);
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.checkout-form-group input:focus,
.checkout-form-group select:focus,
.checkout-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.checkout-form-group textarea { resize: vertical; min-height: 100px; }

/* Checkout Order Summary */
.checkout-order-summary {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}
.checkout-order-summary h2 {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}
.checkout-order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}
.checkout-order-item:last-child { border-bottom: none; }
.checkout-order-item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-order-item-image img { width: 100%; height: 100%; object-fit: cover; }
.checkout-order-item-info { flex: 1; }
.checkout-order-item-info h4 {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
}
.checkout-order-item-info span { font-size: 14px; color: rgba(114, 17, 33, 0.7); }
.checkout-order-item-price { font-weight: 600; font-size: 14px; color: var(--text); }
.checkout-order-totals { margin-bottom: 25px; }
.checkout-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: rgba(114, 17, 33, 0.8);
}
.checkout-order-row span:last-child { font-weight: 600; color: var(--text); }
.checkout-order-total {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.checkout-order-total span:first-child { font-weight: 600; font-size: 18px; color: var(--text); }
.checkout-order-total span:last-child { font-weight: 700; font-size: 24px; color: var(--text); }
.checkout-place-order { width: 100%; padding: 18px; font-size: 16px; }
.checkout-security-badges { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border); }
.checkout-security-badge { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(114, 17, 33, 0.7); }
.checkout-security-badge i { color: var(--primary); }
.checkout-order-item img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--card-bg);
}
.checkout-order-item-info { flex: 1; }
.checkout-order-item-info h4 {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
    font-family: 'Cormorant Garamond', serif;
}
.checkout-order-item-info span { font-size: 13px; color: rgba(114, 17, 33, 0.6); }
.checkout-order-item-price { font-size: 15px; font-weight: 600; color: var(--text); }

/* ============================================
   GENERAL FORMS
   ============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    color: var(--text);
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
input::placeholder,
textarea::placeholder { color: rgba(114, 17, 33, 0.5); }

/* ============================================
   PAGE TEMPLATES (Generic)
   ============================================ */
.page-header {
    background: var(--card-bg);
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-size: 48px;
    color: var(--text);
    margin-bottom: 15px;
}
.page-header p {
    color: rgba(114, 17, 33, 0.7);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}
.page-content {
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}
.page-content h2 {
    font-size: 36px;
    color: var(--text);
    margin: 40px 0 20px;
}
.page-content h3 { font-size: 28px; color: var(--text); margin: 30px 0 15px; }
.page-content p { margin-bottom: 20px; line-height: 1.8; }
.page-content ul, .page-content ol { margin-bottom: 20px; padding-left: 30px; }
.page-content li { margin-bottom: 10px; list-style: disc; line-height: 1.7; }

/* ============================================
   BLOG
   ============================================ */
.blog-page { padding: 60px 40px; max-width: 1200px; margin: 0 auto; }
.blog-page-header { text-align: center; margin-bottom: 50px; }
.blog-page-header h1 { font-size: 48px; color: var(--text); margin-bottom: 15px; font-family: 'Cormorant Garamond', serif; }
.blog-page-header p { font-size: 18px; color: rgba(114, 17, 33, 0.7); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s, transform 0.3s;
}
.blog-card:hover { box-shadow: 0 8px 30px rgba(114, 17, 33, 0.12); transform: translateY(-4px); }
.blog-card-image { position: relative; width: 100%; padding-top: 60%; overflow: hidden; background: var(--card-bg); }
.blog-card-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-category { position: absolute; top: 15px; left: 15px; background: var(--text); color: #fff; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; font-family: 'Jost', sans-serif; }
.blog-card-body { padding: 25px; }
.blog-card-content { padding: 25px; }
.blog-card-meta { font-size: 12px; color: rgba(114, 17, 33, 0.6); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.blog-card-title { font-size: 22px; color: var(--text); margin-bottom: 12px; line-height: 1.3; font-family: 'Cormorant Garamond', serif; }
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 14px; color: rgba(114, 17, 33, 0.7); line-height: 1.6; margin-bottom: 15px; }
.blog-card-link { display: inline-flex; align-items: center; color: var(--text); font-weight: 600; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.blog-card-link:hover { color: var(--primary); }
.blog-card-link svg { margin-left: 8px; transition: transform 0.3s; }
.blog-card-link:hover svg { transform: translateX(5px); }
.blog-card-date { font-size: 13px; color: rgba(114, 17, 33, 0.5); margin-bottom: 10px; }

/* Blog Pagination */
.blog-pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.blog-pagination a,
.blog-pagination span { padding: 10px 18px; background: #fff; border: 1px solid var(--border); color: var(--text); text-decoration: none; border-radius: 6px; font-size: 14px; transition: all 0.3s ease; font-family: 'Jost', sans-serif; }
.blog-pagination a:hover,
.blog-pagination .current { background: var(--text); color: #fff; border-color: var(--text); }

/* No Posts */
.no-posts { text-align: center; padding: 80px 20px; background: #fff; border-radius: 12px; }
.no-posts h3 { font-family: 'Cormorant Garamond', serif; font-size: 32px; color: var(--text); margin-bottom: 15px; }
.no-posts p { font-size: 16px; color: rgba(114, 17, 33, 0.7); margin-bottom: 25px; }
.no-posts a { display: inline-block; padding: 12px 30px; background: var(--text); color: #fff; text-decoration: none; border-radius: 6px; font-weight: 600; font-family: 'Jost', sans-serif; transition: background 0.3s ease; }
.no-posts a:hover { background: #92003b; }

/* Blog Container (alternative) */
.blog-container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; background: var(--border); min-height: 80vh; }

/* Blog Header (alternative) */
.blog-header { text-align: center; margin-bottom: 60px; }
.blog-header h1 { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--text); margin-bottom: 15px; }
.blog-header p { font-size: 18px; color: rgba(114, 17, 33, 0.7); }

@media (max-width: 992px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media (max-width: 768px) {
    .blog-container { padding: 40px 20px; }
    .blog-header h1 { font-size: 36px; }
    .blog-header p { font-size: 16px; }
    .blog-page { padding: 40px 20px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card-title { font-size: 20px; }
    .blog-card-excerpt { font-size: 14px; }
    .blog-pagination { flex-wrap: wrap; }
    .blog-pagination a, .blog-pagination span { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 480px) {
    .blog-header h1 { font-size: 32px; }
    .blog-card { border-radius: 8px; }
    .blog-card-body { padding: 20px; }
    .blog-card-title { font-size: 18px; }
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    text-align: center;
    padding: 120px 40px;
    max-width: 600px;
    margin: 0 auto;
}
.error-404 h1 { font-size: 180px; color: var(--border); line-height: 1; margin-bottom: 20px; }
.error-404 h2 { font-size: 36px; color: var(--text); margin-bottom: 15px; }
.error-404 p { color: rgba(114, 17, 33, 0.7); margin-bottom: 30px; font-size: 18px; }

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-results-page { padding: 60px 40px; max-width: 1200px; margin: 0 auto; }
.search-results-page h1 { font-size: 36px; color: var(--text); margin-bottom: 30px; text-align: center; }
.search-results-page h1 span { color: rgba(114, 17, 33, 0.6); }

/* ============================================
   RESPONSIVE - Header
   ============================================ */
@media (max-width: 1024px) {
    .navbar-top { padding: 12px 25px; }
    .search-bar { max-width: 350px; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger-menu { display: flex; }
    .account-dropdown-content { right: 0 !important; left: auto !important; }
    .wishlist-dropdown-content { right: 0 !important; left: auto !important; min-width: 280px; max-width: calc(100vw - 40px); }
    .navbar-top { padding: 10px 20px; gap: 15px; }
    .search-bar { max-width: none; }
    .search-bar form { padding: 0 15px; }
    .logo-image { height: 38px; }
    .announcement-bar { font-size: 10px; }

    .footer { background: #fdf5ec; color: #721121; border-top: 4px solid #E8D5C0; }
    .footer * { color: #721121; }
    .footer-links a { color: #721121; }
    .footer-links a:hover { color: #d4af37; background: none; padding-left: 0; }
    .footer-column h4 { color: #721121; }
    .footer-copyright { color: rgba(114, 17, 33, 0.6); }
    .trust-badges .badge { color: #721121; }
    .social-icons a { background: rgba(114, 17, 33, 0.1); color: #721121; }

    .cart-page { padding: 25px 15px; }
    .cart-page-title h1 { font-size: 36px; }
    .cart-layout { gap: 25px; }
    .cart-items { padding: 20px; }
    .cart-item { grid-template-columns: 90px 1fr; gap: 15px; }
    .cart-item-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cart-summary { position: static; }
    .coupon-form { flex-direction: column; }
    .cart-empty { padding: 50px 20px; }
    .cart-empty i { font-size: 60px !important; margin-bottom: 20px; color: var(--primary) !important; }
    .cart-empty h2 { font-size: 24px; margin-bottom: 12px; }
    .cart-empty p { font-size: 15px; margin-bottom: 20px; }


    .checkout-page { padding: 25px 15px; }
    .checkout-title h1 { font-size: 36px; }
    .checkout-form-section { padding: 25px; }
    .checkout-form-row { grid-template-columns: 1fr; }
    .checkout-order-summary { position: static; }

    .page-header { padding: 40px 20px; }
    .page-header h1 { font-size: 36px; }
    .page-content { padding: 40px 20px; }
    .blog-page { padding: 40px 20px; }
    .blog-grid { grid-template-columns: 1fr; }
    .error-404 h1 { font-size: 120px; }
}

@media (max-width: 480px) {
    .nav-icons { gap: 15px; }
    .nav-icon { width: 35px; height: 35px; font-size: 20px; }
    .footer-column h4 { font-size: 13px; }
    .cart-item { grid-template-columns: 80px 1fr; }
    .checkout-order-summary { padding: 20px; }
}


/* Font Awesome Icon Fix */
.fa-brands, .fa-solid, .fa-regular, .fa {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}
.fa-brands { font-family: "Font Awesome 6 Brands" !important; font-weight: 400; }
.fa-regular { font-family: "Font Awesome 6 Free" !important; font-weight: 400; }

/* Trust Badge Icons */
.trust-badge-icon { color: var(--primary); margin-right: 5px; }

/* Social Icon Specific */
.social-icons i { display: block; }

/* ============================================
   SHOP PAGE - Uses inline CSS in archive-product.php template
   ============================================ */
@media (max-width: 768px) {
    .aj-section-header .aj-title {
        font-size: 36px;
    }

    .aj-sort-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .aj-sort-left,
    .aj-sort-right {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }

    .aj-count-info {
        font-size: 13px;
    }

    .aj-mobile-sort {
        display: block;
    }

    .aj-filter-block {
        padding: 15px;
    }

    .aj-breadcrumb {
        padding: 0 20px;
    }

    .aj-section-header {
        padding: 0 20px;
    }
}

/* ============================================
   SHOP PAGE - MOBILE (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .aj-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .aj-section-header .aj-title {
        font-size: 30px;
    }

    .aj-title {
        font-size: 28px;
    }

    .aj-subtitle {
        font-size: 15px;
    }

    .aj-breadcrumb {
        padding: 0 16px;
        font-size: 12px;
    }

    .aj-section-header {
        padding: 0 16px;
    }

    .aj-count-info {
        font-size: 12px;
    }

    .aj-sort-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .aj-sort-left,
    .aj-sort-right {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .aj-mobile-sort {
        display: block;
    }

    .aj-filter-group h4 {
        font-size: 15px;
    }

    .aj-filter-group {
        padding: 10px 0;
    }

    .aj-range-input {
        width: 100%;
    }

    .aj-price-display {
        font-size: 13px;
    }

}

/* ============================================
   SINGLE PRODUCT - DESKTOP (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    .aj-product-main {
        display: flex;
        gap: 60px;
        padding: 0 40px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .aj-image-gallery {
        width: 55%;
        flex-shrink: 0;
    }

    .aj-product-info {
        width: 45%;
    }

    .aj-tabs-section {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }
}

/* ============================================
   SINGLE PRODUCT - LAPTOP (768px - 1199px)
   ============================================ */
@media (max-width: 1199px) and (min-width: 769px) {
    .aj-product-main {
        display: flex;
        gap: 30px;
        padding: 0 25px;
    }

    .aj-image-gallery {
        width: 55%;
    }

    .aj-product-info {
        width: 45%;
    }

    .aj-tabs-section {
        padding: 0 25px;
    }

    .aj-main-image {
        max-height: 650px;
    }
}

/* ============================================
   SINGLE PRODUCT - TABLET (480px - 768px)
   ============================================ */
@media (max-width: 768px) and (min-width: 481px) {
    .aj-product-main {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .aj-image-gallery,
    .aj-product-info {
        width: 100%;
    }

    .aj-main-image {
        max-height: 550px;
    }

    .aj-product-name {
        font-size: 32px;
    }

    .aj-rating-row {
        flex-wrap: wrap;
    }

    .aj-purchase-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .aj-tabs-section {
        padding: 0 20px;
    }

    .aj-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
    }

    .aj-tab-btn {
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ============================================
   SINGLE PRODUCT - MOBILE (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .aj-product-main {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }

    .aj-image-gallery,
    .aj-product-info {
        width: 100%;
    }

    .aj-main-image {
        max-height: 450px;
    }

    .aj-thumbnails {
        gap: 8px;
        padding: 12px 0;
    }

    .aj-thumb {
        width: 60px;
        height: 60px;
    }

    .aj-product-name {
        font-size: 26px;
        line-height: 1.3;
    }

    .aj-rating-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .aj-product-price-sp {
        font-size: 20px;
    }

    .aj-short-desc {
        font-size: 14px;
    }

    .aj-purchase-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .aj-buy-now-btn,
    .aj-wish-btn {
        width: 100%;
    }

    .aj-aux-actions {
        flex-direction: column;
        gap: 10px;
    }

    .aj-attributes {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .aj-divider {
        margin: 20px 0;
    }

    .aj-tabs-section {
        padding: 0 16px;
    }

    .aj-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .aj-tab-btn {
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 13px;
    }

    .aj-tab-heading {
        font-size: 22px;
    }

    .aj-care-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aj-breadcrumb-sp {
        padding: 0 16px;
        flex-wrap: wrap;
    }
}

/* ============================================
   SHARED MOBILE UTILITIES
   ============================================ */
@media (max-width: 768px) {
    .aj-product-card {
        border-radius: 8px;
    }

    .aj-card-image img {
        height: 200px;
    }

    .aj-card-body {
        padding: 12px;
    }

    .aj-card-title {
        font-size: 15px;
    }

    .aj-card-price {
        font-size: 15px;
    }

    .aj-add-to-cart-btn,
    .aj-quick-view-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .aj-product-card {
        border-radius: 6px;
    }

    .aj-card-image img {
        height: 170px;
    }

    .aj-card-body {
        padding: 10px;
    }

    .aj-card-title {
        font-size: 13px;
    }

    .aj-card-price {
        font-size: 14px;
    }

    .aj-category-tag {
        font-size: 10px;
    }

    .aj-sale-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* ============================================
   ACCESSIBILITY - Focus states
   ============================================ */
@media (hover: hover) {
    .aj-tab-btn:hover,
    .aj-apply-btn:hover,
    .aj-clear-btn:hover {
        opacity: 0.85;
    }
}

@media (hover: none) {
    .aj-tab-btn:active,
    .aj-apply-btn:active,
    .aj-clear-btn:active {
        opacity: 0.85;
    }
}

/* ============================================
   QUICK VIEW MODAL - LUXURY STYLING
   ============================================ */
.alveera-quickview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alveera-quickview-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}
.alveera-quickview-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 1;
    animation: qvFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes qvFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.alveera-quickview-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    line-height: 1;
    z-index: 2;
}
.alveera-quickview-modal .close-modal:hover {
    color: #721121;
}
.alveera-quickview-modal .modal-body {
    display: flex;
    flex-direction: row;
    height: 100%;
}
.alveera-quickview-modal .qv-image-section {
    width: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.alveera-quickview-modal .qv-image-section img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}
.alveera-quickview-modal .qv-info-section {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.alveera-quickview-modal .qv-info-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}
.alveera-quickview-modal .qv-price {
    font-size: 22px;
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 20px;
}
.alveera-quickview-modal .qv-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}
.alveera-quickview-modal .qv-add-to-cart-wrapper .aj-quick-add-btn {
    padding: 14px 28px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}
.alveera-quickview-modal .qv-add-to-cart-wrapper .aj-quick-add-btn:hover {
    background: #d4af37;
}

@media (max-width: 768px) {
    .alveera-quickview-modal .modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    .alveera-quickview-modal .modal-body {
        flex-direction: column;
    }
    .alveera-quickview-modal .qv-image-section,
    .alveera-quickview-modal .qv-info-section {
        width: 100%;
    }
    .alveera-quickview-modal .qv-info-section {
        padding: 20px;
    }
}

/* ============================================
   NEWSLETTER VISIBILITY FIX
   ============================================ */
.newsletter h2,
.newsletter-title {
    color: #ffffff !important;
}

/* ============================================
   DARK BACKGROUND SECTIONS (HEROES, CTAs, CALLOUTS) COLOR FIX
   ============================================ */
.story-hero h1, .story-hero h2, .story-hero h3, .story-hero p, .story-hero span,
.crafts-hero h1, .crafts-hero h2, .crafts-hero h3, .crafts-hero p, .crafts-hero span,
.sus-hero h1, .sus-hero h2, .sus-hero h3, .sus-hero p, .sus-hero span,
.careers-hero h1, .careers-hero h2, .careers-hero h3, .careers-hero p, .careers-hero span,
.press-hero h1, .press-hero h2, .press-hero h3, .press-hero p, .press-hero span,
.faq-hero h1, .faq-hero h2, .faq-hero h3, .faq-hero p, .faq-hero span,
.ship-hero h1, .ship-hero h2, .ship-hero h3, .ship-hero p, .ship-hero span,
.care-hero h1, .care-hero h2, .care-hero h3, .care-hero p, .care-hero span,
.gift-hero h1, .gift-hero h2, .gift-hero h3, .gift-hero p, .gift-hero span,
.ar-hero h1, .ar-hero h2, .ar-hero h3, .ar-hero p, .ar-hero span,
.store-hero h1, .store-hero h2, .store-hero h3, .store-hero p, .store-hero span,
.contact-hero h1, .contact-hero h2, .contact-hero h3, .contact-hero p, .contact-hero span,
.story-cta h1, .story-cta h2, .story-cta h3, .story-cta p,
.sus-cta h1, .sus-cta h2, .sus-cta h3, .sus-cta p,
.careers-general h1, .careers-general h2, .careers-general h3, .careers-general p {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

/* Sub-headings / Accents on Dark Backgrounds */
.story-hero .story-sub,
.crafts-hero .crafts-sub,
.sus-hero .sus-sub,
.careers-hero .careers-sub,
.press-hero .press-sub,
.faq-hero .faq-sub,
.ship-hero .ship-sub,
.care-hero .care-sub,
.gift-hero .gift-sub,
.ar-hero .ar-sub,
.store-hero .store-sub,
.contact-hero .contact-sub {
    color: #E8D5C0 !important;
    letter-spacing: 4px !important;
    font-weight: 500 !important;
}

/* ============================================
   STORY VALUE CARDS ICON SIZE FIX
   ============================================ */
.value-icon i {
    font-size: 32px !important;
    line-height: inherit !important;
}


/* ============================================
   WOOCOMMERCE MY ACCOUNT REDESIGN
   ============================================ */
.woocommerce-account .woocommerce {
    display: block !important;
    max-width: 1300px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

/* My Account Wrapper & Layout Grid */
.aj-myaccount-wrapper {
    width: 100%;
}
.aj-myaccount-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}

/* Top Horizontal Navigation */
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation {
    background: #ffffff;
    border: 1px solid rgba(232, 213, 192, 0.7);
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: 0 4px 20px rgba(114, 17, 33, 0.04);
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: rgba(114, 17, 33, 0.8);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link a:hover {
    background: #fdf5ec;
    color: #721121;
}
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link.is-active a {
    background: #fdf5ec;
    color: #721121;
    border-bottom: 3px solid #721121;
    font-weight: 600;
    border-left: none;
}

/* Navigation Link Icons using FontAwesome */
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 15px;
    width: 20px;
    display: inline-block;
    text-align: center;
}
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\f0e4"; }
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link--orders a::before { content: "\f290"; }
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link--downloads a::before { content: "\f019"; }
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\f3c5"; }
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f013"; }
.aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\f2f5"; }

/* Left Sidebar Welcome Card */
.aj-myaccount-welcome-sidebar {
    background: #ffffff;
    border: 1px solid rgba(232, 213, 192, 0.7);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(114, 17, 33, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}
.aj-sidebar-avatar-wrapper {
    position: relative;
    margin-bottom: 15px;
}
.aj-sidebar-avatar-wrapper img {
    border-radius: 50%;
    border: 3px solid #e8d5c0;
    box-shadow: 0 4px 15px rgba(114, 17, 33, 0.1);
    display: block;
}
.aj-sidebar-welcome-back {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(114, 17, 33, 0.6);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}
.aj-sidebar-user-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #721121;
    margin: 0 0 5px 0;
    font-weight: 700;
}
.aj-sidebar-user-email {
    font-size: 13px;
    color: rgba(114, 17, 33, 0.7);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.aj-sidebar-divider {
    width: 100%;
    height: 1px;
    background: #e8d5c0;
    margin: 20px 0;
}
.aj-sidebar-quick-stats {
    width: 100%;
    margin-bottom: 25px;
}
.aj-stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(232, 213, 192, 0.5);
}
.aj-stat-item:last-child {
    border-bottom: none;
}
.stat-label {
    color: rgba(114, 17, 33, 0.6);
    font-weight: 500;
}
.stat-value {
    color: #721121;
    font-weight: 600;
}
.aj-sidebar-footer {
    width: 100%;
}
.aj-sidebar-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #faf7f4;
    color: #721121;
    border: 1px solid #e8d5c0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}
.aj-sidebar-logout-btn:hover {
    background: #721121;
    color: #ffffff;
    border-color: #721121;
}

/* Right Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff;
    border: 1px solid rgba(232, 213, 192, 0.7);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 25px rgba(114, 17, 33, 0.05);
    width: auto !important;
    float: none !important;
    min-width: 0;
    box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .aj-myaccount-layout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
    }
    .aj-myaccount-top-nav .woocommerce-MyAccount-navigation {
        padding: 8px 10px;
    }
    .aj-myaccount-top-nav .woocommerce-MyAccount-navigation ul {
        gap: 8px;
    }
    .aj-myaccount-top-nav .woocommerce-MyAccount-navigation-link a {
        font-size: 13px;
        padding: 8px 12px;
    }
    .aj-myaccount-welcome-sidebar {
        padding: 20px 15px;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 25px 20px;
    }
    .aj-dashboard-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .woocommerce-account .addresses {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
