﻿@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,600;0,700;1,600;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body{
    max-width: 100%;
    overflow-x: hidden;
}
body{
    font-family: "Barlow Condensed", "Michroma", sans-serif;
    font-weight: 400;
    font-style: normal;
    /* Full-site background: off-white to light gray gradient */
    background: linear-gradient(180deg, #fbfbfb 0%, #f3f5f6 40%, #eceff0 100%);
    background-attachment: fixed;
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 2.5px 16px;
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1280px, calc(100% - 24px));
    border-radius: 18px;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48));
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 14px 34px rgba(71, 53, 35, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
}

nav {
    flex: 1;
    text-align: right;
    position: relative;
    z-index: 1004;
}
nav ul {
    display: inline-flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    display: inline-block;
    margin-right: 6px;
    position: relative;
    z-index: 1005;
}
nav ul li:last-child {
    margin-right: 0;
}
nav ul li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    position: relative !important;
    z-index: 1006 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    color: #2f2a24;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
    border-radius: 8px;
    text-decoration: none;
}
nav ul li a:hover {
    color: #C8743A;
    background: rgba(200, 116, 58, 0.08);
}
.navbar a {
    position: relative;
    z-index: 1006;
    pointer-events: auto;
}
.logo img{
    display: block;
    width: 50px;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.navbar > a img{
    border-radius: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    position: relative;
    top: 2px;
    background: transparent;
    border: none;
    box-shadow: none;
}
a{
    text-decoration: none;
    color: #555;
}
p{
    color: #555;
}
.container{
    max-width: 1300px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}
.col-2{
    flex-basis: 50%;
    min-width: 300px;
}
.col-2 img{
    max-width: 100%;
    padding: 50px 0;
}
.header{
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding-top: 20px;
    background: #0f1217 url('../images/Pico Picks Cover long.jpg') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
}
.hero-bg-video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: 0;
    pointer-events: none;
}
.hero-backdrop-overlay,
.header::after{
    display: none !important;
    content: none !important;
}
.hero-container-rel,
.header .container{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}
.hero-stage-row,
.header .row{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 0 80px;
    min-height: calc(100vh - 120px);
    position: relative;
}

/* Zero Blocking 100% Transparent Container (Compact & Left-Aligned) */
.hero-text-overlay,
.hero-glass-card{
    max-width: 520px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Line 1: Main Heading - Largest & Bold (Josefin Sans) */
.hero-main-heading,
.header .col-2:first-child h1{
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 4px 22px rgba(0, 0, 0, 0.65);
}

/* Line 2: Sub-heading - Noticeably smaller than Line 1, distinct accent/subtitle style */
.hero-sub-heading{
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.3rem, 2.6vw, 1.75rem);
    font-weight: 700;
    color: #ffaa5a;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 0 16px rgba(200, 116, 58, 0.45);
}
.hero-sub-heading::after{
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #ffaa5a, transparent);
    border-radius: 2px;
    margin-top: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Paragraph: Clean, readable body text with crisp contrast over animation */
.hero-body-text,
.header .col-2:first-child p{
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: #ffffff;
    font-weight: 400;
    margin: 0 0 30px 0;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* CTA Button: Explore Now ➜ */
.hero-cta-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 34px;
    background: linear-gradient(135deg, #e67a35 0%, #C8743A 55%, #ab561f 100%);
    color: #ffffff !important;
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 28px rgba(200, 116, 58, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.hero-cta-btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
}
.hero-cta-btn:hover::before{
    left: 125%;
}
.hero-cta-btn:hover{
    background: linear-gradient(135deg, #f0853e 0%, #d87635 55%, #b95d22 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px rgba(200, 116, 58, 0.6), 0 4px 12px rgba(0, 0, 0, 0.35);
    color: #ffffff;
}
.hero-cta-btn:active{
    transform: translateY(-1px) scale(0.99);
}
.hero-cta-arrow{
    display: inline-block;
    font-size: 1.25em;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-cta-btn:hover .hero-cta-arrow{
    transform: translateX(7px);
}
.col-2 h1{
    font-size: 50px;
    line-height: 60px;
    margin: 25px 0;
}
.btn{
    display: inline-block;
    background: #C8743A;
    color: #fff;
    padding: 6px 20px;
    margin: 15px 0;
    border-radius: 10px;
    transition: background 0.5s;
    font-size: 14px;
}
.btn:hover{
    background: #4c4949;
}
.categories{
    margin: 70px 0;
}
.col-3{
    flex-basis: 30%;
    min-width: 250px;
    margin-bottom: 30px;
}
.col-3 img{
    width: 100%;
}
.small-container{
    max-width: 1080px;
    margin: auto;
    padding-left: 25px;
    padding-right: 25px;
}
.col-4{
    flex-basis: 25%;
    padding: 10px;
    min-width: 200px;
    margin-bottom: 50px;
}
.col-4 img{
    width: 100%;
}
.title{
    text-align: center;
    margin: 0 auto 80;
    position: relative;
    line-height: 60px;
    color: #555;
}
.title::after{
    content: "";
    background: #7e7878;
    width: 80px;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}
h4{
    color: #555;
    font-weight: normal;
}
.col-4 p{
    color: #555;
    font-size: 18px;
}
.rating{
    color: #FFDF00;
}
.col-4:hover{
    transform: translateY(-5px);
    transition: transform 0.5s;
}

/*----Offer section----*/
.offer{
    background: transparent;
    margin-top: 70px;
    padding: 30px 0;
}
.col-2 .offer-img{
    padding: 50px;
}

small{
    color: #555;
}

/*--- Testimonial / Review Carousel ---*/
.testimonial {
    margin: 0;
    background: transparent;
    padding: 40px 0 20px;
}

.review-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.review-carousel-track-outer {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

.review-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.review-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px 24px 22px;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(200,116,58,0.12);
}

.review-card i.fa-quote-left {
    color: #C8743A;
    font-size: 24px;
    margin-bottom: 14px;
    display: block;
}

.review-card p {
    color: #555;
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 14px;
}

.review-card .rating {
    margin-bottom: 12px;
}

.review-card .rating i {
    color: #f59e0b;
    font-size: 13px;
    margin: 0 1px;
}

.review-card img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    display: block;
    border: 2px solid #C8743A;
}

.review-card h3 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Carousel Arrows */
.review-carousel-arrow {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #C8743A;
    background: #fff;
    color: #C8743A;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.review-carousel-arrow:hover {
    background: #C8743A;
    color: #fff;
}

/* Dots */
.review-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    padding: 0;
}

.review-dot.active {
    background: #C8743A;
    width: 22px;
    border-radius: 4px;
}

/* Pagination for Products Page */
.products-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 40px;
    flex-wrap: wrap;
}

.products-pagination .pg-btn {
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    transition: all 0.2s ease;
}

.products-pagination .pg-btn:hover:not(:disabled) {
    border-color: #C8743A;
    color: #C8743A;
}

.products-pagination .pg-btn.active {
    background: #C8743A;
    border-color: #C8743A;
    color: #fff;
    font-weight: 700;
}

.products-pagination .pg-btn:disabled,
.products-pagination .pg-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.testimonial .col-3{
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.1);
    cursor: pointer;
}
.testimonial .col-3 img{
    width: 50px;
    height: 50px;
    margin: 10px auto 5px auto;
    border-radius: 50%;
}
.testimonial .col-3:hover{
    transform: translateY(-10px);
    transition: transform 0.5s;
}
.fa-solid.fa-quote-left{
    color: #C8743A;
    font-size: 25px;
    margin-bottom: 20px;
}
.col-3 p{
    color: #777;
    font-size: 12px;
    margin: 12px 0;
}
.testimonial .col-3 h3{
    color: #555;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
}

/*--- Brands ---*/
.brands .title{
    margin-bottom: 25px;
}
.brands{
    margin: 20px auto 40px;
    padding: 10px 0;
    background: transparent;
}
.brands .row{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.brands .col-5{
    width: 100%;
    padding: 14px 10px;
    border-radius: 14px;
}
.brands .col-5 img{
    width: 100%;
    cursor: pointer;
    filter: none;
    display: block;
    margin: 0 auto;
    transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}
.brands .col-5 img:hover{
    transform: scale(1.08);
    opacity: 0.95;
}
.brands .col-5:first-child img{
    width: 55%;
}
.brands .col-5:nth-child(3) img{
    width: 70%;
}

/*--- Founders ---*/
.founders{
    margin: 100px auto;
}
.founders .title{
    margin-bottom: 60px;
}
.founders-row{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.founder-card{
    background: #fff;
    border: none;
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.1);
    transition: transform 0.5s;
    width: 200px;
    height: 200px;
}
.founder-card:hover{
    transform: translateY(-10px);
    transition: transform 0.5s;
}
.founder-card:hover img{
    filter: grayscale(0%);
}
.founder-card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    margin-bottom: 15px;
    filter: grayscale(100%);
    transition: filter 0.5s;
}
.founder-card h3{
    color: #555;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 6px;
}
.founder-card p{
    color: #777;
    font-size: 10px;
    line-height: 1.2;
}

/*====================
ABOUT US
=====================*/

.about-page{

padding:80px 0;

}

.page-title{

text-align:center;

margin-bottom:60px;

}

.page-title h1{

font-size:45px;

color:#444;

}

.page-title span{

display:block;

width:100px;

height:4px;

background:#cc7a3b;

margin:15px auto;

border-radius:20px;

}

.about-row{

display:flex;

align-items:center;

justify-content:space-between;

gap:60px;

flex-wrap:wrap;

}

.about-image{

flex:1;

text-align:center;

}

.about-image img{

width:300px;

}

.about-content{

flex:1;

}

.about-content h2{

font-size:36px;

margin-bottom:20px;

}

.about-content p{

color:#666;

line-height:28px;

margin-bottom:18px;

}

.about-content h3{

margin-top:20px;

margin-bottom:15px;

}

.about-content ul{

padding-left:20px;

}

.about-content li{

margin-bottom:10px;

}

/* (Legacy why-us and contact-page styles migrated to modern sections below) */

/*--- Footer ---*/
.footer{
    background: transparent;
    font-size: 14px;
    padding: 60px 0 20px;
}
.footer p{
    color: #777;
}
.footer h3{
    color: #777;
    margin-bottom: 20px;
}
.footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4{
    min-width: 0;
    margin-bottom: 10px;
}
.footer .row{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
    gap: 20px;
    align-items: start;
}
.footer-col-1{
    flex-basis: 25%;
}
.footer-col-2{
    flex: 1;
    text-align: center;
}
.footer-col-2 img{
    width: 120px;
    margin-bottom: 20px;
}
.footer-col-3, .footer-col-4{
    flex-basis: 12%;
    text-align: center;
}
ul{
    list-style: none;
}
.app-logo{
    margin-top: 20px;
}
.app-logo img{
    width: 140px;
}
.footer hr{
    border: none;
    height: 1px;
    background: #8a8a8a;
    margin: 20px 0;
}
.copyright{
    text-align: center;
}
.menu-icon{
    display: none;
    width: 22px;
    padding: 2px;
    border-radius: 8px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45));
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 4px 10px rgba(71, 53, 35, 0.14);
    margin-left: 20px;
}
/* ==========================================================================
   Full Website Mobile UI Overhaul: Responsive Architecture
   ========================================================================== */

/* Tablet & Mobile Nav, Hero, Grids (<= 800px) */
@media only screen and (max-width: 800px) {
    body {
        padding-top: 0;
    }
    .navbar {
        top: 8px;
        width: calc(100% - 20px);
        margin: 0 auto;
        padding: 10px 14px !important;
        border-radius: 14px;
        gap: 8px;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        position: relative;
        z-index: 100;
        box-sizing: border-box !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.85));
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.7);
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    }
    .logo img {
        width: 42px !important;
        height: auto;
        display: block;
        flex-shrink: 0;
    }
    .nav-home-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 4px 8px !important;
        font-size: 12.5px !important;
        border-radius: 8px !important;
        background: rgba(200, 116, 58, 0.1) !important;
        color: #2f2a24 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    .nav-icons-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin-left: auto;
        margin-right: 0;
        flex-shrink: 0 !important;
    }
    .nav-icons-wrapper > a[href*="wishlist"] {
        display: none !important; /* Keep mobile bar clean with 1 line */
    }
    .nav-icon-btn {
        font-size: 18px !important;
        color: #2f2a24;
    }
    .nav-badge {
        top: -6px;
        right: -7px;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
        padding: 0 3px;
    }
    .menu-icon {
        display: block;
        cursor: pointer;
        width: 22px;
        height: auto;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        flex-shrink: 0;
    }
    nav ul {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0px;
        padding: 0;
        border-radius: 14px;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        overflow: hidden;
        display: none;
        z-index: 9999 !important;
        pointer-events: none !important;
        transition: max-height 0.35s ease, padding 0.35s ease;
    }
    nav ul.menu-open,
    nav ul[style*="block"],
    nav ul[style*="200px"],
    nav ul[style*="220px"],
    nav ul[style*="360px"] {
        display: block !important;
        pointer-events: auto !important;
        z-index: 9999 !important;
        max-height: 400px !important;
        padding: 10px 0 !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)) !important;
        border: 1px solid rgba(200, 116, 58, 0.25) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2) !important;
        opacity: 1 !important;
    }
    nav ul li {
        display: block !important;
        margin: 4px 12px !important;
        text-align: center !important;
        position: relative !important;
        z-index: 10000 !important;
        pointer-events: auto !important;
        width: calc(100% - 24px) !important;
    }
    nav ul li a {
        display: block !important;
        width: 100% !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #2f2a24 !important;
        padding: 12px 20px !important;
        border-radius: 8px !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 10001 !important;
        transition: all 0.2s ease !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    nav ul li a:hover,
    nav ul li a:active {
        background: rgba(200, 116, 58, 0.12) !important;
        color: #C8743A !important;
    }
    .nav-search-dropdown {
        position: fixed;
        top: 66px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        z-index: 1001;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    }
}

/* Mobile Screens (<= 768px) */
@media only screen and (max-width: 768px) {
    /* Hero Section Mobile Polish: Text Over Hero Image */
    .header {
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 10px;
    }
    .hero-bg-video {
        object-position: center center;
    }
    .hero-backdrop-overlay,
    .header::after {
        display: none !important;
        content: none !important;
        background: transparent !important;
    }
    .hero-stage-row,
    .header .row {
        justify-content: flex-start;
        align-items: flex-start !important;
        min-height: auto !important;
        padding: 16px 16px 40px !important;
        margin: 0;
        text-align: left;
    }
    .hero-text-overlay,
    .hero-glass-card {
        max-width: 100%;
        width: 100%;
        margin-top: 0 !important;
        padding: 4px 0 !important;
        border-radius: 0;
        text-align: left;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
    }
    .hero-main-heading,
    .header .col-2:first-child h1 {
        font-size: clamp(1.8rem, 6.5vw, 2.5rem);
        line-height: 1.2;
        margin: 0 0 8px 0;
        text-align: left;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 3px 20px rgba(0, 0, 0, 0.7);
    }
    .hero-sub-heading {
        font-size: clamp(1.1rem, 3.8vw, 1.45rem);
        margin-bottom: 14px;
        text-align: left;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
    }
    .hero-sub-heading::after {
        margin: 6px 0 0 0;
    }
    .hero-body-text,
    .header .col-2:first-child p {
        font-size: clamp(0.88rem, 2.6vw, 0.98rem);
        line-height: 1.6;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 24px;
        text-align: left;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.9);
    }
    .hero-body-text br,
    .header .col-2:first-child p br {
        display: none;
    }
    .hero-cta-btn {
        font-size: 11px !important;
        padding: 6px 14px !important;
        border-radius: 20px !important;
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .hero-cta-btn .hero-cta-arrow {
        font-size: 11px !important;
    }

    /* Category Filter Bar: Horizontally scrollable swipeable strip */
    .category-filter-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 8px !important;
        padding: 4px 4px 12px 4px !important;
        margin: 15px 0 25px 0 !important;
        scrollbar-width: thin;
    }
    .category-filter-bar::-webkit-scrollbar {
        height: 4px;
    }
    .category-filter-bar::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    .category-filter-bar .cat-filter-btn {
        flex: 0 0 auto !important;
        scroll-snap-align: start;
        white-space: nowrap !important;
        font-size: 12.5px !important;
        padding: 8px 16px !important;
    }

    /* Product Grid Mobile Styling: strictly 2 compact cards per row */
    .featured-products-grid,
    #featuredProductsRow,
    #categoryProductsRow,
    .products-grid,
    #latestProductsRow,
    .wishlist-grid,
    #wishlistItemsContainer {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .featured-products-grid > .col-4,
    #featuredProductsRow > .col-4,
    #categoryProductsRow > .col-4,
    .products-grid > .col-4,
    #latestProductsRow > .col-4,
    .col-4.product-card-container,
    .product-card,
    .wishlist-card {
        flex-basis: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px 8px !important;
        box-sizing: border-box !important;
    }
    .product-card-container h4 {
        font-size: 13.5px;
        margin-top: 6px;
        margin-bottom: 4px;
        line-height: 1.3;
        min-height: 34px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card-container p {
        font-size: 14px;
        margin: 4px 0 6px;
        font-weight: 700;
    }
    .product-card-container .rating {
        font-size: 11px;
    }

    /* Product Card Buttons Stacked Cleanly on Mobile */
    .product-card-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        width: 100% !important;
        margin-top: 8px !important;
    }
    .btn-card-add-cart,
    .btn-card-buy-now {
        width: 100% !important;
        padding: 7px 4px !important;
        font-size: 11.5px !important;
        border-radius: 6px !important;
        justify-content: center !important;
        white-space: normal !important;
    }

    /* Wishlist Grid: 2 clean cards per row on mobile */
    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .wishlist-card {
        padding: 10px !important;
    }
    .wishlist-card h4 {
        font-size: 13.5px !important;
    }
    .wishlist-card-buttons {
        flex-direction: column !important;
        gap: 5px !important;
    }
    .wishlist-btn-add,
    .wishlist-btn-remove {
        width: 100% !important;
        padding: 7px 4px !important;
        font-size: 11.5px !important;
        text-align: center !important;
    }

    /* Single Product Details Page: Image Stack & Touch Controls */
    .single-product .row {
        display: flex !important;
        flex-direction: column !important;
        text-align: left;
    }
    .single-product .col-2 {
        flex-basis: 100% !important;
        width: 100% !important;
        padding: 10px 0 !important;
    }
    .single-product .col-2 img#product-img {
        width: 100%;
        max-height: 380px;
        object-fit: cover;
        border-radius: 14px;
    }
    .small-img-row {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        margin-top: 10px !important;
        justify-content: space-between !important;
    }
    .small-img-col {
        flex-basis: auto !important;
        width: 100% !important;
    }
    .small-img-col .small-img {
        width: 100% !important;
        height: 64px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        border: 1.5px solid #e2e8f0;
    }
    .single-product h1 {
        font-size: 24px !important;
        line-height: 1.25 !important;
        margin-top: 10px;
    }
    /* Touch-friendly color selector pills */
    .color-pills-container {
        gap: 8px !important;
    }
    .color-pill-btn {
        padding: 9px 18px !important;
        font-size: 13.5px !important;
        min-height: 42px !important;
        border-radius: 22px !important;
    }
    /* Touch-friendly Stepper & Purchase Group */
    .product-purchase-group {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .product-purchase-group .qty-input-wrapper {
        justify-content: space-between;
        width: 100%;
    }
    .qty-control {
        min-height: 44px !important;
    }
    .qty-control .qty-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
    }
    .qty-control input[type="number"] {
        width: 52px !important;
        height: 44px !important;
        font-size: 16px !important;
    }
    .product-purchase-group .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 13px !important;
        font-size: 15px !important;
        margin: 2px 0 !important;
        border-radius: 10px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    /* Reviews Section in Product Details */
    .reviews-summary-card,
    .review-submission-card,
    .review-item-card {
        padding: 18px 16px !important;
        border-radius: 12px !important;
    }
    .reviews-rating-overall {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
    }

    /* Cart Page: Mobile Card Layout (No horizontal scrolling table) */
    .cart-page {
        padding: 85px 12px 60px !important;
    }
    .cart-page > table {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }
    .cart-page > table thead {
        display: none !important;
    }
    .cart-page > table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .cart-page > table tr {
        display: block !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 14px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        position: relative !important;
    }
    .cart-page > table td {
        display: block !important;
        padding: 2px 0 !important;
        border: none !important;
        text-align: left !important;
    }
    .cart-page > table td:first-child {
        display: inline-block !important;
        margin-bottom: 8px !important;
    }
    .cart-info {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
    }
    .cart-info img {
        width: 68px !important;
        height: 68px !important;
        border-radius: 8px !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
        border: 1px solid #e2e8f0;
    }
    .cart-info p {
        display: block !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin: 0 0 3px 0 !important;
        line-height: 1.3 !important;
    }
    .cart-page > table td:nth-child(3) {
        display: inline-flex !important;
        align-items: center !important;
        margin-top: 10px !important;
    }
    .cart-page > table td:last-child {
        float: right !important;
        margin-top: 14px !important;
        text-align: right !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #C8743A !important;
    }
    .cart-page > table tr::after {
        content: "";
        display: table;
        clear: both;
    }
    .cart-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 25px !important;
    }

    /* Checkout Page: Mobile 100% Viewport Fit */
    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .checkout-card {
        padding: 20px 14px !important;
        border-radius: 14px !important;
    }
    .checkout-row-2,
    .checkout-row-3 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .form-group-checkout input,
    .form-group-checkout select,
    .form-group-checkout textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
    .delivery-option-card,
    .payment-option-card {
        padding: 12px 14px !important;
        gap: 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .delivery-icon,
    .payment-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 16px !important;
    }
    .delivery-title-row strong {
        font-size: 13.5px !important;
    }
    .delivery-badge-fee {
        font-size: 13.5px !important;
    }
    .delivery-text span,
    .payment-text span {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
    }
    .cod-advance-box {
        padding: 14px 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .cod-payment-numbers-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .coupon-form-group,
    .coupon-input-row {
        display: flex !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 340px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }
    .coupon-form-group input,
    .coupon-input-row input {
        flex: 1 !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    /* Account Page Mobile Padding & Overflow */
    .account-page .col-2:first-child {
        display: none !important;
    }
    .account-page .row {
        justify-content: center !important;
    }
    .form-container {
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        padding: 20px 10px !important;
        overflow: hidden !important;
    }
    .form-container form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    /* Profile Page: Tabs, User Card, & Chat Mobile Optimization */
    .profile-user-card {
        padding: 18px 16px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }
    .profile-user-actions {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .profile-nav-tabs {
        gap: 6px !important;
        padding-bottom: 8px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .profile-tab-btn {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    .profile-card {
        padding: 18px 14px !important;
    }
    .profile-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .chat-window-card {
        height: 480px !important;
        max-height: 75vh !important;
    }
    .chat-header-bar {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    .chat-messages-box {
        padding: 12px !important;
    }

    /* Contact Us Page: Vertical Stack of Reach Us and Send Us A Message */
    .contact-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 24px 18px !important;
        border-radius: 16px !important;
    }
    .contact-info-card h2,
    .contact-form-card h2 {
        font-size: 22px !important;
    }
    .contact-box {
        padding: 12px 14px !important;
        gap: 14px !important;
    }

    /* About Us Founders: 2-column readable grid */
    .founders-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .founder-card {
        width: 100% !important;
        height: auto !important;
        min-height: 180px !important;
        padding: 16px 10px !important;
    }
    .founder-card img {
        width: 68px !important;
        height: 68px !important;
        margin-bottom: 10px !important;
        border-radius: 50% !important;
    }
    .founder-card h3 {
        font-size: 12.5px !important;
        margin-bottom: 4px !important;
    }
    .founder-card p {
        font-size: 11px !important;
    }

    /* Categories on Mobile: 3 in row */
    .categories .row {
        justify-content: space-between;
    }
    .categories .col-3 {
        flex-basis: 32%;
        min-width: 0;
        margin-bottom: 12px;
    }

    /* Footer: Centered columns and clean social buttons */
    .footer .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 28px !important;
    }
    .footer-col-1,
    .footer-col-2,
    .footer-col-3,
    .footer-col-4 {
        width: 100% !important;
        max-width: 360px !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .footer-col-3 ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px 18px !important;
        padding: 0 !important;
    }
    .footer-social-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 10px 0 0 !important;
    }
    .footer-social-links li {
        width: auto !important;
        flex: 0 0 auto !important;
    }
    .social-btn {
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        font-size: 0 !important;
        border-radius: 50% !important;
    }

    .app-logo img {
        margin: 0 auto !important;
    }
    .brands .row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        align-items: center;
    }
    .offer .col-2 {
        text-align: center;
    }
    .offer .col-2 .btn {
        display: block;
        width: fit-content;
        margin: 12px auto 0 auto;
        padding: 8px 18px;
    }

    /* Standardized Mobile Offsets for Content Pages (Below Relative Navbar) */
    .checkout-page,
    .profile-page,
    .coupons-page,
    .blog-page,
    .policy-page {
        padding: 25px 0 60px !important;
    }
    .reviews-hero-header {
        padding: 25px 16px 20px !important;
    }
}

/* Extra Small Phones (<= 480px) */
@media only screen and (max-width: 480px) {
    .header {
        padding-top: 6px;
    }
    .navbar {
        width: calc(100% - 12px) !important;
        padding: 8px 10px !important;
    }
    .logo img {
        width: 38px !important;
    }
    .nav-home-btn {
        padding: 3px 6px !important;
        font-size: 11px !important;
    }
    .hero-stage-row,
    .header .row {
        align-items: flex-start !important;
        min-height: auto !important;
        padding: 10px 14px 28px !important;
    }
    .hero-text-overlay,
    .hero-glass-card {
        margin-top: 0 !important;
        padding: 2px 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border: none !important;
        text-align: left;
    }
    .hero-main-heading,
    .header .col-2:first-child h1 {
        font-size: clamp(1.6rem, 7vw, 2.1rem);
        margin-bottom: 6px;
    }
    .hero-sub-heading {
        font-size: clamp(1rem, 4.4vw, 1.3rem);
        margin-bottom: 12px;
    }
    .hero-body-text,
    .header .col-2:first-child p {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 20px;
    }
    .hero-cta-btn {
        font-size: 11px !important;
        padding: 6px 14px !important;
        border-radius: 20px !important;
        width: auto !important;
        max-width: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .hero-cta-btn .hero-cta-arrow {
        font-size: 11px !important;
    }
    .small-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .featured-products-grid,
    #featuredProductsRow,
    #categoryProductsRow,
    .products-grid,
    #latestProductsRow,
    .wishlist-grid,
    #wishlistItemsContainer {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .featured-products-grid > .col-4,
    #featuredProductsRow > .col-4,
    #categoryProductsRow > .col-4,
    .products-grid > .col-4,
    #latestProductsRow > .col-4,
    .col-4.product-card-container,
    .product-card,
    .wishlist-card {
        padding: 8px 6px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        flex-basis: auto !important;
        box-sizing: border-box !important;
    }
    .product-card-container h4 {
        font-size: 12.5px;
    }
    .btn-card-add-cart,
    .btn-card-buy-now {
        font-size: 11px !important;
        padding: 6px 3px !important;
    }
    .brands .row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@keyframes heroFadeUp{
    from{
        opacity: 0;
        transform: translateY(18px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroMobileZoom{
    from{
        transform: scale(1.04);
    }
    to{
        transform: scale(1.12);
    }
}

@keyframes heroMobileGlow{
    from{
        opacity: 0.82;
    }
    to{
        opacity: 1;
    }
}

@media only screen and (min-width: 601px) and (max-width: 900px){
    .founders-row{
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .founder-card{
        height: 200px;
    }
    .founder-card img{
        width: 90px;
        height: 90px;
        filter: none;
    }
    .founder-card h3{
        font-size: 14px;
    }
}


/*----- All products page -----*/
.row-2{
    justify-content: space-between;
    margin: 100px auto 50px;
}
select{
    padding: 5px;
    border: 1px solid #C8743A;
}
select:focus{
    outline: none;
    border-color: #C8743A;
}
.page-btn{
    margin: 0 auto 80px;
}
.page-btn span{
    display: inline-block;
    border: 1px solid #C8743A;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}
.page-btn span:hover{
    background: #C8743A;
    color: #fff;
    transition: background 0.5s;
}

/*--- Single Product Details ---*/
.single-product{
    margin-top: 80px;
}
.single-product .col-2 img{
    padding: 0;
}
.single-product .col-2 img{
    padding: 20px;
}
.single-product h4{
    margin: 20px 0;
    font-size: 22px;
    font-weight: bold;
}
.single-product select{
    display: block;
    padding: 10px;
    margin: 20px 0;
}
.single-product input{
    width: 50px;
    height: 40px;
    padding-left: 10px;
    margin-right: 10px;
    font-size: 20px;
    border: 1px solid #C8743A;
}
input:focus{
    outline: none;
    border-color: #C8743A;
}
.small-img-row{
    display: flex;
    justify-content: space-between;
}
.small-img-col{
    flex-basis: 24%;
    cursor: pointer;
}

/*--- Product Details Phase 3 Enhancements ---*/
.stock-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.stock-status-badge.in-stock {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.stock-status-badge.low-stock {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.stock-status-badge.out-of-stock {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.product-option-group {
    margin: 15px 0 20px;
}

.product-option-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
}

.color-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.color-pill-btn {
    padding: 7px 16px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.color-pill-btn:hover {
    border-color: #C8743A;
    color: #C8743A;
    background: #fffaf5;
}

.color-pill-btn.selected {
    border-color: #C8743A;
    background: #C8743A;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(200, 116, 58, 0.3);
}

.color-warning-msg {
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.small-img-col .small-img {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.small-img-col .small-img:hover {
    border-color: #C8743A;
    transform: translateY(-2px);
}

.small-img-col .small-img.active-thumb {
    border-color: #C8743A;
    box-shadow: 0 0 0 2px rgba(200, 116, 58, 0.25);
}

.product-color-select {
    display: block;
    width: 100%;
    max-width: 240px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-color-select:focus {
    border-color: #C8743A;
    outline: none;
}

.product-purchase-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0 10px;
}

.product-purchase-group .qty-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-purchase-group .qty-input-wrapper label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Quantity Stepper Controls */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.qty-control:focus-within {
    border-color: #C8743A;
    box-shadow: 0 0 0 3px rgba(200, 116, 58, 0.15);
}

.qty-control .qty-btn {
    width: 38px;
    height: 42px;
    background: #f8fafc;
    border: none;
    color: #334155;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    user-select: none;
}

.qty-control .qty-btn:hover {
    background: #e2e8f0;
    color: #C8743A;
}

.qty-control .qty-btn:active {
    background: #cbd5e1;
}

.qty-control input[type="number"] {
    width: 48px;
    height: 42px;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-radius: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    padding: 0;
    margin: 0;
    outline: none;
    -moz-appearance: textfield;
}

.qty-control input[type="number"]::-webkit-outer-spin-button,
.qty-control input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Compact version for Cart table */
.qty-control-sm {
    border-radius: 6px;
}

.qty-control-sm .qty-btn {
    width: 28px;
    height: 32px;
    font-size: 15px;
}

.qty-control-sm input[type="number"] {
    width: 38px;
    height: 32px;
    font-size: 14px;
}

.product-purchase-group input[type="number"]:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.product-purchase-group .btn.btn-disabled {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.7;
}

.stock-warning-msg {
    font-size: 13px;
    color: #dc2626;
    margin-top: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/*--- Cart items details---*/
.cart-page{
    padding: 110px 0 80px;
    min-height: calc(100vh - 260px);
}
table{
    width: 100%;
    border-collapse: collapse;
}
.cart-info{
    display: flex;
    flex-wrap: wrap;
}
th{
    text-align: left;
    padding: 5px;
    color: #ffffff;
    background: #C8743A;
    font-weight: normal;
}
td{
    padding: 10px 5px;
    border-bottom: 1px solid #ddd;
}
td input{
    width: 40px;
    height: 30px;
    padding-left: 5px;
}
td a{
    color: #C8743A;
    font-size: 12px;
}
td img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}
.total-price-section{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 20px;
    width: 100%;
}
.total-price{
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.total-price table{
    border-top: 3px solid #C8743A;
    width: 100%;
    max-width: 360px;
}
.cart-checkout-actions{
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    width: 100%;
    max-width: 360px;
}
.checkout-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: #C8743A;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(200, 116, 58, 0.25);
    transition: all 0.25s ease;
    width: auto;
}
.checkout-btn:hover{
    background: #a95e2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 116, 58, 0.35);
}
td:last-child{
    text-align: right;
}
th:last-child{
    text-align: right;
}

/*--- account page ---*/
.account-page{
    padding: 110px 0 80px;
    min-height: calc(100vh - 260px);
    background: radial-gradient(#fff,#E9E9E9);
}
.form-container{
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,0.45));
    border: 1px solid rgba(255,255,255,0.80);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 380px;
    max-width: 100%;
    position: relative;
    text-align: center;
    padding: 26px 20px 24px;
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(48,33,24,0.12), inset 0 1px 0 rgba(255,255,255,0.2);
}
.form-btn{
    display: flex;
    justify-content: center;
    position: relative;
    width: 200px;
    margin: 0 auto 24px;
}
.form-btn span{
    font-weight: bold;
    padding: 0 10px;
    cursor: pointer;
    color: #555;
    width: 100px;
    text-align: center;
    display: inline-block;
    transition: color 0.25s ease;
}
.form-btn span:hover{
    color: #C8743A;
}
.form-container form{
    box-sizing: border-box;
    width: 100%;
    padding: 0 10px;
    position: relative;
    top: auto;
    left: auto;
}
.form-container form input{
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    margin: 8px 0 10px;
    padding: 0 14px;
    border: 1.5px solid rgba(200,116,58,0.4);
    border-radius: 8px;
    background: rgba(255,255,255,0.85);
    color: #2f2a24;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-container form input:focus{
    outline: none;
    border-color: #C8743A;
    box-shadow: 0 0 0 3px rgba(200,116,58,0.18);
}
.form-container form .btn{
    box-sizing: border-box;
    width: 100%;
    border: none;
    cursor: pointer;
    margin: 10px 0 8px;
    padding: 11px 0;
    border-radius: 8px;
    font-weight: 600;
    background: #C8743A;
    color: #fff;
    transition: background 0.2s, transform 0.1s;
}
.form-container form .btn:hover{
    background: #b0622c;
}
.form-container form .btn:focus{
    outline: none;
}
#LoginForm{
    display: block;
}
#RegForm{
    display: none;
}
.form-container form a{
    display: inline-block;
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    text-decoration: none;
}
.form-container form a:hover{
    color: #C8743A;
    text-decoration: underline;
}
#Indicator{
    width: 100px;
    border: none;
    background: #C8743A;
    height: 3px;
    position: absolute;
    bottom: -6px;
    left: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0px);
    border-radius: 2px;
}

/* Ensure Book Now button is sleek, properly proportioned and left-aligned */
.offer .btn,
.btn-book-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C8743A;
    color: #fff;
    padding: 10px 22px;
    margin: 18px 0 0 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(200, 116, 58, 0.25);
    transition: all 0.3s ease;
    width: fit-content;
}

.offer .btn:hover,
.btn-book-now:hover {
    background: #a85822;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 116, 58, 0.35);
    color: #fff;
}

@media only screen and (min-width: 601px){
    .offer .col-2{
        text-align: left;
    }
    .offer .col-2 .btn{
        display: inline-flex;
        margin: 18px 0 0 0;
    }
}

/*--- About Us & Contact Us Pages ---*/
.about-page, .contact-page {
    padding: 110px 0 80px;
    min-height: calc(100vh - 260px);
}

.about-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(71, 53, 35, 0.15);
    background: #fff;
    padding: 20px;
    display: block;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 32px;
    color: #2f2a24;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.about-mission-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.about-mission-list li {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-mission-list li i {
    color: #C8743A;
    font-size: 18px;
}

/* Modern "Why Choose Pico Picks" Section */
.why-us {
    margin: 60px 0 80px;
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 35px;
}

@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 580px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(200, 116, 58, 0.14);
    border-radius: 18px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(47, 42, 36, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C8743A, #f59e0b);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -8px rgba(200, 116, 58, 0.22);
    border-color: rgba(200, 116, 58, 0.35);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(200, 116, 58, 0.12), rgba(200, 116, 58, 0.04));
    border: 1px solid rgba(200, 116, 58, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon i {
    font-size: 28px;
    color: #C8743A;
    transition: transform 0.35s ease, color 0.35s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #C8743A, #df894c);
    border-color: transparent;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 10px 20px rgba(200, 116, 58, 0.28);
}

.feature-card:hover .feature-icon i {
    color: #ffffff;
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #2f2a24;
    margin-bottom: 12px;
    font-family: 'Michroma', sans-serif;
    letter-spacing: 0.5px;
}

.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/*--- Contact Us Page Side-by-Side Grid ---*/
.contact-page {
    padding: 100px 0 80px;
    min-height: calc(100vh - 260px);
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
    margin: 30px 0 60px;
}

@media (max-width: 880px) {
    .contact-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.contact-info-card, .contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(200, 116, 58, 0.16);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 14px 34px rgba(47, 42, 36, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-info-card h2, .contact-form-card h2 {
    font-size: 28px;
    color: #2f2a24;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.5;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    margin-bottom: 18px;
    background: #faf8f5;
    border: 1px solid #f0eae1;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.contact-box:hover {
    transform: translateX(6px);
    background: #ffffff;
    border-color: rgba(200, 116, 58, 0.35);
    box-shadow: 0 8px 22px rgba(200, 116, 58, 0.12);
}

.contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #C8743A, #df894c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(200, 116, 58, 0.22);
    transition: transform 0.3s ease;
}

.contact-box:hover .contact-icon {
    transform: scale(1.08);
}

.contact-box h4 {
    font-size: 16px;
    color: #2f2a24;
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-box p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Contact Form Elements */
.contact-input-group {
    margin-bottom: 18px;
}

.contact-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.contact-input-group input,
.contact-input-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fdfdfd;
    color: #2f2a24;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.contact-input-group textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-input-group input:focus,
.contact-input-group textarea:focus {
    outline: none;
    border-color: #C8743A;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(200, 116, 58, 0.12);
}

.contact-submit-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #C8743A, #a85d2b);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(200, 116, 58, 0.28);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(200, 116, 58, 0.38);
    background: linear-gradient(135deg, #df894c, #C8743A);
}

/*==================================================
  CHECKOUT & PDF INVOICE SYSTEM (PHASE 2)
===================================================*/
.checkout-page {
    padding: 100px 0 80px;
    min-height: calc(100vh - 260px);
}

.checkout-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
}

.checkout-stepper a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-stepper a:hover {
    color: #C8743A;
}

.step-divider {
    color: #cbd5e1;
}

.step-current {
    color: #C8743A;
}

.step-inactive {
    color: #94a3b8;
}

.checkout-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(200, 116, 58, 0.16);
    box-shadow: 0 14px 34px rgba(47, 42, 36, 0.08);
}

.checkout-empty-state .empty-icon {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.checkout-empty-state h2 {
    font-size: 24px;
    color: #2f2a24;
    margin-bottom: 8px;
}

.checkout-empty-state p {
    color: #64748b;
    font-size: 15px;
}

/* 2-Column Checkout Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 50px;
}

@media (max-width: 920px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.checkout-card {
    background: #ffffff;
    border: 1px solid rgba(200, 116, 58, 0.16);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 14px 34px rgba(47, 42, 36, 0.08);
}

.card-header-styled {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.card-header-styled .step-badge {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8743A, #df894c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(200, 116, 58, 0.3);
}

.card-header-styled h3 {
    font-size: 19px;
    color: #2f2a24;
    margin: 0;
    font-weight: 700;
}

.card-header-styled p {
    font-size: 13px;
    color: #64748b;
    margin: 3px 0 0 0;
}

/* Checkout Form Controls */
.form-group-checkout {
    margin-bottom: 18px;
}

.form-group-checkout label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.form-group-checkout input,
.form-group-checkout textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fdfdfd;
    color: #2f2a24;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-group-checkout input:focus,
.form-group-checkout textarea:focus {
    outline: none;
    border-color: #C8743A;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(200, 116, 58, 0.12);
}

.checkout-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .checkout-row-2 {
        grid-template-columns: 1fr;
    }
}

/* Payment Method Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #faf8f5;
}

.payment-option-card:hover {
    border-color: rgba(200, 116, 58, 0.4);
    background: #ffffff;
}

.payment-option-card.active {
    border-color: #C8743A;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(200, 116, 58, 0.15);
}

.payment-option-card input[type="radio"] {
    accent-color: #C8743A;
    width: 18px;
    height: 18px;
}

.payment-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(200, 116, 58, 0.12);
    color: #C8743A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.payment-text strong {
    display: block;
    font-size: 14px;
    color: #2f2a24;
}

.payment-text span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.checkout-place-btn {
    width: 100%;
    margin-top: 24px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #C8743A, #a85d2b);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(200, 116, 58, 0.32);
    transition: all 0.3s ease;
}

.checkout-place-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(200, 116, 58, 0.42);
    background: linear-gradient(135deg, #df894c, #C8743A);
}

.checkout-guarantee {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Order Summary (Right Column) */
.order-summary-card {
    position: sticky;
    top: 30px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 18px;
}

.summary-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2f2a24;
}

.edit-cart-link {
    font-size: 13px;
    color: #C8743A;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-cart-link:hover {
    text-decoration: underline;
}

.checkout-items-list {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-item,
.summary-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.summary-thumb,
.summary-item-row img,
.summary-item-thumb {
    width: 54px;
    height: 54px;
    min-width: 54px;
    max-width: 54px;
    border-radius: 8px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.summary-details,
.summary-item-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.summary-details h4,
.summary-item-info h4 {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-meta,
.summary-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #64748b;
}

.qty-badge {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #334155;
}

.summary-line-total {
    font-weight: 700;
    color: #1e293b;
    font-size: 14px;
    white-space: nowrap;
    text-align: right;
    min-width: 75px;
}

.summary-totals {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.totals-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 6px 0;
    font-size: 14px;
    color: #475569;
}

.totals-row > span:first-child,
.totals-row > span.totals-label {
    text-align: left;
    color: #475569;
}

.totals-row > span:last-child,
.totals-row > span.totals-value {
    text-align: right;
    font-weight: 600;
    color: #1e293b;
}

.total-order-value-row {
    border-top: 1px dashed #cbd5e1;
    padding-top: 10px;
    margin-top: 4px;
    font-weight: 600;
    color: #1e293b;
}

.advance-paid-row {
    color: #c8743a !important;
    font-weight: 600;
}

.advance-paid-row > span:last-child {
    color: #c8743a !important;
    font-weight: 700;
}

.free-shipping-hint {
    padding: 4px 0;
    font-size: 12px;
    color: #64748b;
}

.total-highlight {
    border-top: 2px solid #e2e8f0;
    margin-top: 6px;
    padding-top: 14px;
    font-size: 17px;
    font-weight: 700;
    color: #C8743A !important;
}

.total-highlight > span:last-child {
    font-size: 19px;
    color: #C8743A !important;
}

/* Order Success & Receipt Section */
.checkout-success-section {
    margin: 20px 0 80px;
}

.success-banner-card {
    background: #ffffff;
    border: 1px solid rgba(200, 116, 58, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 16px 36px rgba(47, 42, 36, 0.08);
    margin-bottom: 35px;
}

.success-icon-badge {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.2);
}

.success-banner-card h2 {
    font-size: 28px;
    color: #2f2a24;
    margin: 0 0 10px 0;
}

.success-msg {
    color: #64748b;
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.success-meta-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: #faf8f5;
    border: 1px solid #f0eae1;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 25px 0;
    text-align: left;
}

@media (max-width: 768px) {
    .success-meta-bar {
        grid-template-columns: 1fr 1fr;
    }
}

.meta-item span {
    display: block;
    font-size: 12px;
    color: #64748b;
}

.meta-item strong {
    font-size: 15px;
    color: #1e293b;
}

.success-action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.btn-pdf {
    background: #dc2626;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}

.btn-pdf:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(220, 38, 38, 0.35);
}

.btn-outline {
    background: transparent;
    color: #C8743A;
    border: 1.5px solid #C8743A;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: rgba(200, 116, 58, 0.1);
    transform: translateY(-2px);
}

/* Printable PDF Invoice Layout */
.invoice-container-wrapper {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
}

.printable-invoice {
    background: #ffffff;
    width: 100%;
    max-width: 800px;
    padding: 45px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    color: #1e293b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.invoice-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.invoice-logo {
    width: 55px;
    height: auto;
}

.invoice-brand h1 {
    font-family: 'Michroma', sans-serif;
    font-size: 22px;
    margin: 0;
    color: #2f2a24;
    letter-spacing: 0.5px;
}

.invoice-brand span {
    font-size: 12px;
    color: #C8743A;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
}

.invoice-meta-info {
    text-align: right;
}

.invoice-meta-info h2 {
    font-size: 20px;
    color: #C8743A;
    margin: 0 0 6px 0;
    font-family: 'Michroma', sans-serif;
    letter-spacing: 0.5px;
}

.invoice-meta-info p {
    margin: 3px 0;
    font-size: 13px;
    color: #64748b;
}

.inv-status-badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.invoice-divider {
    border: none;
    border-top: 2px solid #e2e8f0;
    margin: 20px 0;
}

.invoice-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 28px;
}

.party-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 8px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.party-col p {
    margin: 3px 0;
    font-size: 13px;
    color: #334155;
    line-height: 1.4;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 13px;
}

.invoice-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    text-align: left;
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.invoice-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.invoice-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: start;
    margin-top: 15px;
}

.invoice-notes h4 {
    font-size: 13px;
    color: #475569;
    margin: 0 0 6px 0;
}

.invoice-notes p {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0;
    line-height: 1.5;
}

.invoice-totals-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e2e8f0;
}

.inv-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
    color: #475569;
}

.inv-order-value-row {
    border-top: 1px dashed #cbd5e1;
    margin-top: 6px;
    padding-top: 6px;
    font-weight: 600;
    color: #1e293b;
}

.inv-advance-row {
    color: #c8743a !important;
    font-weight: 600;
}

.inv-total-row {
    border-top: 2px solid #e2e8f0;
    margin-top: 8px;
    padding-top: 8px;
    font-weight: 700;
    font-size: 16px;
    color: #C8743A;
}

.invoice-bottom-signature {
    margin-top: 35px;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
}

/*--- Category Explorer (Phase 1) ---*/
.category-explorer-container {
    margin-top: 60px;
    margin-bottom: 40px;
}

.category-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 35px;
    max-width: 800px;
}

.cat-filter-btn {
    padding: 9px 22px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 25px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cat-filter-btn:hover {
    border-color: #C8743A;
    color: #C8743A;
    transform: translateY(-1px);
}

.cat-filter-btn.active {
    background: #C8743A;
    border-color: #C8743A;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(200, 116, 58, 0.3);
}

/*--- Customer Ratings & Reviews (Phase 2) ---*/
.reviews-section-container {
    margin-top: 50px;
    margin-bottom: 50px;
}

.reviews-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.reviews-rating-overall {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.reviews-avg-number {
    font-size: 40px;
    font-weight: 700;
    color: #2f2a24;
    font-family: 'Michroma', sans-serif;
    line-height: 1;
}

.reviews-stars {
    font-size: 20px;
    color: #f59e0b;
}

.reviews-total-count {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.review-submission-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.review-submission-card h3 {
    font-size: 18px;
    color: #2f2a24;
    margin-bottom: 12px;
    font-weight: 700;
}

.star-rating-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.star-rating-selector .star-btn {
    font-size: 24px;
    color: #cbd5e1;
    transition: color 0.15s ease, transform 0.1s ease;
    cursor: pointer;
}

.star-rating-selector .star-btn.active {
    color: #f59e0b;
}

.star-rating-selector .star-btn:hover {
    transform: scale(1.15);
}

.reviews-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-item-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fef3c7;
    color: #C8743A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.reviewer-name {
    font-size: 15px;
    font-weight: 600;
    color: #2f2a24;
    margin: 0;
}

.review-date {
    font-size: 12px;
    color: #94a3b8;
}

.review-item-stars {
    font-size: 15px;
    color: #f59e0b;
}

.review-item-comment p {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Phase 3 Additions: Wishlist, Selective Cart, Coupon System
   ========================================================================== */

/* Navbar Icons Wrapper & Badges */
.nav-icons-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 10px;
}

.nav-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f2a24;
    font-size: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.nav-icon-btn:hover {
    color: #C8743A;
    transform: translateY(-2px);
}

.nav-icon-btn.active i {
    color: #ef4444;
}

.nav-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Barlow Condensed', sans-serif;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Product Card Wishlist Heart Button */
.product-card-container {
    position: relative;
}

.product-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 19px;
    cursor: pointer;
    box-shadow: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    padding: 0;
}

.product-wishlist-btn:hover {
    background: transparent;
    color: #ef4444;
    transform: scale(1.15);
    box-shadow: none;
}

.product-wishlist-btn.in-wishlist {
    color: #ef4444;
    background: transparent;
    box-shadow: none;
}

.product-wishlist-btn.in-wishlist i {
    color: #ef4444;
}

/* Direct Add to Cart & Buy Now Buttons on Product Cards */
.product-card-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
}

.btn-card-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 0;
    padding: 7px 6px;
    background: #C8743A;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(200, 116, 58, 0.2);
    white-space: nowrap;
}

.btn-card-add-cart:hover {
    background: #a85822;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(200, 116, 58, 0.35);
    color: #ffffff;
}

.btn-card-add-cart:active {
    transform: scale(0.98);
}

.btn-card-add-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-card-buy-now {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 0;
    padding: 7px 6px;
    background: #1e293b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(30, 41, 59, 0.2);
    white-space: nowrap;
}

.btn-card-buy-now:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.35);
    color: #ffffff;
}

.btn-card-buy-now:active {
    transform: scale(0.98);
}

.btn-card-buy-now:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Product Details Page Buy Now Button */
.btn-buy-now {
    background: #1e293b;
    color: #ffffff !important;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.25);
}

.btn-buy-now:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.35);
    color: #ffffff !important;
}

.btn-buy-now:disabled,
.btn-buy-now.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Product Details Page Wishlist Button */
.btn-wishlist-detail {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #475569;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 15px;
    text-decoration: none;
}

.btn-wishlist-detail:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.btn-wishlist-detail.in-wishlist {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
}

.btn-wishlist-detail.in-wishlist i {
    color: #ef4444;
}

/* Toast Notifications */
.pico-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #1e293b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pico-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dedicated Wishlist Page */
.wishlist-page {
    margin-top: 100px;
    margin-bottom: 70px;
    min-height: 60vh;
}

.wishlist-header-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 24px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 15px;
}

.wishlist-title {
    font-size: 28px;
    font-family: 'Michroma', sans-serif;
    color: #1e293b;
    margin-bottom: 6px;
}

.wishlist-subtitle {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.wishlist-counter-badge {
    background: rgba(200, 116, 58, 0.12);
    color: #C8743A;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.wishlist-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.wishlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.09);
}

.wishlist-card-img-link {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8fafc;
}

.wishlist-card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-card:hover .wishlist-card-img-link img {
    transform: scale(1.04);
}

.wishlist-remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 5;
}

.wishlist-remove-btn:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

.wishlist-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wishlist-card-title {
    text-decoration: none;
    color: #1e293b;
    margin-bottom: 8px;
}

.wishlist-card-title h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.wishlist-card-price {
    font-size: 17px;
    font-weight: 700;
    color: #C8743A;
    margin-bottom: 14px;
}

.wishlist-card-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.wishlist-move-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    white-space: nowrap;
}

.wishlist-buynow-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
    background: #1e293b;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.wishlist-buynow-btn:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.25);
}

.wishlist-empty-state {
    text-align: center;
    background: #fff;
    padding: 60px 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.empty-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fef2f2;
    color: #ef4444;
    font-size: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.wishlist-empty-state h2 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 8px;
}

.wishlist-empty-state p {
    color: #64748b;
    max-width: 480px;
    margin: 0 auto;
    font-size: 15px;
}

/* Selective Cart Checkboxes & Layout */
.cart-item-checkbox, #selectAllCart {
    width: 18px;
    height: 18px;
    accent-color: #C8743A;
    cursor: pointer;
}

.cart-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .cart-bottom-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact Coupon Card in Cart & Checkout */
.coupon-box-card {
    background: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    max-width: 440px;
}

.coupon-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.coupon-card-header h4 {
    font-size: 15px;
    color: #1e293b;
    margin: 0;
}

.coupon-box-card p {
    color: #64748b;
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.coupon-form-group,
.coupon-input-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
    max-width: 340px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.coupon-form-group input,
.coupon-input-row input {
    flex: 1 !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    outline: none !important;
    background: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.coupon-form-group input:focus,
.coupon-input-row input:focus {
    border-color: #C8743A !important;
    box-shadow: 0 0 0 3px rgba(200, 116, 58, 0.15) !important;
}

.btn-coupon,
.btn-coupon-sm,
#cartApplyCouponBtn,
#checkoutApplyCouponBtn {
    height: 42px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    background: #C8743A !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    box-sizing: border-box !important;
}

.btn-coupon:hover,
.btn-coupon-sm:hover,
#cartApplyCouponBtn:hover,
#checkoutApplyCouponBtn:hover {
    background: #a85d2b !important;
}

.coupon-feedback-msg {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 6px;
    max-width: 340px;
}

.coupon-feedback-msg.success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.coupon-feedback-msg.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Compact Checkout Coupon Box */
.checkout-coupon-box {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.checkout-coupon-box label {
    display: block;
    font-size: 12px;
    color: #475569;
    margin-bottom: 6px;
}

/* Delivery Area Options in Checkout */
.delivery-area-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delivery-option-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #faf8f5;
}

.delivery-option-card:hover {
    border-color: rgba(200, 116, 58, 0.4);
    background: #ffffff;
}

.delivery-option-card.active {
    border-color: #C8743A;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(200, 116, 58, 0.12);
}

.delivery-option-card input[type="radio"] {
    accent-color: #C8743A;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.delivery-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: rgba(200, 116, 58, 0.12);
    color: #C8743A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.delivery-text {
    flex: 1;
}

.delivery-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.delivery-title-row strong {
    font-size: 14px;
    color: #1f1b17;
}

.delivery-badge-fee {
    font-weight: 700;
    color: #C8743A;
    font-size: 14px;
}

.delivery-text span {
    font-size: 12px;
    color: #64748b;
    display: block;
}

/* Category Filter Bar on Products Catalog */
.category-filter-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin: 95px 0 30px 0;
}

.category-filter-bar .cat-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 20px;
}

/*--- Footer Enhancements (Phase 2) ---*/
.footer-col-3 ul,
.footer-col-4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col-3 ul li {
    margin-bottom: 10px;
}

.footer-col-3 ul li a {
    color: #8a8a8a;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-col-3 ul li a:hover {
    color: #C8743A;
    transform: translateX(4px);
}

.footer-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.footer-social-links li {
    width: auto;
    flex: 0 0 auto;
}


.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    font-size: 0; /* hide any text nodes */
}

.social-btn i {
    font-size: 18px;
    transition: transform 0.25s ease;
    display: inline-block;
}

.social-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-btn:hover i {
    transform: scale(1.15);
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.facebook-btn:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.youtube-btn:hover {
    background: #ff0000;
    border-color: #ff0000;
}

/*--- Coupons Page Styles ---*/
.coupons-page {
    padding: 100px 0 80px;
    min-height: calc(100vh - 280px);
}

.coupons-header {
    text-align: center;
    margin-bottom: 40px;
}

.coupons-header p {
    color: #64748b;
    max-width: 600px;
    margin: 10px auto 0;
    font-size: 15px;
}

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.coupon-card {
    background: #ffffff;
    border-radius: 14px;
    border: 2px dashed #e2e8f0;
    padding: 24px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coupon-card:hover {
    border-color: #C8743A;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(200, 116, 58, 0.15);
}

.coupon-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #ffedd5;
    color: #c2410c;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.coupon-value {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.coupon-desc {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.coupon-action-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e2e8f0;
}

.coupon-code-text {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #C8743A;
    letter-spacing: 1px;
}

.btn-copy-coupon {
    background: #C8743A;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-copy-coupon:hover {
    background: #a85822;
}

.btn-copy-coupon.copied {
    background: #16a34a;
}

.coupon-instructions-card {
    background: #fff8f3;
    border-radius: 12px;
    border: 1px solid #fed7aa;
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.coupon-instructions-card h4 {
    color: #9a3412;
    margin-bottom: 8px;
    font-size: 16px;
}

.coupon-instructions-card p {
    color: #7c2d12;
    font-size: 13px;
    line-height: 1.6;
}

/*--- Blog Page Styles ---*/
.blog-page {
    padding: 100px 0 80px;
    min-height: calc(100vh - 280px);
}

.blog-header {
    text-align: center;
    margin-bottom: 45px;
}

.blog-header p {
    color: #64748b;
    max-width: 650px;
    margin: 10px auto 0;
    font-size: 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.blog-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(30, 41, 59, 0.85);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.blog-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.blog-read-link {
    color: #C8743A;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.blog-read-link:hover {
    gap: 10px;
    color: #a85822;
}

/*--- Return Policy Page Styles ---*/
.policy-page {
    padding: 100px 0 80px;
    min-height: calc(100vh - 280px);
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-header p {
    color: #64748b;
    max-width: 650px;
    margin: 10px auto 0;
    font-size: 15px;
}

.policy-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.policy-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.policy-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-card h3 i {
    color: #C8743A;
}

.policy-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.policy-card ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 12px;
}

.policy-card ul li {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 6px;
}

.policy-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 20px 0 10px;
}

.policy-step-box {
    background: #faf8f5;
    border-radius: 10px;
    padding: 18px;
    border: 1px solid #f1ece4;
    text-align: center;
}

.policy-step-num {
    width: 32px;
    height: 32px;
    background: #C8743A;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto 10px;
}

.policy-step-box h4 {
    font-size: 14px;
    color: #1f1b17;
    margin-bottom: 6px;
}

.policy-step-box p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.policy-support-banner {
    background: #1f1b17;
    color: #ffffff;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.policy-support-banner h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #ffffff;
}

.policy-support-banner p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 20px;
}

.policy-support-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/*--- Customer Profile Dashboard Styles ---*/
.profile-page {
    padding: 100px 0 80px;
    min-height: calc(100vh - 280px);
}

.profile-user-card {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    margin-bottom: 30px;
}

.profile-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #C8743A;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(200, 116, 58, 0.35);
}

.profile-user-details h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.profile-user-details p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
}

.profile-user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    overflow-x: auto;
}

.profile-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.profile-tab-btn:hover {
    color: #C8743A;
    background: #fff7ed;
}

.profile-tab-btn.active {
    background: #C8743A;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(200, 116, 58, 0.25);
}

.profile-tab-pane {
    display: none;
}

.profile-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Order List & Cards */
.profile-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 20px;
}

.orders-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.customer-order-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
}

.customer-order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.customer-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.order-badge-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-badge-pending { background: #fef3c7; color: #b45309; }
.order-badge-confirmed { background: #e0e7ff; color: #3730a3; }
.order-badge-processing { background: #dbeafe; color: #1d4ed8; }
.order-badge-shipped { background: #f3e8ff; color: #7e22ce; }
.order-badge-delivered { background: #dcfce7; color: #15803d; }
.order-badge-cancelled { background: #fee2e2; color: #b91c1c; }

/* Profile Form */
.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.profile-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.profile-input-group input,
.profile-input-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fafc;
}

.profile-input-group input:focus,
.profile-input-group textarea:focus {
    border-color: #C8743A;
    background: #ffffff;
}

/* Chat Widget Styles */
.chat-window-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 560px;
    max-height: 80vh;
    overflow: hidden;
}

.chat-header-bar {
    padding: 16px 20px;
    background: #1e293b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-bar h3 {
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.chat-status-indicator {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.chat-messages-box {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-bubble-wrap {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}

.chat-bubble-wrap.customer {
    align-self: flex-end;
    align-items: flex-end;
}

.chat-bubble-wrap.admin {
    align-self: flex-start;
    align-items: flex-start;
}

.chat-bubble-sender-name {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 600;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.chat-bubble.customer {
    background: #C8743A;
    color: #ffffff;
    border-bottom-right-radius: 2px;
}

.chat-bubble.admin {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-bubble-time {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
}

.chat-input-bar {
    padding: 14px 18px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input-bar input {
    flex: 1;
    padding: 11px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.chat-input-bar input:focus {
    border-color: #C8743A;
}

.chat-send-btn {
    background: #C8743A;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-send-btn:hover {
    background: #a85822;
}

/* Admin Chat Layout */
.admin-chat-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    height: 600px;
    overflow: hidden;
}

.admin-conv-sidebar {
    border-right: 1px solid #e2e8f0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
}

.admin-conv-header {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-conv-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.conv-item {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.conv-item:hover {
    background: #f1f5f9;
}

.conv-item.active {
    background: #fff7ed;
    border-left: 3px solid #C8743A;
}

.conv-item-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.conv-item-preview {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-unread-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

.admin-chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 768px) {
    .admin-chat-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .profile-user-card {
        padding: 20px;
    }
}

/* =============================================================
   Phase 1 Improvements: Toast Notifications, Navbar Upgrades, 
   Homepage Grids, Socials, & Dedicated Reviews Page
   ============================================================= */

/* --- 1. Sleek In-Website Toast Notifications --- */
.pico-toast-container,
#toast-container,
#picoToastContainer {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    width: calc(100% - 32px);
    pointer-events: none !important;
}

.pico-toast-card,
.toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.9);
    pointer-events: auto !important;
    overflow: hidden;
    animation: picoToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.pico-toast-card.pico-toast-leave {
    animation: picoToastSlideOut 0.28s ease forwards;
}

@keyframes picoToastSlideIn {
    from {
        opacity: 0;
        transform: translateX(110%) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes picoToastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(110%) scale(0.92);
    }
}

.pico-toast-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pico-toast-body {
    flex: 1;
    min-width: 0;
}

.pico-toast-message {
    font-size: 14px;
    line-height: 1.45;
    color: #1e293b;
    font-weight: 500;
    word-break: break-word;
}

.pico-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 6px;
    transition: color 0.2s ease;
}

.pico-toast-close:hover {
    color: #334155;
}

.pico-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: picoToastProgressBar linear forwards;
}

@keyframes picoToastProgressBar {
    from { width: 100%; }
    to { width: 0%; }
}

/* Toast Color Variants */
.pico-toast-success {
    border-left: 5px solid #10b981;
}
.pico-toast-success .pico-toast-icon {
    color: #10b981;
}
.pico-toast-success .pico-toast-progress {
    background: #10b981;
}

.pico-toast-error {
    border-left: 5px solid #ef4444;
}
.pico-toast-error .pico-toast-icon {
    color: #ef4444;
}
.pico-toast-error .pico-toast-progress {
    background: #ef4444;
}

.pico-toast-warning {
    border-left: 5px solid #f59e0b;
}
.pico-toast-warning .pico-toast-icon {
    color: #f59e0b;
}
.pico-toast-warning .pico-toast-progress {
    background: #f59e0b;
}

.pico-toast-info {
    border-left: 5px solid #C8743A;
}
.pico-toast-info .pico-toast-icon {
    color: #C8743A;
}
.pico-toast-info .pico-toast-progress {
    background: #C8743A;
}

/* --- 2. Navbar Upgrades (Search & Cart SVG) --- */
.nav-home-btn {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #2f2a24;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(200, 116, 58, 0.12);
    border: 1px solid rgba(200, 116, 58, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-home-btn:hover {
    background: #C8743A;
    color: #ffffff;
}

/* Navbar Inline Search Active State */
.navbar.search-active {
    justify-content: flex-start !important;
    gap: 0 !important;
}

/* Hide ALL elements except .logo when search is active */
.navbar.search-active nav,
.navbar.search-active .menu-icon,
.navbar.search-active .nav-search-toggle,
.navbar.search-active .nav-icons-wrapper > a,
.navbar.search-active .nav-home-btn {
    display: none !important;
}


.navbar.search-active .nav-icons-wrapper {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 0 0 12px !important;
    width: auto !important;
    max-width: calc(100% - 90px) !important;
}


.navbar.search-active .nav-search-wrapper {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
}

.navbar.search-active .nav-search-dropdown {
    position: static !important;
    display: flex !important;
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
}

.navbar.search-active .nav-search-form {
    display: flex !important;
    flex: 1 !important;
    width: 100% !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1.5px solid rgba(200, 116, 58, 0.4) !important;
    border-radius: 20px !important;
    padding: 0 12px !important;
    align-items: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    gap: 8px !important;
}

.navbar.search-active .nav-search-form input {
    flex: 1 !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
    padding: 0 !important;
}

.navbar.search-active .nav-search-close-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #64748b !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    transition: color 0.2s ease !important;
}

.navbar.search-active .nav-search-close-btn:hover {
    color: #ef4444 !important;
}

.navbar.search-active .nav-search-results {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid rgba(200, 116, 58, 0.25) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
}

.nav-search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-search-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #2f2a24;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-search-toggle:hover {
    color: #C8743A;
    transform: translateY(-2px);
}

.nav-search-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: -10px;
    width: 360px;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(200, 116, 58, 0.22);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(47, 42, 36, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px;
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-search-dropdown.active {
    display: block !important;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.nav-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search-form:focus-within {
    border-color: #C8743A;
    box-shadow: 0 0 0 3px rgba(200, 116, 58, 0.12);
}

.nav-search-icon-inside {
    color: #94a3b8;
    font-size: 14px;
}

.nav-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: #1e293b;
    padding: 4px;
}

.nav-search-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.nav-search-close-btn:hover {
    color: #1e293b;
}

.nav-search-results {
    max-height: 330px;
    overflow-y: auto;
    margin-top: 8px;
}

.nav-search-loading {
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

.nav-search-empty {
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
}

.nav-search-view-all {
    display: inline-block;
    margin-top: 8px;
    color: #C8743A;
    font-weight: 600;
    font-size: 12px;
}

.nav-search-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nav-search-item:hover {
    background: #f1f5f9;
}

.nav-search-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.nav-search-item-info {
    flex: 1;
    min-width: 0;
}

.nav-search-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-search-item-price {
    font-size: 12px;
    color: #C8743A;
    font-weight: 700;
    margin-top: 2px;
}

.nav-search-item-arrow {
    color: #cbd5e1;
    font-size: 11px;
    transition: transform 0.2s ease;
}

.nav-search-item:hover .nav-search-item-arrow {
    transform: translateX(3px);
    color: #C8743A;
}

.nav-search-footer {
    padding: 10px 8px 4px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    margin-top: 6px;
}

.nav-search-footer a {
    color: #C8743A;
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
}

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

/* Modern Cart SVG in Navbar */
.nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cart-icon {
    display: inline-block;
    vertical-align: middle;
    color: #2f2a24;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-cart-btn:hover .nav-cart-icon {
    color: #C8743A;
    transform: translateY(-2px);
}

/* --- 3. Footer Social Buttons: TikTok --- */
.tiktok-btn:hover {
    background: #000000;
    border-color: #00f2fe;
    box-shadow: 0 4px 14px rgba(254, 44, 85, 0.45);
}

.tiktok-btn:hover i {
    color: #fe2c55;
}

/* --- 4. Homepage Grid Rows --- */
/* Featured Products strictly 2 lines (2 rows) on desktop */
.featured-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
    margin-bottom: 50px !important;
}

.featured-products-grid > .col-4 {
    flex-basis: auto !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 12px !important;
}

/* Explore by Category section neatly across 3 lines (3 rows) */
#categoryProductsRow {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 22px !important;
    margin-bottom: 40px !important;
}

#categoryProductsRow > .col-4 {
    flex-basis: auto !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 12px !important;
}

@media (max-width: 992px) {
    .featured-products-grid,
    #categoryProductsRow {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .featured-products-grid,
    #categoryProductsRow {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .nav-search-dropdown {
        position: fixed;
        top: 66px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 380px) {
    .featured-products-grid,
    #featuredProductsRow,
    #categoryProductsRow,
    .products-grid,
    #latestProductsRow,
    .wishlist-grid,
    #wishlistItemsContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}

/* --- 5. Dedicated Customer Reviews Page (reviews.html) --- */
.reviews-hero-header {
    text-align: center;
    padding: 100px 20px 30px;
}

.reviews-hero-header h1 {
    font-size: 38px;
    color: #1e293b;
    margin-bottom: 12px;
}

.reviews-hero-header p {
    color: #64748b;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.reviews-stats-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: center;
}

.reviews-score-block {
    text-align: center;
    border-right: 1px solid #f1f5f9;
    padding-right: 24px;
}

.reviews-big-number {
    font-size: 56px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    font-family: 'Barlow Condensed', sans-serif;
}

.reviews-stars-large {
    color: #f59e0b;
    font-size: 20px;
    margin: 10px 0 6px;
}

.reviews-score-sub {
    font-size: 13px;
    color: #64748b;
}

.reviews-bars-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #475569;
}

.review-bar-label {
    width: 60px;
    text-align: right;
    font-weight: 600;
}

.review-bar-track {
    flex: 1;
    height: 9px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.review-bar-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 6px;
}

.review-bar-count {
    width: 35px;
    font-size: 12px;
    color: #94a3b8;
}

.reviews-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

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

.review-pill {
    padding: 8px 18px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.review-pill:hover,
.review-pill.active {
    background: #C8743A;
    border-color: #C8743A;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(200, 116, 58, 0.25);
}

.reviews-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.review-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
}

.review-card-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8743A, #ea580c);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.review-card-meta {
    flex: 1;
    min-width: 0;
}

.review-card-author {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-verified-badge {
    color: #10b981;
    font-size: 12px;
}

.review-card-date {
    font-size: 12px;
    color: #94a3b8;
}

.review-card-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 10px;
}

.review-card-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 12px;
    text-decoration: none;
    width: fit-content;
}

.review-card-product-tag:hover {
    border-color: #C8743A;
    color: #C8743A;
}

.review-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 16px;
}

.review-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    font-size: 12px;
    color: #94a3b8;
}

.review-helpful-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.review-helpful-btn:hover {
    background: #f1f5f9;
    color: #C8743A;
}

@media (max-width: 768px) {
    .reviews-stats-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .reviews-score-block {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding-right: 0;
        padding-bottom: 20px;
    }
}

/* ==========================================================================
   Phase 3: Password Toggle, Google Auth & COD Advance & Cascading Dropdowns
   ========================================================================== */
.password-field-wrapper {
    position: relative !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 8px 0 10px !important;
}

.password-field-wrapper input {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding-right: 42px !important;
}

.eye-toggle-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: color 0.2s ease !important;
    z-index: 5 !important;
}

.eye-toggle-btn:hover {
    color: #C8743A !important;
}

.eye-toggle-btn:focus {
    outline: none !important;
}

/* OAuth Divider & Google Button */
.oauth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
    color: #94a3b8;
    font-size: 12px;
}

.oauth-divider::before,
.oauth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.oauth-divider span {
    padding: 0 10px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.btn-google-auth {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 9px 14px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    margin: 0 0 10px 0 !important;
}

.btn-google-auth:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
}

.btn-google-auth svg {
    flex-shrink: 0 !important;
}

/* Google Sign-In Quick Modal */
#googleAuthModal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.google-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.google-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    z-index: 1;
    animation: modalPopIn 0.25s ease-out;
}

@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.google-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.google-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #1e293b;
    flex: 1;
}

.google-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
}

.google-modal-close:hover {
    color: #1e293b;
}

.google-modal-subtext {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.4;
}

/* Cascading Dropdowns on checkout.html */
.checkout-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .checkout-row-3 {
        grid-template-columns: 1fr;
    }
}

/* COD Advance Notice & Payment Card on checkout.html */
.cod-advance-box {
    margin-top: 15px;
    padding: 16px;
    border-radius: 12px;
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    transition: all 0.3s ease;
}

.cod-advance-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #92400e;
    font-size: 14px;
    margin-bottom: 8px;
}

.cod-advance-desc {
    font-size: 13px;
    color: #78350f;
    line-height: 1.5;
    margin-bottom: 12px;
}

.cod-payment-numbers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

@media (max-width: 600px) {
    .cod-payment-numbers-grid {
        grid-template-columns: 1fr;
    }
}

.cod-number-card {
    background: #ffffff;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.cod-number-meta {
    display: flex;
    flex-direction: column;
}

.cod-badge-bkash {
    font-size: 11px;
    font-weight: 700;
    color: #e2136e;
    text-transform: uppercase;
}

.cod-badge-nagad {
    font-size: 11px;
    font-weight: 700;
    color: #f7941d;
    text-transform: uppercase;
}

.cod-phone-num {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.copy-btn-tag {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn-tag:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.cod-trx-input-group {
    margin-bottom: 12px;
}

.cod-trx-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 5px;
}

.cod-trx-input-group input {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #fcd34d;
    border-radius: 8px;
    font-size: 13.5px;
    background: #ffffff;
    box-sizing: border-box;
}

.cod-confirm-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #78350f;
    cursor: pointer;
    line-height: 1.4;
}

.cod-confirm-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #C8743A;
    cursor: pointer;
}

/* ==========================================================================
   PER-COLOR STOCK PILLS & QUICK-SELECT MINI-MODAL (PHASE 1)
   ========================================================================== */

/* Color Pill Variant Tags */
.color-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pill-stock-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 12px;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.pill-stock-tag.in-stock-tag {
    background: #ecfdf5;
    color: #059669;
}

.color-pill-btn.selected .pill-stock-tag.in-stock-tag {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.pill-stock-tag.out-of-stock-tag {
    background: #fee2e2;
    color: #dc2626;
}

.color-pill-btn.out-of-stock-pill {
    opacity: 0.65;
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
}

.color-pill-btn.out-of-stock-pill:hover {
    border-color: #cbd5e1;
    color: #64748b;
    background: #f1f5f9;
}

.color-pill-btn.selected.out-of-stock-pill {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.color-pill-btn.selected.out-of-stock-pill .pill-stock-tag.out-of-stock-tag {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Quick-Select Mini-Modal on Cards */
.pico-quick-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    pointer-events: none !important;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pico-quick-modal-overlay.active,
.pico-quick-modal-overlay[style*="display: flex"],
.pico-quick-modal-overlay[style*="display:flex"] {
    display: flex !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

.pico-quick-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pico-quick-modal-card {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 18px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.35);
    padding: 24px;
    z-index: 2;
    animation: picoQuickModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes picoQuickModalPop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.pico-quick-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pico-quick-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.pico-quick-modal-header {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 16px;
}

.pico-quick-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.pico-quick-header-info {
    flex: 1;
    min-width: 0;
}

.pico-quick-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pico-quick-price {
    font-size: 16px;
    font-weight: 700;
    color: #C8743A;
    margin-bottom: 6px;
}

.pico-quick-label {
    display: block;
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 8px;
}

.pico-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.pico-quick-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 16px;
}

.pico-quick-qty-row label {
    font-size: 13.5px;
    color: #334155;
    margin: 0;
}

.pico-quick-modal-footer {
    display: flex;
    gap: 10px;
}

.pico-quick-cancel-btn {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 25px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    cursor: pointer;
}

.pico-quick-cancel-btn:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

.pico-quick-submit-btn {
    flex: 1;
    border-radius: 25px !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media only screen and (max-width: 480px) {
    .pico-quick-modal-card {
        padding: 18px 16px;
    }
    .pico-quick-thumb {
        width: 58px;
        height: 58px;
    }
    .pico-quick-title {
        font-size: 14px;
    }
}

/* ==========================================================================
   Customer Notifications System
   ========================================================================== */
.notification-item-card {
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.notification-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.notification-item-card.unread {
    border-left: 4px solid var(--primary, #C8743A) !important;
}

.nav-notification-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-badge.nav-notification-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    border: 2px solid #ffffff;
}

@media only screen and (max-width: 640px) {
    .notification-item-card {
        padding: 12px;
        gap: 10px;
    }
}

/* ==========================================================================
   Admin Panel Design System & Components
   ========================================================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* 1. Sidebar Navigation */
.admin-sidebar {
    width: 260px;
    background: #1e293b;
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    box-shadow: 4px 0 14px rgba(0, 0, 0, 0.06);
}

.sidebar-brand {
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.4);
}

.sidebar-brand img {
    width: 40px;
    height: auto;
    border-radius: 6px;
}

.sidebar-brand h2 {
    font-size: 18px;
    font-family: 'Michroma', sans-serif;
    color: #fff;
    letter-spacing: 0.5px;
    margin: 0;
}

.sidebar-brand span {
    display: block;
    font-size: 11px;
    color: var(--primary, #C8743A);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 14px;
    flex: 1;
    margin: 0;
    overflow-y: auto;
}

.sidebar-menu li {
    margin-bottom: 6px;
}

.sidebar-menu button {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: transparent;
    color: #94a3b8;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    border-left: 3px solid transparent;
}

.sidebar-menu button i {
    font-size: 16px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-menu button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
}

.sidebar-menu button.active {
    background: rgba(200, 116, 58, 0.18);
    color: var(--primary, #C8743A);
    border-left-color: var(--primary, #C8743A);
    font-weight: 700;
}

.sidebar-footer {
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.3);
}

.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-footer a:hover {
    color: #fff;
}

/* 2. Main Content & Admin Container */
.admin-main {
    margin-left: 260px;
    flex: 1;
    padding: 24px;
    min-height: 100vh;
    background: #f4f6f8;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Topbar */
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.admin-topbar h1 {
    font-size: 22px;
    color: #0f172a;
    margin: 0;
    font-weight: 700;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-badge {
    background: #fef3c7;
    color: #b45309;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-btn {
    background: #ef4444;
    color: #fff;
    border: none;
    height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: #dc2626;
}

/* 3. Dashboard Metric Cards Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-bottom: 24px;
}

.stat-card {
    background: #fff;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e2e8f0;
    min-height: 96px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(200, 116, 58, 0.12);
    color: var(--primary, #C8743A);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.stat-icon.stat-revenue {
    background: #ecfdf5;
    color: #16a34a;
}

.stat-icon.stat-orders {
    background: #eff6ff;
    color: #2563eb;
}

.stat-icon.stat-products {
    background: rgba(200, 116, 58, 0.12);
    color: var(--primary, #C8743A);
}

.stat-icon.stat-stock {
    background: #fffbeb;
    color: #d97706;
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-content h3 {
    font-size: 22px;
    color: #0f172a;
    margin: 0;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-content p {
    font-size: 13px;
    color: #64748b;
    margin: 4px 0 0 0;
    font-weight: 600;
}

/* 4. Section Containers */
.admin-section {
    display: none;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.admin-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header h2 {
    font-size: 20px;
    color: #0f172a;
    margin: 0;
    font-weight: 700;
}

.section-header .action-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-add {
    background: var(--primary, #C8743A);
    color: #fff;
    height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
    margin: 0;
}

.btn-add:hover {
    background: #b26430;
}

/* 5. Product Stats Grid inside Catalog Tab */
.product-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.product-stat-box {
    background: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.product-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-blue { background: #eff6ff; color: #2563eb; }
.stat-green { background: #f0fdf4; color: #16a34a; }
.stat-amber { background: #fffbeb; color: #d97706; }
.stat-red { background: #fef2f2; color: #dc2626; }

.product-stat-info h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.1;
}

.product-stat-info p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 6. Filter Bars & Controls (Standardized 40px Height) */
.admin-filters-bar,
.product-filters-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.filter-search-box {
    position: relative;
    flex: 2;
    min-width: 220px;
}

.filter-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.filter-search-box input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 38px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    background: #fff;
    color: #1e293b;
    box-sizing: border-box;
    margin: 0;
}

.filter-search-box input:focus {
    border-color: var(--primary, #C8743A);
}

.filter-dropdown {
    height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    background: #fff;
    color: #334155;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    margin: 0;
}

.filter-dropdown:focus {
    border-color: var(--primary, #C8743A);
}

.btn-filter-reset {
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    margin: 0;
    box-sizing: border-box;
}

.btn-filter-reset:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* 7. Tables & Cell Alignments */
.table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.admin-table th {
    text-align: left;
    padding: 14px 16px;
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
    vertical-align: middle !important;
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle !important;
    color: #334155;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: #fbfcfd;
}

.product-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    background: #f1f5f9;
    display: block;
}

.badge-payment-unpaid { background: #fee2e2; color: #b91c1c; }
.badge-payment-advance { background: #e0f2fe; color: #0284c7; }
.badge-payment-fullypaid { background: #dcfce7; color: #15803d; }
.badge-payment-refunded { background: #f3e8ff; color: #7e22ce; }

/* Actions Cell & Buttons Alignment */
.actions-cell,
.table-actions-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    vertical-align: middle;
}

.btn-action {
    background: transparent;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-edit { color: #2563eb; }
.btn-edit:hover { background: #eff6ff; }
.btn-delete { color: #dc2626; }
.btn-delete:hover { background: #fef2f2; }
.btn-view { color: var(--primary, #C8743A); }
.btn-view:hover { background: rgba(200, 116, 58, 0.1); }

.status-select,
.payment-status-select {
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
}

.stock-stepper {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    vertical-align: middle;
    height: 28px;
}

.stock-stepper-btn {
    background: #fff;
    border: none;
    width: 26px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.15s, color 0.15s;
}

.stock-stepper-btn:hover {
    background: var(--primary, #C8743A);
    color: #fff;
}

.stock-stepper-val {
    padding: 0 8px;
    font-weight: 700;
    font-size: 12px;
    min-width: 28px;
    text-align: center;
    color: #1e293b;
    cursor: pointer;
    user-select: none;
    line-height: 28px;
}

.btn-star-featured {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    transition: transform 0.2s, color 0.2s;
    outline: none;
}

.btn-star-featured:hover {
    transform: scale(1.25);
}

.quick-price-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.quick-price-btn {
    color: #94a3b8;
    cursor: pointer;
    font-size: 12px;
    border: none;
    background: transparent;
    padding: 3px;
    transition: color 0.15s;
}

.quick-price-btn:hover {
    color: var(--primary, #C8743A);
}

.color-swatches-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.color-swatch-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.color-swatch-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.variant-stock-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.variant-stock-chip:hover {
    background: #e2e8f0;
    border-color: var(--primary, #C8743A);
    color: var(--primary, #C8743A);
    transform: translateY(-1px);
}

.variant-stock-chip.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.variant-stock-chip.low-stock {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

/* 8. Modals & Popups (Centered, Z-Index 2000, Backdrop Blur) */
.modal {
    display: none;
    pointer-events: none !important;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal.active,
.modal[style*="display: flex"],
.modal[style*="display:flex"] {
    display: flex !important;
    pointer-events: auto !important;
}

.modal-content {
    background: #fff;
    border-radius: 14px;
    max-width: 600px;
    width: 100%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    animation: modalSlide 0.25s ease-out;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: #fff;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    flex-shrink: 0;
}

.modal-footer .btn {
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    cursor: pointer;
    border: none;
    background: var(--primary, #C8743A);
    color: #fff;
}

/* Color Variant Row Horizontal Alignment */
.color-variant-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    width: 100%;
    box-sizing: border-box;
}

.color-variant-row .variant-color-wrap {
    flex: 2;
}

.color-variant-row .variant-stock-wrap {
    flex: 1;
    min-width: 100px;
}

.color-variant-row .form-control {
    height: 38px;
    padding: 0 12px;
    margin: 0;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
}

.btn-remove-variant {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.15s;
    margin: 0;
    box-sizing: border-box;
}

.btn-remove-variant:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

/* 9. Support Chat Split Panel */
.admin-chat-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    height: 640px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.admin-conv-sidebar {
    border-right: 1px solid #e2e8f0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.admin-conv-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    flex-shrink: 0;
}

.admin-conv-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.conv-item {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.conv-item:hover {
    background: #f1f5f9;
}

.conv-item.active {
    background: #fff7ed;
    border-left: 3px solid var(--primary, #C8743A);
}

.conv-item-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conv-item-preview {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-unread-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

.admin-chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    overflow: hidden;
}

.chat-messages-box {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-input-bar {
    padding: 14px 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.chat-input-bar input {
    flex: 1;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 21px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}

.chat-input-bar input:focus {
    border-color: var(--primary, #C8743A);
    background: #ffffff;
}

.chat-input-bar .chat-send-btn {
    background: var(--primary, #C8743A);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.chat-input-bar .chat-send-btn:hover {
    background: #b26430;
    transform: scale(1.05);
}

/* 10. Responsive Media Queries for Admin */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .admin-layout {
        flex-direction: column;
    }
    .admin-main {
        margin-left: 0;
        padding: 16px;
    }
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 10px;
        gap: 6px;
    }
    .sidebar-menu li {
        margin-bottom: 0;
    }
    .sidebar-menu button {
        padding: 0 14px;
        white-space: nowrap;
        font-size: 14px;
    }
    .sidebar-footer {
        display: none;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .admin-filters-bar,
    .product-filters-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-search-box {
        width: 100%;
    }
    .admin-chat-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
    .admin-conv-sidebar {
        max-height: 250px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .chat-messages-box {
        min-height: 350px;
        max-height: 450px;
    }
}
/* ---- Review Carousel Mobile ---- */
@media (max-width: 768px) {
    .review-carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
        flex: 0 0 32px;
    }
    .review-card {
        padding: 22px 16px 16px;
    }
    .review-card p {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .review-carousel-wrapper {
        gap: 6px;
    }
    .review-carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
        flex: 0 0 28px;
    }
}