:root {
    --gp-primary: #0f9d58;
    --gp-primary-dark: #0b7a44;
    --gp-dark: #0d1b14;
    --gp-accent: #ffb703;
    --gp-light: #f4faf6;
    --gp-gray: #6b7a72;
    --gp-radius: 14px;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    color: #1c2b22;
    background: #fff;
}

a { text-decoration: none; }

.btn-gp {
    background: var(--gp-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: .65rem 1.6rem;
    font-weight: 600;
    transition: .2s;
}
.btn-gp:hover { background: var(--gp-primary-dark); color: #fff; }

.btn-outline-gp {
    border: 2px solid var(--gp-primary);
    color: var(--gp-primary);
    border-radius: 50px;
    padding: .55rem 1.4rem;
    font-weight: 600;
    background: transparent;
}
.btn-outline-gp:hover { background: var(--gp-primary); color: #fff; }

/* Top bar */
.gp-topbar {
    background: var(--gp-dark);
    color: #cfe8d8;
    font-size: .85rem;
}
.gp-topbar a { color: #cfe8d8; }
.gp-topbar a:hover { color: var(--gp-accent); }

/* Navbar */
.gp-navbar {
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
@media (max-width: 991px) {
    .gp-navbar .container { flex-wrap: wrap; }
    #gpNav { flex-basis: 100%; width: 100%; order: 10; }
}
.gp-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gp-primary-dark);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.gp-logo img { height: 56px; width: auto; max-width: 140px; object-fit: contain; }

.gp-product-gallery-box {
    height: 420px;
    background: #f4faf6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}
.gp-nav-link {
    color: #1c2b22;
    font-weight: 600;
    padding: .5rem 1rem !important;
}
.gp-nav-link:hover, .gp-nav-link.active { color: var(--gp-primary); }
.gp-cart-badge {
    background: var(--gp-accent);
    color: #1c2b22;
    border-radius: 50px;
    font-size: .7rem;
    padding: 0 6px;
    position: absolute;
    top: -6px;
    right: -10px;
}
.gp-icon-btn {
    position: relative;
    color: #1c2b22;
    font-size: 1.25rem;
}

/* Hero slider */
.gp-hero { background: var(--gp-dark); }
.gp-slide {
    height: 460px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}
.gp-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,27,20,.85) 0%, rgba(13,27,20,.35) 60%, rgba(13,27,20,.1) 100%);
}
.gp-slide-content { position: relative; z-index: 2; color: #fff; max-width: 560px; }
.gp-slide-content h1 { font-weight: 800; font-size: 2.6rem; }
.gp-slide-content p { font-size: 1.1rem; color: #d8ead f; opacity: .9; }
@media (max-width: 767px) {
    .gp-slide { height: 320px; }
    .gp-slide-content h1 { font-size: 1.6rem; }
}

/* Section titles */
.gp-section-title {
    font-weight: 800;
    color: var(--gp-dark);
    position: relative;
    margin-bottom: 1.75rem;
}
.gp-section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gp-primary);
    border-radius: 4px;
    margin-top: .5rem;
}

/* Category cards */
.gp-cat-card {
    border-radius: var(--gp-radius);
    overflow: hidden;
    position: relative;
    height: 150px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, var(--gp-primary), var(--gp-primary-dark));
    background-size: cover;
    background-position: center;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: transform .2s;
}
.gp-cat-card:hover { transform: translateY(-4px); }
.gp-cat-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 3rem;
    color: rgba(255,255,255,.35);
}
.gp-cat-card .overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
    width: 100%;
    padding: .9rem;
    font-weight: 700;
}

/* Product cards */
.gp-product-card {
    border: 1px solid #eef2ef;
    border-radius: var(--gp-radius);
    overflow: hidden;
    background: #fff;
    transition: .2s;
    height: 100%;
}
.gp-product-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.08); transform: translateY(-3px); }
.gp-product-img {
    height: 190px;
    background: var(--gp-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gp-product-img img { height: 100%; width: 100%; object-fit: contain; }
.gp-product-body { padding: 1rem; }
.gp-product-title {
    font-weight: 700;
    font-size: .98rem;
    color: #1c2b22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.gp-price { color: var(--gp-primary-dark); font-weight: 800; font-size: 1.15rem; }
.gp-price-old { color: #9aa8a0; text-decoration: line-through; font-size: .85rem; margin-left: .4rem; }
.gp-badge-featured {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gp-accent);
    color: #1c2b22;
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 50px;
    z-index: 2;
}

/* Color swatches */
.gp-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    outline: 2px solid #dfe7e2;
    cursor: pointer;
    display: inline-block;
}
.gp-swatch.active { outline: 2px solid var(--gp-primary); }

.gp-whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
    z-index: 1050;
    animation: gp-wa-pulse 2.2s infinite;
}
.gp-whatsapp-float:hover { background: #1ebc59; color: #fff; }
@keyframes gp-wa-pulse {
    0% { box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,0); }
}

.gp-collapse-chevron { transition: transform .2s; }
[aria-expanded="true"] .gp-collapse-chevron { transform: rotate(180deg); }

.gp-map-wrap {
    border: 1px solid rgba(255,255,255,.15);
    filter: grayscale(.15) contrast(1.05);
}
.gp-map-wrap iframe { display: block; }

/* Footer */
.gp-footer {
    background: var(--gp-dark);
    color: #cfe8d8;
}
.gp-footer h5 { color: #fff; font-weight: 700; }
.gp-footer a { color: #b7d1c1; }
.gp-footer a:hover { color: var(--gp-accent); }
.gp-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff !important;
    margin-right: .5rem;
}
.gp-social a:hover { background: var(--gp-primary); }

/* Cart / Checkout */
.gp-cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.gp-summary-box {
    background: var(--gp-light);
    border-radius: var(--gp-radius);
    padding: 1.5rem;
}
.gp-step-badge {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--gp-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: .5rem;
}
.gp-payment-box {
    border: 2px dashed var(--gp-primary);
    background: var(--gp-light);
    border-radius: var(--gp-radius);
    padding: 1.5rem;
}
.gp-order-status {
    display: inline-block;
    padding: .35rem .9rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .85rem;
}
.status-pending_payment { background: #fff3cd; color: #7a5b00; }
.status-payment_submitted { background: #cfe2ff; color: #0a3577; }
.status-confirmed { background: #d1f2df; color: #0b7a44; }
.status-rejected { background: #f8d7da; color: #842029; }
.status-completed { background: #d1f2df; color: #0b7a44; }
.status-cancelled { background: #e2e3e5; color: #41464b; }

/* Star rating */
.gp-stars { color: var(--gp-accent); }

.form-control, .form-select {
    border-radius: 10px;
    padding: .6rem .9rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--gp-primary);
    box-shadow: 0 0 0 .2rem rgba(15,157,88,.15);
}

/* ==================== Mobile ==================== */
@media (max-width: 767px) {
    .gp-topbar { font-size: .72rem; }
    .gp-topbar .container { row-gap: 2px; }

    .gp-navbar { padding-top: .4rem !important; padding-bottom: .4rem !important; }
    .gp-logo { font-size: 1.1rem; gap: .4rem; }
    .gp-logo img { height: 36px; max-width: 90px; }
    .navbar-toggler { padding: .25rem .5rem; }
    .navbar-toggler .bi-list { font-size: 1.75rem !important; }
    .gp-icon-btn { font-size: 1.1rem; }
    #gpNav { border-top: 1px solid #eef2ef; margin-top: .5rem; }
    #gpNav .nav-link { padding: .6rem .25rem !important; border-bottom: 1px solid #f4faf6; }

    .gp-hero, .gp-slide { height: 260px; }
    .gp-slide-content h1 { font-size: 1.3rem; }
    .gp-slide-content p { font-size: .9rem; }

    .gp-section-title { font-size: 1.3rem; margin-bottom: 1rem; }

    .gp-cat-card { height: 110px; }
    .gp-cat-icon { font-size: 2rem; }
    .gp-cat-card .overlay { font-size: .85rem; padding: .6rem; }

    .gp-product-img { height: 140px; }
    .gp-product-body { padding: .65rem; }
    .gp-product-title { font-size: .85rem; min-height: 2.3em; }
    .gp-price { font-size: 1rem; }

    .gp-product-gallery-box { height: 280px; }

    .gp-summary-box, .gp-payment-box { padding: 1rem; }

    .gp-whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; right: 14px; bottom: 14px; }

    .gp-map-wrap iframe { height: 200px; }
}

/* Cart table -> stacked cards below md */
@media (max-width: 767px) {
    .gp-cart-table thead { display: none; }
    .gp-cart-table, .gp-cart-table tbody, .gp-cart-table tr, .gp-cart-table td {
        display: block;
        width: 100%;
    }
    .gp-cart-table tr.gp-cart-item {
        border: 1px solid #eef2ef;
        border-radius: var(--gp-radius);
        margin-bottom: 1rem;
        padding: .75rem;
    }
    .gp-cart-table td {
        border: none !important;
        padding: .35rem .25rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .gp-cart-table td[data-label]:not([data-label=""])::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--gp-gray);
        font-size: .8rem;
        margin-right: .5rem;
    }
    .gp-cart-table td[data-label="Product"] {
        display: block;
    }
    .gp-cart-table td[data-label="Product"]::before { display: none; }
    .gp-cart-table td[data-label="Qty"] input { max-width: 100px; margin-left: auto; }
    .gp-cart-table td[data-label=""] { justify-content: flex-end; }
}
