/* ============================================
   OAK & BRASS - OpenCart 4.x Theme
   Strict Layout Matching Screenshot
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-dark: #1a1a1a;
    --secondary-gold: #c9a96e;
    --accent-brown: #8b7355;
    --text-muted: #6c757d;
    --bg-cream: #f5f3f0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* ===== BASE ===== */
body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
}

a { transition: all 0.3s ease;color: var(--primary-dark); }
a:hover { text-decoration: none; }


.nav-tabs .nav-link {color: var(--primary-dark);}


.btn_buy {
background-color:#785B17 !important;
}



.header-search {padding-bottom: 5px;}




/* ===== UTILITY ===== */
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
.ls-3 { letter-spacing: 3px; }
.object-fit-cover { object-fit: cover; }

.bg-primary{background-color:#fff !important;}


.text_gold{color: var(--secondary-gold) !important;}
.bg_gold{background-color: var(--secondary-gold) !important;border-color: var(--secondary-gold) !important;}

.pt20{padding-top: 20px !important;}

.pt46{padding-top: 46px !important;}



.input-group {

width: 79%;
}



/* 5-column grid */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 1199px) {
    .col-lg-2-4 { width: 25%; }
}

@media (max-width: 991px) {
    .col-lg-2-4 { width: 33.333%; }
}

@media (max-width: 767px) {
    .col-lg-2-4 { width: 50%; }
}

/* ===== TOP PROMO BAR ===== */
.top-promo-bar {
    background-color: #1a1a1a !important;
    font-size: 0.7rem;
}

.top-promo-item {
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #1a1a1a;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cart-badge-sm {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.55rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== MAIN HEADER ===== */
.main-header {
    padding: 1.5rem 0;
}

.header-search .form-control {
    border-radius: 12px;
    font-size: 0.85rem;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    border: 1px solid #d7d7d7;
}


.input-group .btn {

border: 1px solid #d7d7d7;
}

.header-search .input-group-text {
    border-radius: 0;
    border-right: none;
}


.btn-dark {
--bs-btn-color: #fff;
--bs-btn-bg: #785B17;
--bs-btn-border-color: #785B17;
--bs-btn-hover-color: #fff;
--bs-btn-hover-bg: #785B17;
--bs-btn-hover-border-color: #373b3e;
--bs-btn-focus-shadow-rgb: 66, 70, 73;
--bs-btn-active-color: #fff;
--bs-btn-active-bg: #4d5154;
--bs-btn-active-border-color: #785B17;
--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
--bs-btn-disabled-color: #fff;
--bs-btn-disabled-bg: #212529;
--bs-btn-disabled-border-color: #212529;
}



.list-group-item.active {
    
    background-color: var(--secondary-gold) !important;
    border-color: var(--secondary-gold) !important;
}






.fa-magnifying-glass {color: var(--secondary-gold) !important;}


.logo-subtitle {
    color: var(--accent-brown);
    font-size: 0.65rem;
    letter-spacing: 4px;
}

.header-icons a {
    font-size: 0.875rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.header-icons a:hover {
    color: var(--secondary-gold);
}

/* ===== MAIN NAVIGATION ===== */




.main-nav {
    border-top: 1px solid #e9e9e9 ;
    border-bottom: 1px solid #e9e9e9;
}


hr {
margin: .5rem 0;

}


.main-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 400;
  
    color: #7a5511;
    padding: 0.5rem 1.5rem !important;
    
}

.home_nav {display: none;}
.home_nav2 {display: block;padding-top: 0rem !important;}
@media (max-width: 991px) {
    .home_nav {display: block;}
    .home_nav2 {display: none;}
}





.main-nav .nav-link:hover {
    color: var(--secondary-gold) !important;
}

.main-nav .dropdown-menu {
    border-radius: 0;
    border: 1px solid #e9e9e9;
    margin-top: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.main-nav .dropdown-item {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    letter-spacing: 1px;
}

.main-nav .dropdown-item:hover {
    background-color: var(--bg-cream);
    color: var(--secondary-gold);
}

.nav-logo img {
    max-height: 30px;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.hero-content {
    z-index: 2;
}

.hero-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.hero-buttons .btn {
    border-radius: 0;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255,255,255,0.6);
    color: #fff;
    background: transparent;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    background: var(--secondary-gold);
    border-color: var(--secondary-gold);
    color: #fff;
}

/* ===== CATEGORY ICONS ===== */
.category-icons {
    padding: 2rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-link {
    transition: all 0.3s ease;
}

.category-link:hover {
    transform: translateY(-3px);
}

.category-link:hover .category-name {
    color: var(--secondary-gold) !important;
}

.category-icon {
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding: 0 15px;
}

.category-name {
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== INSPIRATION ===== */
.inspiration-section {
    background-color: var(--bg-cream);
    padding: 3rem 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    padding: 3rem 0;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.product-image {
    position: relative;
    overflow: hidden;
    background-color: #f8f6f3;
}

.product-image img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-actions {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1 !important;
}

.product-info {
    padding: 1rem 0.5rem;
}

.product-name {
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 400;
    min-height: 2.4rem;
}

.product-name a {
    color: var(--primary-dark);
}

.product-name a:hover {
    color: var(--secondary-gold);
}

.product-price {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== BRAND STATEMENT ===== */
.brand-statement {
    padding: 1.5rem 0;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

/* ===== BOTTOM CATEGORIES ===== */
.bottom-categories {
    background-color: var(--primary-dark);
}

.bottom-cat-link {
    display: block;
    overflow: hidden;
    padding: 15px;
}

.bottom-cat-link img {
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.bottom-cat-link:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

.bottom-cat-overlay {
    transition: all 0.3s ease;
}

.bottom-cat-link:hover .bottom-cat-overlay {
    background: linear-gradient(to top, rgba(201,169,110,0.9) 0%, transparent 100%) !important;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #fff;
    padding-top: 3rem;
}

.site-footer h6 {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--primary-dark);
}

.site-footer a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: var(--secondary-gold);
    padding-left: 3px;
}

.social-links a {
    font-size: 1rem;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-gold);
}

.footer-bottom {
    border-top: 1px solid #e9e9e9;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* ===== MODAL ===== */
.modal-content {
    border-radius: 0;
    border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-banner {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    .hero-banner {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .main-header .row > div {
        margin-bottom: 1rem;
        text-align: center !important;
    }
    
    .header-search {
        max-width: 100%;
    }
    
    .header-icons {
        justify-content: center;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }