/* 
 * Pahla Store - Home Page v1 Premium Styles
 * This file handles advanced animations and UI refinements for the Home v1 sections.
 */

:root {
    --premium-font: 'Oswald', sans-serif;
    --body-font: 'Montserrat', sans-serif;
}

/* --- Section Styling --- */
.product-section.section--v1 {
    padding: 100px 0;
    overflow: hidden;
}

/* --- Typography & Category Headers --- */
.category--name {
    font-family: var(--premium-font);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.category--name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    /* Yellow accent from Pahla theme */
}

/* --- Image Shadows & Effects --- */
.category-image--container {
    padding: 20px;
    perspective: 1000px;
}

.category-image {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.category-image:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-2deg);
}

/* --- FlexSlider Premium Overhaul --- */
.product-slider--v1 {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-top: 30px;
}

/* Hide FlexSlider default "Next/Prev" text */
.flex-direction-nav a {
    text-indent: -9999px;
    font-size: 0 !important;
    overflow: hidden;
    background: #fff !important;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
    /* Ensure it stays above Quick View buttons */
}

.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
}

.flexslider:hover .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
}

/* Custom Arrows using FontAwesome (ensure it's loaded) */
.flex-direction-nav a::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    text-indent: 0;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: var(--black);
}

.flex-direction-nav .flex-prev::before {
    content: "\f053" !important;
    /* fa-chevron-left */
}

.flex-direction-nav .flex-next::before {
    content: "\f054" !important;
    /* fa-chevron-right */
}

/* Hide Quick View / Zoom icons that might overlap in this specific slider */
.product-slider--v1 .yith-wcqv-button,
.product-slider--v1 .quick-view,
.product-slider--v1 .wc-block-grid__product-image .wc-block-grid__product-quick-view {
    display: none !important;
}

/* --- Product Cards within Slider --- */
.product-slider--v1 .card {
    border: none;
    border-radius: 8px;
    margin: 0 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-slider--v1 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-slider--v1 .card-img-top {
    border-radius: 8px 8px 0 0;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-slider--v1 .card-title {
    font-family: var(--premium-font);
    font-size: 1.1rem;
    margin-top: 10px;
}

.product-slider--v1 .btn-orange {
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 4px;
}

/* --- Dot Navigation --- */
.flex-control-paging li a {
    box-shadow: none;
}

.flex-control-paging li a.flex-active {
    background: var(--primary) !important;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767px) {
    .product-section.section--v1 {
        padding: 50px 0;
    }

    .flex-row-reverse {
        flex-direction: column !important;
    }

    .category-image--container {
        margin-bottom: 30px;
    }
}

/* --- Showcase Products Section (Phase 16) --- */
.showcase-products-section {
    background: #0f172a;
    padding: 60px 0;
    /* More compact padding */
}

.showcase-products-section .container-fluid {
    max-width: 1400px !important;
    margin: 0 auto;
    border-radius: 24px;
    /* Premium rounded look */
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spotlight-header-col {
    background: radial-gradient(circle at top left, rgba(229, 86, 4, 0.1), transparent);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem !important;
    /* Compact padding */
}

.spotlight-badge {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
}

.spotlight-title {
    font-family: var(--premium-font);
    font-size: 3rem;
    /* Slightly smaller for compactness */
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spotlight-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Showcase Grid & Glassmorphism */
.showcase-glass-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* Tighter gap */
}

.showcase-glass-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    /* Refined radius */
    padding: 20px;
    text-decoration: none !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.showcase-glass-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px) scale(1.01);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.showcase-image-wrapper {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.showcase-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.showcase-glass-card:hover .showcase-image-wrapper img {
    transform: scale(1.1);
}

.showcase-product-title {
    color: #fff;
    font-family: var(--premium-font);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.showcase-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 20px;
}

.btn-spotlight {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.showcase-glass-card:hover .btn-spotlight {
    background: var(--primary);
    border-color: var(--primary);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.showcase-card-wrapper:nth-child(even) .showcase-glass-card {
    animation: float 6s ease-in-out infinite;
}

.showcase-card-wrapper:nth-child(odd) .showcase-glass-card {
    animation: float 6s ease-in-out infinite 1s;
}

/* Mobile adjustments for Showcase */
@media (max-width: 991px) {
    .showcase-glass-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-title {
        font-size: 3rem;
    }
}

/* --- Newsletter / Subscriber Section (Phase 17) --- */
.newsletter-section {
    padding: 60px 0;
    position: relative;
}

.newsletter-title {
    font-family: var(--premium-font);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 30px !important;
}

.newsletter-form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Form 7 Overrides for Pill Layout */
.newsletter-section .wpcf7-form {
    position: relative;
    display: block;
    /* Change to block to allow absolute positioning of button inside */
}

/* Hide labels and unwanted CF7 elements */
.newsletter-section label,
.newsletter-section br,
.newsletter-section .wpcf7-spinner {
    display: none !important;
}

.newsletter-section .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.newsletter-section input[type="email"] {
    width: 100% !important;
    height: 60px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    padding: 0 150px 0 30px !important;
    /* Increased right padding for wider button */
    background: #fff !important;
    font-size: 15px !important;
    color: #000 !important;
    /* Ensure text is black and visible */
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.newsletter-section input[type="email"]::placeholder {
    color: #999 !important;
    opacity: 1;
}

.newsletter-section input[type="submit"] {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    width: 140px !important;
    /* Slightly wider for better balance */
    border-radius: 50px !important;
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 5;
    padding: 0 15px 0 0 !important;
    /* Offset for the arrow */
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.newsletter-section input[type="submit"]:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/* Re-styling the arrow to be inside the button and centered with text */
.newsletter-section .wpcf7-form::after {
    content: "\f178";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 28px;
    /* Refined for 140px width */
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    pointer-events: none;
    font-size: 14px;
    z-index: 6;
}

/* Response messaging polish */
.newsletter-section .wpcf7-response-output {
    border-radius: 15px !important;
    border: 1px solid #ddd !important;
    margin: 20px 0 0 0 !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    background: #fff !important;
    color: #333 !important;
    text-align: center;
}

@media (max-width: 575px) {
    .newsletter-title {
        font-size: 1.6rem;
    }

    .newsletter-section input[type="email"] {
        padding: 0 120px 0 20px !important;
    }

    .newsletter-section input[type="submit"] {
        width: 110px !important;
        font-size: 11px !important;
        padding-right: 12px !important;
    }

    .newsletter-section .wpcf7-form::after {
        right: 20px;
        font-size: 12px;
    }
}

/* --- Dynamic Product Section (Phase 18) --- */
.dynamic-products-section .dp-title {
    font-family: var(--premium-font);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dynamic-products-section .dp-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* List Style */
.dp-style-list .dp-list-container {
    margin: 0 auto;
}

.dp-list-item {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dp-list-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.dp-list-thumb {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.dp-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.dp-list-info .product-title {
    font-family: var(--premium-font);
    font-size: 1.35rem;
    color: #000;
}

.dp-list-info .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.dp-list-info .btn-link {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    display: inline-block;
}

/* Carousel Style */
.dp-style-carousel .product-card--premium {
    margin: 10px;
}

.dp-carousel-slider.flexslider {
    border: none;
    background: transparent;
    box-shadow: none;
}

/* --- Advanced Layout Builder (Phase 19 Refined) --- */
.advanced-layout-section {
    position: relative;
    background-color: #fcfcfc;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.alb-compact {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.alb-compact .section-header {
    margin-bottom: 25px !important;
}

.alb-compact .g-4,
.alb-compact .row.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Loading Skeleton / Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.alb-skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 100%;
    display: inline-block;
    position: relative;
    animation: shimmer 1.2s infinite linear forwards;
    border-radius: 4px;
}

.alb-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.customize-partial-refreshing .alb-loading-overlay {
    opacity: 1;
}

.alb-skeleton-card {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
}

.alb-skeleton-text {
    width: 100%;
    height: 20px;
    margin-bottom: 10px;
}

.alb-column-content {
    height: 100%;
    transition: transform 0.4s ease;
}

.alb-column-wrapper {
    display: flex;
    flex-direction: column;
}

/* List Small Thumb */
.dp-list-thumb.small-thumb {
    width: 80px;
    height: 80px;
}

/* Hover Zoom effect */
.hover-zoom {
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.alb-static-image:hover .hover-zoom {
    transform: scale(1.08);
}

/* Widget Styling inside ALB */
.alb-widget-area .widget {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-radius: 12px;
}

.alb-widget-area .widget-title {
    font-family: var(--premium-font);
    text-transform: uppercase;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

/* Responsiveness for columns */
@media (max-width: 767px) {
    .alb-column-wrapper {
        margin-bottom: 30px;
    }
}

/* --- Compact Slider Mode (Phase 20) --- */
.almas-slider-container.is-compact {
    height: 450px !important;
    min-height: 450px !important;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 0 auto 20px auto;
    /* Removed top margin */
    border-radius: 12px !important;
    /* Fixed 12px radius as requested */
    overflow: hidden;
}

.is-compact .almas-slide {
    height: 450px !important;
    border-radius: 12px !important;
}

.is-compact .slide-background {
    border-radius: 12px !important;
}

/* Hide Title and Button as requested */
.is-compact .slide-title,
.is-compact .slide-actions {
    display: none !important;
}

.is-compact .slide-excerpt {
    font-size: 1.4rem !important;
    font-weight: 500;
    margin-bottom: 0;
    max-width: 800px;
    text-align: center;
    line-height: 1.4;
    color: #fff;
}

.is-compact .content-inner {
    padding: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.is-compact .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.is-compact .slider-controls {
    bottom: 20px;
}

@media (max-width: 768px) {
    .almas-slider-container.is-compact {
        height: 350px !important;
        min-height: 350px !important;
        border-radius: 12px !important;
    }

    .is-compact .almas-slide {
        height: 350px !important;
    }

    .is-compact .slide-excerpt {
        font-size: 1.1rem !important;
        padding: 0 20px;
    }
}

/* --- Sleek Header Redesign (Phase 21) --- */
.transparent-header {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 0 !important;
    /* Slimmer header */
    z-index: 1000;
}

/* Fix for layout "cut" issue on non-home pages */
body:not(.home) #page,
body:not(.home) .site {
    padding-top: 100px !important;
}

@media (max-width: 991px) {

    body:not(.home) #page,
    body:not(.home) .site {
        padding-top: 80px !important;
        /* Adjusted for mobile header height */
    }
}

/* Logo Refinement */
.header-logo img {
    max-height: 60px !important;
    transition: all 0.3s ease;
}

/* Nav Typography & Global Caret Fix */
.header-nav .nav-link,
.header-nav .dropdown-item {
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    background: transparent !important;
}

.header-nav .nav-link {
    padding: 10px 20px !important;
}

/* Fix Global Carets */
.header-nav .dropdown-toggle::after,
.header-nav .dropdown>a::after {
    display: none !important;
    /* Hide Bootstrap/Theme Default Border Caret */
}

.header-nav .dropdown>a::before,
.header-nav .dropdown-toggle::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f107";
    /* Angle Down */
    margin-left: 8px;
    font-size: 10px;
    order: 2;
    /* Ensure it stays at the end */
}

/* Nested sub-menu caret adjustment (Right Arrow) */
.header-nav .dropdown-menu .dropdown>a::before,
.header-nav .dropdown-menu .dropdown-toggle::before {
    content: "\f105";
    /* Angle Right */
    margin-left: auto;
}

/* Sub-menu container styling */
.header-nav .dropdown-menu {
    border-radius: 12px !important;
    padding: 10px 0 !important;
    background: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    min-width: 220px;
    margin-top: 2px !important;
    /* Pixel perfect proximity */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    visibility: hidden;
    opacity: 0;
    display: block !important;
    transform: translateY(5px);
    pointer-events: none;
    z-index: 1000;
}

/* Ensure sub-menus don't get clipped by parent */
.header-nav .dropdown {
    position: relative;
}

/* Show menu on hover */
.header-nav .dropdown:hover>.dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Deep Nested Menu (3rd level+) Adjustment */
.header-nav .dropdown-menu .dropdown-menu {
    top: -5px !important;
    /* Aligning closer to parent link */
    left: 100% !important;
    margin-top: 0 !important;
    margin-left: -15px !important;
    /* Tight overlap to ensure bridge */
    transform: translateX(5px);
    z-index: 1100;
}

.header-nav .dropdown-menu .dropdown:hover>.dropdown-menu {
    transform: translateX(0);
}

/* Invisible bridge to maintain hover state while moving mouse to menu */
.header-nav .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

/* Side bridge for nested menus */
.header-nav .dropdown-menu .dropdown-menu::before {
    top: 0;
    left: -15px;
    width: 15px;
    height: 100%;
}

/* Desktop Hover Underline - Top Level Only */
.header-nav-desktop-v1 .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.header-nav-desktop-v1 .nav-link:hover::after,
.header-nav .current-menu-item>.nav-link::after {
    width: 20px;
}

.header-nav .nav-link:hover {
    opacity: 0.8;
}

/* Search Toggle Refinement */
.search-toggle {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.search-toggle:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
    transform: scale(1.1);
}

/* Sticky Header State */
.is-sticky .transparent-header {
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 10px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.is-sticky .header-logo img {
    max-height: 50px !important;
}

@media (max-width: 991px) {
    .transparent-header {
        padding: 10px 0 !important;
    }

    .navbar-toggler {
        border: none !important;
        padding: 0;
        transition: all 0.4s ease;
        outline: none !important;
    }

    .navbar-toggler-icon {
        filter: invert(1);
    }
}

/* --- Search Overlay Sleek Refinement --- */
.full-screen-search {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.search-container {
    max-width: 800px;
    width: 90%;
}

.search-input {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 3rem !important;
    font-family: var(--premium-font) !important;
    text-align: center;
    padding: 20px 0 !important;
    transition: all 0.4s ease;
    outline: none !important;
}

.search-input:focus {
    border-bottom-color: var(--primary) !important;
}

.search-submit {
    background: transparent !important;
    color: var(--primary) !important;
    font-size: 2rem !important;
    margin-top: 20px;
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.search-submit:hover {
    transform: scale(1.2);
}

.search-close {
    font-size: 40px !important;
    opacity: 0.5;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
}

.search-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Header Alignment Tweaks */
.header-inner-flex {
    min-height: 80px;
    display: flex !important;
    align-items: center !important;
    /* Perfect vertical centering */
}

/* Match Header width with Slider max-width (1400px) */
.transparent-header .container {
    max-width: 1400px !important;
}

.header-logo {
    min-width: 150px;
    display: flex;
    align-items: center;
}

.header-logo a,
.header-logo img {
    display: block;
    margin: 0 !important;
    vertical-align: middle;
}

.header-nav-desktop-v1 {
    margin-left: 0 !important;
    /* Reset legacy margin */
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-search-wrap {
    min-width: 150px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Ensure Nav Toggler is also centered on mobile */
@media (max-width: 991px) {
    .transparent-header {
        padding: 10px 0 !important;
    }

    .navbar-toggler {
        border: none !important;
        padding: 0;
        display: flex;
        align-items: center;
        transition: all 0.4s ease;
        outline: none !important;
    }

    .navbar-toggler-icon {
        filter: invert(1);
    }

    .header-inner-flex {
        min-height: 60px;
    }
}