:root {
    --brick-primary: #0074C8;
    --brick-primary-dark: #005096;
    --brick-primary-light: #e0f0fc;
    --brick-navy: #0b1e38;
    --brick-yellow: #FFC72C;
    --brick-yellow-dark: #e0a800;
    --brick-red: #E3000B;
    --brick-red-dark: #b80009;
    --brick-green: #009E49;
    --brick-purple: #7B2CBF;
    --brick-orange: #FF6700;
    --brick-dark: #1e293b;
    --brick-light: #f8fafc;
    --brick-gray: #64748b;
    --brick-border: #e2e8f0;
    --brick-radius: 16px;
    --brick-radius-sm: 10px;
    --brick-shadow: 0 10px 30px rgba(0, 116, 200, 0.08);
    --brick-shadow-hover: 0 16px 36px rgba(0, 116, 200, 0.16);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--brick-dark);
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* TOPBAR */
.site-topbar {
    background-color: var(--brick-navy);
    color: #cbd5e1;
    font-size: 0.84rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1050;
}

.site-topbar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-topbar a:hover {
    color: var(--brick-yellow);
}

.site-topbar .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 99999 !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18) !important;
    border-radius: 12px !important;
    padding: 0.5rem 0 !important;
    min-width: 190px !important;
    margin-top: 0.4rem !important;
}

.site-topbar .dropdown-menu .dropdown-item {
    color: #0f172a !important;
    font-size: 0.88rem !important;
    padding: 0.6rem 1.1rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.site-topbar .dropdown-menu .dropdown-item:hover {
    background-color: var(--brick-primary-light) !important;
    color: var(--brick-primary) !important;
}

.site-topbar .dropdown-menu .dropdown-item.active {
    background-color: var(--brick-primary-light) !important;
    color: var(--brick-primary) !important;
    font-weight: 700 !important;
}

/* SITE HEADER */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 50, 150, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-logo img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.site-logo:hover img {
    transform: scale(1.03);
}

/* SEARCH BAR */
.header-search .form-control {
    border: 2px solid var(--brick-border);
    border-radius: 50rem 0 0 50rem;
    padding-left: 1.25rem;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search .form-control:focus {
    border-color: var(--brick-primary);
    box-shadow: 0 0 0 4px rgba(0, 116, 200, 0.12);
}

.header-search .btn-search {
    border-radius: 0 50rem 50rem 0;
    background-color: var(--brick-primary);
    color: #ffffff;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
    border: 2px solid var(--brick-primary);
    font-weight: 600;
    transition: background-color 0.2s, border-color 0.2s;
}

.header-search .btn-search:hover {
    background-color: var(--brick-primary-dark);
    border-color: var(--brick-primary-dark);
    color: #ffffff;
}

/* MAIN NAVIGATION */
.main-nav {
    background: linear-gradient(90deg, var(--brick-primary-dark) 0%, var(--brick-primary) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.main-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.78rem 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 6px;
    margin: 0.2rem 0.1rem;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.18);
    color: var(--brick-yellow) !important;
}

.main-nav .dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--brick-border);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    padding: 0.6rem 0;
}

.main-nav .dropdown-item {
    padding: 0.65rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: background-color 0.15s, color 0.15s, padding-left 0.15s;
}

.main-nav .dropdown-item:hover {
    background-color: var(--brick-primary-light);
    color: var(--brick-primary);
    padding-left: 1.5rem;
}

/* HERO BANNER - INSPIRED BY SHOPPER BANNER */
.thebrick-hero-banner {
    position: relative;
    background: #ffffff;
    border-bottom: 2px solid var(--brick-border);
    overflow: hidden;
    padding: 3.5rem 0 3rem;
}

/* Modular colorful brick backdrop blocks */
.thebrick-hero-banner .brick-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.95;
    transition: transform 0.3s ease;
}

.thebrick-hero-banner .shape-yellow-top {
    top: -20px;
    right: 15%;
    width: 140px;
    height: 100px;
    background-color: var(--brick-yellow);
    border-radius: 18px 18px 0 0;
}

.thebrick-hero-banner .shape-pink-pill {
    top: 40px;
    right: 4%;
    width: 120px;
    height: 60px;
    background-color: #ff6b8b;
    border-radius: 30px;
}

.thebrick-hero-banner .shape-purple-block {
    bottom: -15px;
    left: 8%;
    width: 90px;
    height: 90px;
    background-color: var(--brick-purple);
    border-radius: 16px;
}

.thebrick-hero-banner .shape-blue-arch {
    top: 20px;
    left: 3%;
    width: 80px;
    height: 80px;
    background-color: var(--brick-primary);
    border-radius: 40px 40px 0 0;
}

.thebrick-hero-banner .shape-green-pill {
    bottom: 25px;
    right: 22%;
    width: 110px;
    height: 50px;
    background-color: var(--brick-green);
    border-radius: 25px;
}

.thebrick-hero-banner .shape-red-cube {
    bottom: 20px;
    left: 20%;
    width: 70px;
    height: 70px;
    background-color: var(--brick-red);
    border-radius: 14px;
}

.thebrick-hero-banner .banner-center-card {
    position: relative;
    z-index: 5;
    background: #ffffff;
    border: 4px solid #111827;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: 10px 10px 0px #111827;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.thebrick-hero-banner .banner-badge {
    display: inline-block;
    background-color: var(--brick-yellow);
    color: #111827;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1.1rem;
    border-radius: 50rem;
    margin-bottom: 1.25rem;
    border: 2px solid #111827;
}

.thebrick-hero-banner .banner-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 4.2vw, 2.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.thebrick-hero-banner .banner-subtitle {
    color: #4b5563;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    max-width: 620px;
    margin: 0 auto 1.75rem;
    font-weight: 500;
}

.thebrick-hero-banner .btn-banner-primary {
    background-color: var(--brick-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.8rem;
    border-radius: 50rem;
    border: 2px solid #111827;
    box-shadow: 3px 3px 0px #111827;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.thebrick-hero-banner .btn-banner-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #111827;
    background-color: var(--brick-primary-dark);
    color: #ffffff;
}

.thebrick-hero-banner .btn-banner-secondary {
    background-color: #ffffff;
    color: #111827;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.8rem;
    border-radius: 50rem;
    border: 2px solid #111827;
    box-shadow: 3px 3px 0px #111827;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.thebrick-hero-banner .btn-banner-secondary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #111827;
    background-color: #f3f4f6;
    color: #111827;
}

/* FEATURE BADGE CARDS */
.feature-badge-card {
    background: #ffffff;
    border: 1px solid var(--brick-border);
    border-radius: var(--brick-radius-sm);
    padding: 1.25rem 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.feature-badge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 116, 200, 0.08);
}

/* CATEGORY CARD */
.category-card {
    background: #ffffff;
    border: 2px solid var(--brick-border);
    border-radius: var(--brick-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--brick-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--brick-primary);
    transition: height 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--brick-primary);
    box-shadow: var(--brick-shadow-hover);
    color: var(--brick-primary);
}

.category-card:hover::before {
    height: 8px;
    background: var(--brick-yellow);
}

.category-card .category-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--brick-primary-light);
    color: var(--brick-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}

.category-card:hover .category-icon-wrapper {
    background: var(--brick-primary);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.category-card .category-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.category-card .category-count {
    font-size: 0.8rem;
    color: var(--brick-gray);
}

/* PRODUCT CARD */
.product-card {
    background: #ffffff;
    border: 1px solid var(--brick-border);
    border-radius: var(--brick-radius);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--brick-primary);
    box-shadow: var(--brick-shadow-hover);
}

.product-card .product-img-wrapper {
    background: #ffffff;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--brick-border);
}

.product-card .product-img-wrapper img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-card .product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brick-primary);
}

/* FOOTER */
.site-footer {
    background-color: var(--brick-navy);
    color: #94a3b8;
    margin-top: auto;
    font-size: 0.9rem;
}

.site-footer h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--brick-yellow);
}

.site-footer-bottom {
    background-color: #071426;
    padding: 1.25rem 0;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

