/* assets/css/style.css */
@import url('login-options.css');
@import url('otp.css');
/* Modern clean UI, soft shadow, mobile-first responsive */

:root {
    --primary-color: #0d6efd;
    --accent-color: #e8234a;
    /* FABRILIFE pink/red — headings & CTAs  */
    --secondary-color: #6c757d;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
}

/* ============================================================
   STANDARD DROPDOWN MENU
   ============================================================ */

/* Parent item */
.site-dropdown {
    position: relative;
}

/* The dropdown menu */
.site-dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px;
    background: #fff !important;
    border-top: 2px solid var(--accent-color) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateY(10px);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show on hover (Desktop) */
@media (min-width: 992px) {
    .site-dropdown:hover>.site-dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.site-dropdown-menu li {
    position: relative;
}

.site-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.site-dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--accent-color);
}

/* Submenu fly-out (Desktop) */
.site-submenu {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    min-width: 200px;
    background: #fff !important;
    border: 1px solid #eee !important;
    box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

@media (min-width: 992px) {
    .has-submenu:hover>.site-submenu {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
}

/* Dropdown link active state */
.site-dropdown:hover>.site-nav-link {
    color: var(--accent-color) !important;
    border-bottom-color: var(--accent-color) !important;
}

/* Color for the 'View All' link */
.text-accent {
    color: var(--accent-color) !important;
}

/* Mobile — accordion behavior */
@media (max-width: 991.98px) {

    .site-dropdown-menu,
    .site-submenu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 1rem !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
    }

    /* Standardized padding for mobile menu items */
    .site-dropdown-menu a {
        padding: 0.6rem 1rem;
    }

    /* Toggle visibility via JS class */
    .site-dropdown.is-open>.site-dropdown-menu,
    .has-submenu.is-open>.site-submenu {
        display: block !important;
    }
}

/* (Keeping mega-menu classes for safety, but they are no longer used in header) */

/* Mobile — show as block accordion inside collapse */
@media (max-width: 991.98px) {
    .mega-menu {
        position: static !important;
        box-shadow: none;
        border-top: 1px solid #eee;
        border-bottom: none;
        animation: none;
        display: block;
    }

    .mega-dropdown:not(.is-open)>.mega-menu {
        display: none;
    }
}

/* Category heading — pink/red, uppercase, small */
.mega-menu-heading {
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

/* Category list items */
.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 0.45rem;
}

.mega-menu-list a {
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.15s;
}

.mega-menu-list a:hover {
    color: var(--accent-color);
}

/* Product card in NEW ARRIVALS column */
.mega-product-card {
    display: block;
    color: #333;
}

.mega-product-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    background: #f4f4f4;
    margin-bottom: 0.4rem;
}

.mega-product-name {
    font-size: 0.78rem;
    color: #444;
    margin: 0;
    line-height: 1.4;
}

.mega-product-card:hover .mega-product-name {
    color: var(--accent-color);
}

/* View All footer link — pink, bold */
.mega-view-all {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.15s;
}

.mega-view-all:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.mega-menu-footer {
    border-color: #eee !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Custom Soft Shadows for Cards */
.card {
    border: none;
    box-shadow: var(--card-shadow);
    transition: box-shadow var(--transition-speed), transform var(--transition-speed);
    border-radius: 0.75rem;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-5px);
}

.card-img-top {
    object-fit: cover;
    height: 250px;
}

/* Rounded Buttons */
.btn {
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* ============================================================
   SITE HEADER — matches FABRILIFE reference photo
   ============================================================ */

/* Sticky header — always on top with clean bottom border */
.site-header {
    z-index: 1030;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* Logo image sizing */
.site-header .navbar-brand img {
    max-height: 32px;
    width: auto;
}

/* Nav link style — thin, uppercase, tight tracking, no underline */
.site-nav-link {
    color: #1a1a1a !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    padding-top: 1.35rem !important;
    padding-bottom: 1.35rem !important;
}

.site-nav-link:hover,
.site-nav-link:focus,
.site-nav-link.active {
    color: #111 !important;
    border-bottom-color: #111;
}

/* Search — pill-less, light-gray fill, no border, no button */
.site-search-form {
    min-width: 220px;
    max-width: 280px;
    width: 100%;
}

.site-search-input {
    background-color: #f4f4f4 !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 0.85rem;
    color: #444;
    padding: 0.45rem 1rem;
    height: 38px;
    box-shadow: none !important;
    transition: background-color 0.2s;
}

.site-search-input:focus {
    background-color: #ebebeb !important;
    border: none !important;
    box-shadow: none !important;
}

.site-search-input::placeholder {
    color: #aaa;
    font-weight: 400;
}

/* Icon action bar */
.site-icon-bar {
    white-space: nowrap;
}

/* Individual icon link — icon on top, label below */
.site-icon-link {
    gap: 3px;
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.2s;
    line-height: 1;
}

.site-icon-link i {
    font-size: 1.15rem;
    display: block;
}

.site-icon-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.01em;
}

.site-icon-link:hover,
.site-icon-link:focus {
    color: #555 !important;
}

/* Cart badge (small dark pill over icon) */
.site-cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* Legacy class kept for backward compat */
.nav-action-icon {
    min-width: 48px;
    transition: color var(--transition-speed);
}

.nav-action-icon:hover {
    color: var(--primary-color) !important;
}

.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 0.7rem;
}


/* ============================================================
   HERO SLIDER — full-width Bootstrap Carousel
   ============================================================ */

/* Wrapper — flush to edges, no margin/padding */
.hero-slider-section {
    overflow: hidden;
    line-height: 0;
    /* kill whitespace gap under inline img */
    margin-bottom: 2.5rem;
}

/* Slide image — keep tight aspect ratio on desktop */
.hero-slide-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Taller images on small screens look better without cropping */
@media (max-width: 575.98px) {
    .hero-slide-img {
        max-height: 220px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-slide-img {
        max-height: 360px;
    }
}

/* Custom arrow buttons — round white pill with shadow */
.hero-arrow {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.92) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.carousel-control-prev.hero-arrow {
    left: 14px;
}

.carousel-control-next.hero-arrow {
    right: 14px;
}

.hero-arrow:hover {
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

/* Icon inside arrow */
.hero-arrow-icon {
    color: #222;
    font-size: 1rem;
    line-height: 1;
    display: flex;
}

/* Dot indicators — small, dark, with accent on active */
.hero-slider-section .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    margin: 0 4px;
    transition: background 0.25s, transform 0.25s;
}

.hero-slider-section .carousel-indicators .active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

/* Smooth crossfade transition */
.carousel-fade .carousel-item {
    transition: opacity 0.6s ease-in-out;
}

/* ============================================================
   PROMO STRIP — full-width dark bar below slider
   ============================================================ */
.promo-strip {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin-bottom: 2.5rem;
}

.promo-strip-inner {
    min-height: 52px;
    padding: 0.6rem 0;
}

/* Quick nav links */
.promo-nav {
    gap: 0;
}

.promo-link {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.45rem 1rem;
    white-space: nowrap;
    transition: color 0.18s;
}

.promo-link:hover {
    color: #fff;
}

.promo-divider {
    color: #555;
    font-size: 0.75rem;
    line-height: 1;
    user-select: none;
}

/* Center offer text */
.promo-app-text {
    color: #c0c0c0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.promo-highlight {
    color: var(--accent-color);
    font-weight: 800;
}

/* App store badge buttons — dark rounded rect like real badges */
.promo-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2c2c2c;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    text-decoration: none;
    color: #fff;
    transition: background 0.18s, border-color 0.18s;
    white-space: nowrap;
    line-height: 1.2;
}

.promo-badge-btn:hover {
    background: #3a3a3a;
    border-color: #666;
    color: #fff;
}

.promo-badge-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.promo-badge-text {
    display: flex;
    flex-direction: column;
}

.promo-badge-text small {
    font-size: 0.58rem;
    letter-spacing: 0.03em;
    color: #bbb;
    text-transform: uppercase;
    line-height: 1;
}

.promo-badge-text strong {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

/* Responsive: stack links and badges on very small screens */
@media (max-width: 575.98px) {
    .promo-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem !important;
        padding: 0.75rem 0;
    }

    .promo-link {
        padding: 0.25rem 0.6rem;
    }

    .promo-app-text {
        width: 100%;
        text-align: center;
    }

    .promo-badges {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   TRENDING CATEGORIES SECTION
   ============================================================ */

/* Section wrapper */
.trending-cat-section {
    padding-top: 0.5rem;
}

/* Heading wrapper — contains watermark + real heading */
.trending-cat-heading-wrap {
    line-height: 1;
    padding: 1rem 0;
}

/* Watermark text — large, light gray, sits behind the heading */
.trending-cat-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: 0.02em;
    font-style: italic;
    z-index: 0;
}

/* Real heading — sits on top of watermark */
.trending-cat-title {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    color: #1a1a1a;
}

/* Each category link wrapper */
.trending-cat-item {
    gap: 0.75rem;
    color: #333;
    transition: color 0.2s;
}

.trending-cat-item:hover {
    color: var(--accent-color);
}

/* Circle container */
.trending-cat-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid #909090;
    background-color: #f8f8f8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
    flex-shrink: 0;
}

.trending-cat-item:hover .trending-cat-circle {
    border-color: var(--accent-color);
    box-shadow: 0 4px 18px rgba(232, 35, 74, 0.12);
    transform: translateY(-4px);
}

/* Image inside circle */
.trending-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.trending-cat-item:hover .trending-cat-img {
    transform: scale(1.07);
}

/* Label below the circle */
.trending-cat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.3;
    transition: color 0.2s;
}

.trending-cat-item:hover .trending-cat-label {
    color: var(--accent-color);
}

/* Responsive circle sizes */
@media (max-width: 575.98px) {
    .trending-cat-circle {
        width: 90px;
        height: 90px;
    }

    .trending-cat-label {
        font-size: 0.72rem;
    }
}

/* Product Gallery */
.product-gallery-main {
    width: 100%;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    object-fit: cover;
}

.product-gallery-thumb {
    width: 100%;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: opacity 0.2s;
}

.product-gallery-thumb:hover {
    opacity: 0.7;
}

/* ============================================================
   PEEK BANNER SLIDER — custom JS slider
   pb-section → pb-viewport → pb-track → pb-slide(s)
   ============================================================ */

/* Section wrapper: relative for arrow positioning */
.pb-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* clips the peeking left/right ghost edges */
}

/* Viewport — the visible "window" */
.pb-viewport {
    width: 100%;
    overflow: hidden;
}

/* Track — flex row, JS moves this with translateX */
.pb-track {
    display: flex;
    will-change: transform;
}

/* Individual slide */
.pb-slide {
    flex: 0 0 auto;
    /* width set by JS */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ddd;
    height: 300px;
    flex-shrink: 0;
}

/* Banner image fills slide */
.pb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* Text overlay — centered over image */
.pb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.15);
}

.pb-sub {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.pb-headline {
    color: #fff;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0.15rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pb-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.9rem;
}

.pb-desc strong {
    color: #fff;
    font-weight: 800;
}

/* SHOP NOW — outlined white button */
.pb-btn {
    display: inline-block;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    padding: 0.42rem 1.6rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}

.pb-btn:hover {
    background: #fff;
    color: #222;
}

/* Dot indicators */
.pb-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.pb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.pb-dot.active {
    background: #222;
    transform: scale(1.35);
}

/* Prev / Next arrow buttons */
.pb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-calc(50% + 10px));
    /* offset for dots height below */
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.88);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: background 0.18s, box-shadow 0.18s;
    padding: 0;
}

.pb-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.pb-arrow i {
    font-size: 1rem;
    color: #222;
    line-height: 1;
}

.pb-arrow-prev {
    left: 1.2%;
}

.pb-arrow-next {
    right: 1.2%;
}

/* Responsive heights */
@media (max-width: 575.98px) {
    .pb-slide {
        height: 180px;
        border-radius: 8px;
    }

    .pb-headline {
        font-size: 1.5rem;
    }

    .pb-desc,
    .pb-sub {
        font-size: 0.68rem;
    }

    .pb-btn {
        font-size: 0.68rem;
        padding: 0.32rem 0.9rem;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .pb-slide {
        height: 240px;
    }
}

/* Sidebar Filters */
.filter-card {
    box-shadow: none;
    border: 1px solid #dee2e6;
}

/* Footer Section */
footer {
    background-color: #212529;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Forms Customization */
.form-control,
.form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

/* General Utilities */
.text-muted-soft {
    color: #888;
}

.star-rating {
    color: #ffc107;
}

/* ============================================================
   FEATURE PRODUCTS SECTION
   ============================================================ */

.fp-header {
    background-color: #fbf5ea;
    /* Matches cream base color from image */
    border: 1px solid #f2eadb;
}

.fp-title {
    color: #1a1a1a;
    letter-spacing: 0.04em;
    font-size: 1.85rem;
}

/* Card container */
.fp-card {
    position: relative;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #eaebed;
    /* Matches gray background of clothing items */
}

.fp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Floating pill badge on the top edge */
.fp-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centers exactly over the top border edge */
    background-color: #ffffff;
    color: #334155;
    font-size: 0.9rem;
    padding: 0.2rem 1.6rem;
    border-radius: 30px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    /* Matches floating shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* The actual image */
.fp-img {
    border-radius: 12px;
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .fp-title {
        font-size: 1.45rem;
    }

    .fp-badge {
        font-size: 0.78rem;
        padding: 0.15rem 1rem;
    }
}

/* ============================================================
   NEW PRODUCTS SECTION
   ============================================================ */

.np-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #ccc !important;
}

.np-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Image styling */
.np-img {
    aspect-ratio: 1;
    /* Match the square look from reference */
    object-fit: cover;
    mix-blend-mode: multiply;
    /* Allows white backgrounds in product shots to blend seamlessly into the gray placeholder if needed */
}

/* Strictly limit text to 2 lines */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 2.8em;
    /* 1.4 line-height * 2 lines */
}

/* Floating cart button hover */
.hover-lift {
    transition: transform 0.2s ease, background-color 0.2s ease !important;
}

.hover-lift:hover {
    transform: scale(1.1) !important;
    background-color: #000 !important;
}

/* Text utility for precise font sizes in badges */
.fs-7 {
    font-size: 0.8rem;
}

/* ============================================================
   TOP BRANDS SECTION
   ============================================================ */

.brand-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    /* Keep it perfectly square */
    background-color: #333;
    /* Fallback for slow image load */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}

.brand-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: normal;
    transition: transform 0.5s ease;
}

.brand-card:hover .brand-bg {
    transform: scale(1.1);
}

/* Dark gradient/overlay applied centrally */
.brand-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: background-color 0.3s ease;
}

.brand-card:hover .brand-overlay {
    background-color: rgba(0, 0, 0, 0.45);
    /* Lighter on hover to reveal image more */
}

/* Responsive constraints for typography inside the brand boxes */
@media (max-width: 575.98px) {
    .brand-logo {
        transform: scale(0.75);
    }
}

/* Sidebar Filters */
.filter-card {
    box-shadow: none;
    border: 1px solid #dee2e6;
}

/* Footer Section */
.site-footer {
    background-color: #e6faec;
    border-top: 1px solid #d1eedc;
    margin-top: auto;
}

.footer-bottom {
    background-color: #3f3f3f;
}

.text-brand {
    color: #ff3b5c;
}

.social-icon {
    width: 32px;
    height: 32px;
    text-decoration: none !important;
}

.social-fb {
    background-color: #1877F2;
}

.social-tw {
    background-color: #1DA1F2;
}

.social-yt {
    background-color: #FF0000;
}

.social-ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-li {
    background-color: #0A66C2;
}

.social-tk {
    background-color: #000000;
}

.help-icon {
    font-size: 2.5rem;
}

.tracking-wide {
    letter-spacing: 0.5px;
}

/* Forms Customization */
.form-control,
.form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

/* General Utilities */
.text-muted-soft {
    color: #888;
}

.star-rating {
    color: #ffc107;
}

/* ============================================================
   CATEGORY PAGE RE-DESIGN
   ============================================================ */

.bg-shopex-green {
    background-color: #287D14 !important;
}

.text-shopex-green {
    color: #287D14 !important;
}

/* Breadcrumb */
.cat-breadcrumb-wrap {
    background-color: #fbfbfb;
    font-size: 31px;
}

/* Sidebar */
.filter-sidebar {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.filter-header {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background-color: #287D14;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.filter-header .toggle-icon {
    transition: transform 0.3s ease;
}

.filter-header.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.filter-list {
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.filter-list.collapsed {
    max-height: 0 !important;
}

.filter-list .list-group-item {
    border: none;
    border-bottom: 1px solid #f4f4f4;
    padding: 0;
}

.filter-list .list-group-item:last-child {
    border-bottom: none;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.filter-link .transition-icon {
    transition: transform 0.3s ease;
}

.filter-link.active .transition-icon {
    transform: rotate(90deg);
}

.filter-link:hover {
    background-color: #fafafa;
    color: #287D14;
}

.filter-badge {
    background-color: #287D14;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.3em 0.5em;
    min-width: 24px;
    text-align: center;
    border-radius: 50px;
}

.sub-cat-list {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fdfdfd;
}

.sub-cat-list:not(.show) {
    max-height: 0;
    padding: 0;
    border: none;
}

.sub-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}

.sub-cat-link:hover {
    color: #287D14;
}

.sub-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #888;
    font-size: 0.7rem;
}

/* Category Pills */
.cat-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    color: #4B5563;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    line-height: 1.2;
}

.cat-pill:hover,
.cat-pill.active {
    border-color: #287D14;
    color: #287D14;
    background-color: #F8FAF8;
}

/* Toolbar */
.cat-toolbar {
    background-color: #f8f9fa;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.toolbar-icon {
    font-size: 1.25rem;
    cursor: pointer;
    color: #c9c9c9;
    margin-right: 0.5rem;
}

.toolbar-icon.active {
    color: #ff3b5c;
    /* Redish from theme */
}

/* Category Product Card */
.cat-card {
    border: 1px solid #f1f1f1;
    border-radius: 6px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    background-color: #fff;
    overflow: hidden;
    height: 100%;
}

.cat-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.cat-card-img-box {
    position: relative;
    background-color: #e8e8e8;
    aspect-ratio: 1;
    overflow: hidden;
}

.cat-card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-badge-discount {
    background-color: #ff2c55;
    /* Hot pink/red */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}

.cat-badge-free-delivery {
    background-color: #0b9e6c;
    /* Green */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}

.cat-slider-nav {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 20px;
    z-index: 2;
}

.cat-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
}

.cat-slider-dot.active {
    background-color: #fff;
}

.cat-card-body {
    padding: 1rem;
}

.cat-card-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 2.8em;
}

.cat-save-badge {
    background-color: #00aa5b;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.cat-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.cat-price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
}

.cat-price-old {
    font-size: 0.85rem;
    color: #a0a0a0;
    text-decoration: line-through;
}

.cat-price-percent {
    font-size: 0.8rem;
    color: #ff2c55;
    font-weight: 600;
}

.cat-btn-cart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    padding: 0;
}

.cat-btn-cart:hover {
    background-color: #0b9e6c;
    color: #fff;
}

/* Toolbar Icon Active State */
.toolbar-icon.active {
    color: #ff3b5c !important;
}

/* Grid Views */
#productGridRow.grid-2 .product-item {
    flex: 0 0 auto;
    width: 50%;
}

#productGridRow.grid-3 .product-item {
    flex: 0 0 auto;
    width: 33.33333333%;
}

/* List View Styling */
#productGridRow.list-view {
    display: flex;
    flex-direction: column;
}

#productGridRow.list-view .product-item {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    margin-bottom: 1rem;
}

#productGridRow.list-view .np-card {
    display: flex;
    flex-direction: row !important;
    height: auto !important;
    padding-bottom: 0 !important;
}

#productGridRow.list-view .np-card .position-relative {
    width: 250px;
    flex-shrink: 0;
    border-radius: 6px 0 0 6px !important;
}

#productGridRow.list-view .np-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem !important;
}

#productGridRow.list-view .np-card .btn-dark {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin: 1rem 0 0 0 !important;
    width: fit-content !important;
    border-radius: 50px !important;
    padding: 0.5rem 1.5rem !important;
}

#productGridRow.list-view .np-card .btn-dark::after {
    content: " Add to Bag";
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    #productGridRow.list-view .np-card {
        flex-direction: column !important;
    }

    #productGridRow.list-view .np-card .position-relative {
        width: 100%;
        border-radius: 6px 6px 0 0 !important;
    }
}

/* ============================================================
   PRODUCT PAGE REDESIGN STYLES
============================================================ */

/* Main Gallery SALE Badge */
.product-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ff3b5c;
    color: #fff;
    padding: 2px 12px;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

/* Size Selector Boxes */
.size-selector-btn {
    width: 60px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border-radius: 0;
}

.size-selector-btn:hover {
    border-color: #222;
}

.size-selector-btn.active {
    background-color: #222;
    border-color: #222;
    color: #fff;
}

/* Returns & Info Box */
.info-box-returns {
    background-color: #f9fafb;
    border: 1px solid #f1f2f4;
    border-radius: 8px;
    padding: 1.5rem;
}

.info-item {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item-title {
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.info-item-title i {
    color: #00b894;
}

.info-item-text {
    color: #666;
    padding-left: 24px;
    font-size: 0.85rem;
}

/* Frequently Bought Together */
.fbt-section {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.fbt-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0;
}

.fbt-img {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
}

.fbt-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Size Chart Tabs & Table */
.size-chart-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
}

.chart-tab-btn {
    padding: 6px 24px;
    border: 1px solid #eee;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
}

.chart-tab-btn.active {
    background: #f8f9fa;
    color: #222;
}

.size-chart-table {
    width: 100%;
    font-size: 0.85rem;
}

.size-chart-table th {
    background-color: #f8f9fa;
    color: #666;
    font-weight: 500;
    padding: 12px;
    border: 1px solid #eee;
}

.size-chart-table td {
    padding: 12px;
    border: 1px solid #eee;
    color: #444;
}

/* Product Meta Enhancements */
.spec-list {
    list-style: none;
    padding-left: 0;
}

.spec-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #555;
    font-size: 0.9rem;
}

.spec-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #222;
    font-weight: bold;
}

/* Quantity Control Modern */
.qty-control-modern .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.qty-control-modern .form-control {
    width: 60px;
    height: 40px;
    text-align: center;
    border-right: none;
    font-weight: 600;
}

/* Lightbox for Image Zoom */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    overflow: hidden;
    user-select: none;
}

.lightbox-viewport {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Provides 'visible part only' clipping */
    border-radius: 8px;
}

.lightbox-content-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    position: relative;
}

.lightbox-content-wrapper:active {
    cursor: grabbing;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    will-change: transform;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: 0.2s;
}

.lightbox-close:hover {
    color: #ff3b5c;
}

.lightbox-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    border-radius: 50%;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ff3b5c;
}

.lightbox-instructions {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10001;
}

@media (max-width: 768px) {
    .lightbox-viewport {
        width: 100vw;
        height: 70vh;
    }

    .lightbox-instructions {
        display: none;
    }
}

/* ============================================================
   CART PAGE REDESIGN
   - Matches reference photo layout
   ============================================================ */

.cart-item-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
}

.cart-item-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.cart-item-img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    background: #f8f8f8;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

.cart-item-meta-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.cart-meta-item {
    flex: 1;
}

.cart-meta-label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.cart-select-custom {
    padding: 8px 30px 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
}

.btn-add-size {
    border: none;
    background: #222;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-remove-item {
    border: none;
    background: #fee;
    color: #ff3b5c;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-price-group {
    text-align: right;
}

.cart-old-price {
    font-size: 0.85rem;
    color: #ccc;
    text-decoration: line-through;
    display: block;
}

.cart-current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

/* Summary Sidebar */
.summary-container {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 40px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.summary-total-row {
    border-top: 1px solid #eee;
    padding-top: 25px;
    margin-top: 25px;
    margin-bottom: 30px;
}

.summary-price-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: #222;
}

.summary-divider-thick {
    height: 10px;
    background: #222;
    margin: 20px 0;
}

.btn-place-order {
    background: #222;
    color: #fff;
    width: 100%;
    padding: 16px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-continue-shopping {
    background: #fff;
    color: #222;
    border: 1px solid #eee;
    width: 100%;
    padding: 16px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    display: block;
    text-decoration: none;
    margin-bottom: 12px;
}

.btn-ship-outside {
    background: #f8f8f8;
    color: #666;
    border: none;
    width: 100%;
    padding: 16px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bulk-order-box {
    border-left: 3px solid #222;
    margin-top: 40px;
    padding-left: 20px;
}

.trust-badges-bar {
    background: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    margin-top: 40px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #666;
}

/* Related Products ("You May Also Like") */
.section-title-related {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.section-subtitle-related {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 40px;
}

.related-product-card {
    border: 1px solid #f0f0f0;
    border-radius: 2px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s;
}

.related-product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.related-img-wrap {
    background: #f5f5f5;
    position: relative;
    padding-top: 125%;
    /* 4:5 aspect ratio */
}

.related-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-body {
    padding: 15px;
    text-align: center;
}

.related-title {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-price {
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.btn-view-product {
    background: #333;
    color: #fff;
    width: 100%;
    border: none;
    padding: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

@media (max-width: 991px) {
    .summary-container {
        padding: 20px;
        margin-top: 30px;
    }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 4rem 0;
}

.contact-form-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form-control {
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
    background-color: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.2s;
}

.contact-form-control:focus {
    border-color: var(--accent-color) !important;
}

.contact-info-title {
    font-weight: 700;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-info-label {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.contact-info-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
}

.btn-contact-submit {
    background-color: #000;
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 6px;
    border: none;
    transition: opacity 0.2s;
}

.btn-contact-submit:hover {
    opacity: 0.8;
    color: #fff;
}

.captcha-placeholder {
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    max-width: 300px;
    padding: 10px;
    margin-top: 1rem;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.checkout-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.checkout-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.checkout-card-title i {
    font-size: 1.25rem;
    color: #666;
}

.checkout-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.5rem;
}

.checkout-form-label span {
    color: #dc3545;
}

.checkout-form-control {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
    background-color: #fff !important;
}

.checkout-form-control:focus {
    border-color: #000 !important;
    box-shadow: none !important;
}

.order-summary-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.order-item {
    display: flex;
    gap: 15px;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.order-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.order-item-info {
    flex-grow: 1;
}

.order-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #333;
}

.order-item-meta {
    font-size: 0.8rem;
    color: #777;
}

.order-item-price {
    text-align: right;
}

.price-current {
    font-weight: 700;
    font-size: 0.9rem;
}

.price-old {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.75rem;
    display: block;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #555;
}

.summary-total {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #000;
}

.delivery-badge {
    background-color: #f0fff4;
    color: #2f855a;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1rem 0;
}

.payment-method-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-method-card.active {
    border-color: #000;
    background-color: #fcfcfc;
}

.payment-method-card input[type="radio"] {
    width: 20px;
    height: 20px;
}

.payment-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.payment-info {
    flex-grow: 1;
}

.payment-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.payment-desc {
    font-size: 0.8rem;
    color: #777;
}

.btn-confirm-order {
    background-color: #2c2c2c;
    color: #fff;
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-apply-coupon {
    background-color: #2c2c2c;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .order-summary-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-section {
    padding: 4rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #444;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
}

.faq-list {
    --bs-accordion-border-color: transparent;
    --bs-accordion-bg: transparent;
}

.faq-item {
    background-color: #f9f9f9 !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #ddd !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.accordion-button.faq-question {
    background-color: transparent !important;
    color: #555 !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 1.25rem 2rem;
    box-shadow: none !important;
}

.accordion-button.faq-question::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23999'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-body {
    padding: 0 2rem 1.25rem 2rem;
}

.contact,
.contactadd {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
}

.login-form-panel,.signup-form-panel {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
}

@media (max-width: 768.98px) {
    .faq-title {
        font-size: 2rem;
    }

    .accordion-button.faq-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 0 1.5rem 1rem 1.5rem;
    }
}

/* ============================================================
   TRACK ORDER PAGE — Redesign
   ============================================================ */
.track-section {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.track-order-card {
    max-width: 600px;
    margin: 0 auto;
}

.track-order-header {
    text-align: center;
    margin-bottom: 30px;
}

.track-order-header h2 {
    font-size: 36px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.track-order-body {
    padding: 0;
}

.track-form .form-group {
    margin-bottom: 25px;
}

.track-form .form-control {
    height: 60px;
    padding: 10px 20px;
    font-size: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.2s;
}

.track-form .form-control:focus {
    border-color: #aaa !important;
    box-shadow: none !important;
    outline: none !important;
}

.track-form .form-control::placeholder {
    color: #aaa;
    font-weight: 400;
}

.btn-submit-track {
    background-color: #27ae60 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    border-radius: 2px !important;
    cursor: pointer;
    transition: background-color 0.2s;
    width: auto !important;
    text-transform: none !important;
}

.btn-submit-track:hover {
    background-color: #219150 !important;
}

.btn-submit-track:disabled {
    background-color: #95a5a6 !important;
    cursor: not-allowed;
}

@media (max-width: 767.98px) {
    .track-section {
        padding: 50px 0;
    }
    .track-order-header h2 {
        font-size: 28px;
    }
}


/* ============================================================
   CUSTOMER ACCOUNT PAGES (Profile & Orders)
   ============================================================ */
.account-page { 
    padding: 32px 0 60px; 
    margin-top: 135px; 
    background: #f5f6fa; 
    min-height: 80vh; 
}

/* Sidebar Styling */
.account-sidebar {
    background: #fff; 
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    padding: 28px 20px 20px; 
    height: fit-content;
    position: sticky; 
    top: 80px;
}
.sidebar-avatar { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid #e8f0fe; 
    display: block; 
    margin: 0 auto 12px; 
}
.sidebar-avatar-placeholder {
    width: 80px; 
    height: 80px; 
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 32px; 
    color: #fff; 
    font-weight: 700; 
    margin: 0 auto 12px;
}
.sidebar-name { 
    font-size: 15px; 
    font-weight: 700; 
    text-align: center; 
    color: #1a1a2e; 
    margin: 0; 
}
.sidebar-email { 
    font-size: 12px; 
    color: #888; 
    text-align: center; 
    margin-bottom: 20px; 
}
.sidebar-nav { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
.sidebar-nav li a {
    display: flex; 
    align-items: center; 
    gap: 10px;
    padding: 11px 14px; 
    border-radius: 8px;
    color: #444; 
    font-size: 14px; 
    font-weight: 500;
    text-decoration: none; 
    transition: all .2s;
}
.sidebar-nav li a:hover { 
    background: #f0f4ff; 
    color: #4361ee; 
}
.sidebar-nav li a.active { 
    background: #4361ee; 
    color: #fff; 
}
.sidebar-nav li a .badge-new {
    background: #e74c3c; 
    color: #fff; 
    font-size: 10px;
    padding: 2px 7px; 
    border-radius: 20px; 
    margin-left: auto;
}
.sidebar-divider { 
    border: none; 
    border-top: 1px solid #f0f0f0; 
    margin: 10px 0; 
}

/* Main Content Area */
.account-main {
    background: #fff; 
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    padding: 32px 28px;
}
.profile-section-title, .page-title {
    font-size: 20px; 
    font-weight: 700; 
    color: #1a1a2e;
    padding-bottom: 14px; 
    border-bottom: 1px solid #e8ecf0;
    margin-bottom: 24px;
}

/* Forms & Profile Specific */
.profile-form label {
    font-size: 13px; 
    font-weight: 600; 
    color: #555; 
    margin-bottom: 6px; 
    display: block;
}
.profile-form .form-control {
    border: 1px solid #dde3ec; 
    border-radius: 8px;
    padding: 10px 14px; 
    font-size: 14px; 
    color: #333;
    background: #f8f9fc; 
    transition: border .2s, background .2s;
}
.profile-form .form-control:focus {
    border-color: #4361ee; 
    background: #fff;
    box-shadow: 0 0 0 3px rgba(67,97,238,.08);
    outline: none;
}
.profile-form textarea.form-control { 
    resize: vertical; 
    min-height: 90px; 
}

.btn-update {
    background: #27ae60; 
    border: none; 
    color: #fff;
    font-size: 14px; 
    font-weight: 600; 
    padding: 10px 28px;
    border-radius: 8px; 
    cursor: pointer; 
    transition: background .2s;
}
.btn-update:hover { 
    background: #1e8449; 
}
.btn-cancel {
    background: #fff; 
    border: 1px solid #ccc; 
    color: #555;
    font-size: 14px; 
    font-weight: 600; 
    padding: 10px 22px;
    border-radius: 8px; 
    cursor: pointer; 
    margin-left: 8px;
    text-decoration: none; 
    transition: all .2s;
}
.btn-cancel:hover { 
    border-color: #888; 
    color: #333; 
}

.avatar-upload-section {
    display: flex; 
    align-items: center; 
    gap: 20px;
    margin-bottom: 28px; 
    padding-bottom: 22px;
    border-bottom: 1px solid #f0f0f0;
}
.profile-big-avatar { 
    width: 90px; 
    height: 90px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid #e8f0fe; 
}
.profile-big-placeholder {
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 36px; 
    color: #fff; 
    font-weight: 700; 
    flex-shrink: 0;
}
.avatar-upload-info h6 { 
    font-size: 15px; 
    font-weight: 700; 
    margin-bottom: 4px; 
    color: #1a1a2e; 
}
.avatar-upload-info p { 
    font-size: 12px; 
    color: #999; 
    margin: 0; 
}
.btn-change-photo {
    background: #f0f4ff; 
    border: 1px solid #c7d2fe; 
    color: #4361ee;
    font-size: 12px; 
    font-weight: 600; 
    padding: 7px 16px;
    border-radius: 7px; 
    cursor: pointer; 
    margin-top: 8px;
    display: inline-block; 
    transition: all .2s;
}
.btn-change-photo:hover { 
    background: #4361ee; 
    color: #fff; 
}

/* Order History Specific */
.filter-tabs {
    display: flex; 
    flex-wrap: wrap; 
    gap: 4px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px; 
    padding-bottom: 0;
}
.filter-tabs .tab-btn {
    background: none; 
    border: none;
    padding: 10px 16px; 
    font-size: 13px; 
    font-weight: 600;
    color: #888; 
    cursor: pointer; 
    border-bottom: 2px solid transparent;
    margin-bottom: -2px; 
    transition: all .2s;
}
.filter-tabs .tab-btn:hover,
.filter-tabs .tab-btn.active { 
    color: #4361ee; 
    border-bottom-color: #4361ee; 
}

.status-select {
    border: 1px solid #ddd; 
    border-radius: 8px;
    padding: 7px 14px; 
    font-size: 13px; 
    color: #555;
    background: #fff; 
    cursor: pointer; 
    outline: none;
    min-width: 110px;
}

.order-card {
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.order-card:hover { 
    box-shadow: 0 4px 18px rgba(0,0,0,.09); 
}
.order-card-header {
    background: #f8f9fc;
    padding: 12px 18px;
    border-bottom: 1px solid #eee;
    display: flex; 
    flex-wrap: wrap;
    align-items: center; 
    gap: 10px;
}
.order-id-link {
    font-size: 14px; 
    font-weight: 700;
    color: #4361ee; 
    text-decoration: none;
}
.order-id-link:hover { 
    text-decoration: underline; 
}
.order-meta { 
    font-size: 12px; 
    color: #888; 
}
.order-meta span { 
    margin-right: 14px; 
}
.order-card-actions { 
    margin-left: auto; 
    display: flex; 
    gap: 8px; 
}
.btn-reorder {
    background: #fff; 
    border: 1px solid #ccc;
    color: #555; 
    font-size: 12px; 
    padding: 5px 14px;
    border-radius: 6px; 
    cursor: pointer; 
    transition: all .2s;
}
.btn-reorder:hover { 
    border-color: #4361ee; 
    color: #4361ee; 
}
.btn-options {
    background: #4a4a6a; 
    border: none;
    color: #fff; 
    font-size: 12px; 
    padding: 5px 14px;
    border-radius: 6px; 
    cursor: pointer; 
    transition: all .2s;
    display: flex; 
    align-items: center; 
    gap: 4px;
}

.order-item {
    display: flex; 
    align-items: center; 
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #f5f5f5;
}
.order-item:last-child { 
    border-bottom: none; 
}
.order-item-img {
    width: 54px; 
    height: 54px; 
    object-fit: cover;
    border-radius: 8px; 
    border: 1px solid #eee;
    flex-shrink: 0;
}
.order-item-img-placeholder {
    width: 54px; 
    height: 54px; 
    border-radius: 8px;
    background: #f0f4ff;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 22px; 
    flex-shrink: 0;
}
.order-item-info { 
    flex: 1; 
    min-width: 0; 
}
.order-item-name {
    font-size: 14px; 
    font-weight: 600; 
    color: #222;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}
.order-item-qty { 
    font-size: 12px; 
    color: #888; 
    margin-top: 2px; 
}
.order-item-price { 
    font-size: 15px; 
    font-weight: 700; 
    color: #1a1a2e; 
    min-width: 80px; 
    text-align: right; 
}
.order-item-status { 
    min-width: 90px; 
    text-align: right; 
}
.badge-status {
    display: inline-block; 
    font-size: 11px; 
    font-weight: 600;
    padding: 5px 12px; 
    border-radius: 20px;
}
.badge-pending   { background: #fff3cd; color: #856404; }
.badge-approved  { background: #d1e7dd; color: #0f5132; }
.badge-delivered { background: #cff4fc; color: #055160; }
.badge-cancel    { background: #f8d7da; color: #842029; }
.badge-shipped   { background: #d3d3f7; color: #3730a3; }
.badge-paid      { background: #d1e7dd; color: #0f5132; }

.empty-orders {
    text-align: center; 
    padding: 60px 20px;
    color: #aaa;
}
.empty-orders i { 
    font-size: 64px; 
    margin-bottom: 16px; 
    color: #ddd; 
}
.empty-orders h5 { 
    font-size: 18px; 
    color: #999; 
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .account-sidebar { 
        margin-bottom: 20px; 
        position: static; 
    }
    .account-main { 
        padding: 18px 14px; 
    }
    .avatar-upload-section { 
        flex-direction: column; 
        text-align: center; 
    }
    .order-card-header { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    .order-card-actions { 
        margin-left: 0; 
    }
    .filter-tabs { 
        overflow-x: auto; 
        flex-wrap: nowrap; 
    }
    .filter-tabs .tab-btn { 
        white-space: nowrap; 
    }
    .order-item { 
        flex-wrap: wrap; 
    }
    .order-item-price, .order-item-status { 
        min-width: unset; 
        text-align: left; 
    }
}

/* ============================================================
   HEADER SEARCH SUGGESTIONS
   ============================================================ */
.site-search-form {
    position: relative;
    width: 280px;
}

.search-suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1050;
    margin-top: 8px;
    display: none;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #eee;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
    border-bottom: 1px solid #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: #f8f9fa;
    color: #4361ee;
}

.suggestion-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0f0f0;
}

.suggestion-info {
    flex: 1;
    min-width: 0;
}

.suggestion-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-price {
    font-size: 13px;
    color: #27ae60;
    font-weight: 600;
}

.suggestion-price del {
    color: #999;
    font-weight: 400;
    font-size: 11px;
    margin-right: 5px;
}

.suggestion-header {
    background: #f8f9fc;
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-suggestion {
    padding: 15px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

@media (max-width: 991.98px) {
    .site-search-form {
        width: 100%;
    }
}

/* ============================================================
   FAQ PAGE REDESIGN
   ============================================================ */
.faq-new-container {
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-new-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-new-header h2 {
    font-size: 32px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.faq-new-header hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 0 auto;
    width: 100%;
}

.faq-new-list {
    margin-top: 30px;
}

.faq-new-item {
    margin-bottom: 12px;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f9;
}

.faq-new-question {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 16px;
    color: #444;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-new-question:hover {
    background: #f1f1f1;
}

.faq-new-answer {
    padding: 0 20px 20px 20px;
    display: none;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.faq-new-item.active .faq-new-question {
    background: #f1f1f1;
}

@media (max-width: 768px) {
    .faq-new-header h2 {
        font-size: 24px;
    }
}
