* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Disable horizontal scroll on both body and html */
html {
    overflow-x: hidden;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1400px;
    background: linear-gradient(90deg, #388e3c 0%, #4caf50 100%);
    background-size: 200% 200%;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    z-index: 1000;
    border-radius: 1.2rem;
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.13),
        0 6px 10px -2px rgba(76, 175, 80, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.13) inset;
    border: 2px solid #b6e2c2;
    animation: 
        navbarFloat 1s cubic-bezier(0.23, 1, 0.32, 1) forwards,
        navbarGradientMove 12s ease-in-out infinite alternate,
        navbarPulse 3.5s cubic-bezier(.4,0,.2,1) infinite alternate;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes navbarFloat {
    0% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes navbarGradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes navbarPulse {
    0% { box-shadow: 0 4px 24px -1px #4caf5022, 0 0 0 0 #b6e2c2; }
    60% { box-shadow: 0 8px 32px 0 #b6e2c2, 0 0 16px 4px #4caf5044; }
    100% { box-shadow: 0 4px 24px -1px #4caf5022, 0 0 0 0 #b6e2c2; }
}

.header:hover, .header:focus-within {
    background: linear-gradient(90deg, #4caf50 0%, #388e3c 100%);
    background-size: 200% 200%;
    box-shadow: 
        0 8px 32px -2px rgba(0, 0, 0, 0.18),
        0 8px 16px -4px rgba(76, 175, 80, 0.13),
        0 0 0 1px rgba(255, 255, 255, 0.18) inset;
    border-color: #4caf50;
    transform: translate(-50%, -2px);
    animation-play-state: paused;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Edu NSW ACT Cursive', cursive;
    font-size: 2.3rem;
    font-weight: 700;
    color: #2d5016;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.08);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: relative;
}

.nav-menu a,
.nav-menu .dropdown > a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
    box-shadow: 0 1px 4px #4caf5011;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-18px);
    animation: navLinkIn 0.7s cubic-bezier(.4,0,.2,1) forwards;
}

.nav-menu a:nth-child(1) { animation-delay: 0.12s; }
.nav-menu .dropdown:nth-child(2) { animation-delay: 0.22s; }
.nav-menu .dropdown:nth-child(3) { animation-delay: 0.32s; }
.nav-menu a:nth-child(4) { animation-delay: 0.42s; }
.nav-menu a:nth-child(5) { animation-delay: 0.52s; }
.nav-menu a:nth-child(6) { animation-delay: 0.62s; }

@keyframes navLinkIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu a::after,
.nav-menu .dropdown > a::after {
    content: "";
    display: block;
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0.3em;
    height: 3px;
    background: linear-gradient(90deg, #b6e2c2 0%, #4caf50 100%);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 2;
}

.nav-menu a:hover::after,
.nav-menu .dropdown > a:hover::after,
.nav-menu a:focus::after,
.nav-menu .dropdown > a:focus::after {
    opacity: 1;
    transform: scaleX(1);
    left: 0;
    right: 0;
}

.nav-menu a:hover,
.nav-menu .dropdown > a:hover,
.nav-menu a:focus,
.nav-menu .dropdown > a:focus {
    color: #fff;
    background: linear-gradient(90deg, #4caf50 0%, #388e3c 100%);
    border: 1px solid #b6e2c2;
    box-shadow: 0 2px 12px #4caf5022;
    outline: none;
}

/* Remaining styles unchanged */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
    display:block;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box input {
    padding: 0.6rem 1.2rem;
    border: 2px solid rgba(30, 255, 38, 0.369);
    border-radius: 1rem;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 500px;
    font-size: 0.95rem;
}

.search-box input:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #00ff08;
    box-shadow: 
        0 4px 16px rgba(76, 175, 80, 0.15),
        0 0 0 4px rgba(76, 175, 80, 0.1);
  
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #4CAF50;
    cursor: pointer;
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    color: #4CAF50;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-icon:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(76, 175, 80, 0.2),
        0 0 0 1px rgba(76, 175, 80, 0.1) inset;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #FF5722;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
}

/* Account Button */
.account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.08);
    margin-left: 0.3rem;
    color: #2d5016;
    transition: background 0.2s;
}

.account-btn:hover, .account-btn:focus {
    background: rgba(76, 175, 80, 0.18);
    color: #4CAF50;
}

@media (max-width: 768px) {
    .nav-actions .account-btn {
        display: flex !important;
    }
}

/* Add scroll effect */
@media (min-width: 769px) {
    .header.scrolled {
        top: 0.5rem;
        width: calc(100% - 1rem);
        border-radius: 0.8rem;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header {
        width: 100%;
        top: 0;
        border-radius: 0 0 1rem 1rem;
        transform: translateX(-50%);
    }
}

/* Hide top navbar on mobile */
@media (max-width: 768px) {
    .header {
        display: none !important;
    }
}

/* --- Desktop Navbar Scroll Animation: nav links hide, logo/search/nav-actions move down, but less offset, and container height decreases --- */
@media (min-width: 769px) {
    .header.navbar-official {
        transition: background 0.35s, box-shadow 0.35s, min-height 0.35s;
        min-height: 110px;
    }
    .header.navbar-official .nav-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transition: padding 0.35s, min-height 0.35s;
        min-height: 110px;
    }
    .header.navbar-official .navbar-row-top {
        display: flex;
        align-items: center;
        gap: 2.5rem;
        margin-bottom: 0.5rem;
        min-height: 64px;
        border-bottom: 1.5px solid rgba(255,255,255,0.13);
        padding-bottom: 0.2rem;
        background: transparent;
        transition: min-height 0.35s, padding 0.35s, justify-content 0.35s;
        z-index: 2;
        position: relative;
        justify-content: flex-start;
    }
    .header.navbar-official .navbar-row-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 54px;
        gap: 2rem;
        background: transparent;
        transition: min-height 0.35s, opacity 0.35s, transform 0.45s cubic-bezier(.4,0,.2,1);
        z-index: 1;
        position: relative;
    }
    .header.navbar-official .nav-menu {
        transition: opacity 0.35s, transform 0.45s cubic-bezier(.4,0,.2,1);
    }
    .header.navbar-official .search-box {
        transition: max-width 0.35s, margin 0.35s, width 0.45s cubic-bezier(.4,0,.2,1), transform 0.45s cubic-bezier(.4,0,.2,1);
        z-index: 3;
        position: relative;
    }
    .header.navbar-official .search-box input {
        transition: width 0.45s cubic-bezier(.4,0,.2,1), background 0.2s, border 0.2s, font-size 0.35s;
    }
    .header.navbar-official .logo {
        transition: transform 0.45s cubic-bezier(.4,0,.2,1), margin 0.35s;
    }
    .header.navbar-official .nav-actions {
        transition: transform 0.45s cubic-bezier(.4,0,.2,1), margin 0.35s;
    }

    /* --- Scroll Animation State --- */
    .header.navbar-official.scrolled-nav {
        min-height: 56px;
        border-radius: 3.2rem;
        margin-top: 5px;
        width: 99%;
       margin-left: 8px;
        transition: background 0.45s cubic-bezier(.4,0,.2,1), box-shadow 0.45s cubic-bezier(.4,0,.2,1), min-height 0.45s cubic-bezier(.4,0,.2,1), border-radius 0.45s cubic-bezier(.4,0,.2,1);
    }
    .header.navbar-official.scrolled-nav .nav-container {
        padding: 0.1rem 2vw 0.1rem 2vw;
        min-height: 56px;
    }
    .header.navbar-official.scrolled-nav .navbar-row-top {
        min-height: 0;
        padding-bottom: 0;
        border-bottom: none;
        justify-content: flex-start;
    }
    .header.navbar-official.scrolled-nav .logo {
        width: 44px;
        height: 44px;
        padding: 0.1rem;
        box-shadow: 0 1px 4px #b6e2c244;
        margin-right: 1.5rem;
        /* Move logo further down to center in navbar */
        transform: translateY(32px);
    }
    .header.navbar-official.scrolled-nav .logo img {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        min-height: 36px;
    }
    .header.navbar-official.scrolled-nav .search-box {
       
        margin-left: 0;
        justify-content: flex-start;
        /* Move search bar further down to center in navbar */
        transform: translateY(32px);
    }
    .header.navbar-official.scrolled-nav .search-box input {
        width: 680px;
        background: #fff !important;
        color: #23401a !important;
        border-color: #4caf50 !important;
        font-size: 1.25rem;
        box-shadow: 0 4px 24px #b6e2c288;
    }
    .header.navbar-official.scrolled-nav .search-btn {
        color: #4caf50 !important;
        font-size: 1.5rem;
        right: -180px; /* adjusted to shift icon to the right */
    }
    .header.navbar-official.scrolled-nav .nav-actions {
        opacity: 1;
        pointer-events: auto;
        /* Move nav-actions down to center in navbar */
        transform: translateY(-22px);
    }
    .header.navbar-official.scrolled-nav .navbar-row-bottom {
        min-height: 0;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }
    .header.navbar-official.scrolled-nav .nav-menu {
        opacity: 0;
        transform: translateY(-40px);
        pointer-events: none;
    }
}

/* --- Mega Dropdown with Submenus --- */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown > a {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3em;
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(44, 167, 67, 0.12);
    border-radius: 1em;
    padding: 0.7em 0;
    z-index: 2000;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
    display: block;
}

.dropdown-menu .dropdown-item {
    position: relative;
}

.dropdown-menu > .dropdown-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7em 1.5em 0.7em 1.2em;
    color: #388e3c;
    text-decoration: none;
    font-size: 1em;
    border-radius: 0.4em;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.dropdown-menu > .dropdown-item > a:hover {
    background: #e8f5e9;
    color: #256029;
}

.dropdown-menu .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 190px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(44, 167, 67, 0.10);
    border-radius: 1em;
    padding: 0.5em 0;
    z-index: 2100;
}

.dropdown-menu .dropdown-item:hover > .submenu,
.dropdown-menu .dropdown-item:focus-within > .submenu {
    display: block;
}

.submenu a {
    display: block;
    padding: 0.6em 1.2em;
    color: #388e3c;
    text-decoration: none;
    font-size: 0.97em;
    border-radius: 0.4em;
    transition: background 0.2s, color 0.2s;
}

.submenu a:hover {
    background: #e8f5e9;
    color: #256029;
}

.dropdown-arrow {
    margin-left: 0.5em;
    font-size: 0.9em;
}

@media (max-width: 900px) {
    .dropdown-menu,
    .submenu {
        min-width: 60vw;
        left: 0;
        box-shadow: 0 4px 16px rgba(44, 167, 67, 0.10);
    }

    .dropdown-menu .submenu {
        left: 100%;
        top: 0;
    }
}

/* Improved Mobile Navigation Bar */
.mobile-nav {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: calc(100vw - 32px);
    max-width: 480px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-radius: 2.2rem;
    box-shadow: 0 8px 32px 0 rgba(44,167,67,0.13), 0 2px 8px 0 rgba(0,0,0,0.10);
    border: 1.5px solid rgba(255,255,255,0.45);
    z-index: 20000;
    padding: 0.7rem 0.5rem 0.5rem 0.5rem;
    animation: mobileBarSlideUp 0.7s cubic-bezier(.4,0,.2,1);
    transition: background 0.3s, box-shadow 0.3s;
}
@keyframes mobileBarSlideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(60px);}
    to { opacity: 1; transform: translateX(-50%) translateY(0);}
}
.mobile-nav-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #2d5016;
    font-size: 0.85rem;
    font-weight: 500;
    background: none;
    border: none;
    outline: none;
    border-radius: 1.2rem;
    padding: 0.2rem 0.7rem 0.1rem 0.7rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.18s;
    position: relative;
    box-shadow: 0 0 0 0 transparent;
    user-select: none;
}
.mobile-nav-item i {
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
    transition: color 0.2s, transform 0.18s;
    filter: drop-shadow(0 1px 2px #4caf5022);
}
.mobile-nav-item.active,
.mobile-nav-item:active,
.mobile-nav-item:focus {
    color: #4CAF50;
    background: rgba(76,175,80,0.08);
    box-shadow: 0 2px 12px #4caf5012;
    transform: translateY(-4px) scale(1.07);
}
.mobile-nav-item.active i,
.mobile-nav-item:active i,
.mobile-nav-item:focus i {
    color: #4CAF50;
    transform: scale(1.18);
    filter: drop-shadow(0 2px 6px #4caf5033);
}
.mobile-nav-item:hover {
    background: rgba(76,175,80,0.13);
    color: #388e3c;
    transform: translateY(-2px) scale(1.04);
}
.mobile-nav-item:active {
    background: rgba(76,175,80,0.18);
}
/* Etched border effect */
.mobile-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2.2rem;
    border: 2.5px solid rgba(255,255,255,0.22);
    box-shadow: 0 1.5px 8px 0 rgba(44,167,67,0.08) inset;
    pointer-events: none;
    z-index: 1;
}
/* Responsive: show only on mobile */
@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }
}
@media (max-width: 480px) {
    .mobile-nav {
        left: 50%;
        width: calc(100vw - 10px);
        max-width: 99vw;
        padding: 0.5rem 0.1rem 0.3rem 0.1rem;
    }
}
/* Prevent overlap with keyboard on mobile */
@media (max-width: 768px) {
    body {
        padding-bottom: 110px !important;
    }
}

/* Mobile Search Bar */
.mobile-search-bar {
    display: none;
    width: 100%;
    padding: 0.5rem 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-search-bar form {
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.mobile-search-bar input[type="text"] {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.mobile-search-bar button {
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-search-bar {
        display: block;
    }
    .nav-actions .search-box {
        display: none !important;
    }
    .mobile-top-search {
        display: flex !important;
    }
}

.mobile-top-search {
    display: none;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 0.7rem 0.5rem 0.7rem 0.5rem;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 56px; /* below header */
    z-index: 999;
    margin-top:0px;
}

.mobile-top-search .search-box {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-top-search .search-box input {
    width: 100%;
}

/* Mobile Categories Popup */
.mobile-categories-popup-bg {
    display: none;
    position: fixed;
    z-index: 20000;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.18);
    justify-content: center;
    align-items: flex-end;
}
.mobile-categories-popup-bg.active {
    display: flex;
}
.mobile-categories-popup {
    background: #fff;
    width: 100vw;
    max-width: 480px;
    border-radius: 1.2em 1.2em 0 0;
    box-shadow: 0 -4px 32px #0002;
    padding: 2em 1.2em 1.2em 1.2em;
    position: relative;
    animation: popupSlideUp 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes popupSlideUp {
    from { transform: translateY(100%);}
    to { transform: translateY(0);}
}
.mobile-categories-popup-close {
    position: absolute;
    top: 1em;
    right: 1.2em;
    background: none;
    border: none;
    font-size: 2em;
    color: #388e3c;
    cursor: pointer;
}
.mobile-categories-list {
    margin-top: 1.5em;
}
.mobile-cat-main {
    font-weight: bold;
    color: #2d5016;
    font-size: 1.15em;
    margin-bottom: 0.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.7em 0.3em;
    border-radius: 0.5em;
    transition: background 0.2s;
}
.mobile-cat-main:hover {
    background: #e8f5e9;
}
.mobile-cat-sublist {
    display: none;
    margin: 0.2em 0 0.8em 1.2em;
    padding-left: 0.5em;
}
.mobile-cat-main.active + .mobile-cat-sublist {
    display: block;
}
.mobile-cat-sublist a {
    display: block;
    color: #388e3c;
    text-decoration: none;
    font-size: 1em;
    padding: 0.5em 0.2em;
    border-radius: 0.4em;
    transition: background 0.2s, color 0.2s;
}
.mobile-cat-sublist a:hover {
    background: #e8f5e9;
    color: #256029;
}
@media (min-width: 769px) {
    .mobile-categories-popup-bg {
        display: none !important;
    }
}

/* Nav Popup Styles */
.nav-popup-bg {
    display: none;
    position: fixed;
    z-index: 30000;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44,167,67,0.13);
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}
.nav-popup-bg.active {
    display: flex;
}
.nav-popup-container {
    display: none;
    position: absolute;
    z-index: 30010;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 40px 0 #4caf5022, 0 1.5px 8px 0 #b6e2c2;
    padding: 2.2rem 2.5rem 2rem 2.5rem;
    min-width: 320px;
    max-width: 96vw;
    min-height: 120px;
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-18px) scale(0.97);
    transition: opacity 0.18s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.nav-popup-container.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.nav-popup-arrow {
    position: absolute;
    width: 24px;
    height: 12px;
    left: 50%;
    top: -12px;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}
.nav-popup-arrow::after {
    content: "";
    display: block;
    width: 24px;
    height: 12px;
    background: transparent;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #fff;
    position: absolute;
    top: 0;
    left: 0;
    filter: drop-shadow(0 2px 4px #4caf5022);
}
.nav-popup-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #388e3c;
    margin-bottom: 1.2rem;
    font-family: 'Edu NSW ACT Cursive', cursive;
    letter-spacing: 0.5px;
}
.nav-popup-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #388e3c;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
}
.nav-popup-close:hover {
    color: #4caf50;
}
.nav-popup-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
}
.popup-section {
    min-width: 180px;
    margin-bottom: 1.2rem;
}
.popup-section strong {
    display: block;
    font-size: 1.1rem;
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.popup-section div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.popup-section a {
    color: #388e3c;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.3em 0.7em;
    border-radius: 0.5em;
    transition: background 0.18s, color 0.18s;
}
.popup-section a:hover {
    background: #e8f5e9;
    color: #256029;
}

/* Popup Categories Sidebar & Multi-level */
.popup-cat-flex {
    display: flex;
    gap: 1.5rem;
    min-width: 420px;
}
.popup-cat-sidebar {
    min-width: 140px;
    border-right: 1.5px solid #e8f5e9;
    padding-right: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.popup-cat-parent {
    padding: 0.6em 0.7em;
    border-radius: 0.7em;
    font-weight: bold;
    color: #2d5016;
    background: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.popup-cat-parent.active,
.popup-cat-parent:hover {
    background: #e8f5e9;
    color: #388e3c;
}
.popup-cat-mainarea {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 180px;
    border-right: 1.5px solid #e8f5e9;
    padding-right: 1.2rem;
}
.popup-cat-sub {
    padding: 0.5em 0.7em;
    border-radius: 0.5em;
    color: #388e3c;
    font-weight: 500;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.16s, color 0.16s;
    position: relative;
}
.popup-cat-sub.active,
.popup-cat-sub:hover {
    background: #f2fdf6;
    color: #256029;
}
.popup-cat-arrow {
    font-size: 1.1em;
    color: #b6e2c2;
    margin-left: 0.5em;
}
.popup-cat-subsubarea {
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    padding-left: 1.2em;
    animation: fadeInSubList 0.18s;
}
@keyframes fadeInSubList {
    from { opacity: 0; transform: translateY(10px);}
    to { opacity: 1; transform: translateY(0);}
}
.popup-cat-subsub {
    color: #388e3c;
    text-decoration: none;
    font-size: 0.97em;
    padding: 0.3em 0.7em;
    border-radius: 0.4em;
    transition: background 0.16s, color 0.16s;
    cursor: pointer;
}
.popup-cat-subsub:hover {
    background: #e8f5e9;
    color: #256029;
}

/* Responsive for popup */
@media (max-width: 600px) {
    .nav-popup-container {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        min-width: 0;
        max-width: 99vw;
    }
    .nav-popup-content {
        flex-direction: column;
        gap: 1.2rem;
    }
    .popup-section {
        min-width: 0;
    }
}

/* Ad Banners */
.ad-banners {
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    margin: 2.5rem auto;
    position: relative;
}
.ad-banner-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.ad-banner {
    min-width: 100vw;
    aspect-ratio: 16/5;
    max-height: 320px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    z-index: 1;
    animation: adBannerEntrance 1.1s cubic-bezier(.4,0,.2,1);
}
.ad-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1.2em;
    pointer-events: none;
    z-index: 2;
    border: 3px solid transparent;
    background: linear-gradient(120deg, #4caf50, #fff, #388e3c, #fff, #4caf50) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: adBannerBorderStroke 3.5s linear infinite;
}
@keyframes adBannerBorderStroke {
    0% {
        border-color: #4caf50;
        filter: drop-shadow(0 0 0 #4caf50);
    }
    25% {
        border-color: #388e3c;
        filter: drop-shadow(0 0 8px #388e3c44);
    }
    50% {
        border-color: #fff;
        filter: drop-shadow(0 0 12px #fff8);
    }
    75% {
        border-color: #b6e2c2;
        filter: drop-shadow(0 0 8px #b6e2c2);
    }
    100% {
        border-color: #4caf50;
        filter: drop-shadow(0 0 0 #4caf50);
    }
}
@keyframes adBannerEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.97) rotateX(8deg);
        filter: blur(6px);
    }
    60% {
        opacity: 1;
        transform: translateY(-10px) scale(1.01) rotateX(0deg);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0);
    }
}
.ad-banner img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16/5;
    animation: adBannerImgFloat 7s ease-in-out infinite alternate, adBannerImgFadeIn 1.2s cubic-bezier(.4,0,.2,1);
    will-change: transform, opacity;
}
@keyframes adBannerImgFloat {
    0% { transform: scale(1) translateY(0);}
    50% { transform: scale(1.04) translateY(-8px);}
    100% { transform: scale(1) translateY(0);}
}
@keyframes adBannerImgFadeIn {
    from { opacity: 0; filter: blur(8px);}
    to { opacity: 1; filter: blur(0);}
}
.ad-banner-content {
    position: absolute;
    left: 5vw;
    bottom: 7vw;
    background: rgba(44, 167, 67, 0.85);
    color: #fff;
    padding: 1.2rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(44,167,67,0.12);
    max-width: 400px;
    animation: adBannerContentFloat 4s ease-in-out infinite alternate, adBannerContentFadeIn 1.2s cubic-bezier(.4,0,.2,1);
    will-change: transform, opacity;
}
@keyframes adBannerContentFloat {
    0% { transform: translateY(0) scale(1);}
    50% { transform: translateY(-10px) scale(1.03);}
    100% { transform: translateY(0) scale(1);}
}
@keyframes adBannerContentFadeIn {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}
.ad-banner-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    animation: adBannerTitleIn 1.1s cubic-bezier(.4,0,.2,1);
}
@keyframes adBannerTitleIn {
    from { opacity: 0; transform: translateX(-30px);}
    to { opacity: 1; transform: translateX(0);}
}
.ad-banner-desc {
    font-size: 1.05rem;
    animation: adBannerDescIn 1.3s cubic-bezier(.4,0,.2,1) 0.2s both;
}
@keyframes adBannerDescIn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
.ad-banner-offer {
    margin-top: 0.7rem;
    display: inline-block;
    background: #fff;
    color: #388e3c;
    font-weight: bold;
    border-radius: 8px;
    padding: 0.2rem 0.9rem;
    font-size: 1rem;
    animation: adBannerOfferPulse 2.2s cubic-bezier(.4,0,.2,1) infinite alternate;
}
@keyframes adBannerOfferPulse {
    0% { box-shadow: 0 0 0 0 #4caf5022; transform: scale(1);}
    60% { box-shadow: 0 0 12px 4px #4caf5022; transform: scale(1.08);}
    100% { box-shadow: 0 0 0 0 #4caf5022; transform: scale(1);}
}
.ad-banner-nav {
    position: absolute;
    width: 100vw;
    top: 50%;
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    animation: adBannerNavIn 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes adBannerNavIn {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}
.ad-banner-arrow {
    pointer-events: all;
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    color: #388e3c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 1vw;
    transition: background 0.2s;
}
.ad-banner-arrow:hover {
    background: #4caf50;
    color: #fff;
}
.ad-banners .ad-banner-slider .ad-banner:first-child {
    margin-top: 40px;
}
@media (max-width: 900px) {
    .ad-banner-content {
        padding: 0.7rem 1rem;
        left: 3vw;
        bottom: 4vw;
        max-width: 60vw;
    }
    .ad-banner-title {
        font-size: 1.1rem;
    }
    .ad-banner-desc {
        font-size: 0.9rem;
    }
    .ad-banner-offer {
        font-size: 0.85rem;
    }
}
@media (max-width: 700px) {
    .ad-banner, .ad-banner img {
        aspect-ratio: 16/7;
        max-height: 140px;
    }
    .ad-banner-content {
        padding: 0.5rem 0.7rem;
        left: 2vw;
        bottom: 2vw;
        max-width: 70vw;
    }
    .ad-banner-title {
        font-size: 0.95rem;
    }
    .ad-banner-desc {
        font-size: 0.78rem;
    }
    .ad-banner-offer {
        font-size: 0.7rem;
    }
}

/* Hide second banner on desktop */
@media (min-width: 769px) {
    #adBannerSlider2,
    #adBannerSlider2 ~ .ad-banner-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    #adBannerSlider .ad-banner:first-child {
        margin-top: 70px;
    }
}

/* Section Banner between categories and products - full width, dynamic */
.section-banner {
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    min-height: 0;
}
.section-banner img {
    width: 100%;
    max-width: 1600px;
    height: auto;
    max-height: 60vh;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px #4caf5022;
    display: block;
    background: #fff;
    transition: max-height 0.3s, width 0.3s;
    margin: 0 auto;
}

/* Responsive: on small screens, reduce max-height */
@media (max-width: 900px) {
    .section-banner img {
        max-width: 99vw;
        max-height: 220px;
    }
}

/* Double Banner Row Below Products */
.double-banner-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 0;
    max-width: 1600px;
    width: 100%;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
}
.double-banner {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.double-banner img {
    width: 100%;
    max-width: 750px;
    height: 390px;
    object-fit: cover;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px #4caf5022;
    background: #fff;
    display: block;
    margin: 0 auto;
}

/* Stack banners vertically on mobile */
@media (max-width: 900px) {
    .double-banner-row {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
        padding: 0 0.2rem;
        margin-top: 1.5rem;
        max-width: 99vw;
    }
    .double-banner img {
        width: 98vw;
        max-width: 99vw;
        height: 160px;
    }
}

/* Categories Box Row */
.categories-row.categories-box-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2rem;
    padding: 1.5rem 2vw 2rem 2vw;
    justify-items: center;
    align-items: stretch;
    overflow-x: visible;
    scrollbar-width: none;
}
.categories-row.categories-box-row::-webkit-scrollbar {
    display: none;
}

/* --- Mobile: 5 category cards per row, no scroll, dynamic text size --- */
@media (max-width: 700px) {
    .categories-row.categories-box-row {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.7rem !important;
        padding: 1rem 0.2rem 1.2rem 0.2rem !important;
        overflow-x: visible !important;
        justify-items: stretch !important;
        align-items: stretch !important;
    }
    .categories-row.categories-box-row::-webkit-scrollbar {
        display: none !important;
    }
    .category-box {
        max-width: 99vw !important;
        min-width: 0 !important;
    }
    .category-box-img {
        height: 54px !important;
        border-radius: 0.7rem 0.7rem 0 0 !important;
    }
    .category-box-name {
        font-size: 10px !important;
        padding: 0.6rem 0.2rem 0.7rem 0.2rem !important;
        line-height: 1.1 !important;
    }
}

/* Category Box Card Styles */
.category-box {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 2px 12px #4caf5012;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 160px;
    min-width: 0;
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.18s;
    overflow: hidden;
}
.category-box:hover {
    box-shadow: 0 6px 24px #4caf5022;
    transform: translateY(-4px) scale(1.04);
}
.category-box-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 1.1rem 1.1rem 0 0;
    background: #f8f9fa;
    display: block;
}
.category-box-name {
    font-size: clamp(0.82rem, 1.2vw, 1.1rem);
    color: #2d5016;
    font-weight: 600;
    text-align: center;
    padding: 0.9rem 0.5rem 1rem 0.5rem;
    background: none;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive: 5 columns on mobile, no scroll */
@media (max-width: 700px) {
    .categories-box-row {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.7rem;
        padding: 1rem 0.2rem 1.2rem 0.2rem;
    }
    .category-box {
        max-width: 99vw;
        min-width: 0;
    }
    .category-box-img {
        height: 54px;
        border-radius: 0.7rem 0.7rem 0 0;
    }
    .category-box-name {
        font-size: clamp(0.7rem, 2vw, 0.95rem);
        padding: 0.6rem 0.2rem 0.7rem 0.2rem;
    }
}

/* Remove old disk row styles */
.categories-row {
    /* Remove flex, gap, and scroll styles for disk row */
    display: block;
    gap: 0;
    overflow-x: visible;
    padding: 0;
    scroll-behavior: auto;
    scrollbar-width: none;
    align-items: unset;
}
.categories-row::-webkit-scrollbar {
    display: none;
}

/* Remove .category-disk and related styles */
.category-disk,
.category-disk-img,
.category-disk-name {
    display: none !important;
}

/* Featured Products */
.featured-products {
    padding: 2rem 2rem 6rem 2rem;
    background: white;
}

/* Updated Products Grid Container */
.products-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0rem; /* Added side padding */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* See More Products Button - now styled as a text link */
#seeMoreProductsBtn {
    background: none !important;
    color: #388e3c !important;
    font-weight: 600;
    font-size: 1.08em;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    text-decoration: underline;
    letter-spacing: 0.03em;
    transition: color 0.18s, text-decoration 0.18s;
    outline: none;
    min-width: 0;
    min-height: 0;
    display: inline;
}
#seeMoreProductsBtn:hover,
#seeMoreProductsBtn:focus {
    color: #256029 !important;
    text-decoration: underline wavy #4CAF50;
    background: none !important;
}

/* Hide old pagination bar if present */
#productsPagination {
    display: none !important;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    max-width: 340px; /* Added: prevent card from being too wide */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Product Card Hover Effect (desktop only) */
@media (hover: hover) and (pointer: fine) {
    .product-card {
        transition:
            transform 0.32s cubic-bezier(.22,1.2,.36,1),
            box-shadow 0.32s cubic-bezier(.22,1.2,.36,1),
            background 0.32s cubic-bezier(.22,1.2,.36,1);
        will-change: transform, box-shadow, background;
    }
    .product-card:hover {
        transform: translateY(-16px) scale(1.04);
        box-shadow:
            0 12px 32px 0 rgba(44,167,67,0.13),
            0 2px 16px 0 rgba(76,175,80,0.08),
            0 0 16px 0 #b6e2c244;
        background: linear-gradient(120deg, #f8fff8 0%, #e8f5e9 100%);
        z-index: 2;
    }
    .product-card:hover .product-title {
        color: #4CAF50;
        text-shadow: 0 2px 8px #b6e2c2cc, 0 1px 2px #fff;
        letter-spacing: 0.5px;
        transition: color 0.2s, letter-spacing 0.2s, text-shadow 0.2s;
    }
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF5722;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    color: #2d5016;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.product-price {
    font-size: 1.1rem;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Double Banner Row Below Products */
.double-banner-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1rem; /* Reduced from 2.5rem */
    margin-bottom: 0;
    max-width: 1600px;
    width: 100%;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
}
.double-banner {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.double-banner img {
    width: 100%;
    max-width: 750px;
    height: 390px;
    object-fit: cover;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px #4caf5022;
    background: #fff;
    display: block;
    margin: 0 auto;
}

/* Stack banners vertically on mobile */
@media (max-width: 900px) {
    .double-banner-row {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
        padding: 0 0.2rem;
        margin-top: 1.5rem; /* Add a little margin for mobile */
        max-width: 99vw;
    }
    .double-banner img {
        width: 98vw;
        max-width: 99vw;
        height: 160px;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu, .nav-actions {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .categories, .featured-products {
        padding: 1rem 1rem 0 1rem;
    }

    body {
        padding-bottom: 80px;
    }

    /* Increase top margin of first banner in mobile view */
    #adBannerSlider .ad-banner:first-child {
        margin-top: 70px;
    }

    .product-image {
        height: 180px; /* Reduced image height from 250px */
    }
    .product-title {
        font-size: 1rem; /* Decreased from 1.2rem */
    }
    .product-price {
        font-size: 0.9rem; /* Decreased from 1.1rem */
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .categories-grid, .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove .fade-in animation globally */
.fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* Preloader styles */
#preloader {
    position: fixed;
    z-index: 99999;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s cubic-bezier(.4,0,.2,1), visibility 0.4s;
}
#preloader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#preloader .preloader-logo {
    width: 300px;
    height: 300px;
    max-width: 90vw;
    max-height: 90vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: none;
    box-shadow: none;
    animation: preloader-pop 1.2s cubic-bezier(.4,0,.2,1) infinite alternate;
}

/* Category Slider Section (generic, replaces writing-instruments-slider-section) */
.catgary-slider-section {
    margin: 2.5rem 0 0 0;
    padding: 0 0 2.5rem 0;
    background: #f8fff8;
}
.catgary-slider-section .section-header {
    padding-left: 2vw;
    margin-bottom: 1.2rem;
}
.catgary-slider-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2vw;
}
.catgary-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.catgary-slider::-webkit-scrollbar {
    display: none;
}
.catgary-product-card {
    flex: 0 0 200px;
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 2px 12px #4caf5012;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 1rem 1.2rem 1rem;
    min-width: 180px;
    max-width: 220px;
    transition: box-shadow 0.18s, transform 0.18s;
    cursor: pointer;
}
.catgary-product-card:hover {
    box-shadow: 0 6px 24px #4caf5022;
    transform: translateY(-4px) scale(1.04);
}
.catgary-product-card img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    border-radius: 0.7rem;
    background: #f8f9fa;
    margin-bottom: 0.7rem;
}
.catgary-product-title {
    font-size: 1.05rem;
    color: #2d5016;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.4rem;
}
.catgary-product-price {
    font-size: 1rem;
    color: #4CAF50;
    font-weight: bold;
    text-align: center;
}
.catgary-slider-arrow {
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    color: #388e3c;
    box-shadow: 0 2px 8px #4caf5012;
    cursor: pointer;
    margin: 0 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.18s;
    z-index: 2;
}
.catgary-slider-arrow:hover {
    background: #4caf50;
    color: #fff;
    transform: scale(1.08);
}
@media (max-width: 900px) {
    .catgary-slider-section {
        margin: 1.5rem 0 0 0;
        padding: 0 0 1.5rem 0;
    }
    .catgary-slider-container {
        padding: 0 0.2rem;
    }
    .catgary-product-card {
        min-width: 140px;
        max-width: 160px;
        padding: 0.7rem 0.5rem 0.7rem 0.5rem;
    }
    .catgary-product-card img {
        height: 54px;
    }
    .catgary-product-title {
        font-size: 0.92rem;
    }
    .catgary-product-price {
        font-size: 0.85rem;
    }
    .catgary-slider-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
        margin: 0 0.2rem;
    }
}