/* ── Font Performance Optimization ── */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2") format("woff2");
}

/* ── Content Visibility & Offscreen Render Optimization ── */
.upcoming-mobiles-card,
.featured-comp-card-wrap,
.home-blog-card-wrap,
.footer-seo-section,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 350px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #fff;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
.category-header-bar {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}

.category-container {
    max-width: 1024px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 35px 0;
    padding: 25px 20px;
    justify-items: center;
}

@media (max-width: 992px) {
    .category-container {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px 0;
    }
}

@media (max-width: 576px) {
    .category-container {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px 0;
    }
}

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.category-circle-item:hover {
    transform: translateY(-5px);
}

.circle-image-wrapper {
    width: 60px;
    height: 60px;
    background: #fdfdfd;
    border: 2px solid rgba(255, 102, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-circle-item:hover .circle-image-wrapper {
    border-color: #ff6600;
    background: #fff;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.15);
    transform: translateY(-2px);
}

.circle-image-wrapper img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.category-name {
    font-size: 12px;
    font-weight: 700;
    color: #444;
    transition: color 0.3s ease;
}

.category-circle-item:hover .category-name {
    color: #ff6600;
}

.category-deal .circle-image-wrapper {
    background: #fff0f0;
    border: 2px solid #ff4d4d;
    animation: pulse-deal 2s infinite;
}

.category-deal .category-name {
    color: #ff4d4d !important;
}

@keyframes pulse-deal {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 77, 77, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
    }
}



.header-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-number {
    background: linear-gradient(135deg, #ff6600, #ff8833);
    color: white;
    font-size: 28px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.logo-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {

    0%,
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.logo-text {
    color: white;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-tagline {
    color: #ff6600;
    font-size: 10px;
    margin-left: 8px;
    letter-spacing: 2px;
    font-weight: 600;
}

.search-bar {
    flex: 1;
    max-width: 540px;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    width: 100%;
    height: 40px;
    padding: 8px 42px 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    background: #ffffff !important;
    color: #1e293b !important;
    -webkit-text-fill-color: #1e293b !important;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-bar input:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.2);
}

.search-bar input::placeholder {
    color: #94a3b8 !important;
    -webkit-text-fill-color: #94a3b8 !important;
    font-size: 13.5px;
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: #1e293b;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.search-btn:hover {
    opacity: 0.7;
}

.login-btn {
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    background: linear-gradient(135deg, #ff6600, #ff8833);
    border-color: #ff6600;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--nav-bg-color, #16213e);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0px 20px;
    height: 48px;
    box-sizing: border-box;
}

.nav-item-wrapper,
.nav-item {
    display: inline-flex;
    align-items: center;
}

.nav-item {
    padding: 7px 11px;
    text-decoration: none;
    color: var(--nav-text-color, #e2e8f0);
    font-size: 13.5px;
    font-weight: 550;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    border-radius: 8px;
    letter-spacing: -0.1px;
    background: transparent;
    cursor: pointer;
}

.nav-item:hover,
.nav-item-wrapper.active .nav-item {
    color: #ff8833;
    background: rgba(255, 102, 0, 0.14);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6600, #ff8833, #ff6600);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 260px 260px 300px;
    gap: 0;
    padding: 28px 28px 24px 28px;
}

.mega-column {
    padding: 0 20px;
    position: relative;
}

.mega-column:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(to bottom,
            transparent,
            #e0e0e0 20%,
            #e0e0e0 80%,
            transparent);
}

.mega-column h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f3f3;
}

.mega-column h3 span {
    margin-left: 6px;
    color: #ff6600;
    font-size: 14px;
    font-weight: 600;
}

.mega-column ul {
    list-style: none;
}

.mega-column ul li {
    margin-bottom: 0;
}

.mega-column ul li a {
    text-decoration: none;
    color: #444;
    font-size: 13px;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 0 -12px;
    border-radius: 8px;
    position: relative;
    font-weight: 500;
}

.mega-column ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #ff6600;
    transition: width 0.3s ease;
}

.mega-column ul li a:hover {
    color: #ff6600;
    background: #fff6f1;
    padding-left: 18px;
}

.mega-column ul li a:hover::before {
    width: 8px;
}

/* Banner Section */
.banner-section {
    background: white;
    padding: 20px 0;
}

.banner-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 0 20px;
}

.banner-ad {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.iphone-banner {
    background: linear-gradient(135deg, #a8b5ff, #6b7bd4);
}

.iphone-banner img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.emi-banner {
    background: #000;
    color: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
}

.emi-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.emi-content p {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 5px;
}

.emi-content small {
    font-size: 10px;
    color: #888;
}

/* Main Content */
.main-content {
    padding: 30px 0;
    background: #f8f9fa;
}

.modern-grid-wrapper {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

@media (max-width: 992px) {
    .modern-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .filter-column {
        order: 2;
    }

    .features-column {
        order: 1;
    }
}

/* Column Styles */
.filter-column,
.features-column,
.price-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* Cards inside columns grow to fill equal height */
.filter-column .modern-filter-box {
    flex: 1;
}

.features-column .price-section {
    flex-shrink: 0;
}

.features-column .features-section {
    flex: 1;
}

.price-column .buy-section {
    flex: 1;
}

.filter-column .main-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.3;
}

.modern-filter-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: fit-content;
}

.modern-filter-box h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* Left Section */
.left-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
}

.main-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #000;
}

.filter-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter-box h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price-input {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
}

.price-input span {
    margin-right: 5px;
    color: #666;
}

.price-input input {
    border: none;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.to-text {
    color: #666;
    font-size: 14px;
}

.price-slider {
    position: relative;
    height: 6px;
    margin-bottom: 25px;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
}

.slider-range {
    position: absolute;
    height: 6px;
    background: #4CAF50;
    border-radius: 3px;
    left: 0;
    right: 0;
}

.price-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #4CAF50;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.find-btn {
    width: 100%;
    padding: 15px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.find-btn:hover {
    background: #e55a00;
}

/* Features Section */
.features-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: fit-content;
}

.features-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e9ecef;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
    border-color: #dee2e6;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: #666;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* Right Section */
.right-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.buy-section,
.price-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: fit-content;
}

.buy-section h2,
.price-section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.category-card img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    flex-shrink: 0;
}

.category-card span {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.category-card svg {
    width: 14px;
    height: 14px;
    color: #999;
    flex-shrink: 0;
}

.price-tags {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.price-tag {
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-tag:hover {
    background: #ff6600;
    color: white;
    border-color: #ff6600;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.25);
}

/* Brands Section */
.brands-section {
    max-width: 1024px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 600;
}

.view-all {
    color: #d95700;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.view-all span {
    margin-left: 3px;
}

.brands-slider {
    position: relative;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
}

.brands-slider:active {
    cursor: grabbing;
}

.brands-slider::-webkit-scrollbar {
    display: none;
}

.brand-card {
    flex: 0 0 140px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.brand-card img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.brand-card p {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.slider-container {
    position: relative;
}

.slider-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ff6600;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6600;
    pointer-events: auto;
}

.slider-arrow:hover {
    background: #ff6600;
    color: white;
    border-color: #ff6600;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Upcoming Section */
.upcoming-section {
    max-width: 1024px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.mobile-grid {
    position: relative;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
}

.mobile-grid:active {
    cursor: grabbing;
}

.mobile-grid::-webkit-scrollbar {
    display: none;
}

.mobile-card {
    flex: 0 0 200px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.mobile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.score-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2E7D32;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1;
}

.mobile-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 8px;
}

/* Login/Signup Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    /* ← critical: don't block page clicks when hidden */
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* ← re-enable when modal is open */
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #666;
    z-index: 1;
}

.modal-close:hover {
    background: #ff6600;
    color: white;
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px 35px;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header .modal-title {
    font-size: 28px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.modal-header p {
    color: #666;
    font-size: 14px;
}

.tab-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #f5f5f5;
    padding: 5px;
    border-radius: 10px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.tab-btn.active {
    background: white;
    color: #ff6600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 52px;
    /* space for the eye button */
}

.toggle-password {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 50px;
    border: none;
    background: transparent;
    border-left: 1px solid #eaeaea;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: background 0.2s, color 0.2s;
}

.toggle-password:hover {
    background: #f7f7f7;
    color: #333;
}

.toggle-password:active {
    background: #eee;
}

.eye-icon {
    pointer-events: none;
    /* ensure click targets the button */
    font-size: 18px;
    line-height: 1;
}

/* Hide native password reveal icon in Edge to avoid double eye */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-link {
    color: #ff6600;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6600, #ff8833);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: #e0e0e0;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
    font-weight: 500;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.social-btn.google {
    color: #333;
}

.social-btn.facebook {
    color: #1877F2;
}

/* Footer Styles */
.footer {
    background: var(--footer-bg-color, linear-gradient(135deg, #1a1a2e 0%, #16213e 100%));
    color: var(--footer-text-color, white);
    margin-top: 60px;
}

.footer * {
    color: var(--footer-text-color, white);
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ff8833;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-logo .logo-number {
    background: linear-gradient(135deg, #ff6600, #ff8833);
    color: white;
    font-size: 24px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
}

.footer-logo .logo-text {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.footer-description {
    color: #dedede;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: linear-gradient(135deg, #ff6600, #ff8833);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #dedede;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #ff8833;
    transform: translateX(5px);
}

.footer-bottom {
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: 1fr;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
    margin: 0;
}

.heart {
    color: #ff6600;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(1);
    }
}

.footer-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative;
    letter-spacing: 0.3px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

.footer-links .separator {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    /* 3-col hero grid → 2 col on tablet: filter + features, then category full width */
    .modern-grid-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .price-column {
        grid-column: 1 / -1;
    }

    .price-column .buy-section {
        flex: none;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .right-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .search-bar {
        order: 3;
        flex: 1 1 100%;
        margin: 0;
    }

    .nav-container {
        overflow-x: auto;
        gap: 20px;
    }

    .banner-container {
        flex-direction: column;
    }

    /* Full-width stacked layout on mobile & reordering */
    .modern-grid-wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .price-column {
        order: 1;
        /* What are you looking to buy? */
    }

    .features-column {
        order: 2;
        /* Mobiles by Price & Features */
    }

    .filter-column {
        order: 3;
        /* The advanced price filter form at bottom */
    }

    .filter-column,
    .features-column,
    .price-column {
        height: auto;
        width: 100%;
    }

    .filter-column .modern-filter-box,
    .features-column .features-section,
    .price-column .buy-section {
        flex: none;
    }

    /* Mobiles by price - Horizontal Scroll */
    .price-tags {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 5px;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE */
    }

    .price-tags::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari */
    }

    .price-tag {
        flex: 0 0 auto;
        font-size: 14px;
        padding: 8px 18px;
    }

    /* What are you looking to buy - Horizontal Scroll */
    .category-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 5px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-grid::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        flex: 0 0 auto;
        width: 110px;
        height: 115px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 14px 12px;
        background: #f4f6fc;
        border-radius: 12px;
        border: 1px solid #eef1f6;
        position: relative;
        overflow: hidden;
    }

    .category-card span {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        z-index: 2;
    }

    .category-card svg {
        display: none;
    }

    .category-card img {
        position: absolute;
        bottom: -5px;
        right: -10px;
        width: 65px;
        height: 65px;
        object-fit: contain;
        transform: rotate(-10deg);
        opacity: 0.95;
    }

    .right-section {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-top {
        padding: 40px 0 20px;
    }

    .footer-column h4 {
        margin-bottom: 12px;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .logo-tagline {
        display: none;
    }

    .price-inputs {
        flex-direction: column;
        gap: 10px;
    }

    .to-text {
        display: none;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

    .footer-top {
        padding: 30px 0 15px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =========================================================
   MOBILE NAVIGATION — Hamburger + Slide Drawer
   ========================================================= */

/* Hamburger button — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    margin-right: 15px;
    transition: background 0.2s;
}

.nav-hamburger:hover {
    background: rgba(0, 0, 0, 0.08);
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--nav-hamburger-color, var(--header-text-color, #1e293b));
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animated X when active */
.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Overlay behind drawer */
.mega-backdrop {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
    display: block;
    opacity: 1;
}

/* Slide-in drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 290px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

/* Drawer header */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #ff6600, #ff8833);
}

.mobile-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Drawer scrollable body */
.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0 30px;
    -webkit-overflow-scrolling: touch;
}

/* Section label */
.mobile-nav-section {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #999;
    padding: 18px 20px 6px;
}

/* Nav links */
.mobile-nav-link {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: #fff6f1;
    color: #ff6600;
    padding-left: 26px;
}

/* Sub-links (indented) */
.mobile-nav-sub {
    font-size: 13px;
    font-weight: 500;
    padding-left: 32px;
    color: #555;
}

.mobile-nav-sub:hover {
    padding-left: 38px;
}

/* ── Responsive toggle rules ── */
@media (max-width: 768px) {

    /* Hide all desktop nav items */
    .nav-desktop {
        display: none !important;
    }

    /* Show hamburger */
    .nav-hamburger {
        display: flex;
    }

    /* Completely hide the secondary nav bar on mobile */
    .navbar {
        display: none !important;
    }

    /* Mega menus never show on mobile (drawer handles it) */
    .mega-menu {
        display: none !important;
    }
}

/* ==========================================================================
   TOAST NOTIFICATIONS & AUTH MODAL STYLES
   ========================================================================== */

/* ── TOAST NOTIFICATIONS (TOP RIGHT CORNER) ── */
    #toastContainer {
        position: fixed;
        top: 24px;
        right: 24px;
        z-index: 100000;
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 420px;
        width: calc(100% - 32px);
        pointer-events: none;
    }

    .app-toast {
        pointer-events: auto;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
        box-sizing: border-box;
        border-left: 4px solid #10b981;
        animation: toastSlideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        transition: transform 0.3s ease, opacity 0.3s ease;
        font-family: inherit;
        position: relative;
        overflow: hidden;
    }

    .app-toast.toast-success {
        border-left-color: #10b981;
    }

    .app-toast.toast-error {
        border-left-color: #ef4444;
    }

    .app-toast.toast-warning {
        border-left-color: #f59e0b;
    }

    .app-toast.toast-info {
        border-left-color: #3b82f6;
    }

    .app-toast.hiding {
        animation: toastSlideOutRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .toast-icon {
        font-size: 20px;
        line-height: 1;
        flex-shrink: 0;
        margin-top: 1px;
    }

    .toast-success .toast-icon { color: #10b981; }
    .toast-error .toast-icon { color: #ef4444; }
    .toast-warning .toast-icon { color: #f59e0b; }
    .toast-info .toast-icon { color: #3b82f6; }

    .toast-body {
        flex: 1;
        min-width: 0;
    }

    .toast-title {
        font-size: 14px;
        font-weight: 750;
        color: #0f172a;
        margin-bottom: 2px;
        line-height: 1.3;
    }

    .toast-message {
        font-size: 13px;
        color: #475569;
        line-height: 1.4;
        word-break: break-word;
    }

    .toast-close {
        background: transparent;
        border: none;
        color: #94a3b8;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        padding: 0 4px;
        margin-left: 4px;
        flex-shrink: 0;
        transition: color 0.15s ease;
    }

    .toast-close:hover {
        color: #0f172a;
    }

    @keyframes toastSlideInRight {
        from {
            opacity: 0;
            transform: translateX(60px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes toastSlideOutRight {
        from {
            opacity: 1;
            transform: translateX(0);
        }
        to {
            opacity: 0;
            transform: translateX(60px);
        }
    }

    @media (max-width: 640px) {
        #toastContainer {
            top: 14px;
            right: 12px;
            left: 12px;
            width: auto;
            max-width: none;
        }

        @keyframes toastSlideInRight {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes toastSlideOutRight {
            from {
                opacity: 1;
                transform: translateY(0);
            }
            to {
                opacity: 0;
                transform: translateY(-20px);
            }
        }
    }

    /* ── AUTH MODAL ── */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        padding: 16px;
        box-sizing: border-box;
    }

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .modal-container {
        background: #ffffff;
        width: 100%;
        max-width: 440px;
        border-radius: 16px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        position: relative;
        overflow: hidden;
        transform: translateY(20px) scale(0.97);
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-overlay.active .modal-container {
        transform: translateY(0) scale(1);
    }

    .modal-close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #f1f5f9;
        border: none;
        font-size: 20px;
        line-height: 1;
        color: #64748b;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        z-index: 10;
    }

    .modal-close:hover {
        background: #e2e8f0;
        color: #0f172a;
        transform: rotate(90deg);
    }

    .modal-content {
        padding: 28px 24px 24px;
    }

    .modal-header {
        text-align: center;
        margin-bottom: 20px;
    }

    .modal-title {
        font-size: 22px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 4px;
    }

    .modal-header p {
        font-size: 13.5px;
        color: #64748b;
        margin: 0;
    }

    .tab-switch {
        display: flex;
        background: #f1f5f9;
        padding: 4px;
        border-radius: 10px;
        margin-bottom: 20px;
        gap: 4px;
    }

    .tab-btn {
        flex: 1;
        padding: 9px;
        border: none;
        background: transparent;
        font-size: 14px;
        font-weight: 700;
        color: #64748b;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .tab-btn.active {
        background: #ffffff;
        color: var(--primary-color, #ff6600);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .auth-form {
        display: none;
    }

    .auth-form.active {
        display: block;
    }

    .auth-form .form-group {
        margin-bottom: 16px;
        text-align: left;
    }

    .auth-form label {
        display: block;
        font-size: 13px;
        font-weight: 650;
        color: #334155;
        margin-bottom: 6px;
    }

    .auth-form input[type="text"],
    .auth-form input[type="email"],
    .auth-form input[type="password"] {
        width: 100%;
        height: 42px;
        padding: 10px 14px;
        border: 1.5px solid #e2e8f0;
        border-radius: 8px;
        font-size: 14px;
        color: #0f172a;
        background: #ffffff;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        outline: none;
    }

    .auth-form input:focus {
        border-color: var(--primary-color, #ff6600);
        box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
    }

    .password-wrapper {
        position: relative;
        width: 100%;
    }

    .password-wrapper input {
        padding-right: 42px;
    }

    .toggle-password {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        color: #94a3b8;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
    }

    .toggle-password:hover {
        color: #475569;
    }

    .form-options {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
        font-size: 13px;
    }

    .checkbox-label {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #64748b;
        cursor: pointer;
    }

    .forgot-link,
    .back-to-login {
        color: var(--primary-color, #ff6600);
        text-decoration: none;
        font-weight: 600;
        font-size: 13px;
    }

    .forgot-link:hover,
    .back-to-login:hover {
        text-decoration: underline;
    }

    .auth-form .submit-btn {
        width: 100%;
        height: 44px;
        background: var(--primary-color, #ff6600);
        color: #ffffff;
        border: none;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 750;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 14px rgba(255, 102, 0, 0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .auth-form .submit-btn:hover {
        opacity: 0.92;
        transform: translateY(-1px);
    }

    .auth-form .submit-btn:disabled {
        opacity: 0.65;
        cursor: not-allowed;
        transform: none;
    }


/* ==========================================================================
   FOOTER STYLES (Layout & Presentation)
   ========================================================================== */

.site-footer,
footer.footer.site-footer {
    margin-top: 50px;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
    display: block;
    clear: both;
}

.site-footer * {
    box-sizing: border-box;
}

.site-footer .footer-top {
    padding: 38px 0 28px;
    border-bottom: none;
    margin: 0;
}

.site-footer .footer-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    box-sizing: border-box;
    width: 100%;
}

.site-footer .footer-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-footer .footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 1.3;
    display: block;
}

.site-footer .footer-list {
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-list li {
    list-style: none;
    list-style-type: none;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.5;
}

.site-footer .footer-list li::before,
.site-footer .footer-list li::marker {
    display: none;
    content: none;
}

.site-footer .footer-list li:last-child {
    margin-bottom: 0;
}

.site-footer .footer-list a {
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.15s ease;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

.site-footer .footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 20px 0 24px;
    margin: 0;
}

.site-footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.site-footer .footer-copyright {
    font-size: 13px;
    margin: 0;
    font-weight: 400;
}

.site-footer .footer-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.site-footer .footer-nav-links a {
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease;
    font-weight: 400;
}

.site-footer .footer-social-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.site-footer .footer-social-title {
    font-size: 12.5px;
    font-weight: 500;
}

.site-footer .footer-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer .footer-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.site-footer .footer-social-btn i,
.site-footer .footer-social-btn svg {
    color: #ffffff;
    fill: #ffffff;
}

.site-footer .footer-social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.site-footer .footer-social-btn.fb { background-color: #1877f2; }
.site-footer .footer-social-btn.tw { background-color: #000000; }
.site-footer .footer-social-btn.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.site-footer .footer-social-btn.yt { background-color: #ff0000; }
.site-footer .footer-social-btn.in { background-color: #0a66c2; }

@media (max-width: 900px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }
}

@media (max-width: 576px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .site-footer .footer-col {
        border-bottom: 1px solid #e2e8f0;
    }
    .site-footer .footer-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
        padding: 13px 0;
        cursor: pointer;
        user-select: none;
    }
    .footer-acc-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        border: 1.5px solid currentColor;
        border-radius: 50%;
        font-size: 13px;
        font-weight: 700;
        flex-shrink: 0;
        transition: transform 0.25s ease;
        color: inherit;
    }
    .site-footer .footer-col.acc-open .footer-acc-icon {
        transform: rotate(45deg);
    }
    .site-footer .footer-list {
        display: none;
        padding-bottom: 12px;
    }
    .site-footer .footer-col.acc-open .footer-list {
        display: block;
        animation: fAccDown 0.25s ease;
    }
    @keyframes fAccDown {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .site-footer .footer-title:hover {
        background: transparent;
    }
    .site-footer .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .site-footer .footer-nav-links {
        justify-content: center;
        gap: 14px;
    }
}

@media (min-width: 577px) {
    .footer-acc-icon { display: none !important; }
    .footer-mobile-toggle { display: none !important; }
}


/* ── Breadcrumbs ── */
.breadcrumb-nav {
    margin: 0 0 16px 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-family: inherit;
}
.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 8px;
    color: #94a3b8;
    font-weight: 500;
    font-size: 14px;
}
.breadcrumb-item a {
    color: var(--primary-color, #ff6600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}
.breadcrumb-item a:hover {
    color: #e55a00;
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #64748b;
    font-weight: 500;
}

/* ── Side Banners ── */
/* Reset and Container */
.side-banner {
    position: fixed;
    top: 80px;
    width: 170px;
    height: 620px;
    z-index: 10000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    display: none;
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    overflow: visible;
    border: 2px solid rgba(255,102,0,0.4);
}

.banner-link {
    text-decoration: none !important;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: white !important;
}

.banner-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.side-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Back to cover for tall images */
    transition: transform 0.5s ease;
}

/* Badges */
.offer-badge {
    position: absolute;
    top: -15px; /* Float slightly above */
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: white !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.5);
    z-index: 10002;
    text-transform: uppercase;
    border: 2px solid #fff;
    pointer-events: none;
}

.whatsapp-badge {
    position: absolute;
    bottom: 15px;
    left: 10px;
    right: 10px;
    background: #25d366;
    color: white !important;
    padding: 10px 5px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px solid rgba(255,255,255,0.3);
    pointer-events: none;
}

.whatsapp-badge i {
    font-size: 18px;
}

/* Animations */
@keyframes pulseBadge {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
    100% { transform: translateX(-50%) scale(1); }
}

.pulse {
    animation: pulseBadge 2s infinite ease-in-out;
}

/* Positions */
.side-banner-left { left: 30px; }
.side-banner-right { right: 30px; }

/* UI Elements */
.banner-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: #333;
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.banner-close:hover {
    background: #ff0000;
    transform: scale(1.1) rotate(90deg);
}

.side-banner-right .banner-close {
    left: -15px;
    right: auto;
}

@media (min-width: 1550px) {
    .side-banner {
        display: block;
    }
}

/* Animation for entering */
@keyframes slideInL {
    from { transform: translateX(-150%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInR {
    from { transform: translateX(150%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.side-banner-left { animation: slideInL 1s cubic-bezier(0.23, 1, 0.32, 1); }
.side-banner-right { animation: slideInR 1s cubic-bezier(0.23, 1, 0.32, 1); }

/* ── Compare Tray Root & Mobile Floating Button ── */
    /* ── Mobile Floating Compare Button on Listing Pages (Screenshot 1) ── */
    @media (max-width: 768px) {
        #floatingCompareBtn {
            position: fixed;
            bottom: 70px;
            right: 16px;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: #ef4444;
            color: #ffffff;
            display: none;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45);
            z-index: 9998;
            text-decoration: none;
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
        }

        #floatingCompareBtn.is-visible {
            display: flex !important;
        }

        #floatingCompareBtn:active {
            transform: scale(0.92);
        }

        #floatingCompareBtn svg {
            width: 24px;
            height: 24px;
            stroke: #ffffff;
        }

        .floating-compare-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            background: #ea580c;
            color: #ffffff;
            font-size: 11px;
            font-weight: 800;
            min-width: 20px;
            height: 20px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #ffffff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
            padding: 0 4px;
            box-sizing: border-box;
            line-height: 1;
        }
    }

    @media (min-width: 769px) {
        #floatingCompareBtn {
            display: none !important;
        }
    }
    
    #floatingCompareBtn {
        display: none !important;
    }
    

    /* ── Compare Tray Root ── */
    #compareTrayRoot {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 99990;
        font-family: inherit;
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        display: none;
    }

    #compareTrayRoot.is-visible {
        display: block;
    }

    .compare-tray-card {
        background: #ffffff;
        border-top: 3px solid #ff4b4b;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.12);
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    /* ── Tray Header ── */
    .tray-top-bar {
        background: #f8f9fa;
        padding: 6px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
        user-select: none;
    }

    .tray-title-text {
        font-size: 13.5px;
        font-weight: 600;
        color: #334155;
    }

    .tray-collapse-btn {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #e2e8f0;
        color: #64748b;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 15px;
        font-weight: bold;
        line-height: 1;
        transition: all 0.15s ease;
        border: none;
        padding: 0;
    }

    .tray-collapse-btn:hover {
        background: #cbd5e1;
        color: #1e293b;
    }

    /* ── Tray Body ── */
    .tray-main-content {
        padding: 12px 20px 14px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
        position: relative;
    }

    #compareTrayRoot.is-collapsed .tray-main-content {
        display: none;
    }

    .tray-slots-row {
        display: flex;
        align-items: center;
        gap: 10px;
        position: relative;
    }

    .slot-vs-text {
        font-size: 11px;
        color: #94a3b8;
        font-weight: 600;
        user-select: none;
    }

    /* ── Slot Item ── */
    .tray-item-slot {
        width: 138px;
        height: 110px;
        border-radius: 10px;
        padding: 8px 6px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        flex-shrink: 0;
        background: #ffffff;
        transition: all 0.15s ease;
    }

    /* Filled Slot */
    .tray-item-slot.is-filled {
        border: 1px solid #e2e8f0;
        justify-content: space-between;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }

    .slot-remove-x {
        position: absolute;
        top: 3px;
        right: 6px;
        color: #94a3b8;
        font-size: 15px;
        line-height: 1;
        cursor: pointer;
        padding: 2px;
        transition: color 0.15s;
    }

    .slot-remove-x:hover {
        color: #ef4444;
    }

    .slot-prod-img {
        height: 58px;
        max-width: 85px;
        object-fit: contain;
        margin-top: 2px;
    }

    .slot-prod-name {
        font-size: 11px;
        font-weight: 500;
        color: #334155;
        text-align: center;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 4px;
        box-sizing: border-box;
    }

    /* Empty Slot */
    .tray-item-slot.is-empty {
        border: 1.5px dashed #cbd5e1;
        background: #fdfdfd;
        cursor: pointer;
    }

    .tray-item-slot.is-empty:hover {
        border-color: #ff4b4b;
        background: #fffafa;
    }

    .slot-circle-plus {
        width: 32px;
        height: 32px;
        border: 1.5px dashed #cbd5e1;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        font-size: 18px;
        margin-bottom: 6px;
        transition: all 0.15s;
    }

    .slot-select-lbl {
        font-size: 11px;
        color: #64748b;
        font-weight: 500;
        text-align: center;
        transition: color 0.15s;
    }

    .tray-item-slot.is-empty:hover .slot-circle-plus,
    .tray-item-slot.is-empty.is-active .slot-circle-plus {
        border-color: #ff4b4b;
        color: #ff4b4b;
    }

    .tray-item-slot.is-empty:hover .slot-select-lbl,
    .tray-item-slot.is-empty.is-active .slot-select-lbl {
        color: #ff4b4b;
    }

    .tray-item-slot.is-empty.is-active {
        border-color: #ff4b4b;
        background: #fff5f5;
    }

    /* ── Right Action Buttons ── */
    .tray-action-side {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-left: 12px;
        flex-shrink: 0;
    }

    .tray-btn-compare {
        background: #ff8585;
        color: #ffffff;
        border-radius: 7px;
        font-size: 13px;
        font-weight: 600;
        padding: 9px 22px;
        border: none;
        cursor: pointer;
        text-decoration: none;
        text-align: center;
        min-width: 110px;
        box-sizing: border-box;
        transition: background 0.15s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tray-btn-compare.is-ready {
        background: #ff4b4b;
    }

    .tray-btn-compare.is-ready:hover {
        background: #e03838;
        color: #ffffff;
    }

    .tray-btn-compare.is-disabled {
        opacity: 0.65;
        pointer-events: none;
        cursor: not-allowed;
    }

    .tray-btn-remove-all {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        color: #475569;
        border-radius: 7px;
        font-size: 12px;
        font-weight: 500;
        padding: 7px 18px;
        cursor: pointer;
        text-align: center;
        min-width: 110px;
        box-sizing: border-box;
        transition: all 0.15s;
    }

    .tray-btn-remove-all:hover {
        border-color: #94a3b8;
        color: #1e293b;
        background: #f8fafc;
    }

    /* ── Search Popover (Desktop) ── */
    .tray-search-popover {
        position: absolute;
        bottom: calc(100% + 14px);
        width: 290px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
        border: 1px solid #e2e8f0;
        padding: 12px 14px;
        z-index: 100010;
        display: none;
        flex-direction: column;
        animation: popoverFadeIn 0.15s ease-out;
    }

    @keyframes popoverFadeIn {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .tray-search-popover.is-open {
        display: flex;
    }

    .popover-search-box {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
    }

    .popover-input {
        width: 100%;
        padding: 8px 30px 8px 12px;
        border: 1.5px solid #ff4b4b;
        border-radius: 8px;
        font-size: 13px;
        outline: none;
        font-family: inherit;
        box-sizing: border-box;
        color: #1e293b;
    }

    .popover-clear-btn {
        position: absolute;
        right: 9px;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        font-size: 16px;
        cursor: pointer;
        line-height: 1;
        padding: 2px;
    }

    .popover-clear-btn:hover {
        color: #1e293b;
    }

    .popover-subhead {
        font-size: 11px;
        font-weight: 600;
        color: #64748b;
        margin: 10px 0 6px 0;
        text-align: left;
    }

    .popover-results-list {
        max-height: 220px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .popover-results-list::-webkit-scrollbar {
        width: 5px;
    }

    .popover-results-list::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    .popover-item-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 8px;
        border-radius: 6px;
        cursor: pointer;
        text-align: left;
        transition: background 0.12s;
    }

    .popover-item-row:hover {
        background: #f8fafc;
    }

    .popover-item-img {
        width: 26px;
        height: 32px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .popover-item-name {
        font-size: 12px;
        font-weight: 600;
        color: #1e293b;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
    }

    /* ── Mobile Modal Bottom Sheet ── */
    @media (max-width: 768px) {
        #compareTrayRoot {
            bottom: 0 !important;
        }

        .tray-top-bar {
            padding: 5px 14px;
        }

        .tray-main-content {
            padding: 8px 10px;
            justify-content: flex-start;
            overflow-x: auto;
            gap: 10px;
        }

        .tray-slots-row {
            gap: 6px;
        }

        .tray-item-slot {
            width: 105px;
            height: 92px;
            padding: 5px 4px;
        }

        .slot-prod-img {
            height: 46px;
            max-width: 70px;
        }

        .slot-prod-name {
            font-size: 10px;
        }

        .slot-circle-plus {
            width: 26px;
            height: 26px;
            font-size: 15px;
            margin-bottom: 3px;
        }

        .slot-select-lbl {
            font-size: 9.5px;
        }

        .slot-vs-text {
            font-size: 9.5px;
        }

        .tray-action-side {
            margin-left: 6px;
            gap: 5px;
        }

        .tray-btn-compare {
            min-width: 85px;
            padding: 7px 12px;
            font-size: 11.5px;
        }

        .tray-btn-remove-all {
            min-width: 85px;
            padding: 5px 10px;
            font-size: 11px;
        }

        /* Mobile Bottom Sheet for Popover */
        .tray-search-popover {
            position: fixed !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            transform: none !important;
            border-radius: 18px 18px 0 0;
            padding: 12px 16px 20px 16px;
            box-sizing: border-box;
            max-height: 75vh;
            z-index: 100050;
            box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
        }

        .mobile-popover-handle {
            display: block !important;
            width: 36px;
            height: 4px;
            background: #cbd5e1;
            border-radius: 2px;
            margin: 0 auto 10px auto;
        }
    }

    .mobile-popover-handle {
        display: none;
    }

/* ==========================================================================
   NAVIGATION & MEGA MENU (TOP 10 & COMPARE DROPDOWN) STYLES
   ========================================================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--nav-bg-color, #16213e) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0 20px;
    height: 48px;
    box-sizing: border-box;
}

.nav-item.has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-item-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-item {
    padding: 7px 11px;
    text-decoration: none;
    color: var(--nav-text-color, #e2e8f0);
    font-size: 13.5px;
    font-weight: 550;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    border-radius: 8px;
    letter-spacing: -0.1px;
    background: transparent;
}

.nav-item:hover,
.nav-item-wrapper.active .nav-item,
.nav-item-wrapper:hover .nav-item {
    color: var(--primary-color, #ff8833);
    background: rgba(255, 255, 255, 0.08);
}

.nav-item.nav-home {
    padding: 7px 10px;
}

.nav-btn-deals {
    color: #ff6b6b !important;
    font-weight: 600;
}
.deals-fire-icon {
    color: #ff4757;
}
.nav-pill-tag {
    background: #ff4757;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.nav-btn-coupons {
    color: #2ed573 !important;
    font-weight: 600;
}
.coupons-icon {
    color: #2ed573;
}
.coupon-tag {
    background: #2ed573;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
}

/* ── Mega Menu Dropdown ── */
.top10-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 3px 10px rgba(0, 0, 0, 0.08);
    display: none;
    grid-template-columns: 240px 380px;
    z-index: 10000;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    animation: fadeInDown 0.2s ease forwards;
}

.nav-item-wrapper:hover .top10-dropdown,
.nav-item-wrapper.active .top10-dropdown {
    display: grid !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top10-cats {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 12px 0;
}

.top10-cats ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top10-cats li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.top10-cats li a:hover,
.top10-cats li.active a {
    background: #ffffff;
    color: var(--primary-color, #ff6600);
    box-shadow: inset 3px 0 0 var(--primary-color, #ff6600);
}

.top10-cats li a i {
    font-size: 10px;
    color: #94a3b8;
}

.top10-links {
    padding: 16px 20px;
    max-height: 420px;
    overflow-y: auto;
    background: #ffffff;
}

.top10-links .dropdown-heading {
    font-size: 14px;
    font-weight: 750;
    color: #0f172a;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top10-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.top10-links li a {
    display: block;
    color: #475569;
    font-size: 13px;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.top10-links li a:hover {
    color: var(--primary-color, #ff6600);
    background: #fff7ed;
    padding-left: 10px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ── Mobile Navigation Drawer ── */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 100000;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.2);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    left: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: none;
}

.mobile-nav-overlay.open {
    display: block;
}

.mobile-nav-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mobile-nav-title {
    font-size: 16px;
    font-weight: 750;
    color: #0f172a;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-body {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    padding: 12px 20px;
    color: #334155;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-item:hover {
    color: var(--primary-color, #ff6600);
    background: #fff7ed;
}

.mobile-dropdown-header {
    cursor: pointer;
}

.mobile-dropdown-content {
    display: none;
    background: #f8fafc;
    padding: 8px 0 8px 15px;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-dropdown-content.open {
    display: block;
}

.mobile-dropdown-content a {
    display: block;
    padding: 8px 20px;
    color: #475569;
    font-size: 13.5px;
    text-decoration: none;
}

.mobile-dropdown-content a:hover {
    color: var(--primary-color, #ff6600);
}

@media (max-width: 900px) {
    .nav-desktop {
        display: none !important;
    }
}


/* ── Merged From hero-search.css ── */

:root {
    --primary-search: #d95700;
    --primary-search-dark: #b34700;
    --search-dark-bg: #0f172a;
    --search-glass-white: rgba(255, 255, 255, 0.08);
    --search-glass-border: rgba(255, 255, 255, 0.15);
}

/* --- Professional Discovery Hero --- */
.discovery-hero {
    position: relative;
    min-height: 85vh;
    background: var(--search-dark-bg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* Changed from hidden to fix dropdown clipping */
    padding: 80px 20px;
    z-index: 100; /* Ensure it stays above content below */
}

.hero-overlay-creative {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
    z-index: 1;
    overflow: hidden; /* Keep background gradients within bounds */
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--search-glass-border);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-size: clamp(38px, 8vw, 50px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary-search), #ffa16c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* --- Professional Search Pill --- */
.hero-search-pill-container {
    max-width: 850px;
    margin: 0 auto 25px;
    z-index: 10000;
    position: relative;
    transform: translateZ(0);
}

.hero-search-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid var(--search-glass-border);
    padding: 8px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-search-form:focus-within {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 102, 0, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 50px 110px rgba(0, 0, 0, 0.5);
}

.category-select-wrapper {
    position: relative;
    min-width: 180px;
    padding: 0 15px 10px 25px; /* Added some padding adjustment for select center */
    border-right: 1px solid var(--search-glass-border);
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

@media (min-width: 769px) {
    .category-select-wrapper {
        padding: 0 15px 0 25px;
    }
}

/* --- Custom Category Dropdown (Creative) --- */
.custom-category-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Changed from space-between to cluster left */
    gap: 12px; /* Added gap to keep icon near text but left-aligned as a unit */
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 0;
    transition: 0.3s;
    text-align: left;
}

.dropdown-selected span {
    flex: 0 1 auto;
    text-align: left;
}

.dropdown-selected i {
    font-size: 11px;
    opacity: 0.8;
    transition: transform 0.3s ease;
    margin-left: auto; /* Push only the icon to the right if needed, or keep it left */
}

.custom-category-dropdown.active .dropdown-selected i {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: calc(100% + 15px);
    left: -20px;
    width: 240px;
    background: #0f172a;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    z-index: 2000;
    margin: 0;
    text-align: left; /* Overriding inherited text-align: center from hero content */
}

.custom-category-dropdown.active .dropdown-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-list li {
    padding: 12px 18px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
    margin-bottom: 2px;
}

.dropdown-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.dropdown-list li.current {
    background: linear-gradient(135deg, var(--primary-search), #ff9f6c);
    color: #fff;
}

.search-field-wrapper {
    flex: 1;
    padding: 0 35px;
    display: flex;
    align-items: center;
}

#heroSearchInput {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    outline: none;
    padding: 10px 0;
}

#heroSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-btn {
    background: var(--primary-search);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}

.hero-search-btn:hover {
    background: var(--primary-search-dark);
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.4);
}

/* --- Animations --- */
.animate-fade-in { animation: fadeInSearch 1s ease both; }
.animate-title { animation: titleSlideSearch 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.animate-search { animation: searchInSearch 1s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* --- Category Validation Shake (Mandatory) --- */
.category-validation-active .category-select-wrapper {
    animation: categoryShakeSearch 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    border-color: rgba(255, 107, 53, 0.8) !important;
    background: rgba(255, 107, 53, 0.05); /* Soft hint of orange */
}

@keyframes categoryShakeSearch {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

@keyframes fadeInSearch { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes titleSlideSearch { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes searchInSearch { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .hero-search-form {
        flex-direction: column;
        border-radius: 24px;
        padding: 15px;
    }
    .category-select-wrapper {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--search-glass-border);
        padding: 15px 10px;
    }
    .search-field-wrapper { width: 100%; padding: 20px 10px; }
    .hero-search-btn { width: 100%; justify-content: center; padding: 16px; }
    .discovery-hero { min-height: 70vh; }
}

/* --- Search Trends --- */
.search-trends {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    position: relative;
    z-index: -1; /* Definitively sits behind absolute suggestions overlay */
}

.trends-label {
    opacity: 0.6;
    font-weight: 600;
}

.search-trends a {
    color: #fff;
    text-decoration: none;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-trends a:hover {
    background: var(--primary-search);
    border-color: var(--primary-search);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

/* --- Real-time Suggestions --- */
.search-field-wrapper {
    position: relative;
}

.hero-suggestions {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    right: 0;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 20px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2) !important;
    z-index: 999999 !important; /* Hyper-high priority to ensure it sits on top of everything */
}

.hero-suggestions.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hero-suggestions .suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 10px 15px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    background: transparent !important;
    border: none !important;
    margin-bottom: 5px !important;
    text-decoration: none !important;
}

.hero-suggestions .suggestion-item:hover {
    background: #f8f9fa !important;
    transform: translateX(5px);
}

.hero-suggestions .suggestion-img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    background: #fff !important;
    padding: 6px !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
}

.hero-suggestions .suggestion-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important; /* Explicit left align */
}

.hero-suggestions .suggestion-name {
    color: #1a1a1a !important;
    font-weight: 500 !important; /* Soft, readable weight */
    font-size: 15px !important;
    margin: 0 !important;
    text-align: left !important; /* Explicit left align */
}

.hero-suggestions .suggestion-meta {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 4px !important;
}

.hero-suggestions .suggestion-type {
    background: var(--primary-search) !important;
    color: #fff !important;
    font-size: 9px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
}

.hero-suggestions .suggestion-price {
    color: #666 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.hero-suggestions .no-suggestions {
    padding: 20px !important;
    color: #888 !important;
    text-align: center !important;
    font-size: 14px !important;
}


/* ── Merged From home-globals.css ── */

/* Categorized Brands Section Styles */
.categorized-brands-section {
    background: #fff;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.category-brand-row {
    max-width: 1024px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.category-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}

.category-row-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
}

.view-all-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color, #ff6600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 50px;
    transition: 0.3s ease;
    white-space: nowrap;
}

.view-all-link i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    background: var(--primary-color, #ff6600);
    color: #fff;
    transform: translateX(3px);
}

.view-all-link:hover i {
    transform: translateX(3px);
}

.category-row-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0.1), transparent);
}

.brand-scroll-wrapper {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 10px 5px 30px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.brand-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}

.brand-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.brand-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
    transition: 0.3s;
}

.brand-scroll-wrapper:hover::-webkit-scrollbar-thumb {
    background: var(--primary-color, #ff6600);
}

.brand-scroll-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 100px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-logo-circle {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.brand-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.4s;
}

.brand-scroll-item .brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #444;
    transition: 0.3s;
}

.brand-scroll-item:hover {
    transform: translateY(-8px);
}

.brand-scroll-item:hover .brand-logo-circle {
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.2);
}

.brand-scroll-item:hover .brand-logo-circle img {
    transform: scale(1.1);
}

.brand-scroll-item:hover .brand-name {
    color: var(--primary-color, #ff6600);
}

@media (max-width: 768px) {
    .categorized-brands-section {
        padding: 40px 0;
    }
    .brand-logo-circle {
        width: 75px;
        height: 75px;
    }
    .brand-scroll-wrapper {
        gap: 20px;
    }
    .category-row-title {
        font-size: 18px;
    }
}

/* Cookie Consent Styles */
#cookieConsent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: slideUpHome 0.3s ease;
}

@keyframes slideUpHome {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookieConsent button {
    transition: all 0.3s;
}

#cookieConsent button:hover {
    transform: translateY(-2px);
}

#cookieConsent button:first-of-type:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Validation & Grid Responsive */
@keyframes shakeHome { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.category-validation-active { animation: shakeHome 0.4s ease; border-color: #ef4444 !important; }

@media (max-width: 991px) {
    .category-container {
        justify-content: flex-start;
        gap: 25px;
    }
    .circle-image-wrapper {
        width: 65px;
        height: 65px;
    }
    .category-circle-item {
        min-width: 70px;
    }
}

@media (max-width: 768px) {
    #cookieConsent>div {
        flex-direction: column;
        text-align: center;
    }
    #cookieConsent button {
        width: 100%;
    }
}


/* ── Merged From home.css ── */

/* ==========================================================================
   HOME PAGE STYLES (91search Home)
   ========================================================================== */

body {
    background-color: #f1f5f9;
}

.home-main-wrapper {
    background-color: #f1f5f9;
    padding: 16px 0 36px;
}

.home-page-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Unified Home Card Container ── */
.home-container-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    position: relative;
}

.home-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.home-card-title {
    font-size: 19px;
    font-weight: 750;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.home-card-view-all {
    color: var(--primary-color, #ff6600);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.home-card-view-all:hover {
    opacity: 0.85;
    transform: translateX(2px);
}

.popular-mobiles-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.popular-mobiles-header-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-header-view-all {
    display: none;
}

.desktop-header-view-all {
    display: inline-flex;
}

@media (max-width: 768px) {
    .popular-mobiles-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 14px;
    }

    .popular-mobiles-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-header-view-all {
        display: inline-flex;
        font-size: 13px;
    }

    .desktop-header-view-all {
        display: none !important;
    }

    .product-tab-pills {
        display: flex;
        width: 100%;
        box-sizing: border-box;
    }

    .tab-pill {
        flex: 1;
        text-align: center;
        padding: 6px 8px;
        font-size: 12.5px;
    }

    .home-card-title {
        font-size: 17px;
    }
}

/* ── BROWSE CATEGORIES (Carousel) ── */
.browse-categories-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.browse-categories-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 4px;
    width: 100%;
}

.browse-categories-track::-webkit-scrollbar {
    display: none;
}

.browse-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 76px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.browse-cat-item:hover {
    transform: translateY(-3px);
}

.browse-cat-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.browse-cat-item:hover .browse-cat-icon-circle {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.browse-cat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    text-align: center;
    white-space: nowrap;
    line-height: 1.25;
    transition: color 0.15s ease;
}

.browse-cat-item:hover .browse-cat-label {
    color: var(--primary-color, #ff6600);
}

.browse-cat-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    z-index: 10;
    font-size: 12px;
    transition: all 0.2s ease;
}

.browse-cat-arrow:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.browse-cat-arrow.left-arrow {
    left: -12px;
    display: none;
}

.browse-cat-arrow.right-arrow {
    right: -12px;
}

/* ── UPCOMING MOBILES SLIDER ── */
.upcoming-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.upcoming-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px;
    width: 100%;
}

.upcoming-slider-track::-webkit-scrollbar {
    display: none;
}

.upcoming-phone-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    width: 220px;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.upcoming-phone-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.upcoming-status-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.upcoming-img-wrap {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 12px;
}

.upcoming-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.upcoming-phone-card:hover .upcoming-img-wrap img {
    transform: scale(1.05);
}

.upcoming-info-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.upcoming-phone-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 38px;
}

.upcoming-price-text {
    font-size: 15px;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 6px;
}

.upcoming-expected-date {
    font-size: 11.5px;
    color: #64748b;
    display: flex;
    align-items: center;
}

.upcoming-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    z-index: 10;
    font-size: 12px;
    transition: all 0.2s ease;
}

.upcoming-slider-arrow:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.upcoming-slider-arrow.prev-arrow {
    left: -14px;
    display: none;
}

.upcoming-slider-arrow.next-arrow {
    right: -14px;
}

/* ── FEATURED MOBILE COMPARISONS (2-Col Symmetrical Cards) ── */
.featured-comp-card-wrap {
    box-sizing: border-box;
    width: 100%;
}

.featured-comp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.featured-comp-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    gap: 8px;
}

.featured-comp-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.comp-product-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
}

.comp-product-side.left-side {
    justify-content: flex-start;
}

.comp-product-side.right-side {
    justify-content: flex-end;
    text-align: right;
}

.comp-product-side img {
    width: 44px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.featured-comp-card:hover .comp-product-side img {
    transform: scale(1.08);
}

.comp-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.comp-vs-badge {
    width: 26px;
    height: 26px;
    background: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    margin: 0 4px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.3px;
}

@media (max-width: 860px) {
    .featured-comp-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .featured-comp-card {
        padding: 10px 12px;
        gap: 6px;
    }

    .comp-product-side {
        gap: 8px;
    }

    .comp-product-side img {
        width: 36px;
        height: 46px;
    }

    .comp-product-name {
        font-size: 12px;
        line-height: 1.3;
    }

    .comp-vs-badge {
        width: 22px;
        height: 22px;
        font-size: 9px;
        margin: 0 2px;
    }
}

@media (max-width: 380px) {
    .featured-comp-card {
        padding: 8px 10px;
    }

    .comp-product-side img {
        width: 30px;
        height: 40px;
    }

    .comp-product-name {
        font-size: 11px;
    }
}

/* ── LATEST & POPULAR MOBILES SLIDER ── */
.popular-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.popular-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px;
    width: 100%;
    min-height: 295px;
}

.popular-slider-track::-webkit-scrollbar {
    display: none;
}

.product-tab-pills {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    gap: 2px;
}

.tab-pill {
    background: transparent;
    border: none;
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tab-pill.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.popular-phone-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    width: 220px;
    min-height: 285px;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.popular-phone-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.popular-spec-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.2px;
    z-index: 2;
}

.popular-img-wrap {
    width: 100%;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 10px;
}

.popular-img-wrap img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.popular-phone-card:hover .popular-img-wrap img {
    transform: scale(1.06);
}

.popular-info-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.popular-phone-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 38px;
    transition: color 0.15s ease;
}

.popular-phone-card:hover .popular-phone-name {
    color: var(--primary-color, #ff6600);
}

.popular-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.popular-price-text {
    font-size: 16px;
    font-weight: 750;
    color: var(--primary-color, #ff6600);
}

.popular-star-tag {
    font-size: 11px;
    font-weight: 700;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fef3c7;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.popular-view-btn {
    width: 100%;
    height: 33px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.popular-phone-card:hover .popular-view-btn {
    background: var(--primary-color, #ff6600);
    border-color: var(--primary-color, #ff6600);
    color: #ffffff;
}

.popular-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    z-index: 10;
    font-size: 12px;
    transition: all 0.2s ease;
}

.popular-slider-arrow:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.popular-slider-arrow.prev-arrow {
    left: -14px;
    display: none;
}

.popular-slider-arrow.next-arrow {
    right: -14px;
}

/* ── BLOG POSTS SECTION ── */
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.home-blog-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.home-blog-item-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

.home-blog-thumb-wrap {
    width: 100%;
    height: 155px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

.home-blog-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-blog-item-card:hover .home-blog-thumb-wrap img {
    transform: scale(1.05);
}

.home-blog-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.home-blog-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color, #ff6600);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.home-blog-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-blog-heading {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.home-blog-item-card:hover .home-blog-heading {
    color: var(--primary-color, #ff6600);
}

.home-blog-snippet {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.home-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #94a3b8;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.home-blog-more-btn {
    font-weight: 650;
    color: var(--primary-color, #ff6600);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .home-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ── ABOUT US SECTION ── */
.home-about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: flex-start;
}

.home-about-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.12), rgba(255, 102, 0, 0.05));
    border: 1px solid rgba(255, 102, 0, 0.25);
    color: #e05a00;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.home-about-heading {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
}

.home-about-heading span {
    background: linear-gradient(135deg, #ff6600, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-about-content-body {
    font-size: 13.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

.home-about-content-body p {
    margin: 0 0 10px;
}

.home-about-content-body p:last-child {
    margin: 0;
}

.home-about-content-body h1,
.home-about-content-body h2,
.home-about-content-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 12px 0 6px;
}

.home-about-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6600, #f97316);
    color: #fff !important;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-about-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
}

.home-about-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.home-about-stat-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    padding: 20px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: default;
}

.home-about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
}

.home-about-stat-card.c1::before {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.home-about-stat-card.c2::before {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}

.home-about-stat-card.c3::before {
    background: linear-gradient(90deg, #16a34a, #4ade80);
}

.home-about-stat-card.c4::before {
    background: linear-gradient(90deg, #db2777, #f472b6);
}

.home-about-stat-card:hover {
    border-color: #c8d8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    transform: translateY(-3px);
}

.home-about-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.home-about-stat-card.c1 .home-about-stat-icon {
    background: #e0f2fe;
    color: #0284c7;
}

.home-about-stat-card.c2 .home-about-stat-icon {
    background: #fef3c7;
    color: #d97706;
}

.home-about-stat-card.c3 .home-about-stat-icon {
    background: #dcfce7;
    color: #16a34a;
}

.home-about-stat-card.c4 .home-about-stat-icon {
    background: #fce7f3;
    color: #db2777;
}

.home-about-stat-number {
    font-size: 22px;
    font-weight: 900;
    color: #1e293b;
    line-height: 1;
}

.home-about-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    line-height: 1.3;
}

.home-about-stat-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 900px) {
    .home-about-section {
        grid-template-columns: 1fr;
    }

    .home-about-right {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-about-right {
        grid-template-columns: 1fr;
    }
}

/* ── FAQS ACCORDION SECTION ── */
.home-faqs-card-wrap {
    padding: 20px 24px;
}

.home-faqs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item.active {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-question {
    width: 100%;
    padding: 13px 18px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    font-size: 14px;
    font-weight: 650;
    color: #1e293b;
    transition: color 0.15s ease;
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question {
    color: var(--primary-color, #ff6600);
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-color, #ff6600);
    border-color: var(--primary-color, #ff6600);
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.25s ease;
    padding: 0 18px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #475569;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    transition: max-height 0.35s ease-in-out, padding 0.25s ease;
    padding: 0 18px 14px;
}

.faq-answer p {
    margin: 0;
}

/* ── DISCOVERY TRAY (Price Search & Compare Tray) ── */
.home-discovery-card-wrap {
    padding: 16px 20px;
}

.home-discovery-container {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 16px;
    align-items: stretch;
    width: 100%;
}

.home-discovery-left {
    display: flex;
}

.home-price-card {
    background: #eceef1;
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.finder-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.finder-price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.price-input-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 8px;
    flex: 1;
    height: 34px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.price-input-box .currency-symbol {
    font-weight: 700;
    color: #1e293b;
    font-size: 13.5px;
    margin-right: 4px;
}

.price-input-box .price-field {
    width: 100%;
    border: none;
    outline: none;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
}

.to-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    padding: 0 2px;
}

.range-slider-wrapper {
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.range-slider-track {
    position: absolute;
    height: 6px;
    width: 100%;
    border-radius: 4px;
    background: linear-gradient(to right, #cbd5e1 0%, #22c55e 0%, #22c55e 36.6%, #cbd5e1 36.6%);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.dual-range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    margin: 0;
    z-index: 2;
}

.dual-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #22c55e;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.dual-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #22c55e;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.finder-category-group {
    margin-bottom: 14px;
}

.finder-sublabel {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 5px;
}

.finder-select-wrapper {
    position: relative;
    width: 100%;
}

.finder-category-select {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 30px 8px 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-arrow-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: #64748b;
    pointer-events: none;
}

.home-finder-submit-btn {
    width: 100%;
    height: 38px;
    background: #ef4444 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
    transition: all 0.2s ease;
}

.home-finder-submit-btn:hover {
    background: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.home-discovery-right {
    display: flex;
}

.home-compare-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.home-compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.compare-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
}

.home-compare-clear-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.home-compare-clear-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.home-compare-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
    flex: 1;
}

.home-slot {
    border: 1.5px dashed #93c5fd;
    border-radius: 8px;
    padding: 16px 14px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 125px;
    position: relative;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.home-slot.filled {
    border-style: solid;
    border-color: #e2e8f0;
    background: #ffffff;
}

.home-slot-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    z-index: 5;
}

.home-slot-img {
    width: 44px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 6px;
}

.home-slot-title {
    font-size: 11.5px;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.25;
    max-height: 28px;
    overflow: hidden;
    margin-bottom: 4px;
}

.home-slot-price {
    font-size: 12px;
    font-weight: 750;
    color: #0f172a;
}

.home-slot.empty-slot {
    cursor: pointer;
}

.home-slot.empty-slot:hover {
    border-color: #ff6600;
    background: #fff8f5;
}

.home-slot-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 102, 0, 0.1);
    color: #ff6600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.home-slot.empty-slot:hover .home-slot-icon {
    background: #ff6600;
    color: #ffffff;
    transform: scale(1.08);
}

.home-slot-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
}

.home-search-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.home-search-item:hover {
    background: #f8fafc;
}

.home-search-item img {
    width: 26px;
    height: 32px;
    object-fit: contain;
}

.home-search-item-name {
    font-size: 11.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.home-compare-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.home-compare-now-btn {
    background: #fca5a5 !important;
    color: #ffffff !important;
    padding: 8px 26px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
    transition: all 0.2s ease;
    pointer-events: none;
}

.home-compare-now-btn.active {
    background: #ef4444 !important;
    pointer-events: auto !important;
}

.home-compare-now-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .home-discovery-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 620px) {
    .home-compare-slots-grid {
        grid-template-columns: 1fr;
    }
}


/* ── Additional Extracted Classes ── */
.home-compare-card-rel {
    position: relative;
}
.home-icon-space-r {
    margin-right: 6px;
}
.home-card-header-compact {
    margin-bottom: 12px;
}
.star-gold-icon {
    color: #f59e0b;
    font-size: 10px;
}
.home-empty-msg {
    padding: 30px;
    text-align: center;
    width: 100%;
    color: #64748b;
}
.home-track-hidden {
    display: none;
}
.popular-badge-latest {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}
.cal-icon-spacing {
    margin-right: 5px;
    font-size: 11px;
}
.home-empty-upcoming-box {
    padding: 40px;
    text-align: center;
    width: 100%;
    background: #fbfbfb;
    border-radius: 12px;
    border: 1px dashed #e2e8f0;
}
.home-empty-upcoming-txt {
    color: #64748b;
    font-weight: 600;
    margin: 0;
}
.blog-placeholder-icon {
    font-size: 32px;
    color: #94a3b8;
}
.blog-cal-icon {
    margin-right: 4px;
}
.blog-arrow-icon {
    font-size: 10px;
}
.home-card-header-spaced {
    margin-bottom: 20px;
}
.home-card-header-sm {
    margin-bottom: 14px;
}
.cookie-consent-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: slideUp 0.3s ease;
}
.cookie-consent-inner {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}
.cookie-consent-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.cookie-consent-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
.cookie-consent-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}
.cookie-consent-link {
    color: #ff6600;
    text-decoration: underline;
}
.cookie-consent-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}
.cookie-consent-btn-decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.cookie-consent-btn-accept {
    background: linear-gradient(135deg, #ff6600, #ff8833);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    transition: all 0.3s;
    white-space: nowrap;
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* ── Merged From products-listing.css ── */

/* ==========================================================================
   PRODUCTS LISTING & FILTER PAGE STYLES
   ========================================================================== */

.phone-finder-page {
            max-width: 1024px;
            margin: 10px auto 40px;
            padding: 20px;
        }

        .page-header {
            margin-bottom: 25px;
        }

        .page-title {
            font-size: 28px;
            font-weight: 700;
            color: #333;
            margin-bottom: 10px;
        }

        .page-subtitle {
            color: #666;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .results-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .results-count {
            font-size: 18px;
            font-weight: 600;
            color: #333;
        }

        .results-count span {
            color: #ff6b35;
        }

        .sort-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .sort-label {
            font-weight: 600;
            color: #666;
        }

        .products-layout {
            display: grid;
            grid-template-columns: 280px minmax(0, 1fr);
            gap: 25px;
            width: 100%;
            box-sizing: border-box;
        }

        .products-right-column {
            min-width: 0;
            max-width: 100%;
            width: 100%;
            box-sizing: border-box;
        }

        .filter-sidebar {
            background: transparent;
            border-radius: 12px;
            height: fit-content;
            position: sticky;
            top: 90px;
        }

        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #eee;
        }

        .filter-title {
            font-size: 18px;
            font-weight: 700;
            color: #333;
        }

        .reset-all {
            color: #ff6b35;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
        }

        .filter-group {
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
        }

        .filter-group:last-child {
            border-bottom: none;
        }

        .filter-group-title {
            font-size: 15px;
            font-weight: 700;
            color: #333;
            margin-bottom: 12px;
        }

        .filter-options {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #666;
            cursor: pointer;
        }

        .filter-option input[type="checkbox"],
        .filter-option input[type="radio"] {
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        .filter-option:hover {
            color: #ff6b35;
        }

        .filter-option.disabled,
        .range-filter-option.disabled,
        .mfd-option-row.disabled {
            opacity: 0.42;
            cursor: not-allowed !important;
            pointer-events: none !important;
            color: #94a3b8 !important;
            user-select: none;
        }

        .filter-option.disabled input,
        .range-filter-option.disabled input,
        .mfd-option-row.disabled input {
            cursor: not-allowed !important;
            pointer-events: none !important;
            opacity: 0.45;
            border-color: #cbd5e1;
        }

        .filter-option.disabled .range-count,
        .range-filter-option.disabled .range-count,
        .filter-option.disabled .range-label-text,
        .filter-option.disabled span,
        .mfd-option-row.disabled .mfd-option-count,
        .mfd-option-row.disabled .mfd-option-label {
            color: #94a3b8 !important;
        }

        .price-range-inputs {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .price-input {
            width: 80px;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 13px;
        }

        .products-grid {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .product-card-horizontal {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            display: grid;
            grid-template-columns: 180px 1fr;
            gap: 20px;
            transition: all 0.3s;
            position: relative;
        }

        .product-card-horizontal:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        }

        .product-image-section {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding-top: 10px;
            gap: 15px;
        }

        .desktop-only {
            display: block;
            width: 100%;
            text-align: center;
        }

        .mobile-only {
            display: none;
        }

        .spec-score-badge-mini {
            position: absolute;
            top: 5px;
            left: 5px;
            width: 50px;
            height: 50px;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 800;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            z-index: 5;
        }

        .spec-score-badge-mini .score-num {
            font-size: 18px;
            line-height: 1;
        }

        .spec-score-badge-mini .score-txt {
            font-size: 7px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .new-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #4CAF50;
            color: white;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
        }

        .product-img {
            max-width: 100%;
            max-height: 200px;
            object-fit: contain;
        }

        .product-image-price {
            display: block;
            text-align: center;
            margin-top: 8px;
            font-size: 15px;
            font-weight: 800;
            color: #ff6b35;
            white-space: nowrap;
        }

        .product-details {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .product-name-link {
            text-decoration: none;
            color: inherit;
        }

        .product-name-title {
            font-size: 20px;
            font-weight: 700;
            color: #333;
            margin-bottom: 5px;
        }

        .product-name-title:hover {
            color: #ff6b35;
        }

        .release-info {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #666;
        }

        .release-badge {
            background: #4CAF50;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 600;
        }

        .product-specs-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .spec-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #555;
        }

        .product-awards {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 8px;
        }

        .award-badge {
            display: flex;
            align-items: center;
            gap: 5px;
            background: #fff8f0;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            color: #ff6b35;
            font-weight: 600;
            border: 1px solid #ffe6d0;
        }

        .product-actions-section {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #eee;
            padding-top: 12px;
            margin-top: 10px;
        }

        .compare-btn {
            color: #ff6b35;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            background: white;
            border: 2px solid #ff6b35;
            padding: 8px 16px;
            border-radius: 6px;
            transition: all 0.3s;
        }

        .compare-btn:hover {
            background: #ff6b35;
            color: white;
        }

        .compare-btn.added {
            background: #ff6b35;
            color: white;
            border-color: #ff6b35;
        }

        .compare-btn.mobile-only {
            display: none !important;
            width: 38px;
            height: 38px;
            border-radius: 50% !important;
            padding: 0 !important;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
            border: 1px solid #ddd;
            background: #fff;
            color: #777;
        }

        .compare-btn.mobile-only.added {
            background: #ff6b35;
            border-color: #ff6b35;
            color: white;
        }

        .product-actions-section {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 15px;
        }

        .product-ratings {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 13px;
        }

        .rating-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
        }

        .rating-label {
            color: #666;
        }

        .rating-value {
            font-weight: 600;
            color: #333;
        }

        .product-price-section {
            text-align: right;
            margin-left: auto;
        }

        .product-price {
            display: none;
            /* price shown in store bar below */
        }

        .go-to-store-btn {
            background: #ff6b35;
            color: white;
            padding: 10px 25px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            display: inline-block;
            transition: all 0.3s;
        }

        .go-to-store-btn:hover {
            background: #e55a2b;
        }

        .view-specs-link {
            color: #ff6b35;
            font-size: 14px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 8px;
            display: inline-block;
        }

        .pagination-wrapper {
            margin-top: 40px;
            display: flex;
            justify-content: center;
        }

        .no-results {
            text-align: center;
            padding: 60px 20px;
            background: white;
            border-radius: 12px;
        }

        /* Responsive & Drawer Layouts */
        .bottom-action-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: transparent;
            border: none;
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            cursor: pointer;
            height: 44px;
            padding: 0;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .bottom-action-btn:active {
            background: #f1f5f9;
        }

        .bottom-action-btn svg {
            width: 17px;
            height: 17px;
        }

        .bottom-action-btn * {
            pointer-events: none;
        }

        .mobile-bottom-bar {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(8px);
            border-top: 1px solid #e2e8f0;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
            z-index: 900;
            height: 46px;
            align-items: center;
            padding-bottom: env(safe-area-inset-bottom);
        }

        .bottom-divider {
            width: 1px;
            height: 22px;
            background: #e2e8f0;
            margin: auto 0;
        }

        .mobile-sort-drawer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-radius: 16px 16px 0 0;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
            z-index: 99995;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            padding: 20px;
        }

        .mobile-sort-drawer.open {
            transform: translateY(0);
        }

        .mobile-drawer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .mobile-drawer-close {
            background: none;
            border: none;
            font-size: 24px;
            color: #666;
            cursor: pointer;
        }

        /* ── Mobile 2-Column Slide-Over Filter Drawer ─────────────────── */
        .mobile-filter-drawer {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            max-width: 480px;
            height: 100%;
            height: 100vh;
            height: 100dvh;
            background: #ffffff;
            z-index: 99999;
            transform: translateX(-100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            flex-direction: column;
            box-shadow: 4px 0 25px rgba(0, 0, 0, 0.2);
            visibility: hidden;
            overflow: hidden;
        }

        .mobile-filter-drawer.open {
            transform: translateX(0);
            visibility: visible;
        }

        .mobile-filter-drawer form {
            display: flex;
            flex-direction: column;
            height: 100%;
            height: 100vh;
            height: 100dvh;
            max-height: 100%;
            width: 100%;
            margin: 0;
            overflow: hidden;
        }

        .mfd-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 18px;
            border-bottom: 1px solid #f1f5f9;
            background: #ffffff;
            flex-shrink: 0;
            height: 52px;
            box-sizing: border-box;
        }

        .mfd-title {
            font-size: 18px;
            font-weight: 700;
            color: #1e293b;
            margin: 0;
        }

        .mfd-reset-btn {
            font-size: 13px;
            font-weight: 700;
            color: #ef4444;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 0.5px;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
        }

        .mfd-reset-btn:hover {
            color: #dc2626;
        }

        .mfd-body {
            display: flex;
            flex: 1 1 auto;
            overflow: hidden;
            background: #ffffff;
            min-height: 0;
            height: calc(100% - 114px);
        }

        .mfd-tabs-nav {
            width: 130px;
            flex-shrink: 0;
            background: #f8fafc;
            border-right: 1px solid #e2e8f0;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding: 6px 0 20px;
            height: 100%;
            box-sizing: border-box;
        }

        .mfd-tab-btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 13px 10px 13px 12px;
            font-size: 13px;
            font-weight: 500;
            color: #334155;
            background: transparent;
            border: none;
            border-left: 3px solid transparent;
            cursor: pointer;
            transition: all 0.15s ease;
            line-height: 1.2;
            box-sizing: border-box;
            gap: 6px;
        }

        .mfd-tab-btn-text {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1;
            text-align: left;
        }

        .mfd-tab-badge {
            background: #ef4444;
            color: #ffffff;
            font-size: 11px;
            font-weight: 700;
            min-width: 18px;
            height: 18px;
            border-radius: 9px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
            line-height: 1;
            flex-shrink: 0;
        }

        .mfd-tab-btn:hover {
            background: #f1f5f9;
            color: #0f172a;
        }

        .mfd-tab-btn.active {
            background: #ffebee;
            color: #ef4444;
            font-weight: 700;
            border-left-color: #ef4444;
        }

        .mfd-tab-content {
            flex: 1;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding: 16px;
            background: #ffffff;
            min-height: 0;
        }

        .mfd-pane {
            display: none;
        }

        .mfd-pane.active {
            display: block;
        }

        .mfd-pane-title {
            font-size: 15px;
            font-weight: 700;
            color: #0f172a;
            margin: 0 0 12px 0;
        }

        .mfd-search-wrap {
            position: relative;
            margin-bottom: 12px;
        }

        .mfd-search-wrap i {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 13px;
            pointer-events: none;
        }

        .mfd-search-input {
            width: 100%;
            padding: 8px 12px 8px 34px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            font-size: 13.5px;
            outline: none;
            box-sizing: border-box;
            transition: border-color 0.2s;
        }

        .mfd-search-input:focus {
            border-color: #ef4444;
        }

        .mfd-options-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .mfd-option-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            font-size: 13.5px;
            color: #1e293b;
            cursor: pointer;
            padding: 2px 0;
        }

        .mfd-option-left {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
        }

        .mfd-option-row input[type="checkbox"],
        .mfd-option-row input[type="radio"] {
            width: 18px;
            height: 18px;
            accent-color: #ef4444;
            cursor: pointer;
            flex-shrink: 0;
        }

        .mfd-option-label {
            font-size: 13.5px;
            color: #1e293b;
            line-height: 1.3;
        }

        .mfd-option-count {
            font-size: 12.5px;
            color: #64748b;
            font-weight: 500;
        }

        .mfd-footer {
            display: flex;
            gap: 12px;
            align-items: center;
            padding: 12px 16px;
            border-top: 1px solid #e2e8f0;
            background: #ffffff;
            flex-shrink: 0;
        }

        .mfd-btn-close {
            flex: 1;
            height: 42px;
            background: #ffffff;
            border: 1.5px solid #cbd5e1;
            border-radius: 8px;
            color: #0f172a;
            font-size: 14.5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mfd-btn-close:hover {
            background: #f8fafc;
            border-color: #94a3b8;
        }

        .mfd-btn-apply {
            flex: 1;
            height: 42px;
            background: #ef4444;
            border: none;
            border-radius: 8px;
            color: #ffffff;
            font-size: 14.5px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(239, 68, 68, 0.25);
            transition: all 0.2s;
        }

        .mfd-btn-apply:hover {
            background: #dc2626;
        }

        @media (min-width: 969px) {
            .mobile-filter-drawer {
                display: none !important;
            }
        }

        .filter-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            display: none;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .filter-overlay.open {
            display: block;
            opacity: 1;
        }

        @media (max-width: 968px) {
            .mobile-bottom-bar {
                display: flex;
            }

            .phone-finder-page {
                padding-bottom: 58px;
                /* space for sleek bottom bar */
                margin-top: 0;
                padding-top: 15px;
            }

            .products-layout {
                grid-template-columns: 1fr;
            }

            .sort-section {
                display: none;
                /* hide native top sort on mobile */
            }

            .filter-sidebar {
                display: none !important;
            }

            .product-card-horizontal {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .product-actions-section {
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                justify-content: flex-end;
                align-items: center;
                border-top: 1px solid #eee;
                padding-top: 12px;
                margin-top: 10px;
                gap: 4px;
            }

            .desktop-only {
                display: none !important;
            }

            .mobile-only {
                display: block;
                /* or inline-flex / block since it's in a grid */
            }

            .compare-btn.mobile-only {
                order: 2;
                margin: 0;
                padding: 6px 10px;
                font-size: 13px;
                height: 32px;
                white-space: nowrap;
                display: flex !important;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;
            }

            .product-price-section {
                order: 3;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
                width: auto;
            }

            .product-ratings {
                order: 1;
                width: auto;
                margin: 0 auto 0 0 !important;
                /* margin-right: auto pushes EVERYTHING else to the right */
                display: flex;
                justify-content: flex-start;
                white-space: nowrap;
                flex-shrink: 0;
            }

            .product-price {
                display: none !important;
                /* hidden in favor of image price badge */
            }

            .product-image-price {
                display: inline-block;
                position: absolute;
                bottom: 5px;
                left: 50%;
                transform: translateX(-50%);
                background: rgba(255, 255, 255, 0.95);
                color: #ff6b35;
                font-weight: 800;
                font-size: 15px;
                padding: 4px 14px;
                border-radius: 20px;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                white-space: nowrap;
                z-index: 10;
                margin-top: 0;
            }

            .mobile-price-buttons {
                display: flex;
                align-items: center;
                width: auto;
            }

            .view-specs-link {
                display: none !important;
            }

            .go-to-store-btn {
                padding: 6px 10px;
                font-size: 13px;
                white-space: nowrap;
                height: 32px;
                display: flex;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;
                margin: 0;
            }
        }

        .active-filters-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            margin-bottom: 20px;
        }

        .active-filter-tag {
            display: flex;
            align-items: center;
            gap: 8px;
            background: white;
            border: 1px solid #ddd;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 13px;
            color: #333;
            font-weight: 500;
        }

        .active-filter-tag .close-tag {
            cursor: pointer;
            color: #999;
            font-size: 14px;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s;
        }

        .active-filter-tag .close-tag:hover {
            color: #ff6b35;
        }

        .clear-all-filters {
            color: #ff6b35;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            margin-left: 5px;
        }

        .clear-all-filters:hover {
            text-decoration: underline;
        }

        /* Header Top Content & Read More Toggle */
        .header-desc-wrapper {
            position: relative;
            margin-top: 4px;
            margin-bottom: 18px;
        }

        .header-top-content {
            color: #555;
            font-size: 14px;
            line-height: 1.6;
        }

        .header-top-content p {
            margin-bottom: 8px;
            color: #555;
            font-size: 14px;
            line-height: 1.6;
        }

        .header-top-content.collapsed {
            max-height: 44px;
            overflow: hidden;
            position: relative;
        }

        .header-top-content.collapsed::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 24px;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
            pointer-events: none;
        }

        .header-top-extra {
            margin-top: 10px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            animation: fadeInDesc 0.25s ease-out;
        }

        @keyframes fadeInDesc {
            from {
                opacity: 0;
                transform: translateY(-4px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .read-more-bar {
            display: flex;
            justify-content: flex-end;
            margin-top: 6px;
        }

        .read-more-btn {
            color: #555;
            font-size: 13.5px;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            user-select: none;
            transition: color 0.2s;
            padding: 2px 0;
        }

        .read-more-btn:hover {
            color: #ff6600;
        }

        .header-top-content table,
        .header-top-extra table {
            width: 100%;
            border-collapse: collapse;
            margin: 16px 0;
            background: #ffffff;
            border-radius: 6px;
            overflow: hidden;
            border: 1px solid #e2e8f0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        }

        .header-top-content table th,
        .header-top-content table td,
        .header-top-extra table th,
        .header-top-extra table td {
            padding: 10px 14px;
            border: 1px solid #e2e8f0;
            font-size: 13.5px;
            text-align: left;
            vertical-align: middle;
        }

        .header-top-content table th,
        .header-top-extra table th {
            background: #f1f5f9;
            font-weight: 700;
            color: #1e293b;
        }

        .header-top-content table tr:nth-child(even),
        .header-top-extra table tr:nth-child(even) {
            background: #f8fafc;
        }

        /* Min Price Store Bar */
        .min-price-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f7f7f7;
            border: 1px solid #ebebeb;
            border-radius: 8px;
            padding: 10px 16px;
            margin-top: 12px;
            gap: 10px;
            grid-column: 1 / -1;
        }

        .min-price-store {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            min-width: 0;
        }

        .min-store-logo {
            height: auto;
            max-height: 28px;
            max-width: 80px;
            width: auto;
            object-fit: contain;
            display: block;
            flex-shrink: 0;
        }

        .min-store-name {
            font-size: 13px;
            color: #555;
            font-weight: 500;
            white-space: nowrap;
        }

        .min-price-right {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-shrink: 0;
        }

        .min-price-amount {
            font-size: 17px;
            font-weight: 700;
            color: #222;
            white-space: nowrap;
        }

        .min-goto-btn {
            font-size: 14px;
            font-weight: 700;
            color: #ff6b35;
            text-decoration: none;
            white-space: nowrap;
        }

        .min-goto-btn:hover {
            color: #e0521c;
            text-decoration: underline;
        }

        /* Range-Bucket Filter Style */
        .range-filter-option {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #444;
            cursor: pointer;
            padding: 3px 0;
        }

        .range-filter-option .range-label-text {
            flex: 1;
            font-weight: 500;
        }

        .range-filter-option .range-count {
            color: #999;
            font-size: 13px;
            font-weight: 400;
            padding-right: 4px;
        }

        .range-count {
            padding-right: 4px;
        }

        .range-filter-option:hover .range-label-text {
            color: #ff6b35;
        }

        .range-filter-active .range-label-text {
            color: #ff6b35;
            font-weight: 600;
        }

        .range-filter-active .range-count {
            color: #ff6b35;
        }

        /* Collapsible Filter Styles */
        .filter-group {
            margin-bottom: 15px;
            background: #fff !important;
            border-radius: 8px !important;
            border: 1px solid #e0e0e0 !important;
            overflow: hidden;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            font-family: inherit !important;
        }

        .filter-group-title {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            padding: 12px 16px !important;
            font-weight: 700 !important;
            font-size: 16px !important;
            color: #222 !important;
            background: #f8f8f8 !important;
            cursor: default !important;
            user-select: none !important;
            margin: 0 !important;
            border-bottom: 1px solid #eee !important;
            font-family: inherit !important;
        }

        .filter-group-title-static {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            padding: 12px 16px !important;
            font-weight: 700 !important;
            font-size: 16px !important;
            color: #222 !important;
            background: #f8f8f8 !important;
            user-select: none !important;
            margin: 0 !important;
            border-bottom: 1px solid #eee !important;
            font-family: inherit !important;
            cursor: default !important;
        }

        .filter-group-content {
            padding: 15px;
            display: block !important;
        }

        /* Rating filter group: supports open/close toggle */
        #ratingFilterGroup.collapsed .filter-group-content {
            display: none !important;
        }

        #ratingFilterGroup.collapsed .rating-filter-title {
            border-bottom: none !important;
        }

        #ratingFilterGroup:not(.collapsed) #ratingChevron {
            transform: rotate(180deg);
        }

        #ratingFilterGroup.collapsed #ratingChevron {
            transform: rotate(0deg);
        }

        .rating-filter-title:hover {
            background: #f2f2f2 !important;
        }

        /* Dynamic spec filters: collapsible */
        .dynamic-filter-group.collapsed .filter-group-content {
            display: none !important;
        }

        .dynamic-filter-group.collapsed .dynamic-filter-title {
            border-bottom: none !important;
        }

        .dynamic-filter-group .dynamic-filter-title {
            cursor: pointer !important;
        }

        .dynamic-filter-group .dynamic-filter-title:hover {
            background: #f2f2f2 !important;
        }

        .dynamic-filter-group .dynamic-chevron {
            font-size: 14px;
            color: #555;
            transition: transform 0.3s ease;
        }

        .dynamic-filter-group:not(.collapsed) .dynamic-chevron {
            transform: rotate(180deg);
        }

        .dynamic-filter-group.collapsed .dynamic-chevron {
            transform: rotate(0deg);
        }

        /* Scrollable filter list when > 5 items */
        .filter-options-scroll {
            max-height: 200px;
            overflow-y: auto;
            padding-right: 4px;
            scrollbar-width: thin;
            scrollbar-color: #ddd transparent;
        }

        .filter-options-scroll::-webkit-scrollbar {
            width: 4px;
        }

        .filter-options-scroll::-webkit-scrollbar-track {
            background: transparent;
        }

        .filter-options-scroll::-webkit-scrollbar-thumb {
            background: #ddd;
            border-radius: 4px;
        }

        .filter-options-scroll::-webkit-scrollbar-thumb:hover {
            background: #bbb;
        }

        /* Dual Range Slider CSS */
        .dual-range-wrap {
            position: relative;
            height: 40px;
            /* Space for the thumbs */
            margin-top: 15px;
            margin-bottom: 5px;
        }

        .dual-range-track {
            position: absolute;
            width: 100%;
            height: 6px;
            background-color: #e5e7eb;
            border-radius: 4px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1;
        }

        .dual-range-fill {
            position: absolute;
            height: 100%;
            background-color: #22c55e;
            /* Green color from design */
            border-radius: 4px;
            z-index: 2;
        }

        .dual-range-input {
            -webkit-appearance: none;
            appearance: none;
            width: 100%;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            pointer-events: none;
            /* Let clicks pass through empty spaces */
            z-index: 3;
            margin: 0;
            padding: 0;
            height: 0;
            /* Important for alignment */
        }

        .dual-range-input::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #d1d5db;
            /* Grey handle initially */
            cursor: pointer;
            pointer-events: auto;
            /* Enable clicks on the thumb itself */
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            position: relative;
            z-index: 4;
        }

        .dual-range-input::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #d1d5db;
            cursor: pointer;
            border: none;
            pointer-events: auto;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            position: relative;
            z-index: 4;
        }

        /* Active thumb color (closer to original design) */
        .dual-range-input:active::-webkit-slider-thumb {
            background: #9ca3af;
        }

        /* ── Top Brand Icons Bar ─────────────────────── */
        .top-brands-container {
            background: #ffffff;
            border: 1px solid #eaeaea;
            border-radius: 12px;
            padding: 14px 16px;
            margin-bottom: 18px;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
            position: relative;
            overflow: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        .top-brands-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .top-brands-title {
            font-size: 13px;
            font-weight: 700;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .top-brands-nav-arrows {
            display: flex;
            gap: 6px;
        }

        .brand-scroll-btn {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 1px solid #e0e0e0;
            background: #fff;
            color: #555;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 11px;
            transition: all 0.2s ease;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .brand-scroll-btn:hover {
            background: #ff6b35;
            border-color: #ff6b35;
            color: #fff;
        }

        .top-brands-scroll {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            padding: 4px 2px 6px;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .top-brands-scroll::-webkit-scrollbar {
            display: none;
            width: 0;
            height: 0;
        }

        .top-brand-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 82px;
            max-width: 82px;
            padding: 10px 6px 8px;
            background: #ffffff;
            border: 1px solid #e8e8e8;
            border-radius: 10px;
            text-decoration: none;
            transition: all 0.25s ease;
            flex-shrink: 0;
            box-sizing: border-box;
        }

        .top-brand-card:hover {
            border-color: #ff6b35;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(255, 107, 53, 0.12);
        }

        .top-brand-card.active {
            border-color: #ff6b35 !important;
            background: #fff8f5 !important;
            box-shadow: 0 0 0 1.5px #ff6b35, 0 3px 10px rgba(255, 107, 53, 0.2) !important;
            position: relative;
        }

        .top-brand-card.active .top-brand-name {
            color: #ff6b35 !important;
            font-weight: 700 !important;
        }

        .top-brand-card.active::after {
            content: "✓";
            position: absolute;
            top: 3px;
            right: 4px;
            font-size: 9px;
            font-weight: 900;
            color: #fff;
            background: #ff6b35;
            border-radius: 50%;
            width: 14px;
            height: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 14px;
            text-align: center;
        }

        .top-brand-img-wrap {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            border-radius: 8px;
            margin-bottom: 6px;
            padding: 3px;
            box-sizing: border-box;
        }

        .top-brand-img-wrap img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
        }

        .top-brand-placeholder {
            font-size: 13px;
            font-weight: 700;
            color: #ff6b35;
        }

        .top-brand-name {
            font-size: 11.5px;
            font-weight: 600;
            color: #444;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
            display: block;
        }

        .top-brand-card:hover .top-brand-name,
        .top-brand-card.active .top-brand-name {
            color: #ff6b35;
        }

        @media (max-width: 968px) {
            .phone-finder-page {
                padding-left: 12px !important;
                padding-right: 12px !important;
            }

            .page-header-box {
                padding: 15px !important;
                margin-left: -12px !important;
                margin-right: -12px !important;
                border-radius: 0 !important;
                margin-bottom: 15px !important;
            }

            .min-price-bar {
                padding: 8px 12px;
            }

            .min-price-amount {
                font-size: 15px;
            }
        }

        /* Top 10 Products Table Styling */
        .top10-table-section {
            margin-top: 18px;
            margin-bottom: 8px;
        }

        .top10-table-title {
            font-size: 16px;
            font-weight: 700;
            color: #1e293b;
            margin: 0 0 10px 0;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .top10-table-scroll {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            background: #ffffff;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
        }

        .top10-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 680px;
            font-size: 13.5px;
            text-align: left;
        }

        .top10-table thead tr {
            background: #f1f5f9;
            border-bottom: 1px solid #e2e8f0;
        }

        .top10-table th {
            padding: 11px 14px;
            font-weight: 700;
            color: #334155;
            white-space: nowrap;
            border-right: 1px solid #e2e8f0;
        }

        .top10-table th:last-child {
            border-right: none;
        }

        .top10-table tbody tr {
            border-bottom: 1px solid #f1f5f9;
            transition: background 0.15s ease;
        }

        .top10-table tbody tr:last-child {
            border-bottom: none;
        }

        .top10-table tbody tr:hover {
            background: #f8fafc;
        }

        .top10-table td {
            padding: 11px 14px;
            color: #334155;
            vertical-align: middle;
            border-right: 1px solid #f1f5f9;
        }

        .top10-table td:last-child {
            border-right: none;
        }

        .top10-rank {
            text-align: center;
            font-weight: 700;
            color: #64748b;
            width: 50px;
        }

        .top10-name a {
            color: #0f172a;
            text-decoration: none;
            font-weight: 600;
            display: inline-block;
        }

        .top10-name a:hover {
            color: #ff6b35;
            text-decoration: underline;
        }

        .top10-bestfor {
            color: #15803d;
            font-weight: 600;
            white-space: nowrap;
        }

        .top10-price {
            font-weight: 700;
            color: #0f172a;
            white-space: nowrap;
        }

        /* ── Header Top Content Read More / Less Styling ── */
        .header-desc-wrapper {
            position: relative;
            margin-bottom: 20px;
            line-height: 1.6;
            color: #475569;
            font-size: 14px;
        }

        .header-top-content {
            max-height: 38px;
            overflow: hidden;
            position: relative;
        }

        .header-top-content::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 20px;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
            pointer-events: none;
        }

        .header-top-content.expanded {
            max-height: none !important;
            overflow: visible !important;
        }

        .header-top-content.expanded::after {
            display: none !important;
        }

        .table-responsive-wrapper {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin: 14px 0 20px 0;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            background: #ffffff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        }

        .header-desc-wrapper table,
        .header-top-content table,
        .seo-content-wrapper table,
        .table-responsive-wrapper table {
            width: 100%;
            min-width: 680px;
            border-collapse: collapse;
            margin: 0;
            font-size: 13.5px;
            background: #ffffff;
        }

        .header-desc-wrapper th,
        .header-desc-wrapper td,
        .header-top-content th,
        .header-top-content td,
        .seo-content-wrapper th,
        .seo-content-wrapper td,
        .table-responsive-wrapper th,
        .table-responsive-wrapper td {
            padding: 10px 12px;
            border: 1px solid #e2e8f0;
            white-space: nowrap;
            text-align: left;
            vertical-align: middle;
        }

        .header-desc-wrapper th,
        .header-top-content th,
        .seo-content-wrapper th,
        .table-responsive-wrapper th {
            background-color: #f8fafc;
            color: #1e293b;
            font-weight: 600;
        }

        .table-responsive-wrapper::-webkit-scrollbar,
        .header-top-content::-webkit-scrollbar,
        .seo-content-wrapper::-webkit-scrollbar {
            height: 6px;
        }

        .table-responsive-wrapper::-webkit-scrollbar-thumb,
        .header-top-content::-webkit-scrollbar-thumb,
        .seo-content-wrapper::-webkit-scrollbar-thumb {
            background-color: #cbd5e1;
            border-radius: 4px;
        }

        @media (max-width: 768px) {

            .header-top-content,
            .seo-content-wrapper {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .header-desc-wrapper table,
            .header-top-content table,
            .seo-content-wrapper table,
            .table-responsive-wrapper table {
                min-width: 760px;
                font-size: 12.5px;
            }

            .header-desc-wrapper th,
            .header-desc-wrapper td,
            .header-top-content th,
            .header-top-content td,
            .seo-content-wrapper th,
            .seo-content-wrapper td,
            .table-responsive-wrapper th,
            .table-responsive-wrapper td {
                padding: 8px 10px;
            }
        }

        .read-more-bar {
            margin-top: 6px;
            display: flex;
        }

        .read-more-btn {
            color: #2563eb;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 13.5px;
            transition: color 0.15s ease;
        }

        .read-more-btn:hover {
            color: #1d4ed8;
            text-decoration: underline;
        }

/* ── Additional Section Styles ── */

@keyframes spin {
                        0% {
                            transform: rotate(0deg);
                        }

                        100% {
                            transform: rotate(360deg);
                        }
                    }

/* ── Additional Section Styles ── */

@keyframes slideIn {
            from {
                transform: translateX(400px);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(400px);
                opacity: 0;
            }
        }

/* ── Additional Section Styles ── */

@keyframes slideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        #cookieConsent button:hover {
            transform: translateY(-2px);
        }

        #cookieConsent button:first-of-type:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.6);
        }

        @media (max-width: 768px) {
            #cookieConsent>div {
                flex-direction: column;
                text-align: center;
            }

            #cookieConsent button {
                width: 100%;
            }
        }

/* ── Additional Extracted Listing Classes ── */
.page-header-container-box {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 24px;
    border: 1px solid #eaeaea;
}
.page-header-spacing {
    margin-bottom: 15px;
}
.header-desc-toggle-bar {
    display: flex;
}
.chevron-sm-spaced {
    font-size: 11px;
    margin-left: 2px;
}
.page-subtitle-compact {
    margin-bottom: 4px;
    color: #666;
    line-height: 1.6;
}
.filter-header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}
.close-filter-btn {
    display: none;
}
.filter-search-wrap {
    position: relative;
}
.filter-search-icon-abs {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
}
.filter-search-input-field {
    width: 100%;
    padding: 8px 8px 8px 32px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.filter-cb-label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-cb-text {
    flex: 1;
}
.filter-info-icon-sm {
    font-size: 10px;
    color: #888;
    margin-left: 3px;
}
.curr-symbol-14 {
    font-size: 14px;
}
.filter-options-spaced {
    margin-top: 8px;
}
.brand-search-field {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 10px;
}
.rating-title-cursor {
    cursor: pointer !important;
}
.rating-chevron-icon {
    font-size: 14px;
    color: #555;
    transition: transform 0.3s ease;
}
.loading-overlay-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.loading-overlay-content {
    text-align: center;
}
.loading-spinner-circle {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
.loading-overlay-text {
    margin-top: 20px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}
.top-cat-icon {
    color: #ff6b35;
    margin-right: 6px;
}
.total-count-highlight {
    font-weight: 700;
    color: #ff6b35;
    font-size: 20px;
}
.total-count-name {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}
.sort-form-inline {
    display: inline;
}
.sort-select-field {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    cursor: pointer;
}
.active-filters-box {
    display: none;
}
.product-card-pos {
    position: relative;
}
.product-thumb-fixed {
    width: 150px;
    height: 200px;
}
.price-coming-soon-txt {
    color: #e11d48;
    font-size: 14px;
    font-weight: 700;
}
.price-na-txt {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}
.product-actions-wrap {
    margin-top: 10px;
}
.product-head-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
    width: 100%;
    gap: 6px;
}
.product-title-nomargin {
    margin: 0;
}
.product-meta-flex {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.release-badge-coming-soon {
    background: #e11d48;
    color: white;
}


/* ── Additional Extracted Listing Classes Part 2 ── */
.release-badge-new {
    background: #10b981;
    color: white;
}
.store-offer-highlight-box {
    background: #fff8f0;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    border-left: 4px solid #ff6b35;
}
.store-offer-line {
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: start;
    gap: 8px;
}
.store-offer-icon {
    color: #ff6b35;
    width: 18px;
}
.store-spec-icon-muted {
    width: 18px;
    color: #777;
}
.store-spec-icon-primary {
    width: 18px;
    color: #ff6b35;
}
.rating-row-flex {
    display: flex;
    align-items: center;
    gap: 4px;
}
.rating-count-muted {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}
.price-coming-soon-main {
    margin-bottom: 0;
    color: #e11d48;
    font-size: 16px;
    font-weight: 700;
}
.product-price-nomargin {
    margin-bottom: 0;
}
.price-na-main {
    margin-bottom: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}
.view-btn-nomargin {
    margin: 0;
}
.view-btn-icon-spacing {
    margin-right: 5px;
}
.no-products-heading {
    font-size: 24px;
    margin-bottom: 10px;
}
.no-products-sub {
    color: #666;
}
.clear-filters-btn-center {
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    text-align: center;
    margin: 0 auto;
    display: block;
}
.category-footer-description {
    margin-top: 36px;
    padding: 22px 26px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    line-height: 1.65;
    color: #475569;
    font-size: 14px;
}
.price-range-inputs-row {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.price-range-curr {
    font-size: 14px;
    color: #666;
}
.price-range-field {
    width: 75px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}
.price-range-separator {
    color: #888;
}
.bottom-sheet-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}
.bottom-sheet-actions-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bottom-action-btn-bordered {
    justify-content: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.bottom-action-btn-pad {
    justify-content: flex-start;
    padding: 10px 0;
}
.cookie-consent-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: slideUp 0.3s ease;
}
.cookie-consent-inner {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}
.cookie-consent-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.cookie-consent-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
.cookie-consent-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}
.cookie-consent-link {
    color: #ff6600;
    text-decoration: underline;
}
.cookie-consent-btn-decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.cookie-consent-btn-accept {
    background: linear-gradient(135deg, #ff6600, #ff8833);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    transition: all 0.3s;
    white-space: nowrap;
}


/* ── Merged From product-detail.css ── */

/**
 * 91search Product Detail Page Styles (Lightweight & Modern Pricekeeda Style)
 */
:root {
    --pdp-primary: var(--primary-color, #ff6600);
    --pdp-primary-hover: #e55a00;
    --pdp-primary-light: rgba(255, 102, 0, 0.08);
    --pdp-text: #1f2937;
    --pdp-text-muted: #6b7280;
    --pdp-text-dark: #111827;
    --pdp-border: #e5e7eb;
    --pdp-bg-card: #ffffff;
    --pdp-bg-alt: #f9fafb;
    --pdp-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --pdp-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --pdp-radius: 12px;
}

/* Base Container */
.pdp-page-wrapper {
    background: #f8fafc;
    min-height: 100vh;
    padding: 16px 0 40px;
    font-family: inherit; /* Preserves exact site-wide typography without change */
    color: var(--pdp-text);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.pdp-container {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Breadcrumbs */
.pdp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--pdp-text-muted);
    margin-bottom: 12px;
}

.pdp-breadcrumb a {
    color: var(--pdp-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.pdp-breadcrumb a:hover {
    color: var(--pdp-primary);
}

.pdp-breadcrumb .sep {
    color: #cbd5e1;
    font-size: 11px;
}

.pdp-breadcrumb .active {
    color: var(--pdp-text-dark);
    font-weight: 600;
}

/* Title & Header Section (Box Card) */
.pdp-header-section {
    background: var(--pdp-bg-card);
    border: 1px solid var(--pdp-border);
    border-radius: var(--pdp-radius);
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: var(--pdp-shadow);
}

.pdp-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.pdp-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--pdp-text-dark);
    margin: 0;
    line-height: 1.3;
}

.pdp-compare-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #ffffff;
    color: var(--pdp-primary);
    border: 1.5px solid var(--pdp-primary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pdp-compare-btn:hover {
    background: var(--pdp-primary);
    color: #ffffff;
}

.pdp-compare-btn.added {
    background: var(--pdp-primary);
    color: #ffffff;
}

.pdp-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--pdp-text-muted);
}

.pdp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pdp-meta-item strong {
    color: var(--pdp-text-dark);
}

.pdp-status-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pdp-status-available {
    background: #ecfdf5;
    color: #059669;
}

.pdp-status-upcoming {
    background: #fef2f2;
    color: #dc2626;
}

.pdp-status-new {
    background: #f0fdf4;
    color: #16a34a;
}

.pdp-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-weight: 600;
}

/* 2-Column Hero Layout */
.pdp-hero-grid {
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
}

/* Left Column: Gallery */
.pdp-gallery-card {
    background: var(--pdp-bg-card);
    border: 1px solid var(--pdp-border);
    border-radius: var(--pdp-radius);
    padding: 16px;
    box-shadow: var(--pdp-shadow);
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.pdp-main-img-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    box-sizing: border-box;
}

.pdp-main-img {
    max-width: 92%;
    max-height: 92%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.pdp-main-img-wrap:hover .pdp-main-img {
    transform: scale(1.03);
}

.pdp-gallery-badge-top {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.pdp-360-trigger {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(17, 24, 39, 0.85);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.pdp-360-trigger:hover {
    background: var(--pdp-primary);
    transform: translateY(-1px);
}

/* Thumbnail Strip */
.pdp-thumbs-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pdp-thumb-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--pdp-border);
    background: #ffffff;
    color: var(--pdp-text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.pdp-thumb-nav-btn:hover {
    background: var(--pdp-primary);
    color: #ffffff;
    border-color: var(--pdp-primary);
}

.pdp-thumbs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex: 1 1 0;
    min-width: 0; /* CRITICAL: Prevents flex container blow-out */
    padding: 2px 0;
}

.pdp-thumbs-scroll::-webkit-scrollbar {
    display: none;
}

.pdp-thumb {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    border: 1.5px solid var(--pdp-border);
    background: #ffffff;
    padding: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pdp-thumb:hover {
    border-color: var(--pdp-primary);
}

.pdp-thumb.active {
    border-color: var(--pdp-primary);
    box-shadow: 0 0 0 2px var(--pdp-primary-light);
}

/* Gallery Action Buttons (Photos & 360 View) */
.pdp-gallery-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.pdp-view-all-photos-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: #ffffff;
    border: 1.5px solid var(--pdp-border);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pdp-view-all-photos-btn i {
    color: var(--pdp-primary);
    font-size: 14px;
    transition: transform 0.2s ease;
}

.pdp-view-all-photos-btn:hover {
    background: #fff7ed;
    border-color: var(--pdp-primary);
    color: var(--pdp-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.15);
}

.pdp-view-all-photos-btn:hover i {
    transform: scale(1.15);
}

.pdp-view-all-photos-btn.pdp-btn-360 {
    background: #fff7ed;
    border-color: rgba(255, 102, 0, 0.35);
    color: var(--pdp-primary);
    font-weight: 700;
}

.pdp-view-all-photos-btn.pdp-btn-360:hover {
    background: var(--pdp-primary);
    border-color: var(--pdp-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
}

.pdp-view-all-photos-btn.pdp-btn-360:hover i {
    color: #ffffff;
}

/* Right Column: Key Specs & Prices */
.pdp-details-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Card Style */
.pdp-card {
    background: var(--pdp-bg-card);
    border: 1px solid var(--pdp-border);
    border-radius: var(--pdp-radius);
    padding: 20px;
    box-shadow: var(--pdp-shadow);
}

.pdp-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--pdp-text-dark);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Key Specifications Grid */
.pdp-key-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
}

.pdp-key-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pdp-key-spec-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: var(--pdp-bg-alt);
    border: 1px solid var(--pdp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pdp-primary);
    font-size: 15px;
}

.pdp-key-spec-content {
    min-width: 0;
}

.pdp-key-spec-label {
    font-size: 12px;
    color: var(--pdp-text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.pdp-key-spec-value {
    font-size: 14px;
    color: var(--pdp-text-dark);
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

.pdp-jump-specs-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pdp-primary);
    margin-top: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: gap 0.2s;
}

.pdp-jump-specs-link:hover {
    gap: 8px;
    text-decoration: underline;
}

/* Pricing Section */
.pdp-price-hero-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.pdp-price-hero-amount {
    font-size: 26px;
    font-weight: 800;
    color: var(--pdp-primary);
}

.pdp-price-hero-sub {
    font-size: 13px;
    color: var(--pdp-text-muted);
}

/* Variants & Store Offers Accordion */
.pdp-variant-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-variant-item {
    border: 1px solid var(--pdp-border);
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.pdp-variant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--pdp-bg-alt);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.pdp-variant-header:hover {
    background: #f1f5f9;
}

.pdp-variant-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdp-variant-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--pdp-text-dark);
}

.pdp-variant-start-price {
    font-size: 12px;
    color: var(--pdp-text-muted);
}

.pdp-variant-start-price strong {
    color: var(--pdp-text-dark);
}

.pdp-variant-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--pdp-text-muted);
    font-weight: 500;
}

.pdp-variant-toggle svg {
    transition: transform 0.2s ease;
}

.pdp-variant-item.open .pdp-variant-toggle svg {
    transform: rotate(180deg);
}

.pdp-variant-content {
    padding: 8px 16px;
    border-top: 1px solid var(--pdp-border);
    display: none;
}

.pdp-variant-item.open .pdp-variant-content {
    display: block;
}

.pdp-store-offer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pdp-store-offer-row:last-child {
    border-bottom: none;
}

.pdp-store-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdp-store-logo {
    height: 22px;
    max-width: 90px;
    object-fit: contain;
}

.pdp-store-name {
    font-size: 13px;
    color: var(--pdp-text);
    font-weight: 500;
}

.pdp-store-action {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pdp-store-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--pdp-text-dark);
}

.pdp-go-store-btn {
    display: inline-block;
    padding: 6px 14px;
    background: var(--pdp-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pdp-go-store-btn:hover {
    background: var(--pdp-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.25);
}

/* Product Summary Card */
.pdp-summary-card {
    background: var(--pdp-bg-card);
    border: 1px solid var(--pdp-border);
    border-radius: var(--pdp-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--pdp-shadow);
}

.pdp-summary-text {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    position: relative;
}

.pdp-summary-text p {
    margin-bottom: 10px;
}

.pdp-summary-text.collapsed {
    max-height: 110px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.pdp-summary-toggle-btn {
    background: none;
    border: none;
    color: var(--pdp-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pdp-summary-toggle-btn:hover {
    text-decoration: underline;
}

/* Benchmarks / Spec Score Breakdown */
.pdp-score-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.pdp-score-item {
    background: var(--pdp-bg-alt);
    border: 1px solid var(--pdp-border);
    border-radius: 8px;
    padding: 12px 14px;
}

.pdp-score-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.pdp-score-item-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--pdp-text-dark);
}

.pdp-score-item-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    color: #ffffff;
}

.pdp-score-item-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.pdp-score-item-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.pdp-score-item-rating {
    font-size: 11px;
    color: var(--pdp-text-muted);
}

/* Specifications Card & Vertical Sticky Tabs */
.pdp-specs-card {
    background: var(--pdp-bg-card);
    border: 1px solid var(--pdp-border);
    border-radius: var(--pdp-radius);
    box-shadow: var(--pdp-shadow);
    margin-bottom: 24px;
    overflow: visible; /* Required so sticky navigation stays attached on scroll */
}

.pdp-specs-header-bar {
    padding: 18px 24px;
    border-bottom: 1px solid var(--pdp-border);
    background: #ffffff;
    border-radius: var(--pdp-radius) var(--pdp-radius) 0 0;
}

/* 2-Column Specifications Layout */
.pdp-specs-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    position: relative;
}

/* Left Column: Vertical Sticky Sidebar */
.pdp-specs-sidebar {
    width: 250px;
    min-width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 75px; /* Sticks right below sticky header on scroll */
    align-self: flex-start;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    z-index: 15;
}

.pdp-specs-sidebar::-webkit-scrollbar {
    width: 4px;
}
.pdp-specs-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.pdp-specs-vertical-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--pdp-border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.pdp-spec-vtab {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #4b5563;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.pdp-spec-vtab i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: #9ca3af;
    transition: color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.pdp-spec-vtab span.pdp-vtab-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdp-vtab-count {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.pdp-spec-vtab:hover {
    background: #f8fafc;
    color: var(--pdp-primary);
    border-color: rgba(255, 102, 0, 0.15);
}

.pdp-spec-vtab:hover i {
    color: var(--pdp-primary);
    transform: scale(1.1);
}

.pdp-spec-vtab.active {
    background: #fff7ed;
    color: var(--pdp-primary);
    border-color: rgba(255, 102, 0, 0.35);
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(255, 102, 0, 0.08);
}

.pdp-spec-vtab.active i {
    color: var(--pdp-primary);
}

.pdp-spec-vtab.active .pdp-vtab-count {
    background: var(--pdp-primary);
    color: #ffffff;
}

/* Right Column: Specification Details */
.pdp-specs-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pdp-spec-section-box {
    background: var(--pdp-bg-alt);
    border: 1px solid var(--pdp-border);
    border-radius: 10px;
    overflow: hidden;
    scroll-margin-top: 85px; /* Offset for smooth scroll on desktop */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pdp-spec-section-box:hover {
    border-color: #cbd5e1;
}

.pdp-spec-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    cursor: pointer;
    user-select: none;
    background: #ffffff;
    border-bottom: 1px solid var(--pdp-border);
    transition: background-color 0.15s ease;
}

.pdp-spec-section-header:hover {
    background: #fafafa;
}

.pdp-spec-section-header h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--pdp-text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdp-section-count-badge {
    font-size: 12px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: auto;
    margin-right: 12px;
}

.pdp-spec-section-header svg.chevron {
    color: var(--pdp-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.pdp-spec-section-box.collapsed .pdp-spec-section-header svg.chevron {
    transform: rotate(-90deg);
}

.pdp-spec-section-content {
    padding: 8px 20px;
    background: #ffffff;
}

.pdp-spec-section-box.collapsed .pdp-spec-section-content {
    display: none;
}

.pdp-spec-row {
    display: flex;
    align-items: baseline;
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
}

.pdp-spec-row:last-child {
    border-bottom: none;
}

.pdp-spec-label {
    flex: 0 0 35%;
    max-width: 35%;
    color: #64748b;
    font-weight: 500;
    padding-right: 14px;
    line-height: 1.4;
}

.pdp-spec-val {
    flex: 1;
    color: var(--pdp-text-dark);
    font-weight: 600;
    line-height: 1.45;
    word-break: break-word;
}

.pdp-disclaimer-text {
    font-size: 12px;
    color: var(--pdp-text-muted);
    margin-top: 14px;
    line-height: 1.5;
}

/* Full Price Table */
.pdp-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.pdp-price-table th {
    background: var(--pdp-bg-alt);
    padding: 10px 16px;
    text-align: left;
    color: var(--pdp-text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--pdp-border);
}

.pdp-price-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--pdp-border);
    vertical-align: middle;
}

.pdp-price-table tr:last-child td {
    border-bottom: none;
}

/* 360 Degree Viewer (Lightweight & Modern) */
.pdp-360-container {
    background: #0f172a;
    border-radius: var(--pdp-radius);
    overflow: hidden;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
}

.pdp-360-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pdp-360-badge {
    background: var(--pdp-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.pdp-360-frame-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.pdp-360-stage {
    position: relative;
    width: 100%;
    height: clamp(260px, 45vw, 460px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    overflow: hidden;
    background: radial-gradient(circle at 50% 60%, #1e293b 0%, #0f172a 100%);
}

.pdp-360-stage.dragging {
    cursor: grabbing;
}

.pdp-360-img {
    max-width: 75%;
    max-height: 80%;
    object-fit: contain;
    pointer-events: none;
}

.pdp-360-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: opacity 0.3s;
}

.pdp-360-hint.hidden {
    opacity: 0;
}

.pdp-360-controls {
    padding: 12px 18px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pdp-360-scrubber {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.pdp-360-scrubber-fill {
    height: 100%;
    background: var(--pdp-primary);
    border-radius: 3px;
    width: 0%;
}

/* Competitor Cards Grid */
.pdp-competitors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.pdp-competitor-card {
    background: #ffffff;
    border: 1px solid var(--pdp-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.pdp-competitor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pdp-shadow-md);
    border-color: rgba(255, 102, 0, 0.4);
}

.pdp-competitor-top {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1 1 auto;
}

.pdp-competitor-img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.pdp-competitor-card:hover .pdp-competitor-img {
    transform: scale(1.03);
}

.pdp-competitor-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--pdp-text-dark);
    margin-bottom: 6px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.pdp-competitor-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--pdp-primary);
    margin-top: auto;
    padding-bottom: 4px;
}

/* Competitor Actions: 2 buttons in same row + direct compare below */
.pdp-competitor-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.pdp-competitor-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pdp-comp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 6px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.pdp-comp-btn-view {
    background: #ffffff;
    border: 1px solid var(--pdp-border);
    color: var(--pdp-text-dark);
}

.pdp-comp-btn-view:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--pdp-primary);
}

.pdp-comp-btn-compare {
    background: #fff7ed;
    border: 1px solid rgba(255, 102, 0, 0.35);
    color: var(--pdp-primary);
}

.pdp-comp-btn-compare:hover {
    background: var(--pdp-primary);
    border-color: var(--pdp-primary);
    color: #ffffff;
}

.pdp-comp-btn-compare.added {
    background: #ecfdf5;
    border-color: #10b981;
    color: #059669;
}

.pdp-comp-btn-compare.added:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #dc2626;
}

/* Popular VS Comparisons Grid (Side-by-side VS layout) */
.pdp-vs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.pdp-vs-card {
    background: #ffffff;
    border: 1px solid var(--pdp-border);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.pdp-vs-card:hover {
    border-color: var(--pdp-primary);
    box-shadow: var(--pdp-shadow-md);
    transform: translateY(-2px);
}

.pdp-vs-side {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
}

.pdp-vs-left {
    justify-content: flex-start;
}

.pdp-vs-right {
    justify-content: flex-end;
    text-align: right;
}

.pdp-vs-thumb {
    width: 36px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pdp-vs-card:hover .pdp-vs-thumb {
    transform: scale(1.06);
}

.pdp-vs-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pdp-text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    transition: color 0.2s;
}

.pdp-vs-card:hover .pdp-vs-title {
    color: var(--pdp-primary);
}

.pdp-vs-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #000000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.pdp-vs-card:hover .pdp-vs-badge {
    background: var(--pdp-primary);
    transform: scale(1.12);
}

@media (max-width: 768px) {
    .pdp-vs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* User Reviews Box */
.pdp-reviews-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--pdp-bg-alt);
    border-radius: 10px;
    padding: 18px 24px;
}

.pdp-review-score-big {
    font-size: 32px;
    font-weight: 800;
    color: var(--pdp-primary);
    line-height: 1;
}

.pdp-review-stars {
    color: #f59e0b;
    font-size: 18px;
    margin: 4px 0;
}

/* Lightbox Modal */
.pdp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.84);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 16px;
    box-sizing: border-box;
}

.pdp-modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 860px;
    width: 100%;
    height: min(88vh, 660px);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 20px 24px 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    overflow: hidden;
}

.pdp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
    flex: 0 0 auto;
}

.pdp-modal-counter {
    font-size: 13px;
    font-weight: 700;
    color: var(--pdp-text-muted);
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid #e2e8f0;
}

.pdp-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.pdp-modal-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.2s ease;
}

.pdp-modal-action-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
    transform: scale(1.08);
}

.pdp-modal-action-btn.pdp-modal-close {
    font-size: 16px;
    font-weight: 700;
}

.pdp-modal-action-btn.pdp-modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}

/* Fullscreen support */
.pdp-modal-container.is-fullscreen,
:fullscreen .pdp-modal-container {
    max-width: 100vw !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    padding: 16px 24px !important;
}

.pdp-modal-overlay.is-fullscreen {
    padding: 0 !important;
}

.pdp-modal-body {
    position: relative;
    width: 100%;
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

.pdp-modal-img-stage {
    position: absolute;
    inset: 4px 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pdp-modal-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    user-select: none;
    -webkit-user-drag: none;
    transition: opacity 0.15s ease;
}

.pdp-modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--pdp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #1e293b;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    z-index: 8;
}

.pdp-modal-nav-btn:hover {
    background: var(--pdp-primary);
    color: #ffffff;
    border-color: var(--pdp-primary);
    transform: translateY(-50%) scale(1.08);
}

.pdp-modal-prev { left: 4px; }
.pdp-modal-next { right: 4px; }

.pdp-modal-thumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 12px 6px 4px;
    border-top: 1px solid var(--pdp-border);
    margin-top: 8px;
    flex: 0 0 auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    -webkit-overflow-scrolling: touch;
}

.pdp-modal-thumbs::before,
.pdp-modal-thumbs::after {
    content: '';
    margin: auto;
}

.pdp-modal-thumbs::-webkit-scrollbar {
    height: 5px;
}
.pdp-modal-thumbs::-webkit-scrollbar-track {
    background: transparent;
}
.pdp-modal-thumbs::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.pdp-modal-thumbs::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.pdp-modal-thumb {
    width: 74px;
    height: 74px;
    min-width: 74px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    padding: 5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.pdp-modal-thumb:hover {
    border-color: var(--pdp-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.18);
}

.pdp-modal-thumb.active {
    border-color: var(--pdp-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.28);
    transform: translateY(-1px);
}

.pdp-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

/* Toast Notifications */
.pdp-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    background: #10b981;
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: pdpSlideIn 0.3s ease-out;
}

.pdp-toast.error {
    background: #ef4444;
}

@keyframes pdpSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Table Responsive Container */
.pdp-table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 8px;
    box-sizing: border-box;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */

/* Large Tablets / Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .pdp-container {
        padding: 0 16px;
    }

    .pdp-hero-grid {
        grid-template-columns: 340px 1fr;
        gap: 20px;
    }

    .pdp-main-img-wrap {
        height: 330px;
    }
}

/* Medium Tablets & Foldables (<= 860px) */
@media (max-width: 860px) {
    .pdp-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pdp-gallery-card {
        padding: 14px;
    }

    .pdp-main-img-wrap {
        height: 320px;
    }

    .pdp-key-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .pdp-specs-layout {
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }

    .pdp-specs-sidebar {
        width: 100%;
        min-width: 0;
        position: sticky;
        top: 0;
        max-height: none;
        overflow-y: visible;
        background: #ffffff;
        padding: 4px 0;
        z-index: 25;
        border-bottom: 1px solid var(--pdp-border);
    }

    .pdp-specs-vertical-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 4px;
        gap: 6px;
        border: none;
        box-shadow: none;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pdp-specs-vertical-nav::-webkit-scrollbar {
        display: none;
    }

    .pdp-spec-vtab {
        width: auto;
        padding: 7px 14px;
        border-radius: 20px;
        font-size: 12.5px;
        flex-shrink: 0;
        background: var(--pdp-bg-alt);
        border: 1px solid var(--pdp-border);
    }

    .pdp-spec-vtab.active {
        background: var(--pdp-primary);
        color: #ffffff;
        border-color: var(--pdp-primary);
    }

    .pdp-spec-vtab.active i {
        color: #ffffff;
    }

    .pdp-vtab-count {
        display: none;
    }

    .pdp-specs-content {
        width: 100%;
        min-width: 0;
    }
}

/* Tablets / Small Screens (<= 768px) */
@media (max-width: 768px) {
    .pdp-vs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pdp-spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        padding: 9px 0;
    }

    .pdp-spec-label {
        flex: 0 0 100%;
        max-width: 100%;
        font-size: 12.5px;
        padding-right: 0;
    }

    .pdp-spec-val {
        font-size: 13.5px;
    }

    .pdp-competitors-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .pdp-price-table {
        min-width: 480px;
    }
}

/* Mobile Phones (<= 640px) */
@media (max-width: 640px) {
    .pdp-page-wrapper {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .pdp-container {
        padding: 0 12px;
    }

    .pdp-header-section {
        padding: 14px 16px;
        margin-bottom: 16px;
    }

    .pdp-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pdp-title {
        font-size: 18px;
        line-height: 1.35;
        word-break: break-word;
    }

    .pdp-compare-btn {
        width: 100%;
        justify-content: center;
        padding: 9px 16px;
    }

    .pdp-meta-row {
        gap: 6px 10px;
        font-size: 12.5px;
    }

    .pdp-card {
        padding: 15px;
        margin-bottom: 18px;
    }

    .pdp-card-title {
        font-size: 16px;
        margin-bottom: 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pdp-main-img-wrap {
        height: 270px;
    }

    .pdp-main-img {
        max-width: 90%;
        max-height: 90%;
    }

    .pdp-thumbs-wrapper {
        margin-top: 10px;
        gap: 4px;
    }

    .pdp-thumb-nav-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .pdp-thumb {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        padding: 2px;
    }

    .pdp-gallery-actions {
        margin-top: 10px;
        gap: 8px;
    }

    .pdp-view-all-photos-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .pdp-key-specs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pdp-key-spec-item {
        gap: 10px;
    }

    .pdp-key-spec-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 13px;
    }

    .pdp-key-spec-value {
        font-size: 13px;
    }

    .pdp-price-hero-amount {
        font-size: 22px;
    }

    .pdp-price-hero-sub {
        font-size: 12px;
    }

    .pdp-variant-header {
        padding: 10px 12px;
    }

    .pdp-variant-name {
        font-size: 13px;
    }

    .pdp-variant-start-price {
        font-size: 11px;
    }

    .pdp-variant-content {
        padding: 6px 12px;
    }

    .pdp-store-offer-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 0;
    }

    .pdp-store-info {
        flex: 1 1 auto;
        min-width: 0;
    }

    .pdp-store-logo {
        max-height: 20px;
        max-width: 80px;
    }

    .pdp-store-action {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .pdp-store-price {
        font-size: 14px;
    }

    .pdp-go-store-btn {
        padding: 5px 12px;
        font-size: 11.5px;
    }

    .pdp-summary-card {
        padding: 16px;
        margin-bottom: 18px;
    }

    .pdp-summary-text {
        font-size: 13.5px;
        line-height: 1.6;
    }

    .pdp-score-breakdown-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pdp-specs-header-bar {
        padding: 14px 16px;
    }

    .pdp-specs-layout {
        padding: 12px;
        gap: 12px;
    }

    .pdp-spec-section-header {
        padding: 10px 14px;
    }

    .pdp-spec-section-header h3 {
        font-size: 14px;
    }

    .pdp-section-count-badge {
        font-size: 11px;
        padding: 2px 6px;
        margin-right: 8px;
    }

    .pdp-spec-section-content {
        padding: 6px 14px;
    }

    .pdp-competitors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pdp-competitor-card {
        padding: 10px;
    }

    .pdp-competitor-img {
        height: 100px;
        margin-bottom: 8px;
    }

    .pdp-competitor-name {
        font-size: 12.5px;
        min-height: 36px;
        line-height: 1.35;
    }

    .pdp-competitor-price {
        font-size: 14px;
    }

    .pdp-competitor-btn-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .pdp-comp-btn {
        width: 100%;
        padding: 6px 4px;
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }

    .pdp-vs-card {
        padding: 10px 12px;
        gap: 8px;
    }

    .pdp-vs-thumb {
        width: 28px;
        height: 38px;
    }

    .pdp-vs-title {
        font-size: 12px;
    }

    .pdp-vs-badge {
        width: 22px;
        height: 22px;
        font-size: 9.5px;
    }

    .pdp-360-container {
        border-radius: 8px;
        margin-bottom: 18px;
    }

    .pdp-360-top-bar {
        padding: 10px 14px;
    }

    .pdp-360-stage {
        height: 240px;
    }

    .pdp-reviews-box {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pdp-modal-overlay {
        padding: 8px;
    }

    .pdp-modal-container {
        width: 100%;
        height: 85vh;
        max-height: 560px;
        padding: 12px 10px 10px;
        border-radius: 12px;
    }

    .pdp-modal-img-stage {
        inset: 0 34px;
    }

    .pdp-modal-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .pdp-modal-prev { left: 0; }
    .pdp-modal-next { right: 0; }

    .pdp-modal-thumbs {
        padding: 8px 0 2px;
        gap: 6px;
    }

    .pdp-modal-thumb {
        width: 48px;
        height: 48px;
        min-width: 48px;
        padding: 2px;
        border-radius: 6px;
    }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
    .pdp-container {
        padding: 0 8px;
    }

    .pdp-header-section,
    .pdp-card,
    .pdp-summary-card {
        padding: 12px;
    }

    .pdp-title {
        font-size: 16.5px;
    }

    .pdp-main-img-wrap {
        height: 220px;
    }

    .pdp-competitors-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pdp-spec-vtab {
        padding: 5px 10px;
        font-size: 11.5px;
    }
}

/* ── PDP FAQS ACCORDION SECTION ── */
.pdp-faqs-card {
    max-width: 760px;
    margin: 0 auto 24px auto;
    width: 100%;
    box-sizing: border-box;
}

.pdp-faqs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdp-faq-item {
    border: 1px solid var(--pdp-border);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.25s ease;
}

.pdp-faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pdp-faq-item.active {
    border-color: var(--pdp-primary);
    box-shadow: 0 3px 12px rgba(255, 102, 0, 0.08);
}

.pdp-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--pdp-text-dark);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.pdp-faq-num {
    color: var(--pdp-primary);
    font-weight: 700;
    margin-right: 4px;
}

.pdp-faq-question:hover {
    background: #fafafa;
    color: var(--pdp-primary);
}

.pdp-faq-item.active .pdp-faq-question {
    background: var(--pdp-primary-light);
    color: var(--pdp-primary);
}

.pdp-faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--pdp-text-muted);
    transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.pdp-faq-item.active .pdp-faq-icon {
    transform: rotate(180deg);
    background: var(--pdp-primary);
    color: #ffffff;
}

.pdp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.3s ease;
    padding: 0 20px;
    background: #ffffff;
}

.pdp-faq-item.active .pdp-faq-answer {
    max-height: 600px;
    padding: 14px 20px 18px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pdp-faq-answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #4b5563;
}

/* ── PDP FAQ Card & Details Native Accordion ── */
.pdp-faq-section-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 0 auto 24px auto;
    max-width: 860px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.pdp-faq-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
details.pdp-faq-single {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
details.pdp-faq-single:hover {
    border-color: #cbd5e1;
}
details.pdp-faq-single[open] {
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 0 2px 6px rgba(255, 102, 0, 0.06);
}
summary.pdp-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 15px;
    background: #ffffff;
    border: none;
    outline: none;
    text-align: left;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
    line-height: 1.4;
    list-style: none;
    user-select: none;
}
summary.pdp-faq-btn::-webkit-details-marker,
summary.pdp-faq-btn::marker {
    display: none !important;
    content: "";
}
summary.pdp-faq-btn:hover {
    background: #fafafa;
    color: #ff6600;
}
details.pdp-faq-single[open] summary.pdp-faq-btn {
    background: #fff7ed;
    color: #ff6600;
}
.pdp-faq-index {
    color: #ff6600;
    font-weight: 700;
    font-size: 13.5px;
    margin-right: 5px;
    display: inline-block;
}
.pdp-faq-arrow {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #64748b;
    transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}
details.pdp-faq-single[open] .pdp-faq-arrow {
    transform: rotate(180deg);
    background: #ff6600;
    color: #ffffff;
}
.pdp-faq-body {
    padding: 10px 15px 14px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
    font-size: 13px;
    line-height: 1.6;
    color: #4b5563;
}
.pdp-faq-body p {
    margin: 0;
}




/* ── Merged From product-compare.css ── */

/* ==========================================================================
   PRODUCT COMPARISON PAGE STYLES
   ========================================================================== */

:root {
            --cp-red: #eb2227;
            --cp-red-hover: #c8191e;
            --cp-red-light: #ff8e8e;
            --cp-text: #1e293b;
            --cp-text-muted: #475569;
            --cp-muted: #64748b;
            --cp-border: #e2e8f0;
            --cp-bg-light: #f8fafc;
            --cp-attr-col: 180px;
        }

        .cp-page-container {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            max-width: 1024px;
            margin: 0 auto;
            padding: 16px 20px 60px;
            box-sizing: border-box;
            width: 100%;
        }

        /* ── Breadcrumb ── */
        .cp-breadcrumb {
            font-size: 13px;
            color: #64748b;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .cp-breadcrumb a {
            color: #1e40af;
            text-decoration: none;
        }

        .cp-breadcrumb a:hover {
            text-decoration: underline;
        }

        .cp-breadcrumb span.sep {
            color: #94a3b8;
        }

        /* ── Main Title & Intro ── */
        .cp-main-heading {
            font-size: 19px;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.35;
            margin: 0 0 14px 0;
            letter-spacing: -0.2px;
        }

        .cp-intro-text {
            font-size: 13px;
            line-height: 1.6;
            color: #475569;
            margin-bottom: 20px;
        }

        @media (max-width: 640px) {
            .cp-main-heading {
                font-size: 16px;
            }

            .cp-intro-text {
                font-size: 12px;
            }
        }

        /* ── HUB SELECTOR CARD (Screenshots 1 & 2) ── */
        .cp-hub-card {
            background: #ffffff;
            border: 1px solid var(--cp-border);
            border-radius: 10px;
            padding: 24px 20px 28px;
            margin-bottom: 28px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        }

        .cp-hub-card-title {
            font-size: 16px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 18px;
        }

        .cp-hub-inputs-row {
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: space-between;
            margin-bottom: 22px;
            flex-wrap: nowrap;
        }

        @media (max-width: 768px) {
            .cp-hub-inputs-row {
                flex-direction: column;
                gap: 10px;
            }

            .cp-hub-vs-circle {
                display: none !important;
            }
        }

        .cp-hub-slot-wrap {
            flex: 1;
            position: relative;
            width: 100%;
        }

        .cp-hub-input-pill {
            width: 100%;
            height: 46px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 0 14px;
            font-size: 13px;
            color: #1e293b;
            box-sizing: border-box;
            outline: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
        }

        .cp-hub-input-pill:hover,
        .cp-hub-slot-wrap.is-active .cp-hub-input-pill {
            border-color: var(--cp-red);
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(235, 34, 39, 0.08);
        }

        .cp-hub-input-text {
            border: none;
            background: transparent;
            width: 100%;
            height: 100%;
            font-size: 13px;
            font-family: inherit;
            color: #1e293b;
            outline: none;
        }

        .cp-hub-input-text::placeholder {
            color: #94a3b8;
        }

        .cp-hub-selected-preview {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            overflow: hidden;
        }

        .cp-hub-selected-preview img {
            width: 28px;
            height: 32px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .cp-hub-selected-preview span {
            font-size: 13px;
            font-weight: 600;
            color: #0f172a;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            flex: 1;
        }

        .cp-hub-slot-clear {
            font-size: 16px;
            color: #94a3b8;
            cursor: pointer;
            padding: 2px 4px;
            line-height: 1;
            background: none;
            border: none;
        }

        .cp-hub-slot-clear:hover {
            color: var(--cp-red);
        }

        .cp-hub-vs-circle {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #0f172a;
            color: #ffffff;
            font-size: 9.5px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* Hub Autocomplete Dropdown */
        .cp-hub-dropdown {
            position: absolute;
            top: calc(100% + 4px);
            left: 0;
            right: 0;
            background: #ffffff;
            border: 1px solid var(--cp-border);
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            z-index: 1000;
            max-height: 250px;
            overflow-y: auto;
            display: none;
        }

        .cp-hub-slot-wrap.is-open .cp-hub-dropdown {
            display: block;
        }

        .cp-hub-drop-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            cursor: pointer;
            border-bottom: 1px solid #f8fafc;
            transition: background 0.12s;
        }

        .cp-hub-drop-item:last-child {
            border-bottom: none;
        }

        .cp-hub-drop-item:hover {
            background: #fff5f5;
        }

        .cp-hub-drop-item img {
            width: 30px;
            height: 36px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .cp-hub-drop-name {
            font-size: 12.5px;
            font-weight: 600;
            color: #1e293b;
            line-height: 1.3;
            flex: 1;
        }

        .cp-hub-btn-wrap {
            text-align: center;
        }

        .cp-btn-compare-now {
            background: var(--cp-red-light);
            color: #ffffff;
            border: none;
            border-radius: 8px;
            padding: 11px 34px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.15s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .cp-btn-compare-now.is-ready {
            background: var(--cp-red);
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(235, 34, 39, 0.2);
        }

        .cp-btn-compare-now.is-ready:hover {
            background: var(--cp-red-hover);
            transform: translateY(-1px);
        }

        /* ── TOP PRODUCT CARDS BOX (Sticky Floating Header - Below Navbar) ── */
        .cp-cards-box {
            background: #ffffff;
            border: 1px solid var(--cp-border);
            border-radius: 6px;
            display: grid;
            grid-template-columns: var(--cp-attr-col) repeat(var(--cp-count, 4), minmax(0, 1fr));
            width: 100%;
            box-sizing: border-box;
            position: sticky;
            top: 48px;
            z-index: 100;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
            margin-bottom: 12px;
        }

        .cp-card-left-col {
            padding: 12px 14px;
            border-right: 1px solid var(--cp-border);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            background: #ffffff;
            box-sizing: border-box;
            min-width: 0;
            gap: 8px;
        }

        .cp-card-col {
            position: relative;
            padding: 10px 8px 10px;
            text-align: center;
            border-right: 1px solid var(--cp-border);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            box-sizing: border-box;
            min-width: 0;
            width: 100%;
            overflow: hidden;
            background: #ffffff;
        }

        .cp-card-col:last-child {
            border-right: none;
        }

        .cp-btn-remove-prod {
            position: absolute;
            top: 4px;
            right: 6px;
            font-size: 15px;
            color: #94a3b8;
            cursor: pointer;
            line-height: 1;
            background: none;
            border: none;
            padding: 2px 3px;
            transition: color 0.15s;
            z-index: 2;
        }

        .cp-btn-remove-prod:hover {
            color: var(--cp-red);
        }

        .cp-card-img {
            height: 65px;
            max-width: 80%;
            object-fit: contain;
            margin-bottom: 6px;
            transition: transform 0.2s;
        }

        .cp-card-img:hover {
            transform: scale(1.03);
        }

        .cp-card-title-link {
            font-size: 12px;
            font-weight: 600;
            color: #1e293b;
            line-height: 1.3;
            margin-bottom: 4px;
            text-align: center;
            text-decoration: none;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 30px;
            word-break: break-word;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .cp-card-title-link:hover {
            color: var(--cp-red);
        }

        .cp-card-price-link {
            font-size: 13px;
            font-weight: 700;
            color: #0f172a;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            text-decoration: none;
            white-space: nowrap;
            max-width: 100%;
            box-sizing: border-box;
        }

        .cp-card-price-link:hover {
            color: var(--cp-red);
        }

        /* ── Sub Action Bar (Mobile Only) ── */
        .cp-sub-actions-bar {
            display: none;
            justify-content: space-between;
            align-items: center;
            padding: 6px 4px 10px 4px;
            flex-wrap: wrap;
            gap: 8px;
        }

        .cp-link-add-more {
            color: var(--cp-red);
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: none;
            border: none;
            padding: 0;
        }

        .cp-link-add-more:hover {
            color: var(--cp-red-hover);
        }

        .cp-diff-checkbox-label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12.5px;
            font-weight: 500;
            color: #475569;
            cursor: pointer;
            user-select: none;
        }

        .cp-diff-checkbox-label input {
            cursor: pointer;
            accent-color: var(--cp-red);
            width: 15px;
            height: 15px;
        }

        /* ── Store Logo & Name ── */
        .cp-store-logo-sm {
            height: 14px;
            max-width: 55px;
            object-fit: contain;
            vertical-align: middle;
            flex-shrink: 0;
        }

        .cp-store-name-text {
            font-size: 11px;
            font-weight: 600;
            color: #475569;
            white-space: nowrap;
        }

        /* ── ACCORDION SECTIONS & SPECS TABLE (Screenshot 2: Clean Specs Look) ── */
        .cp-acc-section {
            margin-top: 12px;
            border: 1px solid var(--cp-border);
            border-radius: 6px;
            background: #ffffff;
            overflow: hidden;
            width: 100%;
            box-sizing: border-box;
        }

        .cp-acc-header {
            background: #fafbfc;
            border-bottom: 1px solid var(--cp-border);
            padding: 11px 16px;
            font-size: 14.5px;
            font-weight: 700;
            color: #1e293b;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            user-select: none;
            transition: background 0.15s;
        }

        .cp-acc-header:hover {
            background: #f1f5f9;
        }

        .cp-acc-toggle-icon {
            font-size: 16px;
            color: #64748b;
            font-weight: 400;
            line-height: 1;
        }

        .cp-acc-body {
            background: #ffffff;
            width: 100%;
            box-sizing: border-box;
        }

        .cp-acc-section.is-collapsed {
            border-bottom: 1px solid var(--cp-border);
        }

        .cp-acc-section.is-collapsed .cp-acc-header {
            border-bottom: none;
        }

        .cp-acc-section.is-collapsed .cp-acc-body {
            display: none;
        }

        /* Full Width Centered Attribute Subheader (Mobile Only) */
        .cp-attr-header {
            display: none;
            background: #fafbfc;
            padding: 5px 8px;
            font-size: 9.5px;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            text-align: center;
            border-bottom: 1px solid #f1f5f9;
            border-top: 1px solid #f1f5f9;
            width: 100%;
            box-sizing: border-box;
        }

        .cp-spec-group {
            border-bottom: 1px solid var(--cp-border);
            width: 100%;
            box-sizing: border-box;
        }

        .cp-spec-group:last-child {
            border-bottom: none;
        }

        .cp-attr-values-row {
            display: grid;
            grid-template-columns: var(--cp-attr-col) repeat(var(--cp-count, 4), minmax(0, 1fr));
            width: 100%;
            box-sizing: border-box;
            background: #ffffff;
        }

        .cp-attr-name-cell {
            padding: 11px 14px;
            font-size: 12.5px;
            font-weight: 600;
            color: #334155;
            border-right: 1px solid var(--cp-border);
            display: flex;
            align-items: center;
            text-align: left;
            background: #ffffff;
            box-sizing: border-box;
            min-width: 0;
            word-break: break-word;
        }

        .cp-attr-val-cell {
            padding: 11px 14px;
            font-size: 12.5px;
            font-weight: 400;
            color: #334155;
            text-align: left;
            border-right: 1px solid var(--cp-border);
            display: flex;
            align-items: center;
            justify-content: flex-start;
            word-break: break-word;
            line-height: 1.45;
            box-sizing: border-box;
            background: #ffffff;
            min-width: 0;
            width: 100%;
            overflow: hidden;
        }

        .cp-attr-val-cell:last-child {
            border-right: none;
        }

        .show-diff-only .cp-spec-group.is-same {
            display: none !important;
        }

        /* ── Price Comparison Store Offer Stacks ── */
        .cp-store-offer-stack {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
            width: 100%;
            padding: 4px 0;
            box-sizing: border-box;
            min-width: 0;
        }

        .cp-variant-store-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
            width: 100%;
            text-decoration: none;
            color: inherit;
            padding: 3px 4px;
            border-radius: 4px;
            transition: background 0.12s;
            box-sizing: border-box;
            min-width: 0;
        }

        .cp-variant-store-item:hover {
            background: #f8fafc;
        }

        .cp-variant-lbl {
            font-size: 10.5px;
            font-weight: 600;
            color: #64748b;
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            line-height: 1.2;
            margin-bottom: 2px;
        }

        .cp-store-price-line {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 12.5px;
            font-weight: 700;
            color: #0f172a;
            white-space: nowrap;
            max-width: 100%;
        }

        .cp-store-price-line:hover {
            color: var(--cp-red);
        }

        /* ── Responsive Mobile Overrides (max-width: 768px) ── */
        @media (max-width: 768px) {

            html,
            body {
                overflow-x: clip;
            }

            .cp-page-container {
                padding: 8px 8px 60px;
            }

            .cp-cards-box {
                grid-template-columns: repeat(var(--cp-count, 4), minmax(0, 1fr)) !important;
                position: -webkit-sticky !important;
                position: sticky !important;
                top: 0 !important;
                z-index: 999 !important;
                background: #ffffff !important;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            }

            .cp-card-left-col {
                display: none !important;
            }

            .cp-sub-actions-bar {
                display: flex !important;
            }

            .cp-attr-name-cell {
                display: none !important;
            }

            .cp-attr-header {
                display: block !important;
            }

            .cp-attr-values-row {
                grid-template-columns: repeat(var(--cp-count, 4), minmax(0, 1fr)) !important;
            }

            .cp-card-col {
                padding: 6px 3px 6px;
            }

            .cp-card-img {
                height: 48px;
                max-width: 85%;
            }

            .cp-card-title-link {
                font-size: 9.5px;
                min-height: 24px;
                line-height: 1.2;
                margin-bottom: 2px;
            }

            .cp-card-price-link {
                font-size: 9.5px;
                gap: 2px;
            }

            .cp-store-logo-sm {
                height: 10px;
                max-width: 30px;
            }

            .cp-store-name-text {
                font-size: 8.5px;
            }

            .cp-btn-remove-prod {
                font-size: 12px;
                top: 2px;
                right: 2px;
            }

            .cp-acc-header {
                padding: 9px 12px;
                font-size: 13px;
            }

            .cp-attr-header {
                font-size: 8.5px;
                padding: 3px 5px;
                letter-spacing: 0.3px;
            }

            .cp-attr-val-cell {
                padding: 6px 4px;
                font-size: 9.5px;
                line-height: 1.25;
                text-align: center;
                justify-content: center;
            }

            .cp-store-offer-stack {
                gap: 4px;
                padding: 2px;
                align-items: center;
            }

            .cp-variant-store-item {
                padding: 2px;
                align-items: center;
            }

            .cp-variant-lbl {
                font-size: 8px;
                margin-bottom: 1px;
                text-align: center;
            }

            .cp-store-price-line {
                font-size: 9.5px;
                gap: 2px;
            }

            .cp-diff-checkbox-label {
                font-size: 11px;
            }

            .cp-link-add-more {
                font-size: 11px;
            }
        }



        /* ── Add Product Modal ── */
        .cp-modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 100020;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 14px;
            box-sizing: border-box;
        }

        .cp-modal-backdrop.is-open {
            display: flex;
        }

        .cp-modal-window {
            background: #ffffff;
            width: 100%;
            max-width: 440px;
            border-radius: 12px;
            box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 80vh;
        }

        .cp-modal-header {
            padding: 12px 16px;
            border-bottom: 1px solid var(--cp-border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #fafbfc;
        }

        .cp-modal-header h3 {
            margin: 0;
            font-size: 14.5px;
            font-weight: 700;
            color: var(--cp-text);
        }

        .cp-modal-close-x {
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: var(--cp-muted);
            line-height: 1;
        }

        .cp-modal-body-area {
            padding: 14px 16px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .cp-modal-search-field {
            width: 100%;
            padding: 8px 12px;
            border: 1.5px solid var(--cp-red);
            border-radius: 7px;
            font-size: 13px;
            outline: none;
            font-family: inherit;
            box-sizing: border-box;
        }

        .cp-modal-results-list {
            max-height: 280px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .cp-modal-result-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 8px;
            border: 1px solid #f1f5f9;
            border-radius: 6px;
            cursor: pointer;
            transition: background 0.12s;
        }

        .cp-modal-result-row:hover {
            background: #fff5f5;
            border-color: var(--cp-red);
        }

        .cp-modal-result-row img {
            width: 32px;
            height: 36px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .cp-modal-result-name {
            font-size: 12px;
            font-weight: 600;
            color: var(--cp-text);
            line-height: 1.3;
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cp-modal-result-price {
            font-size: 11.5px;
            font-weight: 700;
            color: var(--cp-red);
        }

        /* ── Popular Comparisons ── */
        .cp-popular-wrap {
            margin-top: 30px;
        }

        .cp-popular-title {
            font-size: 16px;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 12px;
        }

        .cp-popular-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        @media (max-width: 680px) {
            .cp-popular-list {
                grid-template-columns: 1fr;
            }
        }

        .cp-pop-item {
            background: #ffffff;
            border: 1px solid var(--cp-border);
            border-radius: 8px;
            padding: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-decoration: none;
            transition: border-color 0.15s, box-shadow 0.15s;
        }

        .cp-pop-item:hover {
            border-color: var(--cp-red);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .cp-pop-side {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 4px;
        }

        .cp-pop-img {
            height: 50px;
            width: auto;
            object-fit: contain;
        }

        .cp-pop-name {
            font-size: 11px;
            font-weight: 700;
            color: var(--cp-text);
            line-height: 1.25;
            max-width: 120px;
        }

        .cp-pop-vs-pill {
            width: 24px;
            height: 24px;
            background: #0f172a;
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 9px;
            font-weight: 800;
            margin: 0 6px;
            flex-shrink: 0;
        }


/* ==========================================================================
   MOBILE DRAWER NAVIGATION - POLISHED & EXPANDED
   ========================================================================== */

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    z-index: 99999;
    display: none;
}

.mobile-nav-overlay.open {
    display: block;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 100000;
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.25);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: hidden;
}

.mobile-nav-drawer.open {
    left: 0;
}

.mobile-nav-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

.mobile-nav-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.mobile-nav-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.mobile-nav-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.mobile-nav-body {
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
}

.mobile-top10-section {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-top10-toggle {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.15s;
    user-select: none;
}

.mobile-top10-toggle:hover {
    background: #f8fafc;
}

.mobile-top10-toggle span {
    display: flex;
    align-items: center;
}

.mobile-top10-toggle i.fa-tags {
    color: #ff6600;
}

.mobile-top10-toggle i.fa-columns {
    color: #3b82f6;
}

.mobile-top10-toggle i.fa-chevron-down {
    font-size: 12px;
    color: #64748b;
    transition: transform 0.25s ease;
}

.mobile-top10-content {
    display: none;
    background: #f8fafc;
    padding: 4px 0;
    border-top: 1px solid #f1f5f9;
}

.mobile-top10-content.open {
    display: flex;
    flex-direction: column;
}

.mobile-top10-link {
    display: block;
    padding: 10px 24px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 550;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1.4;
    transition: all 0.15s ease;
}

.mobile-top10-link:hover {
    color: var(--primary-color, #ff6600);
    background: #fff7ed;
    padding-left: 28px;
}

.mobile-nav-section {
    padding: 16px 20px 6px;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.mobile-nav-link {
    padding: 12px 20px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f8fafc;
    transition: all 0.15s ease;
}

.mobile-nav-link:hover {
    color: var(--primary-color, #ff6600);
    background: #fff7ed;
}

.mobile-drawer-bottom-account {
    padding: 16px 18px 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}


/* ── Merged From blog.css ── */

/* ==========================================================================
   91Search Blog Stylesheet
   Modern, Clean, Responsive Tech Blog Design
   ========================================================================== */

:root {
    --blog-primary: #ff6600;
    --blog-primary-hover: #e55a00;
    --blog-primary-light: rgba(255, 102, 0, 0.08);
    --blog-dark: #0f172a;
    --blog-text: #334155;
    --blog-muted: #64748b;
    --blog-border: #e2e8f0;
    --blog-bg: #f8fafc;
    --blog-card-bg: #ffffff;
    --blog-radius: 12px;
}

/* ── Page Wrapper ──────────────────────────────────────────────────────── */
.blog-page-wrapper {
    background: var(--blog-bg);
    min-height: calc(100vh - 350px);
    padding: 24px 16px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--blog-text);
}

.blog-container {
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ── Blog Header Card ─────────────────────────────────────────────────── */
.blog-header-card {
    background: var(--blog-card-bg);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.blog-header-card .breadcrumb-nav {
    margin-bottom: 12px;
}

.blog-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-header-title-wrap h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--blog-dark);
    margin: 0 0 6px 0;
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.blog-header-title-wrap p {
    font-size: 14.5px;
    color: var(--blog-muted);
    margin: 0;
}

/* Category Filter Tabs */
.blog-category-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.blog-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #f1f5f9;
    color: var(--blog-muted);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.blog-cat-pill:hover {
    color: var(--blog-primary);
    background: var(--blog-primary-light);
    border-color: rgba(255, 102, 0, 0.2);
}

.blog-cat-pill.active {
    background: var(--blog-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.25);
}

/* ── Main Layout: Content + Sidebar ───────────────────────────────────── */
.blog-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* ── Blog Post Cards (Feed) ───────────────────────────────────────────── */
.blog-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.blog-post-card {
    background: var(--blog-card-bg);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 102, 0, 0.3);
}

.blog-card-thumb-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
    display: block;
}

.blog-card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
    display: block;
}

.blog-post-card:hover .blog-card-thumb-wrap img {
    transform: scale(1.04);
}

.blog-card-cat-badge,
.blog-card-category-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 750;
    color: var(--blog-primary);
    background: var(--blog-primary-light);
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-decoration: none;
}

.blog-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: 16.5px;
    font-weight: 750;
    color: var(--blog-dark);
    margin: 0 0 8px 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.blog-post-card:hover .blog-card-title {
    color: var(--blog-primary);
}

.blog-card-excerpt {
    font-size: 13.5px;
    color: var(--blog-muted);
    line-height: 1.55;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--blog-muted);
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.blog-card-footer-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-footer-item i {
    font-size: 12px;
    color: #94a3b8;
}

/* ── Sidebar Widgets ──────────────────────────────────────────────────── */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-widget {
    background: var(--blog-card-bg);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.blog-widget-title {
    font-size: 15px;
    font-weight: 750;
    color: var(--blog-dark);
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-widget-title i {
    color: var(--blog-primary);
    font-size: 14px;
}

.blog-widget-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-widget-cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--blog-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease;
    background: #f8fafc;
}

.blog-widget-cat-item a:hover {
    background: var(--blog-primary-light);
    color: var(--blog-primary);
    padding-left: 15px;
}

.blog-widget-cat-count {
    background: #e2e8f0;
    color: var(--blog-muted);
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.blog-widget-cat-item a:hover .blog-widget-cat-count {
    background: var(--blog-primary);
    color: #ffffff;
}

/* Newsletter / Search Widget */
.blog-promo-widget {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: var(--blog-radius);
    padding: 22px;
}

.blog-promo-widget h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 750;
    color: #ffffff;
}

.blog-promo-widget p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 14px 0;
}

.blog-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: var(--blog-primary);
    color: #ffffff;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
    box-sizing: border-box;
}

.blog-promo-btn:hover {
    opacity: 0.92;
    color: #ffffff;
}

/* ── Single Article Page ──────────────────────────────────────────────── */
.blog-article-wrapper {
    background: var(--blog-card-bg);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.blog-article-header {
    padding: 28px 36px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.blog-article-cat-tag {
    display: inline-block;
    background: var(--blog-primary-light);
    color: var(--blog-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-decoration: none;
}

.blog-article-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--blog-dark);
    margin: 0 0 16px 0;
    line-height: 1.3;
    letter-spacing: -0.4px;
}

.blog-article-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: var(--blog-muted);
}

.blog-article-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-article-meta-item i {
    color: var(--blog-primary);
    font-size: 13px;
}

.blog-article-hero-img-wrap {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-article-hero-img-wrap img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
}

.blog-article-body {
    padding: 36px 40px;
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
}

.blog-article-body p {
    margin: 0 0 20px 0;
}

.blog-article-body strong {
    color: var(--blog-dark);
    font-weight: 700;
}

.blog-article-body h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--blog-dark);
    margin: 36px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.blog-article-body h3 {
    font-size: 18px;
    font-weight: 750;
    color: #1e293b;
    margin: 26px 0 12px 0;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 22px 0;
    padding-left: 24px;
}

.blog-article-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.blog-article-body blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    background: #fff8f5;
    border-left: 4px solid var(--blog-primary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
    font-size: 16.5px;
}

.blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

/* Share Bar */
.blog-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 36px;
    background: #f8fafc;
    border-top: 1px solid var(--blog-border);
}

.blog-share-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blog-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-share-buttons {
    display: flex;
    gap: 8px;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s, transform 0.2s;
}

.blog-share-btn:hover {
    opacity: 0.9;
    transform: scale(1.08);
}

.blog-share-btn.tw { background: #000000; }
.blog-share-btn.fb { background: #1877f2; }
.blog-share-btn.wa { background: #25d366; }
.blog-share-btn.copy { background: #64748b; cursor: pointer; }

/* ── Related Posts Section ────────────────────────────────────────────── */
.blog-related-section {
    margin-top: 36px;
}

.blog-related-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--blog-dark);
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Comments Section ─────────────────────────────────────────────────── */
.blog-comments-card {
    background: var(--blog-card-bg);
    border: 1px solid var(--blog-border);
    border-radius: var(--blog-radius);
    padding: 28px 32px;
    margin-top: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.blog-comments-heading {
    font-size: 18px;
    font-weight: 750;
    color: var(--blog-dark);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.blog-comment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.blog-comment-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
}

.blog-comment-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.blog-comment-author {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--blog-dark);
}

.blog-comment-time {
    font-size: 12px;
    color: var(--blog-muted);
}

.blog-comment-text {
    font-size: 14px;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}

/* Comment Form */
.blog-comment-form-title {
    font-size: 16px;
    font-weight: 750;
    color: var(--blog-dark);
    margin: 0 0 6px 0;
}

.blog-comment-form-desc {
    font-size: 13px;
    color: var(--blog-muted);
    margin: 0 0 16px 0;
}

.blog-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.blog-form-input,
.blog-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}

.blog-form-input:focus,
.blog-form-textarea:focus {
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.blog-form-textarea {
    min-height: 90px;
    resize: vertical;
    margin-bottom: 14px;
}

.blog-comment-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blog-primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-comment-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

/* ── Pagination ───────────────────────────────────────────────────────── */
.blog-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.blog-pagination-wrapper nav {
    display: flex;
    gap: 6px;
}

.blog-pagination-wrapper .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--blog-border);
    background: #ffffff;
    color: var(--blog-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination-wrapper .page-link:hover {
    border-color: var(--blog-primary);
    color: var(--blog-primary);
}

.blog-pagination-wrapper .active .page-link {
    background: var(--blog-primary);
    border-color: var(--blog-primary);
    color: #ffffff;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .blog-layout-grid {
        grid-template-columns: 1fr;
    }
    .blog-feed-grid {
        grid-template-columns: 1fr;
    }
    .blog-article-header {
        padding: 22px 20px 16px;
    }
    .blog-article-title {
        font-size: 24px;
    }
    .blog-article-body {
        padding: 24px 20px;
    }
    .blog-form-row {
        grid-template-columns: 1fr;
    }
}


/* ── Merged From pages.css ── */

/* ==========================================================================
   91Search Content Pages (Static Pages, Privacy Policy, Terms, Contact Us)
   ========================================================================== */

.page-wrapper {
    background: #f8fafc;
    min-height: calc(100vh - 350px);
    padding: 24px 16px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
}

.page-container {
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ── Page Header ──────────────────────────────────────────────────────── */
.page-header-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.page-title-main {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.page-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.page-badge-pill i {
    color: var(--primary-color, #ff6600);
}

/* ── Content Body Card ────────────────────────────────────────────────── */
.content-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.page-rich-content {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}

.page-rich-content p {
    margin: 0 0 16px 0;
}

.page-rich-content p:last-child {
    margin-bottom: 0;
}

.page-rich-content strong {
    color: #0f172a;
    font-weight: 600;
}

.page-rich-content h2 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 32px 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-rich-content h2:first-child {
    margin-top: 0;
}

.page-rich-content h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--primary-color, #ff6600);
    border-radius: 2px;
}

.page-rich-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 22px 0 10px 0;
}

.page-rich-content ul, 
.page-rich-content ol {
    margin: 0 0 18px 0;
    padding-left: 22px;
}

.page-rich-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.page-rich-content a {
    color: var(--primary-color, #ff6600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.page-rich-content a:hover {
    color: #e55a00;
    text-decoration: underline;
}

.page-rich-content blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    background: #fff8f5;
    border-left: 4px solid var(--primary-color, #ff6600);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #475569;
}

.page-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.page-rich-content th, 
.page-rich-content td {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.page-rich-content th {
    background: #f8fafc;
    font-weight: 600;
    color: #0f172a;
}

/* ── Contact Us Specific Styles ────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.contact-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    border-color: var(--primary-color, #ff6600);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.08);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary-color, #ff6600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-card-info h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.contact-card-info p {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

.contact-card-info a {
    color: var(--primary-color, #ff6600);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 4px;
}

.contact-card-info a:hover {
    text-decoration: underline;
}

/* Contact Message Form */
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    margin-top: 24px;
}

.contact-form-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.contact-form-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 20px 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    color: #1e293b;
    transition: border-color 0.2s;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    border-color: var(--primary-color, #ff6600);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.contact-form-textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary-color, #ff6600);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.contact-submit-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

/* ── About Us Specific Highlights ──────────────────────────────────────── */
.about-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 30px 0;
}

.about-highlight-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
}

.about-highlight-icon {
    font-size: 24px;
    color: var(--primary-color, #ff6600);
    margin-bottom: 8px;
}

.about-highlight-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.about-highlight-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 16px 12px 40px;
    }
    .page-header-card {
        padding: 18px 16px;
        margin-bottom: 14px;
    }
    .content-card-premium {
        padding: 22px 18px;
    }
    .page-title-main {
        font-size: 22px;
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .about-highlights-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   MOBILE DRAWER NAVIGATION SPECIFIC STYLES
   ========================================================================== */

.mobile-subcat-heading {
    padding: 10px 20px 4px;
    font-size: 11.5px;
    font-weight: 750;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

.mobile-subcat-heading:first-child {
    border-top: none;
}

.mobile-top10-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 20px !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    line-height: 1.4 !important;
    transition: all 0.15s ease !important;
}

.mobile-top10-link:hover {
    color: #ff6600 !important;
    background: #fff7ed !important;
    padding-left: 24px !important;
}

.mobile-arrow-mini {
    font-size: 10px;
    color: #cbd5e1;
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════
   MOBILE SORT DRAWER / BOTTOM SHEET (PREMIUM NATIVE STYLE)
══════════════════════════════════════════════════════════ */
.mobile-sort-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    transform: translateY(105%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 520px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.mobile-sort-drawer.open {
    transform: translateY(0);
}

.mobile-sort-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-sort-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.2px;
}

.mobile-sort-close {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.mobile-sort-close:hover,
.mobile-sort-close:active {
    background: #e2e8f0;
    color: #0f172a;
}

.mobile-sort-options {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.mobile-sort-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f8fafc;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.mobile-sort-opt:last-child {
    border-bottom: none;
}

.mobile-sort-opt:hover,
.mobile-sort-opt:active {
    background: #f8fafc;
}

.mobile-sort-opt.active {
    color: #ff3b30;
    font-weight: 700;
    background: #fff5f5;
}

.mobile-sort-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.mobile-sort-opt.active .mobile-sort-radio {
    border-color: #ff3b30;
    background: #ff3b30;
    color: #ffffff;
}

/* Filter Overlay backdrop */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 999990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ══════════════════════════════════════════════════════════
   BOTTOM SEO CONTENT & TABLE STYLING
══════════════════════════════════════════════════════════ */
.seo-content-wrapper,
.category-footer-description,
#seoContentBottomWrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 36px;
    margin: 36px 0 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    color: #334155;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (max-width: 768px) {
    .seo-content-wrapper,
    .category-footer-description,
    #seoContentBottomWrapper {
        padding: 22px 18px;
        margin: 24px 0 20px;
        border-radius: 12px;
    }
}

.seo-content-wrapper h1,
.seo-content-wrapper h2,
.seo-content-wrapper h3,
.seo-content-wrapper h4,
.category-footer-description h1,
.category-footer-description h2,
.category-footer-description h3,
.category-footer-description h4 {
    color: #0f172a;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.seo-content-wrapper h2,
.category-footer-description h2 {
    font-size: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.seo-content-wrapper h3,
.category-footer-description h3 {
    font-size: 17px;
}

.seo-content-wrapper h4,
.category-footer-description h4 {
    font-size: 15px;
}

.seo-content-wrapper > *:first-child,
.category-footer-description > *:first-child {
    margin-top: 0 !important;
}

.seo-content-wrapper p,
.category-footer-description p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 14px;
}

.seo-content-wrapper strong,
.seo-content-wrapper b,
.category-footer-description strong,
.category-footer-description b {
    color: #1e293b;
    font-weight: 600;
}

.seo-content-wrapper ul,
.seo-content-wrapper ol,
.category-footer-description ul,
.category-footer-description ol {
    margin: 12px 0 18px 20px;
    padding: 0;
}

.seo-content-wrapper li,
.category-footer-description li {
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 8px;
}

.seo-content-wrapper .table-responsive-wrapper,
.category-footer-description .table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.seo-content-wrapper table,
.category-footer-description table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 14px;
    text-align: left;
}

.seo-content-wrapper table th,
.category-footer-description table th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.seo-content-wrapper table td,
.category-footer-description table td {
    padding: 12px 16px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.seo-content-wrapper table tr:last-child td,
.category-footer-description table tr:last-child td {
    border-bottom: none;
}

.seo-content-wrapper table tr:nth-child(even) td,
.category-footer-description table tr:nth-child(even) td {
    background: #fafcff;
}

/* ══════════════════════════════════════════════════════════
   MOBILE 2-COLUMN SLIDE-OVER FILTER DRAWER
══════════════════════════════════════════════════════════ */
.mobile-filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    z-index: 999999 !important;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-filter-drawer.open {
    transform: translateX(0);
}

.mobile-filter-drawer form {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

.mfd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.mfd-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mfd-close-icon-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
}

.mfd-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.mfd-reset-btn {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 700;
    color: #ff3b30;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.15s;
}

.mfd-reset-btn:hover {
    background: #fff1f0;
}

.mfd-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: #ffffff;
}

.mfd-tabs-nav {
    width: 40%;
    min-width: 135px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
}

.mfd-tabs-nav::-webkit-scrollbar {
    display: none;
}

.mfd-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 14px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
    gap: 6px;
}

.mfd-tab-btn-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mfd-tab-btn:hover {
    background: #f1f5f9;
}

.mfd-tab-btn.active {
    background: #ffffff;
    color: #ff3b30;
    font-weight: 700;
    border-left-color: #ff3b30;
}

.mfd-tab-badge {
    background: #ff3b30;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    flex-shrink: 0;
}

.mfd-tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
    scrollbar-width: thin;
}

.mfd-pane {
    display: none;
}

.mfd-pane.active {
    display: block;
}

.mfd-pane-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.mfd-search-wrap {
    position: relative;
    margin-bottom: 12px;
}

.mfd-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.mfd-search-input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    font-size: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
}

.mfd-search-input:focus {
    border-color: #ff3b30;
    background: #ffffff;
}

.mfd-options-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mfd-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 14px;
    color: #334155;
    margin: 0;
    user-select: none;
}

.mfd-option-row:hover {
    background: #f1f5f9;
}

.mfd-option-row.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.mfd-option-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.mfd-option-left input[type="checkbox"],
.mfd-option-left input[type="radio"] {
    width: 17px;
    height: 17px;
    accent-color: #ff3b30;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.mfd-option-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13.5px;
}

.mfd-option-count {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: 6px;
}

.mfd-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.mfd-btn-close {
    flex: 1;
    padding: 13px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
}

.mfd-btn-close:hover {
    background: #f8fafc;
}

.mfd-btn-apply {
    flex: 1.5;
    padding: 13px;
    border: none;
    background: #ff3b30;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
    transition: background 0.15s;
}

.mfd-btn-apply:hover {
    background: #e02d22;
}

/* ══════════════════════════════════════════════════════════
   MOBILE BOTTOM BAR & FOOTER OVERLAP FIX
══════════════════════════════════════════════════════════ */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 54px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    align-items: center;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }
    
    footer.site-footer {
        padding-bottom: 70px !important;
    }
}

.mobile-bottom-bar .bottom-action-btn {
    flex: 1;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.mobile-bottom-bar .bottom-action-btn:active {
    background: #f8fafc;
}

.mobile-bottom-bar .bottom-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

/* ══════════════════════════════════════════════════════════
   REFINE RESULTS SEARCH INPUT & ICON ALIGNMENT
══════════════════════════════════════════════════════════ */
.filter-search-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
    display: block;
}

.filter-search-wrap i,
.filter-search-wrap .fa-magnifying-glass {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-search-wrap input,
.filter-search-wrap .filter-search-input-field {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px 9px 34px !important;
    font-size: 13.5px;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-search-wrap input:focus,
.filter-search-wrap .filter-search-input-field:focus {
    border-color: #ff3b30;
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.1);
}


/* ══════════════════════════════════════════════════════════
   COMPARE TRAY BOTTOM FLOATING SYSTEM (PIXEL PERFECT)
══════════════════════════════════════════════════════════ */
#compareTrayRoot {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999980;
    pointer-events: none;
    display: none;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border-top: 2.5px solid #ff3b30;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
}

#compareTrayRoot.is-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#compareTrayRoot.is-collapsed .tray-main-content {
    display: none !important;
}

.compare-tray-card {
    background: #ffffff;
    width: 100%;
    max-width: 1100px;
    pointer-events: auto;
    overflow: visible;
    position: relative;
}

.tray-top-bar {
    background: #f8fafc;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    user-select: none;
}

.tray-title-text {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.1px;
}

.tray-collapse-btn {
    background: #e2e8f0;
    border: none;
    color: #475569;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.tray-collapse-btn:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.tray-main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px 16px;
    gap: 20px;
    background: #ffffff;
    position: relative;
}

.tray-slots-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tray-slots-row::-webkit-scrollbar {
    display: none;
}

.tray-item-slot {
    width: 125px;
    min-width: 115px;
    height: 90px;
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    padding: 6px 8px;
    box-sizing: border-box;
}

.tray-item-slot.is-empty:hover {
    border-color: #ff3b30;
    background: #fffafa;
}

.tray-item-slot.is-filled {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.slot-vs-text {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: lowercase;
    flex-shrink: 0;
}

.slot-remove-x {
    position: absolute;
    top: 4px;
    right: 6px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
    padding: 2px;
}

.slot-remove-x:hover {
    color: #ff3b30;
}

.slot-prod-img {
    width: 38px;
    height: 46px;
    object-fit: contain;
    margin-bottom: 4px;
}

.slot-prod-name {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot-prod-price {
    display: none; /* In Smartprix/91mobiles compare tray, only title & thumbnail show in slot */
}

.slot-add-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px dashed #cbd5e1;
    background: transparent;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1;
    transition: all 0.2s;
}

.tray-item-slot.is-empty:hover .slot-add-circle {
    border-color: #ff3b30;
    color: #ff3b30;
}

.slot-add-txt {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.tray-action-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 110px;
    margin-left: 8px;
}

.tray-btn-compare {
    background: #ffb4af;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    pointer-events: none;
    transition: all 0.2s;
    box-shadow: none;
    border: none;
}

.tray-btn-compare.is-ready {
    background: #ff3b30;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.35);
}

.tray-btn-compare.is-ready:hover {
    background: #e02d22;
}

.tray-btn-remove-all {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.tray-btn-remove-all:hover {
    border-color: #cbd5e1;
    color: #ff3b30;
    background: #f8fafc;
}

/* ── Tray Search Popover ────────────────────────────────── */
.tray-search-popover {
    position: absolute;
    bottom: 105%;
    left: 24px;
    width: 320px;
    max-width: calc(100vw - 36px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    padding: 14px;
    display: none;
    z-index: 999999;
}

.tray-search-popover.is-visible {
    display: block;
}

.popover-search-box {
    position: relative;
    margin-bottom: 10px;
}

.popover-input {
    width: 100%;
    padding: 9px 30px 9px 12px;
    font-size: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
}

.popover-input:focus {
    border-color: #ff3b30;
}

.popover-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
}

.popover-subhead {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.popover-results-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scrollbar-width: thin;
}

.popover-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}

.popover-result-item:hover {
    background: #f8fafc;
}

.popover-result-item img {
    width: 30px;
    height: 38px;
    object-fit: contain;
}

.popover-result-info {
    flex: 1;
    min-width: 0;
}

.popover-result-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popover-result-price {
    font-size: 11.5px;
    font-weight: 700;
    color: #ff3b30;
}

.popover-no-results {
    padding: 12px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

/* ── Floating Compare Button on Mobile ─────────────────── */
.floating-compare-circle {
    position: fixed;
    right: 20px;
    bottom: 74px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ff3b30;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(255, 59, 48, 0.4);
    z-index: 99990;
    text-decoration: none;
    transition: transform 0.2s;
}

.floating-compare-circle.is-visible {
    display: flex;
}

.floating-compare-circle:active {
    transform: scale(0.92);
}

.floating-compare-circle svg {
    width: 24px;
    height: 24px;
}

.floating-compare-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #1e293b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
}

/* ══════════════════════════════════════════════════════════
   COMPARE TRAY MOBILE OPTIMIZATION (SCROLLABLE & FULL ACCESS)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    #compareTrayRoot {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    #compareTrayRoot .compare-tray-card {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    #compareTrayRoot .tray-top-bar {
        padding: 6px 14px !important;
    }

    #compareTrayRoot .tray-title-text {
        font-size: 13px !important;
    }

    #compareTrayRoot .tray-main-content {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 8px 10px 10px 10px !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        scrollbar-width: thin !important;
    }

    #compareTrayRoot .tray-main-content::-webkit-scrollbar {
        height: 3px !important;
        display: block !important;
    }

    #compareTrayRoot .tray-main-content::-webkit-scrollbar-thumb {
        background: #cbd5e1 !important;
        border-radius: 2px !important;
    }

    #compareTrayRoot .tray-slots-row {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
        gap: 6px !important;
        overflow: visible !important;
    }

    #compareTrayRoot .tray-item-slot {
        width: 96px !important;
        min-width: 90px !important;
        height: 80px !important;
        padding: 4px 4px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }

    #compareTrayRoot .slot-prod-img {
        width: 32px !important;
        height: 38px !important;
        margin-bottom: 2px !important;
    }

    #compareTrayRoot .slot-prod-name {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    #compareTrayRoot .slot-add-circle {
        width: 22px !important;
        height: 22px !important;
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }

    #compareTrayRoot .slot-add-txt {
        font-size: 9.5px !important;
    }

    #compareTrayRoot .slot-vs-text {
        font-size: 9.5px !important;
        flex-shrink: 0 !important;
    }

    #compareTrayRoot .tray-action-side {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        min-width: 86px !important;
        flex-shrink: 0 !important;
        margin-left: 4px !important;
        padding-right: 6px !important;
    }

    #compareTrayRoot .tray-btn-compare {
        min-width: 82px !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    #compareTrayRoot .tray-btn-remove-all {
        min-width: 82px !important;
        padding: 5px 8px !important;
        font-size: 10.5px !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .tray-search-popover,
    #homeCardSearchPopover,
    #traySearchPopover,
    #compareTrayRoot .tray-search-popover {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        transform: none !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 14px 16px 24px 16px !important;
        box-sizing: border-box !important;
        max-height: 82vh !important;
        height: auto !important;
        z-index: 9999999 !important;
        background: #ffffff !important;
        box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.35) !important;
        border: 1px solid #e2e8f0 !important;
        border-bottom: none !important;
        animation: slideUpBottomSheet 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    @keyframes slideUpBottomSheet {
        from {
            transform: translateY(100%);
            opacity: 0.85;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .tray-search-popover .mobile-popover-handle,
    #homeCardSearchPopover .mobile-popover-handle,
    #traySearchPopover .mobile-popover-handle {
        display: block !important;
        width: 44px !important;
        height: 5px !important;
        background: #cbd5e1 !important;
        border-radius: 3px !important;
        margin: 0 auto 12px auto !important;
    }

    .tray-search-popover .popover-search-box,
    #homeCardSearchPopover .popover-search-box,
    #traySearchPopover .popover-search-box {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    .tray-search-popover .popover-input,
    #homeCardSearchPopover .popover-input,
    #traySearchPopover .popover-input {
        width: 100% !important;
        font-size: 14.5px !important;
        padding: 11px 36px 11px 14px !important;
        border: 1.5px solid #ff4b4b !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        outline: none !important;
    }

    .tray-search-popover .popover-clear-btn,
    #homeCardSearchPopover .popover-clear-btn,
    #traySearchPopover .popover-clear-btn {
        right: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        font-size: 20px !important;
        color: #94a3b8 !important;
    }

    .tray-search-popover .popover-subhead,
    #homeCardSearchPopover .popover-subhead,
    #traySearchPopover .popover-subhead {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #94a3b8 !important;
        margin-bottom: 10px !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
    }

    .tray-search-popover .popover-results-list,
    #homeCardResultsList,
    #trayPopoverResultsList {
        max-height: 55vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .popover-item-row,
    .popover-result-item {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        background: #f8fafc !important;
        border: 1px solid #f1f5f9 !important;
        cursor: pointer !important;
    }

    .popover-item-row:active,
    .popover-result-item:active {
        background: #e2e8f0 !important;
    }

    .popover-item-img,
    .popover-result-item img {
        width: 40px !important;
        height: 48px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
    }

    .popover-item-name,
    .popover-result-name {
        font-size: 13.5px !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        white-space: normal !important;
        line-height: 1.35 !important;
        flex: 1 !important;
    }
}