/*
Theme Name: Gulf Bazar Woostify Child
Template: woostify
Version: 1.0
Text Domain: gulf-bazar
*/

/* =========================================
   GULF BAZAR GLOBAL CSS
========================================= */

:root {
    --gb-primary: #087f73;
    --gb-primary-dark: #05645b;
    --gb-accent: #f5a623;
    --gb-dark: #17212b;
    --gb-text: #303943;
    --gb-muted: #6b7280;
    --gb-light: #f7faf9;
    --gb-white: #ffffff;
    --gb-border: #e5e7eb;
    --gb-shadow: 0 12px 35px rgba(0,0,0,.08);
    --gb-radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--gb-text);
    background: #fff;
}

a {
    text-decoration: none;
}

.gb-container {
    width: min(1180px, 92%);
    margin: auto;
}

/* =========================================
   HEADER
========================================= */

.gb-topbar {
    background: var(--gb-dark);
    color: #fff;
    font-size: 13px;
}

.gb-topbar-inner {
    min-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gb-main-header {
    background: #fff;
    border-bottom: 1px solid var(--gb-border);
    position: relative;
    z-index: 999;
}

.gb-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* LOGO */

.gb-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.gb-logo-main {
    color: var(--gb-primary);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.gb-logo-sub {
    color: var(--gb-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
    margin-top: 5px;
}

/* NAV */

.gb-navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}

.gb-navigation > a,
.gb-category-link {
    color: var(--gb-dark);
    font-size: 15px;
    font-weight: 650;
    transition: .25s ease;
}

.gb-navigation > a:hover,
.gb-category-link:hover {
    color: var(--gb-primary);
}

/* CATEGORY */

.gb-menu-dropdown {
    position: relative;
}

.gb-category-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.gb-arrow {
    font-size: 17px;
}

.gb-dropdown-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    width: 260px;
    background: #fff;
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    padding: 10px;

    box-shadow: var(--gb-shadow);

    opacity: 0;
    visibility: hidden;

    transition: .25s ease;
}

.gb-menu-dropdown:hover .gb-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.gb-dropdown-menu > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    color: var(--gb-dark);
    border-radius: 9px;
    font-weight: 600;
    font-size: 14px;
}

.gb-dropdown-menu > a:hover {
    background: #eefaf8;
    color: var(--gb-primary);
}

.gb-dropdown-all {
    margin-top: 5px;
    padding-top: 8px;
    border-top: 1px solid var(--gb-border);
}

.gb-dropdown-all a {
    display: block;
    text-align: center;
    padding: 10px;
    color: var(--gb-primary);
    font-weight: 700;
}

/* ACTIONS */

.gb-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gb-action-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    color: var(--gb-dark);
    position: relative;
}

.gb-cart-count {
    position: absolute;
    top: -9px;
    right: -10px;

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gb-accent);
    color: #111;

    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

/* SEARCH */

.gb-search-box {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--gb-border);
    padding: 15px 0;
}

.gb-search-box.active {
    display: block;
}

.gb-search-form {
    display: flex;
    gap: 10px;
}

.gb-search-form input {
    flex: 1;
    height: 48px;
    border: 1px solid var(--gb-border);
    border-radius: 9px;
    padding: 0 15px;
}

.gb-search-form button {
    border: 0;
    background: var(--gb-primary);
    color: #fff;
    padding: 0 25px;
    border-radius: 9px;
    font-weight: 700;
}

/* MOBILE */

.gb-mobile-btn {
    display: none;
}

.gb-mobile-menu {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--gb-border);
    padding: 10px 20px;
}

.gb-mobile-menu.active {
    display: block;
}

.gb-mobile-menu > a,
.gb-mobile-category-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 14px 5px;
    color: var(--gb-dark);
    background: transparent;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    font-weight: 650;
}

.gb-mobile-category-btn {
    cursor: pointer;
}

.gb-mobile-submenu {
    display: none;
    padding-left: 15px;
}

.gb-mobile-submenu.active {
    display: block;
}

.gb-mobile-submenu a {
    display: block;
    padding: 10px;
    color: var(--gb-muted);
}

/* =========================================
   HERO
========================================= */

.gb-hero {
    background:
        linear-gradient(100deg, rgba(4,44,40,.94), rgba(8,127,115,.78)),
        url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=80");

    background-size: cover;
    background-position: center;

    min-height: 510px;

    display: flex;
    align-items: center;

    color: #fff;
}

.gb-hero-content {
    max-width: 650px;
}

.gb-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 18px;
}

.gb-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 900;
}

.gb-hero p {
    color: rgba(255,255,255,.9);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.gb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border-radius: 9px;
    font-weight: 750;
    transition: .25s ease;
}

.gb-btn-primary {
    background: var(--gb-accent);
    color: #17212b;
}

.gb-btn-primary:hover {
    transform: translateY(-3px);
}

/* =========================================
   SECTIONS
========================================= */

.gb-section {
    padding: 75px 0;
}

.gb-section-light {
    background: var(--gb-light);
}

.gb-section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.gb-section-heading .gb-kicker {
    color: var(--gb-primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gb-section-heading h2 {
    margin: 8px 0 10px;
    color: var(--gb-dark);
    font-size: 34px;
    font-weight: 850;
}

.gb-section-heading p {
    max-width: 620px;
    margin: auto;
    color: var(--gb-muted);
}

/* =========================================
   CATEGORY CARDS
========================================= */

.gb-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gb-category-card {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: var(--gb-radius);
    box-shadow: var(--gb-shadow);
}

.gb-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.gb-category-card:hover img {
    transform: scale(1.08);
}

.gb-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgba(0,0,0,.75));
}

.gb-category-content {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    color: #fff;
}

.gb-category-content h3 {
    color: #fff;
    margin: 0 0 5px;
    font-size: 22px;
}

.gb-category-content span {
    font-size: 13px;
}

/* =========================================
   PRODUCT GRID
========================================= */

.gb-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.gb-product-card {
    background: #fff;
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    overflow: hidden;
    transition: .3s ease;
}

.gb-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gb-shadow);
}

.gb-product-image {
    height: 245px;
    background: #f8fafc;
}

.gb-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-product-info {
    padding: 18px;
}

.gb-product-info h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--gb-dark);
}

.gb-price {
    color: var(--gb-primary);
    font-weight: 800;
}

/* =========================================
   FEATURES
========================================= */

.gb-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gb-feature {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--gb-border);
}

.gb-feature-icon {
    font-size: 34px;
    margin-bottom: 12px;
}

.gb-feature h3 {
    margin: 0 0 8px;
    color: var(--gb-dark);
    font-size: 17px;
}

.gb-feature p {
    margin: 0;
    color: var(--gb-muted);
    font-size: 13px;
}

/* =========================================
   CTA
========================================= */

.gb-cta {
    background: var(--gb-primary);
    color: #fff;
    border-radius: 20px;
    padding: 55px;
    text-align: center;
}

.gb-cta h2 {
    color: #fff;
    margin: 0 0 12px;
    font-size: 35px;
}

.gb-cta p {
    color: rgba(255,255,255,.9);
}

/* =========================================
   FOOTER
========================================= */

.gb-footer {
    background: #111820;
    color: #d8dee5;
    margin-top: 0;
}

.gb-footer-main {
    padding: 65px 0 40px;
}

.gb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 45px;
}

.gb-footer h3,
.gb-footer h4 {
    color: #fff !important;
    margin: 0 0 20px;
    font-weight: 800;
}

.gb-footer h3 {
    font-size: 23px;
}

.gb-footer h4 {
    font-size: 16px;
}

.gb-footer p {
    color: #aeb8c2;
    line-height: 1.7;
    font-size: 14px;
}

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

.gb-footer li {
    margin-bottom: 11px;
}

.gb-footer a {
    color: #bfc8d1 !important;
    font-size: 14px;
    transition: .2s ease;
}

.gb-footer a:hover {
    color: #fff !important;
    padding-left: 4px;
}

.gb-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
}

.gb-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.gb-footer-bottom p {
    margin: 0;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .gb-navigation {
        gap: 14px;
    }

    .gb-category-grid,
    .gb-product-grid,
    .gb-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .gb-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 800px) {

    .gb-navigation {
        display: none;
    }

    .gb-mobile-btn {
        display: block;
    }

    .gb-topbar-inner {
        justify-content: center;
    }

    .gb-topbar-inner span:last-child {
        display: none;
    }

}

@media (max-width: 600px) {

    .gb-hero {
        min-height: 450px;
    }

    .gb-hero h1 {
        font-size: 40px;
    }

    .gb-hero p {
        font-size: 15px;
    }

    .gb-section {
        padding: 55px 0;
    }

    .gb-section-heading h2 {
        font-size: 28px;
    }

    .gb-category-grid,
    .gb-product-grid,
    .gb-features,
    .gb-footer-grid {
        grid-template-columns: 1fr;
    }

    .gb-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .gb-cta {
        padding: 35px 20px;
    }

}



