/*
Theme Name: AHB Boutique Theme
Theme URI: https://ahbboutique.com/
Author: AHB Boutique
Author URI: https://ahbboutique.com/
Description: Complete production-ready WordPress & WooCommerce Theme for AHB Boutique. Fully responsive, mobile-friendly with hero sliders, Women, Men & Fragrances pages. Editable via WordPress Customizer and WooCommerce.
Version: 1.0.0
Text Domain: sapphire-theme
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Tags: e-commerce, custom-menu, custom-logo, featured-images, full-width-template, theme-options, grid-layout, woocommerce, elementor
*/

:root {
    --sapphire-black: #000000;
    --sapphire-white: #ffffff;
    --sapphire-grey-bg: #f8f8f8;
    --sapphire-border: #e0e0e0;
    --sapphire-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--sapphire-font);
    color: var(--sapphire-black);
    background-color: var(--sapphire-white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.sapphire-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Ticker */
.sapphire-announcement-bar {
    background-color: #111111;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    padding: 8px 0;
    width: 100%;
}

/* Header */
.sapphire-main-header {
    background: #ffffff;
    border-bottom: 1px solid var(--sapphire-border);
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.sapphire-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 40px;
    max-width: 1440px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sapphire-mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.sapphire-text-logo {
    text-decoration: none;
}

.sapphire-text-logo span {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #000000;
}

.sapphire-desktop-nav .sapphire-menu-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.sapphire-desktop-nav a {
    text-decoration: none;
    color: #000000;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.sapphire-header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sapphire-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    color: #000;
}

.sapphire-cart-count-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #000000;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Drawer - CRITICAL: Hidden by default */
.sapphire-mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 380px;
    max-width: 85%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #dddddd;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sapphire-mobile-drawer.open {
    left: 0;
}

.sapphire-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eeeeee;
    font-weight: 800;
    letter-spacing: 3px;
}

.sapphire-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.drawer-cat-tabs {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
    font-weight: 700;
}

.drawer-cat-tabs span.active {
    border-bottom: 2px solid #000000;
    padding-bottom: 5px;
}

.sapphire-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sapphire-mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sapphire-mobile-links li {
    margin-bottom: 18px;
}

.sapphire-mobile-links a {
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.special-offers-link a {
    color: #d9534f;
}

.drawer-footer-switcher {
    padding: 15px 20px;
    border-top: 1px solid #eeeeee;
}

.drawer-footer-switcher button {
    width: 100%;
    background: none;
    border: 1px solid #cccccc;
    padding: 10px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
}

/* Hero Carousel */
.sapphire-hero-swiper-container {
    width: 100%;
    height: 85vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 80px;
    width: 100%;
    height: 100%;
}

.hero-text-overlay {
    text-align: center;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-text-overlay h1 { font-size: 36px; font-weight: 700; letter-spacing: 3px; margin: 0; }
.hero-text-overlay h2 { font-size: 28px; font-weight: 600; letter-spacing: 2px; margin: 5px 0 15px; }

.hero-cta-btn {
    display: inline-block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Section 2: New In (160+ Items) */
.sapphire-new-in-section { padding: 60px 40px; }
.new-in-wrapper { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.new-in-text-card .items-count-tag { font-size: 12px; font-weight: 600; color: #777777; letter-spacing: 1px; }
.new-in-text-card h2 { font-size: 36px; font-weight: 800; letter-spacing: 2px; margin: 10px 0 15px; }
.new-in-text-card p { font-size: 14px; color: #555555; line-height: 1.6; margin-bottom: 20px; }
.shop-now-underline-link { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #000000; text-decoration: underline; text-underline-offset: 5px; }

.new-in-images-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.new-in-item { text-align: center; }
.new-in-item .img-box { width: 100%; height: 380px; overflow: hidden; background: #f0f0f0; margin-bottom: 12px; }
.new-in-item .img-box img { width: 100%; height: 100%; object-fit: cover; }
.new-in-item h4 { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; margin: 0; }

/* Section 3: Unstitched Split Hero */
.sapphire-unstitched-split-section { padding: 40px 0; }
.unstitched-split-wrapper { display: grid; grid-template-columns: 60% 40%; align-items: center; background: #ffffff; }
.unstitched-hero-image img { width: 100%; height: 600px; object-fit: cover; }
.unstitched-info-card { padding: 60px; }
.unstitched-info-card h2 { font-size: 42px; font-weight: 800; letter-spacing: 3px; margin: 0 0 15px; }
.unstitched-info-card p { font-size: 15px; color: #666666; line-height: 1.6; max-width: 400px; margin-bottom: 30px; }
.unstitched-sub-links { display: flex; gap: 30px; }
.unstitched-sub-links a { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: #000000; text-decoration: underline; text-underline-offset: 5px; }

/* Section 4 & 5: 2 Col Grid Banners */
.sapphire-two-col-grid-section { padding: 15px 40px; }
.two-col-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.col-card {
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px;
}
.card-overlay-bottom { text-shadow: 0 2px 10px rgba(0,0,0,0.4); color: #ffffff; }
.card-overlay-bottom h3 { font-size: 24px; font-weight: 700; letter-spacing: 2px; margin: 0 0 10px; }
.arrow-cta { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: #ffffff; text-decoration: none; }

/* Feature Icons Strip */
.sapphire-feature-strip { background: #fafafa; padding: 40px 0; border-top: 1px solid #eeeeee; border-bottom: 1px solid #eeeeee; }
.feature-grid { display: flex; justify-content: space-around; text-align: center; }
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; }

/* Footer 4 Columns */
.sapphire-site-footer { background: #ffffff; padding-top: 50px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 50px; }
.f-col h4 { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 20px; }
.f-col p, .f-col li { font-size: 12px; color: #555555; line-height: 1.8; list-style: none; }
.f-col a { color: #555555; text-decoration: none; }
.f-col ul { padding: 0; margin: 0; }
.n-desc { font-size: 11px; font-weight: 600; letter-spacing: 1px; margin-bottom: 15px; }
.n-form { display: flex; width: 100%; margin-bottom: 20px; }
.n-form input { flex: 1; padding: 12px; border: 1px solid #cccccc; border-radius: 4px 0 0 4px; font-size: 12px; }
.n-form button { background: #111111; color: #ffffff; border: none; padding: 12px 20px; font-weight: 700; font-size: 11px; border-radius: 0 4px 4px 0; cursor: pointer; }
.f-socials { display: flex; gap: 15px; font-weight: 700; }
.sapphire-copyright-bar { border-top: 1px solid #eeeeee; padding: 20px 0; font-size: 11px; font-weight: 600; color: #777777; }
.c-wrapper { display: flex; justify-content: space-between; align-items: center; }
.payment-logos { display: flex; gap: 15px; font-weight: 800; color: #333333; }

@media (max-width: 992px) {
    .sapphire-desktop-nav { display: none; }
    .new-in-wrapper { grid-template-columns: 1fr; }
    .new-in-images-grid { grid-template-columns: repeat(2, 1fr); }
    .unstitched-split-wrapper { grid-template-columns: 1fr; }
    .two-col-wrapper { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { flex-direction: column; gap: 25px; }
}
