/* GauGrih Home — edge-to-edge hero banner + category bar */
:root {
    --gg-hero-bg: #f6eee3;
    --gg-hero-ink: #5c2e16;
    --gg-hero-dot: #c4a484;
    --gg-hero-dot-active: #6b3a1f;
    --gg-side: 16px;
    --gg-font: 'Outfit', system-ui, sans-serif;
}

header.gg-header .container,
.gg-hero > .container {
    padding-left: var(--gg-side) !important;
    padding-right: var(--gg-side) !important;
}

@media (min-width: 576px) {
    :root { --gg-side: 20px; }
}

@media (min-width: 992px) {
    :root { --gg-side: 24px; }
}

@media (min-width: 1200px) {
    :root { --gg-side: 28px; }
}

/* Kill any gap between header and banner */
header.gg-header,
header.gg-header .navbar-sticky,
header.gg-header .gg-navbars {
    margin-bottom: 0 !important;
}

.__inline-61 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.gg-hero {
    position: relative;
    background: #fff;
    padding: 0 0 12px;
    margin: 0;
    overflow: visible;
    font-family: var(--gg-font);
    width: 100%;
    max-width: 100%;
}

/* Full-bleed — no left/right/top space */
.gg-hero-banner {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--gg-hero-bg);
    z-index: 1;
}

.gg-hero-slider.owl-carousel {
    width: 100%;
    margin: 0 !important;
}

.gg-hero-slider.owl-carousel .owl-stage-outer {
    overflow: hidden;
    margin: 0;
}

.gg-hero-slide {
    display: block !important;
    width: 100%;
    text-decoration: none !important;
    line-height: 0;
    background: var(--gg-hero-bg);
    margin: 0;
    padding: 0;
}

.gg-hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: top;
}

/* Dots over banner */
.gg-hero .gg-hero-slider .owl-nav {
    display: none !important;
}

/* Dots sit above the overlapping category bar */
.gg-hero .gg-hero-slider .owl-dots {
    position: absolute;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%);
    margin: 0 !important;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.gg-hero .gg-hero-slider .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    background: var(--gg-hero-dot) !important;
    opacity: 1 !important;
    border-radius: 50%;
}

.gg-hero .gg-hero-slider .owl-dot.active span,
.gg-hero .gg-hero-slider .owl-dot:hover span {
    background: var(--gg-hero-dot-active) !important;
}

/* Category bar — half over banner, half below (reference overlap) */
.gg-hero > .container {
    position: relative;
    z-index: 5;
}

.gg-cat-bar-wrap {
    position: relative;
    z-index: 5;
    /* ~half of category card height so bar sits on the banner seam */
    margin-top: -56px;
    margin-bottom: 4px;
    padding-top: 0;
    padding-bottom: 0;
}

.gg-cat-bar {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 10px 12px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 12px 10px;
    box-shadow: 0 10px 32px rgba(80, 40, 10, 0.12);
    width: 100%;
    box-sizing: border-box;
}

.gg-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: var(--gg-hero-ink) !important;
    text-align: center;
    min-width: 0;
    padding: 4px 2px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.gg-cat-item:hover {
    transform: translateY(-3px);
    color: #b45309 !important;
}

.gg-cat-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid #ece3d6;
    background: #faf7f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    color: #b07a45;
}

.gg-cat-ico img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.gg-cat-svg {
    display: inline-flex;
    width: 30px;
    height: 30px;
    color: #b07a45;
}

.gg-cat-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.gg-cat-ico--more {
    color: #b07a45;
    font-size: 18px;
}

.gg-cat-item:hover .gg-cat-ico {
    border-color: #d6c2a8;
    box-shadow: 0 6px 16px rgba(107, 58, 31, 0.1);
    color: #9a5b2a;
}

.gg-cat-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

@media (max-width: 1199.98px) {
    .gg-hero .gg-hero-slider .owl-dots {
        bottom: 72px;
    }

    .gg-cat-bar-wrap {
        margin-top: -40px;
        margin-bottom: 2px;
    }

    .gg-cat-bar {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 10px 8px 8px;
        border-radius: 14px;
        margin-bottom: 0;
    }

    .gg-cat-item {
        flex: 0 0 96px;
        width: 96px;
    }
}

@media (max-width: 767.98px) {
    .gg-hero .gg-hero-slider .owl-dots {
        bottom: 58px;
    }

    .gg-cat-bar-wrap {
        margin-top: -18px;
        margin-bottom: 8px;
        padding-top: 0;
    }

    .gg-cat-bar {
        padding: 8px 4px 8px;
        gap: 6px;
        margin-bottom: 0;
        border-radius: 12px;
    }

    .gg-cat-item {
        flex: 0 0 84px;
        width: 84px;
        gap: 8px;
    }

    .gg-cat-ico {
        width: 54px;
        height: 54px;
    }

    .gg-cat-ico img,
    .gg-cat-svg {
        width: 28px;
        height: 28px;
    }

    .gg-cat-name {
        font-size: 11px;
    }
}

@media (max-width: 479.98px) {
    .gg-cat-item {
        flex: 0 0 78px;
        width: 78px;
    }
}
