/* ==========================================================================
   BB TRADERS - ULTRA-PREMIUM E-COMMERCE & B2B THEME STYLES
   ========================================================================== */

:root {
    --primary: #16a34a;
    --primary-hover: #15803d;
    --primary-light: #f0fdf4;
    --dark-green: #0d3a2d;
    --forest-bg: #092e24;
    --accent-orange: #ea580c;
    --accent-orange-light: #fff7ed;
    --accent-amber: #d97706;
    --accent-amber-light: #fef3c7;
    --badge-fresh: #22c55e;
    --badge-organic: #10b981;
    --badge-bestseller: #f59e0b;
    --badge-sale: #ef4444;

    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;

    --border-color: #e2e8f0;
    --border-focus: #16a34a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 24px -4px rgba(22, 163, 74, 0.12), 0 6px 12px -2px rgba(0, 0, 0, 0.06);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

/* Top Announcement Bar */
.top-bar {
    background-color: var(--dark-green);
    color: #e2e8f0;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-bar-link {
    color: #cbd5e1;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.top-bar-link:hover { color: #ffffff; }

/* Main Header */
.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #16a34a, #10b981);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-text span {
    color: var(--primary);
    font-size: 16px;
    display: block;
    font-weight: 600;
}

/* Global Search Bar */
.header-search-form {
    flex: 1;
    max-width: 620px;
    position: relative;
}

.search-input-group {
    display: flex;
    align-items: center;
    background-color: var(--slate-100);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-full);
    padding: 4px 6px 4px 18px;
    transition: all 0.2s ease;
}

.search-input-group:focus-within {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--slate-800);
    padding: 6px 0;
}

.btn-search-voice {
    background: none;
    border: none;
    color: var(--slate-500);
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
}

.btn-search-voice:hover { color: var(--primary); }

.btn-search-submit {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-search-submit:hover { background-color: var(--primary-hover); }

/* Live Search Suggestions Dropdown */
.search-suggestions-box {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--slate-100);
    transition: background-color 0.15s;
}

.search-suggestion-item:hover { background-color: var(--primary-light); }

.search-suggestion-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.suggestion-info { flex: 1; }
.suggestion-title { font-size: 14px; font-weight: 600; color: var(--slate-900); }
.suggestion-price { font-size: 13px; font-weight: 700; color: var(--primary); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--slate-700);
    position: relative;
    cursor: pointer;
}

.header-action-btn:hover { color: var(--primary); }

.action-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.action-label {
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
}

/* Secondary Category Nav Bar */
.category-nav-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 10px 0;
}

.category-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-all-categories {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-all-categories:hover { background-color: var(--primary-hover); }

.main-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.main-nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--slate-700);
    padding: 6px 0;
    position: relative;
}

.main-nav-links a:hover,
.main-nav-links a.active {
    color: var(--primary);
}

.location-delivery-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--slate-600);
    cursor: pointer;
}

.location-delivery-badge strong {
    color: var(--slate-900);
}

/* Mega Menu Dropdown */
.mega-menu-container {
    position: absolute;
    top: 100%;
    left: 20px;
    width: 800px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
    padding: 24px;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    z-index: 1050;
}

.mega-menu-column h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-light);
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column li {
    margin-bottom: 8px;
}

.mega-menu-column a {
    font-size: 13px;
    color: var(--slate-600);
    transition: color 0.15s, padding-left 0.15s;
}

.mega-menu-column a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION (MATCHING SCREENSHOT)
   ========================================================================== */

.hero-section {
    padding: 30px 0;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

/* Left Hero Banner */
.hero-main-banner {
    background: linear-gradient(135deg, #eaf8f0 0%, #f4fbf7 60%, #e1f5ec 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    min-height: 440px;
    border: 1px solid rgba(22, 163, 74, 0.15);
}

.hero-tagline {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 15px;
    color: var(--slate-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    max-width: 420px;
    margin-bottom: 30px;
}

.hero-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.hero-search-bar .btn-hero-shop {
    background-color: var(--dark-green);
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}

.hero-search-bar .btn-hero-shop:hover { background-color: var(--primary); }

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-700);
}

.trust-item svg {
    color: var(--primary);
}

.hero-image-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-box img {
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.hero-badge-floating {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: 24px;
    color: #166534;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.8);
    transform: rotate(6deg);
}

/* Right Sidebar: Deals of the Day */
.deals-sidebar-box {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.deals-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.deals-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--slate-900);
}

.deals-timer {
    display: flex;
    align-items: center;
    gap: 4px;
}

.timer-box {
    background-color: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 4px;
    min-width: 24px;
    text-align: center;
}

.deals-sidebar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Deal Card (Compact) */
.bb-deal-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 12px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.bb-deal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.deal-badge-pill {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--badge-sale);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

.deal-thumb-link {
    display: block;
    height: 90px;
    margin-bottom: 8px;
    text-align: center;
}

.deal-thumb-link img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.deal-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.deal-unit {
    font-size: 11px;
    color: var(--slate-500);
    margin-bottom: 4px;
}

.deal-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.deal-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--badge-sale);
}

.deal-old-price {
    font-size: 11px;
    color: var(--slate-400);
    text-decoration: line-through;
}

.btn-deal-btn {
    width: 100%;
    padding: 5px 0 !important;
    font-size: 11px !important;
}

/* ==========================================================================
   SHOP BY CATEGORY CARDS
   ========================================================================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.5px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.view-all-link:hover { text-decoration: underline; }

.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.category-item-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 16px 10px;
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.category-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--slate-50);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-item-card:hover .category-icon-wrap img {
    transform: scale(1.1);
}

.category-name-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.3;
}

/* 3 Promotional Banners */
.promo-banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.promo-banner-card {
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.promo-card-1 {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border: 1px solid #86efac;
}

.promo-card-2 {
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
    border: 1px solid #fdba74;
}

.promo-card-3 {
    background: linear-gradient(135deg, #1e3a8a, #0d3a2d);
    color: var(--white);
}

.promo-banner-text h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-banner-text p {
    font-size: 14px;
    color: var(--slate-600);
    margin-bottom: 16px;
}

.promo-card-3 .promo-banner-text p { color: #cbd5e1; }

.btn-promo-shop {
    display: inline-block;
    background-color: var(--dark-green);
    color: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}
.promo-card-3 .btn-promo-shop { background-color: var(--primary); }

.promo-banner-img {
    max-width: 110px;
    max-height: 110px;
    object-fit: contain;
}

/* ==========================================================================
   POPULAR PRODUCTS & PRODUCT CARDS
   ========================================================================== */

.filter-tabs-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.filter-tab-btn {
    background: transparent;
    border: 1px solid var(--slate-200);
    color: var(--slate-600);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
    background-color: var(--dark-green);
    color: var(--white);
    border-color: var(--dark-green);
}

.products-grid-layout {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

/* Single Product Card Matching Screenshot */
.bb-product-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 16px;
    position: relative;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

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

.card-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    min-height: 24px;
}

.product-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: capitalize;
}

.badge-fresh { background-color: var(--primary-light); color: var(--primary); }
.badge-organic { background-color: #ecfdf5; color: #059669; }
.badge-bestseller { background-color: #fffbeb; color: #b45309; }
.badge-sale { background-color: #fef2f2; color: #dc2626; }

.card-action-icons {
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.2s ease;
}

.bb-product-card:hover .card-action-icons {
    opacity: 1;
    transform: translateX(0);
}

.card-action-icons button {
    background: var(--slate-100);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    cursor: pointer;
    transition: all 0.15s;
}

.card-action-icons button:hover {
    background: var(--primary);
    color: var(--white);
}

.product-thumb-link {
    display: block;
    height: 140px;
    margin-bottom: 12px;
    text-align: center;
}

.product-thumb-link img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.bb-product-card:hover .product-thumb-link img {
    transform: scale(1.06);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.3;
    margin-bottom: 4px;
    min-height: 36px;
}

.product-unit-meta {
    font-size: 12px;
    color: var(--slate-500);
    margin-bottom: 6px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.star-icon { color: #f59e0b; font-size: 14px; }
.rating-num { font-weight: 700; color: var(--slate-800); }
.reviews-count { color: var(--slate-400); }

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 12px;
}

.current-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
}

.regular-price {
    font-size: 13px;
    color: var(--slate-400);
    text-decoration: line-through;
}

.card-cta-buttons {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-add-to-cart {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-add-to-cart:hover { background-color: var(--primary-hover); }

.btn-card-quote {
    background-color: transparent;
    color: var(--slate-700);
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-md);
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-card-quote:hover {
    background-color: var(--dark-green);
    color: var(--white);
    border-color: var(--dark-green);
}

/* ==========================================================================
   2-COLUMN HOMEPAGE PROMOTIONS & BANNER (MATCHING SCREENSHOT)
   ========================================================================== */

.rewards-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.reward-card {
    border-radius: var(--radius-xl);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reward-card-delivery {
    background: linear-gradient(135deg, #0d3a2d, #14532d);
    color: var(--white);
}

.reward-card-program {
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: var(--white);
}

.reward-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.reward-card p { font-size: 14px; opacity: 0.9; margin-bottom: 16px; }

.coupon-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.btn-reward-white {
    background: var(--white);
    color: var(--slate-900);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
}

/* Shop by Needs */
.needs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.need-item-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}

.need-item-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.need-icon { font-size: 32px; margin-bottom: 10px; }
.need-title { font-size: 15px; font-weight: 700; color: var(--slate-900); }
.need-subtitle { font-size: 12px; color: var(--slate-500); }

/* Daily Fresh Deals Banner (Green wide banner in screenshot) */
.daily-deals-wide-banner {
    background: linear-gradient(135deg, #0d3a2d, #14532d);
    border-radius: var(--radius-xl);
    padding: 36px 48px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.daily-deals-text h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.daily-deals-text p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.discount-circle-badge {
    background: var(--accent-orange);
    color: var(--white);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.1;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
}

/* ==========================================================================
   FOOTER (MATCHING SCREENSHOT)
   ========================================================================== */

.site-footer {
    background-color: var(--dark-green);
    color: #cbd5e1;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 26px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-brand h2 span { color: var(--primary); font-size: 18px; display: block; }
.footer-brand p { color: #94a3b8; margin-bottom: 20px; line-height: 1.6; }

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cbd5e1; transition: color 0.15s; }
.footer-links a:hover { color: var(--primary); }

.footer-contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #94a3b8;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */

.single-product-container {
    padding: 30px 0 60px;
}

.product-breadcrumbs {
    font-size: 13px;
    color: var(--slate-500);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-main-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    margin-bottom: 40px;
}

.product-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-viewport {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image-viewport img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.3s;
}

.main-image-viewport:hover img {
    transform: scale(1.15);
    cursor: zoom-in;
}

.gallery-thumbnails-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.gallery-thumb-btn {
    width: 70px;
    height: 70px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    overflow: hidden;
    padding: 4px;
}

.gallery-thumb-btn.active,
.gallery-thumb-btn:hover {
    border-color: var(--primary);
}

.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info-section h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.product-brand-sku-row {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--slate-500);
    margin-bottom: 12px;
}

.single-price-box {
    background: var(--slate-50);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.single-price-box .price-big {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.single-price-box .regular-big {
    font-size: 18px;
    color: var(--slate-400);
    text-decoration: line-through;
}

/* Bulk Tiered Pricing Table */
.bulk-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 13px;
}

.bulk-pricing-table th, .bulk-pricing-table td {
    padding: 10px 14px;
    border: 1px solid var(--slate-200);
    text-align: left;
}

.bulk-pricing-table th {
    background: var(--slate-100);
    font-weight: 700;
}

.single-actions-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.qty-counter {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--slate-300);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.qty-btn {
    background: var(--slate-100);
    border: none;
    width: 38px;
    height: 42px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.qty-input {
    width: 50px;
    height: 42px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    outline: none;
}

.btn-single-add-cart {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-single-add-cart:hover { background-color: var(--primary-hover); }

.btn-single-quote {
    background-color: var(--dark-green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* Tabs */
.product-tabs-wrapper {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 30px;
    margin-bottom: 40px;
}

.tabs-nav-bar {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--slate-100);
    margin-bottom: 24px;
}

.tab-nav-item {
    font-size: 16px;
    font-weight: 700;
    color: var(--slate-600);
    padding-bottom: 12px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.tab-nav-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content-panel { display: none; }
.tab-content-panel.active { display: block; }

/* ==========================================================================
   REQUEST A QUOTE & B2B FORMS
   ========================================================================== */

.quote-page-container, .b2b-container {
    padding: 40px 0 80px;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-md);
    outline: none;
    font-size: 14px;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.btn-submit-quote {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-submit-quote:hover { background-color: var(--primary-hover); }

/* ==========================================================================
   CART & CHECKOUT
   ========================================================================== */

.cart-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    padding: 40px 0 80px;
}

.cart-table-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 24px;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--slate-100);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cart-summary-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 28px;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.total-row {
    border-top: 2px solid var(--slate-100);
    padding-top: 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--slate-900);
}

/* ==========================================================================
   MODALS & TOASTS
   ========================================================================== */

.bb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bb-modal-overlay.active {
    display: flex;
}

.bb-modal-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.bb-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--slate-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

/* Toast System */
.bb-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bb-toast {
    background: var(--slate-900);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .category-cards-grid { grid-template-columns: repeat(4, 1fr); }
    .products-grid-layout { grid-template-columns: repeat(3, 1fr); }
    .hero-grid-layout { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .category-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid-layout { grid-template-columns: repeat(2, 1fr); }
    .promo-banners-grid { grid-template-columns: 1fr; }
    .hero-main-banner { grid-template-columns: 1fr; padding: 24px; }
    .hero-title { font-size: 28px; }
    .main-nav-links { display: none; }
    .header-search-form { display: none; }
    .footer-top-grid { grid-template-columns: 1fr; }
    .product-main-details-grid { grid-template-columns: 1fr; }
    .cart-layout-grid { grid-template-columns: 1fr; }
}
