/* New Homepage Redesign Styles */

/* The Seasons Font Family */
@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/The Seasons Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/The Seasons Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/The Seasons Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/The Seasons Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/The Seasons Light Italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'The Seasons';
    src: url('../fonts/The Seasons Bold Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.wrapper {
    overflow-x: hidden;
    max-width: 100%;
}

/* Global Font Rules - Headings use The Seasons, Body text uses Nunito Sans */
h1, h2, h3, h4, h5, h6,
.font-seasons {
    font-family: 'The Seasons', serif !important;
}

/* All body text uses Nunito Sans */
body, p, a, span, div, li, ul, ol, 
input, select, textarea, label, 
.form-control, .form-select {
    font-family: 'Nunito Sans', sans-serif !important;
}

/* Apply font to menu items - Header must use The Seasons */
.new-main-header,
.new-main-header *,
.new-main-header .nav-link,
.new-main-header .nav-item,
.new-main-header .nav-item *,
.new-main-header .header-left-section,
.new-main-header .header-left-section *,
.new-main-header .header-right-section,
.new-main-header .header-right-section *,
.new-main-header .main-nav-menu,
.new-main-header .main-nav-menu *,
.new-main-header .header-nav-text,
.new-main-header .header-pill-text,
.new-main-header .header-gray-link,
.new-main-header .header-gray-link *,
.new-main-header a,
.new-main-header span,
.new-main-header div {
    font-family: 'The Seasons', serif !important;
    font-weight: 300 !important;
}

/* New Single-Line Header Styles */
.new-main-header {
    background-color: #1E3233 !important;
    border-bottom: none;
    box-shadow: none;
    top: 0;
    left: 0;
    overflow: visible; /* Allow dropdowns to extend beyond header */
    z-index: 1000; /* Ensure header is above content but dropdowns can be above header */
}

.new-main-header .container-fluid {
    padding: 0 30px;
    overflow: visible; /* Allow dropdowns to show */
}

@media (max-width: 768px) {
    .new-main-header .container-fluid {
        padding: 0 15px;
    }
}

/* Responsive menu sizing for different screens */
@media (min-width: 992px) and (max-width: 1400px) {
    .new-main-header .header-left-section .nav-item.nav-parent .nav-link {
        font-size: 15px;
        letter-spacing: 0.3px;
        padding: 8px 6px;
    }
}

@media (min-width: 1401px) and (max-width: 1599px) {
    .new-main-header .header-left-section .nav-item.nav-parent .nav-link {
        font-size: 15px;
        letter-spacing: 0.4px;
        padding: 8px 8px;
    }
}

/* Fix overlap between 1600px and 1730px */
@media (min-width: 1600px) and (max-width: 1730px) {
    .new-main-header .header-left-section {
        max-width: calc(50% - 120px) !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }
    
    .new-main-header .header-left-section .main-nav-menu {
        min-width: 0 !important;
        width: 100% !important;
    }
    
    .new-main-header .header-left-section .main-nav-menu .nav {
        min-width: 0 !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }
    
    .new-main-header .header-left-section .nav-item.nav-parent {
        flex-shrink: 1 !important;
    }
    
    .new-main-header .header-left-section .nav-item.nav-parent .nav-link {
        font-size: 14px !important;
        letter-spacing: 0.3px !important;
        padding: 8px 4px !important;
        white-space: nowrap !important;
    }
    
    .new-main-header .header-logo-center {
        max-width: 150px !important;
    }
    
    .new-main-header .header-right-section {
        max-width: calc(50% - 100px) !important;
        flex-shrink: 1 !important;
    }
    
    .new-main-header .header-right-section .nav-link {
        font-size: 11px !important;
        padding: 8px 3px !important;
    }
    
    .new-main-header .container-fluid {
        padding: 0 20px !important;
    }
}

@media (min-width: 1731px) {
    .new-main-header .header-left-section .nav-item.nav-parent .nav-link {
        font-size: 17px;
        letter-spacing: 0.5px;
        padding: 8px 12px;
    }
}

.new-main-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: visible; /* Allow dropdowns to show */
    flex-wrap: nowrap;
}

/* Center Logo Positioning */
.new-main-header .header-row-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.new-main-header .header-logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: auto; /* Ensure logo is clickable */
    width: auto;
    max-width: 180px; /* Limit logo width to prevent overlap */
}

.new-main-header .header-logo-center .logo-link {
    display: block;
    pointer-events: auto;
    position: relative;
    z-index: 11;
}

.new-main-header .header-left-section,
.new-main-header .header-right-section {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0; /* Allow flex items to shrink */
    max-width: calc(50% - 120px); /* Prevent sections from reaching center, leaving space for logo */
}

.new-main-header .header-left-section {
    justify-content: flex-start;
    overflow: visible; /* Allow dropdowns to show */
    flex-wrap: nowrap;
    min-width: 0;
    flex-shrink: 1;
    width: auto;
    max-width: calc(50% - 120px);
    /* Base styles - will be overridden by media queries */
    display: flex;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 10;
}

.new-main-header .header-left-section .main-nav-menu {
    width: 100%;
    min-width: 0;
    display: block;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 10;
}

.new-main-header .header-left-section .main-nav-menu .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    width: 100%;
    min-width: 0;
    list-style: none;
    position: relative;
    z-index: 10;
}

.new-main-header .header-left-section .nav-item.nav-parent {
    white-space: nowrap;
    flex-shrink: 1;
    position: relative;
    overflow: visible;
    display: list-item;
    visibility: visible;
    opacity: 1;
}

.new-main-header .header-left-section .nav-item.nav-parent .nav-link {
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 8px 6px;
    display: block;
    visibility: visible;
    opacity: 1;
    color: #fff;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Ensure dropdowns appear above everything */
.new-main-header .header-left-section .nav-item.nav-parent .drop-down-item,
.new-main-header .header-left-section .nav-item.nav-parent .drop-down-item.mega-drop-down {
    z-index: 999999 !important;
}

/* Dropdown visibility controlled by JS via .dropdown-open class */

.new-main-header .header-right-section {
    justify-content: flex-end;
    overflow: visible;
    position: relative;
    z-index: 5;
    padding-right: 0;
    margin-right: 0;
    max-width: calc(50% - 120px);
}

.new-main-header .header-right-inner {
    gap: 0;
    align-items: stretch;
    transition: all 0.3s ease-in-out;
}

/* Text links on gray background (CATALOG, etc.) */
.new-main-header .header-gray-link {
    position: relative;
}

.new-main-header .header-nav-text {
    font-family: 'The Seasons', serif;
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    padding: 10px 15px;
    white-space: nowrap;
    transition: opacity 0.3s ease, padding 0.3s ease-in-out, font-size 0.3s ease-in-out;
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.new-main-header .header-nav-text:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
}

/* White pill section */
.new-main-header .header-icons-pill {
    display: flex;
    align-items: center;
    background: #f0ece4;
    padding: 14px 16px;
    gap: 16px;
    margin-left: 0;
    white-space: nowrap;
    transition: padding 0.3s ease-in-out, gap 0.3s ease-in-out, margin-left 0.3s ease-in-out;
    flex-shrink: 1;
}

.new-main-header .header-pill-text {
    font-family: 'The Seasons', serif;
    font-size: 16px;
    font-weight: 300;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.new-main-header .header-pill-text:hover {
    color: #8b7355;
    text-decoration: none;
}

.new-main-header .header-pill-icon {
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
}

.new-main-header .header-pill-icon:hover {
    color: #8b7355;
    text-decoration: none;
}

/* Search icon box - dark section flush to right corner */
.new-main-header .header-search-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 8px 14px;
    color: grey;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    align-self: stretch;
}

.new-main-header .header-search-icon-box:hover {
    opacity: 0.8;
    color: grey;
    text-decoration: none;
}

.new-main-header .header-pill-icon .badge-on-cart {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 9px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    background: #8b7355;
    color: #fff;
    padding: 0 3px;
}

.new-main-header .header-pill-icon .badge-on-wishlist {
    width: 8px;
    height: 8px;
    min-width: 8px;
    padding: 0;
    top: -2px;
    right: -4px;
    background: #c0392b;
}

.new-main-header .header-right-section .nav-link,
.new-main-header .header-right-section .nav-link-icon {
    position: relative;
    z-index: 6;
    pointer-events: auto;
}

/* Ensure logo click area doesn't extend too far */
.new-main-header .header-logo-center .logo-link {
    display: inline-block;
    max-width: 100%;
}

.new-main-header .main-menu-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow: visible; /* Allow dropdowns to show */
}

.new-main-header .main-menu-list .nav-link {
    font-family: 'The Seasons', serif;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 5px;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    border: none;
}

.new-main-header .main-menu-list .nav-link:hover {
    color: #8b7355;
}

.new-main-header .logo-link {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.new-main-header .logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}

.new-main-header .right-nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.new-main-header .right-nav-icons .nav-link {
    font-family: 'The Seasons', serif;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 5px;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

/* Mega Dropdown Menu Styles */
.new-main-header .dropdown,
.new-main-header .nav-item.dropdown,
.new-main-header .nav-item.nav-parent {
    position: relative; /* ensure absolute dropdown is positioned correctly */
}

.new-main-header .mega-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 800px;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e0ddd8;
    z-index: 100000;
}

/* Mega Dropdown for nav-parent items */
.new-main-header .nav-parent .drop-down-item.mega-drop-down {
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    width: calc(100vw - 40px);
    max-width: none;
    background: #fff;
    padding: 25px 30px;
    opacity: 0;
    visibility: hidden;
    z-index: 999999 !important;
    min-height: 200px;
    border-bottom: 1px solid #f1f1f1;
    border-top: 1px solid #000;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.2);
    display: block !important;
    pointer-events: none;
    overflow: hidden;
    /* No transition on the panel itself — instant show/hide to prevent blink */
}

/* JS-controlled show state for mega dropdown */
.new-main-header .nav-parent.dropdown-open .drop-down-item.mega-drop-down {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow-x: auto;
}

/* Inner content slides left-to-right when dropdown opens */
.new-main-header .nav-parent .drop-down-item.mega-drop-down > .container-fluid {
    opacity: 0;
    transform: translateX(-25px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.new-main-header .nav-parent.dropdown-open .drop-down-item.mega-drop-down > .container-fluid {
    opacity: 1;
    transform: translateX(0);
}

/* Ensure nav-parent items can contain absolute positioned dropdowns */
.new-main-header .nav-parent {
    position: relative;
}

@media (max-width: 768px) {
    .new-main-header .mega-drop-down {
        min-width: 100%;
        max-width: 100vw;
        left: 0 !important;
        right: 0 !important;
    }
}

.new-main-header .dropdown-menu {
    border: 1px solid #e0ddd8;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 100000;
}

.new-main-header .dropdown-menu.show {
    display: block !important; /* force override over bootstrap/site css */
    opacity: 1;
    visibility: visible;
}

/* Desktop hover: open dropdowns */
@media (min-width: 993px) {
    .new-main-header .nav-item.dropdown:hover > .dropdown-menu,
    .new-main-header .nav-item.dropdown:hover > .mega-dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
}

/* Simple dropdown (non-mega) for items like Reshape/Resize */
.new-main-header .nav-parent .drop-down-item:not(.mega-drop-down) {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    padding: 15px 20px;
    opacity: 0;
    visibility: hidden;
    z-index: 999999 !important;
    border-bottom: 1px solid #f1f1f1;
    border-top: 1px solid #000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    display: block;
    pointer-events: none;
    overflow: hidden;
}

/* JS-controlled show state for simple dropdown */
.new-main-header .nav-parent.dropdown-open .drop-down-item:not(.mega-drop-down) {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Inner content slides left-to-right for simple dropdown */
.new-main-header .nav-parent .drop-down-item:not(.mega-drop-down) > .container-fluid {
    opacity: 0;
    transform: translateX(-25px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.new-main-header .nav-parent.dropdown-open .drop-down-item:not(.mega-drop-down) > .container-fluid {
    opacity: 1;
    transform: translateX(0);
}

/* Dropdown headings - The Seasons */
.new-main-header .nav-parent .drop-down-item h5,
.new-main-header .nav-parent .drop-down-item .sub-menu-item > div > div > a {
    font-family: 'The Seasons', serif !important;
}

/* Dropdown body text - Nunito Sans */
.new-main-header .nav-parent .drop-down-item .mega-dropdown-link a,
.new-main-header .nav-parent .drop-down-item .sub-item-container a,
.new-main-header .dropdown-menu a,
.new-main-header .dropdown-item {
    font-family: 'Nunito Sans', sans-serif !important;
}

/* Style links in simple dropdown */
.new-main-header .nav-parent .drop-down-item:not(.mega-drop-down) .mega-dropdown-link a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 14px;
    transition: color 0.2s ease;
}

/* Mega dropdown body links */
.new-main-header .nav-parent .drop-down-item.mega-drop-down .mega-dropdown-link a {
    font-family: 'Nunito Sans', sans-serif !important;
    font-size: 14px;
}

.new-main-header .nav-parent .drop-down-item:not(.mega-drop-down) .mega-dropdown-link a:hover {
    color: #8b7355;
}

.new-main-header .dropdown-item {
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-family: 'Nunito Sans', sans-serif !important;
    transition: background-color 0.3s ease;
}

.new-main-header .dropdown-item:hover {
    background-color: #f8f6f3;
    color: #8b7355;
}

.new-main-header .nav-link-icon {
    font-size: 20px;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.new-main-header .nav-link-icon:hover {
    color: #8b7355;
}

.new-main-header .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #8b7355;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container {
    position: relative;
    width: 60%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 20px 50px 20px 20px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
}

.search-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* Homepage Background Color */
.homepage, body {
    background-color: #f8f6f3;
}

/* Add padding-top to account for fixed header on desktop
.homepage {
    padding-top: 80px;
} */
@media (max-width: 1080px) {
    .homepage {
        padding-top: 0;
    }
}

/* Single Image Hero Section */
.homepage-hero-section {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    padding: 0;
}

.homepage-hero-section .container {
    padding-left: 0;
    padding-right: 0;
}

.homepage-hero-container {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-hero-container-inner {
    position: relative;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 170px;
}

.homepage-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.homepage-hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.homepage-hero-caption-1 {
    color: #fff;
    font-size: 170px;
    font-weight: 10;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-style: normal;
    text-align: center;
    font-family: 'The Seasons', serif;
}

.homepage-hero-caption-2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-align: center;
}

.homepage-hero-button {
    padding: 15px 40px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #8b7355;
    border: none;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    font-family: 'The Seasons', serif;
    text-align: center;
    white-space: nowrap;
}

.homepage-hero-button:hover {
    background-color: #6b5a45;
    color: #fff;
    text-decoration: none;
}

/* Tablet */
@media (max-width: 992px) {
    .homepage-hero-container {
        height: 100vh;
    }
    
    .homepage-hero-container-inner {
        padding-top: 90px;
        font-size: 100px;
    }
    
    .homepage-hero-caption-1 {
        font-size: 90px;
        margin-bottom: 18px;
        letter-spacing: 1.5px;
    }
    
    .homepage-hero-caption-2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .homepage-hero-button {
        padding: 14px 35px;
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .homepage-hero-container {
        height: 70vh;
        min-height: 500px;
    }

    .homepage-hero-container-inner {
        padding-top: 15vh;
        align-items: flex-start;
    }

    .homepage-hero-content {
        padding: 0 20px;
        justify-content: flex-start;
    }

    .homepage-hero-caption-1 {
        font-size: 36px;
        margin-bottom: 15px;
        line-height: 1.3;
        padding: 0;
        letter-spacing: 1px;
    }

    .homepage-hero-caption-2 {
        font-size: 18px;
        margin-bottom: 18px;
        padding: 0;
    }

    .homepage-hero-button {
        padding: 12px 28px;
        font-size: 14px;
        letter-spacing: 0.5px;
        white-space: normal;
        max-width: 90%;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .homepage-hero-container {
        height: 60vh;
        min-height: 450px;
    }

    .homepage-hero-container-inner {
        padding-top: 12vh;
        align-items: flex-start;
    }

    .homepage-hero-content {
        justify-content: flex-start;
    }

    .homepage-hero-caption-1 {
        font-size: 28px;
        margin-bottom: 10px;
        line-height: 1.3;
        letter-spacing: 0.5px;
    }

    .homepage-hero-caption-2 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .homepage-hero-button {
        padding: 10px 24px;
        font-size: 13px;
        letter-spacing: 0.5px;
        max-width: 85%;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .homepage-hero-container {
        height: 55vh;
        min-height: 400px;
    }

    .homepage-hero-caption-1 {
        font-size: 24px;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .homepage-hero-caption-2 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .homepage-hero-button {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* HandWoven/Handloomed Tiles */
.handwoven-tiles {
    display: flex;
    gap: 20px;
    margin: 40px 0;
}

.handwoven-tile {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.handwoven-tile:hover {
    transform: scale(1.02);
}

.handwoven-tile img {
    width: 100%;
    height: auto;
    display: block;
}

/* Make HandWoven/Handloomed tiles feel substantial on small screens */
@media (max-width: 768px) {
    .handwoven-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .handwoven-tiles {
        gap: 16px;
        margin: 24px 0;
    }

    .handwoven-tile img {
        height: 240px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .handwoven-tile img {
        height: 200px;
    }
}

/* Pillow Slideshow Section */
/* Pillow Carousel Section (Designer Favorites Style) */
.pillow-carousel-section {
    margin: 80px 0;
    padding: 0;
}

.pillow-carousel-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'The Seasons', serif;
    text-transform: none;
    letter-spacing: 0;
}

.pillow-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.pillow-carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-width: 0;
}

.pillow-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 95px;
    transition: transform 0.5s ease;
    will-change: transform;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pillow-carousel-item {
    flex: 0 0 auto;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
}

.pillow-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillow-product-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pillow-product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #f8f6f3;
    position: relative;
}

.pillow-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.pillow-product-info {
    padding: 15px;
    position: relative;
    background-color: #ffffff;
}

.pillow-product-name {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 5px;
    font-family: 'The Seasons', serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pillow-product-code {
    font-size: 12px;
    color: #666;
    font-family: 'The Seasons', serif;
}

.pillow-favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 5;
}

.pillow-favorite-btn:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

.pillow-favorite-btn svg {
    display: block;
}

.pillow-carousel-nav {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: #333;
    flex-shrink: 0;
    z-index: 10;
}

.pillow-carousel-nav:hover {
    background-color: #f8f6f3;
    border-color: #333;
}

.pillow-carousel-prev {
    margin-right: 15px;
}

.pillow-carousel-next {
    margin-left: 15px;
}

.pillow-carousel-nav svg {
    width: 20px;
    height: 20px;
}

/* Rizzy Home Products Section */
/* Rizzy Products Section - Main Image + Carousel Layout (Jaipur Living Style) */
.rizzy-products-section {
    margin: 0;
    padding: 40px 80px 40px 80px;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #f8f6f3;
}

.rizzy-products-wrapper {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: space-between;
    max-width: 95%;
    margin: 0 auto;
    padding: 30px;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* Main Image Display (Left) - Large Living Room Scene */
.rizzy-products-main-image {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    position: sticky;
    top: 100px;
    overflow: hidden;
    height: 680px;
    min-height: 680px;
    max-height: 680px;
    background-color: #f8f6f3; /* Fallback background to prevent white flash */
}

.rizzy-products-main-image a {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: #f8f6f3; /* Fallback background to prevent white flash */
}

.rizzy-main-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rizzy-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 680px !important;
    min-height: 680px !important;
    max-height: 680px !important;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
    opacity: 1;
    background-color: #f8f6f3; /* Fallback background color to prevent white flash */
    z-index: 1;
}

.rizzy-slide-image.active {
    z-index: 2;
    position: relative;
}

.rizzy-products-main-image a:hover img {
    opacity: 0.95;
}

/* Product Carousel (Right) - Single Item Display */
.rizzy-products-carousel {
    flex: 0 0 35%;
    width: 35%;
    max-width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    min-height: 680px;
    height: 680px;
    padding: 0;
    box-sizing: border-box;
}

.rizzy-carousel-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

.rizzy-carousel-track {
    display: flex;
    flex-direction: row;
    gap: 0;
    transition: transform 0.5s ease-in-out;
    position: relative;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.rizzy-carousel-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    opacity: 1;
    visibility: visible;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    flex-shrink: 0;
}

.rizzy-carousel-item.active {
    /* Active state for visual indicator if needed */
    opacity: 1;
}

.rizzy-carousel-image-wrapper {
    width: 100%;
    max-width: 250px;
    height: 525px !important;
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rizzy-carousel-image-wrapper img {
    width: auto;
    /* height: 80%; */
    max-width: 100%;
    max-height: 100%;
    /* object-fit: contain; */
    display: block;
}

.rizzy-carousel-title {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'The Seasons', serif;
    margin: 0;
    padding: 0;
}

.rizzy-carousel-caption {
    font-size: 12px;
    font-weight: 300;
    color: #666;
    text-align: center;
    text-transform: none;
    letter-spacing: 0.5px;
    font-family: 'The Seasons', serif;
    margin-top: 5px;
    padding: 0;
}

.rizzy-carousel-prev,
.rizzy-carousel-next {
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    padding: 0;
    z-index: 20;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.rizzy-carousel-prev {
    left: calc(50% - 200px);
}

.rizzy-carousel-next {
    right: calc(50% - 200px);
}

.rizzy-carousel-prev:hover,
.rizzy-carousel-next:hover {
    background-color: #f8f8f8;
    border-color: #999;
}

.rizzy-carousel-prev svg,
.rizzy-carousel-next svg {
    width: 18px;
    height: 18px;
    color: #333;
    stroke-width: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .rizzy-products-section {
        padding: 20px;
    }

    .rizzy-products-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
        max-width: 100%;
    }

    .rizzy-products-main-image {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        position: relative;
        top: 0;
        order: 1;
    }

    .rizzy-products-main-image a,
    .rizzy-products-main-image img {
        width: 100%;
        max-width: 100%;
    }

    .rizzy-products-carousel {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        order: 2;
        padding: 0;
    }

    .rizzy-carousel-container {
        height: auto;
    }

    .rizzy-carousel-item {
        height: auto;
    }

    .rizzy-carousel-image-wrapper {
        max-width: 250px;
        height: 450px;
    }

    .rizzy-carousel-prev {
        left: calc(50% - 200px);
    }

    .rizzy-carousel-next {
        right: calc(50% - 200px);
    }
}

@media (max-width: 768px) {
    .rizzy-products-section {
        padding: 15px 10px;
    }

    .rizzy-products-wrapper {
        padding: 10px;
        gap: 15px;
    }

    .rizzy-products-main-image {
        height: 400px !important;
        min-height: 400px !important;
        max-height: 400px !important;
    }

    .rizzy-products-main-image img {
        height: 400px !important;
        min-height: 400px !important;
        max-height: 400px !important;
    }

    .rizzy-carousel-image-wrapper {
        max-width: 225px;
        height: 400px;
    }

    .rizzy-carousel-prev,
    .rizzy-carousel-next {
        width: 32px;
        height: 32px;
    }

    .rizzy-carousel-prev {
        left: calc(50% - 180px);
    }

    .rizzy-carousel-next {
        right: calc(50% - 180px);
    }
}

@media (max-width: 576px) {
    .rizzy-products-section {
        padding: 10px 8px;
    }

    .rizzy-products-wrapper {
        padding: 8px;
        gap: 12px;
    }

    .rizzy-products-main-image {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }

    .rizzy-products-main-image img {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }

    .rizzy-carousel-image-wrapper {
        max-width: 200px;
        height: 350px;
        margin-bottom: 10px;
    }

    .rizzy-carousel-prev,
    .rizzy-carousel-next {
        width: 28px;
        height: 28px;
    }

    .rizzy-carousel-prev {
        left: calc(50% - 160px);
    }

    .rizzy-carousel-next {
        right: calc(50% - 160px);
    }
}

/* Upcoming Section - Coming Soon */
.upcoming-section {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #F8F6F3;
    position: relative;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.upcoming-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #1a3a3a;
}

.upcoming-top-bar {
    width: 100%;
    height: 2px;
    background-color: #1a3a3a;
    position: relative;
}

.upcoming-wrapper {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #F8F6F3;
    padding: 0;
    padding-bottom: 4px;
}

.upcoming-content-panel {
    width: 100%;
    flex: 1;
    background-color: #F8F6F3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 60px;
    position: relative;
}

.upcoming-content-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.upcoming-content-text.text-center {
    text-align: center;
}

.upcoming-text-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.upcoming-text-line-1 {
    font-family: 'The Seasons', serif;
    font-size: 42px;
    font-weight: 300;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.upcoming-text-line-2 {
    font-family: 'The Seasons', serif;
    font-size: 20px;
    font-weight: 300;
    color: #2c2c2c;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.5px;
}

.upcoming-date {
    display: none;
}

.upcoming-bottom-bar {
    width: 100%;
    height: 4px;
    background-color: #1a3a3a;
    position: relative;
}

/* Responsive Styles for Upcoming Section */
@media (max-width: 992px) {
    .upcoming-wrapper {
        min-height: auto;
    }

    .upcoming-content-panel {
        padding: 80px 30px;
    }

    .upcoming-text-line-1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .upcoming-content-panel {
        padding: 60px 20px;
    }

    .upcoming-text-line-1 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .upcoming-content-panel {
        padding: 40px 15px;
    }

    .upcoming-text-line-1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .upcoming-content-panel {
        padding: 30px 10px;
    }

    .upcoming-text-line-1 {
        font-size: 18px;
    }
}

/* Upcoming Collection Section */
.upcoming-collection-section {
    margin: 0;
    padding: 15px 0 0 0;
    background-color: #1E3233;
    border: 3px solid #132e2d;
    max-width: 100%;
    overflow-x: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.upcoming-collection-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.upcoming-collection-header {
    margin-bottom: 20px;
}

.upcoming-collection-title {
    font-family: 'The Seasons', serif;
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 0;
}

.upcoming-collection-date {
    font-family: 'The Seasons', serif;
    font-size: 24px;
    font-weight: 400;
    color: #666;
    margin: 0;
    font-style: italic;
}

.upcoming-collection-cards {
    margin: 0;
    padding: 20px 40px 0px 40px;
    display: flex;
    flex-wrap: nowrap;
    gap: 50px;
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: stretch;
    box-sizing: border-box;
    max-height: 80%;
}

.upcoming-collection-cards > div {
    padding: 0;
    margin: 0 auto;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .upcoming-collection-cards {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .upcoming-collection-cards > div {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
    }
}

.upcoming-collection-card {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border: 12px solid #f8f6f3;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
    width: 90%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-height: 95%;
}

.upcoming-collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.upcoming-card-image-wrapper {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #2C5F5D;
}

.upcoming-card-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.upcoming-collection-card:hover .upcoming-card-image {
    transform: scale(1.05);
}

.upcoming-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 25px;
    z-index: 2;
}

.upcoming-card-title {
    font-family: 'The Seasons', serif;
    font-size: 48px;
    font-weight: 400;
    color: #f8f6f3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
    line-height: 1.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    z-index: 3;
    word-break: keep-all;
    overflow-wrap: normal;
}

.upcoming-card-description {
    font-family: 'The Seasons', serif;
    font-size: 28px;
    font-weight: 300;
    color: #f8f6f3;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 3;
    max-width: 90%;
}

/* Responsive Styles for Upcoming Collection */
@media (max-width: 992px) {
    .upcoming-collection-section {
        padding: 20px 0 0 0;
    }
    
    .upcoming-collection-wrapper {
        padding: 0;
    }
    
    .upcoming-collection-cards {
        padding: 0 30px;
        gap: 50px;
    }
    
    .upcoming-collection-cards > div {
        flex: 1 1 0;
        max-width: none;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .upcoming-collection-card {
        aspect-ratio: 1 / 1;
        border-width: 12px;
    }
    
    .upcoming-card-image-wrapper {
        aspect-ratio: 1 / 1;
    }
    
    .upcoming-card-overlay {
        padding: 25px 20px;
    }
    
    .upcoming-card-title {
        font-size: 38px;
        letter-spacing: 2px;
        max-width: 65%;
    }
    
    .upcoming-card-description {
        font-size: 14px;
        padding-top: 60px;
    }
}

@media (max-width: 768px) {
    .upcoming-collection-section {
        margin: 0;
        padding: 15px 0 0 0;
    }
    
    .upcoming-collection-header {
        margin-bottom: 20px;
    }
    
    .upcoming-collection-wrapper {
        padding: 0;
        width: 100%;
    }
    
    .upcoming-collection-cards {
        flex-direction: column;
        height: auto;
        gap: 20px;
        margin: 0;
        padding: 0 20px;
    }
    
    .upcoming-collection-cards > div {
        padding: 0;
        margin: 0 auto;
        flex: 1 1 100%;
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .upcoming-collection-card {
        aspect-ratio: 1 / 1;
        width: 100%;
        border-width: 10px;
    }
    
    .upcoming-card-image-wrapper {
        aspect-ratio: 1 / 1;
    }
    
    .upcoming-card-overlay {
        padding: 20px 18px;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        padding-top: 70px;
    }
    
    .upcoming-card-title {
        font-size: 32px;
        letter-spacing: 1.5px;
        margin-bottom: 0;
        max-width: 65%;
    }
    
    .upcoming-card-description {
        font-size: 20px;
        line-height: 1.5;
        margin-top: auto;
        margin-bottom: auto;
        max-width: 90%;
        position: relative;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .upcoming-collection-section {
        margin: 0;
        padding: 15px 10px 0 10px;
    }
    
    .upcoming-collection-cards-wrapper {
        padding: 10px;
    }
    
    .upcoming-collection-cards > div {
        padding: 0 5px;
        margin: 0 auto;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
    }
    
    .upcoming-collection-card {
        aspect-ratio: 1 / 1;
    }
    
    .upcoming-card-image-wrapper {
        aspect-ratio: 1 / 1;
    }
    
    .upcoming-card-overlay {
        padding: 18px 15px;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        padding-top: 60px;
    }
    
    .upcoming-card-title {
        font-size: 26px;
        letter-spacing: 1px;
        margin-bottom: 0;
        max-width: 65%;
    }
    
    .upcoming-card-description {
        font-size: 18px;
        line-height: 1.4;
        margin-top: auto;
        margin-bottom: auto;
        max-width: 90%;
        position: relative;
        text-align: center;
    }
    
    .upcoming-collection-header {
        margin-bottom: 30px;
    }
    
    .upcoming-collection-title {
        font-size: 28px;
    }
    
    .upcoming-collection-date {
        font-size: 16px;
    }
    
    .upcoming-card-image-wrapper {
        height: 280px;
    }
    
    .upcoming-card-overlay {
        padding: 15px 10px;
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        padding-top: 55px;
    }
    
    .upcoming-card-title {
        font-size: 22px;
        letter-spacing: 1px;
        max-width: 70%;
    }
    
    .upcoming-card-description {
        font-size: 16px;
        margin-top: auto;
        margin-bottom: auto;
        max-width: 90%;
        position: relative;
        text-align: center;
    }
}

/* Rizzy Home Products Grid Section */
.rizzy-products-grid-section {
    margin: 60px 60px ;
    padding: 60px 0;
    max-width: 100%;
    overflow-x: hidden;
}

.rizzy-products-grid-wrapper {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 145px;
}

.rizzy-products-grid-title {
    font-family: 'The Seasons', serif;
    font-size: 64px;
    font-weight: 400;
    color: #333;
    margin-bottom: 50px;
    text-transform: none;
    letter-spacing: 0;
    text-align: center;
}

.rizzy-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 65px;
    margin: 0;
    justify-items: stretch;
    justify-content: center;
}

/* Center single item in last row (when it's the only item in that row) */
.rizzy-products-grid .rizzy-product-grid-item:nth-child(3n+1):last-child {
    grid-column: 2;
    justify-self: center;
    align-self: start;
    width: 100%;
}

.rizzy-product-grid-item {
    background-color: #ffffff;
    border: 1px solid #000000;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rizzy-product-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rizzy-product-grid-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.rizzy-product-grid-link:hover {
    text-decoration: none;
    color: inherit;
}

.rizzy-product-grid-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f8f6f3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rizzy-product-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.rizzy-product-grid-item:hover .rizzy-product-grid-image {
    transform: scale(1.05);
}

.rizzy-product-grid-title {
    font-family: 'The Seasons', serif;
    font-size: 38px;
    font-weight: 300;
    color: #333;
    text-align: center;
    padding: 20px 15px 10px;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.rizzy-product-grid-caption {
    font-family: 'The Seasons', serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    text-align: center;
    padding: 0 15px 20px;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
}

/* Responsive Styles for Products Grid */
@media (max-width: 992px) {
    .rizzy-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Center single item in last row for 2-column layout */
    .rizzy-products-grid .rizzy-product-grid-item:nth-child(2n+1):last-child {
        grid-column: 1 / 3;
        margin-left: auto;
        margin-right: auto;
        max-width: calc(50% - 7.5px);
    }
    
    .rizzy-product-grid-image-wrapper {
        height: 280px;
    }
    
    .rizzy-products-grid-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .rizzy-products-grid-section {
        margin: 60px 0;
        padding: 40px 0;
    }
    
    .rizzy-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Remove centering rules for mobile - let items wrap naturally */
    .rizzy-products-grid .rizzy-product-grid-item:nth-child(3n+1):last-child {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
        max-width: none;
    }
    
    .rizzy-products-grid-wrapper {
        padding: 0 15px;
    }

    .rizzy-product-grid-image-wrapper {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .rizzy-product-grid-title {
        font-size: 18px;
        padding: 12px 10px;
        min-height: auto;
    }

    .rizzy-products-grid-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .rizzy-products-grid-section {
        margin: 40px 0;
        padding: 30px 0;
    }

    .rizzy-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rizzy-products-grid-wrapper {
        padding: 0 15px;
    }

    /* Remove centering rules for mobile - let items wrap naturally */
    .rizzy-products-grid .rizzy-product-grid-item:nth-child(2n+1):last-child {
        grid-column: auto;
        justify-self: stretch;
        width: auto;
        max-width: none;
    }

    .rizzy-product-grid-image-wrapper {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .rizzy-product-grid-title {
        font-size: 16px;
        padding: 10px 8px;
    }

    .rizzy-products-grid-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

/* Mobile: Prevent horizontal scroll - Global fixes */
@media (max-width: 768px) {
    /* Remove horizontal padding from container-fluid on mobile */
    .container-fluid.px-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Ensure all sections respect viewport width */
    section {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Fix row padding issues */
    .row.px-lg-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Fix column padding */
    .px-lg-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix any elements with fixed widths */
    * {
        box-sizing: border-box;
    }

    .upcoming-section {
        border-left: none;
        border-right: none;
        overflow-x: hidden;
    }

    .about-rizzy {
        border: none;
        min-height: auto;
        overflow-x: hidden;
    }
    
    /* Rug collection section fixes */
    .rug-collection-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .rug-collection-col {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Products grid section */
    .rizzy-products-grid-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Upcoming collection section */
    .upcoming-collection-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        height: fit-content;
    }
    
    /* Sustainability section */
    .sustainability-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* About Us Page - Font Styles */
.about-rizzyhome h1.section-title,
.about-rizzyhome h2,
.about-rizzyhome h3,
.about-rizzyhome h4,
.about-rizzyhome h5,
.about-rizzyhome h6 {
    font-family: 'The Seasons', serif !important;
}

.about-rizzyhome p,
.about-rizzyhome div,
.about-rizzyhome span,
.about-rizzyhome li,
.about-rizzyhome .col-md-12,
.about-rizzyhome .col-lg-5,
.about-rizzyhome .col-lg-6,
.about-rizzyhome .col-sm-12 {
    font-family: 'Nunito Sans', sans-serif !important;
}

/* About Rizzy Section - Description Styling */
.about-rizzy {
    padding: 0;
    margin: 0;
    width: 100%;
    background: transparent;
    position: relative;
    border: none;
    display: flex;
    flex-direction: column;
}

.about-rizzy-top-bar {
    display: none;
}

.about-rizzy-wrapper {
    width: 100%;
    flex: 1;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.about-rizzy-content {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-rizzy-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.about-rizzy-link:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.8;
}

.about-rizzy-title-top {
    font-family: 'The Seasons', serif;
    font-size: 80px;
    font-weight: 300;
    color: #2c2c2c;
    margin: 0 0 10px 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.about-rizzy-title-bottom {
    font-family: 'The Seasons', serif;
    font-size: 72px;
    font-weight: 400 !important;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
}

.about-description {
    font-family: 'The Seasons', serif;
    font-size: 22px;
    line-height: 42px;
    color: #333333;
    white-space: pre-wrap;
    word-wrap: break-word;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.about-description p {
    margin-bottom: 1.5em;
}

.about-description p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles for About Rizzy Section */
@media (max-width: 992px) {
    .about-rizzy-title-top {
        font-size: 64px;
    }
    
    .about-rizzy-title-bottom {
        font-size: 56px;
    }
    
    .about-description {
        font-size: 20px;
        line-height: 36px;
    }
}

@media (max-width: 768px) {
    .about-rizzy-wrapper {
        min-height: 350px;
    }

    .about-rizzy-title-top {
        font-size: 48px;
    }

    .about-rizzy-title-bottom {
        font-size: 42px;
    }
    
    .about-description {
        font-size: 18px;
        line-height: 32px;
    }
}

@media (max-width: 576px) {
    .about-rizzy {
        min-height: 60vh;
    }
    
    .about-rizzy-title-top {
        font-size: 36px;
    }
    
    .about-rizzy-title-bottom {
        font-size: 32px;
    }
    
    .about-description {
        font-size: 16px;
        line-height: 28px;
    }
}

/* Sustainability & Ethically Crafted Section */
.sustainability-section {
    margin: 60px 0;
    padding: 40px 0;
    max-width: 100%;
    overflow-x: hidden;
}

.sustainability-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sustainability-content .row {
    justify-content: center;
}

.sustainability-content .col-md-6 {
    text-align: center;
}

.sustainability-content h3 {
    text-align: center;
}

.sustainability-content p {
    text-align: center;
}

.ethically-crafted-content {
    text-align: center;
}

.ethically-crafted-content p {
    text-align: center;
    margin-bottom: 15px;
}

.ethically-crafted-content strong {
    display: block;
    margin-bottom: 10px;
}

/* Rug Collection Section Styles */
.rug-collection-section {
    padding: 40px 80px;
    max-width: 100%;
    overflow-x: hidden;
    background-color: #f8f6f3;
}

.rug-collection-frame {
    border: 2px solid #000;
    background-color: #f8f6f3;
    margin: 0 auto;
    max-width: 95%;
    padding: 0;
}

.rug-collection-row {
    margin: 0;
    display: flex;
}

.rug-collection-col {
    padding: 0;
    margin: 0;
    position: relative;
}

.rug-collection-item {
    position: relative;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.rug-collection-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    height: 100%;
    width: 100%;
}

.rug-collection-link:hover {
    text-decoration: none;
    color: inherit;
}

.rug-collection-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #f8f6f3;
    overflow: visible;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rug-layered-images {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    transform: scale(0.9);
    transform-origin: center center;
}

.rug-collection-image.rug-image-layer-1 {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 3;
    box-shadow: none;
    border-radius: 2px;
}

.rug-image-layer-2 {
    position: absolute;
    bottom: -15px;
    left: -12px;
    width: 85%;
    aspect-ratio: 1 / 1;
    background-color: transparent;
    z-index: 2;
    transform: rotate(-2deg);
    box-shadow: none;
    border-radius: 2px;
}

.rug-image-layer-3 {
    position: absolute;
    bottom: -25px;
    left: -20px;
    width: 75%;
    aspect-ratio: 1 / 1;
    background-color: transparent;
    z-index: 1;
    transform: rotate(-4deg);
    box-shadow: none;
    border-radius: 2px;
}

.rug-collection-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background-color: #ffffff7a;
    color: #2c2c2c;
    padding: 15px 35px;
    font-family: 'The Seasons', serif;
    z-index: 20;
    text-align: center;
    box-shadow: none;
    border-radius: 0;
    white-space: nowrap;
}

.rug-collection-col:first-child .rug-collection-text {
    left: auto;
    right: 40px;
    transform: scale(0.9);
    bottom: 80px;
}

.rug-collection-col:last-child .rug-collection-text {
    left: auto;
    right: 40px;
    transform: scale(0.9);
    bottom: 80px;
}

.rug-collection-title {
    font-size: 28px;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0.3px;
    font-family: 'The Seasons', serif;
    font-style: normal;
}

.rug-collection-caption {
    font-size: 15px;
    font-weight: 400;
    color: #555;
    margin: 0;
    line-height: 1.5;
    font-style: italic;
    font-family: 'The Seasons', serif;
}

/* Mobile Header Icons Pill */
.mobile-search-bar {
    background-color: #cfc8c8 !important;
    position: absolute;
    right: 2%;
    top: 70px;
    display: flex;
    height: 67px;
    width: 168px;
    box-shadow: 0 0 5px 0px #dbd9d9;
    z-index: 3;
}

.mobile-header-icons-pill {
    display: flex;
    align-items: center;
    background: #f5f5f0;
    padding: 6px 12px;
    gap: 12px;
    white-space: nowrap;
}

.mobile-pill-text {
    font-family: 'The Seasons', serif;
    font-size: 10px;
    font-weight: 400;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-pill-text:hover {
    color: #8b7355;
    text-decoration: none;
}

.mobile-pill-icon {
    color: #333;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
}

.mobile-pill-icon:hover {
    color: #8b7355;
    text-decoration: none;
}

.mobile-pill-icon .badge-on-cart {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 8px;
    min-width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    border-radius: 50%;
    background: #8b7355;
    color: #fff;
    padding: 0 2px;
}

.mobile-pill-icon .badge-on-wishlist {
    width: 7px;
    height: 7px;
    min-width: 7px;
    padding: 0;
    top: -2px;
    right: -3px;
    background: #c0392b;
}

/* Responsive header pill adjustments */
@media (max-width: 480px) {
    .mobile-header-icons-pill {
        padding: 5px 8px;
        gap: 8px;
    }

    .mobile-pill-text {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .mobile-pill-icon {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .mobile-header-icons-pill {
        padding: 4px 6px;
        gap: 6px;
    }

    .mobile-pill-text {
        font-size: 8px;
    }

    .mobile-pill-icon {
        font-size: 0.85rem;
    }
}

/* Desktop header right section adjustments for smaller screens */
@media (max-width: 1400px) and (min-width: 992px) {
    .new-main-header .header-nav-text {
        font-size: 10px;
        padding: 8px 10px;
        letter-spacing: 1px;
    }

    .new-main-header .header-icons-pill {
        padding: 6px 10px;
        gap: 10px;
        margin-left: 0;
    }

    .new-main-header .header-pill-text {
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    .new-main-header .header-pill-icon {
        font-size: 1rem;
    }

    .upcoming-card-description {
        font-size: 18px;
        padding-top: 60px;
    }
}


/* Footer Background */
footer:not(.redesigned-footer) {
    background-color: #f8f6f3 !important;
}

/* Responsive - Ensure navbar is visible on desktop (above 1400px only) */
@media (min-width: 1401px) {
    .new-main-header.hide-on-mobile {
        display: block !important;
    }

    /* Hide mobile header when desktop header is fully visible */
    body .show-on-mobile {
        display: none !important;
    }
    
    .new-main-header .header-left-section {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .new-main-header .header-left-section .main-nav-menu {
        display: block !important;
        visibility: visible !important;
    }
    
    .new-main-header .header-left-section .main-nav-menu .nav {
        display: flex !important;
        visibility: visible !important;
    }
    
    .new-main-header .header-left-section .nav-item.nav-parent {
        display: list-item !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .new-main-header .header-left-section .nav-item.nav-parent .nav-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Hide desktop navbar at 1400px and below - show mobile menu instead */
/* This must come after all other rules to ensure it overrides */
@media screen and (max-width: 1400px) {
    html body .new-main-header.hide-on-mobile .header-left-section,
    html body .new-main-header .header-left-section,
    html body .new-main-header.hide-on-mobile .col-auto.header-left-section,
    html body .new-main-header .col-auto.header-left-section {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        overflow: hidden !important;
        flex: 0 0 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    html body .new-main-header.hide-on-mobile .header-left-section .main-nav-menu,
    html body .new-main-header .header-left-section .main-nav-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    html body .new-main-header.hide-on-mobile .header-left-section .main-nav-menu .nav,
    html body .new-main-header .header-left-section .main-nav-menu .nav,
    html body .new-main-header .header-left-section .main-nav-menu ul.nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        overflow: hidden !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    html body .new-main-header.hide-on-mobile .header-left-section .nav-item.nav-parent,
    html body .new-main-header .header-left-section .nav-item.nav-parent,
    html body .new-main-header .header-left-section ul.nav .nav-item.nav-parent {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    html body .new-main-header.hide-on-mobile .header-left-section .nav-item.nav-parent .nav-link,
    html body .new-main-header .header-left-section .nav-item.nav-parent .nav-link,
    html body .new-main-header .header-left-section ul.nav .nav-item.nav-parent .nav-link {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
}


@media (max-width: 991px) {
    .new-main-header {
        display: none !important;
    }
    
    .handwoven-tiles {
        flex-direction: column;
    }
    
    .rug-collection-frame {
        max-width: 98%;
    }
    
    .rug-collection-row {
        flex-direction: column;
    }
    
    .rug-collection-col {
        padding: 0;
        margin-bottom: 0;
    }
    
    .rug-collection-item {
        min-height: 280px;
    }
    
    .rug-collection-image-wrapper {
        padding: 18px;
    }
    
    .rug-layered-images {
        aspect-ratio: 1 / 1;
    }
    
    .rug-collection-text {
        padding: 12px 28px;
        bottom: 30px;
        left: auto;
        right: 30px;
        transform: none;
    }
    
    .rug-collection-col:first-child .rug-collection-text,
    .rug-collection-col:last-child .rug-collection-text {
        left: auto;
        right: 30px;
        transform: none;
        bottom: 30px;
    }
    
    .rug-collection-title {
        font-size: 24px;
        letter-spacing: 0.3px;
    }
    
    .rug-collection-caption {
        font-size: 14px;
    }
    
    .pillow-carousel-item {
        width: 240px;
    }
    
    .pillow-product-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .rug-collection-section {
        padding: 40px 0;
    }
    
    .rug-collection-frame {
        max-width: 100%;
        border-width: 1px;
    }
    
    .rug-collection-col {
        padding: 0;
        margin-bottom: 0;
    }
    
    .rug-collection-item {
        min-height: 250px;
    }
    
    .rug-collection-image-wrapper {
        padding: 15px;
    }
    
    .rug-layered-images {
        aspect-ratio: 1 / 1;
    }
    
    .rug-image-layer-2 {
        bottom: -12px;
        left: -10px;
        width: 80%;
        aspect-ratio: 1 / 1;
    }
    
    .rug-image-layer-3 {
        bottom: -20px;
        left: -18px;
        width: 70%;
        aspect-ratio: 1 / 1;
    }
    
    .rug-collection-text {
        padding: 10px 24px;
        bottom: 25px;
        left: auto;
        right: 20px;
        transform: none;
        width: auto;
        max-width: 90%;
    }
    
    .rug-collection-col:first-child .rug-collection-text,
    .rug-collection-col:last-child .rug-collection-text {
        left: auto;
        right: 20px;
        transform: none;
        bottom: 25px;
    }
    
    .rug-collection-title {
        font-size: 20px;
        letter-spacing: 0.2px;
        margin-bottom: 0;
    }
    
    .rug-collection-caption {
        font-size: 13px;
    }
    
    .pillow-carousel-section {
        margin: 60px 0;
    }
    
    .pillow-carousel-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .pillow-carousel-item {
        width: 200px;
    }
    
    .pillow-product-image {
        height: 200px;
    }
    
    .pillow-carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .pillow-carousel-prev {
        margin-right: 10px;
    }
    
    .pillow-carousel-next {
        margin-left: 10px;
    }
}

/* Search Input Animation Styles */
.header-search-input-wrapper {
    overflow: hidden;
    transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
    max-width: 0 !important;
    opacity: 0 !important;
    margin-left: 0 !important;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    width: auto;
    min-width: 0;
    display: flex !important;
}

.header-search-input-wrapper.show {
    max-width: 300px !important;
    opacity: 1 !important;
    margin-left: 10px !important;
    transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
}

/* Adjust menu items when search bar is open */
.header-right-inner.search-open .header-nav-text {
    padding: 10px 10px !important;
    font-size: 11px !important;
    transition: padding 0.3s ease-in-out, font-size 0.3s ease-in-out;
}

.header-right-inner.search-open .header-icons-pill {
    padding: 8px 12px !important;
    gap: 12px !important;
    transition: padding 0.3s ease-in-out, gap 0.3s ease-in-out;
}

.header-right-inner.search-open .header-gray-link {
    transition: padding 0.3s ease-in-out;
}

.header-search-input-wrapper input {
    transition: all 0.3s ease-in-out;
    min-width: 200px;
    flex: 1;
}

.header-search-input-wrapper .header-search-input {
    border: none !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    width: auto !important;
    min-width: 200px;
}

.header-search-input-wrapper .header-search-input:focus {
    border-bottom-color: #000 !important;
    box-shadow: none !important;
}

.header-search-input-wrapper .header-search-input::placeholder {
    color: #999;
}

/* Responsive adjustments for search input */
@media (min-width: 992px) and (max-width: 1200px) {
    .header-search-input-wrapper {
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
    }
    
    .header-search-input-wrapper.show {
        max-width: 250px !important;
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
    }
    
    .header-search-input-wrapper .header-search-input {
        min-width: 180px;
        width: auto !important;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .header-search-input-wrapper {
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
    }
    
    .header-search-input-wrapper.show {
        max-width: 280px !important;
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
    }
}

/* Ensure smooth slide animation on all screen sizes */
@media (min-width: 992px) {
    .header-search-input-wrapper {
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
    }
    
    .header-search-input-wrapper.show {
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
    }
    
    /* Ensure menu items adjust smoothly on all screen sizes */
    .header-right-inner.search-open .header-nav-text {
        transition: padding 0.3s ease-in-out, font-size 0.3s ease-in-out !important;
    }
    
    .header-right-inner.search-open .header-icons-pill {
        transition: padding 0.3s ease-in-out, gap 0.3s ease-in-out !important;
    }
}

/* Specific adjustments for 992px-1080px range to match large screen animation */
@media (min-width: 992px) and (max-width: 1080px) {
    .header-search-input-wrapper {
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
        max-width: 0 !important;
        opacity: 0 !important;
        display: flex !important;
    }
    
    .header-search-input-wrapper.show {
        max-width: 220px !important;
        opacity: 1 !important;
        margin-left: 10px !important;
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
    }
    
    .header-search-input-wrapper .header-search-input {
        min-width: 160px;
        width: auto !important;
    }
    
    /* Ensure menu items adjust the same way as large screens */
    .header-right-inner.search-open .header-nav-text {
        padding: 10px 8px !important;
        font-size: 10px !important;
        transition: padding 0.3s ease-in-out, font-size 0.3s ease-in-out !important;
    }
    
    .header-right-inner.search-open .header-icons-pill {
        padding: 8px 10px !important;
        gap: 10px !important;
        transition: padding 0.3s ease-in-out, gap 0.3s ease-in-out !important;
    }
}

#search-icon-header {
    transition: opacity 0.3s ease-in-out;
}

#search-icon-header.hide {
    opacity: 0;
    pointer-events: none;
    width: 0;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
}

/* Small screen search animation - ensure smooth slide animation */
@media (max-width: 991px) {
    .header-search-input-wrapper {
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
        max-width: 0 !important;
        opacity: 0 !important;
        margin-left: 0 !important;
        display: flex !important;
        visibility: visible !important;
    }
    
    .header-search-input-wrapper.show {
        max-width: 250px !important;
        opacity: 1 !important;
        margin-left: 10px !important;
        transition: max-width 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-left 0.3s ease-in-out !important;
        visibility: visible !important;
    }
    
    .header-search-input-wrapper:not(.show) {
        max-width: 0 !important;
        opacity: 0 !important;
        margin-left: 0 !important;
    }
    
    .header-search-input-wrapper .header-search-input {
        min-width: 180px;
        width: auto !important;
    }
    
    /* Ensure menu items adjust smoothly on small screens */
    .header-right-inner.search-open .header-nav-text {
        padding: 10px 8px !important;
        font-size: 10px !important;
        transition: padding 0.3s ease-in-out, font-size 0.3s ease-in-out !important;
    }
    
    .header-right-inner.search-open .header-icons-pill {
        padding: 8px 10px !important;
        gap: 10px !important;
        transition: padding 0.3s ease-in-out, gap 0.3s ease-in-out !important;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .header-search-input-wrapper.show {
        max-width: 200px !important;
    }
    
    .header-search-input-wrapper .header-search-input {
        min-width: 150px;
    }
}

/* ========== GLOBAL FONT OVERRIDES - FINAL RULES ========== */
/* Ensure ALL headings use The Seasons font */
h1, h2, h3, h4, h5, h6, th,
.section-title, .section-heading, .page-title, .heading,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, th *,
.section-title *, .section-heading *, .page-title *, .heading * {
    font-family: "The Seasons", serif !important;
}

/* Ensure ALL body text uses Nunito Sans */
body, p, a, span, div, li, ul, ol, td,
input, select, textarea, label, button, .btn,
.form-control, .form-select, .form-label,
article, section, aside, nav, main, footer, header,
small, em, i, b, strong, cite, blockquote, pre, code,
table, thead, tbody, tfoot, tr, td,
dl, dt, dd, figcaption {
    font-family: "Nunito Sans", sans-serif !important;
}

/* Exceptions: Keep headings as The Seasons even if nested in body text elements */
h1, h2, h3, h4, h5, h6, th {
    font-family: "The Seasons", serif !important;
}

/* CRITICAL: Header navigation must ALWAYS use The Seasons font - override all body text rules */
.new-main-header,
.new-main-header *,
.new-main-header a,
.new-main-header span,
.new-main-header div,
.new-main-header li,
.new-main-header ul,
.new-main-header .nav-link,
.new-main-header .nav-item,
.new-main-header .header-left-section,
.new-main-header .header-left-section *,
.new-main-header .header-right-section,
.new-main-header .header-right-section *,
.new-main-header .main-nav-menu,
.new-main-header .main-nav-menu *,
.new-main-header .header-nav-text,
.new-main-header .header-pill-text,
.new-main-header .header-gray-link,
.new-main-header .header-icons-pill,
.new-main-header .header-icons-pill *,
.new-main-header .header-search-icon-box,
.new-main-header .header-search-icon-box * {
    font-family: "The Seasons", serif !important;
}
/* ========== END GLOBAL FONT OVERRIDES ========== */

/* ========== SMOOTH SLIDER TRANSITIONS ========== */
/* Override owl carousel inline transition with smooth cubic-bezier easing */
.owl-carousel.home-slider .owl-stage {
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0) !important;
    -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0) !important;
}

/* Remove old fade animation leftovers */
.owl-carousel.home-slider .owl-item {
    opacity: 1 !important;
    animation: none !important;
    -webkit-animation: none !important;
}

/* Smooth product slider too */
.owl-carousel.product-slider .owl-stage {
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1.0) !important;
    -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1.0) !important;
}
/* ========== END SMOOTH SLIDER TRANSITIONS ========== */
