/* =========================
   Root Theme Colors & Typography
========================= */
/* Import Font */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap");

/* Light Theme */
:root {
    /* Brand Colors */
    --brand-blue: #2962ff;
    --brand-blue-light: rgba(41, 98, 255, 0.1);
    --brand-gold: #ffd166;
    --brand-blue-hover: #1e4fff;
    --brand-icon-hover: rgba(41, 98, 255, 0.1);
    --success-green: #28a745;
    --price-color: #00ae26;
    --transition: 0.3s ease;
    --red-color: rgba(255, 20, 20, 1);

   

    /* Backgrounds */
    --bg-default: #ffffff;
    --bg-card: #f8f8f8;
    --bg-color: var(--bg-default);
    --hover-bg: #f0f0f0;

    /* Text Colors */
    --text-default: #1f2937;
    --text-muted: #6b7280; 
    --text-color: var(--text-default);
    --text-white:#FFFFFF;
     --text-grey: rgba(15, 17, 17, 0.5);

    /* Typography */
    --font-primary: "Outfit", sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;

    /* Buttons */
    --btn-bg: var(--brand-blue);
    --btn-white-text: #ffffff;
    --btn-muted:rgba(15, 17, 17, 0.5);
    --btn-black-text: var(--text-default);
    --btn-hover: var(--brand-blue-hover);
    --btn-border-radius: 0.375rem; /* 6px */
    --btn-radius: var(--btn-border-radius);
    --shadow-medium: 0 2px 4px rgba(0,0,0,0.2);
    --shadow-default: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Dark Theme */
[data-theme="dark"] {
    --brand-blue: #2962ff;
    --brand-blue-light: rgba(41, 98, 255, 0.1);
    --brand-gold: #ffd166;
    --brand-blue-hover: #5580ff;
    --success-green: #4ade80;

    /* Backgrounds */
    --bg-default: #0b0c10;
    --bg-card: #141518;
    --hover-bg: #2a2a2a;
    /* Text */
    --text-default: #e5e7eb;
    --text-muted: #9ca3af;
    --text-color: var(--text-default);

    /* Typography */
    --font-primary: "Outfit", sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    /* Buttons */
    --btn-bg: var(--brand-blue);
    --btn-white-text: #ffffff;
    --btn-hover: var(--brand-blue-hover);
    --btn-border-radius: 0.375rem;
    --btn-radius: var(--btn-border-radius);
}

/* =========================
   Typography & Base Styles
========================= */
body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    background-color: var(--bg-default);
    color: var(--text-default);
    line-height: 1.5;
    transition: background 0.3s, color 0.3s;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--text-default);
    margin: 0;
}

/* Paragraph */
p {
    color: var(--text-default);
    font-size: var(--font-size-base);
}

/* Links */
a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--brand-blue-hover);
}

/* Buttons */
button,
.btn {
    font-family: var(--font-primary);
    background-color: var(--btn-bg);
    color: var(--btn-white-text);
    padding: 0.5rem 1rem;
    border-radius: var(--btn-border-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
/* Hover & Focus */
button:hover,
button:focus,
.btn:hover,
.btn:focus,
.search-bar button:hover,
.search-bar button:focus {
    outline: none;
}
/* Input Fields */
input,
textarea,
select {
    font-family: var(--font-primary);
    padding: 0.5rem;
    background-color: var(--bg-card);
    color: var(--text-default);
    transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
}


/* loader */
#section-loader.loader-hidden { display: none; }
#section-loader.loader-visible { display: flex; }
/* Cards */
.card {
    background-color: var(--bg-card);
    border-radius: var(--btn-border-radius);
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s, box-shadow 0.3s;
}

/* Utility Classes for Text */
.text-muted {
    color: var(--text-muted);
}
.text-brand-orange {
    color: var(--brand-blue);
}
.text-brand-gold {
    color: var(--brand-gold);
}

/* Dark Theme Specific Text & Background overrides */
[data-theme="dark"] body {
    background-color: var(--bg-default);
    color: var(--text-default);
}
[data-theme="dark"] .card {
    background-color: var(--bg-card);
}

/* Navbar Base */
.navbar {
    background-color: var(--bg-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
    font-family: "Outfit", sans-serif;
}
[data-theme="dark"] .navbar {
    background-color: var(--bg-card);
}
.nav-top-wrapper{
   border-bottom: 1px solid var(--hover-bg);
}
.top-heading-wrapper{
    border-bottom: 1px solid var(--hover-bg);
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.bottom-product-wrapper{
    margin-top: -2rem;
}
/* Top Row */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    gap: 1rem;
}

/* Bottom Row */
.header-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1rem;
}
/* Navigation Links */
.header-bottom .nav-links {
    display: flex;
    gap: 2rem;
}
.header-bottom .nav-link {
    color: var(--text-default);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column; 
    text-decoration: none;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 8px; 
}

.logo-img {
    width: 40px;
    height: auto;
}

.logo-name {
    font-family: "Orbitron", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-blue);
}

/* Centered subtitle below the row */
.logo-subtitle {
    font-family: "Outfit", sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
    text-align: center; 
    width: 100%;        
}
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column; 
    text-decoration: none;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 8px; 
}

.logo-img {
    width: 40px;
    height: auto;
}

.logo-name {
    font-family: "Orbitron", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-blue);
}

/* Centered subtitle below the row */
.logo-subtitle {
    font-family: "Outfit", sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
    text-align: center; 
    width: 100%;        
}

/* Parent search bar */
.search-bar {
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    max-width: 400px;
    font-family: Arial, sans-serif;
    transition: max-width 0.3s ease;
}

/* Input wrapper */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--brand-blue-light);
    padding: 0.4rem 0.8rem;
    border-radius: 8px 0 0 8px;
    flex: 1;
    min-height: 40px;
}

/* Icon */
.search-input-wrapper i {
    color: var(--brand-blue);
    margin-right: 0.5rem;
    font-size: 1rem;
}
/* Input */
.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color:var(--text-default);
    font-size: 0.95rem;
    font-family: Arial, sans-serif;
}

/* Button */
.search-bar button {
    padding: 0.55rem 1.2rem;
    background: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s ease;
}


.search-bar button:hover {
    background: #0056b3;
}

/* Placeholder */
.animated-placeholder {
    position: absolute;
    left: 3rem;
    transform: translateY(100%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 2.5rem);
    z-index: 2;
}

/* animation: bottom → center → stay → top */
@keyframes bottom-center-top {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    20% {
        transform: translateY(0%);
        opacity: 1;
    }
    60% {
        transform: translateY(0%);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .search-bar {
        max-width: 300px;
    }
    .search-bar input {
        font-size: 0.9rem;
    }
    .search-bar button {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .search-bar {
        max-width: 280px;
    }
    .search-bar input {
        font-size: 0.85rem;
    }
    .search-bar button {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 240px;
    }
    .search-bar input {
        font-size: 0.8rem;
    }
    .search-bar button {
        padding: 0.35rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 425px) {
    .search-bar {
        display: none;
    }
}
/* buy /sell */
/* =========================
   Buy / Sell Section
========================= */
.trade-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-blue-light);
    padding: 0.4rem 0.6rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

.trade-actions .btn-buy,
.trade-actions .btn-sell {
    font-family: var(--font-primary);
    font-weight: 500;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Buy Button */
.trade-actions .btn-buy {
    background-color: var(--brand-blue);
    color: #fff;
}
.trade-actions .btn-buy:hover {
    background-color: var(--brand-blue-hover);
}

/* Sell Button */
.trade-actions .btn-sell {
    background-color: transparent;
    color: var(--text-default);
    border: 1px solid rgba(41, 98, 255, 0.3);
}
.trade-actions .btn-sell:hover {
    background-color: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .trade-actions {
    background: rgba(41, 98, 255, 0.15);
}
[data-theme="dark"] .trade-actions .btn-sell {
    color: var(--text-color);
    border-color: rgba(41, 98, 255, 0.4);
}
[data-theme="dark"] .trade-actions .btn-sell:hover {
    background-color: var(--brand-blue);
    color: #fff;
}

/* Active menu item */
.header-bottom .nav-link.active {
    color: var(--brand-blue);
    font-weight: 600;
}

.header-bottom .nav-link:hover {
    color: var(--brand-blue-hover);
}
.header-bottom .nav-links .nav-link i.fas.fa-box {
    font-size: 1.2rem;
    color: var(--brand-blue);
    transition: color 0.3s ease;
}
.header-bottom .nav-links .nav-link i.fas.fa-box:hover {
    color: var(--brand-blue-hover);
}
.header-bottom .nav-links .dropdown.highlight{
     color: var(--brand-blue); 
}
/* Highlight active category parent (text color only) */
.header-bottom .nav-links .dropdown.highlight > span {
    color: var(--brand-blue); 
    font-weight: 600;            
}

/* =========================
   Categories Dropdown (Desktop & Mobile)
========================= */

/* Desktop Dropdown */
.header-bottom .nav-links .dropdown {
    position: relative;
    cursor: pointer;
}
.header-bottom .nav-links .mega-dropdown {
    display: none;
    position: absolute;
    top: 100%; /* directly below parent */
    left: -285px; /* shift left to center 1320px width dropdown */
    width: 1192px;
    background: var(--bg-default);
    border-radius: var(--btn-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 2rem 2.5rem;
    z-index: 200;
    opacity: 1;
}

/* Show on hover */
.header-bottom .nav-links .dropdown:hover .mega-dropdown {
    display: block;
}


/* Grid Layout (5 columns) */
/* Make one full-width line below all titles */
.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

/* Continuous line after all parent titles */
.mega-dropdown-grid::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 2.2rem; 
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

/* Column styles */
.mega-column {
    padding-bottom: 1rem;
}

/* Parent category title */
.mega-title a {
    display: inline-block;
    font-weight: 600;
    color: var(--text-default);
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 0.75rem;
}
/* Child category list */
.mega-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 0.5rem;
}

.mega-column ul li {
    margin-bottom: 0.4rem;
}

.mega-column ul li a {
    display: block;
    color: var(--text-muted);
    font-size: 0.93rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-column ul li a:hover {
    color: var(--brand-blue);
}

/* Hover effect on parent title */
.mega-title a:hover {
    color: var(--brand-blue);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .header-bottom .nav-links .mega-dropdown {
    top: 100%;
    left: -150px;
    width: 940px;
    }

    .mega-dropdown-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .mega-dropdown-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Dropdown */
.mobile-menu .dropdown-menu {
    display: none;
    padding-left: 0.5rem;
}
.mobile-menu li.dropdown > a::after {
    content: "▾";
    float: right;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}
.mobile-menu li.dropdown.active > a::after {
    transform: rotate(-180deg);
}
.mobile-menu li.dropdown.active > .dropdown-menu {
    display: block;
}

/* Make nested dropdown items visible and properly indented */
.mobile-menu .dropdown-menu li a {
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-default);
}
.mobile-menu .dropdown-menu li a:hover {
    background: var(--hover-bg);
    color: var(--brand-blue);
}
.mobile-menu a.active {
    color: var(--brand-blue);
    font-weight: 600;
    background-color: var(--hover-bg);
}

/* Right Icons */
.right-icons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Buttons */
.theme-toggle,
.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1.1rem;
    border-radius: 50%;
    padding: 0.4rem;
    transition: background-color 0.3s ease;
}
.theme-toggle:hover,
.mobile-toggle:hover {
    background-color: var(--brand-icon-hover);
}
.theme-toggle img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.theme-toggle img:hover {
    transform: rotate(20deg);
}
.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.icon-btn:hover {
    background: rgba(41, 98, 255, 0.1);
}

.nav-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
[data-theme="dark"] .nav-icon,
[data-theme="dark"] .profile-icon {
    filter: brightness(0) invert(1);
}

.icon-btn:hover .nav-icon {
    transform: scale(1.1);
}

.count-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
}
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-blue-light);
    font-family: var(--font-primary);
    font-weight: 500;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .user-btn {
    color: var(--text-color);
    border-color: rgba(41, 98, 255, 0.4);
}
.guest-account {
    display: flex;
    align-items: center;
    color: var(--text-default);
    gap: 8px;
}
.guest-account:hover{
    /* Make SVG white */
    filter: invert(100%) brightness(1);
}
.guest-account:hover .account-text{
    color: var(--text-white);
}

.guest-icon-bg {
    background: var(--brand-blue-light);
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}


.account-text {
    color: var(--brand-blue);
    font-weight: 500;
    font-family: var(--font-family, "Outfit", sans-serif);
    font-size: 0.95rem;
}
.user-btn:hover .account-text {
    color: var(--btn-white-text);
}

[data-theme="dark"] .account-text {
    color: var(--text-default);
}

.avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

/* Count badge */
.count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--brand-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 50%;
    line-height: 1.2;
    min-width: 16px;
    text-align: center;
}

/* User Dropdown */
.user-menu {
    position: relative;
}
.user-menu .dropdown {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background: var(--bg-card);
    border-radius: var(--btn-radius);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.user-menu.active .dropdown {
    display: block;
}
.user-menu .dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-color);
    text-decoration: none;
}
.user-menu .dropdown a:hover {
    background: var(--hover-bg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: var(--bg-default);
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
    padding-top: 14px;
    overflow-y: auto; /* 👈 allows vertical scroll */
    -webkit-overflow-scrolling: touch; /* 👈 smooth scroll on iOS */
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
}
.mobile-menu a:hover {
    background: var(--hover-bg);
}
/* Dropdown icon */
.nav-link.dropdown .dropdown-icon,
.mobile-menu li.dropdown > a .dropdown-icon {
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

/* Rotate icon when active */
.nav-link.dropdown.active .dropdown-icon,
.mobile-menu li.dropdown.active > a .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown menu visibility */
.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border-radius: var(--btn-radius);
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 0.5rem 0;
}

.nav-links .dropdown.active .dropdown-menu {
    display: block;
}

.mobile-menu li.dropdown > .dropdown-menu {
    display: none;
    padding-left: 0.5rem;
}

.mobile-menu li.dropdown.active > .dropdown-menu {
    display: block;
}
/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--hover-bg);
}

/* Close Button */
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease;
}
.mobile-menu-close:hover {
    color: var(--brand-blue);
}
.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.mobile-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.mobile-user-name {
    font-weight: 600;
    color: var(--text-default);
}
.mobile-logout {
    display: flex !important;
    align-items: center;
    justify-content: center; 
    gap: 6px; 
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue-hover);
    border-radius: 5px;
    padding: 10px !important;
    text-decoration: none;
    margin: 1rem;
}
.mobile-logout span{
    color: var(--btn-white-text);
}
.mobile-logout i {
    font-size: 14px;
    margin-right: 6px;
    color: var(--btn-white-text);
}

/* Responsive */
@media (max-width: 992px) {
    .header-bottom,
    .account-text,
    .trade-actions {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    /* Right Icons */
    .right-icons {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .user-btn {
        padding: 0px;
        background: transparent;
    }
}

@media (min-width: 993px) {
    .mobile-toggle {
        display: none;
    }
    .mobile-menu {
        display: none;
    }
}


@media (max-width: 768px) {
    /* Right Icons */
    .right-icons {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}
@media (max-width: 425px) {

    #wishlistBtn,
    #cartBtn {
        display: none;
    }
    /* Right Icons */
    .right-icons {
        display: flex;
        align-items: center;
        gap: 0.2rem;
    }
}

/* header divider */
.header-divider {
    width: 100%; /* full width of viewport */
    height: 20px;
    background: rgba(41, 98, 255, 0.06);
    opacity: 1;
    position: relative; /* stays in normal flow */
    top: 0;
}

/* top categories */

/* Container & Header */
.featured-categories-scroll,.new-products-section {
    padding: 1rem 2rem;
    background-color: var(--bg-default);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .container {
        max-width: 972px;
    }
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
     flex-wrap: nowrap; 
}
.section-header .header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-default);
}

.section-header p {
    font-size: 1rem;
    text-align: center;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.5rem; /* smaller for tablets */
    }
    .section-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1rem;
    }
    .section-header p {
        font-size: 0.8rem;
    }
}

/* ===== UNIQUE STYLE FOR TOP SECTION HEADER ===== */
.new-section-header .header-right {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;

    /* Add horizontal scroll */
    overflow-x: auto;       /* scroll if content overflows */
    white-space: nowrap;    /* prevent wrapping */
    -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
}

/* Hide default scrollbar on some browsers (optional) */
.new-section-header .header-right::-webkit-scrollbar {
    display: none;
}



.new-section-header .header-right li {
    display: inline-block;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.new-section-header .header-right li:hover {
    color: var(--text-default);
}

/* Responsive */
@media (max-width: 768px) {
    .new-section-header .header-right {
        gap: 1rem;
        flex-wrap: nowrap;  /* prevent wrapping, scroll horizontally instead */
        justify-content: flex-start; /* scroll starts from left */
    }
    .new-section-header .header-right li {
        font-size: 0.9rem;
    }
}



/* Scroll wrapper */
.scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.categories-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
 gap:0.5rem;
    padding-bottom: 0.5rem;

    /* Scroll Snap */
    scroll-snap-type: x mandatory;
}
.categories-scroll::-webkit-scrollbar {
    display: none;
}

/* Scroll Buttons */
.scroll-btn {
    background-color: var(--bg-default);
    color: var(--text-default);
    border: none;
    border-radius: 5px;
    width: 30px;
    height: 68px;
    cursor: pointer;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    display: none; /* Hidden by default; JS controls visibility */
    position: absolute;

    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}
.scroll-btn:hover {
    background-color: var(--brand-blue);
    color: #fff;
}
.scroll-btn.left-btn {
    left: -1rem;
}

.scroll-btn.right-btn {
    right: -1rem;
}

.category-card {
    width: 130px;
    height: 118px; /* Added height to include text area */
    flex: 0 0 auto;
    cursor: pointer;
    text-align: center;
    background: transparent; /* Transparent outer card */
}
.coupons-category-card{ 
    width: 130px;
    height: 149px;
    flex: 0 0 auto;
    cursor: pointer;
    text-align: center;
    background: transparent;
}
/* Inner wrapper */
.category-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Blue box behind image */
.category-icon-bg {
    width: 101px;
    height: 88px;
    background: var(--brand-blue-light);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
}
.grocery-bg {
    background: #00ae26 !important;
}

.category-icon-bg img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-card:hover .category-icon-bg img {
    transform: scale(1.05);
}

.category-card:hover .category-icon-bg {
    transform: scale(1.2);
}
/* Category Name */
.category-card-inner h3 {
    font-family: var(--font-primary);
    font-size: small;
    font-weight: 500;
    color: var(--text-default);
    margin-top: 0.5rem;
}

.category-card-inner p {
    font-size: 0.75rem;
    color: var(--btn-white-text);
    margin: 0;
}

/* Dark Mode */
[data-theme="dark"] .category-icon-bg {
    background: rgba(41, 98, 255, 0.2);
}

[data-theme="dark"] .category-card-inner h3 {
    color: var(--text-default);
}
/* Responsive */
@media (max-width: 768px) {
    .category-card {
        width: 120px;
        height: 140px;
    }
    .category-icon-bg {
        width: 120px;
        height: 105px;
    }
    .scroll-btn {
        width: 9rem;
        height: 3rem;
        font-size: 1rem;
    }
    .scroll-wrapper {
    
    gap: 0px;
}
}
@media (max-width: 480px) {
    .categories-scroll {
    gap: 0rem;
    }
    .category-card {
        width: 110px;
        height: 144px;
    }
    .category-icon-bg {
       width: 85px;
        height: 78px;
    }
    .category-icon-bg img {
    width: 70px;
    height: 70px;
}
}
.testimonial-carousel-wrapper .testimonial-left-btn {
    left: 1rem;
}
.testimonial-carousel-wrapper .testimonial-right-btn {
    right: 1rem;
}
/* .new-products,
.top-products{
  padding: 4rem 2rem;
  background-color: var(--brand-blue-light);
} */
[data-theme="dark"] .new-products,
[data-theme="dark"] .top-products {
    background-color: #0b0c10;
}

/* about section */
.hero-wrap {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 8px;
    margin: 1rem 0;
    padding: 5rem 1rem;
    color: #fff;
    overflow: hidden;
}

/* Overlay */
.hero-wrap .overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(3px);
    border-radius: 8px;
}

/* Hero Text */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: #fff;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    background-color: #fff;
    color: var(--brand-blue, #ff4b00);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--btn-radius, 0.5rem);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--brand-blue-hover, #ff5722);
    color: #fff;
}

.btn-hero.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-hero.btn-secondary:hover {
    background-color: #fff;
    color: var(--brand-blue, #ff4b00);
}

/* Text Animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}
.delay-2 {
    animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
}
/* bout-story */
/* =========================
   About Mission Section
========================= */
.about-mission-section {
    padding: 5rem 2rem;
    background-color: var(--hover-bg);
    color: var(--text-color);
}

.about-mission-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-mission-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-default);
}

.about-mission-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-mission-col {
    flex: 1 1 45%;
    min-width: 250px;
}

.mission-card {
    background-color: var(--bg-card);
    color: var(--text-default);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

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

.mission-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.mission-card-text {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
    .about-mission-title {
        font-size: 1.8rem;
    }
    .mission-card-title {
        font-size: 1.1rem;
    }
    .mission-card-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .about-mission-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .about-mission-col {
        flex: 1 1 100%;
    }
}

/* =========================
   Dark Theme
========================= */
[data-theme="dark"] .about-mission-section {
    background-color: var(--bg-default);
    color: var(--text-color);
}
[data-theme="dark"] .mission-card {
    background-color: var(--bg-card);
    color: var(--text-default);
}

/* about mission */
/* =========================
   About Story Section
========================= */
.about-story-section {
    padding: 5rem 2rem;
    background-color: var(--bg-default);
    color: var(--text-color);
}

.about-story-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-story-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-story-img-col {
    flex: 1 1 45%;
}

.about-story-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.about-story-img:hover {
    transform: scale(1.05);
}

.about-story-text-col {
    flex: 1 1 50%;
}

.about-story-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-default);
}

.about-story-text {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
    .about-story-title {
        font-size: 1.8rem;
    }
    .about-story-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .about-story-row {
        flex-direction: column;
    }
    .about-story-img-col,
    .about-story-text-col {
        flex: 1 1 100%;
    }
    .about-story-img {
        height: auto;
    }
}

/* =========================
   Dark Theme
========================= */
[data-theme="dark"] .about-story-section {
    background-color: var(--bg-default);
    color: var(--text-color);
}
[data-theme="dark"] .about-story-title {
    color: var(--text-default);
}
[data-theme="dark"] .about-story-text {
    color: var(--text-muted);
}

/* =========================
   About CTA Section
========================= */
.about-cta-section {
    background-color: var(--brand-blue);
    color: #fff;
    border-radius: 12px;
    padding: 3rem 1rem;
    text-align: center;
    margin: 3rem 0;
}

.about-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-cta-text {
    font-size: var(--font-size-base);
    margin-bottom: 1.5rem;
    color: #fff;
}

.about-cta-btn {
    display: inline-block;
    background-color: #fff;
    color: var(--brand-blue);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-cta-btn:hover {
    background-color: var(--brand-blue-light);
    color: #fff;
}

/* =========================
   Dark Theme
========================= */
[data-theme="dark"] .about-cta-section {
    background-color: var(--brand-blue);
    color: #fff;
}

[data-theme="dark"] .about-cta-text {
    color: #fff;
}
[data-theme="dark"] .about-cta-btn {
    background-color: #fff;
    color: var(--brand-blue);
}
[data-theme="dark"] .about-cta-btn:hover {
    background-color: var(--brand-blue-light);
    color: #fff;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .about-cta-title {
        font-size: 1.6rem;
    }
    .about-cta-text {
        font-size: 0.95rem;
    }
    .about-cta-btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
}

/* contact */
/* =========================
   Contact Hero Section
========================= */
.contact-hero-section {
    position: relative;
    background-image: url('{{ asset("build/assets/images/bg_6.jpg") }}');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 8px;
    margin: 1rem 0;
    padding: 5rem 1rem;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(3px);
    border-radius: 8px;
}

.contact-hero-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================
   Dark Theme
========================= */
[data-theme="dark"] .contact-hero-section {
    background-image: url('{{ asset("build/assets/images/bg_6.jpg") }}');
    color: #fff;
}

/* =========================
   Responsive
========================= */
@media (max-width: 992px) {
    .contact-hero-title {
        font-size: 2rem;
    }
    .contact-hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-hero-title {
        font-size: 1.6rem;
    }
    .contact-hero-subtitle {
        font-size: 0.95rem;
    }
}

/* ====================================
   Contact Section (Info + Form)
==================================== */
.contact-form-section {
    background-color: var(--bg-default);
    color: var(--text-default);
    padding: 5rem 1rem;
}

.contact-section-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 12-column grid */
    gap: 3rem;
    align-items: start;
}
.contact-info-single {
    grid-column: span 5; /* Left = 4 columns */
    
}

.contact-form-wrapper {
    grid-column: span 7; /* Right = 8 columns */
}
/* Mobile View Fix: Full Width Stacking */
@media (max-width: 992px) {
    .contact-section-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-single,
    .contact-form-wrapper {
        grid-column: 1 / -1 !important;

    }
}
@media (max-width: 330px) {
    
    .contact-info-single{
        grid-column: 1 / -1 !important;
        padding: 1.5rem !important;
       
    }
    .contact-form-wrapper {
        grid-column: 1 / -1 !important;
        padding: 0.2rem !important;
       
    }
}


.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

/* Info Card */
/* Single Contact Block */
.contact-info-single {
    background-color: var(--brand-blue-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Title */
.contact-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}


/* Icons + Text Rows */
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-default);
}

/* Circle wrapper for email + phone */
.contact-icon-circle {
    width: 40px;
    height: 40px;
    background: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon inside circle */
.contact-icon-circle img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); 
}

.contact-icon {
    width: 24px;
    height: 24px;
}

/* Social Section */
.social-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    color: #565656;

}

/* Social Icons Block */
/* Container */
.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Circle wrapper */
.social-circle {
    width: 45px;
    height: 45px;
    border: 2px solid var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

/* Icon inside */
.social-circle img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Hover effect */
.social-circle:hover {
    transform: scale(1.1);
    background: var(--brand-blue-light);
}

/* Make left and right equal height */
.contact-form-wrapper {
    height: 100%;
    border-radius: 12px;
}

/* Contact Form Box */
.contact-form {
    background-color:var(--bg-default);
    padding: 2rem;
    border-radius: var(--btn-radius);
    box-shadow: 1px 1px 6px 0px #00000026;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

/* FORM ROW (Name + Email inline) */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    width: 50%;
}


/* Labels */
.contact-form label {
    font-weight: 400;
    margin-bottom: 0.3rem;
    display: block;
    
}

/* Smaller textarea */
.contact-form textarea {
    resize: none;
    height: 120px; /* Reduced size */
}

/* Full width button */
.btn.btn-hero {
    width: 100%;
    background-color: var(--brand-blue);
    color: #fff;
    padding: 0.9rem 1rem;
    font-weight: 600;
    border-radius: var(--btn-radius);
    transition: background 0.3s ease;
}

.btn.btn-hero:hover {
    background-color: var(--brand-blue-hover);
}

/* Responsive Fix */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    .form-group.half {
        width: 100%;
    }
}


/* ====================================
   Map Section
==================================== */
.contact-map-section {
    background-color: var(--bg-default);
    padding: 3rem 0;
}

.map-container {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ====================================
   CTA Section
==================================== */
.about-cta {
    background-color: var(--brand-blue);
    color: #fff;
    border-radius: 8px;
    padding: 3rem 1rem;
    text-align: center;
}

.about-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-cta p {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
}

/* ====================================
   Dark Theme
==================================== */
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .contact-info-section,
[data-theme="dark"] .info-card,
[data-theme="dark"] .about-cta {
    background-color: var(--bg-card);
    color: var(--text-default);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
    background-color: var(--bg-card);
    border-color: #444;
    color: var(--text-default);
}

/* ====================================
   Responsive Design
==================================== */
@media (max-width: 992px) {
    .contact-section-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-hero-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }
}

/* ====================================
   RETURN & EXCHANGE POLICY PAGE
==================================== */
.return-exchange-policy {
    background-color: var(--bg-default);
    color: var(--text-default);
    padding: 4rem 1rem;
}

.return-exchange-policy .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-default);
    margin-bottom: 1rem;
}

.policy-header p {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

/* Section Cards */
.policy-section {
    margin-bottom: 2.5rem;
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: var(--btn-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.policy-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.policy-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-blue);
    border-left: 4px solid var(--brand-blue);
    padding-left: 10px;
    margin-bottom: 1rem;
}

.policy-section p {
    color: var(--text-default);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
    margin-left: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.policy-section ul li,
.policy-section ol li {
    margin-bottom: 0.6rem;
}

/* Links */
.policy-section a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.policy-section a:hover {
    text-decoration: underline;
    color: var(--brand-blue-hover);
}

/* Last Updated */
.policy-last-updated {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 3rem;
    font-style: italic;
}

/* ============================
   DARK THEME
============================ */
[data-theme="dark"] .return-exchange-policy {
    background-color: var(--bg-dark);
    color: var(--text-default);
}

[data-theme="dark"] .policy-section {
    background-color: var(--bg-card-dark);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .policy-section:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(255, 165, 0, 0.2);
}

[data-theme="dark"] .policy-section h2 {
    color: var(--brand-blue);
}

[data-theme="dark"] .policy-section p,
[data-theme="dark"] .policy-section ul,
[data-theme="dark"] .policy-section ol {
    color: var(--text-light-muted);
}

[data-theme="dark"] .policy-section a {
    color: var(--brand-blue);
}

[data-theme="dark"] .policy-section a:hover {
    color: var(--brand-blue-hover);
    text-shadow: 0 0 5px var(--brand-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 1.8rem;
    }
    .policy-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .policy-header h1 {
        font-size: 1.6rem;
    }
    .policy-section h2 {
        font-size: 1.2rem;
    }
}
/* =========================
  fAQ Start
========================= */

/* Main Layout */
.faq-section {
    background: var(--bg-default);
    color: var(--text-dark);
    font-family: var(--font-primary);
    padding: 4rem 1rem;
}

.faq-title {
    text-align: center;
    color: var(--brand-blue);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.faq-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

/* Layout */
.faq-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.faq-sidebar {
    flex: 1 1 30%;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
}

.faq-sidebar h3 {
    margin-bottom: 1rem;
    color: var(--brand-blue);
}

.faq-sidebar p {
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-sidebar .btn {
    display: inline-block;
    background: var(--brand-blue);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background var(--transition);
}

.faq-sidebar .btn:hover {
    background: var(--brand-blue-hover);
}

/* FAQ Content */
.faq-content {
    flex: 1 1 65%;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 600;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--hover-bg, #f0f0f0);
}

.faq-answer {
    display: none;
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    border-top: 1px solid #ddd;
    background: #fff;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: var(--brand-blue);
    background: var(--brand-blue-light);
}

/* Footer */
.faq-footer {
    text-align: center;
    margin-top: 3rem;
}

.faq-footer .btn {
    background: var(--brand-blue);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
}

.faq-footer .btn:hover {
    background: var(--brand-blue-hover);
}

.faq-last-updated {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .faq-answer {
    background: #1a1a1a;
    border-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-wrapper {
        flex-direction: column;
    }
    .faq-sidebar,
    .faq-content {
        flex: 1 1 100%;
    }
}
/* =========================
  fAQ End
========================= */

/* testimonial */
/* =========================
   Testimonial Section (Root Theme Integrated)
========================= */
.testimonial-section {
    padding: 2rem;
    background: var(--bg-default);
    position: relative;
}

.testimonial-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-default);
}

.testimonial-header p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Carousel Wrapper */
.testimonial-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

/* Cards Wrapper */
.testimonial-cards-wrapper {
    background: var(--bg-card);
    padding: 4rem 2rem;
    max-width: 1466px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Carousel */
.testimonial-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
}
.testimonial-carousel::-webkit-scrollbar {
    display: none;
}

/* Card */
.testimonial-card {
    flex: 0 0 380px;
    background: var(--bg-default);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 30px 25px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0.9;
}

/* Highlight Center Card */
.testimonial-card.center {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

/* Avatar */
.testimonial-avatar {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.initial-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--brand-blue-light),
        var(--brand-blue)
    );
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content */
.testimonial-content {
    flex: 1;
}

.review {
    color: var(--text-default);
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.name {
    font-weight: 700;
    margin: 8px 0 4px;
    font-size: 1rem;
    color: var(--text-default);
}

.position {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quote-icon {
    font-size: 28px;
    color: var(--brand-blue);
    margin-right: 5px;
}

.stars i {
    color: var(--brand-gold);
}

.left-btn {
    left: 10px;
}
.right-btn {
    right: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .testimonial-card {
        flex: 0 0 320px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .testimonial-avatar {
        margin-bottom: 10px;
    }
    .testimonial-content {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 280px;
    }
    /* Cards Wrapper */
    .testimonial-cards-wrapper {
        background: none;
        padding: 0px;
        max-width: 1466px;
        margin: 0 auto;
        border-radius: 16px;
        box-shadow: 0px;
    }
}

/* =========================
   Login Page (Root Theme Integrated + Floating Shapes)
========================= */
body {
    font-family: var(--font-primary);
}

/* 🌈 Background */
.login-page-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-default));
    padding: 20px;
    transition: background 0.3s ease;
}

/* 🧾 Login Card */
.login-card {
    background: var(--bg-default);
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}
.login-card:hover {
    transform: translateY(-3px);
}

/* 🏷️ Title */
.login-title {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 25px;
    color: var(--text-default);
    font-weight: 600;
}

/* 📦 Inputs */
.form-group {
    margin-bottom: 18px;
}
.input-field {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    background: var(--bg-card);
    color: var(--text-default);
    transition: 0.3s;
}
.input-field:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: var(--bg-default);
    box-shadow: 0 0 0 3px rgba(133, 159, 244, 0.3);
}

/* 🔐 Password Wrapper */
.password-wrapper {
    position: relative;
}
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
}
.toggle-password:hover {
    color: var(--brand-blue);
}

/* ⚠️ Error Message */
.error-message {
    font-size: 0.85rem;
    color: #dc2626;
    margin-top: 6px;
}

/* 🧡 Login Button */
.login-btn {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(
        135deg,
        var(--brand-blue),
        var(--brand-blue-light)
    );
    color: var(--btn-white-text);
    font-weight: 600;
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}
.login-btn:hover {
    background: linear-gradient(
        135deg,
        var(--brand-blue-hover),
        var(--brand-blue)
    );
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(133, 159, 244, 0.3);
}
.login-btn:focus {
    outline: none !important;
     box-shadow: 0 0 0 3px rgba(133, 159, 244, 0.3);
    border: none;
}
.divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}
.divider span {
    background: var(--bg-default);
    color: var(--text-muted);
    padding: 0 10px;
    position: relative;
    z-index: 2;
}
.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #fff;
    color: #444;
    border: 1px solid #ccc;
    border-radius: var(--btn-radius);
    padding: 0.6rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
[data-theme="dark"] .google-btn {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
}
[data-theme="dark"] .google-btn:hover {
    background: #1a1a1a;
    color: var(--brand-blue);
    border: 1px solid #333;
}
.google-btn:hover {
    background: #f5f5f5;
}
.google-icon {
    width: 22px;
    height: 22px;
}

/* 🔗 Register Link */
.register-link {
    text-align: center;
    margin-top: 20px;
}
.register-link a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
}
.register-link a:hover {
    text-decoration: underline;
}

/* ✨ Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 📱 Responsive */
@media (max-width: 400px) {
    .login-page-wrapper {
        padding: 4px;
    }
}

/* =========================
   Floating Emoji Shapes
========================= */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}
.shape {
    position: absolute;
    bottom: -60px;
    opacity: 0.15;
    animation: floatUp 20s linear infinite;
    user-select: none;
}
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-50vh) rotate(15deg);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(-15deg);
        opacity: 0;
    }
}
.text-3xl {
    font-size: 1.75rem;
}
.text-4xl {
    font-size: 2rem;
}
.text-5xl {
    font-size: 2.5rem;
}
.text-6xl {
    font-size: 3rem;
}
.shape:nth-child(even) {
    animation-direction: reverse;
}
.shape:nth-child(odd) {
    animation-duration: 22s;
}

/* 🌗 Dark Mode Adjustments */
[data-theme="dark"] .login-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .input-field {
    border-color: #2f2f2f;
    background: var(--bg-card);
    color: var(--text-default);
}
[data-theme="dark"] .login-page-wrapper {
    background: linear-gradient(135deg, #111, #1a1a1a);
}
[data-theme="dark"] .shape {
    opacity: 0.25;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

/* ---------- CARD CONTAINERS ---------- */
/* #order-history {
    margin: 2rem auto;
    max-width: 900px;
    padding: 1rem;
} */

.order-card:hover {
    transform: translateY(-4px);
}

/* ---------- HEADER ---------- */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.order-header h3,
.card-body h3{
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}
.order-date span:first-child{
    color:var(--text-muted);
}
.order-header p
.card-body p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ---------- STATUS BADGES ---------- */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.status-delivered {
    background: #dcfce7;
    color: #166534;
}
[data-theme="dark"] .status-delivered {
    background: #14532d;
    color: #bbf7d0;
}

.status-processing {
    background: #fef3c7;
    color: #92400e;
}
[data-theme="dark"] .status-processing {
    background: #78350f;
    color: #fcd34d;
}

.status-pending {
    background: #e0e7ff;
    color: #3730a3;
}
[data-theme="dark"] .status-pending {
    background: #312e81;
    color: #c7d2fe;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}
[data-theme="dark"] .status-cancelled {
    background: #7f1d1d;
    color: #fca5a5;
}
.status-shipped {
    background: #dbeafe; /* soft blue background */
    color: #1e3a8a; /* deep blue text */
}
[data-theme="dark"] .status-shipped {
    background: #1e3a8a; /* dark navy background */
    color: #bfdbfe; /* light blue text */
}
/* ---------- ONLY TEXT COLORS ---------- */

.order-filter-pending {
    color: #3730a3 !important;
}
[data-theme="dark"] .order-filter-pending {
    color: #c7d2fe !important;
}

.order-filter-processing {
    color: #92400e !important;
}
[data-theme="dark"] .order-filter-processing {
    color: #fcd34d !important;
}

.order-filter-shipped {
    color: #1e3a8a !important;
}
[data-theme="dark"] .order-filter-shipped {
    color: #bfdbfe !important;
}

.order-filter-delivered {
    color: #166534 !important;
}
[data-theme="dark"] .order-filter-delivered {
    color: #bbf7d0 !important;
}

.order-filter-cancelled {
    color: #991b1b !important;
}
[data-theme="dark"] .order-filter-cancelled {
    color: #fca5a5 !important;
}

/* orders history */
/* Full filter bar background */
.order-filter-bar {
    background: var(--brand-blue-light); /* your variable */
    border-radius: 12px;
    margin-top: 2rem;
    padding: 0.5rem;
}

/* White icon background */
.icon-bg {
    background: #fff;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown styling */
.order-filter-select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff; /* white bg */
    color: var(--text-color);
    cursor: pointer;
}


/* ---------- ITEM LIST ---------- */
#order-history{
    padding: 0.3rem;
}
.order-items {
    margin-bottom: 1rem;
}

.order-items h4 {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.item-info img {
    width: 42px;
    height: 42px;
    border-radius: 0.5rem;
    object-fit: cover;
}

.item-info .name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

.item-info .qty {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.item-price {
    font-weight: 500;
    font-size: 0.9rem;
}
.delivery-charge {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}
@media (max-width: 500px) {
    #order-history{
     padding: 0.3rem;
     margin:0.3rem;
    }
    .item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .item-info{
        align-items: center;
        gap:1rem;
    }
    
    .order-filter-bar {
        margin:0.3rem;
        margin-bottom: 2px;
        padding: 0.5rem;
    }
    .order-header h3 , .status-badge{
        font-size: xx-small;
        font-weight: 800;
    }
    .order-footer p{
        font-size: xx-small;
    }
    .order-date .span{
        font-size: xx-small;
    }
    .review{
        flex-direction:column;
    }
    .order-header h3,
    .order-header p,
    .card-body h3,
    .order-date span,
    .review .label,
    .review-product-name{
        font-size: 0.5rem;
    }
    .rating-star{
        width:20px;
    }
}
/* ---------- FOOTER ---------- */
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed  #00000033;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

[data-theme="dark"] .order-footer {
    border-color: rgba(255, 255, 255, 0.1);
}
.order-footer .order-price ,
.order-header .order-delivery-date,
.card-body .order-delivery-date{
    color: var(--price-color);
}
.delivery-free {
    color: var(--price-color);
    font-weight: 600;
}
.order-footer p {
    /* font-size: 0.85rem; */
    color: var(--text-muted);
}

.order-footer span {
    font-weight: 600;
    color: var(--text-color);
}
.order-hat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-top: 1px dashed var(--text-muted);
}

.review {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
}

.stars {
    color: #f5a623;
    font-size: 16px;
}

.return-policy {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.return-policy img {
    width: 16px;
    height: 16px;
}

.return-order a {
    color: var(--brand-blue);
    text-decoration: underline;
    font-weight: 500;
}

.track-btn ,.submit-review-btn,.open-review-modal {
    background: var(--btn-bg);
    color: var(--btn-white-text);
    font-size: var(--font-size-sm);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--btn-radius);
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.track-btn:hover ,.submit-review-btn:hover ,
.open-review-modal:hover{
    border:1px solid var(--btn-hover);
    background: transparent;
    color: var(--text-default);
}
.cancle-order,.cancle-review{
    border: 1px solid #D8D7D4;
    color: var(--btn-black-text);
    background:transparent;
    padding: 0.5rem 1rem;
}
@media (max-width: 500px){
      .track-btn{
        font-size: xx-small;
        padding: 0.2rem;
     } 
      .order-date .span{
        font-size: xx-small;
     }
     .submit-review-btn,.open-review-modal{
        font-size: xx-small;
    }
    .order-hat{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}
/* ---------- EMPTY STATE ---------- */
#no-orders {
    text-align: center;
    padding: 4rem 1rem;
}

#no-orders .emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#no-orders h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

#no-orders p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

#no-orders a {
    background: var(--btn-bg);
    color: var(--btn-white-text);
    padding: 0.75rem 1.5rem;
    border-radius: var(--btn-radius);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s;
}

#no-orders a:hover {
    background: var(--btn-hover);
}

/* Order details start */

.card-header {
    font-weight: 600;
    margin-bottom: 15px;
}
.card-header-id{
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.card-row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}
.card-col {
    flex: 1;
    min-width: 150px;
    padding: 10px;
}

/* Timeline */
.track {
    position: relative;
    display: flex;
    justify-content: space-between;
}


.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* LINE BETWEEN STEPS */
.step::after {
    content: "";
    position: absolute;
    top: 22px;                 /* center of icon */
    left: 50%;
    margin-left: 22px;         /* gap after current icon */
    width: calc(100% - 44px);  /* leave gap before next icon */
    height: 2px;
    background: var(--btn-muted);
    z-index: -1;
}

/* REMOVE LINE AFTER LAST STEP */
.step:last-child::after {
    display: none;
}

/* ACTIVE LINE */
.step.active::after {
    background: var(--brand-blue);
}

/* REMOVE line after last step */
.step:last-child::after {
    display: none;
}

.step-icon {
    display: flex;
    justify-content: center;
}

.outer-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--btn-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.inner-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background:var(--btn-muted); /* default gray */
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-circle img {
    width: 16px;
    height: 16px;
}

.step.active .inner-circle {
    background: var(--brand-blue);
}
.step .step-text {
    margin-top: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Item Rows */
.item-row-details img {
    border-radius: 6px;
    object-fit: cover;
}
.item-prices {
    min-width: 120px;
    text-align: right;
}

/* Responsive – Vertical Timeline */
@media (max-width: 768px) {

    .track {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .step {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 28px;
        position: relative;
    }

    /* ICON ALIGNMENT */
    .step-icon {
        flex-shrink: 0;
    }

    /* VERTICAL LINE BETWEEN STEPS */
    .step::after {
        content: "";
        position: absolute;
        left: -2px;
        top: 44px;
        width: 2px;
        height: calc(100% - 16px);
        background: var(--btn-muted);
        z-index: -1;
    }

    /* REMOVE LINE AFTER LAST STEP */
    .step:last-child::after {
        display: none;
    }

    /* ACTIVE LINE */
    .step.active::after {
        background: var(--brand-blue);
    }

    .step-text {
        margin-top: 6px !important;
        font-size: 14px;
        margin-left: 20px;
    }

    /* OTHER PAGE ELEMENTS */
    .order-buttons {
        flex-direction: column;
    }

    .item-row-details {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-prices {
        text-align: left;
        margin-top: 5px;
    }
}
/* MAP SECTION */
.order-map-wrapper {
    margin-top: 30px;
}

.map-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111827;
}

.order-map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
}
.map-container iframe {
    height: 520px;   /* was 450px */
}
/* Responsive map height */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}


/* Order details end */

/* profile section */
/* Reuse your root colors and styles */
.profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid var(--brand-blue-light);
}

.form-group input,
.form-group select,
.form-group textarea  {
    width: 100%;
    padding: 0.5rem;
    border-radius: var(--btn-border-radius);
    border: 1px solid #d1d5db;
}
.profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--brand-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    border: 2px solid var(--brand-blue-light);
}
.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-blue);
}

/* Layout */
.profile-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Sidebar */
.sidebar {
    flex: 1 1 220px;
    background-color: var(--bg-card);
    border-radius: var(--btn-border-radius);
    padding: 1rem;
}

/* Sidebar links */
.sidebar a {
    display: block;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--btn-border-radius);
    color: var(--text-default);
    transition: background 0.2s;
}

.sidebar a:hover {
    background-color: var(--hover-bg);
}

/* Content */
.content {
    flex: 3 1 700px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Profile Info */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.profile-header img,
.profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-blue);
}

/* Profile Info + Edit Button Flex Layout */
.profile-info-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-info-btn div:first-child {
    display: flex;
    flex-direction: column;
}

.profile-info-btn .btn {
    white-space: nowrap;
}

/* Cards */
.card {
    background-color: var(--bg-default);
    border-radius: var(--btn-border-radius);
    padding: 1rem;
    box-shadow: 1px 1px 6px 0px #00000026;

}
/* Card Header Flex */
.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* allow wrapping on mobile */
    margin-bottom: 1rem;
}

/* Addresses list */
.addresses-list p {
    margin: 0.25rem 0;
}

/* Individual address items */
.address-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* allow wrapping */
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

/* Buttons inside address item */
.address-item .btn,
.address-item form button {
    white-space: nowrap;
}

/* Button styles */
button,
.btn {
    font-family: var(--font-primary);
    background-color: var(--btn-bg);
    color: var(--btn-white-text);
    padding: 0.5rem 1rem;
    border-radius: var(--btn-border-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover,
.btn:hover {
    background-color: var(--btn-hover);
    color: var(--btn-white-text);
}
.address-actions-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space between Edit and Delete */
    flex-wrap: nowrap; /* always keep inline */
}

.address-actions-inline .btn,
.address-actions-inline form button {
    padding: 0.5rem 1rem; /* same padding */
    font-size: 1rem; /* same font size */
    border-radius: var(--btn-border-radius);
    border: 1px solid transparent;
    background-color: var(--btn-bg);
    color: var(--btn-white-text);
    text-align: center;
    cursor: pointer;
    line-height: 1.2; /* normalize line height */
    display: inline-block; /* ensure <button> behaves like <a> */
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    /* Wrapper stacks vertically */
    .profile-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Sidebar & Content full width */
    .sidebar,
    .content {
        flex: 1 1 100%;
    }

    /* Profile Header stacking */
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .profile-info-btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .profile-info-btn .btn {
        align-self: stretch;
        text-align: center;
    }

    /* Card header flex stacking */
    .card-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Address items stacking */
    .address-item {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Buttons full width for mobile */
    .address-item .btn,
    .address-item form button {
        width: 100%;
        text-align: center;
    }
}
.orders-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: var(--bg-default);
    border-radius: var(--btn-border-radius);
    box-shadow: 1px 1px 6px 0px #00000026;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem; 
}

.order-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}
.order-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3px;
}
.status-dropdown-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-order-items {
    background: transparent !important;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.toggle-order-items .dropdown-icon {
    width: 16px;   /* adjust size as needed */
    height: 16px;
    transition: transform 0.3s ease; /* rotate smoothly */
}
.toggle-order-items:hover .dropdown-icon{
  color:var(--brand-blue) !important;
}
.toggle-order-items.active .dropdown-icon {
    transform: rotate(180deg); /* rotate icon when active */
}

.order-history-details {
    max-height: 0;          /* hide initially */
    overflow: hidden;       /* hide content beyond max-height */
    transition: max-height 0.5s ease; /* smooth slide */
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.shipping-track-details{
    background: var(--brand-blue-light);
    border-radius: 10px;
    padding: 1rem;
}
.shipping-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shipping-info .shipping-icon {
    width: 34px;
    height: 34px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipping-info .shipping-icon img {
    width: 18px;
    height: 18px;
}

.shipping-info .shipping-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.shipping-info .shipping-text .label {
    font-size: 11px;
    color: #6b7280;
}

.shipping-info .shipping-text .shipping-id {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.order-items {
    display: flex; /* hidden by default */
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}


.order-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: var(--btn-border-radius);
}
.order-items-bg{
    background: var(--brand-blue-light);
    border-radius: 5px;
    padding:0.5rem;
}
.order-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.order-item div p {
    margin: 0;
    font-size: 0.8rem;
}

.order-action .btn {
    align-self: flex-end;
    white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .order-items {
        flex-direction: column;
        gap: 0.5rem;
    }

    .order-item {
        width: 100%;
    }

    .order-action .btn {
        width: 100%;
        text-align: center;
    }
    .toggle-order-items .dropdown-icon {
    width: 20px; 
    }
}
.review-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.review-modal-content {
    background: var(--bg-default);
    padding: 20px;
    width: 350px;
    border-radius: 8px;
}
/* checkout page */
/* ===============================
   CHECKOUT PAGE STYLING
=============================== */

.app-checkout-section {
    background-color: var(--bg-default);
    padding: 40px 20px;
}

.app-checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
/* Step Indicators Container */
.checkout-steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 40px;
}

/* Step Indicator */
.step-indicator {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Line between icons */
.step-indicator:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 35%;
    right: -57%; /* half of flex space */
    width: 100%;
    height: 0px;
    /* background: rgba(86, 86, 86, 0.4); */
    border: 1px solid rgba(86, 86, 86, 0.4);
    z-index: 0;
}

/* Icon Styles */
.step-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 15%;
    border: 1px solid rgba(86, 86, 86, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 6px auto;
    transition: all 0.3s ease;
    background-color: #fff;
}

.step-icon-circle img {
    filter: brightness(0);
}

.step-icon-circle img.step-icon {
    width: 22px;
    height: 22px;
}

/* ACTIVE STATE */
.step-indicator.active .step-icon-circle {
    background-color: var(--brand-blue);
    border: none;
    box-shadow: 0 0 8px rgba(41, 98, 255, 0.4);
}

.step-indicator.active .step-icon-circle img {
    filter: brightness(0) invert(1);
}

/* Step number */
.step-indicator .step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    background-color: var(--bg-card);
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step-indicator.active .step-number {
    background-color: var(--brand-blue);
    color: #fff;
    box-shadow: 0 0 10px rgba(41, 98, 255, 0.4);
}

/* Step Label */
.step-indicator .step-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Icon size */
.step-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Checkout Grid Layout */
.app-checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Left Column (Form Area) */
.app-left-column {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.app-checkout-form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-billing-heading,
.app-payment-method-heading,
.app-cart-total-heading {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 20px;
}
.app-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Default column for each input */
.app-form-col {
    flex: 1 1 auto; /* flex grow and shrink */
    min-width: 150px;
}

/* Full width input */
.full-width {
    flex: 1 1 100%;
}

/* Input styling as lines */
.app-form-control {
    width: 100%;
    padding: 6px 0;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    background-color: transparent;
    font-size: 14px;
}

.app-form-control:focus {
    outline: none;
    border-bottom-color: var(--brand-blue);
}


.checkout-step.hidden {
    display: none;
}
.step-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Step Buttons */
.app-next-btn,
.app-back-btn,
.app-place-order-btn {
    padding: 12px 20px;
    background-color: var(--brand-blue);
    border-radius: var(--btn-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin: 1rem;
    transition: all 0.3s ease;
}
/* .app-place-order-btn{
  margin: 1rem;
} */
.app-next-btn {
    background-color: var(--brand-blue);
    color: #fff;
}

.app-back-btn {
    background-color: #ccc;
    color: #333;
}
.app-payment-options label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}
#credit-card-fields {
    margin-top: 15px;
}
.app-next-btn:hover,
.app-back-btn:hover {
    transform: translateY(-2px);
}

/* Review Cards */
.review-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background-color: var(--bg-default);
    border: 1px solid #e5e7eb;
    border-radius: var(--btn-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.review-card h4 {
    margin-bottom: 12px;
    color: var(--brand-blue);
}

.review-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.review-item-img {
    width: 60px; /* smaller size */
    height: 60px; /* maintain square */
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
}

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

.review-item-name {
    font-weight: 600;
    margin: 0;
}

.review-item-quantity,
.review-item-total {
    font-size: 14px;
    margin: 2px 0;
}
/* Right Column (Summary) */
.app-right-column {
   background: rgba(255, 255, 255, 1);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.15);

    height: fit-content;
    position: sticky;
    top: 20px;
}

.app-cart-detail-box h3 {
    margin-bottom: 20px;
}

.sidebar-order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.sidebar-item-img {
    width: 58px;
    height: 48px;
    /* object-fit: cover; */
    border-radius: 8px;
    border: 1px solid #eee;
}

.sidebar-item-name {
    font-weight: 600;
    font-size: 14px;
}

.sidebar-item-total {
    font-size: 13px;
    color: var(--text-muted);
}

/* Totals Section */
#sidebar-order-totals p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 14px;
}

.app-total-price span:last-child {
    font-weight: 700;
    color: var(--brand-blue);
}

/* Responsive */
@media (max-width: 992px) {
    .app-checkout-grid {
        grid-template-columns: 1fr;
    }

    .app-right-column {
        position: static;
        order: -1;
    }

    .app-checkout-section {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .checkout-steps-indicator::before {
        left: 20%;
        right: 20%;
    }
    .step-indicator .step-number {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }
    .app-left-column,
    .app-right-column {
        padding: 20px;
    }
}

/* order success */

/* 🌈 HERO SECTION */

.order-success-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.order-success-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.order-success-content h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.order-success-content p {
    font-size: 1rem;
    color: #e5e5e5;
    margin-bottom: 20px;
}

.hero-btns .btn-hero {
    display: inline-block;
    margin: 8px;
    background: var(--btn-bg);
    color: var(--btn-white-text);
    padding: 10px 20px;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: 600;
}

.hero-btns .btn-hero:hover {
    background: var(--btn-hover);
}

.btn-hero.btn-secondary {
    background: transparent;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
}

.btn-hero.btn-secondary:hover {
    background: var(--brand-blue);
    color: #fff;
}

/* 🌟 SUCCESS SECTION */
.order-success-section {
    background: var(--bg-default);
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.order-success-box {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

/* ✅ ICON */
.order-icon i {
    color: var(--success-green);
    font-size: 80px;
    margin-bottom: 20px;
}

/* 💬 TEXT */

.order-success-box .message {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.order-success-box .order-code {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.order-success-box .order-code strong {
    color: var(--brand-blue);
}

/* 🎯 BUTTON */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--btn-bg);
    color: var(--btn-white-text);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--btn-radius);
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

/* ✨ ANIMATION */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 RESPONSIVE */
@media (max-width: 600px) {
    .order-success-box {
        padding: 25px 15px;
    }
    .order-icon i {
        font-size: 60px;
    }
    .order-success-content h1 {
        font-size: 1.8rem;
    }
}

/* page loader */
/* =========================
   Page Loader Styles
========================= */

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-default);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

#page-loader.loader-visible {
    opacity: 1;
    visibility: visible;
}

/* SVG Spinner */
.loader-spinner {
    animation: rotate 2s linear infinite;
}

.loader-bg {
    stroke: var(--hover-bg);
}

.loader-path {
    stroke: var(--brand-blue);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* spinner disable btn */
.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #fff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 0.75s linear infinite;
    vertical-align: middle;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   Notification Pagination
========================= */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--hover-bg);
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pagination-wrapper .pagination-info {
    font-weight: 500;
    color: var(--text-default);
}
/* =========================
   Pagination Styling
========================= */
.pagination-links nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination-links .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--hover-bg);
    background: var(--bg-card);
    color: var(--text-default);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.25s ease-in-out;
}

/* Hover State */
.pagination-links .page-link:hover {
    background: var(--brand-blue-hover);
    color: #fff;
    border-color: var(--brand-blue-hover);
    box-shadow: 0 0 10px rgba(41, 98, 255, 0.4); /* uses --brand-blue */
}

/* Active Page (Current Page Highlight) */
.pagination-links .active .page-link,
.pagination-links .page-link.active {
    background: var(--brand-blue);
    color: #fff !important;
    border-color: var(--brand-blue);
    box-shadow: 0 0 10px rgba(41, 98, 255, 0.4); /* uses --brand-blue */
}

/* Disabled Pages */
.pagination-links .disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dark Theme Adjustments */
[data-theme="dark"] .pagination-wrapper {
    border-top: 1px solid #2c2c2c;
}
/* Dark Theme Adjustments */

[data-theme="dark"] .pagination-links .page-link:hover {
    background: var(--brand-blue);
    color: #fff;
}
[data-theme="dark"] .pagination-links .active .page-link {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

/* =========================
   Notification Pagination end
========================= */

/* =========================
  product style
========================= */

/* Container & Header */
.featured-products ,.top-products{
    padding: 1rem 2rem;
    background-color: var(--bg-default);
}

.view-all {
    color: var(--brand-blue);
    font-weight: 500;
    text-decoration: none;
}
.view-all:hover {
    color: var(--brand-blue-hover);
}
.products-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
}
.products-scroll::-webkit-scrollbar {
    display: none;
}

/* Product Cards */
.product-card {
    flex: 0 0 auto;
    width: 244px;
    height: 381px;
    background-color: var(--bg-default);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none; /* remove shadow since border gives definition */
    transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
    position: relative;
}
.all-products-grid .product-card,
.products-grid .product-card {
    width: 100%; /* full width in grid */
    height: auto; /* auto height in grid */

}
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.product-image-wrapper {
    position: relative;
    width: 100%;
    background: var(--bg-default);
}

/* ✅ Force all images to the same height box */
.product-img-container {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-default);
    border-radius: 8px;
    overflow: hidden;
}

/* ✅ This keeps all images the same size visually */
.product-img-container img {
    width: 73%;
    height: 100%;
    object-fit: contain; /* keeps ratio — no stretch */
    display: block;
    padding: 10px; /* optional, adds space inside */
}

/* 🎯 Discount badge */
.discount-badge {
    position: absolute;
    top: 1rem;
    left: 0px;
    background-color: var(--price-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}
.hotsale-badge {
    position: absolute;
    top: 1rem;
    left: 0px;
    background-color: var(--red-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}
/* 🏷️ Discount Badge */
.product-discount-badge {
  
  color: var(--price-color);
  font-size: 0.7rem;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 4px;
}

/* ❤️ Wishlist button */
.shopy-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    border: none;
    color: red;
    font-size: 18px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.shopy-wishlist-btn:hover {
    background: red;
    color: #fff;
    transform: scale(1.1);
}

/* Active (added to wishlist) state */
.shopy-wishlist-btn.active i {
    color: red;
    font-weight: bold;
}



.product-details {
    padding: 1rem;
}

.product-details h3 {
    font-size: 1rem;
    color: var(--text-muted);
    /* margin-bottom: 0.5rem; */
    line-height: 1.2;
    height: 2.4rem; 
    overflow: hidden;
}

/* 📝 Short Description */
.product-details p {
  font-size: 0.85rem;
  color: var(--text-default);
  margin: 5px 0 8px;
  text-align:left;
  display: -webkit-box;
  -webkit-line-clamp: 2;        /* limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;      /* adds the "..." */
  white-space: normal;
  word-break: break-word;
  width: 100%;
  line-height: 1.25rem;
  min-height: 2.5rem;           /* keep consistent height */
}
.rating {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}
[data-theme="dark"] .empty-star {
     filter: brightness(0) invert(1);
  }
.rating .reviews {
    margin-left: 0.25rem;
    color: #6b7280;
    font-size: 0.75rem;
}
.price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
     font-size: 0.9rem;
}
.current-price {
    color: var(--text-default);
    font-weight: 700;
    font-size: small;
}
.old-price {
    color: var(--text-muted);
    /* font-size: 0.875rem; */
    font-size:xx-small;
    text-decoration: line-through;
}
.add-to-cart {
    width: 100%;
    padding: 0.5rem 0;
    background-color: transparent; /* remove background */
    color: var(--text-default); /* brand blue text */
    border: 1px solid var(--brand-blue); /* blue border */
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 🔵 Hover Effect */
.add-to-cart:hover {
    background-color: var(--brand-blue); /* brand blue background */
    color: #fff; /* white text */
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 6px;
    opacity: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-image-wrapper:hover .quick-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.quick-view-btn:hover {
    background: var(--brand-blue-hover);
    color: #fff;
}

/* Smooth image hover zoom */
.product-image-wrapper img {
    transition: transform 0.4s ease;
}

.product-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Dark Mode */
[data-theme="dark"] .featured-products {
    background-color: #0b0c10;
}
[data-theme="dark"] .product-card {
    background-color: #141518;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .section-header p {
    color: #9ca3af;
}
[data-theme="dark"] .rating .reviews {
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card {
    flex: 0 0 32%;
    min-width: 180px;
    width: 244px;
    height: 338px;
    scroll-snap-align: start;
  }
    .product-details h3 {
        font-size: small;
    
    }

    /* 📝 Short Description */
    .product-details p {
    font-size: small;
            
    }
    .rating img{
        width:20px;
        height:20px;
    }
    .product-discount-badge {
        font-size: xx-small;
    }
}
@media (max-width: 480px) {
     .product-card {
    flex: 0 0 54%;
    min-width: 50%;
    width: 244px;
    height: 282px;
  }
    .section-header h2 {
        font-size: 1rem;
    }
    .section-header p {
        font-size: 0.875rem;
    }
    .add-to-cart {
        font-size: x-small;
    }
    
.product-details h3 {
    font-size: x-small;
    overflow: hidden;
}

/* 📝 Short Description */
.product-details p {
  font-size: x-small;
  color: var(--text-default);
  margin:0px;          /* keep consistent height */
}
.rating {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}
.rating img{
    width:10px;
    height:10px;
}

.rating .reviews {
    margin-left: 0.25rem;
    color: #6b7280;
    font-size: 0.75rem;
}
.price {
    display: flex;
    align-items: center;
    gap:3px;
    margin-bottom: 0.75rem;
     font-size: 0.9rem;
}
.current-price {
    color: var(--text-default);
    font-weight: 700;
    font-size: x-small;
}
.old-price {
    color: var(--text-muted);
    font-size:xx-small;
    text-decoration: line-through;
}


/* 🔵 Hover Effect */
.add-to-cart:hover {
    background-color: var(--brand-blue); /* brand blue background */
    color: #fff; /* white text */
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 6px;
    opacity: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

}
/* order payemnt ui style */
/* Container */
.order-payment-address {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    position: relative;
    background: #FFFFFF;
    box-shadow: 1px 1px 6px 0px #00000026;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

/* Timeline vertical line */
.timeline-line {
    position: absolute;
    width: 0.25rem;
    top: 48px;
    bottom: 44px;
    left: 1.9rem;
    background-color: #d1d5db; /* gray-300 */
}

/* Node wrapper */
.timeline-node {
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 0.75rem;
}

/* 🔵 NEW — Double Circle */
.circle-outer {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d1d5db; /* outer ring */
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-inner {
    width: 10px;
    height: 10px;
    background-color: var(--brand-blue);
    border-radius: 50%;
    /* spacing from outer ring */
    margin: 3px;
}
.site-name{
    color: var(--success-green);
}
.user-address-type{
    color:var(--brand-blue);
}

.node-content,
.address-wrap {
    color: #6B7280;
    line-height: 1.3;
}

/* Prevent Site| from breaking */
.label-wrap {
    flex-shrink: 0;
}

/* Allow address to wrap */
.address-wrap {
    flex: 1;
}


/* =========================
  product style end 
========================= */

/* =========================
  All product 
========================= */
.view-toggle button {
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.5rem 0.75rem;
    margin-left: 0.25rem;
    cursor: pointer;
    color: #141518;
    border-radius: 0.5rem;
    transition: background 0.3s, color 0.3s;
}
.view-toggle button.active {
    background-color: var(--brand-blue);
    color: #fff;
}
.view-toggle button i {
    font-size: 1rem;
}

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(229px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .all-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .all-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .all-products-grid {
        grid-template-columns: 1fr;
    }
    /* Timeline vertical line */
    .timeline-line {
        bottom: 66px;
    }
}

/* list  */
.all-products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.product-short-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0 0.5rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limits to 2 lines */
    -webkit-box-orient: vertical;
}
.product-card-list {
    background-color: var(--bg-default);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.list-view-card {
    display: flex;
    flex-direction: row;
    background-color: var(--bg-default);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0.5rem;
}
.list-view-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.list-view-card .product-image-wrapper {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}
.list-view-card .product-details {
    flex: 1;
    padding: 0 1rem;
    text-align: left;
}

.list-view-card .price {
    justify-content: flex-start;
}

.list-view-card .add-to-cart {
    width: auto;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}
.rating-list {
    display: flex;
    font-size: 0.875rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}
.rating-list .reviews {
    margin-left: 0.25rem;
    color: #6b7280;
    font-size: 0.75rem;
}
/* Tablet responsive */
@media (max-width: 768px) {
    .list-view-card {
        flex-direction: row;
        align-items: center;
        text-align: center;
    }
    .list-view-card .product-details {
        padding: 1rem 0;
    }
    .list-view-card .price {
        justify-content: center;
    }
    .list-view-card .add-to-cart {
        width: 100%;
    }
    .list-view-card .product-image-wrapper {
        width: 180px;
        height: 200px;
    }
}
/* Mobile responsive */
@media (max-width: 460px) {
    .list-view-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .list-view-card .product-details {
        padding: 1rem 0;
    }
    .list-view-card .price {
        justify-content: center;
    }
    .list-view-card .add-to-cart {
        width: 100%;
    }
    .list-view-card .product-image-wrapper {
        width: 100%;
        height: 200px;
    }
}

/* =========================
  All product end
========================= */

/* =========================
   Layout Wrapper
========================= */
.shop-page {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    padding: 1rem;
    min-height: calc(100vh - 80px);
    overflow: visible;
    flex-wrap: wrap;
    background-color: var(--bg-default);
    color: var(--text-default);
    transition: background-color 0.3s, color 0.3s;
}

/* =========================
   Sidebar (Desktop)
========================= */
.shop-sidebar-fullview {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s, border-color 0.3s;
}
.shop-sidebar-fullview::-webkit-scrollbar {
    display: none;
}

/* =========================
   Products Grid
========================= */
.shop-products {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background-color: var(--bg-default);
    transition: background-color 0.3s;
}
.shop-products::-webkit-scrollbar {
    display: none;
}

/* =========================
   Mobile Filter Button
========================= */
.mobile-filter-btn {
    display: none;
    padding: 10px;
    text-align: right;
    background: var(--bg-card);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.mobile-filter-btn button {
    padding: 8px 14px;
    font-size: 14px;
    background: var(--brand-blue);
    color: var(--btn-white-text);
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.mobile-filter-btn button:hover {
    background: var(--brand-blue-hover);
    transform: scale(1.05);
}

/* =========================
   Mobile Sidebar Overlay
========================= */
.shop-sidebar-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100%;
    background: var(--bg-default);
    border-right: 1px solid var(--border-color);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.25);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1112;
    overflow-y: auto;
    padding: 20px;
}
.shop-sidebar-mobile::-webkit-scrollbar {
    display: none;
}

/* Mobile Close Button */
.mobile-close-btn {
    display: none;
}

/* =========================
   Responsive (Mobile <768px)
========================= */
@media (max-width: 768px) {
    .shop-page {
        display: block;
    }
    .mobile-filter-btn {
        display: block;
    }
    .shop-sidebar-fullview {
        display: none;
    }
    .shop-sidebar-mobile {
        display: block;
    }
    .shop-products {
        margin-top: 20px;
    }

    /* Background overlay when sidebar is open */
    body.sidebar-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1111;
        backdrop-filter: blur(2px);
    }

    /* Mobile close button */
    .mobile-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        background-color: var(--brand-blue);
        color: #fff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        z-index: 1200;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s, transform 0.2s;
    }
    .mobile-close-btn:hover {
        background-color: var(--brand-blue-hover);
        transform: rotate(90deg);
    }
    .mobile-close-btn i {
        pointer-events: none;
    }
}

/* =========================
  All product fliter section start
========================= */

/* Filter Sidebar */
.filter-sidebar {
    background: transparent;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    font-family: var(--font-primary);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.filter-sidebar::-webkit-scrollbar {
    display: none;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.filter-title {
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: var(--text-default);
}

.filter-clear-all {
    color: var(--brand-blue);
    font-size: var(--font-size-sm);
    text-decoration: none;
}

.filter-clear-all:hover {
    text-decoration: underline;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-heading {
    font-size: var(--font-size-base);
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.filter-list li {
    margin-bottom: 6px;
    list-style: none;
}

.filter-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.price-input-group input:focus {
    border: none;
}
.filter-link:hover,
.filter-link.active {
    color: var(--brand-blue);
    font-weight: bold;
}

.filter-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background-color: var(--btn-bg);
    color: var(--btn-white-text);
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-btn:hover {
    background-color: var(--btn-hover);
}

.checkbox-label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 6px;
}

/* Price Input Group */
.price-input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.price-input-group .price-field {
    width: 45%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    color: var(--text-default);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.price-input-group .price-field:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 3px rgba(249, 115, 22, 0.3);
    outline: none;
}

.price-input-group .filter-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    background-color: var(--btn-bg);
    color: var(--btn-white-text);
    border: none;
    border-radius: var(--btn-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.price-input-group .filter-btn:hover {
    background-color: var(--btn-hover);
}

.price-input-group .filter-btn:active {
    transform: scale(0.97);
}

/* =========================
  All product fliter section end
========================= */

/* =========================
 Cart section start 
========================= */

/* Main Layout */
.cart-main-content {
    /* max-width: 1200px; */
  margin-top: 30px;
}
.grid-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.cart-items-section ,.shipping-address-section,.product-payment-section{
    flex: 2;
}
.cart-summary-section {
    flex: 1;
}

/* Cards */
.cart-card
{
    border-radius: var(--btn-radius); 
    padding: 1.5rem;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

.cart-summary-card {
     background: rgba(255, 255, 255, 1);
    border-radius: var(--btn-radius);
    padding: 1.5rem;
     box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.15);

}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.cart-title {
    font-size: 1.5rem;
    font-weight: 600;
}
.clear-cart-btn {
    color: red;
    background: none;
    border: none;
    cursor: pointer;
}
.clear-cart-btn:hover {
    color: darkred;
    background: transparent;
}

/* Cart Items */
.cart-item {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: var(--btn-radius);
    margin-bottom: 4px;
    gap:1rem;
}
.cart-img-container { 
    background: rgba(255, 255, 255, 1);
    border-radius: var(--btn-radius);
    box-shadow: 1px 1px 6px 0px rgba(0, 0, 0, 0.15);
    width: 66px;
    height: 66px;

    display: flex;           /* Flex container */
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */
    overflow: hidden;        /* Ensure no overflow if img slightly bigger */
}

.cart-item-img {
    width: 100%;             /* Fill container width */
    height: 100%;            /* Fill container height */
    border-radius: var(--btn-radius);
    object-fit: contain;     /* Fit inside container without cropping */
}


.cart-item-info {
    flex: 1;
}
.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.cart-unit-text {
    font-size: 13px;
    color: var(--text-default);
    opacity: .7;
    margin-bottom: 4px;
    display: block;
}

.cart-item-rating-price {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    justify-content: space-between;
}
.cart-item-rating {
    color: gold;
    margin-right: 0.5rem;
}
.cart-item-price-text {
    color: var(--text-muted);
}
/* Price area (unit text) */
.cart-price-area {
    flex: 1 1 80px; /* fixed space for unit text */
    min-width: 80px;
}
.cart-item-quantity {  
    display: flex;
    align-items: center;
    gap: 0.2rem;
    border: 1px solid var(--brand-blue);
    border-radius: 8px;
    padding: 4px;
}
.quantity-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: var(--btn-radius);
  
    cursor: pointer;
}
.quantity-btn:hover {
    background: var(--brand-blue);
    color: #fff;
}
.quantity-input {
    width: 40px;
    text-align: center;
    /* border: 1px solid #ccc; */
}

/* .cart-item-checkbox {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--brand-blue); 
} */
.add-more-items-btn {
    display: inline-block;
    border: 1.5px solid var(--brand-blue);
    color: var(--text-default);
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    transition: 0.25s;
}

.add-more-items-btn:hover {
    background: var(--brand-blue-light);
}

/* hide default checkbox and use custom style */
.cart-item-checkbox.custom {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-item-checkbox.custom:checked {
    background-color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.cart-item-checkbox.custom:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 75, 0, 0.3);
}
.cart-buttons-wrapper {
    display: flex;
    justify-content: center; /* centers them horizontally */
    align-items: center;
    gap: 1rem; /* adds spacing between buttons */
    flex-wrap: wrap; /* wraps on smaller screens */
    margin-top: 2rem;
}

/* Buttons share space evenly (optional) */
.cart-buttons-wrapper .checkout-btn,
.continue-shopping-link {
    flex: 1 1 200px; /* equal width buttons, shrink at smaller screens */
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: var(--bg-default);
    border: 1px solid #D8D7D4;
}

.cart-buttons-wrapper .continue-shopping-link:hover {
    background: #ddd;
     color: var(--text-white);
}

/* Responsive: stack buttons vertically on small screens */
@media (max-width: 576px) {
    .cart-buttons-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cart-buttons-wrapper .checkout-btn,
    .cart-buttons-wrapper .continue-shopping-link {
        flex: 1 1 100%;
    }
}
/* Cart Total */
.cart-item-total {
    text-align: right;
}
.cart-item-total-price {
    color: var(--text-default);
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.remove-item-btn {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
}
.remove-item-btn:hover {
    color: darkred;
    background: transparent;
}

/* Empty Cart */
.empty-cart {
    /* display: none; */
    text-align: center;
    padding: 3rem;
}
.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.empty-cart-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.empty-cart-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.continue-shopping-btn {
    background: var(--brand-blue);
    color:var(--btn-white-text);
    padding: 0.75rem 1.5rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
}
.continue-shopping-btn:hover {
    background: var(--brand-blue-hover);
    color:var(--btn-white-text);
}

/* Cart Summary */
.cart-summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.coupon-section {
    /* background: #f5f5f5; */
    padding: 1rem;
    /* border-radius: var(--btn-radius); */
    margin-bottom: 1rem;
}
.coupon-input-group {
    display: flex;
    gap: 0.5rem;
}
.coupon-input {
    flex: 1;
    padding: 0.5rem;
    border-radius: var(--btn-radius);
    border: 1px solid #ccc;
}
.coupon-apply-btn {
    background: var(--brand-blue);
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
}
.coupon-apply-btn:hover {
    background: var(--brand-blue-hover);
}

.gifting-section {
    background-image: url('/images/cart/gift-bg.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    padding: 18px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    min-height: 150px;
}

.gifting-content {
    color: var(--text-default);
    max-width: 75%;
}

.gift-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.gift-desc {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
    line-height: 1.4;
}

.gift-price {
    font-size: 14px;
    margin-bottom: 12px;
}

.gift-btn {
    padding: 8px 16px;
    /* background: var(--brand-blue); */
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s;
    font-weight: 600;
}

.gift-btn:hover {
    background: var(--brand-blue-dark);
}

.order-summary-details {
    margin-bottom: 1rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 10px;
}

.summary-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-bill-details{
    color: var(--text-default);
    font-weight: 500;
}
.cart-total-count{
    color:var(--text-grey);
}
.discount-row {
    color: green;
}
.cart-price-color{
    color:var(--price-color);
}
.brand-blue-light {
    background-color: #E6F1FF; /* your light blue shade */
}

.summary-row img {
    width: 20px;
    height: 20px;
}

.summary-row span {
     flex: unset;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
}
.cart-old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 8px;
}

.cart-final-price {
    font-weight: 600;
    color: #000;
    font-size: 18px;
}
.icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.continue-shopping-link {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    color: var(--brand-blue);
    text-decoration: none;
}
.continue-shopping-link:hover {
    color: var(--brand-blue-hover);
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.security-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Move checkbox + remove button to top-right */
.cart-top-right {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Inline row for price + quantity + total */
.cart-inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 10px;
}

/* Total price inline */
.cart-total-inline {
    flex: 1 1 100px; 
    min-width: 100px;
    text-align: right;
    font-weight: 600;
    color: var(--text-default);
}

@media (max-width:768px) {
   .cart-total-inline ,.cart-price-area{
     flex:0px; 
    }

}
.cart-divide-line{
    width: 100%;
    border: 1px dashed rgba(0, 0, 0, 0.15)
}
.cart-offer-text{
    color: var(--text-muted);
    text-decoration: line-through;
}
.total-savings-box {
    background-image: url('/images/cart/total-bg.svg');
    background-size: cover;      /* fit the box */
    background-repeat: no-repeat;
    background-position: right center;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 10px;
    min-height: 70px;
}
.total-savings-inline {
    display: flex;
    gap: 8px;
     width: 100%;
    align-items: center;
    justify-content: space-between;
}

.savings-title {
    font-weight: 600;
    color: var(--brand-blue);
}

.savings-amount {
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 18px;
}

/* Recommended Products */
.recommended-products {
    margin-top: 3rem;
}
.recommended-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
.recommended-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    background: var(--bg-default);
}
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: red;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: var(--btn-radius);
    font-size: 0.75rem;
}
.product-info {
    padding: 1rem;
}
.product-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.product-rating {
    color: gold;
    margin-bottom: 0.5rem;
}
.product-reviews {
    color: var(--text-muted);
    margin-left: 0.25rem;
}
.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.product-price-current {
    color: var(--brand-blue);
    font-weight: 600;
}
.product-price-old {
    color: var(--text-muted);
    text-decoration: line-through;
}
.add-to-cart-btn {
    width: 100%;
    background: var(--brand-blue);
    color: #fff;
    padding: 0.5rem;
    border: none;
    border-radius: var(--btn-radius);
    cursor: pointer;
}
.add-to-cart-btn:hover {
    background: var(--brand-blue-hover);
}
.cart-item-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 1rem;
    color: #ffc107; /* Gold color for stars */
}

.cart-item-rating .star.empty {
    color: #ddd; /* Gray for empty stars */
}

.cart-item-rating .star.half {
    background: linear-gradient(90deg, #ffc107 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-item-rating .rating-value {
    font-size: 0.9rem;
    color: #555;
    margin-left: 4px;
}
[data-theme="dark"] .coupon-section {
    background: var(--bg-card);
}
[data-theme="dark"] .continue-shopping-link {
    color: #000;
}

@media (max-width:992px) {
    
.grid-container{
    flex-direction: column;
}
}

/* ✅ Mobile - Small Screens */
@media (max-width: 460px) {
    .cart-main-content{
        padding: 2rem 0rem;
    }
 
    .cart-item {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-img {
        height: 39px;
        width: 50px;
    }
    .cart-inline-row {
    display: flex;
    flex-direction: column;
    }
    .cart-item-name {
        font-size: 1rem;
    }

    .cart-item-rating-price {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item-quantity {
        width: 100%;
        justify-content: flex-start;
    }

    .cart-buttons-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cart-buttons-wrapper .checkout-btn,
    .cart-buttons-wrapper .continue-shopping-link {
        flex: 1 1 100%;
        text-align: center;
    }
    .cart-summary-card{
       padding: 1rem;
    }
    .cart-items-section, .cart-summary-section {
        width: 100%;
    }
    .cart-summary-section {
        padding: 1rem;
    }
    .coupon-input-group{
        flex-direction: column;
    }
    .cart-item-total{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap:3rem;
        margin-top: 0.5rem;
    }
}
/* Medium Screens - 3 columns */
/* @media (max-width: 1199px) {
    .product-card {
        width: calc(33.333% - 1rem);
    }
} */

/* Small Screens - 2 columns */
/* @media (max-width: 991px) {
    .product-card {
        width: calc(50% - 1rem);
    }
} */

/* Extra Small Screens - 1 column */
/* @media (max-width: 576px) {
    .product-card {
        width: 100%;
        margin: 0.5rem 0;
    }
} */

/* =========================
 Cart section end
========================= */

/* =========================
 Coupons section start
========================= */

/* Section Layout */
.featured-deal-section {
    padding: 4rem 1rem;
    background-color: var(--bg-card);
}

/* Header */
.featured-deal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-deal-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.featured-deal-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Card */
.featured-deal-card {
    background: linear-gradient(
        135deg,
        var(--brand-blue),
        var(--brand-blue-light)
    );
    border-radius: 2rem;
    padding: 3rem;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.deal-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

/* Content */
.deal-content {
    flex: 1 1 400px;
}

.discount-badge1 {
    display: inline-block;
    background-color: #fff;
    color: var(--brand-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    animation: floatBadge 2s ease-in-out infinite;
}
@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}
.deal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.deal-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.coupons-current-price {
    font-size: 2rem;
    font-weight: 700;
}

.original-price {
    font-size: 1.25rem;
    opacity: 0.75;
    text-decoration: line-through;
}

/* Countdown */
.countdown-timer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.countdown-values {
    display: flex;
    gap: 1rem;
}

.time-box {
    text-align: center;
}

.time-box div:first-child {
    font-size: 1.5rem;
    font-weight: 700;
}

.time-label {
    font-size: 0.75rem;
}

/* Button */
.claim-deal-btn {
    background-color: #fff;
    color: var(--brand-blue);
    padding: 0.75rem 2rem;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.claim-deal-btn:hover {
    background-color: #f0f0f0;
}

/* Image */
.deal-image {
    flex: 1 1 350px;
    text-align: center;
}

.deal-image img {
    max-width: 120%; /* increase slightly */
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    width: 100%;
}
/* Section Layout */
.coupons-section {
    padding: 4rem 1rem;
    background-color: var(--bg-card);
}

/* Header */
.coupons-header {
    text-align: center;
    margin-bottom: 3rem;
}

.coupons-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.coupons-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.no-coupons {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Grid */
.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Coupon Card */
.coupon-card {
    background-color: #fff;
    border-radius: var(--btn-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-default);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.coupon-card:hover {
    border-color: var(--brand-blue);
}

/* Coupon Header */
.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.coupons-discount-badge {
    background-color: var(--price-color);
    color: var(--btn-white-text);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
}

.days-left {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Title & Description */
.coupon-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.min-order {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Code Section */
.coupon-code-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.coupon-code {
    background-color: #f0f0f0;
    padding: 0.5rem 0.75rem;
    border-radius: var(--btn-radius);
    font-family: monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

.copy-coupon {
    background-color: var(--brand-blue);
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--btn-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-coupon:hover {
    background-color: var(--brand-blue-hover);
    color: var(--btn-white-text);
}

/* Footer */
.coupon-footer {
    margin-top: 1.5rem;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}

.coupon-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.note-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
}
[data-theme="dark"] .coupon-card,
.coupon-code {
    background: var(--bg-card);
}
/* =========================
 Coupons section end
========================= */

/* =========================
 shipping policy start
========================= */
/* Container */
.tos-policy {
    padding: 4rem 1rem;
    background: #fff;
}

/* Links */
.tos-policy a {
    color: var(--brand-blue);
    font-weight: 500;
    text-decoration: none;
}

.tos-policy a:hover {
    text-decoration: underline;
    color: var(--brand-blue);
}

/* Last Updated */
.policy-last-updated {
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Dark Mode */
[data-theme="dark"] .tos-policy {
    background: #111;
    color: #ddd;
}

[data-theme="dark"] .policy-section {
    background: #1c1c1c;
    border-color: #333;
    box-shadow: none;
}

[data-theme="dark"] .policy-section h2 {
    color: #fff;
}

[data-theme="dark"] .policy-header p,
[data-theme="dark"] .policy-section p,
[data-theme="dark"] .policy-section ul li,
[data-theme="dark"] .policy-last-updated {
    color: #bbb;
}
/* =========================
 shipping policy end
========================= */

/* =========================
 deal of the day section Start
========================= */

.deal-of-day-container {
    width: 100%;
    background: var(--bg-default);
    padding: 3rem 1.5rem;
    display: flex;
    justify-content: center;
}

.deal-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    border-radius: 1.2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* LEFT SIDE */
.deal-left {
    flex: 1;
    background: linear-gradient(135deg, var(--brand-blue-light), var(--brand-blue));
    color: var(--bg-default);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.deal-desc {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.countdown {
    display: flex;
    gap: 1rem;
}

.deal-time-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.deal-time-box span {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

/* RIGHT SIDE */
.deal-right {
    flex: 2;
    padding: 2rem;
    background: var(--bg-card);
    position: relative;
}

.deal-slider {
    position: relative;
    width: 100%;
}

.deal-slide {
    display: none;
    transition: opacity 0.6s ease;
}

.deal-slide.active {
    display: block;
}

/* Product Card Layout */
.product-cards {
    background: var(--bg-card);
    border-radius: 1rem;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
}

.discount-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--price-color);
    color: var(--text-default);
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.product-layout {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}
/* Product Left Section */
.product-left {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ✅ Main Image — Fixed Size, Centered, and Scaled Uniformly */
.product-left .main-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.8rem;
    transition: opacity 0.3s ease-in-out;
}

/* ✅ Smooth Fade Animation when image changes */
.product-left .main-img.fade {
    opacity: 0;
}

/* ✅ Thumbnails Section — Always Same Size */
.thumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbs img {
    width: 65px;
    height: 65px;
    border-radius: 6px;
    cursor: pointer;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.3s;
    border: 2px solid transparent;
}

/* ✅ Hover & Active Thumbnail States */
.thumbs img:hover {
    opacity: 1;
}

.thumbs img.active-thumb {
    border: 2px solid var(--brand-blue);
    opacity: 1;
}

.product-right {
    flex: 1.2;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-desc,
.product-info {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.product-price .old {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}
.product-price .new {
    color: #ff4d4d;
    font-weight: 700;
}

.btn-add {
    background: var(--brand-blue);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-add:hover {
    background: var(--brand-blue-hover);
}

/* Dots */
.deal-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.deal-dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.deal-dot.active {
    background: var(--brand-blue);
    width: 28px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .deal-wrapper {
        flex-direction: column;
    }

    .deal-left {
        text-align: center;
    }

    .countdown {
        justify-content: center;
    }

    .product-layout {
        flex-direction: column;
    }

    .product-right {
        text-align: center;
    }
}

/* =========================
 deal of the day  section End
========================= */

/* =========================
 Footer section Start
========================= */
/* ===== SITE FOOTER ===== */
.site-footer {
    position: relative;
    background: rgba(19, 25, 33, 0.85);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 50px 20px 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer links */
.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, border-bottom 0.3s;
}
.site-footer a:hover {
    color: var(--brnad-blue);
}

/* Footer top: 4 columns */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
.footer-column {
    flex: 1 1 220px;
    position: relative;
}
.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    color: #fff;
}
.footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width 0.3s ease;
}
.footer-column h4:hover::after {
    width: 100%;
}

/* Logo & Social */
.footer-logo img {
    height: 50px;
    margin-bottom: 10px;
}
.shop-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
    font-family: "Orbitron", sans-serif;
}
.footer-quote {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 15px;
}
.footer-social a {
    display: inline-block;
    margin-right: 12px;
    font-size: 1.2rem;
    color: #fff;
    transition: color 0.3s;
}
.footer-social a:hover {
    color: var(--brand-blue-hover);
}

/* Footer lists */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 8px;
}
.footer-column ul li a {
    font-size: 0.95rem;
}
.footer-column ul li a:hover {
    color: var(--brand-blue-hover);
}
/* Contact icons */
.footer-contact li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.footer-contact li i {
    margin-right: 10px;
    color: var(--brand-blue);
}

/* Newsletter section center */
.footer-newsletter {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}
.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}
.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #ddd;
}

/* Newsletter form inline with 5px border-radius */
.newsletter-form {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.newsletter-form input[type="email"] {
    padding: 10px 15px;
    border-radius: 5px 0 0 5px; /* only left corners */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none; /* attach button */
    outline: none;
    width: 250px;
    max-width: 100%;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}

.newsletter-form button {
    padding: 10px 25px;
    border-radius: 0 5px 5px 0; /* only right corners */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: none; /* attach input */
    background: var(--brand-blue);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    box-sizing: border-box;
}

.newsletter-form button:hover {
    background: var(--brand-blue);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    text-align: center;
    font-size: 0.85rem;
    color: #ddd;
}

/* Tablet view: 2 columns */
@media (min-width: 426px) and (max-width: 992px) {
    .footer-top {
        flex-direction: row; /* keep inline */
        flex-wrap: wrap; /* allow wrapping */
        gap: 30px;
    }

    .footer-column {
        flex: 1 1 calc(50% - 15px); /* 2 columns per row with gap */
        margin-bottom: 20px;
    }

    /* Keep newsletter form inline */
    .newsletter-form input[type="email"] {
        width: 70%;
        font-size: 14px;
    }
    .newsletter-form button {
        width: 30%;
        font-size: 14px;
        padding: 10px 0;
    }
}

/* Responsive */
@media (max-width: 425px) {
    .footer-top {
        flex-direction: column;
        gap: 25px;
    }
    .footer-column {
        flex: 1 1 100%;
    }
    .newsletter-form input[type="email"] {
        width: 70%; /* shrink input */
        font-size: 14px;
    }
    .newsletter-form button {
        width: 30%; /* shrink button */
        font-size: 14px;
        padding: 10px 0;
    }
}

/* =========================
 Footer section End
========================= */


/* =========================
Single product Section  Start
========================= */


    /* --- Product Detail Section --- */
.single-product-detail {
  padding: 40px 0;
  background: var(--bg-default);
  color: var(--text-color);
}

/* --- product-review-wrapper --- */
.product-review-wrapper {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  gap: 40px;
}

/* --- Left: Gallery --- */
.gallery {
  flex: 1 1 45%;
  text-align: center;
  max-width: 450px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.gallery .main-img {
    width: 450px;            /* fixed width for main image */
    max-height: 450px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.img-zoom-container {
    display: flex;           /* side-by-side layout */
    gap: 20px;               /* space between main image and zoom */
    align-items: flex-start;
    position: relative;
}

/* Zoom lens */
/* Desktop view (full size) */
.img-zoom-lens {
  position: absolute;
  border: 2px solid #000;
  width: 200px;
  height: 200px;
  opacity: 0.4;
  background-color: #fff;
  display: none; /* initially hidden */
  cursor: crosshair;
}

.img-zoom-result {
  position: absolute;
  border: 1px solid #FFFFFF;
  width: 600px;
  height: 400px;
  display: none; /* hide initially */
  top: 0;
  left: 100%; /* move right side of gallery container */
  margin-left: 20px;
  z-index: 999;
  background: #ffffff;
  background-repeat: no-repeat;
}


/* Show zoom on hover */
.img-zoom-container:hover .img-zoom-lens {
  display: block;
}

.img-zoom-container:hover + .single-product-info #zoomResult,
.img-zoom-container:hover .img-zoom-result {
  display: block;
}

.gallery .thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.gallery .thumbs img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--hover-bg, #ddd);
  transition: 0.3s;
}

.gallery .thumbs img:hover {
  border-color: var(--brand-blue);
}

/* --- Right: single-product-info Container --- */
.single-product-info {
  flex: 1 1 45%;
  border: 1px solid var(--hover-bg, #eee);
  padding: 20px;
  border-radius: 10px;
  max-height: 85vh;
  overflow-y: auto;
  -ms-overflow-style: none;  /* IE & Edge */
  scrollbar-width: none;     /* Firefox */
  background: var(--bg-card);
}

/* --- Product Title & Categories --- */
.single-product-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.category {
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* --- Rating --- */
.single-product-rating {
  color: var(--brand-gold);
  margin-bottom: 10px;
  font-size: 14px;
}

.single-product-rating small {
  color: var(--text-muted);
  margin-left: 5px;
}

/* --- Price --- */
.single-product-info .price {
  font-size: 22px;
  margin-bottom: 15px;
}

.single-product-info .price .current {
  color: var(--brand-blue);
  font-weight: bold;
}

.single-product-info .price .old {
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 10px;
}

.single-product-info .price .offer {
  color: var(--price-color);
  margin-left: 10px;
  font-weight: 500;
}

/* --- Description Text --- */
.single-product-info .desc {
  margin-bottom: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* --- Colors --- */
.colors .color-boxes {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.single-product-info .color {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid var(--hover-bg, #ccc);
  cursor: pointer;
}

.single-product-info .color.selected {
  border: 2px solid var(--brand-blue);
}

/* --- Sizes --- */
.single-product-info .sizes .size-boxes button {
  margin-right: 10px;
  padding: 6px 12px;
  border: 1px solid var(--hover-bg, #ccc);
  background: var(--bg-default);
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
  color: var(--text-default);
}

.single-product-info .sizes .size-boxes button:hover,
.single-product-info .sizes .size-boxes button.selected {
  background: var(--brand-blue);
  color: var(--btn-white-text);
}

/* --- Quantity --- */
.single-product-info .quantity {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.single-product-info .quantity button {
  width: 35px;
  height: 35px;
  border: 1px solid var(--hover-bg, #ccc);
  background: var(--btn-bg);
  cursor: pointer;
}

.single-product-info .quantity input {
  width: 50px;
  text-align: center;
  border: 1px solid var(--hover-bg, #ccc);
  height: 35px;
  margin: 0 5px;
}

/* --- Buttons --- */
.single-product-info .buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.single-product-info .add-cart, .buy-now {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  border-radius: var(--btn-radius);
  transition: 0.3s;
}

.single-product-info .add-cart {
  background: var(--brand-blue);
  color: var(--btn-white-text);
}

.single-product-info .add-cart:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.single-product-info .buy-now {
  background: #333;
  color: var(--btn-white-text);
}

/* --- Stock --- */
.single-product-info .stock {
  color: #28a745;
  font-weight: 500;
  margin-bottom: 15px;
}

/* --- Description, Specifications, Reviews --- */
.single-product-info .product-description,
.single-product-info .product-specifications,
.single-product-info .product-reviews {
  margin-top: 30px;
}

.single-product-info .product-description h2,
.single-product-info .product-specifications h2,
.single-product-info .product-reviews h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.single-product-info .product-description p,
.single-product-info .product-specifications p,
.single-product-info .product-specifications li,
.single-product-info .product-reviews p,
.single-product-info .product-reviews .review span,
.single-product-info .product-reviews .review p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.single-product-info .product-specifications ul {
  padding-left: 20px;
}
.single-product-info .spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.single-product-info .spec-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding: 6px 0;
}

.single-product-info .spec-key {
  font-weight: 600;
  color: var(--text-color);
  width: 40%;
}

.single-product-info .spec-value {
  color: var(--text-muted);
  width: 55%;
  text-align: left;
  word-break: break-word;
}

.single-product-info .product-reviews .review {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--hover-bg, #eee);
  padding-bottom: 10px;
}

/* --- Scrollbar for right container --- */
.single-product-info::-webkit-scrollbar {
  width: 6px;
}

.single-product-info::-webkit-scrollbar-thumb {
  background: var(--hover-bg, #ccc);
  border-radius: 3px;
}

.single-product-info::-webkit-scrollbar-track {
  background: var(--bg-card);
}

.single-product-info::-webkit-scrollbar {
  display: none;
}
@media (max-width: 768px) {
    .img-zoom-result,
    .img-zoom-lens {
        display: none !important;
    }
}

/* --- Tabs Section --- */
.tabs {
  max-width: 900px;
  margin: 40px auto;
  border-top: 1px solid var(--hover-bg, #eee);
  padding-top: 20px;
}

.tab-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.tab-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  padding: 10px;
  transition: 0.3s;
  color: var(--text-color);
}

.tab-btn.active {
  border-bottom: 2px solid var(--brand-blue);
  color: var(--brand-blue);
}

.tab-content {
  display: none;
  color: var(--text-color);
  line-height: 1.6;
}

.tab-content.active {
  display: block;
}

/* --- Reviews Section --- */
.single-product-info .product-reviews {
  margin-top: 30px;
}

.single-product-info .product-reviews h2 {
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--brand-blue);
  padding-bottom: 5px;
}

.single-product-info .add-review-btn {
  display: inline-block;
  background: var(--brand-blue);
  color: var(--btn-white-text);
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 15px;
  transition: 0.3s;
}

.single-product-info .add-review-btn:hover {
  border:1px solid var(--brand-blue);
  background: transparent;
  color: var(--text-default);
}

.single-product-info .review-form {
  display: none;
  border: 1px solid var(--hover-bg, #eee);
  padding: 20px;
  border-radius: 10px;
  background: var(--bg-card);
  margin-bottom: 20px;
}

.single-product-info .review-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 14px;
  color: var(--text-color);
}

.single-product-info .review-form select,
.single-product-info .review-form textarea {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid var(--hover-bg, #ccc);
  font-size: 14px;
  background: var(--bg-default);
  color: var(--text-color);
}

.single-product-info .submit-review-btn {
  background: var(--price-color);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.single-product-info .submit-review-btn:hover {
  background: #218838;
}

.single-product-info .submit-review-btn:focus,
.single-product-info .add-review-btn:focus{
  outline:none ;  
  border: 1px solid var(--brand-blue);
}

.single-product-info .review {
  border-bottom: 1px solid var(--hover-bg, #eee);
  padding: 15px 0;
}

.single-product-info .review:last-child {
  border-bottom: none;
}

.single-product-info .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.single-product-info .review-user {
  font-weight: 600;
  color: var(--text-color);
  font-size: 14px;
}

.single-product-info .review-rating {
  color: var(--brand-gold);
  font-size: 14px;
}

.single-product-info .review-comment {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 3px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .product-review-wrapper {
    flex-direction: column;
  }
  .gallery, .single-product-info {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .gallery {
    position: relative;
    top: auto;
    align-self: auto;
  }
  .gallery .main-img {
    max-height: 350px;
  }
  .gallery .thumbs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
  }
  .gallery .thumbs img {
    flex: 0 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    border: 1px solid var(--hover-bg, #ddd);
  }
  .gallery .thumbs img:hover {
    border-color: var(--brand-blue);
  }
  .single-product-info {
    max-height: none;
    overflow-y: visible;
    border: 1px solid var(--hover-bg, #eee);
    padding: 15px;
  }
  .single-product-info .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .single-product-info .add-review-btn,
  .single-product-info .submit-review-btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================
Single product Section  End
========================= */



/* Banner Card */
.banner-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: var(--brand-blue-light);
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-content {
  position: absolute;
  inset: 0;
  background: rgba(41, 98, 255, 0.4);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

.banner-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.banner-content p {
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
}

.banner-btn {
  background: var(--brand-gold);
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.banner-btn:hover {
  background: var(--brand-blue-hover);
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .top-trending-row {
    flex-direction: column;
  }
  .top-products-left,
  .top-products-banner {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .banner-card img {
    height: 300px;
  }
}






/* --- Popup Modal --- */
.shopy-modal {
    display: none; /* remains hidden initially */
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1211;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(8px);

    /* make it flex for centering */
    display: flex;
    justify-content: center;
    align-items: center;

    overflow-y: auto;
}

.shopy-modal-content {
    display: flex;
    flex-direction: row;
    background: var(--bg-default);
    border-radius: 16px;
    max-width: 900px;
    width: 60%;
    height: 383px; /* fixed modal height */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* --- Left Side (Image) --- */
.modal-left {
    position: relative;
    width: 50%;
    height: 100%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Close Button --- */
.shopy-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.shopy-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* --- Right Side (Details) --- */
.modal-right {
    width: 50%;
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-product-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

#modalProductCategoryBrand {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.modal-rating {
    font-size: 16px;
    color: #f5b50a;
    margin-bottom: 15px;
}

#modalProductDescription {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 20px;

    /* Smooth scroll behavior */
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Edge */
#modalProductDescription::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* Optional: for Firefox */
#modalProductDescription {
    scrollbar-width: none; /* Firefox */
}

.modal-price-section {
    margin-bottom: 25px;
    font-size: 20px;
    color: var(--text-default);
    font-weight: 700;
}

.shopy-product-actions {
    display: flex;
    gap: 15px;
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
    .shopy-modal-content {
        flex-direction: column;
        width: 90%; /* slightly smaller than desktop */
        height: 400px; /* reduced height for mobile */
    }

    .modal-left,
    .modal-right {
        width: 100%;
        height: auto; /* allow content to expand */
    }

    .modal-left {
        aspect-ratio: 1 / 1; /* keep image square */
        max-height: 250px; /* optional max height for image */
    }

    .modal-right {
        padding: 20px;
        overflow-y: auto; /* scrollable content */
    }

    #modalProductDescription {
        max-height: 150px; /* description scroll if too long */
        overflow-y: auto;
    }
}

/* Product Action Buttons */
.shopy-product-actions {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 10px;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    gap: 0.5rem;
}

.shopy-action-btn {
    flex: 1;
    text-align: center;
    padding: 0.6rem 0.8rem;
    border-radius: 5px;
    font-size: xx-small;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    box-sizing: border-box;
}

.shopy-action-btn.shopy-view-options {
    background-color: var(--brand-blue);
    color: var(--btn-white-text);
    border: 1px solid var(--brand-blue);
}
.shopy-action-btn.shopy-add-to-cart-listing,
.shopy-action-btn.shopy-buy-now {
    background-color: var(--text-muted);
    color: var(--text-default);
    border: 1px solid var(--text-muted);
}
.shopy-action-btn:hover {
    opacity: 0.9;
}



/* new update figma design product  */
/* shop.css */

.vertical-line {
    width: 6px;                  
    background-color: rgba(41, 98, 255, 0.2); /* Increase opacity to make it visible */
    align-self: stretch;           /* Stretch vertically in flex container */
}
.parent-flex {
    padding-left: 2rem;   /* space on the left */
    padding-right: 2rem;  /* space on the right */
    display: flex;
    gap: 1rem;            /* spacing between children */
}
/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
    .parent-flex {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        gap: 0.1rem; /* optional: smaller gap */
    }
    .vertical-line {
        width: 4px;
    }
}
/* Shop image background */
.parent-category .shop-img-bg ,
.brand-item .shop-img-bg {
    background-color: var(--brand-blue-light);
    display: flex;
    align-items: center;   /* vertical center img-wrapper */
    justify-content: center;
    padding-top: 4px;      /* top spacing above img-wrapper */
    padding-bottom: 4px;   /* bottom spacing below img-wrapper */
    border-radius: 5px;
}

/* Image smooth hover */
/* Normal image */
.parent-category .img-wrapper img ,
.brand-item .img-wrapper img {
    width: 2.5rem;  /* 40px */
    height: 2.5rem; /* 40px */
    transition: all 0.3s ease; /* smooth size change */
}

/* Active category image: slightly bigger */
.parent-category.active .img-wrapper img ,
.brand-item.active .img-wrapper img {
    width: 3rem;  /* 48px */
    height: 3rem; /* 48px */
}

/* Optional: keep hover effect */
.parent-category:hover .shop-img-bg img ,
.brand-item:hover .shop-img-bg img {
    transform: translateY(-5px);
}
/* Active category: border only on img-wrapper */
.parent-category.active .shop-img-bg .img-wrapper ,
.brand-item.active .shop-img-bg .img-wrapper {
    border-left: 3px solid var(--brand-blue);
    padding-bottom: 4px;  /* bottom spacing inside wrapper */
    padding-top: 0;       /* reset top inside wrapper, top space comes from shop-img-bg */
}


.parent-category.active .category-text,
.brand-item.active .brand-text {
    color: var(--brand-blue); /* active text color */
    font-weight: 600;
}
/* Horizontal scroll wrapper */
#subcategories-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on mobile */
}

/* Parent sidebar scroll */
.scroll-hide::-webkit-scrollbar {
   display: none;
}
.scroll-hide::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 2px;
}


/* Optional: spacing for inner flex items */
#subcategories-container .flex-wrap {
    display: flex;
    gap: 8px;
}

/* Subcategory item background */
.subcategory-item {
    background-color: var(--brand-blue-light) !important; 
    transition: transform 0.3s ease; 
    border-radius:5px;
}
.subcategory-item img{
    transition:transform 0.3s ease;
}
.subcategory-item:hover img{
    transform: translateY(-3px);
}

.subcategory-item:hover {
    transform: translateY(-3px);
    
}
/* Active subcategory: only border + text color */
.subcategory-item.active {
    border:2px solid var(--brand-blue); /* brand blue border */
    background:transparent !important;
}

.subcategory-item.active p {
    color: var(--brand-blue); /* brand blue text */
    font-weight: 600;
}

/* Reduce card height */
.shop-product-card {
    min-height: 260px;
    border-radius: 5px;
    box-shadow: 1px 1px 6px 0px #00000026;
}

/* Slightly reduce image size */
.shop-product-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
}

.shop-product-details {
    padding: 1rem; /* remove padding */
    margin-top: 0.25rem;

}
/* Title */
.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.1rem;
    margin-bottom: 2px;
    height: 2.8rem;                 /* fit 2 lines max */
    overflow: hidden;
}

/* Subtitle */
.product-subtitle {
    font-size: 0.85rem;
  color: var(--text-default);
  margin: 5px 0 8px;
  text-align:left;
  display: -webkit-box;
  -webkit-line-clamp: 2;        /* limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;      /* adds the "..." */
  white-space: normal;
  word-break: break-word;
  width: 100%;
  line-height: 1.25rem;
  min-height: 2.5rem;   
}

/* Price row */
.shop-product-price {
    margin: 0;
    font-size: 0.75rem;
}

/* Add button compact */
.product-add-to-cart {
    width: 55px;                     /* smaller width */
    padding: 0.2rem 0;
    font-size: 0.7rem;
    border-radius: 6px;
    border: 1px solid var(--brand-blue);
    color: var(--brand-blue);
    transition: 0.3s;
}

.product-add-to-cart:hover {
    background: var(--brand-blue);
    color: #fff;
}
@media (max-width: 459px) {
    .mobile-one-col {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}


/* filter section */
/* Filter section background */
/* Make subcategory items, More, and Filter boxes same size */
.subcategory-item,
.more-toggle,
.filter-toggle {
    background: var(--brand-blue-light);
    padding: 6px 10px;             /* Equal padding */
    border-radius: 6px;
    height: 40px;                   /* Same fixed height */
    display: flex;
    align-items: center;
    gap: 6px;
}


/* Make text vertically centered */
.subcategory-item p,
.more-toggle p,
.filter-toggle p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
}

/* Icon size adjustments */
.more-toggle img,
.filter-toggle img {
    width: 16px;
    height: 16px;
}

/* Optional hover effect */
.more-toggle:hover,
.filter-toggle:hover {
    transform: translateY(-3px); 
}

/* Text inside filter boxes */
.more-toggle p,
.filter-toggle p {
    margin: 0;
    padding: 0;
    font-weight: 500;
    color: var(--text-dark);
}


/* Brand selected text color */
.brand-selected {
    color: #2962ff; 
    font-weight: 600; 
}