/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large Screens (≤1400px) */
@media screen and (max-width: 1400px) {
    .products-container {
        padding: 0 100px;
        width: 100%;
        overflow: hidden;
    }

    .hero-content-card {
        left: 100px;
    }

    .products-grid {
        display: flex;
        gap: 40px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .products-grid::-webkit-scrollbar {
        display: none;
    }
}

/* Tablets (≤992px) */
@media screen and (max-width: 992px) {
    /* Top Info Bar */
    .top-info-bar {
        height: 45px;
    }

    .top-info-text {
        font-size: 14px;
        padding: 0 20px;
    }

    /* Navbar */
    .main-navbar {
        height: 70px;
    }

    .navbar-content {
        height: 50px;
        gap: 15px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .location-dropdown {
        padding: 6px 12px;
        font-size: 12px;
    }

    .search-input {
        padding: 8px 35px 8px 12px;
        font-size: 12px;
    }

    .nav-icon {
        font-size: 20px;
    }

    /* Hero Section */
    .hero-section {
        height: 500px;
    }

    .hero-content-card {
        width: 600px;
        height: 280px;
        top: 150px;
        left: 50px;
        padding: 30px 40px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-button {
        font-size: 14px;
        padding: 10px 25px;
    }

    /* Products Section */
    .products-container {
        padding: 0 50px;
        width: 100%;
        overflow: hidden;
    }

    .products-heading {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .products-grid {
        display: flex;
        gap: 30px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .products-grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        width: 200px;
        height: 200px;
    }

    .product-image {
        height: 150px;
    }

    .product-title {
        font-size: 14px;
    }

    /* Footer */
    .footer-container {
        padding: 0 30px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-contact {
        gap: 10px;
    }

    .contact-text {
        font-size: 14px;
    }

    .footer-link,
    .social-icon {
        font-size: 14px;
    }
}

/* Mobile (≤576px) */
@media screen and (max-width: 576px) {
    /* Top Info Bar - Hidden on Mobile */
    .top-info-bar {
        display: none;
    }

    /* Navbar - Mobile Layout */
    .main-navbar {
        height: 40px;
        position: relative;
    }

    .navbar-container {
        padding: 0;
        position: relative;
        height: 40px;
    }

    .navbar-content {
        height: 40px;
        position: relative;
        width: 375px;
        max-width: 100%;
    }

    .navbar-left {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 40px;
    }

    .navbar-logo {
        position: absolute;
        top: 4px;
        left: 20px;
        width: 44px;
        height: 32px;
    }

    .logo-image {
        width: 44px;
        height: 32px;
        object-fit: contain;
    }

    .navbar-location {
        position: absolute;
        top: 7px;
        left: 81px;
        width: 87px;
        height: 26px;
        padding: 4px 6px;
        gap: 2px;
        border-radius: 3.7px;
    }

    .location-label {
        font-family: 'Roboto', sans-serif;
        font-size: 6px;
        font-weight: 400;
        margin-top: 0;
        line-height: 1;
    }

    .location-dropdown {
        font-size: 8px;
        font-weight: 500;
        padding: 0;
        min-height: auto;
    }

    .location-content {
        gap: 1px;
    }

    .location-icon {
        width: 7px;
        height: 4px;
    }

    .navbar-center {
        display: none;
    }

    .navbar-right {
        display: none;
    }

    /* Mobile Cart Icon - positioned to the left of hamburger menu */
    .mobile-cart-icon-wrapper {
        display: flex;
        position: absolute;
        top: 2px;
        left: 260px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        z-index: 99;
    }

    .mobile-cart-icon-wrapper .nav-icon-image {
        position: relative;
        top: 2px;
        right: -10px;
        width: 36px;
        height: 36px;
    }

    .mobile-cart-icon-wrapper .cart-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: 0px;
        right: -15px;
    }

    /* Mobile Hamburger Menu Icon - CSS variable set in style.css */

    .navbar-content::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 319px;
        width: 36px;
        height: 36px;
        background-color: #A8863B;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 100;
    }

    .navbar-content::before {
        content: var(--menu-icon, '☰');
        position: absolute;
        top: 2px;
        left: 319px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #FFFFFF;
        cursor: pointer;
        z-index: 101;
        pointer-events: none;
    }

    /* Mobile Menu Overlay - Full Page */
    .mobile-menu {
        display: none;
        width: 100%;
        max-width: 375px;
        height: calc(100vh - 40px);
        min-height: calc(100vh - 40px);
        position: fixed;
        top: 40px;
        left: 0;
        right: 0;
        background-color: #A8863B;
        z-index: 99;
        overflow-y: auto;
    }

    .mobile-menu.active {
        display: block;
    }

    /* Hide page content when menu is open */
    body.menu-open .hero-section,
    body.menu-open .products-section,
    body.menu-open .main-footer {
        display: none;
    }

    .mobile-menu-content {
        width: 100%;
        max-width: 335px;
        min-height: 138px;
        background-color: transparent;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        padding: 0;
        padding-top: 20px;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 335px;
        height: 42px;
        padding: 0 20px;
        text-decoration: none;
        color: #FFFFFF;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        font-style: normal;
        border-bottom: 1px solid #FAF7F0;
        box-sizing: border-box;
    }

    .mobile-menu-item span {
        flex: 1;
        text-align: left;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        font-style: normal;
    }

    .menu-arrow {
        width: 12px;
        height: 24px;
        object-fit: contain;
        filter: brightness(0) invert(1); /* Make arrow white */
    }

    .menu-divider {
        display: none; /* Removed dividers, using border-bottom instead */
    }

    /* Hero Section - Mobile */
    .hero-section {
        width: 375px;
        height: 325px;
        max-width: 100%;
    }

    .hero-background {
        background-image: url('images/m1.png');
        background-size: cover;
        background-position: center;
    }

    .hero-content-card {
        width: 257px;
        height: 208px;
        top: 58px;
        left: 20px;
        transform: none;
        padding: 20px 25px;
    }

    .hero-button {
        margin-top: -5px;
    }

    .hero-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 12px;
        font-weight: 400;
        font-style: normal;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .hero-description .desktop-only {
        display: none;
    }

    .hero-button {
        font-size: 12px;
        font-weight: 600;
        padding: 10px 20px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .hero-button .button-arrow {
        width: auto;
        height: 12px;
        object-fit: contain;
        display: inline-block;
    }

    /* Products Section - Mobile */
    .products-section {
        padding: 30px 0 5px 0;
        position: relative;
    }

    .products-container {
        padding: 0 15px;
        width: 100%;
        overflow: visible;
    }

    .products-heading {
        font-size: 20px;
        font-weight: 700;
        font-style: normal;
        margin-bottom: 25px;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .product-card {
        width: 100%;
        height: 160px;
        padding: 10px;
        position: relative;
        border: 1px solid #F6F7F9;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .product-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    /* Product images - Mobile specific positioning */
     .product-card-1 .product-image {
        width: 100%;
        height: auto;
        top: 50px;
        left: 0;
        border-bottom-right-radius: 20px;
      }
    }

    .product-card-2 .product-image-bg {
        width: 141px;
        height: 77px;
        top: 83px;
        left: 0px;
        border-bottom-right-radius: 20px;
        mix-blend-mode: darken;
    }

    .product-card-2 .product-image-bg .product-image {
        width: 100%;
        height: 100%;
        border-bottom-right-radius: 20px;
    }

    .product-card-3 .product-image {
        width: 160px;
        height: 99px;
        top: 61px;
        left: 0px;
        border-radius: 20px;
    }

    .product-card-4 .product-image {
        width: 131.734px;
        height: 85.698px;
        top: 74px;
        left: 14px;
    }

    .product-card-5 .product-image {
        width: 135px;
        height: 85px;
        top: 70px;
        left: 19px;
    }

    .product-card-6 .product-image {
        width: 116px;
        height: 100px;
        top: 60px;
        left: 45px;
    }

    .product-image {
        top: 70px;
        height: 94px;
        position: absolute;
        object-fit: cover;
        display: block;
    }

    .view-all-button {
        display: none;
    }

    /* Footer - Mobile */
    .main-footer {
        height: auto;
        min-height: auto;
    }

    .footer-top {
        height: auto;
        min-height: auto;
        padding: 10px 0;
        border-bottom: 1px solid #0066FF;
    }

    .footer-container {
        padding: 0 15px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        flex-wrap: nowrap;
    }

    .footer-top .footer-social {
        display: none;
    }

    .footer-contact {
        width: auto;
        flex-direction: row;
        gap: 15px;
        align-items: center;
        flex-wrap: nowrap;
    }

    .contact-item {
        gap: 6px;
        display: flex;
        align-items: center;
    }

    .contact-icon {
        width: 16px;
        height: 16px;
    }

    .contact-text {
        font-size: 12px;
        font-weight: 400;
    }

    .footer-nav {
        width: auto;
        justify-content: flex-start;
        margin-left: 40px;
        position: static;
        transform: none;
    }

    .footer-link {
        font-size: 12px;
        font-weight: 400;
        text-decoration: underline;
        text-decoration-color: rgba(0, 0, 0, 0.3);
        text-underline-offset: 3px;
    }

    .footer-social {
        display: flex;
        width: auto;
        justify-content: flex-start;
        gap: 0;
        padding-top: 0;
        border-top: none;
    }

    .social-icon {
        padding: 0 12px;
    }

    .footer-bottom .social-icon img {
        width: 15px;
        height: 14px;
        filter: brightness(0) invert(1);
    }

    .footer-bottom {
        height: 45px;
        background-color: #333333;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }

    .footer-bottom .footer-social {
        display: flex;
        order: 1;
    }

    .copyright-text {
        font-size: 9px;
        font-weight: 400;
        font-style: normal;
        padding: 0;
        color: #FFFFFF;
        order: 2;
    }
}

/* Extra Small Mobile (≤400px) */
@media screen and (max-width: 400px) {
    .products-grid {
        gap: 12px;
    }

    .hero-content-card {
        padding: 18px 20px;
        max-width: 280px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-description {
        font-size: 11px;
    }

    .products-heading {
        font-size: 24px;
    }

    .product-title {
        font-size: 13px;
    }
}

/* ============================================
   LISTING PAGE RESPONSIVE STYLES
   ============================================ */

/* Large Screens (≤1400px) */
@media screen and (max-width: 1400px) {
    .listing-products-grid {
        grid-template-columns: repeat(3, 345px);
        gap: 20px;
    }
}

/* Tablets (≤992px) */
@media screen and (max-width: 992px) {
    .listing-header-section {
        padding: 40px 0 30px 0;
    }

    .listing-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .listing-description {
        font-size: 14px;
        max-width: 600px;
    }

    .listing-products-grid {
        grid-template-columns: repeat(2, 345px);
        gap: 20px;
    }

    .listing-products-section {
        padding: 0 0 40px 0;
    }

    .listing-pagination-section {
        padding: 0 0 40px 0;
    }
}

/* Mobile (≤576px) */
@media screen and (max-width: 576px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .listing-header-section {
        padding: 20px 0 15px 0;
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
    }

    .listing-header-container {
        padding: 0 20px;
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .listing-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 100%;
        letter-spacing: -0.02em;
        text-align: center;
        margin-bottom: 8px;
    }

    .listing-description {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 140%;
        text-align: center;
        max-width: 100%;
    }

    .listing-description .desktop-only-text {
        display: none;
    }

    .listing-products-section {
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
        padding: 0 0 40px 0;
    }

    .listing-products-container {
        padding: 0 20px;
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
    }

    .listing-products-grid {
        grid-template-columns: 1fr;
        gap: 0;
        justify-items: center;
        width: 335px;
        margin: 0 auto;
    }

    .listing-product-card {
        width: 335px;
        height: 358.304px;
        display: flex;
        flex-direction: column;
        gap: 17.48px;
        margin-bottom: 16px;
    }

    .listing-product-card:nth-child(n+8) {
        display: none;
    }

    .listing-product-image {
        width: 335px;
        height: 290.333px;
        border-radius: 19.42px;
        margin-bottom: 0;
        margin-top: 0;
    }

    .listing-product-name {
        font-family: 'Roboto', sans-serif;
        font-size: 19.42px;
        font-weight: 700;
        line-height: 100%;
        padding-left: 10px;
        margin: 0 0 0px 0;
    }

    .listing-price-row {
        padding-left: 10px;
        margin-top: -10px;
        margin-bottom: 0;
        gap: 8px;
    }

    .listing-current-price {
        font-family: 'Roboto', sans-serif;
        font-size: 19.42px;
        font-weight: 500;
        line-height: 100%;
    }

    .listing-old-price {
        font-family: 'Roboto', sans-serif;
        font-size: 15.54px;
        font-weight: 400;
        line-height: 100%;
    }

    .listing-pagination-section {
        padding: 0 0 30px 0;
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .listing-pagination-container {
        width: 335px;
        height: 32px;
        max-width: 335px;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        flex-wrap: nowrap;
        margin: 0 auto;
    }

    .listing-pagination-numbers {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 0;
        justify-content: center;
        margin: 0 auto;
    }

    .listing-pagination-number {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 10.21px;
        font-weight: 500;
        line-height: 100%;
        width: auto;
        height: auto;
        min-width: auto;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        color: #333;
    }

    .listing-pagination-number-active {
        width: 32px;
        height: 32px;
        background-color: #333333;
        color: #FFFFFF;
        border-radius: 50%;
        padding: 0;
        min-width: 32px;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .listing-pagination-arrow {
        width: 32px;
        height: 32px;
    }

    .listing-pagination-arrow-icon {
        width: 7.17px;
        height: 14px;
    }

    .listing-pagination-ellipsis {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 10.21px;
        font-weight: 500;
        line-height: 100%;
        width: auto;
        height: auto;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        margin: 0 6px 0 6px;
        margin-right: -10px;
        color: #333;
        display: inline-block !important;
        visibility: visible !important;
    }
}

/* Extra Small Mobile (≤400px) */
@media screen and (max-width: 400px) {
    .listing-title {
        font-size: 20px;
    }

    .listing-description {
        font-size: 11px;
    }

    .listing-product-name {
        font-size: 16px;
    }

    .listing-current-price {
        font-size: 16px;
    }

    .listing-old-price {
        font-size: 13px;
    }
}

/* ============================================
   LISTING DETAIL PAGE MOBILE STYLES
   ============================================ */
@media (max-width: 576px) {
    /* SECTION 1: MAIN PRODUCT IMAGE (MOBILE) */
    .detail-main-section {
        padding: 20px 0;
        display: flex;
        flex-direction: column;
    }

    .detail-main-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        gap: 0;
        margin-bottom: 0;
    }

    .detail-main-container:first-of-type {
        display: contents;
    }

    .detail-main-container:first-of-type .detail-main-image-container {
        order: 1;
        padding: 0 20px;
        margin-bottom: 15px;
    }

    .detail-main-container:first-of-type .detail-content-box {
        order: 3;
        padding: 0 20px;
        margin-top: -30px;
    }

    .detail-main-container:last-of-type {
        order: 2;
        margin-top: 0;
        margin-bottom: 0;
    }

    .detail-thumbnails-container {
        margin-bottom: 10px !important;
    }

    .detail-main-image-container {
        width: 335px;
        height: 403px;
        margin: 0;
    }

    .detail-main-image {
        width: 335px;
        height: 403px;
        border-radius: 20px;
    }

    .detail-discount-tag {
        top: 15px;
        right: -4px;
        width: 80px;
        height: 80px;
        padding: 8px;
    }

    .detail-discount-percent {
        font-size: 24px;
    }

    .detail-discount-label {
        font-size: 12px;
    }

    /* SECTION 2: THUMBNAIL IMAGES (HORIZONTAL SLIDER) */
    .detail-thumbnails-container {
        width: 100%;
        max-width: 335px;
        margin: 0;
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;
    }

    .detail-thumbnails-container::-webkit-scrollbar {
        display: none;
    }

    .detail-thumbnail-image {
        width: 84px;
        height: 80px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    /* SECTION 3: PRODUCT TITLE & PRICE */
    .detail-content-box {
        width: 335px;
        margin: 20px 0 0 0;
        padding: 0;
        gap: 20px;
    }

    .detail-product-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 22px;
        font-weight: 600;
        line-height: 120%;
        text-align: left;
    }

    .detail-price-row {
        gap: 8px;
    }

    .detail-current-price {
        font-family: 'Roboto', sans-serif;
        font-size: 26px;
        font-weight: 700;
    }

    .detail-old-price {
        font-family: 'Roboto', sans-serif;
        font-size: 20px;
        font-weight: 400;
    }

    /* SECTION 4: QUANTITY + ADD TO CART (MOBILE) */
    .detail-action-container {
        width: 335px;
        height: 60px;
        gap: 10px;
        margin: 0 auto;
    }

    .detail-quantity-box {
        width: 101px;
        height: 60px;
    }

    .detail-add-to-cart-button {
        width: 224px;
        height: 60px;
    }

    /* SECTION 5: RELATED PRODUCTS (MOBILE) */
    .detail-related-section {
        padding: 10px 0 20px;
    }

    .detail-related-container {
        padding: 0 20px;
    }

    .detail-related-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.02em;
        margin-bottom: 5px !important;
    }

    .detail-related-description {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 140%;
        width: 345px;
        height: 42px;
        margin: 0 auto 0;
        margin-bottom: 5px !important;
    }

    .detail-related-description .desktop-description {
        display: none;
    }

    .detail-related-description .mobile-description {
        display: inline;
    }

    /* SECTION 6: RELATED PRODUCTS SLIDER */
    .detail-related-grid-section {
        padding: 10px 0 50px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden;
        position: relative;
    }

    .detail-related-grid-container {
        display: flex !important;
        gap: 15.39px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        width: 100% !important;
        justify-content: flex-start !important;
        box-sizing: border-box;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        transform: translateX(0) !important;
    }

    .detail-related-grid-container::-webkit-scrollbar {
        display: none;
    }

    .detail-related-card {
        width: 295px;
        height: 315.52px;
        flex-shrink: 0;
        gap: 10px;
        position: relative;
    }

    .detail-related-card:first-child {
        margin-left: 20px !important;
    }

    .detail-related-card:last-child {
        margin-right: 20px;
    }

    .detail-related-image {
        width: 295px;
        height: 255.67px;
        border-radius: 17.1px;
    }

    .detail-related-name {
        font-family: 'Roboto', sans-serif;
        font-size: 17.1px;
        font-weight: 700;
        padding-left: 10px;
    }

    .detail-related-price-row {
        padding-left: 10px;
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .detail-related-current-price {
        font-family: 'Roboto', sans-serif;
        font-size: 17.1px;
        font-weight: 500;
    }

    .detail-related-old-price {
        font-family: 'Roboto', sans-serif;
        font-size: 13.68px;
        font-weight: 400;
    }

    .detail-related-shop-icon {
        width: 44.46px;
        height: 44.46px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        object-fit: contain;
    }
}

/* ============================================
   CART PRODUCT LIST PAGE - MOBILE VIEW
   ============================================ */

@media (max-width: 767px) {
    .cart-section {
        padding: 20px;
    }

    .cart-container {
        max-width: 100%;
        gap: 20px;
    }

    .cart-title {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -2%;
        text-align: center;
        margin-top: 5px;
    }

    .cart-main-box {
        width: 335px;
        min-height: 512px;
        height: auto;
        margin: 0 auto;
        padding: 10px;
        border-radius: 12px;
        gap: 0;
    }

    .cart-table-header {
        display: none;
    }

    .cart-product-row {
        display: flex;
        flex-direction: column;
        width: 321px;
        min-height: 106px;
        padding: 15px 0 0 0;
        border-bottom: 1px solid #D9D9D9;
        gap: 0;
        margin: 0 auto;
        position: relative;
    }

    .cart-product-code {
        width: 321px;
        height: 65px;
        display: flex;
        gap: 8px;
        align-items: center;
        margin-left: 0;
        position: relative;
        padding-bottom: 10px;
    }

    .cart-product-image {
        width: 73px;
        height: 65px;
        border-radius: 10px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .cart-product-details {
        width: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0px;
        padding-right: 80px;
    }

    .cart-product-title {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 600;
        font-size: 12px;
        line-height: 130%;
        color: #333333;
        margin: 0;
    }

    .cart-product-meta {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 400;
        font-size: 10px;
        line-height: 160%;
        color: #333333;
        margin: 0;
    }

    .cart-meta-value {
        color: #666666;
    }

    .cart-action-box {
        width: auto;
        margin-left: 0;
        position: absolute;
        right: 80px;
        top: 30px;
    }

    .cart-delete-icon {
        width: 11.66px;
        height: 14px;
        object-fit: contain;
        cursor: pointer;
    }

    .cart-quantity-box {
        width: 62px;
        height: 28px;
        border-radius: 25px;
        border: 1px solid #D9D9D9;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #FFFFFF;
        margin-left: 0;
        position: absolute;
        right: 5px;
        top: 30px;
    }

    .cart-quantity-box::before {
        content: "Quantity";
        position: absolute;
        top: -20px;
        left: 8px;
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 500;
        font-size: 10px;
        color: #333333;
        white-space: nowrap;
    }

    .cart-quantity-text {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 500;
        font-size: 10px;
        color: #666666;
        border: none;
        outline: none;
        background: transparent;
        width: 100%;
    }

    .cart-quantity-text::placeholder {
        color: #333333;
    }

    .cart-price-box {
        width: 300px;
        height: 31px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        margin-left: 0;
        padding-right: 0;
        margin-top: 5px;
        position: relative;
    }

    .cart-price-box::after {
        content: "";
        position: absolute;
        top: -5px;
        left: 40px;
        width: 243px;
        height: 0px;
        border-top: 1px solid #D9D9D9;
    }

    .cart-price-box::before {
        content: "Price";
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 500;
        font-size: 12px;
        color: #666666;
        position: absolute;
        left: 145px;
        top: 50%;
        transform: translateY(-50%);
    }

    .cart-price-text {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 160%;
        color: #333333;
        text-align: right;
        margin-left: 220px;
    }

    .cart-total-section {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 243px;
        height: 31px;
        padding: 0;
        margin: 20px auto 0;
        position: relative;
        overflow: visible;
    }

    .cart-total-section::before {
        content: "Total Pay";
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 500;
        font-size: 12px;
        color: #666666;
        position: absolute;
        left: 125px;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
        z-index: 2;
    }

    .cart-total-label {
        display: none !important;
    }

    .cart-total-amount {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 160%;
        color: #333333;
        position: absolute;
        left: 198px;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: right;
        white-space: nowrap;
        z-index: 2;
    }

    .cart-confirm-button {
        width: 335px;
        height: 60px;
        margin: 20px auto 30px;
    }

    .cart-button-arrow {
        display: none;
    }
}

/* ============================================
   ENTER YOUR DETAILS PAGE - MOBILE VIEW
   ============================================ */

@media (max-width: 767px) {
    .details-section {
        padding: 30px 0 40px;
    }

    .details-container {
        width: 100%;
        max-width: 375px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .details-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 100%;
        letter-spacing: -2%;
        color: #333333;
        text-align: center;
        margin: 0 0 30px 0;
    }

    .details-form-container {
        width: 335px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0 auto;
    }

    .details-input-group {
        display: flex;
        flex-direction: column;
        position: relative;
        gap: 0;
    }

    .details-label {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 130%;
        letter-spacing: -2%;
        color: #666666;
        position: absolute;
        top: -8px;
        left: 15px;
        background-color: #FFFFFF;
        padding: 0 8px;
        z-index: 1;
    }

    .details-input {
        width: 335px;
        height: 58px;
        border: 1px solid #D9D9D9;
        border-radius: 12px;
        padding: 0 22px;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 58px;
        letter-spacing: -2%;
        color: #333333;
        background-color: #FFFFFF;
        box-sizing: border-box;
        vertical-align: middle;
    }

    .details-input::placeholder {
        color: #999999;
    }

    .details-done-button {
        width: 335px;
        height: 60px;
        border-radius: 12px;
        background-color: #A8863B;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 180%;
        letter-spacing: -1%;
        color: #FFFFFF;
        margin: 190px auto 0;
    }

    .details-done-button:hover {
        background-color: #8d6f2f;
    }

    .details-button-arrow {
        display: none;
    }
}

/* ============================================
   USER DETAILS PAGE - MOBILE VIEW
   ============================================ */

@media (max-width: 767px) {
    .userdetails-section {
        padding: 20px 20px 0 !important;
        min-height: auto !important;
    }

    .userdetails-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        display: flex;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* PRODUCT INFORMATION BLOCK */
    .userdetails-left-block {
        width: 335px;
        height: auto;
        padding: 0;
        border: none;
        display: contents;
    }
    
    .userdetails-product-list {
        order: 1;
        width: 335px;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .userdetails-price-section {
        order: 3;
    }

    .userdetails-product-list {
        width: 335px;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .userdetails-product-divider {
        display: none;
    }

    /* PRODUCT ROW */
    .userdetails-product-row {
        width: 335px;
        height: 79px;
        border: 1px solid #D9D9D9;
        border-radius: 12px;
        padding: 7px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    /* IMAGE + TITLE BLOCK */
    .userdetails-product-info {
        width: 215px;
        height: 65px;
        display: flex;
        gap: 5px;
    }

    .userdetails-product-image {
        width: 73px;
        height: 65px;
        border-radius: 10px;
        object-fit: cover;
    }

    .userdetails-product-title-block {
        width: auto;
        height: 65px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
    }

    .userdetails-product-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 600;
        line-height: 130%;
        color: #333333;
        margin: 0;
        margin-bottom: 2px;
    }

    .userdetails-product-meta {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 10px;
        font-weight: 400;
        color: #333333;
        margin: 0;
        line-height: 130%;
    }

    .userdetails-meta-value {
        color: #666666;
    }

    /* PRICE */
    .userdetails-product-price {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 160%;
        color: #333333;
        text-align: right;
    }

    .userdetails-divider {
        display: none;
    }

    /* TO PAY ACCORDION BLOCK */
    .userdetails-price-section {
        width: 335px;
        min-height: 50px;
        height: auto;
        border: 1px solid #D9D9D9;
        border-radius: 12px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 0;
        position: relative;
        top: 0;
        left: 0;
        opacity: 1;
        box-sizing: border-box;
        overflow: hidden;
        margin-top: -18px;
        transition: height 0.3s ease;
    }

    .userdetails-price-accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 0;
        min-height: 24px;
        margin-bottom: 0;
    }

    .userdetails-price-accordion-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: #333333;
    }

    .userdetails-price-accordion-arrow {
        width: 22px;
        height: 36px;
        object-fit: contain;
        transition: transform 0.3s ease;
        display: block !important;
        visibility: visible !important;
    }

    .userdetails-price-accordion-header:not(.active) .userdetails-price-accordion-arrow {
        transform: rotate(180deg);
    }

    .userdetails-price-accordion-divider-top {
        width: 307px;
        height: 0px;
        border-top: 1px dashed #D9D9D9;
        margin: 8px 0 0 0;
        opacity: 1;
        display: block;
    }

    .userdetails-price-accordion-content {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        overflow: visible;
        max-height: 200px !important;
        opacity: 1 !important;
        transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    }

    .userdetails-price-accordion-divider-top {
        display: block !important;
    }

    .userdetails-price-accordion-header:not(.active) + .userdetails-price-accordion-divider-top {
        display: none !important;
    }

    .userdetails-price-accordion-header:not(.active) + .userdetails-price-accordion-divider-top + .userdetails-price-accordion-content {
        max-height: 0 !important;
        opacity: 0 !important;
        margin-top: 0;
        padding: 0;
        overflow: hidden;
    }

    .userdetails-price-accordion-header.active + .userdetails-price-accordion-divider-top {
        display: block !important;
    }

    .userdetails-price-accordion-header.active + .userdetails-price-accordion-divider-top + .userdetails-price-accordion-content {
        max-height: 200px !important;
        opacity: 1 !important;
        display: flex !important;
    }
    
    .userdetails-price-section:has(.userdetails-price-accordion-header:not(.active)) {
        min-height: 50px;
    }
    
    .userdetails-price-section:has(.userdetails-price-accordion-header.active) {
        min-height: 154px;
    }

    .userdetails-price-row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 500;
        color: #333333;
        padding: 0;
        margin: 0;
    }
    
    .userdetails-price-row:first-of-type {
        margin-bottom: -30px;
        margin-top: -10px;
    }
    
    .userdetails-price-row:nth-of-type(2) {
        margin-top: -4px;
    }
    
    .userdetails-price-row.userdetails-total-row {
        margin-top: -14px;
    }

    .userdetails-price-label,
    .userdetails-price-value {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 500;
        color: #333333;
    }
    
    .userdetails-product-price {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 160%;
        color: #333333;
        text-align: right;
    }

    .userdetails-price-divider {
        width: 307px;
        height: 0px;
        border-top: 1px dashed #D9D9D9;
        margin: -6px 0 6px 0;
        opacity: 1;
    }

    /* RIGHT BLOCK */
    .userdetails-right-block {
        width: 335px;
        display: contents;
    }
    
    .userdetails-coupon-section {
        order: 2;
        width: 335px;
    }
    
    .userdetails-user-card {
        order: 4;
    }
    
    .userdetails-add-address {
        order: 5;
    }
    
    .userdetails-address-section {
        order: 3;
        width: 335px;
    }

    /* USER INFORMATION BLOCK */
    .userdetails-user-card {
        width: 335px;
        height: 153px;
        border: 1px solid #D9D9D9;
        border-radius: 12px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .userdetails-user-heading {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #333333;
        margin: 0;
    }

    .userdetails-user-details {
        display: flex;
        flex-direction: row;
        gap: 55px;
    }

    .userdetails-details-column {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
    }

    .userdetails-detail-item {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .userdetails-detail-label {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #666666;
    }

    .userdetails-detail-value {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #333333;
    }
    
    .userdetails-details-column:first-child .userdetails-detail-item:nth-child(2) .userdetails-detail-value {
        width: 140px;
        height: 25px;
    }

    /* APPLY COUPON CODE BLOCK */
    .userdetails-coupon-section {
        height: 78px;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .userdetails-coupon-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: #333333;
        margin: 0;
    }

    .userdetails-optional {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #666666;
    }

    .userdetails-coupon-input-row {
        display: flex;
        position: relative;
        align-items: center;
    }

    .userdetails-coupon-input {
        width: 335px;
        height: 50px;
        border: 1px solid #D9D9D9;
        border-radius: 12px;
        padding: 0 70px 0 16px;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #333333;
        box-sizing: border-box;
    }

    .userdetails-apply-button {
        position: absolute;
        right: 8px;
        width: 54px;
        height: 28px;
        border-radius: 20px;
        background-color: #E0E0E0;
        border: none;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #666666;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    /* ADD NEW ADDRESS BLOCK */
    .userdetails-add-address {
        width: 335px;
        height: 40px;
        border: 1px solid #D9D9D9;
        border-radius: 10px;
        padding: 13px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        cursor: pointer;
    }

    .userdetails-add-address-text {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 100%;
        color: #333333;
    }

    .userdetails-add-icon {
        width: 12px;
        height: 12px;
        object-fit: contain;
        display: block;
        flex-shrink: 0;
    }

    /* USER ADDRESS SECTION */
    .userdetails-address-section {
        width: 335px;
        background: #FFFFFF;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 0px;
    }

    .userdetails-address-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: -4px;
    }

    .userdetails-address-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #333333;
        margin: 0;
    }

    .userdetails-manage-address-link {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #A8863B;
        text-decoration: underline;
        cursor: pointer;
    }

    .userdetails-address-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 12px 0;
        position: relative;
    }

    .userdetails-address-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .userdetails-address-label {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 500;
        color: #666666;
        margin: 0;
    }

    .userdetails-address-text {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #333333;
        margin: 0;
        line-height: 1.5;
        width: 248px;
    }

    .userdetails-address-actions {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 4px;
    }

    .userdetails-address-edit,
    .userdetails-address-delete {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #A8863B;
        text-decoration: none;
        cursor: pointer;
    }

    .userdetails-address-edit:hover,
    .userdetails-address-delete:hover {
        text-decoration: underline;
    }

    .userdetails-address-divider {
        color: #A8863B;
        font-size: 12px;
    }

    .userdetails-address-item-divider {
        width: 100%;
        height: 1px;
        background: #D9D9D9;
        margin: 8px 0;
    }

    .userdetails-address-radio {
        width: 16px;
        height: 16px;
        margin: 0;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        border: 2px solid #D9D9D9;
        border-radius: 50%;
        position: relative;
        flex-shrink: 0;
        margin-top: 30px;
        margin-left: 12px;
    }

    .userdetails-address-radio:checked {
        background-color: #FFFFFF;
    }

    .userdetails-address-radio:checked::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #A8863B;
    }

    /* CHECKOUT BUTTON */
    .userdetails-checkout-button {
        width: 335px;
        height: 60px;
        border-radius: 12px;
        background-color: #A8863B;
        border: none;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 180%;
        letter-spacing: -1%;
        color: #FFFFFF;
        cursor: pointer;
        position: static !important;
        left: auto !important;
        transform: none !important;
        top: auto !important;
        margin: 20px auto 50px !important;
        order: 6;
    }

    .userdetails-checkout-arrow {
        display: none;
    }
    
    .userdetails-footer {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .userdetails-section + .userdetails-footer {
        margin-top: 0 !important;
    }
}

/* ============================================
   YOUR ORDER PAGE - MOBILE VIEW
   ============================================ */

@media (max-width: 767px) {
    /* Make body/html use flexbox to push footer to bottom */
    html {
        min-height: 100vh;
    }
    
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    /* Main content sections take available space */
    .top-info-bar,
    .main-navbar,
    .yourorder-section,
    .listing-pagination-section {
        flex-shrink: 0;
    }
    
    /* Ensure footer sticks to bottom */
    .yourorder-footer {
        margin-top: auto;
        flex-shrink: 0;
    }
    
    .yourorder-section {
        padding: 20px 20px 40px;
        position: relative;
    }

    .yourorder-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
        position: static;
        top: auto;
        left: auto;
        margin: 0 0 20px 0;
    }

    .yourorder-title-desktop {
        display: none;
    }

    .yourorder-title-mobile {
        display: inline;
    }

    .yourorder-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        margin-top: 0;
    }

    .yourorder-left-column {
        width: 100%;
        max-width: 335px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .yourorder-right-column {
        display: none;
    }

    .yourorder-card {
        width: 335px;
        min-height: 79px;
        height: auto;
        border: 1px solid #D9D9D9;
        border-radius: 12px;
        padding: 7px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 0 auto;
        transition: height 0.3s ease;
    }

    .yourorder-card-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        cursor: pointer;
        position: relative;
        width: 100%;
    }

    .yourorder-card-left {
        display: flex;
        gap: 5px;
        align-items: center;
        flex: 0 0 auto;
        margin-left: 0px;
        width: auto;
    }

    .yourorder-product-image {
        width: 73px;
        height: 65px;
        border-radius: 10px;
        object-fit: cover;
    }

    .yourorder-product-details {
        width: auto;
        height: 65px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
    }

    .yourorder-product-title {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 600;
        line-height: 130%;
        color: #333333;
        margin: 0;
        margin-bottom: 6px;
        width: 137px;
        height: 24px;
    }

    .yourorder-product-meta {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 10px;
        font-weight: 400;
        line-height: 130%;
        color: #333333;
        margin: 0;
    }

    .yourorder-meta-value {
        color: #666666;
    }

    /* Hide desktop arrow in mobile */
    .yourorder-arrow-desktop {
        display: none !important;
    }
    
    /* Show mobile arrow in mobile */
    .yourorder-arrow-mobile {
        display: block !important;
    }

    .yourorder-arrow-icon {
        width: 22px;
        height: 36px;
        object-fit: contain;
        cursor: pointer;
        transition: transform 0.3s ease;
        visibility: visible !important;
        position: absolute;
        right: 7px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }

    .yourorder-card-header.active .yourorder-arrow-icon {
        transform: translateY(-50%);
    }

    .yourorder-card-header:not(.active) .yourorder-arrow-icon {
        transform: translateY(-50%) rotate(180deg);
    }

    .yourorder-card-divider {
        width: 321px;
        height: 0px;
        border-top: 1px solid #D9D9D9;
        margin: 0;
        opacity: 1;
        display: block;
    }

    .yourorder-card-header:not(.active) + .yourorder-card-divider {
        display: none !important;
    }

    .yourorder-card-content {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        overflow: hidden;
        max-height: 200px !important;
        opacity: 1 !important;
        transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
    }

    .yourorder-card-header:not(.active) + .yourorder-card-divider + .yourorder-card-content {
        max-height: 0 !important;
        opacity: 0 !important;
        margin-top: 0;
        padding: 0;
        overflow: hidden;
    }

    .yourorder-card-header.active + .yourorder-card-divider {
        display: block !important;
    }

    .yourorder-card-header.active + .yourorder-card-divider + .yourorder-card-content {
        max-height: 200px !important;
        opacity: 1 !important;
        display: flex !important;
    }

    .yourorder-card:has(.yourorder-card-header:not(.active)) {
        height: 79px;
        min-height: 79px;
    }

    .yourorder-card:has(.yourorder-card-header.active) {
        min-height: 273px;
        height: auto;
    }

    .yourorder-card-user-info {
        width: 100%;
    }

    .yourorder-card-user-info::before {
        content: "User Information";
        font-family: 'Lexend Deca', sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: #333333;
        display: block;
        margin-bottom: 12px;
    }

    .yourorder-card-user-details {
        display: flex;
        flex-direction: row;
        gap: 40px;
    }

    .yourorder-card-details-column {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
    }

    .yourorder-card-detail-item {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }

    .yourorder-card-details-column:last-child .yourorder-card-detail-item:last-child {
        margin-top: 20px;
    }

    .yourorder-card-detail-label {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #666666;
    }

    .yourorder-card-detail-value {
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #333333;
    }
}

/* ============================================
   POPUP RESPONSIVE STYLES
   ============================================ */
@media screen and (max-width: 767px) {
    .signin-popup {
        width: 335px;
        height: 256px;
        border: 1px solid #D9D9D9;
        border-radius: 20px;
        padding: 20px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .signin-title {
        font-size: 20px;
    }

    .signin-subtitle {
        font-size: 12px;
    }

    /* Mobile Input Container */
    .signin-input-container.mobile-input {
        width: 295px;
        height: 50px;
        border: 1px solid #D9D9D9;
        border-radius: 12px;
        position: relative;
        margin-top: 30px;
        display: block;
    }

    .signin-input-container.desktop-input {
        display: none;
    }

    .signin-floating-label {
        position: absolute;
        top: -13px;
        left: 12px;
        background: #FFFFFF;
        padding: 0 6px;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 12px;
        font-weight: 400;
        color: #666666;
    }

    .signin-input {
        width: 100%;
        height: 100%;
        border: none;
        padding: 12px;
        font-family: 'Lexend Deca', sans-serif;
        font-size: 14px;
        outline: none;
        border-radius: 12px;
    }

    .signin-continue-btn {
        width: 295px;
        height: 50px;
        margin-top: 40px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
    }

    /* Mobile: Hide divider and signup text */
    .signin-divider-line {
        display: none;
    }

    .signin-signup-text {
        display: none;
    }
}


/* ============================================
   OTP VERIFICATION POPUP RESPONSIVE STYLES
   ============================================ */
@media screen and (max-width: 767px) {
    .otp-verify-popup {
        width: 335px;
        border-radius: 16px;
        padding: 20px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .otp-verify-title {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 600;
        font-size: 20px;
        line-height: 130%;
        letter-spacing: 0px;
        color: #333333;
        margin: 0 0 2px 0;
    }

    .otp-phone-row {
        margin-bottom: 20px;
    }

    .otp-phone-number {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 400;
        font-size: 16px;
        color: #666666;
    }

    .otp-edit-icon {
        width: 9.54px;
        height: 9.08px;
        margin-left: 10px;
    }

    .otp-section-container {
        width: 235px;
        height: 108px;
        margin-top: 20px;
    }

    .otp-label {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 500;
        font-size: 14px;
        color: #666666;
        display: block;
        margin-bottom: 12px;
    }

    .otp-input-row {
        width: 261px;
        height: 54px;
        gap: 12px;
    }

    .otp-input {
        width: 48px;
        height: 48px;
    }

    .otp-resend-text {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: #666666;
        margin-top: -18px;
        margin-bottom: 35px;
    }

    .otp-verify-btn {
        width: 295px;
        height: 56px;
    }

    .otp-terms-text {
        font-family: 'Lexend Deca', sans-serif;
        font-weight: 400;
        font-size: 10px;
        line-height: 150%;
        color: #666666;
        text-align: left;
        padding-left: 0;
        margin-left: 0;
    }

    /* User Address Popup - Mobile */
    .user-address-popup {
        width: 335px;
        border-radius: 16px;
        padding: 20px;
        max-height: 90vh;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .user-address-popup-title {
        font-size: 18px;
        margin-bottom: 8px;
        text-align: left;
    }

    .user-address-popup-item {
        padding: 5px 0;
        gap: 12px;
    }

    .user-address-popup-content-wrapper {
        gap: 4px;
    }

    .user-address-popup-label {
        font-size: 12px;
        font-weight: 400;
        color: #666666;
    }

    .user-address-popup-text {
        width: 248px;
        font-size: 12px;
        color: #333333;
    }

    .user-address-popup-actions {
        gap: 16px;
        margin-top: 4px;
    }

    .user-address-popup-edit,
    .user-address-popup-delete {
        font-size: 12px;
        font-weight: 400;
    }

    .user-address-popup-divider {
        font-size: 12px;
    }

    .user-address-popup-item-divider {
        margin: 8px 0;
    }

    .user-address-popup-radio {
        width: 16px;
        height: 16px;
        margin-top: 32px;
        margin-left: 12px;
    }

    .user-address-popup-radio:checked::after {
        width: 8px;
        height: 8px;
    }

    .user-address-popup-done-btn {
        height: 50px;
        font-size: 16px;
        margin-top: 16px;
    }
}

/* ============================================
   POP-UP.HTML RESPONSIVE STYLES (from responsive2.css)
   ============================================ */

@media (max-width: 768px) {
  .modal-card {
    width: 335px;
    height: 428px;
    border-radius: 16px;
    padding: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .modal-card__icon {
    width: 82.12px;
    height: 70px;
    margin-top: 8px;
    margin-bottom: 14px;
  }

  .modal-card__text-box {
    width: 311px;
    height: 226px;
    border-radius: 20px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .modal-card__primary-text {
    width: 281px;
    font-size: 14px;
    line-height: 170%;
    margin-bottom: 0px;
  }

  .modal-card__divider {
    display: block;
    width: 281px;
    height: 0;
    border-top: 1px dashed #d9d9d9;
    margin: 6px 0;
  }

  .modal-card__secondary-text {
    width: 281px;
    font-size: 14px;
    line-height: 160%;
    color: #333333;
    border: none;
    padding: 0;
    margin-top: 8px;
    margin-bottom: 0;
  }

  .modal-card__button {
    width: 311px;
    height: 60px;
    border-radius: 12px;
    background: #a8863b;
    font-size: 16px;
    margin-top: 16px;
  }

  .modal-card__button:hover {
    background: #967536;
  }
}

/* LNA POPUP START: mobile overrides */
@media (max-width: 768px) {
  .lna-modal {
    width: 335px;
    height: 307px;
    background: #ffffff;
    border-radius: 20px;
    opacity: 1;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    overflow: hidden;
  }

  .lna-close {
    width: 14px;
    height: 14px;
    top: 12px;
    right: 12px;
  }

  .lna-close svg {
    width: 14px;
    height: 14px;
  }

  .lna-illustration {
    width: 149px;
    height: 134.73px;
    margin-top: 20px;
    margin-bottom: 14px;
  }

  .lna-text {
    width: 225px;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -2%;
    color: #333333;
    margin-top: 6px;
  }

  .lna-bottom-layer {
    display: none;
  }
}
/* LNA POPUP END */

/* EML POPUP START: mobile overrides */
@media (max-width: 768px) {
  .eml-modal {
    width: 335px;
    height: 242px;
    background: #ffffff;
    border-radius: 20px;
    opacity: 1;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    overflow: hidden;
  }

  .eml-heading {
    width: 301px;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: -2%;
    color: #333333;
    text-align: left;
    margin-bottom: -5px;
    margin-top: 10px;
  }

  .eml-input-wrapper {
    width: 295px;
    height: 58px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    padding: 0 12px;
    background: #ffffff;
  }

  .eml-input-label {
    font-size: 12px;
    line-height: 130%;
    letter-spacing: -2%;
    color: #666666;
    background: #ffffff;
    padding: 2px 6px;
    top: -8px;
    left: 12px;
  }

  .eml-input {
    font-size: 14px;
    padding-left: 32px;
  }

  .eml-input-icon {
    left: 12px;
    width: 16px;
    height: 16px;
  }

  .eml-button {
    width: 295px;
    height: 50px;
    border-radius: 12px;
    opacity: 1;
    margin-top:-10px;
  }

  /* Delete Product Popup - Mobile */
  .delete-product-popup {
    width: 335px;
    height: 348px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30px;
    padding: 24px;
  }

  .delete-product-text {
    font-family: 'Anek Odia', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 18px;
  }

  .delete-product-text-line2 {
    display: block;
  }

  .delete-product-buttons {
    width: 291px;
    height: 118px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .delete-product-yes-btn,
  .delete-product-cancel-btn {
    width: 291px;
    height: 54px;
    border-radius: 12px;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -2%;
  }

  .delete-product-cancel-btn {
    order: 1;
  }

  .delete-product-yes-btn {
    order: 2;
  }

  /* Delete Address Popup - Mobile */
  .delete-address-popup {
    width: 335px;
    height: 348px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30px;
    padding: 24px;
  }

  .delete-address-text {
    font-family: 'Anek Odia', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 18px;
  }

  .delete-address-text-line2 {
    display: block;
  }

  .delete-address-buttons {
    width: 291px;
    height: 118px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .delete-address-yes-btn,
  .delete-address-cancel-btn {
    width: 291px;
    height: 54px;
    border-radius: 12px;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -2%;
  }

  .delete-address-cancel-btn {
    order: 1;
  }

  .delete-address-yes-btn {
    order: 2;
  }
}
/* EML POPUP END */