@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    /* Earthy Color Palette */
    --co-primary: #3E5A44;
    /* Deep Forest Green */
    --co-secondary: #8BA888;
    /* Soft Sage Green */
    --co-accent: #C2705B;
    /* Terracotta */
    --co-background: #FDFBF7;
    /* Creamy Off-White */
    --co-text-main: #2C352D;
    /* Dark Charcoal/Green */
    --co-text-light: #6C7A6D;
    --co-glass-bg: rgba(253, 251, 247, 0.75);
    --co-glass-border: rgba(255, 255, 255, 0.4);
    --co-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --primary-color: var(--co-primary);
    --secondary-color: var(--co-secondary);
    --accent-color: var(--co-accent);
    --text-color: var(--co-text-main);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Custom Premium Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--co-background);
}

::-webkit-scrollbar-thumb {
    background: var(--co-secondary);
    border-radius: 10px;
    border: 2px solid var(--co-background);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--co-primary);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--co-secondary) var(--co-background);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
}

body {
    background-color: var(--co-background);
    color: var(--co-text-main);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    font-size: 14px;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.top-bar {
    background-color: var(--co-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--co-glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), box-shadow 0.4s ease;
}

.logo-wrapper {
    cursor: pointer;
}

.logo-wrapper:hover .logo-circle {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.logo-circle img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.35);
    /* Scale to zoom past the white rectangular border into just the interior circle */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo {
    font-size: 26px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--co-primary);
    margin-right: 20px;
    letter-spacing: 0.5px;
}

.top-bar .top-bar-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar-content>div {
    display: flex;
    align-items: center;
}

.top-bar-content a {
    color: var(--co-text-main);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.top-bar-content a:hover {
    background-color: rgba(139, 168, 136, 0.15);
    /* Soft highlight */
    color: var(--co-primary);
}

.top-bar-content .cart-sidebar-icon,
.top-bar-content .my-orders-icon,
.top-bar-content .user-auth-icon {
    font-size: 24px;
    margin-right: 10px;
    color: var(--co-text-main);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
}

.top-bar-content .cart-sidebar-icon:hover,
.top-bar-content .my-orders-icon:hover,
.top-bar-content .user-auth-icon:hover {
    transform: scale(1.15);
    color: var(--co-primary);
}

.top-bar-content .cart-sidebar-icon:hover {
    transform: scale(1.15) rotate(-10deg);
}


.search-icon {
    margin-left: 20px;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
    color: var(--co-text-main);
}

.desktop-nav {
    display: none;
}

.desktop-nav-link {
    color: var(--co-text-main);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.desktop-nav-link:hover,
.desktop-nav-link.active {
    color: var(--co-primary);
    background-color: rgba(139, 168, 136, 0.1);
}

.search-icon:hover {
    transform: scale(1.15) rotate(15deg);
    color: var(--co-primary);
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 70px;
    left: 0;
    background-color: var(--co-glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 1px solid var(--co-glass-border);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
}

.sidebar a {
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--co-text-main);
    display: block;
    transition: 0.3s;
}

.sidebar a.active {
    background-color: rgba(62, 90, 68, 0.1);
    border-left: 5px solid var(--co-primary);
    color: var(--co-primary);
    font-weight: 600;
}

.sidebar a:hover {
    color: var(--co-primary);
    background-color: rgba(139, 168, 136, 0.1);
}

/* ---- Sidebar Products Dropdown ---- */
.sidebar-dropdown {
    display: flex;
    flex-direction: column;
}

.sidebar-dropdown-toggle {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 500;
    color: var(--co-text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    transition: 0.3s;
    user-select: none;
    text-align: left;
}

.sidebar-dropdown-toggle:hover {
    color: var(--co-primary);
    background-color: rgba(139, 168, 136, 0.1);
}

.sidebar-dropdown.active .sidebar-dropdown-toggle,
.sidebar-dropdown.active .sidebar-dropdown-toggle .dropdown-arrow {
    color: var(--co-primary);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.sidebar-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.sidebar-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: rgba(139, 168, 136, 0.06);
    border-left: 3px solid var(--co-secondary);
}

.sidebar-dropdown.open .sidebar-dropdown-menu {
    max-height: 300px;
}

.sidebar-sub-link {
    display: block;
    padding: 10px 20px 10px 40px;
    font-size: 15px;
    font-weight: 400;
    color: var(--co-text-light);
    text-decoration: none;
    transition: 0.25s;
}

.sidebar-sub-link:hover {
    color: var(--co-primary);
    background-color: rgba(139, 168, 136, 0.12);
}

.sidebar-sub-link.active-sub {
    color: var(--co-primary);
    font-weight: 700;
    background-color: rgba(62, 90, 68, 0.1);
    border-left: 4px solid var(--co-primary);
}



.sidebar-toggle {
    font-size: 30px;
    cursor: pointer;
    color: var(--co-text-main);
    transition: transform 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-toggle i {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body.sidebar-open .sidebar-toggle i {
    transform: rotate(-180deg);
}

/* Close the sidebar when clicking anywhere outside of it */
body.sidebar-open .sidebar {
    width: 280px;
}

/* Prevent content from shifting when sidebar opens */
/* body.sidebar-open:not(.no-sidebar-shift) .content {
    margin-left: 280px;  <-- REMOVED to prevent shifting title/description
} */

/* Prevent content from shifting when sidebar opens */
body:not(.no-sidebar-shift) .content {
    transition: margin-left 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sidebar-toggle:hover {
    transform: scale(1.1);
    color: var(--co-primary);
}

@media (min-width: 993px) {
    .sidebar-toggle {
        display: flex;
    }
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Premium Blur Effect for Content when Sidebar is Open */
body.sidebar-open main,
body.sidebar-open header:not(.top-bar),
body.sidebar-open .section-container,
body.sidebar-open .dashboard-header,
body.sidebar-open footer,
body.sidebar-open .slider,
body.sidebar-open .category-section,
body.cart-open main,
body.cart-open header:not(.top-bar),
body.cart-open .section-container,
body.cart-open .dashboard-header,
body.cart-open footer,
body.cart-open .slider,
body.cart-open .category-section {
    filter: blur(12px);
    pointer-events: none;
    transition: filter 0.4s ease;
}

main, header, .section-container, .dashboard-header, footer {
    transition: filter 0.4s ease;
}





.slider {
    height: 100vh;
    margin-top: -70px;
    /* Offset for the new top-bar height */
    width: 100vw;
    overflow: hidden;
    position: relative;
    background-color: #000;
    /* Ensure no white flash on load/slide */
}

.slider::after {
    /* Gradient overlay to ensure text readability */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2) 60%, transparent);
    z-index: 2;
    pointer-events: none;
}

.slider .list .item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
    opacity: 0;
    z-index: 0;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list .item .content {
    position: absolute;
    top: 30%;
    /* Moved up from 35% to give more room below */
    width: 1140px;
    max-width: 90%;
    /* Increased from 85% */
    left: 50%;
    transform: translateX(-50%);
    padding-right: 0;
    /* Removed large padding-right to allow more width */
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.75);
    z-index: 3;
    text-align: left;
    /* Keep left aligned within centered container */
}

.slider .list .item .content .title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fffdf6;
    margin-bottom: 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.62);
}

.slider .list .item .content .type {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 8vw, 4.5rem);
    /* Responsive and more contained font size */
    font-weight: 700;
    line-height: 1.1em;
    color: #fffdf8;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.68);
    margin: 10px 0;
}

.slider .list .item .button {
    display: grid;
    grid-template-columns: repeat(2, 140px);
    grid-template-rows: 45px;
    gap: 15px;
    margin-top: 30px;
}

.slider .list .item .button button {
    border: none;
    background-color: #ffffff;
    color: var(--co-primary);
    border-radius: 30px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 12px;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.28), 0 4px 14px rgba(0, 0, 0, 0.22);
}

.slider .list .item .button button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.36), 0 6px 18px rgba(0, 0, 0, 0.28);
    background-color: #fff7df;
    color: var(--co-primary);
}

.slider .list .item .button button:nth-child(2) {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.slider .list .item .button button:nth-child(2):hover {
    background-color: #fff;
    color: var(--co-text-main);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}


/* Thumbnail Section  */
.thumbnail {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}

.thumbnail .item {
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;
}

.thumbnail .item:hover img {
    border-color: #fff;
}

/* nextPrevArrows Section  */
.nextPrevArrows {
    position: absolute;
    top: 85%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 15px;
    align-items: center;
}

.nextPrevArrows button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nextPrevArrows button:hover {
    background-color: #fff;
    color: var(--co-text-main);
    transform: scale(1.1);
}

/* Animation Part */
.slider .list .item:nth-child(1) {
    z-index: 1;
    opacity: 1;
}


/* animation text in first item */
.slider .list .item:nth-child(1) .content .title,
.slider .list .item:nth-child(1) .content .type,
.slider .list .item:nth-child(1) .content .description,
.slider .list .item:nth-child(1) .content .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}

@keyframes showContent {
    to {
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.slider .list .item:nth-child(1) .content .title {
    animation-delay: 0.4s !important;
}

.slider .list .item:nth-child(1) .content .type {
    animation-delay: 0.6s !important;
}

.slider .list .item:nth-child(1) .content .description {
    animation-delay: 0.8s !important;
}

.slider .list .item:nth-child(1) .content .buttons {
    animation-delay: 1s !important;
}

.slider .description {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    /* Refined responsive font size */
    margin-top: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
    /* Spread text a bit wider */
    color: #fffef8;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.68);
    opacity: 1;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom: -50px;
    gap: 20px;
}

/* Pause/Play Button */
.pausePlay {
    padding: 10px;
    background-color: #008b38cb;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: monospace;
    font-weight: bold;
    transition: 0.3s;
}

.pausePlay:hover {
    background-color: #fff;
    color: #000;
}
/* Animation for next button click */
.slider.next .list .item:nth-last-child(1) {
    opacity: 1;
}

.slider.next .list .item:nth-child(1) img {
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}

@keyframes showImage {
    to {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.slider.next .thumbnail .item:nth-last-child(1) {
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}

.slider.prev .list .item img {
    z-index: 100;
}


@keyframes showThumbnail {
    from {
        width: 0;
        opacity: 0;
    }
}


.slider.next .thumbnail {
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext {
    from {
        transform: translateX(150px);
    }
}



/* Animation for prev button click */
.slider.prev .list .item:nth-child(2) {
    z-index: 2;
    opacity: 1;
}

.slider.prev .list .item:nth-child(2) img {
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}

@keyframes outFrame {
    to {
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.slider.prev .thumbnail .item:nth-child(1) {
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}

.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button {
    pointer-events: none;
}


.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.prev .list .item:nth-child(2) .content .buttons {
    animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
    to {
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}

@media screen and (max-width: 678px) {
    .slider .list .item .content {
        padding-right: 0;
    }

    .slider .list .item .content .title {
        font-size: 24px;
    }
}

/* Global Footer Styling */
footer {
    background-color: #2C352D;
    /* Darker, more premium color */
    color: #fff;
    padding: 80px 20px 40px;
    margin-top: auto;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section {
    text-align: left;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--co-secondary);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--co-accent);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--co-secondary);
    transform: translateX(5px);
}

.footer-section p i {
    width: 25px;
    color: var(--co-secondary);
    font-size: 1.1rem;
    margin-right: 12px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

main {
    padding: 2rem 1rem;
}

.product-section {
    padding: 10px;
    text-align: center;
}

.view-all-products {
    text-align: center;
    margin-top: 30px;
}

.product-section h2 {
    font-size: 36px;
    margin-bottom: 10px;
    height: 100px;
    color: #f4f4f4;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 280px;
    margin: 10px;
    background-color: var(--co-background);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--co-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: auto;
    min-height: 480px;
}

.product-card a {
    color: inherit;
    /* Inherit color from parent element */
    text-decoration: none;
    /* Remove underline */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.product-card .image-container {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    /* Subtle backdrop for product depth */
    margin-bottom: 15px;
    position: relative;
}

.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.08);
    /* slight zoom on image hover */
}

.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--co-text-main);
    margin: 10px 0;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-card .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--co-primary);
    text-align: center;
    margin: 5px 0 15px 0;
}

.product-card button {
    background-color: var(--co-text-main);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.product-card button:hover {
    background-color: var(--co-primary);
    box-shadow: 0 4px 10px rgba(62, 90, 68, 0.2);
}

.product-card .quick-view-btn {
    width: 100%;
    background-color: transparent;
    color: var(--co-text-main);
    border: 1px solid var(--co-text-main);
    margin-bottom: 10px;
    padding: 12px 0;
}

.product-card .quick-view-btn:hover {
    background-color: var(--co-text-main);
    color: #fff;
    box-shadow: none;
}

.product-card .add-to-cart-btn {
    width: 100%;
    margin: 0;
    text-align: center;
    background-color: var(--co-primary);
    color: white;
    padding: 12px 0;
}

.product-card .add-to-cart-btn:hover {
    background-color: var(--co-secondary);
}

.dot {
    position: bottom;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: background-color 0.3s;
    cursor: pointer;
    margin-right: 10px;
    /* Adjust this value as needed */
}

.dot.active {
    background-color: #108c37;
    padding: 5px;
}

input[type="radio"] {
    display: none;
}

.cultural-craftsmanship {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 22px;
    background-color: #f4f4f4;
    border-radius: 20px;
}

.cultural-craftsmanship h2 {
    font-size: 36px;
    margin-bottom: 1rem;
}

.heart-of-philippines {
    text-align: center;
    padding: 2rem;
    font-size: 16px;
    background-color: #fff;
    margin-top: 1rem;
}

.heart-of-philippines {
    text-align: center;
    padding: 5px;
    font-size: 16px;
}

.heart-of-philippines,
b {
    text-align: center;
    padding: 5px;
    font-size: 16px;
}

.heart-of-philippines p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    height: 110px;
}

.famous-products {
    text-align: left;
    font-size: 20px;
    background-color: #fff;
    margin-top: 1rem;
    padding: 1rem;
}

.craftsmanship-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
}

.craft-item {
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
    width: calc(33.333% - 2rem);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.craft-item:hover {
    transform: scale(1.05);
}

.craft-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.craft-image-2 {
    object-fit: fixed;
    height: 300px;
    /* Adjust height as needed */
    width: 100px;
}

.craft-item h3 {
    margin: 0.5rem 0;
    font-size: 24px;
    color: #333;
}

.craft-item p {
    font-size: 16px;
    color: #666;
}

.add-to-cart-btn {
    margin-top: 15px;
    background-color: var(--co-primary);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--co-secondary);
    box-shadow: 0 4px 12px rgba(62, 90, 68, 0.2);
}

/* --- UNIFIED PAGE COMPONENTS --- */

.page-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: 70px;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.page-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    z-index: 5;
}

.page-overlay h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-overlay p {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
}

/* Premium Banner Upgrades */
.premium-banner {
    height: 450px;
    background-color: var(--co-text-main);
}

.premium-banner img {
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-banner:hover img {
    transform: scale(1.1);
}


.premium-banner .banner-content {
    background: rgba(253, 251, 247, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.premium-banner .banner-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: var(--co-secondary);
    font-weight: 600;
}

.premium-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: #fff;
    text-shadow: none;
}

.premium-banner .banner-divider {
    width: 60px;
    height: 2px;
    background-color: var(--co-accent);
    margin: 0 auto 20px auto;
}

.premium-banner p {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
}

.section-container {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--co-primary);
    margin-bottom: 10px;
}

.section-header h3 {
    font-size: 1.2rem;
    color: var(--co-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
    display: grid;
    gap: 18px;
    max-width: 620px;
}

.split-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--co-text-main);
    margin: 0;
    text-align: left;
}

.split-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.split-layout:hover .split-image img {
    transform: scale(1.05);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--co-primary);
    margin-bottom: 25px;
}

.feature-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* --- CONTACT SPECIFIC --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    background: var(--co-glass-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--co-glass-border);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--co-primary);
}

.contact-item h4 {
    margin-bottom: 5px;
}

.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    outline: none;
    font-size: 15px;
    color: var(--co-text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--co-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(62, 90, 68, 0.1);
    transform: translateY(-1px);
}

\n form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: auto;
}

form label {
    text-align: left;
}

form input,
form textarea,
form button {
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button {
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background-color: #555;
}

.view-all-products-container {
    text-align: center;
    margin-top: 20px;
}

.category-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-item.active-pill {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(62, 90, 68, 0.25), 0 0 0 4px rgba(62, 90, 68, 0.1);
    border: 3px solid var(--co-primary);
    z-index: 2;
}

.category-item.active-pill::before {
    content: '\f058'; /* FontAwesome check-circle */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--co-primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: badgePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
    from { transform: scale(0) rotate(-45deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}

.category-item.active-pill .category-overlay {
    background: linear-gradient(to top, rgba(62, 90, 68, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.category-item.active-pill .category-text h3 {
    transform: scale(1.1);
    color: #fff;
}

/* .product-card.active-category {
    Potential styling for visible filtered items if needed
} */

.view-all-products-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--co-primary);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(62, 90, 68, 0.2);
}

.view-all-products-btn:hover {
    background-color: var(--co-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(62, 90, 68, 0.3);
}

.product-section {
    position: relative;
    padding: 50px 0;
}



.wrapper {
    max-width: 1200px;
    /* Optional: Limit maximum width of product grid */
    width: 100%;
    position: relative;
    margin: 0 auto;
    /* Center the wrapper horizontally */
}

.wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
    color: var(--co-text-light);
}

.wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.wrapper i:first-child {
    left: -22px;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.wrapper .carousel .card {
    scroll-snap-align: start;
    height: 400px;
    /* Adjust the height as needed */
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 30px;
    flex-direction: column;
    border-radius: 8px;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel.no-transition {
    scroll-behavior: auto;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel .card .img {
    height: 180px;
    /* Adjust image size */
    width: 180px;
    /* Adjust image size */
    border-radius: 8px;
    /* Apply border radius */
    margin-bottom: 10px;
    /* Reduced margin below the image */
}

.card h2 {
    color: black;
    margin-top: 50px;
}

.card .img {
    padding: 0;
    margin: 15px auto;
    /* Adjust image margin */
    border-radius: 8px;
    /* Apply border radius */
    margin-bottom: 15px;
    /* Margin below the image */
}

.card .img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* Apply border radius */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card:hover .img img {
    transform: scale(1.1);
}

.carousel .card h3 {
    font-weight: bold;
    font-size: 16px;
    margin: 5px 0 3px;
    /* Adjust margin */
    text-align: left;
    /* Align the card name to the left */
    color: black;
}

.carousel .card p {
    font-size: 12px;
    margin: 3px 0 5px;
    /* Adjust margin */
    color: black;
}

.carousel .card .price {
    font-size: 1.2rem;
    /* Adjust font size */
    color: #6A6D78;
    margin-top: auto;
    text-align: left;
    /* Align price to the left */
}

.carousel .card .add-to-cart-btn {
    background-color: var(--co-primary);
    color: white;
    border: none;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.carousel .card .add-to-cart-btn:hover {
    background-color: var(--co-secondary);
    box-shadow: 0 4px 12px rgba(62, 90, 68, 0.2);
}

.carousel .card {
    scroll-snap-align: start;
    height: 400px;
    /* Adjust the height as needed */
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding: 10px;
    /* Add padding around the content */
    flex-direction: column;
    border-radius: 8px;
}

@media screen and (max-width: 900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100% / 2) - 9px);
    }
}

@media screen and (max-width: 600px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }
}

/* (Removed redundant banner styles) */


.shop-by-category {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 5px;
}

.shop-by-category h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.shop-by-category h2 {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.shop-by-category.loaded h2 {
    opacity: 1;
    transform: translateY(0);
}


/* Unified Category Container - Refined for Premium Feel */
.category-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.category-item {
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-item {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    background: #fff;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 90, 68, 0.15);
}

.category-item.active {
    border: 3px solid var(--co-primary);
    transform: scale(1.02);
    box-shadow: 0 15px 45px rgba(62, 90, 68, 0.2);
}

.category-item.active .category-overlay {
    background: linear-gradient(to top, rgba(62, 90, 68, 0.8) 0%, rgba(62, 90, 68, 0.4) 100%);
}

.category-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: all 0.5s ease;
    text-align: center;
    padding: 30px;
}

.category-item:hover .category-overlay {
    background: linear-gradient(to top, rgba(62, 90, 68, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* tint on hover */
}

.category-text {
    text-align: center;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-item:hover .category-text {
    transform: translateY(0);
}

.category-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-text p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    margin: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-item:hover .category-text p {
    opacity: 1;
}

.our-handicrafts .wrapper {
    max-width: 1100px;
    position: relative;
    margin: 0 auto;
    /* Center the wrapper horizontally */
}

.our-handicrafts .wrapper i {
    top: 50%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    font-size: 1.25rem;
    position: absolute;
    text-align: center;
    line-height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.our-handicrafts .wrapper i:active {
    transform: translateY(-50%) scale(0.85);
}

.our-handicrafts .wrapper i:first-child {
    left: -22px;
}

.our-handicrafts .wrapper i:last-child {
    right: -22px;
}

.our-handicrafts .wrapper .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    border-radius: 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.our-handicrafts .wrapper .carousel .card {
    scroll-snap-align: start;
    height: 400px;
    /* Adjust the height as needed */
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
}

.our-handicrafts .carousel::-webkit-scrollbar {
    display: none;
}

.our-handicrafts .carousel.no-transition {
    scroll-behavior: auto;
}

.our-handicrafts .carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.our-handicrafts .carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.our-handicrafts .carousel :where(.card, .img) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.our-handicrafts .carousel .card {
    scroll-snap-align: start;
    height: 342px;
    list-style: none;
    background: #fff;
    cursor: pointer;
    padding-bottom: 15px;
    flex-direction: column;
    border-radius: 8px;
}

.our-handicrafts .carousel .card .img {
    height: 150px;
    width: 150px;
    border-radius: 0;
}

.our-handicrafts .card h2 {
    margin-top: 50px;
}

.our-handicrafts .card .img {
    padding: 0;
    margin: 50px auto 20px;
    ;
    border: none;
}

.our-handicrafts .card .img img {
    width: 100%;
    height: auto;
    border: none;
    border-radius: 0;
    object-fit: contain;
    border: none;
    transition: transform 0.3s ease;
}

.our-handicrafts .card:hover .img img {
    transform: scale(1.1);
}

.our-handicrafts .carousel .card h2 {
    font-weight: 700;
    font-size: 16px;
    margin: 30px 15px 10px;
    text-align: center;
    color: var(--co-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 30px);
}

.our-handicrafts .carousel .card span {
    color: var(--co-secondary);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: block;
}

.handicraft-section {
    padding: 10px;
    text-align: center;
}



.handicraft-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
    height: 100px;
    color: #333;
}

.handicraft-section {
    position: relative;
    padding: 50px 0;
}


.handicraft-section h2::before,
.handicraft-section h2::after {
    content: "";
    position: absolute;
    top: 11%;
    width: 28%;
    /* Adjust line length */
    height: 2px;
    /* Adjust line thickness */
    background-color: #000;
    /* Line color */
    margin-left: 20px;
    margin-right: 20px;
}

.handicraft-section h2::before {
    left: 0;
}

.handicraft-section h2::after {
    right: 0;
}

/*new-container*/
/* Add this to your style.css */

.new-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    scroll-margin-top: 100px;
    /* Offset for fixed header */
}

.new-container h2,
.orders-header h2,
.section-header h2 {
    position: relative;
    text-align: center;
    font-size: 2.2rem;
    color: var(--co-primary);
    margin-bottom: 40px;
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    padding: 10px 0;
}

.new-container h2::before,
.new-container h2::after,
.orders-header h2::before,
.orders-header h2::after,
.section-header h2::before,
.section-header h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 24%;
    /* Reduced slightly for safety */
    height: 2px;
    background-color: var(--co-primary);
    opacity: 0.3;
}

.new-container h2::before,
.orders-header h2::before,
.section-header h2::before {
    left: 0;
}

.new-container h2::after,
.orders-header h2::after,
.section-header h2::after {
    right: 0;
}

.section-header h2::before,
.section-header h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 24%;
    height: 2px;
    background-color: var(--co-primary);
    opacity: 0.2;
}

.section-header h2 {
    margin-bottom: 15px;
    /* Less space when followed by h3 */
}

/* AI Rattan Background for Section Headers */
.section-header {
    background: var(--co-glass-bg) !important;
    backdrop-filter: blur(8px);
    padding: 30px 20px;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(62, 90, 68, 0.1);
}

/* Container for product grid */
.new-container .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    /* Optional: Limit maximum width of product grid */
    margin: 0 auto;
    /* Center align the product grid */
}

/* Inherit base product-card styles, only add animations for scroll reveal */
.new-container .product-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.new-container .product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.new-container .product-card:hover {
    transform: translateY(-8px);
}

/* Header text itself is now styled above */

.filters {
    display: flex;
    justify-content: space-between;
    /* Distribute items evenly with space between them */
    align-items: center;
    /* Align items vertically center */
    margin-bottom: 20px;
    /* Optional: Adjust spacing as needed */
}

.sort-by,
.filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter {
    margin-left: auto;
    /* Push the filter to the right */
}

.availability-filter {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--co-text-main);
    font-weight: 600;
}

.availability-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.availability-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-track {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: rgba(108, 122, 109, 0.25);
    border: 1px solid rgba(62, 90, 68, 0.18);
    position: relative;
    transition: background 0.25s ease, border-color 0.25s ease;
    flex: 0 0 46px;
}

.toggle-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease;
}

.availability-toggle input:checked + .toggle-track {
    background: var(--co-primary);
    border-color: var(--co-primary);
}

.availability-toggle input:checked + .toggle-track::after {
    transform: translateX(20px);
}

.availability-toggle input:focus-visible + .toggle-track {
    outline: 2px solid var(--co-accent);
    outline-offset: 3px;
}

.toggle-text {
    font-size: 0.92rem;
    color: var(--co-text-light);
    white-space: nowrap;
}

.sort-by select,
.filter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--co-glass-bg);
    border: 1px solid var(--co-glass-border);
    border-radius: 20px;
    padding: 8px 35px 8px 15px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--co-text-main);
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="292.4" height="292.4"><path fill="%233E5A44" d="M287 69.4a17.6 17.6 0 0 0-13-5.4H18.4c-5 0-9.3 1.8-12.9 5.4A17.6 17.6 0 0 0 0 82.2c0 5 1.8 9.3 5.4 12.9l128 127.9c3.6 3.6 7.8 5.4 12.8 5.4s9.2-1.8 12.8-5.4L287 95c3.5-3.5 5.4-7.8 5.4-12.8 0-5-1.9-9.2-5.4-12.8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.sort-by select:hover,
.filter select:hover {
    border-color: var(--co-primary);
    box-shadow: 0 4px 10px rgba(62, 90, 68, 0.15);
}

.sort-by select:focus,
.filter select:focus {
    outline: none;
    border-color: var(--co-primary);
    box-shadow: 0 0 0 2px rgba(62, 90, 68, 0.2);
}

label {
    margin-right: 10px;
    /* Optional: Adjust spacing between label and select */
}

.new-container h2,
.sort-by label,
.filter label {
    opacity: 0;
    transform: translateY(20px);
    /* Initial position above, adjust as needed */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.new-container h2.loaded,
.sort-by label.loaded,
.filter label.loaded,
.select-container.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* CSS for Select Containers */
.select-container {
    opacity: 0;
    transform: translateY(20px);
    /* Initial position above */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Example styles for animation */
.loaded.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Replaced by unified .active-pill styles above */

.show-all-container {
    text-align: center;
    width: 100%;
}

#btn-show-all {
    display: inline-block;
    margin: 30px auto 28px;
    background: transparent;
    color: var(--co-primary);
    border: none;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: color 0.2s, transform 0.1s;
}

#btn-show-all:hover {
    color: var(--co-secondary);
    transform: scale(1.02);
}


.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    cursor: pointer;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.pagination a.hidden {
    display: none;
}

/* add to cart toggle sidebar */



.cart-sidebar {
    position: fixed;
    top: 70px;
    right: -400px;
    width: 400px;
    height: calc(100vh - 70px);
    background-color: var(--co-glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--co-glass-border);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar .sidebar-header {
    background-color: rgba(62, 90, 68, 0.05);
    color: var(--co-text-main);
    padding: 25px 20px;
    text-align: center;
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    border-bottom: 1px solid var(--co-glass-border);
    position: relative;
    letter-spacing: 0.5px;
}

.cart-sidebar .close-cart {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--co-text-light);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.cart-sidebar .close-cart:hover {
    color: var(--co-accent);
    transform: translateY(-50%) rotate(90deg);
}

.cart-sidebar .cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

/* Your existing CSS styles */
/* for individual cart items */

.cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-right: 15px;
    padding: 5px;
}

.cart-item .item-details {
    flex: 1;
}

.cart-item h4 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    color: var(--co-text-main);
}

.cart-item p {
    margin: 0;
    font-size: 14px;
    color: var(--co-secondary);
    font-weight: 500;
}

.cart-item .delete-btn {
    background-color: transparent;
    border: none;
    color: var(--co-text-light);
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-item .delete-btn:hover {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.cart-sidebar-icon {
    font-size: 24px;
    margin-right: 10px;
    position: relative;
    display: inline-block;
    color: var(--co-text-main);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
}



.cart-count {
    position: absolute;
    top: -2px;
    right: -6px;
    background-color: var(--co-accent);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(194, 112, 91, 0.4);
}

.total-price {
    font-weight: 700;
    padding: 25px 20px;
    background-color: rgba(253, 251, 247, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--co-glass-border);
    text-align: center;
    font-size: 20px;
    color: var(--co-primary);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.02);
}

.cart-item .quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.cart-item .quantity-btn {
    background-color: rgba(62, 90, 68, 0.1);
    border: none;
    color: var(--co-text-main);
    cursor: pointer;
    font-size: 16px;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.cart-item .quantity-btn:hover {
    background-color: rgba(62, 90, 68, 0.2);
}

.cart-item .quantity {
    margin: 0 10px;
    font-size: 14px;
    font-weight: 600;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: var(--co-primary);
    color: white;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(62, 90, 68, 0.2);
}

.checkout-btn:hover {
    background-color: var(--co-secondary);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(62, 90, 68, 0.3);
}

.checkout-btn:active {
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    background-color: #d1d1d1;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.card .price {
    font-size: 16px;
    font-weight: 600;
    color: var(--co-secondary);
}

/* Quick view modal overlay */
.quick-view-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

/* Quick view modal content */
.quick-view-content {
    background-color: var(--co-background);
    padding: 22px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    max-width: 540px;
    margin: auto;
    position: relative;
    animation: popupIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Quick view modal image */
.quick-view-content .product-image {
    flex: 1;
    max-width: 42%;
    height: auto;
    object-fit: contain;
    margin-right: 20px;
    border-radius: 8px;
    background-color: #f5f5f5;
    /* Subtle backdrop */
    padding: 10px;
}

/* Quick view modal details */
.quick-view-content .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Quick view modal close button */
.quick-view-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--co-text-light);
    transition: color 0.3s;
}

.quick-view-close:hover {
    color: var(--co-accent);
}

/* Quick Pop Up Product Preview */
/* Style for the quick view popup */
.quick-view-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: var(--co-background);
    color: var(--co-text-main);
    padding: 30px;
    width: 60%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: none;
    animation: popupIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Style for the image container in the quick view popup */
.quick-view-popup .image-container {
    background-color: rgba(62, 90, 68, 0.05);
    /* Slight green tint */
    padding: 20px;
    text-align: center;
    border-radius: 12px;
}

/* Style for the image in the quick view popup */
.quick-view-popup .image-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* Style for description and price in the quick view popup */
.quick-view-popup .description {
    padding: 20px 0;
}

/* Style for the price in the quick view popup */
.quick-view-popup .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--co-primary);
    margin-top: 10px;
}

.product-image {
    width: 50%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.product-details {
    flex: 1;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--co-primary);
    margin-bottom: 6px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--co-secondary);
    margin-bottom: 8px;
}

.product-description {
    font-size: 14px;
    line-height: 1.45;
    color: var(--co-text-light);
}

.buy-now-btn {
    width: 100%;
    margin-top: 16px;
    padding: 10px;
    background-color: var(--co-primary);
    color: #fff;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.buy-now-btn:hover {
    background-color: var(--co-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(62, 90, 68, 0.2);
}

.buy-now-btn:disabled {
    background-color: #b8b8b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.message-seller-btn {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    background-color: transparent;
    color: var(--co-text-main);
    border: 1px solid var(--co-text-main);
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.message-seller-btn:hover {
    background-color: var(--co-text-main);
    color: #fff;
    transform: translateY(-2px);
}

/* (Removed redundant about-banner styles) */

/* --- Modern Contact Section --- */
.modern-contact-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info-panel {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-info-card:hover {
    transform: translateX(10px);
    border-color: var(--co-secondary);
    box-shadow: 0 15px 40px rgba(62, 90, 68, 0.08);
}

.contact-info-card i {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    background: rgba(62, 90, 68, 0.1);
    color: var(--co-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card div h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--co-primary);
    margin-bottom: 5px;
}

.contact-info-card div p {
    color: var(--co-text-light);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form-card {
    background: var(--co-glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--co-glass-border);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-form-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--co-primary);
    margin-bottom: 15px;
}

.contact-form-card p {
    color: var(--co-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modern-social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--co-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--co-primary);
    color: #fff;
    transform: translateY(-5px) rotate(10deg);
}


.right-side .input-box {
    height: 50px;
    width: 100%;
    margin: 12px 0;
    margin-top: 0px;
}

.right-side .input-box input,
.right-side .input-box textarea {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    background: #F0F1F8;
    border-radius: 6px;
    padding: 0 15px;
    resize: none;
}

.right-side .message-box {
    min-height: 110px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.right-side .input-box textarea {
    padding-top: 6px;
}

.right-side .button {
    display: inline-block;
    margin-top: 12px;
}

.right-side .button input[type="submit"] {
    color: #fff;
    font-size: 18px;
    outline: none;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--co-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0px;
}

.button input[type="submit"]:hover {
    background: var(--co-secondary);
    box-shadow: 0 4px 12px rgba(62, 90, 68, 0.2);
}

@media (max-width: 950px) {
    .container {
        width: 90%;
        padding: 30px 40px 40px 35px;
    }

    .container .content .right-side {
        width: 75%;
        margin-left: 55px;
    }
}

@media (max-width: 820px) {
    .container {
        margin: 40px 0;
        height: 100%;
    }

    .container .content {
        flex-direction: column-reverse;
    }

    .container .content .left-side {
        width: 100%;
        flex-direction: row;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .container .content .left-side::before {
        display: none;
    }

    .container .content .right-side {
        width: 100%;
        margin-left: 0;
    }
}

/* (Removed redundant contact-banner styles) */


.order-form h3 {
    text-align: center;
    font-size: 22px;
}

.glowing {
    animation: glow 1s infinite alternate;
    color: white !important;
    /* Ensure the color change to white */
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #28a745;
    }

    to {
        text-shadow: 0 0 20px #28a745;
    }
}

.category-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 100%;
    }
}

.social-icon {
    margin-right: 10px;
    /* Adjust spacing between icons */
    color: #333;
    /* Adjust icon color */
    font-size: 24px;
    /* Adjust icon size */
    display: inline-block;
    /* Display icons in a row */
    margin: 0 10px;
    /* Adjust horizontal spacing between icons */
    font-size: 30px;
    /* Adjust icon size if necessary */
}

.social-icons {
    margin-top: 10px;
    /* Adjust as needed */
    margin-left: 75px;
}

/* User Auth Icon */
.user-auth-icon {
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
    color: var(--co-text-main);
}

/* (Removed misplaced desktop-nav definition) */


.search-icon:hover {
    transform: scale(1.15) rotate(-10deg);
    color: var(--co-primary);
}

/* Auth Page Styles */
.auth-container {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-top: 70px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('img/auth_bg.png') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.auth-card {
    background: rgba(253, 251, 247, 0.85);
    /* Slightly more opaque for readability */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 10;
}

.auth-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--co-primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--co-text-light);
    font-size: 0.9rem;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.03);
    padding: 5px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--co-text-light);
}

.auth-tab.active {
    background: #fff;
    color: var(--co-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeInAuth 0.4s ease;
}

@keyframes fadeInAuth {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--co-text-main);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--co-primary);
    box-shadow: 0 0 0 4px rgba(62, 90, 68, 0.1);
    background: #fff;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: -0.35rem 0 1.15rem;
    color: var(--co-text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.remember-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--co-primary);
    cursor: pointer;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--co-primary);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.auth-btn:hover {
    background: var(--co-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(62, 90, 68, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--co-text-light);
}

.auth-footer a {
    color: var(--co-primary);
    font-weight: 600;
    cursor: pointer;
}

.auth-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.auth-message.error {
    background: #fee2e2;
    color: #ef4444;
    display: block;
}

.auth-message.success {
    background: #f0fdf4;
    color: #22c55e;
    display: block;
}

/* User Dropdown */
.user-dropdown {
    position: fixed;
    top: 80px;
    right: 40px;
    background: var(--co-glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--co-glass-border);
    border-radius: 16px;
    width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 2000;
    overflow: hidden;
}

.user-dropdown:empty {
    display: none !important;
}

.user-dropdown.active {
    display: block;
    animation: slideDownAuth 0.3s ease;
}

@keyframes slideDownAuth {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    padding: 20px;
    background: rgba(62, 90, 68, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-header h4 {
    margin: 0;
    color: var(--co-primary);
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

.dropdown-header p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: var(--co-text-light);
}

.dropdown-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--co-text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(139, 168, 136, 0.1);
    color: var(--co-primary);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--co-text-light);
}

.dropdown-item.logout {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.dropdown-item.logout i {
    color: inherit;
}

@media screen and (max-width: 1000px) {
    .user-dropdown {
        top: 64px;
        right: 12px;
        width: min(280px, calc(100vw - 24px));
        z-index: 3000;
    }
}



/* --- Toast Notification System --- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(62, 90, 68, 0.2);
    color: var(--co-text-main);
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    opacity: 0;
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    color: var(--co-primary);
    font-size: 1.2rem;
}

.toast.guest {
    border-left: 4px solid var(--co-primary);
}

.toast.success {
    border-left: 4px solid #27ae60;
}

.toast.success i {
    color: #27ae60;
}

.toast .close-toast {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--co-text-light);
}

.toast .close-toast:hover {
    opacity: 1;
    color: #ef4444;
    transform: scale(1.2);
}

/* --- PREMIUM SHOP SECTION --- */
.premium-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-bottom: 60px;
}

.premium-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform 10s ease;
}

.premium-hero:hover img {
    transform: scale(1.1);
}

.premium-hero-content {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px 80px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.premium-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.premium-hero p {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Modernized Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px;
}

.product-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(62, 90, 68, 0.12);
    border-color: var(--co-secondary);
}

.product-card .image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.availability-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--co-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.availability-badge.unavailable {
    background: #9f4f43;
}

.product-card .add-to-cart-btn:disabled {
    background: #b8b8b8;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.product-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--co-primary);
    margin-bottom: 10px;
    font-weight: 600;

    /* Elegant Title Wrapping */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
}

.product-card .price {
    font-size: 1.25rem;
    color: var(--co-accent);
    font-weight: 700;
    margin-bottom: 20px;
}

.product-card .actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.product-card button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.quick-view-btn {
    background: rgba(62, 90, 68, 0.05);
    color: var(--co-primary);
}

.add-to-cart-btn {
    background: var(--co-primary);
    color: #fff;
}

.quick-view-btn:hover {
    background: rgba(62, 90, 68, 0.1);
}

.add-to-cart-btn:hover {
    background: var(--co-secondary);
    transform: scale(1.05);
}

/* Category Filters & Search */
.shop-controls {
    max-width: 1200px;
    margin: 0 auto 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.filter-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 10px 25px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--co-text-light);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-pill.active {
    background: var(--co-primary);
    color: #fff;
    border-color: var(--co-primary);
    box-shadow: 0 8px 15px rgba(62, 90, 68, 0.2);
}

/* --- Premium Search Bar --- */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 280px;
    margin-right: 15px;
    padding-right: 20px;
    border-right: 1.5px solid rgba(0, 0, 0, 0.08);
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 18px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    outline: none;
    border: 1px solid var(--co-glass-border);
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-input-wrapper input:focus {
    background: #fff;
    box-shadow: 0 8px 25px rgba(62, 90, 68, 0.12);
    border-color: var(--co-primary);
}

.search-trigger {
    position: absolute;
    right: 35px; /* Adjusted to be inside the input, accounting for wrapper padding */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--co-text-light);
    transition: all 0.3s ease;
    z-index: 10;
}

.search-trigger:hover {
    color: var(--co-primary);
    transform: translateY(-50%) scale(1.1);
}

/* Fallback for general icon inside wrapper */
.search-input-wrapper i.fa-search {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--co-text-light);
    pointer-events: none;
}

/* About Hero */
.about-hero-content {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.about-hero-content h2 {
    font-size: 2.5rem;
    color: #243f12;
    margin-bottom: 10px;
}

.about-hero-content h3 {
    font-size: 1.5rem;
    color: #555;
    font-weight: normal;
}

/* Flex Splits */
.about-split {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.about-split.reverse {
    flex-direction: row-reverse;
}

.about-split-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.about-split-text p {
    margin-bottom: 15px;
}

.about-split-image {
    flex: 1;
}

.about-split-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
        margin-bottom: 40px;
    }

    .about-card {
        background: #f9f9f9;
        padding: 30px;
        text-align: center;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s;
    }

    .about-card:hover {
        transform: translateY(-5px);
    }

    .about-card i {
        font-size: 2.5rem;
        color: #4CAF50;
        margin-bottom: 15px;
    }

    .about-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #333;
    }

    /* Student Initiative */
    .student-initiative {
        text-align: center;
        padding: 30px;
        background: rgba(76, 175, 80, 0.1);
        border-radius: 15px;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .student-initiative h3 {
        color: #243f12;
        margin-bottom: 10px;
    }

    /* Contact Layout */
    .contact-layout {
        display: flex;
        gap: 40px;
        flex-wrap: wrap;
    }

    .contact-info-panel,
    .contact-form-card {
        flex: 1;
        min-width: 300px;
    }

    .contact-info-card {
        display: flex;
        align-items: center;
        gap: 20px;
        background: #f9f9f9;
        padding: 20px;
        border-radius: 15px;
        margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .contact-info-card i {
        font-size: 1.8rem;
        color: #4CAF50;
    }

    .contact-info-card h4 {
        margin-bottom: 5px;
        color: #333;
    }

    .contact-info-card p {
        margin: 0;
        color: #666;
    }

    .modern-social-links {
        display: flex;
        gap: 15px;
        margin-top: 20px;
        justify-content: center;
    }

    .social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: #243f12;
        color: #fff;
        border-radius: 50%;
        font-size: 1.2rem;
        text-decoration: none;
        transition: background 0.3s;
    }

    .social-btn:hover {
        background: #4CAF50;
    }

    .contact-form-card {
        background: #fff;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .contact-form-card h3 {
        margin-bottom: 15px;
        color: #243f12;
    }

    .contact-form-card p {
        margin-bottom: 25px;
        color: #555;
    }

    @media (max-width: 768px) {
        .about-split {
            flex-direction: column;
        }
    }

/* --- Back to Top Button --- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--co-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background-color: var(--co-accent);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

#backToTop:active {
    transform: translateY(0) scale(0.9);
}

/* --- Comprehensive Mobile Responsiveness --- */

/* --- Consolidated Mobile Responsiveness --- */
@media screen and (max-width: 1000px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .search-input-wrapper {
        display: none !important; /* Hide search bar on small screens to prevent overlap, or move to sidebar */
    }

    .sidebar {
        top: 65px;
        width: 0;
        max-width: 100vw;
    }

    body.sidebar-open .sidebar {
        width: 280px;
    }

    .cart-sidebar {
        top: 65px;
        width: 100%;
        max-width: 400px;
        right: -100%;
    }

    body.cart-open .cart-sidebar {
        right: 0;
    }

    .slider {
        height: 80vh;
        margin-top: 0;
    }

    .slider .list .item .content {
        top: max(120px, 24%);
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
    }

    .slider .list .item .content .type {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .slider .description {
        font-size: 0.95rem;
        margin-top: 15px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .slider .list .item .button {
        grid-template-columns: 1fr;
        width: 160px;
        gap: 10px;
    }

    .thumbnail {
        display: none;
    }

    .nextPrevArrows {
        top: auto;
        bottom: 30px;
        right: 20px;
        left: auto;
        width: auto;
        max-width: none;
    }

    .section-container {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .craft-item {
        width: 100%;
    }

    .split-layout, .split-layout.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .split-image {
        height: 300px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section p {
        justify-content: center;
    }

}

@media screen and (max-width: 480px) {
    .top-bar {
        justify-content: space-between;
    }

    body.sidebar-open .sidebar,
    .cart-sidebar {
        width: 100vw;
        max-width: 100vw;
    }

    .slider .list .item .content .type {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .nextPrevArrows {
        bottom: 20px;
        right: 15px;
    }
}

/* --- Premium Notification Toasts --- */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-left: 5px solid var(--co-primary);
    padding: 20px 25px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i:first-child {
    font-size: 1.6rem;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Status Specific Styles */
.toast.status-topay { border-left-color: #f39c12; }
.toast.status-topay i:first-child { background: #FFF9E8; color: #f39c12; }

.toast.status-toship { border-left-color: #3498db; }
.toast.status-toship i:first-child { background: #EBF5FB; color: #3498db; }

.toast.status-toreceive { border-left-color: #a67c52; }
.toast.status-toreceive i:first-child { background: #FDFBF7; color: #a67c52; }

.toast.status-completed { border-left-color: #2D4635; }
.toast.status-completed i:first-child { background: #EBF1ED; color: #2D4635; }

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    color: var(--co-primary);
    font-size: 1rem;
    margin-bottom: 3px;
    display: block;
}

.toast-msg {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.close-toast {
    color: #ccc;
    cursor: pointer;
    transition: 0.3s;
}

.close-toast:hover {
    color: #333;
}

/* --- Premium Cart Quantity Controls --- */
.quantity-controls {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 3px;
    border: 1px solid #eaeaea;
    margin: 8px 0;
}

.qty-btn {
    background: white;
    border: 1px solid #e0e0e0;
    color: var(--co-primary);
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.qty-btn:hover {
    background: var(--co-primary);
    color: white;
    border-color: var(--co-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(45, 70, 53, 0.15);
}

.qty-btn:active {
    transform: translateY(0);
}

.quantity {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    margin: 0 8px;
}

/* --- Premium Cart Delete Button --- */
.delete-btn {
    background: #FFF5F5;
    color: #e74c3c;
    border: 1px solid #FFEBEB;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.05);
    margin-left: auto;
}

.delete-btn:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.delete-btn:active {
    transform: rotate(90deg) scale(0.95);
}

/* --- Cart Icon Bounce Animation --- */
@keyframes cart-bounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.3) rotate(-10deg); color: var(--co-primary); }
    60% { transform: scale(0.9) rotate(5deg); }
    80% { transform: scale(1.1) rotate(-5deg); }
    100% { transform: scale(1); }
}

.cart-bounce-anim {
    animation: cart-bounce 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* --- Order Notification Indicators --- */
.my-orders-icon {
    position: relative;
}
.order-indicator {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1.5px solid white;
}
.tab-btn {
    position: relative;
}
.tab-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid white;
}

/* --- Phone-first polish layer for presentation/demo --- */
@media screen and (max-width: 1000px) {
    body {
        background-attachment: scroll;
    }

    .top-bar {
        height: 64px !important;
        padding: 0 12px !important;
    }

    .logo-wrapper {
        min-width: 0;
        gap: 8px !important;
    }

    .logo-circle {
        width: 42px !important;
        height: 42px !important;
    }

    .logo {
        display: block !important;
        max-width: 46px !important;
        min-width: 46px !important;
        font-size: 0 !important;
        line-height: 1 !important;
        overflow: visible !important;
    }

    .logo::after {
        content: "QCE";
        font-family: 'Playfair Display', serif;
        font-size: 1.12rem;
        font-weight: 700;
        color: var(--co-primary);
        letter-spacing: 0;
    }

    .sidebar {
        top: 64px !important;
        padding-top: 20px !important;
    }

    body.sidebar-open .sidebar {
        width: min(86vw, 300px) !important;
    }

    .sidebar a,
    .sidebar-dropdown-toggle {
        min-height: 48px;
        display: flex;
        align-items: center;
        font-size: 1rem !important;
    }

    .page-banner,
    .premium-banner {
        height: 300px !important;
        margin-top: 64px !important;
    }

    .page-overlay {
        left: 14px !important;
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        transform: translateY(-50%) !important;
    }

    .premium-banner .banner-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 22px 16px !important;
        border-radius: 10px !important;
    }

    .page-overlay h1,
    .premium-banner h1 {
        font-size: 1.55rem !important;
        line-height: 1.08 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    .page-overlay p,
    .premium-banner p {
        font-size: 0.95rem !important;
    }

    .section-container,
    .new-container,
    main {
        width: 100%;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .section-header {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 22px 14px !important;
        border-radius: 12px !important;
    }

    .section-header h2,
    .section-header h3 {
        line-height: 1.12 !important;
    }

    .new-container h2::before,
    .new-container h2::after,
    .orders-header h2::before,
    .orders-header h2::after,
    .section-header h2::before,
    .section-header h2::after {
        width: 15% !important;
    }

    .handicraft-section h2::before,
    .handicraft-section h2::after {
        width: 18% !important;
    }

    #backToTop {
        width: 42px !important;
        height: 42px !important;
        right: 14px !important;
        bottom: 18px !important;
        font-size: 16px !important;
        z-index: 2500 !important;
    }

    .category-container {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .category-item,
    .category-filter-pill {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .category-item {
        height: 120px !important;
        border-radius: 12px !important;
    }

    .category-overlay {
        padding: 8px !important;
    }

    .category-text {
        transform: none !important;
    }

    .category-text h3 {
        font-size: clamp(0.72rem, 2.7vw, 0.95rem) !important;
        line-height: 1.1 !important;
        overflow-wrap: anywhere;
    }

    .category-text p {
        display: none !important;
    }

    .new-container .products,
    .products,
    .product-container,
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .product-card,
    .new-container .product-card,
    .products-grid .product-card {
        width: 100% !important;
        max-width: none !important;
        min-height: auto !important;
        margin: 0 auto !important;
        padding: 6px !important;
        border-radius: 9px !important;
    }

    .product-card .image-container {
        min-height: 64px !important;
        margin-bottom: 3px !important;
        padding: 3px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-card img {
        width: 100% !important;
        height: 64px !important;
        object-fit: contain !important;
    }

    .product-card h3 {
        white-space: normal !important;
        overflow: hidden !important;
        text-overflow: clip !important;
        font-size: clamp(0.7rem, 2.55vw, 0.84rem) !important;
        line-height: 1.12 !important;
        min-height: 2.1em;
        margin: 3px 0 !important;
    }

    .product-card .price {
        font-size: clamp(0.72rem, 2.55vw, 0.86rem) !important;
        margin: 1px 0 4px !important;
    }

    .product-card .actions {
        gap: 4px !important;
    }

    .product-card button,
    .add-to-cart-btn,
    .quick-view-btn,
    .checkout-btn,
    .view-all-products-btn,
    .shop-now-btn,
    .confirm-btn,
    .auth-btn,
    .tab-btn,
    .admin-tab,
    .btn-admin,
    .btn-cancel,
    .btn-buy-again {
        min-height: 44px !important;
        font-size: 0.95rem !important;
        touch-action: manipulation;
    }

    .product-card button,
    .product-card .add-to-cart-btn,
    .product-card .quick-view-btn {
        min-height: 26px !important;
        padding: 3px 3px !important;
        font-size: clamp(0.58rem, 2.05vw, 0.7rem) !important;
        line-height: 1.1 !important;
        border-radius: 6px !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
    }

    .cart-sidebar {
        top: 64px !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: calc(100vh - 64px) !important;
        right: -100vw !important;
    }

    .cart-sidebar.open,
    body.cart-open .cart-sidebar {
        right: 0 !important;
    }

    .cart-sidebar .sidebar-header {
        padding: 18px 54px 18px 18px !important;
        font-size: 1.25rem !important;
    }

    .cart-item {
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .cart-item img {
        width: 58px !important;
        height: 58px !important;
        margin-right: 6px !important;
    }

    .cart-item h4 {
        font-size: 0.95rem !important;
        line-height: 1.25 !important;
    }

    .total-price {
        padding: 16px !important;
        font-size: 1.1rem !important;
    }

    .quick-view-content,
    .modal-content,
    .success-modal-content,
    .address-modal-content,
    .auth-card {
        width: calc(100vw - 28px) !important;
        max-width: calc(100vw - 28px) !important;
        padding: 22px 16px !important;
        border-radius: 16px !important;
    }

    .quick-view-content {
        width: min(92vw, 360px) !important;
        max-width: min(92vw, 360px) !important;
        max-height: calc(100vh - 92px) !important;
        padding: 14px !important;
        border-radius: 12px !important;
        flex-direction: column !important;
        overflow-y: auto !important;
    }

    .quick-view-content .product-image,
    .quick-view-content > .product-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 130px !important;
        margin: 0 0 10px 0 !important;
        padding: 8px !important;
    }

    .quick-view-content .product-details,
    .quick-view-content > .product-details {
        padding-left: 0 !important;
        width: 100% !important;
    }

    .quick-view-content .product-name {
        font-size: 1.15rem !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
        padding-right: 26px !important;
    }

    .quick-view-content .product-price {
        font-size: 0.98rem !important;
        margin-bottom: 5px !important;
    }

    .quick-view-content .product-description {
        font-size: 0.82rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0 !important;
    }

    .quick-view-content .buy-now-btn,
    .quick-view-content .message-seller-btn {
        min-height: 34px !important;
        padding: 6px 8px !important;
        margin-top: 8px !important;
        font-size: 0.82rem !important;
    }

    .quick-view-content .product-details > div:last-of-type {
        max-height: 105px !important;
        margin-top: 12px !important;
        padding-top: 10px !important;
    }

    .quick-view-close {
        top: 8px !important;
        right: 10px !important;
        font-size: 22px !important;
    }

    .checkout-header {
        margin-top: 64px !important;
        padding: 34px 14px 8px !important;
    }

    .checkout-header h1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }

    .checkout-container {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px auto 44px !important;
        padding: 0 14px !important;
    }

    .shipping-section,
    .summary-section,
    .payment-method-block,
    .customization-notes-block,
    .delivery-address-block {
        width: 100% !important;
        padding: 18px !important;
        border-radius: 14px !important;
        position: static !important;
    }

    .form-grid,
    .payment-options {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .full-width {
        grid-column: auto !important;
    }

    .form-group input,
    .form-group textarea,
    .shipping-section input,
    .shipping-section textarea,
    #orderNotes {
        min-height: 44px !important;
        font-size: 1rem !important;
    }

    .order-items {
        max-height: none !important;
    }

    .dashboard-header {
        padding: 94px 14px 42px !important;
    }

    .dashboard-header h1,
    .admin-dashboard-header h1 {
        font-size: 2.25rem !important;
        line-height: 1.08 !important;
    }

    .orders-dashboard,
    .dashboard-container,
    .analytics-container {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 18px !important;
    }

    .orders-header,
    .orders-list,
    #address-book-container {
        padding: 20px 14px !important;
    }

    .tabs,
    .admin-tabs {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 8px !important;
        margin: 12px 0 0 !important;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn,
    .admin-tab {
        flex: 0 0 auto !important;
        padding: 10px 16px !important;
        white-space: nowrap !important;
    }

    .order-card,
    .order-card-premium,
    .stat-card,
    .analytics-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 20px !important;
        border-radius: 16px !important;
        gap: 16px !important;
    }

    .order-info,
    .order-actions,
    .customer-sidebar,
    .order-main-content,
    .status-actions-sidebar {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        text-align: left !important;
    }

    .order-actions,
    .status-actions-sidebar,
    .action-group {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .admin-controls {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }

    .admin-controls input,
    #adminSearch {
        width: 100% !important;
    }

    .analytics-container,
    .stats-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .footer-content {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* --- Top Bar Icon Consistency --- */
.top-bar .top-bar-content {
    gap: 10px;
}

.top-bar .top-bar-content > .user-auth-icon,
.top-bar .top-bar-content > .my-orders-icon,
.top-bar .top-bar-content > .cart-sidebar-icon,
.top-bar .top-bar-content > .sidebar-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    margin: 0 !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--co-text-main);
    font-size: 22px;
    line-height: 1;
    border-radius: 12px;
}

.top-bar .top-bar-content > .user-auth-icon i,
.top-bar .top-bar-content > .my-orders-icon i,
.top-bar .top-bar-content > .cart-sidebar-icon i,
.top-bar .top-bar-content > .sidebar-toggle i {
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.top-bar .cart-count,
.top-bar .order-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    transform: none;
}

@media (min-width: 1001px) {
    .top-bar .top-bar-content > .sidebar-toggle {
        display: flex !important;
    }
}

@media screen and (max-width: 1000px) {
    .top-bar .top-bar-content {
        gap: 0 !important;
    }

    .top-bar .top-bar-content > .user-auth-icon,
    .top-bar .top-bar-content > .my-orders-icon,
    .top-bar .top-bar-content > .cart-sidebar-icon,
    .top-bar .top-bar-content > .sidebar-toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        flex: 0 0 38px !important;
        position: fixed !important;
        top: 13px !important;
        font-size: 18px !important;
        z-index: 1002 !important;
    }

    .top-bar .top-bar-content > .sidebar-toggle {
        right: 8px !important;
    }

    .top-bar .top-bar-content > .cart-sidebar-icon {
        right: 48px !important;
    }

    .top-bar .top-bar-content > .my-orders-icon {
        right: 88px !important;
    }

    .top-bar .top-bar-content > .user-auth-icon {
        right: 128px !important;
    }
}

@media screen and (max-width: 380px) {
    .top-bar .top-bar-content > .user-auth-icon,
    .top-bar .top-bar-content > .my-orders-icon,
    .top-bar .top-bar-content > .cart-sidebar-icon,
    .top-bar .top-bar-content > .sidebar-toggle {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        flex-basis: 34px !important;
        top: 15px !important;
    }

    .top-bar .top-bar-content > .sidebar-toggle {
        right: 7px !important;
    }

    .top-bar .top-bar-content > .cart-sidebar-icon {
        right: 43px !important;
    }

    .top-bar .top-bar-content > .my-orders-icon {
        right: 79px !important;
    }

    .top-bar .top-bar-content > .user-auth-icon {
        right: 115px !important;
    }
}

/* --- Final Responsive Polish Layer --- */
.top-bar {
    min-width: 0;
}

.top-bar .logo-wrapper,
.top-bar .top-bar-content {
    min-width: 0;
}

.top-bar .search-input-wrapper {
    min-width: 0;
}

.product-card {
    min-width: 0;
}

.product-card .image-container {
    aspect-ratio: 1 / 0.82;
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
}

.product-card h3,
.product-card .price,
.product-card button {
    overflow-wrap: anywhere;
}

.quick-view-overlay {
    padding: 16px;
}

.quick-view-content {
    width: min(92vw, 540px);
    max-height: min(720px, calc(100vh - 48px));
    overflow-y: auto;
}

.quick-view-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 12px;
    color: #f39c12;
    font-size: 0.9rem;
}

.quick-view-rating span {
    color: #777;
    font-size: 0.82rem;
}

.quick-view-reviews {
    margin-top: 18px;
    border-top: 1px solid #e6ebe4;
    padding-top: 14px;
    max-height: 160px;
    overflow-y: auto;
}

.quick-view-reviews h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 12px;
    color: var(--co-primary);
    font-size: 1rem;
}

.quick-review {
    margin-bottom: 12px;
}

.quick-review-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
}

.quick-review-meta span {
    color: #999;
}

.quick-review-stars {
    color: #f39c12;
    font-size: 0.68rem;
    margin: 4px 0;
}

.quick-review p {
    font-size: 0.78rem;
    color: #666;
    font-style: italic;
    margin: 0;
    line-height: 1.35;
}

.top-bar .top-bar-content > .user-auth-icon:focus-visible,
.top-bar .top-bar-content > .my-orders-icon:focus-visible,
.top-bar .top-bar-content > .cart-sidebar-icon:focus-visible,
.top-bar .top-bar-content > .sidebar-toggle:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--co-accent);
    outline-offset: 3px;
}

@media screen and (max-width: 1000px) {
    .top-bar .logo::after {
        letter-spacing: 0 !important;
    }

    .slider {
        min-height: 560px;
    }

    .slider .list .item .content {
        max-width: calc(100vw - 28px) !important;
    }

    .product-card .image-container {
        aspect-ratio: 1 / 0.58;
        height: auto !important;
    }

    .availability-badge {
        top: 5px;
        left: 5px;
        padding: 4px 6px;
        font-size: 0.56rem;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .sort-by,
    .filter,
    .availability-filter {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    .sort-by select {
        max-width: 68%;
    }

    .availability-toggle {
        flex-shrink: 0;
    }

    .split-content {
        gap: 12px;
        max-width: 100%;
    }

    .split-content p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .product-card h3 {
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .quick-view-overlay {
        padding: 12px !important;
        align-items: center !important;
    }

    .quick-view-content {
        width: min(92vw, 350px) !important;
        max-width: min(92vw, 350px) !important;
    }

    .quick-view-rating {
        margin: 6px 0 8px !important;
        font-size: 0.78rem !important;
    }

    .quick-view-reviews {
        max-height: 92px !important;
        margin-top: 10px !important;
        padding-top: 8px !important;
    }

    .quick-view-reviews h4 {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
}

@media screen and (max-width: 380px) {
    .product-card,
    .new-container .product-card,
    .products-grid .product-card {
        padding: 5px !important;
    }

    .product-card .image-container {
        min-height: 58px !important;
    }

    .product-card img {
        height: 58px !important;
    }
}
