/* Modern Shopify-Style Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* Add separation from fixed navbar */
    border-top: 1px solid #f0f0f0; /* Subtle separation line */
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-tagline {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    display: none;
}

.tagline-text {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    color: rgba(255, 255, 255, 0.9);
    display: none;
}

.hero-text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 4;
}

.hero-actions {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
    z-index: 4;
    width: 100%;
    padding: 0 2rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: white;
    color: black;
    border: 1px solid black;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: transparent;
    color: white;
    border: 1px solid white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.hero-cta:hover .btn-icon {
    transform: translateX(4px);
}

.hero-navigation {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 4;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active,
.hero-dot:hover {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Navbar with Scroll Effect */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(0px) !important;
    box-shadow: none !important;
}

/* Scrolled state - white background with black text */
.header.scrolled {
    background: white !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Default state - black text */
.navigation__link {
    color: #000 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.navigation__link:hover {
    color: rgba(0, 0, 0, 0.7) !important;
    text-decoration: none !important;
}

/* Scrolled state - black text */
.header.scrolled .navigation__link {
    color: #000 !important;
}

.header.scrolled .navigation__link:hover {
    color: rgba(0, 0, 0, 0.7) !important;
}

/* Default state - black icons */
.header-tools__item svg {
    fill: #000 !important;
    color: #000 !important;
    transition: all 0.3s ease !important;
}

.header-tools__item:hover svg {
    fill: rgba(0, 0, 0, 0.7) !important;
    color: rgba(0, 0, 0, 0.7) !important;
}

/* Scrolled state - black icons */
.header.scrolled .header-tools__item svg {
    fill: #000 !important;
    color: #000 !important;
}

.header.scrolled .header-tools__item:hover svg {
    fill: rgba(0, 0, 0, 0.7) !important;
    color: rgba(0, 0, 0, 0.7) !important;
}

/* Cart badge styling - Exact original theme styling */
.header-tools__cart {
    position: relative;
}

.header-tools__cart .cart-amount {
    top: calc(0.25rem + 1em);
    left: calc(0.5rem + 1.4em);
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    background: #b9a16b;
    color: #ffffff;
    font-size: 0.625rem;
    line-height: 1rem;
    text-align: center;
    position: absolute;
}

.header.scrolled .cart-amount {
    background: #b9a16b;
    color: #ffffff;
}

/* Mobile header styling - Default theme behavior */
.header-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.header-mobile.scrolled {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-mobile .navigation__link {
    color: #000 !important;
    transition: all 0.3s ease;
}

.header-mobile.scrolled .navigation__link {
    color: #000 !important;
}

.header-mobile .header-tools__item svg {
    fill: #000 !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.header-mobile .header-tools__item:hover svg {
    fill: rgba(0, 0, 0, 0.7) !important;
    color: rgba(0, 0, 0, 0.7) !important;
}

.header-mobile.scrolled .header-tools__item svg {
    fill: #000 !important;
    color: #000 !important;
}

.header-mobile.scrolled .header-tools__item:hover svg {
    fill: rgba(0, 0, 0, 0.7) !important;
    color: rgba(0, 0, 0, 0.7) !important;
}

/* Mobile cart badge styling - Exact original theme styling */
.header-mobile .header-tools__cart {
    position: relative;
}

.header-mobile .cart-amount {
    top: calc(0.25rem + 1em);
    left: calc(0.5rem + 1.4em);
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    background: #b9a16b;
    color: #ffffff;
    font-size: 0.625rem;
    line-height: 1rem;
    text-align: center;
    position: absolute;
}

.header-mobile.scrolled .cart-amount {
    background: #b9a16b;
    color: #ffffff;
}

/* Ensure mobile cart icon has same size as desktop */
.header-mobile .header-tools__cart svg {
    width: 20px !important;
    height: 20px !important;
    fill: black !important;
    color: black !important;
    transition: all 0.3s ease !important;
}

.header-mobile .header-tools__cart:hover svg {
    fill: rgba(0, 0, 0, 0.7) !important;
    color: rgba(0, 0, 0, 0.7) !important;
}

/* Mobile cart icon positioning - Original theme styling */
.header-mobile .header-tools__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.header-mobile .header-tools__cart:hover {
    transform: scale(1.05) !important;
}

/* Search popup styling - black icons */
.search-field__actor svg {
    fill: #000 !important;
    color: #000 !important;
    transition: all 0.3s ease !important;
}

.search-field__actor:hover svg {
    fill: rgba(0, 0, 0, 0.7) !important;
    color: rgba(0, 0, 0, 0.7) !important;
}

.header.scrolled .search-field__actor svg {
    fill: #000 !important;
    color: #000 !important;
}

.header.scrolled .search-field__actor:hover svg {
    fill: rgba(0, 0, 0, 0.7) !important;
    color: rgba(0, 0, 0, 0.7) !important;
}

/* Ensure all mobile navbar text and icons are black */
.header-mobile,
.header-mobile * {
    color: #000 !important;
}

.header-mobile svg {
    fill: #000 !important;
    color: #000 !important;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 0 !important; /* Remove body padding since we're using margin-top on hero */
}

@media (max-width: 991.98px) {
    body {
        padding-top: 0 !important; /* Remove body padding since we're using margin-top on hero */
    }
}

.footer-middle {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}
.text-right{
    text-align: right;
}
.pt-90 {
    padding-top: 90px !important;
}
.my-account__address-list {
    display: flex;
    gap: 1.625rem;
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: 48px;
}

/* Mobile responsive design for all devices and screen sizes */

/* Global viewport and overflow fixes */
* {
    box-sizing: border-box !important;
}

html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure mobile header is not cropped */
@media (max-width: 991.98px) {
    .header-mobile {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        padding: 12px 0 !important;
        height: auto !important;
        min-height: 70px !important;
        overflow: visible !important;
    }
    
    .header-mobile .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .header-mobile .d-flex {
        width: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    /* Cart styling - Exact original theme */
    .header-mobile .header-tools__cart {
        position: relative;
    }
    
    .header-mobile .cart-amount {
        top: calc(0.25rem + 1em);
        left: calc(0.5rem + 1.4em);
        width: 1rem;
        height: 1rem;
        border-radius: 100%;
        background: #b9a16b;
        color: #ffffff;
        font-size: 0.625rem;
        line-height: 1rem;
        text-align: center;
        position: absolute;
    }
}

/* Mobile Hero Section Styling */
@media (max-width: 991.98px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
        margin-top: 0; /* Remove spacing on mobile */
        border-top: none; /* Remove border on mobile */
    }
    
    .hero-title {
        font-size: 2.5rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        bottom: 1.5rem;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-cta,
    .hero-cta-secondary {
        width: auto;
        max-width: 160px;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 3px;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-navigation {
        bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
        margin-top: 0; /* Remove spacing on small mobile */
        border-top: none; /* Remove border on small mobile */
    }
    
    .hero-title {
        font-size: 2rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .tagline-text {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-cta,
    .hero-cta-secondary {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 3px;
        width: auto;
        max-width: 140px;
    }
    
    .hero-content {
        padding: 1rem 0.75rem;
    }
    
    .hero-actions {
        bottom: 1rem;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0 0.75rem;
    }
}

/* Extra small devices (phones, 320px and up) */
@media (max-width: 575.98px) {
    .slideshow {
        height: 20rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        margin-top: 2.5rem !important;
        padding-top: 0 !important;
        overflow: hidden !important;
    }
    
    .header-mobile {
        padding: 12px 0 !important;
        height: auto !important;
        min-height: 70px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background-color: white !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .header-mobile .logo__image {
        max-height: 1.8rem !important;
    }
    
    .slideshow .swiper-slide {
        height: 100% !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .slideshow .swiper-slide .overflow-hidden {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        height: 100% !important;
    }
    
    .slideshow .swiper-slide .position-absolute {
        display: block !important;
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        top: 0 !important;
    }
    
    .slideshow .swiper-slide .position-absolute img {
        display: block !important;
        width: 100vw !important;
        height: 100% !important;
        object-fit: cover !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .slideshow .slideshow-text {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        z-index: 20 !important;
        width: 100vw !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .slideshow-text h6,
    .slideshow-text h2:not(.btn-link),
    .slideshow-text p {
        display: block !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
        margin-bottom: 1rem !important;
    }
    
    .slideshow-text .btn-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: transparent !important;
        color: black !important;
        padding: 8px 16px !important;
        border-radius: 3px !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        border: 1px solid black !important;
        transition: all 0.3s ease !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin: 0 !important;
        text-align: center !important;
        width: fit-content !important;
        box-shadow: none !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        z-index: 50 !important;
    }
    
    .slideshow-text .btn-link:hover,
    .slideshow-text .btn-link:focus,
    .slideshow-text .btn-link:active {
        text-decoration: none !important;
    }
    
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .slideshow-container,
    .slideshow .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Fix all containers to prevent horizontal overflow */
    .container-fluid,
    .row,
    .col,
    .col-* {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .slideshow-character {
        display: none !important;
    }
    
    main {
        padding-top: 0.5rem !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .slideshow {
        height: 22rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        margin-top: 2.6rem !important;
        padding-top: 0 !important;
        overflow: hidden !important;
    }
    
    .header-mobile {
        padding: 12px 0 !important;
        height: auto !important;
        min-height: 70px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background-color: white !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .header-mobile .logo__image {
        max-height: 1.9rem !important;
    }
    
    .slideshow .swiper-slide {
        height: 100% !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .slideshow .swiper-slide .overflow-hidden {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        height: 100% !important;
    }
    
    .slideshow .swiper-slide .position-absolute {
        display: block !important;
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        top: 0 !important;
    }
    
    .slideshow .swiper-slide .position-absolute img {
        display: block !important;
        width: 100vw !important;
        height: 100% !important;
        object-fit: cover !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .slideshow .slideshow-text {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        z-index: 10 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .slideshow-text h6,
    .slideshow-text h2:not(.btn-link),
    .slideshow-text p {
        display: block !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
        margin-bottom: 1rem !important;
    }
    
    .slideshow-text .btn-link {
        display: block !important;
        background-color: rgba(0, 0, 0, 0.8) !important;
        color: white !important;
        padding: 12px 24px !important;
        border-radius: 5px !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        border: 2px solid white !important;
        transition: all 0.3s ease !important;
        font-size: 15px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: fit-content !important;
    }
    
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .slideshow-container,
    .slideshow .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Fix all containers to prevent horizontal overflow */
    .container-fluid,
    .row,
    .col,
    .col-* {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .slideshow-character {
        display: none !important;
    }
    
    main {
        padding-top: 0.8rem !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .slideshow {
        height: 25rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100vw !important;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        margin-top: 2.8rem !important;
        padding-top: 0 !important;
        overflow: hidden !important;
    }
    
    .header-mobile {
        padding: 12px 0 !important;
        height: auto !important;
        min-height: 70px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background-color: white !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .header-mobile .logo__image {
        max-height: 2rem !important;
    }
    
    .slideshow .swiper-slide {
        height: 100% !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .slideshow .swiper-slide .overflow-hidden {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        height: 100% !important;
    }
    
    .slideshow .swiper-slide .position-absolute {
        display: block !important;
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        top: 0 !important;
    }
    
    .slideshow .swiper-slide .position-absolute img {
        display: block !important;
        width: 100vw !important;
        height: 100% !important;
        object-fit: cover !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .slideshow .slideshow-text {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        z-index: 10 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .slideshow-text h6,
    .slideshow-text h2:not(.btn-link),
    .slideshow-text p {
        display: block !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
        margin-bottom: 1rem !important;
    }
    
    .slideshow-text .btn-link {
        display: block !important;
        background-color: rgba(0, 0, 0, 0.8) !important;
        color: white !important;
        padding: 12px 24px !important;
        border-radius: 5px !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        border: 2px solid white !important;
        transition: all 0.3s ease !important;
        font-size: 16px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: fit-content !important;
    }
    
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .slideshow-container,
    .slideshow .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Fix all containers to prevent horizontal overflow */
    .container-fluid,
    .row,
    .col,
    .col-* {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .slideshow-character {
        display: none !important;
    }
    
    main {
        padding-top: 1rem !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Large devices and up (992px and up) - Desktop */
@media (min-width: 992px) {
    .header-mobile {
        display: none !important;
    }
    
    .slideshow {
        height: 50rem !important;
    }
    
    .slideshow-character {
        display: block !important;
    }
    
    .slideshow-text h6,
    .slideshow-text h2:not(.btn-link),
    .slideshow-text p {
        display: block !important;
        color: inherit !important;
        text-shadow: none !important;
        margin-bottom: 1rem !important;
    }
    
    .slideshow-text .btn-link {
        background-color: transparent !important;
        color: inherit !important;
        border: none !important;
        text-decoration: underline !important;
        font-size: inherit !important;
        text-transform: none !important;
        letter-spacing: normal !important;
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
    }
}

/* Mobile spacing fixes - Legacy support */
@media (max-width: 991.98px) {
    .slideshow {
        height: 25rem !important; /* Reduced height for mobile */
    }
    
    /* Ensure slideshow slides are properly sized */
    .slideshow .swiper-slide {
        height: 100% !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .slideshow .swiper-slide .overflow-hidden {
        height: 100% !important;
    }
    
    .header-mobile {
        padding: 2px 0 !important; /* Reduced padding */
        height: 2.5rem !important; /* Reduced height */
        min-height: 2.5rem !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background-color: white !important;
    }
    
    /* Ensure body doesn't have padding that affects slider */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .header-mobile .logo__image {
        max-height: 2rem !important; /* Smaller logo */
    }
    
    /* Hide slideshow character on mobile */
    .slideshow-character {
        display: none !important;
    }
    
    /* Make slider take full width on mobile - break out of container */
    .slideshow {
        margin-left: -50px !important;
        margin-right: -50px !important;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: 2.8rem !important; /* Reduced space below header */
        padding-top: 0 !important;
        overflow: hidden !important;
    }
    
    /* Ensure slideshow starts below the header */
    main {
        padding-top: 1rem !important;
        margin-top: 0 !important;
    }
    
    /* Remove any container padding that might cause white space */
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Ensure slideshow container has no constraints */
    .slideshow-container,
    .slideshow .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure slideshow breaks out of container */
    .slideshow .swiper-slide .overflow-hidden {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }
    
    /* Ensure slider images are visible and full width on mobile */
    .slideshow .swiper-slide .position-absolute {
        display: block !important;
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        top: 0 !important;
    }
    
    .slideshow .swiper-slide .position-absolute img {
        display: block !important;
        width: 100vw !important;
        height: 100% !important;
        object-fit: cover !important;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    /* Make slideshow text container centered and visible */
    .slideshow .slideshow-text {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        z-index: 10 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Hide title and subtitle on mobile, show only Shop Now button */
    .slideshow-text h6,
    .slideshow-text h2:not(.btn-link),
    .slideshow-text p {
        display: block !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
        margin-bottom: 1rem !important;
    }
    
    /* Style the Shop Now button for mobile */
    .slideshow-text .btn-link {
        display: block !important;
        background-color: rgba(0, 0, 0, 0.8) !important;
        color: white !important;
        padding: 12px 24px !important;
        border-radius: 5px !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        border: 2px solid white !important;
        transition: all 0.3s ease !important;
        font-size: 16px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: fit-content !important;
    }
    
    .slideshow-text .btn-link:hover {
        background-color: white !important;
        color: black !important;
    }
    
    /* Optimize container spacing */
    .container.mw-1620 {
        margin-top: 0.5rem !important; /* Minimal top margin */
    }
    
    /* Reduce spacing between sections */
    .mb-3.mb-xl-5.pt-1.pb-4 {
        margin-bottom: 1rem !important;
        padding-top: 0.5rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Responsive "You Might Like" section */
    .category-carousel {
        padding: 1rem 0 !important;
    }
    
    .category-carousel .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .category-carousel .swiper-slide {
        text-align: center !important;
    }
    
    .category-carousel .swiper-slide img {
        width: 80px !important;
        height: 80px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin: 0 auto 0.5rem !important;
    }
    
    .category-carousel .swiper-slide .menu-link {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
    }
    
    /* Responsive Hot Deals section */
    .hot-deals {
        padding: 1rem 0 !important;
    }
    
    .hot-deals .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hot-deals .col-md-6:first-child {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .hot-deals h2 {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Responsive Featured Products section */
    .products-grid {
        padding: 1rem 0 !important;
    }
    
    .products-grid .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .products-grid .product-card {
        margin-bottom: 1rem !important;
    }
    
    .products-grid .product-card .pc__img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }
    
    .products-grid .product-card .pc__title {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .products-grid .product-card .product-card__price {
        font-size: 0.9rem !important;
    }
    
    /* Responsive bottom navigation */
    .footer-mobile {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background-color: white !important;
        border-top: 1px solid #e4e4e4 !important;
        z-index: 1000 !important;
        padding: 0.5rem 0 !important;
    }
    
    .footer-mobile .footer-mobile__link {
        font-size: 0.7rem !important;
        text-align: center !important;
    }
    
    .footer-mobile .footer-mobile__link svg {
        width: 20px !important;
        height: 20px !important;
        margin-bottom: 0.25rem !important;
    }
    
    /* Add bottom padding to body to account for fixed footer */
    body {
        padding-bottom: 4rem !important;
    }
    
    /* Final overflow prevention */
    .header-mobile .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Ensure footer doesn't cause horizontal scroll */
    .footer-mobile .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Global overflow prevention for all screen sizes */
@media (max-width: 991.98px) {
    html {
        overflow-x: hidden !important;
    }
    
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .container,
    .container-fluid,
    .row,
    .col,
    [class*="col-"] {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Prevent any element from exceeding viewport width */
    * {
        max-width: 100% !important;
    }
    
    /* Specific fixes for common overflow culprits */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .swiper-container,
    .swiper-wrapper,
    .swiper-slide {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Force slideshow to break out of any container constraints */
    .slideshow {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }
    
    /* Ensure slideshow parent containers don't constrain it */
    .slideshow,
    .slideshow * {
        max-width: none !important;
    }
    
    .slideshow .swiper-container,
    .slideshow .swiper-wrapper,
    .slideshow .swiper-slide {
        width: 100vw !important;
        max-width: none !important;
    }
    
    /* Ensure Shop Now button is always visible and centered */
    .slideshow-text .btn-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 30 !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        margin: 0 !important;
    }
    
    /* Force button to be centered regardless of container */
    .slideshow .slideshow-text {
        pointer-events: none !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100vw !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .slideshow .slideshow-text .btn-link {
        pointer-events: auto !important;
    }
}

/* Force Shop Now button to be visible and centered - Final override */
@media (max-width: 991.98px) {
    .slideshow .slideshow-text {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 100 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .slideshow .slideshow-text .btn-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: transparent !important;
        color: black !important;
        padding: 8px 16px !important;
        border-radius: 3px !important;
        border: 1px solid black !important;
        font-weight: 500 !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        margin: 0 !important;
        width: fit-content !important;
        z-index: 101 !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .slideshow .slideshow-text .btn-link:hover,
    .slideshow .slideshow-text .btn-link:focus,
    .slideshow .slideshow-text .btn-link:active {
        text-decoration: none !important;
    }
    
    /* Additional specific targeting for the button */
    .slideshow .swiper-slide .slideshow-text .btn-link,
    .slideshow .swiper-slide .slideshow-text a.btn-link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: transparent !important;
        color: black !important;
        padding: 8px 16px !important;
        border-radius: 3px !important;
        border: 1px solid black !important;
        font-weight: 500 !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        margin: 0 !important;
        width: fit-content !important;
        z-index: 101 !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .slideshow .swiper-slide .slideshow-text .btn-link:hover,
    .slideshow .swiper-slide .slideshow-text .btn-link:focus,
    .slideshow .swiper-slide .slideshow-text .btn-link:active,
    .slideshow .swiper-slide .slideshow-text a.btn-link:hover,
    .slideshow .swiper-slide .slideshow-text a.btn-link:focus,
    .slideshow .swiper-slide .slideshow-text a.btn-link:active {
        text-decoration: none !important;
    }
}

/* Ultra-specific targeting for Shop Now button - Based on actual HTML structure */
@media (max-width: 991.98px) {
    .slideshow .swiper-slide .overflow-hidden .slideshow-text .btn-link,
    .slideshow .swiper-slide .overflow-hidden .slideshow-text a[class*="btn-link"],
    .slideshow .swiper-slide .slideshow-text .btn-link,
    .slideshow .swiper-slide .slideshow-text a[class*="btn-link"] {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: transparent !important;
        color: black !important;
        padding: 8px 16px !important;
        border-radius: 3px !important;
        border: 1px solid black !important;
        font-weight: 500 !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
        margin: 0 !important;
        width: fit-content !important;
        z-index: 200 !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .slideshow .swiper-slide .overflow-hidden .slideshow-text .btn-link:hover,
    .slideshow .swiper-slide .overflow-hidden .slideshow-text .btn-link:focus,
    .slideshow .swiper-slide .overflow-hidden .slideshow-text .btn-link:active,
    .slideshow .swiper-slide .overflow-hidden .slideshow-text a[class*="btn-link"]:hover,
    .slideshow .swiper-slide .overflow-hidden .slideshow-text a[class*="btn-link"]:focus,
    .slideshow .swiper-slide .overflow-hidden .slideshow-text a[class*="btn-link"]:active,
    .slideshow .swiper-slide .slideshow-text .btn-link:hover,
    .slideshow .swiper-slide .slideshow-text .btn-link:focus,
    .slideshow .swiper-slide .slideshow-text .btn-link:active,
    .slideshow .swiper-slide .slideshow-text a[class*="btn-link"]:hover,
    .slideshow .swiper-slide .slideshow-text a[class*="btn-link"]:focus,
    .slideshow .swiper-slide .slideshow-text a[class*="btn-link"]:active {
        text-decoration: none !important;
    }
    
    /* Ensure the container is properly positioned */
    .slideshow .swiper-slide .overflow-hidden .slideshow-text,
    .slideshow .swiper-slide .slideshow-text {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 150 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* MAXIMUM SPECIFICITY - Force remove underline from Shop Now button */
@media (max-width: 991.98px) {
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text .btn-link,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text .btn-link,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text a.btn-link,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text a.btn-link,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text a[class*="btn-link"],
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text a[class*="btn-link"] {
        text-decoration: none !important;
        text-decoration-line: none !important;
        text-decoration-style: none !important;
        text-decoration-color: transparent !important;
        border-bottom: none !important;
        border-bottom-width: 0 !important;
        border-bottom-style: none !important;
        border-bottom-color: transparent !important;
    }
    
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text .btn-link:hover,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text .btn-link:focus,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text .btn-link:active,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text .btn-link:visited,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text .btn-link:hover,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text .btn-link:focus,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text .btn-link:active,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text .btn-link:visited,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text a.btn-link:hover,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text a.btn-link:focus,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text a.btn-link:active,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .overflow-hidden .slideshow-text a.btn-link:visited,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text a.btn-link:hover,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text a.btn-link:focus,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text a.btn-link:active,
    .slideshow .swiper-container .swiper-wrapper .swiper-slide .slideshow-text a.btn-link:visited {
        text-decoration: none !important;
        text-decoration-line: none !important;
        text-decoration-style: none !important;
        text-decoration-color: transparent !important;
        border-bottom: none !important;
        border-bottom-width: 0 !important;
        border-bottom-style: none !important;
        border-bottom-color: transparent !important;
    }
}

/* Add proper padding to products and content sections */
@media (max-width: 991.98px) {
    .products-grid .container,
    .hot-deals .container,
    .category-carousel .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .products-grid .row,
    .hot-deals .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .products-grid .col,
    .products-grid [class*="col-"],
    .hot-deals .col,
    .hot-deals [class*="col-"] {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .product-card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure main content containers have proper padding */
    .container.mw-1620 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Add padding to product grid sections */
    .products-grid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hot-deals {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Fix footer content padding */
    .footer .container,
    .footer .footer-middle .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .footer .row,
    .footer .footer-middle .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .footer .footer-column,
    .footer .col,
    .footer [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .footer .footer-store-info {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .footer .footer-menu {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Add padding to footer menu titles and lists */
    .footer .sub-menu__title {
        padding-left: 5px !important;
        margin-bottom: 15px !important;
    }
    
    .footer .sub-menu__list {
        padding-left: 5px !important;
    }
    
    .footer .sub-menu__item {
        margin-bottom: 8px !important;
    }
    
    .footer .sub-menu__item a {
        padding-left: 0 !important;
    }
    
    /* Ensure footer content has proper spacing from edges */
    .footer .footer-middle {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Fix footer responsiveness and spacing */
    .footer-mobile {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        background-color: white !important;
        border-top: 1px solid #e4e4e4 !important;
        z-index: 1000 !important;
        padding: 0.5rem 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }
    
    .footer-mobile .container,
    .footer-mobile .row,
    .footer-mobile .col,
    .footer-mobile [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer-mobile .row {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 15px !important;
    }
    
    .footer-mobile .row > div {
        flex: 1 !important;
        text-align: center !important;
        padding: 0 5px !important;
        max-width: none !important;
    }
    
    /* Ensure footer content is properly spaced */
    .footer-mobile a,
    .footer-mobile button,
    .footer-mobile__link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: inherit !important;
        width: 100% !important;
        padding: 10px !important;
        min-height: 50px !important;
    }
    
    .footer-mobile svg,
    .footer-mobile i {
        margin-bottom: 0 !important;
    }
    
    .footer-mobile span,
    .footer-mobile .text {
        display: none !important;
    }
    
    /* Force horizontal layout for footer container only */
    .footer-mobile .row {
        flex-direction: row !important;
    }
    
    .footer-mobile .row > div {
        flex-direction: column !important;
    }
    
    /* Override any column direction on the main container */
    .footer-mobile .flex-column {
        flex-direction: row !important;
    }
    
    .footer-mobile .flex-column-reverse {
        flex-direction: row !important;
    }
    
    /* Ensure Bootstrap grid doesn't interfere */
    .footer-mobile .col-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
    
    /* Show all three columns (Home, Shop, Login) */
    .footer-mobile .row > div:nth-child(1),
    .footer-mobile .row > div:nth-child(2),
    .footer-mobile .row > div:nth-child(3) {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        display: block !important;
    }
}

/* Additional footer fixes for all screen sizes */
@media (max-width: 575.98px) {
    .footer-mobile {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0.4rem 0 !important;
    }
    
    .footer-mobile .d-flex {
        padding: 0 10px !important;
    }
    
    .footer-mobile .d-flex > div {
        padding: 0 3px !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .footer-mobile {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0.5rem 0 !important;
    }
    
    .footer-mobile .d-flex {
        padding: 0 15px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .footer-mobile {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0.6rem 0 !important;
    }
    
    .footer-mobile .d-flex {
        padding: 0 20px !important;
    }
}

/* Mobile Hot Deals Carousel Styling */
@media (max-width: 768px) {
    /* Hide the desktop Swiper carousel on mobile */
    .hot-deals .swiper-container:not(.hot-deals-mobile) {
        display: none !important;
    }
    
    /* Show the mobile carousel */
    .mobile-hot-deals-carousel {
        display: block !important;
    }
}

@media (min-width: 769px) {
    /* Hide mobile carousel on desktop */
    .mobile-hot-deals-carousel {
        display: none !important;
    }
    
    /* Show desktop Swiper carousel */
    .hot-deals .swiper-container:not(.hot-deals-mobile) {
        display: block !important;
    }
}

/* Mobile Hot Deals Carousel styling */
.hot-deals-mobile .swiper-container {
    display: block !important;
    overflow: visible !important;
}

.hot-deals-mobile .swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
}

.hot-deals-mobile .swiper-slide {
    height: auto !important;
    display: flex !important;
}

.hot-deals-mobile .product-card {
    width: 100% !important;
    margin-bottom: 0 !important;
}

.hot-deals-mobile .pc__img {
    width: 100% !important;
    height: auto !important;
    max-height: 180px !important;
    object-fit: cover !important;
}

.hot-deals-mobile .pc__title {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

.hot-deals-mobile .product-card__price {
    font-size: 12px !important;
}

.hot-deals-mobile .product-label {
    font-size: 10px !important;
    padding: 2px 6px !important;
}

/* Additional mobile hot deals image fixes - Match featured products styling */
@media (max-width: 768px) {
    .hot-deals-mobile .pc__img-wrapper {
        width: 100% !important;
        height: 200px !important;
        overflow: hidden !important;
        position: relative !important;
        border-radius: 8px 8px 0 0 !important;
    }
    
    .hot-deals-mobile .pc__img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
        transition: transform 0.3s ease !important;
    }
    
    .hot-deals-mobile .pc__img:hover {
        transform: scale(1.05) !important;
    }
    
    .hot-deals-mobile .swiper-slide {
        padding: 0 7.5px !important;
    }
    
    .hot-deals-mobile .product-card {
        border: 1px solid #f0f0f0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        background: white !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .hot-deals-mobile .pc__info {
        padding: 12px !important;
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    /* Ensure proper spacing and alignment */
    .hot-deals-mobile .swiper-container {
        padding: 0 15px !important;
    }
    
    .hot-deals-mobile .swiper-wrapper {
        align-items: stretch !important;
    }
    
    /* Better typography for mobile */
    .hot-deals-mobile .pc__title {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
        font-weight: 500 !important;
    }
    
    .hot-deals-mobile .product-card__price {
        font-size: 11px !important;
        margin-top: auto !important;
    }
    
    /* Discount label positioning */
    .hot-deals-mobile .product-label {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        z-index: 10 !important;
        font-size: 9px !important;
        padding: 3px 6px !important;
        border-radius: 4px !important;
    }
    
    /* Override inline styles and HTML attributes for hot deals mobile */
    .hot-deals-mobile .pc__img[width="150"][height="180"] {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
    
    /* Force override any inline styles */
    .hot-deals-mobile .pc__img[style*="width: 150px"],
    .hot-deals-mobile .pc__img[style*="height: 180px"] {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
    }
    
    /* Ensure image wrapper takes full space */
    .hot-deals-mobile .pc__img-wrapper {
        width: 100% !important;
        height: 200px !important;
        display: block !important;
        position: relative !important;
    }
    
    /* Override any conflicting styles */
    .hot-deals-mobile .pc__img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        min-width: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }
}


/* FORCE Mobile Menu Above Everything - Override All */
@media (max-width: 991.98px) {
    /* Reset z-index for proper layering */
    * {
        z-index: auto;
    }
    
    /* Ensure hero section and other content stay below mobile menu */
    .hero-section,
    .hero-slide,
    .hero-background,
    .hero-overlay,
    .slideshow,
    .swiper-slide {
        z-index: 1 !important;
    }
    
    /* Mobile elements z-index management - Above everything */
    .header-mobile {
        z-index: 9999;
    }
    
    .mobile-nav-activator {
        z-index: 10000 !important;
    }
    
    .header-mobile__navigation {
        z-index: 9998;
    }
    
    /* Mobile nav activator - Default theme behavior */
    .mobile-nav-activator {
        cursor: pointer;
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-nav-activator svg {
        display: block;
        width: 25px;
        height: 18px;
        pointer-events: none;
    }
    
    /* Mobile navigation - Full screen overlay */
    .header-mobile__navigation {
        display: flex;
        flex-direction: column;
        height: 0;
        max-height: 0;
        transition: all .35s ease;
        z-index: 999;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        background: white;
        padding: 0;
        margin: 0;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-100%);
    }
    
    /* Mobile menu opened state - Full screen overlay */
    .mobile-menu-opened {
        overflow: hidden;
    }
    
    /* Add overlay background when mobile menu is open */
    .mobile-menu-opened::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9997;
        pointer-events: auto;
    }
    
    .mobile-menu-opened .header-mobile {
        z-index: 9999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    
    .mobile-menu-opened .header-mobile__navigation {
        height: 100vh;
        max-height: 100vh;
        transition: all .35s ease;
        visibility: visible;
        opacity: 1;
        z-index: 9998 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        background: white !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }
    
    /* Navigation content styling - Full screen overlay */
    .mobile-menu-opened .header-mobile__navigation .container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 4rem 2rem 2rem 2rem !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow-y: auto !important;
    }
    
    .mobile-menu-opened .header-mobile__navigation .navigation__list {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        left: 0 !important;
        transition: all .18s ease-in !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-menu-opened .header-mobile__navigation .navigation__item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .mobile-menu-opened .header-mobile__navigation .navigation__link {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        padding: 1rem 0 !important;
        text-decoration: none !important;
        color: black !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin: 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    /* Icon transitions */
    .mobile-menu-opened .mobile-nav-activator .nav-icon {
        opacity: 0;
        visibility: hidden;
    }
    
    .mobile-menu-opened .mobile-nav-activator .btn-close-lg {
        transform: rotate(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Search field styling */
    .mobile-menu-opened .header-mobile__navigation .search-field {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .mobile-menu-opened .header-mobile__navigation .search-field__input {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        padding: 1rem !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        margin: 0 0 2rem 0 !important;
        color: black !important;
        font-size: 1rem !important;
        background: white !important;
    }
    
    /* Ensure all text in mobile menu is black */
    .mobile-menu-opened .header-mobile__navigation,
    .mobile-menu-opened .header-mobile__navigation * {
        color: black !important;
    }
    
    /* Customer links and social links */
    .mobile-menu-opened .header-mobile__navigation .customer-links {
        color: black !important;
        display: flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 1.5rem 0 !important;
        border-top: 1px solid #e0e0e0 !important;
        margin-top: 2rem !important;
    }
    
    .mobile-menu-opened .header-mobile__navigation .customer-links span {
        color: black !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin-left: 0.5rem !important;
    }
    
    .mobile-menu-opened .header-mobile__navigation .social-links {
        display: flex !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
    }
    
    .mobile-menu-opened .header-mobile__navigation .social-links a {
        color: black !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure all sections are visible */
    .mobile-menu-opened .header-mobile__navigation .border-top {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Make sure overflow-hidden doesn't hide content */
    .mobile-menu-opened .header-mobile__navigation .overflow-hidden {
        overflow: visible !important;
    }
}