:root {
    --brand-red: #cc1b23;
    --dark: #222222;
    --gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --cream-bg: #faf6f0;
    --border: #e6e6e6;
    --font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--cream-bg);
    color: var(--dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; padding: 0; margin: 0; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* TOP BAR */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    font-size: 0.75rem;
    padding: 8px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tb-left { font-weight: 500; letter-spacing: 1px;}
.tb-right a {
    color: var(--white);
    margin-left: 20px;
}
.tb-right a:hover { color: var(--brand-red); }

/* MAIN HEADER */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
/* BRAND LOGO NEW */
.brand-logo-new {
    display: flex;
    align-items: flex-end; /* Align texts to the bottom */
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    color: #d4af37; /* Gold color from image */
    text-decoration: none;
    line-height: 0.9;
}

.logo-part-left {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding-bottom: 2px; /* Align with HOME text bottom */
}

.logo-part-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.house-icon-wrapper {
    display: flex;
    align-items: flex-end;
    margin-bottom: -2px;
}

.logo-text-home {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
    opacity: 0.8;
    white-space: nowrap;
}

.header-search {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    border: 2px solid var(--brand-red);
    border-radius: 4px;
    overflow: hidden;
}
.header-search input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-family: var(--font-family);
}
.header-search button {
    background: var(--brand-red);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 600;
}

.main-nav {
    border-top: 1px solid var(--border);
}
.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}
.nav-links li a {
    display: block;
    padding: 15px 0;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    text-transform: uppercase;
    position: relative;
}
.nav-links li a:hover {
    color: var(--brand-red);
}
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand-red);
    transition: width 0.3s ease;
}
.nav-links li a:hover::after { width: 100%; }

/* HERO BANNERS */
.hero-slider {
    width: 100%;
    height: 500px;
    background: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
}
.hero-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    max-width: 500px;
    margin-left: 5%;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-top: 0;
    color: var(--dark);
    margin-bottom: 10px;
}
.hero-content p {
    color: var(--gray);
    margin-bottom: 20px;
}
.btn-red {
    background: var(--brand-red);
    color: var(--white);
    padding: 12px 30px;
    display: inline-block;
    font-weight: 600;
    border-radius: 4px;
}
.btn-red:hover { background: #a61218; color: var(--white); }

/* SECTIONS */
.section-title {
    text-align: left;
    font-size: 2.8rem;
    margin: 60px 0 25px;
    font-weight: 900;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 25px;
    border-bottom: 2px solid #f2f2f2;
    letter-spacing: -0.5px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #d4af37;
}

/* Category Circles */
.categories-circles {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
    flex-wrap: wrap;
}
.cat-circle {
    text-align: center;
    width: 150px;
}
.cat-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cat-circle:hover .cat-img-wrapper {
    border-color: var(--brand-red);
}
.cat-circle:hover img {
    transform: scale(1.1);
}
.cat-circle span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

/* PRODUCTS */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 60px;
}
.product-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--white);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transform: translateY(-8px);
}
.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.product-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 10px;
}
.product-slug {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.product-meta-row {
    font-size: 0.85rem;
    color: var(--dark);
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
}
.product-meta-row span.badge {
    background: var(--light-gray);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 500;
}
.product-meta-row span.active { background: #e8f5e9; color: #2e7d32; }

/* FOOTER */
.site-footer {
    background: #111;
    color: #ccc;
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    color: #999;
    font-size: 0.9rem;
}
.footer-col ul li a:hover { color: var(--brand-red); padding-left: 5px; }

.contact-col p { font-size: 0.9rem; margin-bottom: 15px; }
.phone-number {
    font-size: 2rem;
    color: var(--brand-red);
    font-weight: 700;
}
.footer-bottom {
    background: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

/* Admin container */
.admin-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 15px;
}
table.table { width: 100%; border-collapse: collapse; margin-top: 20px; }
table.table th, table.table td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; }
table.table th { background: var(--light-gray); font-weight: 600; }

/* MOBILE RESPONSIVENESS */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

@media (max-width: 1024px) {
    .nav-links { gap: 15px; }
    .nav-links li a { font-size: 0.75rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    /* Top Bar */
    .top-bar-inner { flex-direction: column; gap: 10px; text-align: center; }
    .tb-left { font-size: 0.65rem; }
    .tb-right { font-size: 0.7rem; justify-content: center; width: 100%; }
    
    /* Header */
    .header-inner { flex-direction: column; gap: 20px; padding: 15px 0; }
    .mobile-menu-toggle { display: block; order: -1; align-self: flex-start; margin-bottom: -40px; }
    .brand-logo-new { transform: scale(0.85); margin-top: 10px; }
    .header-search { max-width: 100%; order: 3; }
    
    /* Nav */
    .main-nav { border: none; }
    .nav-links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
        text-align: center;
        padding: 20px 0;
        gap: 0;
    }
    .nav-links.active { display: flex; }
    .nav-links li { border-bottom: 1px solid #eee; width: 100%; }
    .nav-links li a { padding: 15px; }
    
    /* Hero Slider */
    .hero-slider { height: 350px; }
    .hero-content { padding: 25px; margin: 0 20px; max-width: calc(100% - 40px); }
    .hero-content h1 { font-size: 1.8rem; }
    
    /* Categories */
    .categories-circles { gap: 15px; }
    .cat-circle { width: calc(33.33% - 15px); min-width: 100px; }
    .cat-img-wrapper { width: 80px; height: 80px; }
    .cat-circle span { font-size: 0.75rem; }
    
    /* Product Grid */
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px; }
    .product-img { height: 160px; }
    .product-info { padding: 12px; }
    .product-title { font-size: 0.95rem; }
    .section-title { font-size: 1.8rem; text-align: center; }
    .section-title::after { left: 50%; transform: translateX(-50%); }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-col { order: -1; }
    .footer-col h4::after { display:none; }
    .phone-number { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .cat-circle { width: calc(50% - 15px); }
    .product-grid { grid-template-columns: 1fr; }
}