@charset "UTF-8";

/* @import url(css/icons/style.css); */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&display=swap");
@import url(https://fonts.googleapis.com/css?family=Inter:300,400,400i,700);

:root {
    --brand-color: #00994a;
    --bottom-nav-height: 72px;
    --fab-size: 60px;
    --bs-font-sans-serif: "Inter", -apple-system, blinkmacsystemfont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --bs-font-monospace: "SFMono-Regular", menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;
}

/* Prevent mobile bottom-nav from overlapping content */
@media (max-width: 767.98px) {
    body {
        padding-bottom: var(--bottom-nav-height);
    }
}

.spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.form-control:focus {
    box-shadow: none !important;
    border-color: #dee2e6 !important;
    outline: none !important;
}

/* Bars */
.contact-bar {
    font-size: 1rem;
}

.contact-bar .inner {
    min-height: 52px;
}

.contact-bar .bi-whatsapp {
    font-size: 1.25rem;
}

.main-header {
    height: 60px;
    background-color: var(--brand-color) !important;
}

/* Categories */
.category-item {
    width: 100%;
    text-align: left;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    padding: .6rem .75rem;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

.category-item:active {
    transform: scale(.98);
}

.categories-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Grid/list layout for categories */
.categories-row {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
    padding-inline: .25rem;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-row::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
}

.categories-row>li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}



.category-item {
    width: 100%;
    text-align: left;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    padding: .6rem .75rem;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: background .15s ease, box-shadow .15s ease, transform .1s ease;
}

.category-item i {
    font-size: 1.05rem;
    opacity: .9;
}

.category-item:hover {
    background: rgba(0, 0, 0, .04);
}

.category-item:active {
    transform: translateY(1px);
}

.category-item.active {
    background: rgba(1, 54, 24, .12);
    border-color: rgba(1, 54, 24, .4);
    box-shadow: 0 0 0 2px rgba(1, 54, 24, .15) inset;
}

/* Products */
.product-card {
    transition: box-shadow .2s ease, transform .12s ease;
}

.product-card:hover {
    box-shadow: 0 .75rem 1.25rem rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

/* Hover effects */
.card {
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
    transform: scale(1.05);
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background-color: #00994a;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}
img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Mobile bottom nav + active state (brand-styled) */
.mobile-bottom-nav {
    background: var(--brand-color);
    color: #FFF;
    border-top: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 -8px 20px rgba(0, 0, 0, .06);
    backdrop-filter: blur(6px);
}

.mobile-bottom-nav .nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
}

.mobile-bottom-nav .nav-link {
    flex: 1;
    text-align: center;
    margin: 5px 7px 0px 7px;
    color: inherit;
    border-radius: 0.75rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;

}

.mobile-bottom-nav .nav-link .bi {
    display: block;
    font-size: 1.25rem;
    transition: transform .18s ease, color .18s ease;
}

.mobile-bottom-nav .nav-link span {
    display: block;
    font-size: .71rem;
    transition: color .18s ease;
}

.mobile-bottom-nav .nav-link.active {
    background: #74f7b3;
    color: #000 !important;
    box-shadow: 0 10px 26px rgba(1, 54, 24, .35), 0 0 0 1px rgba(255, 255, 255, .25) inset;
    transform: translateY(-6px);
}

.mobile-bottom-nav .nav-link.active .bi {
    color: #000 !important;
    transform: scale(1.15);
}

.mobile-bottom-nav .nav-link.active #lblCartTotalFloating {
    color: #FFF !important;
}
.mobile-bottom-nav .nav-link.active #lblTotalCustomerOrders {
    color: #FFF !important;
}

.mobile-bottom-nav .nav-link.active span {
    color: #000 !important;
    font-weight: bold;
}

.mobile-bottom-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: rgba(1, 54, 24, .9);
    box-shadow: 0 2px 8px rgba(1, 54, 24, .45);
}

.mobile-bottom-nav .nav-link:not(.active):hover {
    background: rgba(0, 0, 0, .04);
}

.mobile-bottom-nav .nav-link:focus-visible {
    outline: 3px solid rgba(1, 54, 24, .5);
    outline-offset: 2px;
}


[data-bs-theme="dark"] .mobile-bottom-nav {
    border-top-color: rgba(255, 255, 255, .08);
    box-shadow: 0 -8px 20px rgba(0, 0, 0, .35);
}

[data-bs-theme="dark"] .mobile-bottom-nav .nav-link:not(.active):hover {
    background: rgba(255, 255, 255, .06);
}

[data-bs-theme="dark"] .mobile-bottom-nav .nav-link.active {
    box-shadow: 0 10px 26px rgba(1, 54, 24, .45), 0 0 0 1px rgba(255, 255, 255, .18) inset;
}

[data-bs-theme="dark"] .mobile-bottom-nav .nav-link.active::after {
    background: rgba(1, 54, 24, .85);
}

/* Modal cart design */
.cart-item-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: .5rem;
}

.cart-remove {
    opacity: .85;
}

.cart-remove:hover {
    opacity: 1;
}

/* Floating Cart Button (FAB) */
.cart-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1085;
    width: var(--fab-size);
    height: var(--fab-size);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand-color);
    box-shadow: 0 10px 26px rgba(1, 54, 24, .35);
}

.cart-fab .badge {
    position: absolute;
    top: -6px;
    right: -6px;
}

@media (max-width: 767.98px) {
    .cart-fab {
        bottom: calc(var(--bottom-nav-height) + 1rem);
    }
}

/* Footer styling */
.site-footer {
    background: #00994a;
    color: #cfe0d6;
}

.site-footer a {
    color: #e6f3ec;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer .footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: .75rem;
}

.site-footer .bi {
    opacity: .9;
}

.site-footer .subbar {
    background: rgba(255, 255, 255, .05);
    color: #b9cdc3;
}

.cart-fab .badge {
    position: absolute;
    top: -6px;
    right: -6px;
}

@media (max-width: 767.98px) {
    .cart-fab {
        bottom: calc(var(--bottom-nav-height) + 1rem);
    }
}

/* Max width wrapper for wide screens while keeping hero full-bleed */
.max-w {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1200px) {
    .max-w {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Mobile: hide footer */
@media (max-width: 767.98px) {
    .site-footer {
        display: none !important;
    }
}

/* Force categories to vertical list (single column) on all screens */
.categories-grid {
    grid-template-columns: 1fr !important;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 992px) {
    .categories-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile: hide footer remains */
@media (max-width: 767.98px) {
    .site-footer {
        display: none !important;
    }
}

/* Sticky sidebar for categories on desktop */
:root {
    --sticky-top: 118px;
}

@media (min-width: 768px) {
    .sticky-categories {
        position: sticky;
        top: var(--sticky-top);
    }
}

/* Wrapper for fade masks (for future overlay variants) */
.categories-wrap {
    position: relative;
}

/* Horizontal category chevrons */
.nav-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    border: 1px solid var(--bs-border-color);
    z-index: 2;
    opacity: .95;
}

.nav-chevron.prev {
    left: 6px;
}

.nav-chevron.next {
    right: 6px;
}

.nav-chevron:hover {
    opacity: 1;
}

.nav-chevron.disabled {
    opacity: .35;
    pointer-events: none;
}

/* Hover-only chevrons on desktop */
@media (hover: hover) and (pointer: fine) {
    .categories-wrap .nav-chevron {
        opacity: 0;
        transition: opacity .18s ease;
    }

    .categories-wrap:hover .nav-chevron {
        opacity: .95;
    }
}

/* Focus style for keyboard users */
#catRow:focus {
    outline: 3px solid rgba(1, 54, 24, .45);
    outline-offset: 2px;
}

/* Tracking Timeline */
.tracking-steps {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.tracking-step {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1rem;
}

.tracking-step:last-child {
    padding-bottom: 0;
}

.tracking-step::before {
    content: "";
    position: absolute;
    left: .7rem;
    top: .2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ced4da;
    border: 2px solid #adb5bd;
}

.tracking-step::after {
    content: "";
    position: absolute;
    left: .95rem;
    top: 1.1rem;
    width: 2px;
    height: calc(100% - 1.1rem);
    background: #e9ecef;
}

.tracking-step:last-child::after {
    display: none;
}

.tracking-step.active::before {
    background: var(--brand-color);
    border-color: var(--brand-color);
}

.tracking-step.done::before {
    background: #198754;
    border-color: #198754;
}

.tracking-step .title {
    font-weight: 600;
}

.tracking-step .time {
    font-size: .85rem;
    color: var(--bs-secondary-color, #6c757d);
}


/* Our tracking steps */

.timeline {
    position: relative;
    margin-left: 25px;
    padding-left: 30px;
}

.timeline-step {
    position: relative;
    padding-bottom: 40px;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 25px;
    height: 100%;
    width: 10px;
    border-left: 8px dotted #00A86B;
}

.timeline-step:last-child::before {
    content: none;
}

.timeline-icon {
    position: absolute;
    left: -55px;
    top: 0;
    background-color: #00A86B;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    z-index: 1;
}