/* =============================
    BRAND COLORS
============================= */
:root {
    --primary-green: #0f3d2e;
    --dark-green: #0b2f24;
    --search-bg: #fafaf7;
    --search-border: #ddd8cf;
    --white: #ffffff;
    --badge-red: #c62828;
    --accent: #f57c00;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
}


/* BREADCRUMBS */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777;
    margin: 14px 0 6px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs i {
    font-size: 12px;
    color: #aaa;
}


/* =============================
    CONTAINER
============================= */

.custom-container {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding-inline: 16px;
}

.header-top {
    background: var(--primary-green);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1100;
    will-change: transform;
}

.header-top .custom-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-block: 12px;
}

.logo {
    flex: 0 0 auto;
}

.logo a {
    display: inline-flex;
}

.logo img {
    height: 20px;
    width: auto;
    display: block;
}

.actions {
    display: flex;
    gap: 18px;
    margin-left: auto;
}

.actions a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 1px;
    position: relative;
}

.actions i {
    font-size: 18px;
}

/* CART BADGE */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--badge-red);
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-wrap {
    flex: 1 1 auto;
}

.search-form {
    position: relative;
    display: flex;
    height: 40px;
    background: var(--search-bg);
    border: 1px solid var(--search-border);
    border-radius: 6px;
    overflow: hidden;
    min-width: 280px;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 0 14px;
    font-size: 14px;
    background: transparent;
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    width: 48px;
    border: none;
    background: #d4a63a;
    color: #333;
}

.search-icon {
    display: none;
}

/* ===== ACCOUNT DROPDOWN ===== */
.account-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.account-menu {
    position: absolute;
    right: 0;
    top: 100%;
    width: 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    z-index: 1200;
}

.account-dropdown.open .account-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px;
    padding: 12px;
    background: #f68b1e;
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    line-height: 1.2;
    min-height: 40px;
}

/* QUICK ICONS */
.account-quick {
    display: flex;
    justify-content: space-around;
    padding: 12px 0 8px;
    border-bottom: 5px solid #eee;
}

.account-quick a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #222;
    text-decoration: none;
}

.account-quick i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 20px;
}

.account-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.account-list li {
    padding: 0;
    border-bottom: 1px solid #eee;
}

.account-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.account-list li:last-child {
    border-bottom: none;
}

.account-list li i {
    font-size: 16px;
}

.account-list li a:hover {
    background: #f7f7f7;
}

/* =================
    MOBILE ONLY
================= */
@media (max-width: 768px) {
    .account-menu {
        position: fixed;
        top: 60px;
        left: 50%;
        right: auto;
        width: 320px;
        max-width: calc(100vw - 16px);
        transform: translateX(-50%) translateY(10px);
        max-height: 75vh;
        overflow-y: auto;
        padding: 4px 0;
        border-radius: 10px;
        background: #fff;
        overflow: visible;
    }

    .account-dropdown.open .account-menu {
        transform: translateX(-50%) translateY(0);
    }

    .account-btn {
        margin: 12px;
        padding: 10px;
        font-size: 14px;
    }

    .account-quick {
        padding: 10px 6px 8px;
    }

    .account-quick i {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 4px;
    }

    .account-quick span {
        font-size: 12px;
    }

    .account-list {
        padding: 6px 0;
    }

    .account-list li a {
        padding: 10px 14px;
        font-size: 14px;
        gap: 10px;
    }

    .account-list li a i {
        font-size: 15px;
    }
}

/* =============================
    BOTTOM HEADER
============================= */
.header-bottom {
    background: var(--dark-green);
}

.header-bottom .custom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 20px;
}

.nav-left a,
.nav-right a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

/* IE / Edge / Firefox */
.header-bottom .custom-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.header-bottom .custom-container::-webkit-scrollbar {
    display: none;
}

.actions a:hover,
.nav-left a:hover,
.nav-right a:hover {
    opacity: 0.9;
}

.search-form button:hover {
    background: #b89440;
}

/* =============================
    MOBILE BEHAVIOR
============================= */
@media (max-width: 991px) {
    .header-top .custom-container {
        flex-wrap: wrap;
        padding: 10px 6px;
        gap: 2px;
    }

    .logo {
        order: 1;
        text-align: center;
    }

    .actions {
        order: 2;
        margin-left: auto;
        padding-right: 4px;
    }

    .search-wrap {
        order: 3;
        flex: 1 1 100%;
        margin-top: 2px;
    }

    .search-form {
        height: 38px;
        border-radius: 50px;
        background: var(--primary-green);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .search-form input {
        padding-left: 44px;
        color: var(--white);
    }

    .search-form input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .search-form button {
        display: none;
    }

    .search-icon {
        display: block;
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 255, 255, 0.7);
        pointer-events: none;
    }

    .header-bottom .custom-container {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 24px;
    }

    .actions a .cart-badge {
        top: -6px;
        right: -6px;
    }
}

@media (min-width: 992px) {
    .logo img {
        height: 35px;
    }

    .search-wrap {
        margin: 0 24px;
    }
}

@media (max-width: 991px) {
    .search-form input {
        background: rgba(255, 255, 255, 0.1);
        border-radius: inherit;
    }
}

/* =============================
    HAMBURGER MENU
============================= */

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    margin-right: 8px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    visibility: hidden;
    transition:
        background 0.3s ease,
        visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    background: rgba(0, 0, 0, 0.5);
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-drawer.active {
    left: 0;
}

.menu-header {
    background: var(--primary-green);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
}

.menu-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-logo img {
    height: 28px;
    max-height: none !important;
    width: auto !important;
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
}

.menu-content {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    position: relative;
}

.menu-content::after {
    content: "";
    position: sticky;
    bottom: 0;
    display: block;
    height: 45px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.95));
    pointer-events: none;
}

.menu-content::-webkit-scrollbar {
    width: 4px;
}

.menu-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.menu-content::-webkit-scrollbar-track {
    background: transparent;
}

/* Firefox */
.menu-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

.menu-section {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.menu-section-title {
    padding: 16px 20px;
    font-weight: bold;
    color: #333;
    background: #f8f8f8;
    margin: 0;
    font-size: 15px;
    border-top: 1px solid #eee;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
}

.menu-item:hover {
    background: #f9f9f9;
}

.menu-item-icon {
    margin-right: 12px;
    color: #666;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.menu-item-text {
    flex: 1;
    font-size: 14px;
}

.menu-item-arrow {
    color: #999;
    font-size: 12px;
}

.need-help-section {
    background: #f8f8f8;
    padding: 16px 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.need-help-title {
    color: #333;
    font-size: 15px;
    font-weight: bold;
    margin: 0;
}

.menu-title .menu-item-text,
.drawer-section-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #222;
}

.menu-title:first-of-type {
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 14px;
    margin-bottom: 6px;
}

.drawer-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f8f8f8;
}

.drawer-section-link {
    font-size: 12px;
    color: #f68b1e;
    text-decoration: none;
}

/* Hamburger Query */
@media (max-width: 991px) {
    .hamburger-btn {
        display: block;
        order: 0;
    }
}

@media (min-width: 992px) {

    .mobile-menu-drawer,
    .mobile-menu-overlay {
        display: none !important;
    }

    .hamburger-btn {
        display: none !important;
    }
}

/* ===== BANNER 1 ===== */
.trust-banner.static {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff1e3;
    padding: 8px 10px;
    border-radius: 10px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.trust-item .top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-item strong {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.trust-item small {
    font-size: 11px;
    color: #555;
    line-height: 1.2;
}

.icon {
    font-size: 16px;
    flex-shrink: 0;
}

.icon.green {
    color: #2e7d32;
}

.divider {
    width: 1px;
    height: 28px;
    background: #ddd;
    flex-shrink: 0;
}

.trust-slide {
    will-change: transform, opacity;
}

.slide-in {
    animation: slideIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.slide-out {
    animation: slideOut 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

/* ===== BANNER 2 ===== */
.trust-banner.action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e9f5ec;
    color: #0f5132;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.trust-banner.action .left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.rotate-text {
    display: inline-block;
}

.static-arrow {
    font-size: 16px;
    flex-shrink: 0;
}

@media (max-width: 360px) {

    .trust-item strong,
    .trust-item small {
        font-size: 12px;
    }
}

/* TRUST BANNERS: MOBILE ONLY */
@media (min-width: 768px) {
    .trust-mobile-only {
        display: none;
    }
}

/* =============================
    HERO SLIDERS SECTION
============================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 14px;
    background: #f5f5f5;
    touch-action: pan-y;
}

.slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
    pointer-events: auto;
}

.slide.prev {
    transform: translateX(-30px);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =============================
   HERO SLIDER ARROWS
============================= */

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slider-arrow i {
    font-size: 22px;
    line-height: 1;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Positioning */
.hero-prev-arrow {
    left: 12px;
}

.hero-next-arrow {
    right: 12px;
}


@media (max-width: 768px) {
    .slider-arrow {
        width: 34px;
        height: 34px;
    }

    .slider-arrow i {
        font-size: 18px;
    }

    .slider-arrow {
        display: none;
    }
}

/* =============================
    SKELETON LOADING STYLES
============================= */
.skeleton-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    overflow: hidden;
    z-index: 2;
}

.skeleton-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 1.5s infinite;
    transform: translateX(-100%);
}

.skeleton-pulse {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: pulse 1.5s infinite;
}

.skeleton-wave {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f0f0f0 8%, #f8f8f8 18%, #f0f0f0 33%);
    background-size: 800px 100%;
    animation: wave 2s infinite linear;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes wave {
    0% {
        background-position: -800px 0;
    }

    100% {
        background-position: 800px 0;
    }
}

/* Skeleton image placeholder */
.skeleton-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #f5f5f5 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: pulse 1.5s infinite;
}

/* Fade out skeleton when image loads */
.slide img.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.slide .skeleton-container {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.slide img.loaded~.skeleton-container {
    opacity: 0;
    pointer-events: none;
}

.skeleton-container {
    pointer-events: none;
}

/* SLIDERS QUERY */
@media (max-width: 576px) {
    .hero-slider {
        height: 150px;
        border-radius: 10px;
    }
}


/* =============================
   PRODUCT SECTION
============================= */

.product-section {
    background: #fff;
    margin-top: 16px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    background: #e9f5ec;
    padding: 8px 10px;
    border-radius: 10px;
}

.section-text h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #0f5132;
}

.see-all {
    font-size: 13px;
    font-weight: 600;
    color: #0f5132;
    text-decoration: none;
    white-space: nowrap;
}

.product-scroll {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.product-scroll::-webkit-scrollbar {
    display: none;
}


.product-card {
    flex: 0 0 calc((100% - 12px) / 2.3);
    scroll-snap-align: start;
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
}

@media (min-width: 768px) {
    .product-card {
        flex: 0 0 calc((100% - (12px * 2)) / 3.3);
    }
}


@media (min-width: 992px) {
    .product-card {
        flex: 0 0 calc((100% - (12px * 5)) / 6);
    }
}


.product-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--gray);
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.product-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ffe9d6;
    color: #e67e22;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 600;
}


.product-title {
    font-size: 13px;
    margin: 6px 0 2px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

/* =============================
   PRICE
============================= */

.product-price {
    display: inline-flex;
    align-items: flex-start;
    font-weight: 400;
    margin: 2px 0;
}

.price-currency,
.price-cents {
    font-size: 12px;
    line-height: 1;
    margin-bottom: 1px;
}

.price-amount {
    font-size: 20px;
    line-height: 1;
}


.product-stock-text {
    font-size: 12px;
    margin: 6px 0 4px;
    color: #555;
}

.product-stock-bar {
    height: 6px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.product-stock-bar span {
    display: block;
    height: 100%;
    background: #f68b1e;
    border-radius: 10px;
}


/* =============================
   PRODUCT ARROWS
============================= */

.product-wrapper {
    position: relative;
}

.product-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba(49, 49, 51, .5);
    color: #fff;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease;
}

.product-arrow i {
    font-size: 22px;
}

.product-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.product-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.product-prev {
    left: 0;
}

.product-next {
    right: 0;
}

@media (min-width: 992px) {
    .product-arrow {
        display: flex;
    }
}


@media (max-width: 360px) {

    .section-text h3,
    .see-all {
        font-size: 12px;
    }
}



/* =========================
     SHOP BY CATEGORY CSS
    ========================= */

.shop-by-category {
    margin: 20px 0;
}

.category-grid {
    display: grid;
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.category-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    scroll-snap-align: start;
    text-align: center;
    text-decoration: none;
    color: #111;
    min-width: 0;
}

.category-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    background: #f2f2f2;
}

.category-card span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

/* SHOP BY CATEGORY MEDIA QUERY */
@media (min-width: 992px) {
    .category-grid {
        grid-auto-columns: calc((100% - (6 * 12px)) / 7);
    }
}

@media (max-width: 991px) {
    .category-grid {
        grid-auto-columns: calc((100% - (4 * 12px)) / 5.5);
    }

    .category-card span {
        font-size: 10px;
    }
}




/* =============================
    CART PAGE SECTION
============================= */

.page-section {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    padding-inline: 16px;
}

.section-card {
    background: #fff;
    border-radius: 12px;
    padding: 0 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .03),
        0 8px 18px rgba(0, 0, 0, .05);
    border: 1px solid #f6f6f6;
}

.cart-count {
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid #f1f1f1;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: #f1f1f1;
    margin: 16px 0;
    border-top: 1px dashed #d8d8d8;
}

.cart-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f1f1f1;
}

.item-left {
    flex: 0 0 auto;
}

.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    background: #f2f2f2;
}

.item-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-title {
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}



.item-right a {
    text-decoration: none;
    color: #000;
    display: block;
}

.cart-variant {
    font-size: 13px;
    color: #777;
}

.item-actions {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    font-size: 13px;
}

.item-actions span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    cursor: pointer;
}

.item-actions span:hover {
    color: #000;
}

.item-actions span:first-child:hover {
    color: #0b5e42;
}

.item-actions i {
    font-size: 16px;
    opacity: .8;
}

.bottom-row {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.qty-box {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.qty-box button {
    background: #fff;
    border: none;
    width: 32px;
    height: 32px;
}

.qty-box span {
    width: 34px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.prices {
    margin-left: auto;
    display: flex;
    gap: 20px;
    align-items: center;
}

.unit-price {
    font-size: 13px;
    color: #666;
}

.item-total {
    font-weight: 500;
    font-size: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}


.summary-row.total {
    font-weight: 500;
    font-size: 17px;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
}


@media (max-width:768px) {
    .page-section {
        padding: 0;
    }

    .section-card {
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 8px;
        padding: 16px;
    }
}

@media (max-width:576px) {

    .bottom-row {
        margin-left: -95px;
    }

    .cart-item img {
        width: 80px;
        height: 80px;
    }

    .cart-title {
        font-size: 14px;
    }

    .item-total {
        font-size: 15px;
    }

    .cart-count {
        font-size: 14px;
    }
}



/* ================================
   CATEGORY PAGE
================================ */

.cat-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
}

.cat-sidebar {
    display: none;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    height: fit-content;
}

.cat-sidebar-title {
    font-size: 16px;
    margin-bottom: 14px;
}

.cat-filter-block {
    margin-bottom: 20px;
}

.cat-filter-heading {
    display: block;
    margin-bottom: 8px;
    border-top: 2px solid #eee;
    color: #222;
    font-size: 14px;
    width: 100%;
}

.cat-filter-option {
    display: flex;
    gap: 8px;
    padding: 5px 0;
    font-size: 14px;
    cursor: pointer;
}

.cat-filter-options {
    max-height: 170px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cat-filter-options::-webkit-scrollbar {
    display: none;
}

.cat-toolbar {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cat-toolbar span {
    font-size: 14px;
}

.cat-sort-select {
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}

.cat-sort-select:focus {
    border-color: #ccc;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.cat-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 18px;
}

.cat-title {
    font-size: 14px;
    color: #111;
}


/* SUBCATEGORY PILLS */
.subcategory-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    contain: inline-size;
}

.subcategory-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 6px 2px 12px;
    margin: 6px 0 14px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.subcategory-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 4px 6px;
    border-radius: 999px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.cat-pill img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.cat-pill:hover {
    background: #f7f7f7;
}

.cat-pill.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.cat-pill.active img {
    filter: brightness(0) invert(1);
}


/* Product Grid */

.cat-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.cat-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
}

.cat-card-media {
    position: relative;
    aspect-ratio: 1/1;
    background: #f3f3f3;
}

.cat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
}

.cat-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-card-body a {
    text-decoration: none;
    color: inherit;
}

.cat-card-title {
    font-size: 14px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.cat-product-price {
    display: inline-flex;
    align-items: flex-start;
    font-weight: 400;
    margin: 2px 0;
}

.cat-price-currency,
.cat-price-cents {
    font-size: 12px;
    line-height: 1;
    margin-bottom: 1px;
}

.cat-price-amount {
    font-size: 20px;
    line-height: 1;
}

.cat-old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
}

.cat-rating {
    font-size: 13px;
    color: #fbc02d;
    margin: 6px 0;
}

.cat-add-btn {
    margin-top: auto;
    height: 38px;
    border-radius: 6px;
    border: none;
    background: #f57c00;
    color: #fff;
    font-weight: 600;
}


/* View Toggle */
.cat-view-toggle {
    display: flex;
    gap: 6px;
}

.cat-view-toggle button {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #555;
    transition: all .2s ease;
}

.cat-view-toggle button:hover {
    background: #f3f3f3;
}

.cat-view-toggle button.is-active {
    background: #0F3D2E;
    color: #fff;
    border-color: #0F3D2E;
}

/* LIST VIEW */

.cat-products.list-view {
    grid-template-columns: 1fr;
    gap: 12px;
}

.cat-products.list-view .cat-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 8px;
    border-radius: 8px;
    height: auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cat-products.list-view .cat-card-media {
    width: 120px;
    min-width: 120px;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.cat-products.list-view .cat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-products.list-view .cat-card-media {
    height: auto;
}

.cat-products.list-view .cat-card-body {
    padding: 0 12px;
}

.cat-products.list-view .cat-card-title {
    font-size: 13px;
    margin: 0 0 4px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.cat-products.list-view .cat-product-price {
    margin: 4px 0;
}

.cat-products.list-view .cat-rating {
    margin: 4px 0;
    font-size: 12px;
}

.cat-products.list-view .cat-add-btn {
    display: none;
}

.cat-products {
    transition: opacity .18s ease;
}

.cat-products.view-switching {
    opacity: .6;
}


/* Pagination */
.cat-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0 70px;
}

.cat-pagination a {
    min-width: 28px;
    height: 28px;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #222;
}

.cat-pagination .is-active {
    background: #f57c00;
    color: #fff;
    border-color: #f57c00;
}

.pagination a:hover {
    background: #f5f5f5;
}


/* MOBILE SORT / FILTER BAR */
.sort-filter {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 26px;
    z-index: 1000;
}

.sort-filter button {
    background: none;
    border: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 14px;
}

.sort-filter .divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, .3);
    margin: 0 14px;
}

.sort-filter button:active {
    opacity: .7;
}

/* =========================
  SORT FILTER MODAL
========================= */

.sf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 1250;
}

.sf-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 85dvh;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .15);
    transform: translateY(100%);
    transition: transform .35s ease;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-sheet.active {
    transform: translateY(0);
}

.modal-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header strong {
    font-size: 15px;
    font-weight: 600;
}

.modal-header i {
    font-size: 20px;
    cursor: pointer;
    color: #555;
}

.modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px 16px;
    min-height: 0;
    max-height: calc(85dvh - 130px);
}

.sort-list {
    display: flex;
    flex-direction: column;
}

.sort-option,
.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

.sort-option:hover,
.filter-item:hover {
    background: #f6f6f6;
}

.sort-option input,
.filter-item input {
    accent-color: var(--accent);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group .filter-title {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.modal-footer {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid #eee;
    background: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.modal-footer.dual button {
    flex: 1;
}

.modal-footer:not(.dual) button {
    width: 100%;
}

.primary-btn {
    flex: 1;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.primary-btn:hover {
    opacity: 0.9;
}

.outline-btn {
    flex: 1;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
}

.outline-btn:hover {
    background: #f5f5f5;
}



/* ============================
   Query
============================ */

@media (min-width: 1024px) {

    .cat-layout {
        grid-template-columns: 240px 1fr;
    }

    .cat-sidebar {
        display: block;
        position: sticky;
        top: 90px;
    }

    .cat-products {
        grid-template-columns: repeat(4, 1fr);
    }

    .cat-toolbar {
        display: flex;
    }
}

@media (min-width: 768px) {
    .sort-filter {
        display: none;
    }
}



/* ================= SIGNUP ================= */

.signup .topbar,
.signin .topbar {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.signup .topbar img,
.signin .topbar img {
    height: 30px;
}

.signup .signin-link a, .signin .feedback-link {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    text-decoration: underline;
}

.signup .wrapper, .signin .wrapper {
    min-height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    padding-top: 35px;
}

.signup .box, .signin .box {
    width: 100%;
    max-width: 420px;
}

.signup .title {
    text-align: center;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 20px;
}

.signup .input {
    width: 100%;
    height: 48px;
    border: 1px solid #c7c7c7;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 15px;
}

.signup .input:focus {
    outline: none;
    border-color: #000;
}

.signup .terms {
    font-size: 13px;
    color: #555;
    margin: 14px 0 18px;
}

.signup .terms a {
    color: #0654ba;
    text-decoration: none;
}

.signup .btn {
    width: 100%;
    height: 48px;
    border-radius: 24px;
    border: none;
    background: #c7c7c7;
    color: #fff;
    font-weight: 600;
    cursor: not-allowed;
}

.signup .continue-text {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
}

.signup .social-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.signup .social-btn {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.signup .social-btn img {
    width: 18px;
}

.signup .social-btn i {
    font-size: 18px;
}

.signup .signup-signin-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #777;
    font-size: 14px;
}

.signup .signup-signin-divider::before,
.signup .signup-signin-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.signup .signup-signin-divider span {
    padding: 0 10px;
}

@media (max-width: 576px) {
    .signup .content {
        display: flex;
        flex-direction: column;
    }

    .signup .continue-text {
        order: 1;
        font-size: 14px;
    }

    .signup .social-buttons {
        order: 2;
        gap: 8px;
    }

    .signup .signup-signin-divider {
        order: 3;
        margin: 12px 0 16px;
    }

    .signup .form {
        order: 4;
    }

    .signup .social-btn {
        height: 40px;
        font-size: 13px;
    }

    .signup .social-btn img {
        width: 16px;
    }

    .signup .social-btn i {
        font-size: 16px;
    }

    .signup .signup-signin-divider::before,
    .signup .signup-signin-divider::after {
        height: 0.5px;
    }
}


.password-wrap {
    position: relative;
}

.password-wrap .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 18px;
}

.password-wrap .toggle-password:hover {
    color: #000;
}


/* ================= SIGNIN ================= */


.signin h1 {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 18px;
}

.signin .subtitle-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 22px;
}

.signin .subtitle-bar span {
    color: #555;
}

.signin .create-btn {
    padding: 6px 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
}

.signin .input {
    width: 100%;
    height: 48px;
    border: 1px solid #c7c7c7;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 15px;
}


.signin .input:focus {
    outline: none;
    border-color: #000;
}

.signin .btn-primary {
    width: 100%;
    height: 48px;
    border-radius: 24px;
    background: #0654ba;
    border: none;
    font-weight: 600;
    margin-top: 6px;
}

.signin .signin-divider {
    display: flex;
    align-items: center;
    margin: 26px 0 18px;
    font-size: 14px;
    color: #777;
}

.signin .signin-divider::before,
.signin .signin-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.signin .signin-divider span {
    padding: 0 10px;
    white-space: nowrap;
}

.signin .social-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.signin .social-btn {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.signin .social-btn img {
    width: 16px;
}

.signin .stay {
    font-size: 13px;
    color: #555;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
}

.signin .stay-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.signin .stay input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #000;
    cursor: pointer;
}

.signin .bi-info-circle {
    cursor: pointer;
    color: #777;
}

.signin-popover {
    max-width: 260px;
}

.signin-popover .popover-body {
    padding: 0;
}

.popover-body-wrap {
    position: relative;
    background: #1f1f1f;
    color: #fff;
    border-radius: 14px;
    padding: 14px 44px 16px 16px;
    font-size: 13px;
    line-height: 1.5;
}


.popover-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 576px) {
    .signin-popover {
        width: 100%;
        max-width: 100%;
        margin: 0 12px;
    }

    .popover-body-wrap {
        font-size: 14px;
    }

    .signin-popover .popover-arrow {
        display: none;
    }
}




















/* =========================
   FOOTER SECTION CSS
   ========================= */
.ebofy-newsletter {
    background: #e6f4fb;
    padding: 18px 0;
}

.newsletter-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text {
    font-size: 15px;
    color: #222;
    margin-bottom: 16px;
}

.newsletter-text span {
    display: block;
    font-size: 13px;
    color: #555;
    margin-top: 4px;
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 4px;
    max-width: 520px;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    border-radius: 999px;
}

.newsletter-form button {
    border: none;
    background: #111;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: #000;
}

.ebofy-footer {
    background: #f8f8f8;
    color: #222;
    font-size: 14px;
}

.ebofy-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-logo {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-desc {
    color: #555;
    max-width: 280px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: 8px;
    background: #eaeaea;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    text-decoration: none;
}

.footer-accordion ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
}

.footer-accordion ul li a:hover {
    color: #000;
}

.footer-accordion ul li a i {
    font-size: 16px;
    opacity: 0.6;
}

.footer-bottom {
    background: #eee;
    padding: 14px 0;
    font-size: 13px;
}

/* =========================
   FOOTER ACCORDION QUERY
   ========================= */
@media (max-width: 991px) {
    .footer-links {
        border-top: 1px solid #e5e5e5;
        padding-top: 16px;
    }

    .footer-links .col-6 {
        width: 100%;
    }

    .footer-accordion {
        border-bottom: 1px solid #e5e5e5;
    }

    .footer-accordion h6 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 0;
        margin: 0;
        cursor: pointer;
        font-size: 16px;
    }

    .footer-accordion h6 i {
        font-size: 20px;
        transition: transform 0.35s ease;
    }

    .footer-accordion ul {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition:
            max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease;
    }

    .footer-accordion.open ul {
        max-height: 500px;
        opacity: 1;
        padding-bottom: 12px;
    }

    .footer-accordion.open h6 {
        border-bottom: 1px solid #e5e5e5;
    }

    .footer-accordion.open h6 i {
        transform: rotate(180deg);
    }
}

@media (max-width: 576px) {
    .footer-links {
        margin-top: 24px;
    }
}

@media (min-width: 992px) {

    .footer-accordion h6 i,
    .footer-links a i.bx-chevron-right {
        display: none;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        max-width: 90%;
    }
}

/* =============================
    MOBILE BOTTOM NAV
============================= */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #e6e6e6;
    display: none;
    z-index: 1200;
}

.bottom-nav ul {
    margin: 0;
    padding: 6px 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav a {
    text-decoration: none;
    color: #555;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.bottom-nav i {
    font-size: 22px;
}

.bottom-nav a.active {
    color: var(--primary-green);
}

.app-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 28, 36, 0.65);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.app-sheet-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.app-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    max-height: 75vh;
    background: white;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08);
}

.app-sheet.show {
    transform: translateY(0);
}

.app-sheet-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    background: white;
    border-radius: 24px 24px 0 0;
}

.app-sheet-header::before {
    content: "";
    width: 36px;
    height: 4px;
    background: #d4dce2;
    border-radius: 20px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.app-sheet-header i {
    font-size: 20px;
    line-height: 1;
}

.app-sheet-header strong {
    font-size: 14px;
    font-weight: 620;
    color: #121e2c;
    letter-spacing: -0.01em;
    margin: 0;
    padding: 0;
}

.app-sheet-close {
    position: absolute;
    right: 16px;
    top: 14px;
    background: #f2f2f2;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a4e62;
    transition: 0.2s;
    cursor: pointer;
    padding: 0;
}

.app-sheet-close:hover {
    background: #dce5ec;
}

.app-sheet-body {
    padding: 10px 2px 30px;
    overflow-y: auto;
    flex: unset;
    background: #ffffff;
    color: #2a3c4a;
    line-height: 1.5;
    touch-action: auto;
}

@media (prefers-reduced-motion) {

    .app-sheet,
    .app-sheet-overlay {
        transition: none;
    }
}

/* =============================
    BUTTOM NAV QUERY
============================= */
@media (max-width: 991px) {
    .bottom-nav {
        display: block;
    }

    body {
        padding-bottom: 65px;
    }
}

.bottom-category {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 4px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 10px;
    color: #222;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cat-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-link i {
    font-size: 16px;
}