.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;
}

/* --- Custom css starts here  */
/* Base styles for the slider container and overall layout */
.es-slider-container {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2ff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Changed to flex-start to allow content to start from top */
    padding: 0;
    /* Remove padding to eliminate unwanted space from the edges */
    color: #333;
    overflow-x: hidden;
    width: 100%;
    /* Ensure it takes full width */
    position: relative;
    /* Needed for any absolute positioning within */
    /* Adjust margin-top to account for a fixed header if you have one.
       If your header is, for example, 60px tall, set this to 60px. */
    margin-top: 0;
    /* Default to 0, adjust with media queries if needed for header */
}

.es-slider-header {
    text-align: center;
    padding: 30px 20px;
    /* Add horizontal padding to prevent text touching edges */
    margin-bottom: 20px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.es-slider-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.2rem;
    margin-bottom: 15px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.es-slider-header p {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
    /* Add padding to paragraph on smaller screens */
}

.es-slider-wrapper {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(30, 60, 114, 0.15);
    margin: 0 auto 40px;
    /* Keep consistent margin-bottom */
    /* Make slider full width for all screens */
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.es-slider-item {
    height: 900px;
    /* Base height for desktop */
    position: relative;
    background-size: cover;
    background-position: center;
    /* Keep background image centered */
}

/*.es-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
                transparent 0%,
                rgba(255, 248, 240, 0.8) 60px,
                rgba(26, 42, 78, 0.9) 200px,
                rgba(26, 42, 78, 0.5) 100%);
    z-index: 1;
}*/

/* Image fade effect at the bottom (unchanged, still fades to off-white) */
/*.es-image-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, rgba(255, 248, 240, 0.8), transparent);
    z-index: 2;
}*/

/* Character image positioning: pushed further down */
.slideshow-character {
    position: absolute;
    bottom: -60px;
    /* Pushed 60px below the bottom edge of the slider */
    right: 0;
    /* Assuming it stays on the right */
    z-index: 3;
    /* Ensure it's above the overlay */
}

.slideshow-character__img {
    max-width: 100%;
    height: auto;
    /* Keep animation if desired */
    animation: fadeInLeft 0.8s ease-out 0.9s both;
}

.es-slider-content {
    position: absolute;
    top: 180px;
    /* Starts at 60px from the top */
    left: 0;
    /* Aligned to the left side */
    transform: none;
    /* Remove translateY to align from top: 60px */
    z-index: 3;
    width: 50%;
    max-width: 700px;
    color: white;
    padding: 50px;
    /* Padding will define distance from left edge */
    text-align: left;
    /* Ensure text is left-aligned */
}

.es-slider-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    /* Base size */
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: es-fade-up 0.8s ease-out 0.3s forwards;
}

.es-slider-description {
    font-size: 1.3rem;
    /* Base size */
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    animation: es-fade-up 0.8s ease-out 0.5s forwards;
    max-width: 90%;
    line-height: 1.7;
}

.es-slider-btn {
    background: linear-gradient(135deg, #4e73e0 0%, #2a5298 100%);
    border: none;
    border-radius: 50px;
    padding: 18px 45px;
    /* Base padding */
    font-size: 1.2rem;
    /* Base font size */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: es-fade-up 0.8s ease-out 0.7s forwards;
    box-shadow: 0 8px 20px rgba(0, 0, 150, 0.3);
    position: relative;
    overflow: hidden;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.es-slider-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 150, 0.4);
    background: linear-gradient(135deg, #5a7de9 0%, #3a63c0 100%);
}

.es-slider-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.es-slider-btn:hover::after {
    left: 100%;
}

.es-slider-indicators {
    z-index: 3;
    bottom: 40px;
    justify-content: flex-start;
    margin-left: 50px;
    /* Base margin for indicators */
    position: absolute;
    /* Ensure indicators are positioned relative to slider wrapper */
    width: auto;
    /* Allow content to dictate width */
    left: 0;
    /* Align indicators to the left */
    right: auto;
    /* Remove right constraint */
}

.es-slider-indicators button {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 12px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.4s;
}

.es-slider-indicators .active {
    background-color: white;
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.es-slider-control-prev,
.es-slider-control-next {
    width: 70px;
    /* Base size */
    height: 70px;
    /* Base size */
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 35px;
    /* Base margin */
    z-index: 3;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.es-slider-control-prev:hover,
.es-slider-control-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.es-slider-control-prev .carousel-control-prev-icon,
.es-slider-control-next .carousel-control-next-icon {
    width: 24px;
    /* Default icon size for larger controls */
    height: 24px;
}

.es-sale-badge {
    position: absolute;
    top: 30px;
    /* Adjusted: pushed down to 30px */
    right: 30px;
    /* Base position */
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    padding: 14px 28px;
    /* Base padding */
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.2rem;
    /* Base font size */
    z-index: 3;
    box-shadow: 0 8px 16px rgba(255, 75, 43, 0.4);
    transform: rotate(5deg);
    animation: es-pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 60px;
}

.es-sale-badge::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 35px;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    z-index: -1;
    filter: blur(10px);
    opacity: 0.6;
}

.es-product-card {
    position: absolute;
    bottom: 40px;
    /* Base position */
    right: 40px;
    /* Base position */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    /* Base padding */
    width: 220px;
    /* Base width */
    text-align: center;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.25);
    opacity: 0;
    transform: translateY(30px);
    animation: es-fade-up 0.8s ease-out 0.9s forwards;
}

.es-product-card h4 {
    font-size: 1.2rem;
    /* Base font size */
    margin: 0;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.es-product-price {
    font-size: 1.8rem;
    /* Base font size */
    font-weight: 800;
    color: #ffeb3b;
    margin: 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.es-product-rating {
    color: #ffeb3b;
    font-size: 1.1rem;
    /* Base font size */
    letter-spacing: 3px;
}

/* Animations */
@keyframes es-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes es-pulse {
    0% {
        transform: rotate(5deg) scale(1);
        box-shadow: 0 10px 25px rgba(255, 75, 43, 0.4);
    }

    50% {
        transform: rotate(5deg) scale(1.05);
        box-shadow: 0 15px 35px rgba(255, 75, 43, 0.6);
    }

    100% {
        transform: rotate(5deg) scale(1);
        box-shadow: 0 10px 25px rgba(255, 75, 43, 0.4);
    }
}

.es-features {
    max-width: 1400px;
    margin: 0 auto 40px;
    width: 100%;
    padding: 0 20px;
    /* Add horizontal padding for smaller screens */
    box-sizing: border-box;
}

.es-feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 249, 255, 0.95) 100%);
    border-radius: 20px;
    padding: 35px 30px;
    /* Base padding */
    height: 100%;
    box-shadow: 0 15px 35px rgba(30, 60, 114, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

.es-feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 45px rgba(30, 60, 114, 0.2);
}

.es-feature-card i {
    font-size: 3.5rem;
    /* Base font size */
    margin-bottom: 25px;
    background: linear-gradient(135deg, #4e73e0 0%, #2a5298 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.es-feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.8rem;
    /* Base font size */
}

.es-feature-card p {
    color: #555;
    font-size: 1.1rem;
    /* Base font size */
    line-height: 1.7;
}

/* --- Responsive adjustments --- */

/* For screens smaller than 1200px (e.g., larger tablets, small desktops) */
@media (max-width: 1200px) {
    .es-slider-header h1 {
        font-size: 2.8rem;
    }

    .es-slider-header p {
        font-size: 1.1rem;
    }

    .es-slider-wrapper {
        /* No specific width adjustment needed here, as 100vw handles it */
        border-radius: 20px;
        /* Slightly less rounded */
    }

    .slideshow-character {
        bottom: -40px;
        /* Adjust character position for smaller screens */
    }

    .es-slider-content {
        width: 55%;
        /* Slightly more space for content */
        padding: 45px;
        top: 60px;
        /* Maintain top position */
        left: 0;
        /* Maintain left alignment */
        text-align: left;
        /* Maintain left alignment */
    }

    .es-slider-title {
        font-size: 3rem;
    }

    .es-slider-description {
        font-size: 1.2rem;
    }

    .es-slider-btn {
        padding: 16px 40px;
        font-size: 1.1rem;
    }

    .es-slider-control-prev,
    .es-slider-control-next {
        width: 60px;
        /* Smaller controls */
        height: 60px;
        margin: 0 25px;
    }

    .es-slider-control-prev .carousel-control-prev-icon,
    .es-slider-control-next .carousel-control-next-icon {
        width: 20px;
        /* Smaller icon size */
        height: 20px;
    }

    .es-sale-badge {
        font-size: 1.1rem;
        padding: 12px 25px;
        top: 25px;
        /* Adjust sale badge position */
    }

    .es-product-card {
        width: 200px;
        padding: 18px;
        font-size: 0.95rem;
        /* Adjust base font for card content */
    }

    .es-product-card h4 {
        font-size: 1.1rem;
    }

    .es-product-price {
        font-size: 1.6rem;
    }

    .es-product-rating {
        font-size: 1.0rem;
    }

    .es-feature-card i {
        font-size: 3rem;
    }

    .es-feature-card h3 {
        font-size: 1.6rem;
    }

    .es-feature-card p {
        font-size: 1rem;
    }
}

/* For screens smaller than 992px (e.g., tablets in portrait) */
@media (max-width: 992px) {
    .es-slider-container {
        /* If your header is approx 70px tall on tablets */
        margin-top: 70px;
    }

    .es-slider-header h1 {
        font-size: 2.5rem;
    }

    .es-slider-header p {
        font-size: 1rem;
    }

    .es-slider-item {
        height: 500px;
        /* Reduced height for tablet */
    }

    .slideshow-character {
        bottom: -20px;
        /* Adjust character position for tablets */
    }

    .es-slider-content {
        width: 70%;
        /* More width for content */
        padding: 35px;
        top: 60px;
        /* Maintain top position */
        left: 0;
        /* Maintain left alignment */
        text-align: left;
        /* Maintain left alignment */
    }

    .es-slider-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .es-slider-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .es-slider-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .es-slider-control-prev,
    .es-slider-control-next {
        width: 50px;
        /* Further smaller controls */
        height: 50px;
        margin: 0 20px;
    }

    .es-slider-control-prev .carousel-control-prev-icon,
    .es-slider-control-next .carousel-control-next-icon {
        width: 16px;
        /* Further smaller icon size */
        height: 16px;
    }

    .es-sale-badge {
        font-size: 1rem;
        padding: 10px 20px;
        top: 20px;
        /* Adjust position */
        right: 20px;
    }

    .es-product-card {
        width: 180px;
        padding: 15px;
        bottom: 30px;
        /* Adjust position */
        right: 30px;
    }

    .es-product-card h4 {
        font-size: 1rem;
    }

    .es-product-price {
        font-size: 1.4rem;
    }

    .es-product-rating {
        font-size: 0.9rem;
    }

    .es-slider-indicators {
        bottom: 30px;
        margin-left: 30px;
        /* Adjust margin for indicators */
    }

    .es-slider-indicators button {
        width: 14px;
        height: 14px;
        margin: 0 10px;
    }

    .es-feature-card {
        padding: 30px 25px;
    }

    .es-feature-card i {
        font-size: 2.5rem;
    }

    .es-feature-card h3 {
        font-size: 1.4rem;
    }

    .es-feature-card p {
        font-size: 0.95rem;
    }
}

/* For screens smaller than 768px (e.g., large phones) */
@media (max-width: 768px) {
    .es-slider-container {
        /* If your header is approx 60px tall on phones */
        margin-top: 60px;
    }

    .es-slider-header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .es-slider-header p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .es-slider-wrapper {
        border-radius: 15px;
        /* Slightly less rounded corners */
        margin-bottom: 30px;
        /* Reduced bottom margin */
    }

    .es-slider-item {
        height: 450px;
        /* Further reduced height */
    }

    .slideshow-character {
        bottom: -30px;
        /* Adjust character position for phones */
        right: -5%;
        /* Pull slightly off-screen to avoid too much overlap */
    }

    .es-slider-content {
        width: 90%;
        /* Almost full width for content */
        padding: 30px;
        text-align: left;
        /* Maintain left alignment */
        top: 60px;
        /* Maintain top position */
        left: 0;
        /* Maintain left alignment */
        transform: none;
        /* Ensure no centering transform */
    }

    .es-slider-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .es-slider-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .es-slider-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .es-slider-control-prev,
    .es-slider-control-next {
        width: 40px;
        /* Even smaller controls */
        height: 40px;
        margin: 0 10px;
    }

    .es-slider-control-prev .carousel-control-prev-icon,
    .es-slider-control-next .carousel-control-next-icon {
        width: 14px;
        /* Smallest icon size */
        height: 14px;
    }

    .es-sale-badge {
        font-size: 0.9rem;
        padding: 8px 15px;
        top: 15px;
        right: 15px;
        transform: rotate(0deg);
        /* Remove rotation on small screens */
    }

    .es-sale-badge::before {
        filter: blur(5px);
        /* Reduce blur for smaller size */
    }

    .es-product-card {
        width: 160px;
        padding: 12px;
        bottom: 20px;
        right: 20px;
    }

    .es-product-card h4 {
        font-size: 0.9rem;
    }

    .es-product-price {
        font-size: 1.2rem;
    }

    .es-product-rating {
        font-size: 0.8rem;
    }

    .es-slider-indicators {
        justify-content: flex-start;
        /* Keep indicators left-aligned */
        margin-left: 20px;
        /* Adjust margin */
        bottom: 20px;
    }

    .es-slider-indicators button {
        width: 12px;
        height: 12px;
        margin: 0 8px;
    }

    .es-feature-card {
        padding: 25px 20px;
    }

    .es-feature-card i {
        font-size: 2rem;
    }

    .es-feature-card h3 {
        font-size: 1.2rem;
    }

    .es-feature-card p {
        font-size: 0.9rem;
    }
}

/* For screens smaller than 576px (e.g., smallest phones) */
@media (max-width: 576px) {
    .es-slider-container {
        margin-top: 50px;
        /* Smallest header margin */
    }

    .es-slider-header h1 {
        font-size: 1.8rem;
    }

    .es-slider-wrapper {
        border-radius: 0;
        /* Remove rounded corners for full edge-to-edge look */
        box-shadow: none;
        /* Reduce shadow for clean look */
        border: none;
        /* Remove border */
    }

    .es-slider-item {
        height: 400px;
        /* Minimum height */
    }

    .slideshow-character {
        bottom: -60px;
        /* Push character further off-screen for very small devices */
        right: -10%;
        /* More off-screen for very small devices */
    }

    .es-slider-content {
        padding: 20px;
        top: 60px;
        /* Maintain top position */
        left: 0;
        /* Maintain left alignment */
        text-align: left;
        /* Maintain left alignment */
    }

    .es-slider-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .es-slider-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .es-slider-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .es-sale-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        top: 10px;
        right: 10px;
    }

    .es-product-card {
        width: 140px;
        padding: 10px;
        bottom: 15px;
        right: 15px;
    }

    .es-product-card h4 {
        font-size: 0.85rem;
    }

    .es-product-price {
        font-size: 1.1rem;
    }

    .es-product-rating {
        font-size: 0.7rem;
    }

    .es-slider-indicators {
        justify-content: flex-start;
        /* Keep indicators left-aligned */
        margin-left: 10px;
        /* Adjust margin */
        bottom: 15px;
    }

    .es-slider-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }

    .es-feature-card {
        padding: 20px 15px;
    }

    .es-feature-card i {
        font-size: 1.8rem;
    }

    .es-feature-card h3 {
        font-size: 1rem;
    }

    .es-feature-card p {
        font-size: 0.8rem;
    }

    .logo a {
        display: block;
        width: 150px;
        /* Adjust this to your desired logo width */
        height: auto;
        /* Maintain aspect ratio */
        overflow: hidden;
        transition: box-shadow 0.3s ease-in-out;
        /*box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);*/
        cursor: pointer;
    }
}