/* ========================================
   PhoneBizz UI Revamp - Variation 2 Styles
   ======================================== */

:root {
    /* Brand Colors */
    --brand-orange: #f15d22;
    --brand-orange-dark: #d94e17;
    --brand-orange-light: #ff7a45;

    /* Neutral Colors */
    --dark-slate: #1a1a2e;
    --dark-charcoal: #212529;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* Base Styles Integration */
.revamp-body {
    width: 100%;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    margin: 0;
    /* Clearance logic moved to end of file for priority */
}

.revamp-container {
    max-width: 1280px;
    margin: 0 auto;
}

.hero-full-width {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Utility Classes */
.rv-flex {
    display: flex;
}

.rv-items-center {
    align-items: center;
}

.rv-justify-between {
    justify-content: space-between;
}

.rv-gap-4 {
    gap: 1rem;
}

.rv-gap-6 {
    gap: 1.5rem;
}

/* VARIATION 2 specific */
/* Header styles moved to bottom for priority */

.v2-top-bar {
    background: var(--brand-orange);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    text-align: center;
}

.v2-main-header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.v2-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 1;
}

.v2-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    padding: 5px 0;
}

.v2-search {
    flex: 2;
    /* Take more space */
    max-width: 600px;
    margin: 0 1rem;
}

.v2-header-left {
    flex: 0 0 auto;
}

.v2-header-actions {
    display: flex;
    gap: 1rem;
    flex: 0 0 auto;
}

.v2-search-input {
    width: 100%;
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    align-items: center;
}

.v2-search-select-wrapper {
    border-right: 1px solid var(--gray-200);
    position: relative;
    background: var(--white);
    display: flex;
    align-items: center;
}

.v2-search-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    padding: 0.65rem 2rem 0.65rem 1rem;
    font-size: 0.85rem;
    color: var(--gray-700);
    cursor: pointer;
    outline: none;
    max-width: 200px;
    font-weight: 500;
}

.v2-search-select-wrapper::after {
    content: '▼';
    font-size: 0.6rem;
    color: var(--gray-500);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.v2-search-input input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    outline: none;
}

.v2-search-input button {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--brand-orange);
    cursor: pointer;
    font-size: 1.2rem;
}

.v2-header-actions {
    display: flex;
    gap: 1.5rem;
}

.v2-header-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    text-decoration: none;
}

.v2-header-action:hover {
    color: var(--brand-orange);
}

.v2-nav {
    padding: 0;
    border-bottom: 1px solid var(--gray-100);
}

.v2-nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0.5rem 0;
    flex-wrap: wrap;
}

/* Dropdown Menu Styles */
.v2-nav-item {
    position: relative;
}

.v2-nav-item a {
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    display: block;
}

/* Level 1 Dropdown */
.v2-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    display: block;
    opacity: 0;
    visibility: hidden;
    z-index: 200;
    border: 1px solid var(--gray-100);
    transform: translateY(10px);
    transition: all var(--transition-fast);
    list-style: none;
    margin: 0;
}

.v2-dropdown a {
    padding: 0.6rem 1rem;
    color: var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.v2-dropdown a:hover {
    background: var(--gray-50);
    color: var(--brand-orange);
    border-bottom: none;
}

.v2-nav-item:hover>.v2-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.v2-dropdown li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.v2-dropdown a {
    padding: 0.5rem 1.25rem;
    color: var(--gray-700);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
}

.v2-dropdown a:hover {
    background: var(--gray-50);
    color: var(--brand-orange);
    border-bottom: none;
}

/* Level 2+ Dropdown (Flyout) */
.v2-dropdown .v2-dropdown {
    top: 0;
    left: 100%;
    margin-left: 0;
    transform: translateX(10px);
}

/* Fix for right-side overflow */
.v2-nav-item:nth-last-child(-n+2) .v2-dropdown .v2-dropdown {
    left: auto;
    right: 100%;
    transform: translateX(-10px);
}

.v2-dropdown li:hover>.v2-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Arrow for items with children */
.has-children>a::after {
    content: '›';
    margin-left: 0.5rem;
    transform: rotate(90deg);
    display: inline-block;
    transition: transform var(--transition-fast);
}

.v2-dropdown .has-children>a::after {
    transform: rotate(0);
}

.v2-nav-item a:hover {
    color: var(--brand-orange);
    border-bottom-color: var(--brand-orange);
}

/* Footer for V2 */
.v2-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.v2-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--gray-800);
}

.v2-footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.v2-footer-logo span {
    color: var(--brand-orange);
}

.v2-footer-desc {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.v2-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.v2-social-link {
    width: 40px !important;
    height: 40px !important;
    background: var(--gray-800) !important;
    border-radius: var(--radius-full) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--gray-400) !important;
    text-decoration: none !important;
    transition: all var(--transition-fast) !important;
    font-size: 1.15rem !important;
}

.v2-social-link i {
    color: inherit !important;
    font-size: inherit !important;
}

.v2-social-link:hover {
    background: var(--brand-orange) !important;
    color: var(--white) !important;
    transform: translateY(-3px) !important;
}

.v2-footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.v2-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.v2-footer-links li {
    margin-bottom: 0.75rem;
}

.v2-footer-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: none;
}

.v2-footer-links a:hover {
    color: var(--brand-orange);
}

.v2-footer-bottom {
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* Hero for V2 */
.v2-hero {
    background: #f8f9fa;
    padding: 1.5rem 0 0 0 !important;
    /* Force reduction to fix 192px gap */
    margin: 0 !important;
    overflow: hidden;
}

.v2-hero-text-side {
    position: relative !important;
    width: 35% !important;
    padding-left: max(3rem, calc((100% - 1280px) / 2 + 1rem));
    padding-right: 3rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    box-sizing: border-box;
    background: transparent !important;
}

.v2-hero-content {
    display: flex !important;
    align-items: stretch;
    width: 100%;
    background: var(--white);
    overflow: hidden;
}

/* Redesigned Subtitle Badge */
.v2-hero-subtitle {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ff8c42 100%);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(235, 87, 34, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: rv-pulse 2s infinite;
    width: fit-content;
}

@keyframes rv-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(235, 87, 34, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(235, 87, 34, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(235, 87, 34, 0.3);
    }
}

/* Enhanced Title */
.v2-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--gray-900);
    margin: 0 0 1.5rem 0;
    letter-spacing: -1.5px;
}

.v2-hero-title .highlight {
    color: var(--brand-orange);
    position: relative;
    display: inline-block;
}

/* Polished Text */
.v2-hero-text {
    color: var(--gray-600);
    margin: 0 0 1.25rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 90%;
}

/* Premium Button */
.v2-cta-buttons .rv-btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    background: var(--brand-orange);
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(235, 87, 34, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.v2-cta-buttons .rv-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(235, 87, 34, 0.4);
    background: #ff6d38;
}

.v2-hero-image-side {
    width: 65% !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 991px) {
    .v2-hero {
        padding: 0 !important;
        /* Completely removed padding for mobile to fix gap */
    }

    .v2-hero-content {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        min-height: auto !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .v2-hero-text-side,
    .v2-hero-image-side {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .v2-hero-image-side {
        order: 1;
        aspect-ratio: auto;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .v2-hero-text-side {
        order: 2;
        padding: 0.5rem 1rem !important;
        min-height: auto;
        align-items: center !important;
        text-align: center;
    }

    .v2-hero-title {
        margin-bottom: 0.5rem !important;
    }

    .v2-hero-text {
        margin-bottom: 1rem !important;
    }
}

.hero-carousel,
.hero-carousel .owl-stage-outer,
.hero-carousel .owl-stage,
.hero-carousel .owl-item,
.hero-carousel .item {
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    line-height: 0 !important;
}

.hero-carousel .owl-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    margin-top: 0 !important;
}

.hero-carousel .owl-dot span {
    background: rgba(255, 255, 255, 0.5) !important;
}

.hero-carousel .owl-dot.active span {
    background: var(--white) !important;
}

/* CSS items removed for redesign */

.v2-hero-banner {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Overridden mobile aspect-ratio removed for natural height scaling */

.v2-hero-banner:hover {
    transform: none;
}

/* Hero Carousel Customization */
/* Dots handled above */

.hero-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-carousel:hover .owl-nav {
    opacity: 1;
}

.hero-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    font-size: 1.5rem !important;
}

.v2-cta-buttons {
    display: flex;
    gap: 1rem;
}

.rv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.rv-btn-primary {
    background: var(--brand-orange);
    color: var(--white);
}

.rv-btn-outline {
    background: transparent;
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
}

/* Category Grid */
.v2-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rv-grid {
    display: grid;
    gap: 1.5rem;
}

.rv-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.rv-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1200px) {
    .rv-grid-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .rv-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .rv-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.rv-grid-3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 2.5rem;
    width: 100%;
}

@media (max-width: 991px) {
    .rv-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .rv-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

.v2-categories {
    padding: 4rem 0 2rem 0;
    /* Added top spacing for the heading */
}

.v2-category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1rem;
    text-align: center;
    border: 1px solid var(--gray-100);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.v2-category-card:hover {
    border-color: var(--brand-orange);
    background: rgba(241, 93, 34, 0.02);
}

.v2-category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--brand-orange);
    /* Solid orange background from reference */
    border-radius: 16px;
    /* Specific rounded square radius */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 4px 10px rgba(241, 93, 34, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {

    .rv-grid-6,
    .rv-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .v2-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .v2-hero-text-side {
        order: 2;
    }

    .v2-hero-image-side {
        order: 1;
    }
}

@media (max-width: 768px) {

    /* Hide specific elements on mobile */
    .w3-hide-small {
        display: none !important;
    }

    /* Add padding to the main container wrapper */
    .revamp-container {
        padding: 0 1rem;
    }

    /* Grid fixes */
    .rv-grid {
        gap: 1rem;
    }

    .rv-grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .rv-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Mobile CSS Sliders for Latest Arrivals, Updates & Categories */
    .v2-products .rv-grid-5,
    .v3-news-section .v3-news-grid,
    .v2-categories .rv-grid-3 {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .v2-products .rv-grid-5::-webkit-scrollbar,
    .v3-news-section .v3-news-grid::-webkit-scrollbar,
    .v2-categories .rv-grid-3::-webkit-scrollbar {
        display: none;
    }

    .v3-news-section .v3-news-card,
    .v2-categories .v2-category-card {
        flex: 0 0 75%;
        scroll-snap-align: center;
    }

    .v2-products .v2-product-card {
        flex: 0 0 42%;
        scroll-snap-align: start;
    }

    /* Override slider for category pages - Competitor compact styling */
    .v2-products .rv-grid-mobile-2col {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.25rem !important;
        padding: 0.5rem;
        background: #f8f9fa; /* slightly grey background for the grid itself */
        overflow-x: hidden !important;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-card {
        flex: unset !important;
        width: 100% !important;
        border-radius: 4px !important;
        border: 1px solid #eaeaea !important;
        box-shadow: none !important;
        background: #fff;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-card:hover {
        transform: none !important;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-image {
        padding: 0.75rem;
        background: #fff;
        border-bottom: 1px solid #f5f5f5;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-info {
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-name {
        font-weight: 400 !important;
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
        height: auto !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-name a {
        color: var(--gray-700);
    }
    .v2-products .rv-grid-mobile-2col .v2-product-stock {
        font-size: 0.75rem;
        color: var(--gray-600);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-stock i {
        font-size: 0.8rem;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 0.75rem;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-price {
        font-weight: 700;
        font-size: 1rem;
        color: var(--gray-900);
        display: block;
    }
    .v2-products .rv-grid-mobile-2col .v2-product-mrp {
        font-size: 0.75rem;
        color: var(--gray-400);
        margin-left: 0;
        margin-top: 0.1rem;
    }
    .v2-products .rv-grid-mobile-2col .v2-add-cart-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        border: 1px solid var(--brand-orange);
        color: var(--brand-orange);
        padding: 0.5rem;
        border-radius: 4px;
        transition: all 0.2s;
        font-size: 1.1rem;
        margin-top: auto;
    }
    .v2-products .rv-grid-mobile-2col .v2-add-cart-btn:hover {
        background: var(--brand-orange);
        color: var(--white);
    }

    .v2-product-info {
        padding: 0.75rem;
    }

    .v2-product-name {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

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

    .v2-add-cart {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    /* Reset the alternate height for the magazine cards in slider mode */
    .v3-news-grid>.v3-news-card:nth-child(2) {
        height: auto;
        margin-top: 0;
    }

    .v2-category-card {
        padding: 1.5rem 0.5rem;
    }

    .v2-category-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }

    .v2-category-name {
        font-size: 0.85rem;
    }

    .v2-header-actions span:last-child {
        display: none;
    }

    .v2-mobile-toggle {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        color: var(--gray-800);
    }

    .v2-main-header {
        padding: 0.5rem 0 !important;
        /* Reduced from 1rem */
    }

    .v2-main-header .revamp-container {
        flex-wrap: wrap;
    }

    .v2-header-left {
        order: 1;
        flex: 1;
    }

    .v2-header-actions {
        order: 2;
        gap: 0.75rem;
    }

    .v2-search {
        order: 3;
        margin: 0.5rem 0 0 0 !important;
        /* Reduced from 1rem */
        max-width: 100%;
        width: 100%;
        flex: 0 0 100%;
    }

    .v2-search-select-wrapper {
        display: none;
        /* Hide category select on mobile to save space */
    }

    .v2-search-input input {
        border-radius: var(--radius-full);
        padding: 0.65rem 1rem;
    }

    /* Removed mobile menu top adjustment to allow full screen overlay */

    .v2-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .v2-social-links {
        justify-content: center;
    }
}

/* Breadcrumbs */
.v2-breadcrumbs {
    padding: 1.5rem 0;
    font-size: 0.875rem;
}

.v2-breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.v2-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
}

.v2-breadcrumbs li:not(:last-child)::after {
    content: '›';
    font-size: 1.25rem;
    line-height: 1;
}

.v2-breadcrumbs a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 500;
}

/* Product Detail Revamp */
.v2-product-detail-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
}

.v2-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.v2-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.v2-main-image-box {
    aspect-ratio: 1;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 1px solid var(--gray-100);
}

.v2-main-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.v2-product-info-box h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.v2-price-wrap {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.v2-current-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--brand-orange);
    display: block;
}

.v2-old-price {
    font-size: 1.125rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-right: 1rem;
}

.v2-save-badge {
    color: #166534;
    font-weight: 600;
    font-size: 0.875rem;
}

.v2-meta-info {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.v2-meta-info span {
    font-weight: 700;
    color: var(--gray-900);
}

.v2-action-area {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.v2-qty-picker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.v2-qty-input {
    width: 60px;
    height: 44px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
}

.v2-buy-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.v2-stock-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.v2-stock-in {
    background: #dcfce7;
    color: #166534;
}

.v2-stock-out {
    background: #fee2e2;
    color: #991b1b;
}

.v2-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.v2-whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.v2-whatsapp-btn i {
    font-size: 1.25rem;
}

.v2-trust-grid {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.v2-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.v2-trust-item i {
    font-size: 1.1rem;
    color: var(--brand-orange);
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.v2-trust-item strong {
    display: block;
    color: var(--gray-900);
    font-size: 0.825rem;
    margin-bottom: 0.15rem;
}

.v2-trust-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.4;
}

@media (max-width: 991px) {
    .v2-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .v2-product-info-box h1 {
        font-size: 1.75rem;
    }

    .v2-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Styles */
.v2-mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-800);
    padding: 0.5rem;
}

/* Sidebar Backdrop */
.v2-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 999998 !important;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.v2-sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Sidebar */
.v2-mobile-menu * {
    box-sizing: border-box;
}

.v2-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 300px;
    max-width: 90vw;
    height: 100%;
    background: var(--white);
    z-index: 999999 !important;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow-x: hidden;
}

.v2-mobile-menu.active {
    transform: translateX(0);
}

.v2-mobile-menu-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-100);
}

.v2-mobile-logo img {
    width: 200px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
}

.v2-mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.5rem;
}

.v2-mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.v2-menu-open {
    overflow: hidden !important;
}

.v2-mobile-item {
    border-bottom: 1px solid var(--gray-50);
}

.v2-mobile-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 3.5rem 0.85rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.v2-mobile-link:hover,
.v2-mobile-link.active {
    background: var(--gray-50);
    color: var(--brand-orange);
}

.v2-mobile-link a {
    text-decoration: none;
    color: inherit;
    flex: 1;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
}

.v2-mobile-submenu {
    display: none;
    background: var(--gray-50);
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.v2-mobile-submenu.active {
    display: block;
}

.v2-mobile-toggle-btn {
    font-size: 1.5rem;
    color: var(--gray-500);
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: transparent;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.v2-mobile-link.active .v2-mobile-toggle-btn,
.v2-mobile-sublink.active .v2-mobile-toggle-btn {
    transform: translateY(-50%) rotate(90deg);
    color: var(--brand-orange);
}

.v2-mobile-sublink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 3.5rem 0.75rem 2.25rem;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Hide desktop dropdown arrow in mobile menu */
.v2-mobile-menu .has-children > a::after {
    display: none !important;
}

.v2-mobile-sublink a {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.v2-mobile-sublink:last-child {
    border-bottom: none;
}

.v2-mobile-super-submenu {
    display: none;
    background: var(--gray-100);
}

.v2-mobile-super-submenu.active {
    display: block;
}

.v2-mobile-super-sublink {
    display: block;
    padding: 0.75rem 1.25rem 0.75rem 3.25rem;
    color: var(--gray-600);
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-200);
}

.v2-mobile-super-sublink:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    /* Clearance moved to end of file */

    .v2-nav {
        display: none !important;
    }

    .v2-mobile-toggle {
        display: block;
    }

    .v2-header-actions {
        gap: 0.75rem;
    }
}

/* Fix Owl Carousel styling for Latest Arrivals */
.recentnews,
.owl-carousel {
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
}

.owl-stage-outer {
    overflow: hidden !important;
    width: 100% !important;
    display: block !important;
}

.owl-stage {
    display: block !important;
    width: 5000px;
    /* Large fallback width if JS fails */
}

.owl-item {
    float: left !important;
    display: block !important;
}

.recentnews .item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform var(--transition-fast);
    border: 1px solid var(--gray-100);
}

.recentnews .item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.recentnews .brandlogo img {
    max-height: 80px;
    /* Reduced for better proportion */
    width: auto !important;
    /* Ensure aspect ratio */
    margin: 0 auto;
    object-fit: contain;
}

.recentnews h5 {
    font-size: 0.85rem;
    /* Reduced to fix overlapping */
    font-weight: 600;
    margin-top: 1rem;
    color: var(--gray-800);
    line-height: 1.4;
    height: 2.8rem;
    /* Fixed height for 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recentnews h5 a {
    text-decoration: none;
    color: inherit;
}

.recentnews h5 a:hover {
    color: var(--brand-orange);
}

/* Adjust Font Awesome icon sizes in header */
.v2-header-action i {
    font-size: 1.125rem;
    color: var(--gray-700);
}

.v2-search-input button i {
    font-size: 1rem;
    color: var(--white);
}

.v2-mobile-toggle i {
    font-size: 1.25rem;
    color: var(--gray-800);
}

/* ========================================
   Missing V2 Component Styles
   ======================================== */

/* Section Headers */
.v2-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.v2-section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin: 0;
}

/* Category Grid Ext. */
.v2-category-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.v2-category-count {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.v2-category-card:hover .v2-category-name {
    color: var(--brand-orange);
}

/* Product Cards Grid */
.v2-products {
    padding: 3rem 0;
    background: var(--white);
}

.v2-product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.v2-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-orange-light);
}

.v2-product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-50);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.v2-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.v2-product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.3);
}

.v2-product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.v2-product-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8rem;
}

.v2-product-name a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 700;
}

.v2-product-name a:hover {
    color: var(--brand-orange);
}

.v2-product-card:hover .v2-product-name a {
    color: var(--brand-orange);
}

.v2-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.v2-product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-orange);
}

.v2-add-cart {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.v2-product-card:hover .v2-add-cart {
    background: var(--brand-orange);
    color: var(--white);
    transform: rotate(90deg);
}

/* Footer Newsletter */
.v2-newsletter {
    display: flex;
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    border: 1px solid var(--gray-700);
    transition: border-color var(--transition-fast);
}

.v2-newsletter:focus-within {
    border-color: var(--brand-orange);
}

.v2-newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--white);
    font-size: 0.875rem;
    outline: none;
}

.v2-newsletter input::placeholder {
    color: var(--gray-500);
}

.v2-newsletter .rv-btn-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: none;
}

/* Recent News Area - Complete Overhaul */
.v2-news-section {
    padding: 3rem 0 5rem 0;
    background: var(--gray-50);
}

.v2-news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-100);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    margin: 5px;
}

.v2-news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(241, 93, 34, 0.3);
}

.v2-news-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.v2-news-image img {
    max-height: 100px;
    max-width: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.v2-news-card:hover .v2-news-image img {
    transform: scale(1.1);
}

.v2-news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.5;
    margin: 0;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.v2-news-card:hover .v2-news-title {
    color: var(--brand-orange);
}

/* Category Shelves Styles */
.v2-category-shelf {
    padding: 2rem 0;
    background: var(--white);
}

.v2-category-shelf.alt-bg {
    background: var(--gray-50);
}

.v2-shelf-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 1.5rem !important;
    row-gap: 3rem !important; /* Robust gap to prevent overlap */
    grid-auto-rows: 1fr; /* Ensures cards in a row have equal height */
    margin-top: 2rem !important;
}

.v2-shelf-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.v2-shelf-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-orange);
    z-index: 10;
}

.v2-shelf-image {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-shelf-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.v2-shelf-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    line-height: 1.3;
}

/* Trust Section Styles */
.v2-trust-section {
    padding: 3rem 0;
    background: var(--dark-slate);
    color: var(--white);
    margin-top: 4rem;
}

.v2-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.v2-trust-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.v2-trust-icon {
    font-size: 2.5rem;
    color: var(--brand-orange);
    flex-shrink: 0;
}

.v2-trust-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.v2-trust-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .v2-shelf-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        row-gap: 2rem !important;
    }

    .v2-trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .v2-shelf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Product Detail V2 Refinement
   ======================================== */
.v2-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.v2-gallery {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-100);
    position: sticky;
    top: 120px;
}

.v2-product-info-box h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 1rem 0;
    line-height: 1.25;
}

.v2-price-wrap {
    background: var(--gray-50);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid var(--gray-200);
}

.v2-current-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-orange);
    display: block;
}

.v2-old-price {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 1.1rem;
}

.v2-save-badge {
    background: #ecfdf5;
    color: #059669;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.v2-meta-info {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.v2-meta-info span {
    color: var(--gray-900);
    font-weight: 600;
}

.v2-stock-badge {
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.v2-stock-in { background: #dcfce7; color: #166534; }
.v2-stock-out { background: #fee2e2; color: #991b1b; }

.v2-qty-picker {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v2-qty-input {
    width: 60px;
    padding: 0.4rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    text-align: center;
}

.v2-buy-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 991px) {
    .v2-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .v2-gallery {
        position: static;
    }
}


/* ========================================
   V3 SPECIALIZED AESTHETICS (NEW SECTIONS)
   ======================================== */

/* 1. Glassmorphism Category Shelves */
.v3-shelf-glass {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.v3-shelf-glass::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(241, 93, 34, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.v3-shelf-glass .revamp-container {
    position: relative;
    z-index: 1;
}

.v3-shelf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.v3-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.v3-glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--brand-orange);
    box-shadow: 0 15px 45px rgba(241, 93, 34, 0.15);
}

.v3-glass-image {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease;
}

.v3-glass-card:hover .v3-glass-image {
    transform: scale(1.1) rotate(5deg);
}

.v3-glass-image img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.v3-glass-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.4;
}

/* 2. Dark Modern Trust Bar */
.v3-trust-bar {
    background: #0f172a;
    /* Deeper slate */
    padding: 4rem 0;
    margin-top: 0;
    position: relative;
}

.v3-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.v3-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.v3-trust-icon {
    width: 70px;
    height: 70px;
    background: rgba(241, 93, 34, 0.1);
    border: 1px solid rgba(241, 93, 34, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--brand-orange);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.v3-trust-item:hover .v3-trust-icon {
    background: var(--brand-orange);
    color: var(--white);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 25px rgba(241, 93, 34, 0.4);
}

.v3-trust-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.5px;
}

.v3-trust-text {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin: 0;
    max-width: 200px;
}

/* 3. Magazine News Grid */
.v3-news-section {
    padding: 6rem 0;
    background: var(--white);
}

.v3-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.v3-news-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.v3-news-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.v3-news-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    z-index: 0;
}

.v3-news-card:hover .v3-news-bg {
    transform: scale(1.1);
}

.v3-news-content {
    position: relative;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.v3-news-card:hover .v3-news-content {
    transform: translateY(0);
}

.v3-news-badge {
    display: inline-block;
    background: var(--brand-orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.v3-news-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Alternate Heights for Magazine Feel */
.v3-news-grid>.v3-news-card:nth-child(2) {
    height: 480px;
    margin-top: -40px;
}

/* Responsive V3 */
@media (max-width: 991px) {

    .v3-trust-grid,
    .v3-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .v3-news-grid>.v3-news-card:nth-child(2) {
        height: 400px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .v3-shelf-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .v3-trust-grid,
    .v3-news-grid {
        grid-template-columns: 1fr;
    }

    .v3-glass-card {
        padding: 1rem;
        min-height: auto !important; /* Remove bottom whitespace */
    }

    .v3-glass-image {
        width: 100%;
        height: auto;
        background: transparent;
        box-shadow: none;
        margin-bottom: 1rem;
    }

    .v3-glass-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .v3-glass-name {
        font-size: 0.9rem;
        font-weight: 500;
    }
/* ========================================
   Final Overrides for Header Stickiness
   ======================================== */
.v2-header {
    background: var(--white) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    display: block !important;
}

/* ========================================
   Final Design Overrides: Clearance & Grid
   ======================================== */
.revamp-body {
    padding-top: 170px !important; /* Base clearance for desktop header */
}

@media (max-width: 991px) {
    .revamp-body {
        padding-top: 170px !important; /* Account for stacked header components */
    }
}

@media (max-width: 768px) {
    .revamp-body {
        padding-top: 160px !important; /* Tighter header on mobile */
    }
}

/* Ensure all Variation 2 & 3 grids have robust row-gaps to prevent overlap */
.v2-shelf-grid, .v3-shelf-grid, .rv-grid-5, .rv-grid-6, .rv-grid-4, .rv-grid-3 {
    row-gap: 4rem !important; /* Maximum safety against overlap */
    grid-auto-rows: min-content;
}

.v2-shelf-card, .v3-glass-card {
    height: auto !important;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .v2-shelf-grid, .v3-shelf-grid, .rv-grid-5, .rv-grid-6, .rv-grid-4, .rv-grid-3 {
        row-gap: 1.5rem !important;
    }
    .v2-shelf-card, .v3-glass-card {
        padding: 1rem;
    }
}

/* ========================================
   Checkout Modernization
   ======================================== */
.rv-checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 3rem;
    align-items: start;
}

@media (max-width: 991px) {
    .rv-checkout-grid {
        grid-template-columns: 1fr;
    }
}

.rv-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.rv-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.rv-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--gray-900);
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.rv-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(241, 93, 34, 0.1);
}

.rv-payment-method {
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    background: var(--gray-50);
}

.rv-payment-method.active,
.rv-payment-method:hover {
    border-color: var(--brand-orange);
    background: #fff;
    box-shadow: 0 4px 15px rgba(241, 93, 34, 0.08);
}

.rv-payment-method img {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.rv-payment-method p {
    font-weight: 600;
    margin: 0;
    color: var(--gray-800);
}

.rv-payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
}