* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    background: #fcfcfc;
}

.container {
    background-color: #fcfcfc;
}

/* Top Bar */
.top-bar {
    background-color: #f5f5f5;
    padding: 10px 0;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.top-bar-item:hover {
    color: #06d3db;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.flag-icon {
    width: 20px;
}

/* Header */
.header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 20px 8px 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    align-items: start;
}

.logo {
    width: 300px;
    /* height: 80px; */
    /* background-color: #f0f0f0; */
}

.header-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Navigation */
.nav-bar {
    background-color: #4a5495;
    padding: 15px 30px;
    /* border-radius: 8px; */
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #06d3db;
}

/* Action Bar */
.action-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.catalog-btn {
    background-color: #4a5495;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.catalog-btn:hover {
    background-color: #06d3db;
}

/* Catalog Mega Menu */
.catalog-btn.active {
    background-color: #06d3db;
}

.catalog-btn .icon-close {
    display: none;
}

.catalog-btn.active .icon-menu {
    display: none;
}

.catalog-btn.active .icon-close {
    display: block;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: -25%;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    min-height: 400px;
}

.mega-menu.active {
    display: flex;
}

.mega-menu-categories {
    width: 280px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    padding: 25px 0;
    flex-shrink: 0;
}

.mega-menu-category {
    padding: 8px 15px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s, color 0.2s;
    margin: 0px 12px;
    border-radius: 5px;
}

.mega-menu-category:hover,
.mega-menu-category.active {
    background: #F2F2F3;
    color: #06d3db;
}

.mega-menu-content {
    flex: 1;
    padding: 30px 40px;
    display: flex;
    gap: 50px;
}

.mega-menu-column {
    /* min-width: 200px; */
    flex: 1;
}

.mega-menu-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e5e5;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column li {
    margin-bottom: 14px;
}

.mega-menu-column a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.mega-menu-column a:hover {
    color: #06d3db;
}

.header-right {
    position: relative;
}

.search-container {
    flex: 1;
    position: relative;
    max-width: 650px;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c7e8d;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    padding-bottom: 20px;
}

.search-dropdown.active {
    display: block;
}

.search-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px 10px 20px;
}

.search-dropdown-title {
    font-size: 21px;
    font-weight: 500;
    color: #333;
}

.search-dropdown-clear {
    font-size: 14px;
    color: #999;
    cursor: pointer;
    text-decoration: none;
}

.search-dropdown-clear:hover {
    color: #06d3db;
}

.search-dropdown-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-dropdown-section:first-child {
    margin-top: 20px;
}

.search-dropdown-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin: 0px 20px 0px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.search-dropdown-item:first-child {
    margin-top: 10px;
}

.search-dropdown-item:hover {
    background-color: #f8f8f8;
}

.search-dropdown-item-icon {
    width: 20px;
    height: 20px;
    color: #999;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-dropdown-item-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.search-dropdown-item-remove {
    width: 16px;
    height: 16px;
    color: #ccc;
    cursor: pointer;
    flex-shrink: 0;
}

.search-dropdown-item-remove:hover {
    color: #999;
}

.search-dropdown-seller {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 5px;
}

.search-dropdown-seller:hover {
    background-color: #f8f8f8;
}

.search-dropdown-seller.selected {
    background-color: #f0f0f0;
}

.search-dropdown-seller-img {
    width: 40px;
    height: 40px;
    background-color: #e5e5e5;
    border-radius: 5px;
    margin-right: 12px;
    flex-shrink: 0;
}

.search-dropdown-seller-info {
    display: flex;
    flex-direction: column;
}

.search-dropdown-seller-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.search-dropdown-seller-label {
    font-size: 12px;
    color: #999;
}

.search-input:focus {
    outline: none;
    border-color: #06d3db;
}

.search-input.active {
    border-radius: 8px 8px 0 0;
    border-color: #e5e5e5;
}

.camera-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c7e8d;
    cursor: pointer;
}

.action-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.action-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.action-icon:hover {
    color: #06d3db;
}

.action-icon span {
    font-size: 13px;
}

.icon-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -15px;
    background-color: #ec3336;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

.hero-slider {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    /* height: 500px; */
    background: #fff;
}

.hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(74, 84, 149, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: #06d3db;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #CCCDD5;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #4a5495;
}

/* Cards Section */
.cards-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 250px;

    background:
        linear-gradient(263.84deg, rgba(219, 222, 242, 0.85) 6.13%, rgba(76, 85, 148, 0.85) 90.63%),
        url("/assets/sample-bg.png");

    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    padding: 40px;
}

.card-content {
    flex: 1;
    color: white;
}

.card-label {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.card-image {
    width: 200px;
    height: 200px;
    /* background-color: rgba(255, 255, 255, 0.1); */
    border-radius: 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .cards-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 20px;
    }

    .cards-section {
        grid-template-columns: 1fr;
    }

    .action-bar {
        flex-wrap: wrap;
    }
}

/* Top Selling Section */
.top-selling-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title-home {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    margin-bottom: 20px;
}

.discount-card {
    background: #FEFDDA !important;
}

.product-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-image-container {
    position: relative;
    /* padding: 20px; */
    /* background: #f8f9fa; */
}

.product-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #39C85D;
    color: white;
    padding: 2px 15px !important;
    border-radius: 5px;
    font-size: 12px !important;
    font-weight: 600;
    z-index: 99;
}

.product-badge.discount {
    background: #4a5495;
}

.product-badge.new {
    background: #FFD700;
    color: #333;
}

.product-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    color: #333;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 99;
}

.wishlist-btn:hover {
    background-color: #06d3db;
    color: white;
}

.product-image {
    width: 100%;
    /* height: 200px; */
    object-fit: contain;
}

.product-info {
    padding: 0px !important;
}

.product-price {
    font-size: 20px !important;
    font-weight: 600;
    color: #4a5495;
    margin-bottom: 8px;
    margin-top: 8px;
}

.product-price-before {
    font-size: 14px !important;
    color: #EC383B;
    text-decoration: line-through;
}

.product-description {
    font-size: 13px !important;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    height: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-decoration: none;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px !important;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.star {
    color: #FFD700;
}

.reviews-count {
    color: #999;
}

.review-text {
    color: #000;
}

.lucide-message-square {
    fill: #9D9DA8;
    width: 15px;
    height: 15px;
    position: relative;
    top: 2px;
}

/* .lucide-truck {
    color: #4a5495;
} */

.lucide-help-circle {
    color: #4a5495;
}

.add-to-cart-btn {
    width: 100%;
    background-color: #06d3db;
    color: white;
    border: none;
    padding: 12px !important;
    border-radius: 5px;
    font-size: 15px !important;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #05bcc4;
}

/* In Cart Button State */
.add-to-cart-btn.is-in-cart {
    background: #10b981 !important;
    /* Emerald green */
    border-color: #10b981 !important;
    color: white !important;
    cursor: default;
}

.add-to-cart-btn.is-in-cart:hover {
    background: #059669 !important;
    /* Slightly darker on hover */
    border-color: #059669 !important;
}

.add-to-cart-btn.is-in-cart i,
.add-to-cart-btn.is-in-cart svg {
    color: white !important;
    stroke: white !important;
}

/* Loading state */
.add-to-cart-btn.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Banner */
.banner-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Footer */
.footer {
    background-color: #4a5495;
    color: #fff;
    padding: 30px 0 40px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top section */
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.9;
}

/* Text */
.footer-text {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* App buttons */
.app-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.app-buttons img {
    height: 45px;
    border-radius: 5px;
}

/* Payments */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-methods img {
    max-width: 100%;
}

/* Bottom section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 30px;
    display: flex;
    /* justify-content: flex-start; */
    align-items: flex-start;
    gap: 80px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 35px;
    height: 35px;
    background: #fff;
    color: #1F223C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-phone {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
}

/* Call center */
.call-center {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.call-text p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.call-hours {
    background: #fff;
    color: #0D1D2D;
    padding: 2px 16px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
}

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
    .top-bar-left {
        gap: 15px;
    }

    .top-bar-item span {
        display: none;
    }

    .header {
        grid-template-columns: 200px 1fr;
        gap: 15px;
    }

    .logo {
        width: 200px;
    }

    .nav-links {
        gap: 20px;
        font-size: 14px;
    }

    .action-bar {
        gap: 15px;
        margin-left: 10px;
    }

    .search-container {
        max-width: 400px;
    }

    .action-icons {
        gap: 15px;
    }

    .mega-menu-content {
        gap: 30px;
        padding: 20px 30px;
    }

    .cards-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-top {
        gap: 40px;
    }
}

/* Tablet portrait (768px) */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .top-bar-left {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .logo {
        width: 180px;
        margin: 0 auto;
    }

    .nav-bar {
        padding: 10px 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .action-bar {
        flex-direction: column;
        align-items: stretch;
        margin-left: 0;
        gap: 15px;
    }

    .catalog-btn {
        width: 100%;
        justify-content: center;
    }

    .search-container {
        max-width: 100%;
    }

    .action-icons {
        justify-content: space-around;
        width: 100%;
    }

    /* Mega menu adjustments */
    .mega-menu {
        left: 0;
        flex-direction: column;
    }

    .mega-menu-categories {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        padding: 15px 0;
    }

    .mega-menu-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .mega-menu-column {
        min-width: 100%;
    }

    /* Hero section */
    .hero-section {
        padding: 0 10px;
        margin: 20px auto;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 15px;
    }

    /* Cards section */
    .cards-section {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
        margin: 30px auto;
    }

    .card {
        height: 200px;
        padding: 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-image {
        width: 150px;
        height: 150px;
    }

    /* Products grid */
    .top-selling-section {
        padding: 0 10px;
        margin: 40px auto;
    }

    .section-title-home {
        font-size: 24px;
        margin-bottom: 20px;
    }

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

    .product-card {
        margin-bottom: 15px;
    }

    .product-info {
        /* padding: 10px; */
    }

    .product-price {
        font-size: 18px;
    }

    .product-description {
        font-size: 12px;
    }

    /* Banner */
    .banner-container {
        padding: 0 10px;
        margin: 30px auto;
    }

    /* Footer */
    .footer {
        padding: 40px 0 30px;
        margin-top: 60px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .call-center {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .app-buttons {
        flex-wrap: wrap;
    }

    .app-buttons img {
        height: 40px;
    }
}

/* Mobile landscape (640px) */
@media (max-width: 640px) {
    .top-bar {
        display: none;
    }

    .nav-bar {
        display: none;
    }

    .header {
        padding: 10px 15px;
    }

    .logo {
        width: 150px;
    }

    .action-bar {
        gap: 10px;
    }

    .catalog-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .search-input {
        padding: 10px 15px 10px 40px;
        font-size: 14px;
    }

    .action-icon span {
        font-size: 11px;
    }

    /* Search dropdown */
    .search-dropdown-title {
        font-size: 18px;
    }

    .search-dropdown-section {
        margin: 20px;
    }

    .search-dropdown-item {
        padding: 15px;
        margin: 0px 15px;
    }

    /* Hero */
    .hero-section {
        margin: 15px auto;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Cards */
    .card {
        height: 180px;
        padding: 15px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .card-content {
        margin-bottom: 15px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    /* Products */
    .section-title-home {
        font-size: 20px;
    }

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

    .product-card {
        margin-bottom: 10px;
    }

    .wishlist-btn {
        width: 28px;
        height: 28px;
    }

    .product-price {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .product-description {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .product-rating {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .add-to-cart-btn {
        padding: 10px;
        font-size: 13px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-list li {
        margin-bottom: 10px;
    }

    .footer-list a {
        font-size: 14px;
    }

    .footer-text {
        font-size: 13px;
    }

    .footer-phone {
        font-size: 18px;
    }

    .footer-socials {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .call-hours {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* Mobile portrait (480px) */
@media (max-width: 480px) {
    .header {
        padding: 10px;
    }

    .logo {
        width: 120px;
    }

    .action-bar {
        gap: 8px;
    }

    .catalog-btn span {
        display: none;
    }

    .catalog-btn {
        padding: 10px 15px;
    }

    .search-container {
        min-width: 0;
        flex: 1;
    }

    .search-input {
        font-size: 13px;
    }

    .camera-icon {
        display: none;
    }

    .action-icons {
        gap: 10px;
    }

    .action-icon {
        gap: 3px;
    }

    .action-icon span {
        display: none;
    }

    /* Hero */
    .hero-section {
        margin: 10px auto;
    }

    .slider-dots {
        bottom: 10px;
        gap: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* Cards */
    .cards-section {
        margin: 20px auto;
    }

    .card {
        height: 160px;
        padding: 15px;
    }

    .card-label {
        font-size: 12px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-image {
        width: 100px;
        height: 100px;
    }

    /* Products */
    .top-selling-section {
        margin: 30px auto;
    }

    .section-title-home {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-card {
        margin-bottom: 12px;
    }

    .product-badge {
        font-size: 11px;
        padding: 2px 12px;
    }

    .wishlist-btn {
        width: 26px;
        height: 26px;
        top: 8px;
        right: 8px;
    }

    .product-price {
        font-size: 15px;
    }

    .product-price-before {
        font-size: 12px;
    }

    .add-to-cart-btn {
        padding: 10px;
        font-size: 12px;
    }

    /* Banner */
    .banner-container {
        margin: 20px auto;
    }

    /* Footer */
    .footer {
        padding: 30px 0 20px;
        margin-top: 40px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-top {
        gap: 20px;
        margin-bottom: 25px;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-list a {
        font-size: 13px;
    }

    .app-buttons img {
        height: 35px;
    }

    .payment-methods {
        gap: 6px;
    }

    .socials a {
        width: 32px;
        height: 32px;
    }

    .footer-phone {
        font-size: 16px;
    }

    .call-text p {
        font-size: 13px;
    }

    .call-hours {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Extra small devices (360px) */
@media (max-width: 360px) {
    .logo {
        width: 100px;
    }

    .search-input {
        padding: 8px 12px 8px 35px;
        font-size: 12px;
    }

    .search-icon {
        left: 10px;
    }

    .section-title-home {
        font-size: 16px;
    }

    .card {
        height: 140px;
    }

    .card-image {
        width: 80px;
        height: 80px;
    }

    .product-price {
        font-size: 14px;
    }

    .footer-title {
        font-size: 14px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider {
        max-height: 300px;
    }

    .mega-menu {
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Cart Dropdown */
.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    width: 400px;
    margin-top: 10px;
    max-height: 600px;
    overflow-y: auto;
}

.cart-dropdown.active {
    display: block;
}

.cart-dropdown-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-dropdown-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.cart-dropdown-close {
    cursor: pointer;
    color: #999;
    font-size: 24px;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
}

.cart-dropdown-close:hover {
    color: #333;
}

.cart-dropdown-items {
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background-color: #f5f5f5;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #4a5495;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #f5f5f5;
    border-color: #06d3db;
    color: #06d3db;
}

.quantity-value {
    font-size: 14px;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    color: #ec3336;
}

.cart-dropdown-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.cart-total-label {
    font-weight: 500;
    color: #666;
}

.cart-total-amount {
    font-size: 20px;
    font-weight: 700;
    color: #4a5495;
}

.cart-checkout-btn {
    width: 100%;
    background-color: #39C85D;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-checkout-btn:hover {
    background-color: #2fb34d;
}

.cart-empty {
    padding: 60px 20px;
    text-align: center;
}

.cart-empty-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.cart-empty-text {
    font-size: 16px;
    color: #999;
    margin-bottom: 20px;
}

.cart-empty-btn {
    background-color: #06d3db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-empty-btn:hover {
    background-color: #05bcc4;
}

/* Responsive */
@media (max-width: 480px) {
    .cart-dropdown {
        width: calc(100vw - 20px);
        /* right: 10px; */
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-name {
        font-size: 13px;
    }

    .cart-item-price {
        font-size: 14px;
    }
}

/* ========================================
   MOBILE STICKY TOP BAR WITH HAMBURGER MENU
   ======================================== */

.mobile-sticky-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    gap: 12px;
}

.mobile-menu-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #333;
    flex-shrink: 0;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: #4a5495;
    color: white;
}

.mobile-sticky-logo {
    height: 32px;
    flex-shrink: 0;
}

.mobile-sticky-logo img {
    height: 100%;
    width: auto;
}

.mobile-sticky-search {
    flex: 1;
    position: relative;
    min-width: 0;
}

.mobile-sticky-search-input {
    width: 100%;
    padding: 10px 40px 10px 38px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.mobile-sticky-search-input:focus {
    outline: none;
    border-color: #06d3db;
    background: white;
}

.mobile-sticky-search-input::placeholder {
    color: #999;
}

.mobile-sticky-search .search-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c7e8d;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.mobile-sticky-search .search-icon-right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c7e8d;
    width: 20px;
    height: 20px;
    cursor: pointer;
    padding: 2px;
    transition: color 0.3s;
}

.mobile-sticky-search .search-icon-right:hover {
    color: #4a5495;
}

.mobile-cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #333;
    flex-shrink: 0;
    transition: all 0.3s;
}

.mobile-cart-btn:hover {
    background: #06d3db;
    color: white;
}

.mobile-cart-btn i {
    width: 22px;
    height: 22px;
}

.mobile-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ec3336;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid white;
}

/* ========================================
   HAMBURGER SIDEBAR MENU
   ======================================== */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: white;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu-sidebar.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f9fa;
}

.mobile-menu-logo {
    height: 36px;
}

.mobile-menu-logo img {
    height: 100%;
    width: auto;
}

.mobile-menu-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: #ec3336;
    border-color: #ec3336;
    color: white;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.mobile-menu-section {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-section:last-child {
    border-bottom: none;
}

.mobile-menu-section-title {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px 10px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.mobile-menu-item:hover {
    background: #f5f5f5;
    color: #4a5495;
}

.mobile-menu-item.active {
    background: #f0f2ff;
    color: #4a5495;
    border-left: 3px solid #4a5495;
}

.mobile-menu-item i {
    width: 22px;
    height: 22px;
    color: #7c7e8d;
    flex-shrink: 0;
}

.mobile-menu-item:hover i {
    color: #4a5495;
}

.mobile-menu-item-badge {
    margin-left: auto;
    background: #ec3336;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.mobile-menu-item-arrow {
    margin-left: auto;
    color: #ccc;
    width: 18px;
    height: 18px;
}

/* Catalog submenu in sidebar */
.mobile-submenu {
    display: none;
    background: #f8f9fa;
    padding: 10px 0;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu-item {
    display: block;
    padding: 12px 20px 12px 56px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.mobile-submenu-item:hover {
    background: #e8e8e8;
    color: #4a5495;
}

/* Mobile menu footer */
.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background: #f8f9fa;
}

.mobile-menu-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.mobile-menu-lang:hover {
    border-color: #4a5495;
}

.mobile-menu-lang-flag {
    font-size: 20px;
}

.mobile-menu-lang-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.mobile-menu-lang-arrow {
    margin-left: auto;
    color: #999;
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5495;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.mobile-menu-phone i {
    width: 20px;
    height: 20px;
}

.mobile-menu-hours {
    font-size: 12px;
    color: #7c7e8d;
    padding-left: 30px;
}

.mobile-menu-socials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mobile-menu-social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4a5495;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-menu-social:hover {
    background: #06d3db;
    transform: translateY(-2px);
}

.mobile-menu-social i {
    width: 18px;
    height: 18px;
}

/* ========================================
   MOBILE CART SIDEBAR
   ======================================== */

.mobile-cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-cart-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 90vw;
    background: white;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-cart-sidebar.active {
    transform: translateX(0);
}

.mobile-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-cart-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-cart-count {
    background: #f0f0f0;
    color: #666;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 12px;
}

.mobile-cart-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.mobile-cart-close:hover {
    background: #e5e5e5;
    color: #333;
}

.mobile-cart-items {
    flex: 1;
    overflow-y: auto;
}

.mobile-cart-item {
    display: flex;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-cart-item:last-child {
    border-bottom: none;
}

.mobile-cart-item-img {
    width: 75px;
    height: 75px;
    min-width: 75px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mobile-cart-item-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.mobile-cart-item-info {
    flex: 1;
    min-width: 0;
}

.mobile-cart-item-name {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #4a5495;
    margin-bottom: 10px;
}

.mobile-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.mobile-cart-qty-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    transition: all 0.2s;
}

.mobile-cart-qty-btn:hover {
    background: #e5e5e5;
    color: #4a5495;
}

.mobile-cart-qty-value {
    width: 35px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    background: white;
}

.mobile-cart-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.mobile-cart-item-remove:hover {
    color: #ec3336;
}

.mobile-cart-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background: white;
}

.mobile-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.mobile-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.mobile-cart-total-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.mobile-cart-total-value {
    font-size: 22px;
    font-weight: 700;
    color: #4a5495;
}

.mobile-cart-checkout {
    width: 100%;
    padding: 15px;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-cart-checkout:hover {
    background: #05bcc4;
}

.mobile-cart-continue {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #7c7e8d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.mobile-cart-continue:hover {
    color: #4a5495;
}

.mobile-cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.mobile-cart-empty-icon {
    font-size: 70px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.mobile-cart-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.mobile-cart-empty-text {
    font-size: 14px;
    color: #7c7e8d;
    margin-bottom: 20px;
}

.mobile-cart-empty-btn {
    padding: 12px 30px;
    background: #4a5495;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mobile-cart-empty-btn:hover {
    background: #06d3db;
}

/* ========================================
   MOBILE SEARCH DROPDOWN
   ======================================== */

.mobile-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-search-dropdown.active {
    display: block;
}

.mobile-search-section {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-search-section:last-child {
    border-bottom: none;
}

.mobile-search-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-search-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-search-clear-btn {
    font-size: 12px;
    color: #06d3db;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.mobile-search-item:hover {
    background: #f5f5f5;
}

.mobile-search-item i {
    width: 18px;
    height: 18px;
    color: #999;
    flex-shrink: 0;
}

.mobile-search-item span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.mobile-search-item .remove-item {
    color: #ccc;
    cursor: pointer;
    padding: 2px;
}

.mobile-search-item .remove-item:hover {
    color: #ec3336;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: block;
    }

    body {
        padding-top: 62px;
    }

    /* Hide desktop header elements */
    .top-bar {
        display: none;
    }

    .header {
        display: none;
    }

    .footer {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .mobile-sticky-top {
        padding: 8px 12px;
        gap: 10px;
    }

    .mobile-menu-btn,
    .mobile-cart-btn {
        width: 38px;
        height: 38px;
    }

    .mobile-sticky-logo {
        height: 28px;
    }

    .mobile-sticky-search-input {
        padding: 9px 35px 9px 35px;
        font-size: 13px;
    }

    .mobile-menu-sidebar {
        width: 280px;
    }

    .mobile-cart-sidebar {
        width: 100%;
        max-width: 100%;
    }

    body {
        padding-top: 54px;
    }
}

@media (max-width: 360px) {
    .mobile-sticky-top {
        padding: 8px 10px;
        gap: 8px;
    }

    .mobile-menu-btn,
    .mobile-cart-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-sticky-logo {
        display: none;
    }

    .mobile-sticky-search-input {
        padding: 8px 32px 8px 32px;
        font-size: 13px;
    }

    .mobile-sticky-search .search-icon-left {
        left: 10px;
        width: 16px;
        height: 16px;
    }
}

/* Body scroll lock */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    body> :not(header):not(footer):not(nav):not(aside):not(.mobile-sticky-bar):not(.top-bar):not(.container) {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 1366px) {
    .search-container {
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    body> :not(header):not(footer):not(nav):not(aside):not(.mobile-sticky-bar):not(.top-bar):not(.container) {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 1366px) {
    .search-container {
        max-width: 50%;
    }
}

/* Product Image Slideshow */
.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-images-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
}

.product-images-wrapper img.product-image {
    flex-shrink: 0;
    width: 100%;
    min-width: 100%;
    display: block;
}

.product-image-container>img.product-image {
    display: block;
    width: 100%;
}

.product-image-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 4px;
    z-index: 5;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
}

.product-image-dot {
    flex: 1;
    height: 3px;
    border-radius: 1px;
    transition: background-color 0.3s;
    pointer-events: none;
}

.product-image-dot.active {
    background-color: #4a5495;
}

/* ========================================
   EMBEDDED AUTH PAGE
   ======================================== */

.embedded-auth-section {
    min-height: 100vh;
    background: #fcfcfc;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.embedded-auth-container {
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 45% 55%;
    overflow: hidden;
    min-height: 650px;
}

/* Left Side - Illustration */
.auth-illustration {
    background: linear-gradient(135deg, #4a5495 0%, #363d7a 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.auth-brand {
    text-align: center;
}

.auth-logo {
    height: 60px;
    margin-bottom: 30px;
    /* filter: brightness(0) invert(1); */
}

.auth-brand-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}

.auth-brand-subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
}

.auth-feature-item {
    display: flex;
    gap: 15px;
    align-items: start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: #06d3db;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.5;
}

/* Right Side - Form */
.auth-form-container {
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
}

/* Progress Indicator */
.auth-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.progress-step.active .step-circle {
    background: #4a5495;
    color: white;
}

.progress-step.completed .step-circle {
    background: #39C85D;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #4a5495;
}

.progress-line {
    width: 60px;
    height: 2px;
    background: #e5e5e5;
    margin: 0 10px;
    margin-bottom: 28px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    background: #f5f5f5;
    padding: 5px;
    border-radius: 10px;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #7c7e8d;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    background: white;
    color: #4a5495;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Form Steps */
.auth-form-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.auth-form-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.form-step-title {
    font-size: 28px;
    font-weight: 600;
    color: #1F223C;
    margin-bottom: 10px;
}

.form-step-description {
    font-size: 15px;
    color: #7c7e8d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #7c7e8d;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.back-btn:hover {
    color: #4a5495;
}

/* Form Fields */
.form-field {
    margin-bottom: 25px;
}

.field-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #ec3336;
}

.optional {
    color: #999;
    font-weight: 400;
    font-size: 13px;
}

.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    min-width: 110px;
}

.country-selector:hover {
    border-color: #06d3db;
}

.country-flag-embed {
    font-size: 20px;
}

.country-code-embed {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.phone-input-embed {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-weight: 500;
}

.phone-input-embed:focus {
    outline: none;
    border-color: #06d3db;
}

.phone-input-embed.error,
.text-input.error {
    border-color: #ec3336;
    background: #fff5f5;
}

.text-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
}

.text-input:focus {
    outline: none;
    border-color: #06d3db;
}

.password-field {
    position: relative;
}

.password-field .text-input {
    padding-right: 50px;
}

.eye-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7c7e8d;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.eye-btn:hover {
    color: #4a5495;
}

.field-error {
    display: block;
    color: #ec3336;
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

.field-hint {
    display: block;
    color: #7c7e8d;
    font-size: 12px;
    margin-top: 6px;
}

/* OTP Input */
.otp-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
}

.otp-box {
    width: 60px;
    height: 60px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
    background: #f8f9fa;
}

.otp-box:focus {
    outline: none;
    border-color: #06d3db;
    background: white;
}

.otp-box.filled {
    border-color: #4a5495;
    background: white;
}

.otp-box.error {
    border-color: #ec3336;
    background: #fff5f5;
    animation: shake 0.4s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.otp-footer {
    text-align: center;
    margin-bottom: 30px;
}

.resend-text {
    font-size: 14px;
    color: #7c7e8d;
}

.resend-btn {
    background: none;
    border: none;
    color: #06d3db;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s;
}

.resend-btn:hover:not(:disabled) {
    color: #4a5495;
}

.resend-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-primary:hover {
    background: #05bcc4;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(6, 211, 219, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-footer-text {
    text-align: center;
    font-size: 13px;
    color: #7c7e8d;
    margin-top: 20px;
    line-height: 1.6;
}

.text-link {
    color: #06d3db;
    text-decoration: none;
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

/* Success State */
.success-content {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 25px;
    color: #39C85D;
}

.success-title {
    font-size: 32px;
    font-weight: 600;
    color: #1F223C;
    margin-bottom: 15px;
}

.success-description {
    font-size: 16px;
    color: #7c7e8d;
    margin-bottom: 35px;
}

/* ========================================
   RESPONSIVE - EMBEDDED AUTH
   ======================================== */

@media (max-width: 1024px) {
    .embedded-auth-container {
        grid-template-columns: 1fr;
    }

    .auth-illustration {
        padding: 40px 30px;
        min-height: 350px;
    }

    .auth-features {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .embedded-auth-section {
        padding: 20px 15px;
    }

    .embedded-auth-container {
        border-radius: 15px;
    }

    .auth-illustration {
        padding: 30px 25px;
        min-height: 300px;
    }

    .auth-logo {
        height: 50px;
        margin-bottom: 20px;
    }

    .auth-brand-title {
        font-size: 26px;
    }

    .auth-brand-subtitle {
        font-size: 14px;
    }

    .auth-features {
        gap: 20px;
        margin-top: 25px;
    }

    .auth-form-container {
        padding: 35px 30px;
    }

    .form-step-title {
        font-size: 24px;
    }

    .auth-progress {
        margin-bottom: 30px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .progress-line {
        width: 40px;
        margin-bottom: 24px;
    }

    .otp-container {
        gap: 10px;
    }

    .otp-box {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .embedded-auth-section {
        padding: 15px 10px;
    }

    .embedded-auth-container {
        border-radius: 12px;
    }

    .auth-illustration {
        display: none;
    }

    .auth-form-container {
        padding: 25px 20px;
    }

    .form-step-title {
        font-size: 22px;
    }

    .form-step-description {
        font-size: 14px;
    }

    .auth-progress {
        margin-bottom: 25px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .step-label {
        font-size: 11px;
    }

    .progress-line {
        width: 30px;
        margin: 0 5px;
        margin-bottom: 21px;
    }

    .phone-input-group {
        flex-direction: column;
    }

    .country-selector {
        width: 100%;
        justify-content: center;
    }

    .otp-container {
        gap: 8px;
    }

    .otp-box {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .btn-primary {
        padding: 13px;
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .auth-form-container {
        padding: 20px 15px;
    }

    .form-step-title {
        font-size: 20px;
    }

    .otp-box {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Product List Page Styles */
.product-list-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar Filters */
.filters-sidebar {
    background: white;
    padding: 0;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 18px;
    font-weight: 600;
}

.filter-section {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 240px;
    /* Limit height to show 8 items */
    overflow: hidden;
}

.filter-options.expanded {
    max-height: none;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4a5495;
}

.filter-option label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    flex: 1;
}

.show-all-btn {
    background: none;
    border: none;
    color: #06d3db;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 10px;
    font-weight: 500;
}

.show-all-btn:hover {
    text-decoration: underline;
}

/* Price Range Filter */
.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.price-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
    min-width: 0;
}

.price-input:focus {
    outline: none;
    border-color: #4a5495;
}

/* Price Slider Container */
.price-slider-container {
    position: relative;
    height: 6px;
    margin: 10px 0;
}

.price-slider-track-bg {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #E5E5E5;
    border-radius: 3px;
    top: 0;
    left: 0;
}

.price-slider-track-fill {
    position: absolute;
    height: 6px;
    background: #4a5495;
    border-radius: 3px;
    top: 0;
}

/* Range Input Styling */
.price-range-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    left: 0;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
}

.price-range-input::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border: none;
}

.price-range-input::-moz-range-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border: none;
}

.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #4a5495;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    margin-top: -6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #4a5495;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.price-range-input::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.price-range-input::-webkit-slider-thumb:active {
    transform: scale(1.2);
    background: #3d4578;
}

.price-range-input::-moz-range-thumb:active {
    transform: scale(1.2);
    background: #3d4578;
}

/* Focus styles */
.price-range-input:focus {
    outline: none;
}

.price-range-input:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(74, 84, 149, 0.2);
}

.price-range-input:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(74, 84, 149, 0.2);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .price-slider-container {
        margin: 8px 0;
    }

    .price-range-input::-webkit-slider-thumb {
        width: 16px;
        height: 16px;
        margin-top: -5px;
    }

    .price-range-input::-moz-range-thumb {
        width: 16px;
        height: 16px;
    }
}

/* Category Tree */
.category-tree {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-item {
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s;
    text-decoration: none;
}

.category-item:hover {
    background-color: #f5f5f5;
}

.category-item.active {
    background-color: #4a5495;
    color: white;
}

.category-item.subcategory {
    padding-left: 30px;
    font-size: 13px;
    /* color: #666; */
}

/* Products Area */
.products-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 0;
}

.products-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.products-count {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

/* Products Tabs Wrapper */
.products-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    position: relative;
}

.products-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 10px 20px !important;
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    font-size: 14px !important;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
    text-decoration: none;
}

.tab-btn:hover {
    background: #e5e5e5;
}

.tab-btn.active {
    background: #4a5495;
    color: white;
}

.arrow-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.arrow-btn:hover {
    background: #4a5495;
    color: white;
}

.arrow-btn:hover i {
    color: white;
}

.arrow-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.arrow-btn:disabled:hover {
    background: #f5f5f5;
    color: inherit;
}

/* Products Grid */
.products-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px !important;
}

/* Pagination */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.show-more-btn {
    background: #E6F9FB;
    color: #06d3db;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.show-more-btn:hover {
    background: #d0f3f5;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 5px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background: #f5f5f5;
}

.pagination-btn.active {
    background: #7c7e8d;
    color: white;
}

.pagination-btn.prev,
.pagination-btn.next {
    color: #999;
    font-weight: 500;
}

.pagination-dots {
    padding: 0 5px;
    color: #999;
}

/* Base fixes for products-area */
.products-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    /* Prevents overflow issues */
}

.products-tabs {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-tabs::-webkit-scrollbar {
    display: none;
}

/* Mobile Filter Bar - Hidden on desktop */
.mobile-filter-bar {
    display: none;
    max-width: 1400px;
    margin: 15px auto;
    padding: 0 15px;
    align-items: center;
    gap: 10px;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-toggle-btn:hover {
    border-color: #4a5495;
    color: #4a5495;
}

.filter-toggle-btn i {
    color: #4a5495;
}

.active-filters-count {
    background: #4a5495;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
}

/* Filter Overlay */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Filter Header - Hidden on desktop */
.mobile-filter-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-filter-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.filter-close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-close-btn:hover {
    background: #e5e5e5;
}

/* Mobile Filter Footer - Hidden on desktop */
.mobile-filter-footer {
    display: none;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.filter-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-reset-btn:hover {
    border-color: #999;
    color: #333;
}

.filter-apply-btn {
    flex: 1;
    padding: 14px 24px;
    background: #4a5495;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-apply-btn:hover {
    background: #3d4578;
}

/* Filters content wrapper for scrolling */
.filters-content {
    flex: 1;
    overflow-y: auto;
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .product-list-container {
        gap: 25px;
    }

    .products-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-area {
        gap: 18px;
    }
}

/* Small Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .product-list-container {
        grid-template-columns: 250px 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .filters-sidebar {
        position: sticky;
        top: 15px;
    }

    .filter-section {
        padding: 16px;
    }

    .filter-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .products-area {
        gap: 16px;
    }

    .products-header {
        gap: 5px;
    }

    .products-title {
        font-size: 28px;
    }

    .products-count {
        font-size: 13px;
    }

    .products-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 9px 18px;
        font-size: 13px;
    }

    .products-list-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .product-price {
        font-size: 18px;
    }

    .pagination-container {
        margin-top: 35px;
        gap: 18px;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) {
    .product-list-container {
        grid-template-columns: 220px 1fr;
        gap: 18px;
    }

    .filters-sidebar {
        font-size: 14px;
    }

    .filter-title {
        font-size: 14px;
    }

    .filter-option label {
        font-size: 13px;
    }

    .filter-option input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .price-input {
        padding: 8px 10px;
        font-size: 12px;
    }

    .category-item {
        padding: 8px 10px;
        font-size: 13px;
    }

    .products-area {
        gap: 15px;
    }

    .products-title {
        font-size: 26px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .tab-arrows {
        gap: 4px;
    }

    .arrow-btn {
        width: 34px;
        height: 34px;
    }

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

    .product-info {
        padding: 12px;
    }

    .product-price {
        font-size: 17px;
    }

    .product-description {
        font-size: 12px;
    }

    .product-rating {
        font-size: 12px;
        gap: 6px;
    }

    .add-to-cart-btn {
        padding: 10px;
        font-size: 13px;
    }

    .pagination-container {
        margin-top: 30px;
        gap: 15px;
    }

    .pagination {
        gap: 8px;
    }

    .pagination-btn {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .product-list-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 20px;
        margin: 20px auto;
    }

    /* Filters Sidebar - Grid layout */
    .filters-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-header {
        grid-column: 1 / -1;
    }

    .filter-section {
        border-right: 1px solid #e5e5e5;
        padding: 15px;
    }

    .filter-section:nth-child(even) {
        border-right: none;
    }

    .filter-section:last-child {
        border-right: none;
    }

    /* Products Area */
    .products-area {
        gap: 15px;
        width: 100%;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .products-title {
        font-size: 24px;
    }

    .products-count {
        font-size: 13px;
        margin-top: 0;
    }

    .products-tabs-wrapper {
        gap: 8px;
    }

    .products-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 16px;
    }

    .arrow-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    /* Products Grid */
    .products-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
    }

    .product-card {
        margin-bottom: 0;
    }

    .wishlist-btn {
        width: 30px;
        height: 30px;
    }

    .product-info {
        padding: 10px;
    }

    .product-price {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .product-description {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .product-rating {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .add-to-cart-btn {
        padding: 9px;
        font-size: 12px;
        gap: 6px;
    }

    /* Pagination */
    .pagination-container {
        margin-top: 25px;
        gap: 15px;
        width: 100%;
    }

    .show-more-btn {
        padding: 11px 35px;
        font-size: 14px;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination-btn.prev,
    .pagination-btn.next {
        padding: 0 10px;
        font-size: 12px;
    }

    /* Show mobile filter bar */
    .mobile-filter-bar {
        display: flex;
    }

    /* Transform sidebar into drawer */
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 400px;
        height: 100%;
        background: #fff;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .filters-sidebar.active {
        transform: translateX(0);
    }

    /* Show mobile header and footer */
    .mobile-filter-header {
        display: flex;
    }

    .mobile-filter-footer {
        display: flex;
    }

    /* Hide desktop filter header */
    .filters-sidebar .filters-header {
        display: none;
    }

    /* Make filter sections scrollable */
    .filter-section {
        border-bottom: 1px solid #e5e5e5;
    }

    .filter-section:last-of-type {
        border-bottom: none;
        margin-bottom: 80px;
        /* Space for footer */
    }

    /* Update product list container */
    .product-list-container {
        grid-template-columns: 1fr;
    }

    /* Prevent body scroll when filter is open */
    body.filter-open {
        overflow: hidden;
    }
}

/* Large Mobile (640px) */
@media (max-width: 640px) {
    .product-list-container {
        padding: 0 12px;
        margin: 15px auto;
        gap: 15px;
    }

    /* Filters - Single column */
    .filters-sidebar {
        display: block;
    }

    .filter-section {
        border-right: none;
        padding: 14px;
    }

    .filters-header {
        padding: 16px;
        font-size: 16px;
        gap: 8px;
    }

    .filter-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .filter-options {
        gap: 8px;
        max-height: 180px;
    }

    .filter-option {
        gap: 8px;
    }

    .filter-option input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .filter-option label {
        font-size: 12px;
    }

    .category-tree {
        gap: 4px;
    }

    .category-item {
        padding: 8px 10px;
        font-size: 12px;
    }

    .category-item.subcategory {
        padding-left: 22px;
        font-size: 11px;
    }

    .price-inputs {
        gap: 8px;
    }

    .price-input {
        padding: 8px;
        font-size: 11px;
    }

    .price-slider {
        margin-top: 12px;
    }

    .price-slider-track::before,
    .price-slider-track::after {
        width: 12px;
        height: 12px;
    }

    .price-slider-track::before {
        left: -6px;
    }

    .price-slider-track::after {
        right: -6px;
    }

    .show-all-btn {
        font-size: 12px;
        margin-top: 8px;
    }

    /* Products Area */
    .products-area {
        gap: 12px;
    }

    .products-header {
        gap: 3px;
    }

    .products-title {
        font-size: 20px;
    }

    .products-count {
        font-size: 12px;
    }

    /* Tabs */
    .products-tabs {
        padding-right: 75px;
        gap: 6px;
    }

    .tab-btn {
        padding: 7px 12px;
        font-size: 11px;
        border-radius: 15px;
    }

    .tab-arrows {
        padding-left: 15px;
    }

    .arrow-btn {
        width: 30px;
        height: 30px;
    }

    .arrow-btn i {
        width: 16px;
        height: 16px;
    }

    /* Products Grid */
    .products-list-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .product-card {
        border-radius: 8px;
    }

    .wishlist-btn {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }

    .wishlist-btn i {
        width: 14px;
        height: 14px;
    }

    .product-badge {
        font-size: 10px;
        padding: 2px 10px;
        border-radius: 4px;
    }

    .product-info {
        padding: 8px 10px 10px;
    }

    .product-price {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .product-price-before {
        font-size: 11px;
    }

    .product-description {
        font-size: 10px;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
        height: auto;
        max-height: 28px;
    }

    .product-rating {
        font-size: 10px;
        margin-bottom: 6px;
        gap: 5px;
    }

    .rating-stars {
        gap: 2px;
    }

    .reviews-count {
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .add-to-cart-btn {
        padding: 8px;
        font-size: 11px;
        gap: 4px;
        border-radius: 5px;
    }

    .add-to-cart-btn i {
        width: 14px;
        height: 14px;
    }

    /* Pagination */
    .pagination-container {
        margin-top: 20px;
        gap: 12px;
    }

    .show-more-btn {
        padding: 10px 28px;
        font-size: 13px;
        border-radius: 6px;
    }

    .pagination {
        gap: 5px;
    }

    .pagination-btn {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
        border-radius: 4px;
    }

    .pagination-btn.prev,
    .pagination-btn.next {
        font-size: 0;
        min-width: 34px;
        padding: 0;
    }

    .pagination-btn.prev i,
    .pagination-btn.next i {
        width: 16px;
        height: 16px;
    }

    .pagination-dots {
        font-size: 12px;
        padding: 0 3px;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .product-list-container {
        padding: 0 10px;
        margin: 12px auto;
        gap: 12px;
    }

    /* Filters */
    .filters-header {
        padding: 14px;
        font-size: 15px;
    }

    .filter-section {
        padding: 12px 14px;
    }

    .filter-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .filter-options {
        max-height: 160px;
        gap: 6px;
    }

    .filter-option label {
        font-size: 11px;
    }

    .filter-option input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

    .category-item {
        padding: 6px 8px;
        font-size: 11px;
    }

    .price-input {
        padding: 6px 8px;
        font-size: 10px;
    }

    .show-all-btn {
        font-size: 11px;
    }

    /* Products Area */
    .products-area {
        gap: 10px;
    }

    .products-title {
        font-size: 18px;
    }

    .products-count {
        font-size: 11px;
    }

    .products-tabs-wrapper {
        gap: 6px;
    }

    .products-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .arrow-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .arrow-btn i {
        width: 14px;
        height: 14px;
    }

    /* Products Grid */
    .products-list-grid {
        gap: 8px;
    }

    .product-card {
        border-radius: 6px;
    }

    .wishlist-btn {
        width: 26px;
        height: 26px;
        top: 6px;
        right: 6px;
    }

    .product-badge {
        font-size: 9px;
        padding: 2px 8px;
    }

    .product-info {
        padding: 8px;
    }

    .product-price {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .product-description {
        font-size: 9px;
        margin-bottom: 5px;
        max-height: 24px;
    }

    .product-rating {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .add-to-cart-btn {
        padding: 7px;
        font-size: 10px;
        gap: 3px;
    }

    .add-to-cart-btn i {
        width: 12px;
        height: 12px;
    }

    /* Pagination */
    .pagination-container {
        margin-top: 18px;
        gap: 10px;
    }

    .show-more-btn {
        padding: 9px 24px;
        font-size: 12px;
    }

    .pagination-btn {
        min-width: 30px;
        height: 30px;
        font-size: 11px;
    }

    .filters-sidebar {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 85vh;
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        overflow-y: scroll;
    }

    .filters-sidebar.active {
        transform: translateY(0);
    }

    .mobile-filter-header {
        padding: 12px 16px;
        border-radius: 20px 20px 0 0;
    }

    /* Add drag handle */
    .mobile-filter-header::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #ddd;
        border-radius: 2px;
    }

    .mobile-filter-title {
        font-size: 16px;
    }

    .filter-close-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-filter-footer {
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .filter-reset-btn,
    .filter-apply-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .filter-section {
        padding: 14px 16px;
    }

    .filter-toggle-btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
}

/* Extra Small Mobile (360px) */
@media (max-width: 360px) {
    .product-list-container {
        padding: 0 8px;
        margin: 10px auto;
    }

    /* Filters */
    .filters-header {
        padding: 12px;
        font-size: 14px;
    }

    .filter-section {
        padding: 10px 12px;
    }

    .filter-title {
        font-size: 12px;
    }

    .price-inputs {
        gap: 6px;
    }

    .price-input {
        padding: 5px 6px;
        font-size: 9px;
    }

    /* Products Area */
    .products-area {
        gap: 8px;
    }

    .products-title {
        font-size: 16px;
    }

    .products-count {
        font-size: 10px;
    }

    /* Tabs */
    .products-tabs {
        padding-right: 65px;
        gap: 4px;
    }

    .tab-btn {
        padding: 5px 10px;
        font-size: 10px;
    }

    .arrow-btn {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    /* Products Grid - Horizontal cards */
    .products-list-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        border-radius: 8px;
        overflow: hidden;
    }

    .product-image-container {
        width: 100px;
        min-width: 100px;
        max-width: 100px;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .wishlist-btn {
        width: 22px;
        height: 22px;
        top: 4px;
        right: 4px;
    }

    .wishlist-btn i {
        width: 12px;
        height: 12px;
    }

    .product-badge {
        font-size: 8px;
        padding: 1px 6px;
        border-radius: 0 0 4px 0;
    }

    .product-info {
        flex: 1;
        padding: 8px 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-width: 0;
    }

    .product-price {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .product-price-before {
        font-size: 10px;
    }

    .product-description {
        font-size: 10px;
        -webkit-line-clamp: 2;
        max-height: 28px;
        margin-bottom: 4px;
    }

    .product-rating {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .add-to-cart-btn {
        padding: 6px;
        font-size: 9px;
    }

    /* Pagination */
    .pagination-container {
        margin-top: 15px;
        gap: 8px;
    }

    .show-more-btn {
        padding: 8px 20px;
        font-size: 11px;
    }

    .pagination {
        gap: 4px;
    }

    .pagination-btn {
        min-width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .pagination-dots {
        font-size: 10px;
    }

    .filters-sidebar {
        height: 90vh;
        max-height: 90vh;
    }

    .filter-toggle-btn {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .filter-toggle-btn span {
        display: none;
    }

    .active-filters-count {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* Handle text overflow in products area */
.products-area * {
    max-width: 100%;
}

.products-header,
.products-tabs,
.products-list-grid,
.pagination-container {
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   MOBILE STICKY TOP BAR WITH HAMBURGER MENU
   ======================================== */

.mobile-sticky-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    gap: 12px;
}

.mobile-menu-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #333;
    flex-shrink: 0;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: #4a5495;
    color: white;
}

.mobile-sticky-logo {
    height: 32px;
    flex-shrink: 0;
}

.mobile-sticky-logo img {
    height: 100%;
    width: auto;
}

.mobile-sticky-search {
    flex: 1;
    position: relative;
    min-width: 0;
}

.mobile-sticky-search-input {
    width: 100%;
    padding: 10px 40px 10px 38px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.mobile-sticky-search-input:focus {
    outline: none;
    border-color: #06d3db;
    background: white;
}

.mobile-sticky-search-input::placeholder {
    color: #999;
}

.mobile-sticky-search .search-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c7e8d;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.mobile-sticky-search .search-icon-right {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c7e8d;
    width: 20px;
    height: 20px;
    cursor: pointer;
    padding: 2px;
    transition: color 0.3s;
}

.mobile-sticky-search .search-icon-right:hover {
    color: #4a5495;
}

.mobile-cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #333;
    flex-shrink: 0;
    transition: all 0.3s;
}

.mobile-cart-btn:hover {
    background: #06d3db;
    color: white;
}

.mobile-cart-btn i {
    width: 22px;
    height: 22px;
}

.mobile-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ec3336;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid white;
}

/* ========================================
   HAMBURGER SIDEBAR MENU
   ======================================== */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: white;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu-sidebar.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f9fa;
}

.mobile-menu-logo {
    height: 36px;
}

.mobile-menu-logo img {
    height: 100%;
    width: auto;
}

.mobile-menu-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: #ec3336;
    border-color: #ec3336;
    color: white;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.mobile-menu-section {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-section:last-child {
    border-bottom: none;
}

.mobile-menu-section-title {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 20px 10px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.mobile-menu-item:hover {
    background: #f5f5f5;
    color: #4a5495;
}

.mobile-menu-item.active {
    background: #f0f2ff;
    color: #4a5495;
    border-left: 3px solid #4a5495;
}

.mobile-menu-item i {
    width: 22px;
    height: 22px;
    color: #7c7e8d;
    flex-shrink: 0;
}

.mobile-menu-item:hover i {
    color: #4a5495;
}

.mobile-menu-item-badge {
    margin-left: auto;
    background: #ec3336;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.mobile-menu-item-arrow {
    margin-left: auto;
    color: #ccc;
    width: 18px;
    height: 18px;
}

/* Catalog submenu in sidebar */
.mobile-submenu {
    display: none;
    background: #f8f9fa;
    padding: 10px 0;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu-item {
    display: block;
    padding: 12px 20px 12px 56px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.mobile-submenu-item:hover {
    background: #e8e8e8;
    color: #4a5495;
}

/* Mobile menu footer */
.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background: #f8f9fa;
}

.mobile-menu-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.mobile-menu-lang:hover {
    border-color: #4a5495;
}

.mobile-menu-lang-flag {
    font-size: 20px;
}

.mobile-menu-lang-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.mobile-menu-lang-arrow {
    margin-left: auto;
    color: #999;
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5495;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.mobile-menu-phone i {
    width: 20px;
    height: 20px;
}

.mobile-menu-hours {
    font-size: 12px;
    color: #7c7e8d;
    padding-left: 30px;
}

.mobile-menu-socials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mobile-menu-social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4a5495;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-menu-social:hover {
    background: #06d3db;
    transform: translateY(-2px);
}

.mobile-menu-social i {
    width: 18px;
    height: 18px;
}

/* ========================================
   MOBILE CART SIDEBAR
   ======================================== */

.mobile-cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-cart-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 340px;
    max-width: 90vw;
    background: white;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-cart-sidebar.active {
    transform: translateX(0);
}

.mobile-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.mobile-cart-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-cart-count {
    background: #f0f0f0;
    color: #666;
    font-size: 13px;
    padding: 2px 10px;
    border-radius: 12px;
}

.mobile-cart-close {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.mobile-cart-close:hover {
    background: #e5e5e5;
    color: #333;
}

.mobile-cart-items {
    flex: 1;
    overflow-y: auto;
}

.mobile-cart-item {
    display: flex;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
}

.mobile-cart-item:last-child {
    border-bottom: none;
}

.mobile-cart-item-img {
    width: 75px;
    height: 75px;
    min-width: 75px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mobile-cart-item-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.mobile-cart-item-info {
    flex: 1;
    min-width: 0;
}

.mobile-cart-item-name {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #4a5495;
    margin-bottom: 10px;
}

.mobile-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.mobile-cart-qty-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    transition: all 0.2s;
}

.mobile-cart-qty-btn:hover {
    background: #e5e5e5;
    color: #4a5495;
}

.mobile-cart-qty-value {
    width: 35px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    background: white;
}

.mobile-cart-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.mobile-cart-item-remove:hover {
    color: #ec3336;
}

.mobile-cart-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background: white;
}

.mobile-cart-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.mobile-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.mobile-cart-total-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.mobile-cart-total-value {
    font-size: 22px;
    font-weight: 700;
    color: #4a5495;
}

.mobile-cart-checkout {
    width: 100%;
    padding: 15px;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-cart-checkout:hover {
    background: #05bcc4;
}

.mobile-cart-continue {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #7c7e8d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.mobile-cart-continue:hover {
    color: #4a5495;
}

.mobile-cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.mobile-cart-empty-icon {
    font-size: 70px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.mobile-cart-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.mobile-cart-empty-text {
    font-size: 14px;
    color: #7c7e8d;
    margin-bottom: 20px;
}

.mobile-cart-empty-btn {
    padding: 12px 30px;
    background: #4a5495;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mobile-cart-empty-btn:hover {
    background: #06d3db;
}

/* ========================================
   MOBILE SEARCH DROPDOWN
   ======================================== */

.mobile-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-search-dropdown.active {
    display: block;
}

.mobile-search-section {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-search-section:last-child {
    border-bottom: none;
}

.mobile-search-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-search-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-search-clear-btn {
    font-size: 12px;
    color: #06d3db;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mobile-search-item:hover {
    background: #f5f5f5;
}

.mobile-search-item i {
    width: 18px;
    height: 18px;
    color: #999;
    flex-shrink: 0;
}

.mobile-search-item span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.mobile-search-item .remove-item {
    color: #ccc;
    cursor: pointer;
    padding: 2px;
}

.mobile-search-item .remove-item:hover {
    color: #ec3336;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .mobile-sticky-bar {
        display: block;
    }

    body {
        padding-top: 62px;
    }

    /* Hide desktop header elements */
    .top-bar {
        display: none;
    }

    .header {
        display: none;
    }

    .footer {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .mobile-sticky-top {
        padding: 8px 12px;
        gap: 10px;
    }

    .mobile-menu-btn,
    .mobile-cart-btn {
        width: 38px;
        height: 38px;
    }

    .mobile-sticky-logo {
        height: 28px;
    }

    .mobile-sticky-search-input {
        padding: 9px 35px 9px 35px;
        font-size: 13px;
    }

    .mobile-menu-sidebar {
        width: 280px;
    }

    .mobile-cart-sidebar {
        width: 100%;
        max-width: 100%;
    }

    body {
        padding-top: 54px;
    }
}

@media (max-width: 360px) {
    .mobile-sticky-top {
        padding: 8px 10px;
        gap: 8px;
    }

    .mobile-menu-btn,
    .mobile-cart-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-sticky-logo {
        display: none;
    }

    .mobile-sticky-search-input {
        padding: 8px 32px 8px 32px;
        font-size: 13px;
    }

    .mobile-sticky-search .search-icon-left {
        left: 10px;
        width: 16px;
        height: 16px;
    }
}

/* Body scroll lock */
body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    body> :not(header):not(footer):not(nav):not(aside):not(.mobile-sticky-bar):not(.top-bar):not(.container) {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 1366px) {
    .search-container {
        max-width: 50%;
    }
}

/* Active Filters Desktop */
.active-filters-desktop {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
    .active-filters-desktop {
        display: flex;
    }
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}

.filter-tag:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

.filter-tag i {
    opacity: 0.6;
}

.filter-tag:hover i {
    opacity: 1;
}

.filter-tag.clear-all {
    background: #fff;
    border-color: #d1d5db;
    color: #6b7280;
}

.filter-tag.clear-all:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

/* ========================================
   PRODUCT VIEW PAGE STYLES
   ======================================== */

/* Product View Container */
.product-view-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

.product-view {
    display: grid;
    grid-template-columns: 480px 1fr 300px;
    gap: 30px;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.main-image {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.image-nav-btn:hover {
    background: #4a5495;
    color: white;
    border-color: #4a5495;
}

.image-nav-btn.prev {
    left: 10px;
}

.image-nav-btn.next {
    right: 10px;
}

.share-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.share-btn:hover {
    color: #4a5495;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.thumbnail-list::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.thumbnail:hover {
    border-color: #06d3db;
}

.thumbnail.active {
    border-color: #4a5495;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-rating-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
}

.product-rating-bottom .star {
    color: #FFD700;
    font-size: 16px;
}

.product-rating-bottom .rating-value {
    font-weight: 600;
    color: #333;
}

.product-rating-bottom .reviews-link {
    color: #06d3db;
    text-decoration: none;
    font-size: 14px;
}

.product-rating-bottom .reviews-link:hover {
    text-decoration: underline;
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-main-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.product-meta-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.meta-rating .stars {
    color: #FFD700;
}

.meta-reviews {
    color: #999;
    font-size: 14px;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: #f0f7f7;
    border: 1px solid #e0f0f0;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.product-tag i {
    color: #06d3db;
    width: 16px;
    height: 16px;
}

.product-tag:hover,
.product-tag.active {
    background: #e0f7f7;
    border-color: #06d3db;
}

.price-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #4a5495;
}

.old-price {
    font-size: 16px;
    color: #EC383B;
    text-decoration: line-through;
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-label {
    font-size: 14px;
    color: #666;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e5e5e5;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.qty-input:focus {
    outline: none;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-add-cart:hover {
    background: #05bcc4;
}

.btn-buy-now {
    text-align: center;
    color: #06d3db;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    border: 1px solid #06d3db;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.btn-buy-now:hover {
    color: #fff;
    text-decoration: none;
    background: #06d3db;
}

/* Delivery Info Card */
.delivery-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

.delivery-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.delivery-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-header i {
    color: #4a5495;
    width: 20px;
    height: 20px;
}

.delivery-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.delivery-badge {
    background: #06d3db;
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: auto;
}

.delivery-subtitle {
    font-size: 13px;
    color: #666;
    padding-left: 30px;
}

.delivery-divider {
    height: 1px;
    background: #e5e5e5;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-left: 30px;
}

.payment-icon {
    height: 22px;
    padding: 2px 8px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
}

.article-label {
    color: #666;
}

.article-value {
    color: #333;
    font-weight: 500;
}

/* ========================================
   REVIEWS SECTION STYLES
   ======================================== */
.reviews-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.review-date {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

.review-stars {
    display: flex;
    gap: 2px;
    color: #FFD700;
    font-size: 14px;
}

.review-content-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-field-label {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.review-field-text {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
}

.btn-see-all-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    padding: 14px 40px;
    background: #E6F9FB;
    color: #06d3db;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-see-all-reviews:hover {
    background: #d0f3f5;
}

/* ========================================
        DESCRIPTION TABS SECTION STYLES
        ======================================== */
.description-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.description-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.description-tabs {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    overflow-x: auto;
}

.description-tabs::-webkit-scrollbar {
    display: none;
}

.desc-tab {
    padding: 18px 30px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    position: relative;
}

.desc-tab:hover {
    color: #06d3db;
}

.desc-tab.active {
    color: #06d3db;
}

.desc-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #06d3db;
}

.desc-compare {
    display: flex;
    align-items: center;
    gap: 5px;
}

.description-content {
    padding: 30px;
}

.desc-panel {
    display: none;
}

.desc-panel.active {
    display: block;
}

.desc-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.desc-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.benefit-item::before {
    content: '•';
    color: #06d3db;
    font-size: 18px;
    line-height: 1.2;
}

.desc-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 20px;
}

.benefits-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-column-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.benefit-column-item::before {
    content: '•';
    color: #06d3db;
    font-size: 18px;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Instructions Tab */
.instructions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.instruction-item {
    display: flex;
    gap: 15px;
}

.instruction-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: #4a5495;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.instruction-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    padding-top: 4px;
}

/* Composition Tab */
.composition-table {
    width: 100%;
    border-collapse: collapse;
}

.composition-table th,
.composition-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}

.composition-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.composition-table td {
    color: #555;
}

/* Certification Tab */
.cert-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.cert-icon {
    width: 45px;
    height: 45px;
    background: #4a5495;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-info {
    flex: 1;
}

.cert-title {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 3px;
}

.cert-desc {
    font-size: 13px;
    color: #666;
}

/* ========================================
   PRODUCT VIEW RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1200px) {
    .product-view {
        grid-template-columns: 400px 1fr;
        gap: 25px;
    }

    .delivery-card {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .delivery-divider {
        display: none;
    }

    .article-row {
        grid-column: 1 / -1;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-view {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        max-width: 500px;
        margin: 0 auto;
    }

    .delivery-card {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-view-container {
        padding: 0 15px;
        margin: 20px auto;
    }

    .product-view {
        padding: 20px;
        gap: 20px;
    }

    .main-image-container {
        min-height: 300px;
        padding: 15px;
    }

    .main-image {
        max-height: 280px;
    }

    .product-main-title {
        font-size: 20px;
    }

    .current-price {
        font-size: 24px;
    }

    .reviews-section {
        padding: 0 15px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .description-section {
        padding: 0 15px;
    }

    .desc-tab {
        padding: 14px 20px;
        font-size: 14px;
    }

    .description-content {
        padding: 20px;
    }

    .desc-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .product-view-container {
        padding: 0 10px;
        margin: 15px auto;
    }

    .product-view {
        padding: 15px;
    }

    .main-image-container {
        min-height: 250px;
    }

    .main-image {
        max-height: 230px;
    }

    .image-nav-btn {
        width: 32px;
        height: 32px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .product-main-title {
        font-size: 18px;
    }

    .product-tags {
        flex-direction: column;
    }

    .product-tag {
        width: 100%;
        justify-content: center;
    }

    .current-price {
        font-size: 22px;
    }

    .old-price {
        font-size: 14px;
    }

    .qty-btn {
        width: 36px;
        height: 36px;
    }

    .qty-input {
        width: 40px;
        height: 36px;
    }

    .btn-add-cart {
        padding: 12px 20px;
        font-size: 14px;
    }

    .delivery-card {
        padding: 15px;
    }

    .reviews-section {
        padding: 0 10px;
        margin: 30px auto;
    }

    .review-card {
        padding: 15px;
    }

    .btn-see-all-reviews {
        padding: 12px 30px;
        font-size: 14px;
    }

    .description-section {
        padding: 0 10px;
        margin: 30px auto;
    }

    .desc-tab {
        padding: 12px 15px;
        font-size: 13px;
    }

    .description-content {
        padding: 15px;
    }

    .desc-title {
        font-size: 16px;
    }

    .desc-text,
    .benefit-item,
    .benefit-column-item {
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .product-main-title {
        font-size: 16px;
    }

    .current-price {
        font-size: 20px;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Add these styles to your existing mega menu CSS */

.mega-menu-products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    text-decoration: none;
    color: #374151;
    transition: color 0.2s;
}

.mega-menu-product-item:hover {
    color: #059669;
}

.mega-menu-product-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f4f6;
}

.mega-menu-product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-menu-product-price {
    font-size: 12px;
    font-weight: 600;
    color: #059669;
}

.view-all-link {
    color: #059669 !important;
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Panel display */
.mega-menu-panel {
    display: none;
    width: 100%;
}

.mega-menu-panel.active {
    display: flex;
    gap: 24px;
}

/* ========================================
   DASHBOARD STYLES
   ======================================== */

.dashboard-wrapper {
    background-color: #fcfcfc;
    padding: 40px 0 80px;
    min-height: 600px;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.dashboard-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-header {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
    padding-left: 10px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    padding: 14px 20px;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-link:hover {
    background-color: #f0f0f0;
    color: #333;
}

.sidebar-link.active {
    background-color: #bdfbfc;
    color: #333;
}

/* Main Content */
.dashboard-content {
    flex: 1;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    overflow-y: scroll;
    max-width: 100%;
}

.content-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

.form-input:focus {
    border-color: #06d3db;
    box-shadow: 0 0 0 3px rgba(6, 211, 219, 0.1);
}

/* Date Input */
.date-input-wrapper {
    position: relative;
}

.date-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* Phone Input */
.phone-wrapper {
    position: relative;
}

.phone-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 8px;
    border-right: 1px solid #eee;
}

.phone-wrapper .form-input {
    padding-left: 100px;
    padding-right: 30px;
}

.flag-icon-uz {
    width: 20px;
    height: 14px;
    background: linear-gradient(#0099B5 33%, #CE1126 33%, #CE1126 36%, #FFFFFF 36%, #FFFFFF 63%, #CE1126 63%, #CE1126 66%, #1EB53A 66%);
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.input-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 2px;
    display: none;
}

.input-clear-btn:hover {
    color: #999;
}

.phone-wrapper:hover .input-clear-btn {
    display: block;
}

/* Gender Toggle */
.gender-toggle {
    display: flex;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 4px;
    height: 45px;
}

.gender-option {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 500;
}

.gender-option.active {
    background-color: #bdfbfc;
    color: #008fa0;
    font-weight: 600;
}

/* Actions */
.dashboard-actions {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.save-btn {
    background-color: #06d3db;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 12px rgba(6, 211, 219, 0.2);
}

.save-btn:hover {
    background-color: #05bcc4;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 10px;
    }

    .sidebar-link {
        white-space: nowrap;
        padding: 10px 16px;
        background: white;
        border: 1px solid #eee;
    }

    .sidebar-header {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        padding: 20px;
    }
}

/* ========================================
   RESPONSIVE DASHBOARD STYLES
   ======================================== */

/* Large Desktops (1400px+) - Default styles already set */

/* Standard Desktops (1200px - 1399px) */
@media (max-width: 1399px) {
    .dashboard-container {
        max-width: 1200px;
    }

    .dashboard-content {
        padding: 35px;
    }
}

/* Medium Desktops & Tablets Landscape (1024px - 1199px) */
@media (max-width: 1199px) {
    .dashboard-container {
        gap: 30px;
    }

    .dashboard-sidebar {
        width: 240px;
    }

    .sidebar-header {
        font-size: 20px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .dashboard-content {
        padding: 30px;
    }

    .content-title {
        font-size: 22px;
    }
}

/* Tablets Portrait (768px - 1023px) */
@media (max-width: 1023px) {
    .dashboard-wrapper {
        padding: 30px 0 60px;
    }

    .dashboard-container {
        padding: 0 15px;
        gap: 25px;
    }

    .dashboard-sidebar {
        width: 220px;
    }

    .sidebar-link {
        padding: 12px 16px;
        font-size: 14px;
    }

    .form-grid {
        gap: 18px;
    }

    .form-input {
        padding: 11px 14px;
        font-size: 13px;
    }

    .phone-wrapper .form-input {
        padding-left: 95px;
    }

    .dashboard-actions {
        margin-top: 30px;
    }

    .save-btn {
        padding: 11px 25px;
    }
}

/* Mobile Landscape & Small Tablets (768px - 899px) */
@media (max-width: 899px) {
    .dashboard-container {
        flex-direction: column;
        gap: 20px;
    }

    .dashboard-sidebar {
        width: 100%;
        order: -1;
    }

    .sidebar-header {
        font-size: 18px;
        margin-bottom: 15px;
        padding-left: 0;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-nav::-webkit-scrollbar {
        height: 4px;
    }

    .sidebar-nav::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 2px;
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 2px;
    }

    .sidebar-link {
        white-space: nowrap;
        padding: 10px 18px;
        background: white;
        border: 1px solid #e5e5e5;
        flex-shrink: 0;
    }

    .sidebar-link.active {
        border-color: #bdfbfc;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dashboard-content {
        padding: 25px;
        border-radius: 10px;
    }

    .content-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
}

/* Mobile Portrait (640px - 767px) */
@media (max-width: 767px) {
    .dashboard-wrapper {
        padding: 20px 0 50px;
    }

    .dashboard-container {
        padding: 0 12px;
    }

    .sidebar-header {
        text-align: center;
        margin-bottom: 12px;
    }

    .sidebar-nav {
        justify-content: flex-start;
        gap: 8px;
    }

    .sidebar-link {
        padding: 9px 16px;
        font-size: 13px;
    }

    .dashboard-content {
        padding: 20px;
    }

    .content-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .form-label {
        font-size: 12px;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    .phone-prefix {
        left: 10px;
        font-size: 13px;
    }

    .phone-wrapper .form-input {
        padding-left: 90px;
        padding-right: 28px;
    }

    .gender-toggle {
        height: 42px;
    }

    .gender-option {
        font-size: 13px;
    }

    .dashboard-actions {
        flex-direction: column-reverse;
        gap: 12px;
        margin-top: 25px;
    }

    .save-btn {
        width: 100%;
        padding: 13px;
        font-size: 15px;
        order: 1;
    }
}

/* Small Mobile (480px - 639px) */
@media (max-width: 639px) {
    .dashboard-wrapper {
        padding: 15px 0 40px;
    }

    .dashboard-container {
        padding: 0 10px;
    }

    .sidebar-header {
        font-size: 16px;
    }

    .sidebar-nav {
        gap: 6px;
    }

    .sidebar-link {
        padding: 8px 14px;
        font-size: 12px;
    }

    .dashboard-content {
        padding: 18px;
        border-radius: 8px;
    }

    .content-title {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .form-grid {
        gap: 14px;
    }

    .form-label {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .form-input {
        padding: 9px 11px;
        font-size: 13px;
        border-radius: 6px;
    }

    .date-icon {
        right: 10px;
        width: 16px;
        height: 16px;
    }

    .phone-prefix {
        left: 9px;
        font-size: 12px;
        gap: 6px;
    }

    .flag-icon-uz {
        width: 18px;
        height: 12px;
    }

    .phone-wrapper .form-input {
        padding-left: 85px;
        padding-right: 26px;
    }

    .input-clear-btn {
        right: 8px;
    }

    .gender-toggle {
        height: 40px;
        padding: 3px;
    }

    .gender-option {
        font-size: 12px;
    }

    .dashboard-actions {
        margin-top: 20px;
        gap: 10px;
    }

    .save-btn {
        padding: 12px;
        font-size: 14px;
    }
}

/* Extra Small Mobile (360px - 479px) */
@media (max-width: 479px) {
    .dashboard-wrapper {
        padding: 12px 0 35px;
    }

    .dashboard-container {
        padding: 0 8px;
    }

    .sidebar-header {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .sidebar-nav {
        gap: 5px;
    }

    .sidebar-link {
        padding: 7px 12px;
        font-size: 11px;
        border-radius: 6px;
    }

    .dashboard-content {
        padding: 15px;
        border-radius: 6px;
        width: 100%;
    }

    .content-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .form-grid {
        gap: 12px;
    }

    .form-label {
        font-size: 11px;
    }

    .form-input {
        padding: 8px 10px;
        font-size: 13px;
    }

    .phone-prefix {
        left: 8px;
        font-size: 11px;
    }

    .phone-wrapper .form-input {
        padding-left: 80px;
    }

    .gender-toggle {
        height: 38px;
    }

    .dashboard-actions {
        margin-top: 18px;
    }

    .save-btn {
        font-size: 13px;
        padding: 11px;
    }
}

/* Very Small Mobile (below 360px) */
@media (max-width: 359px) {
    .sidebar-header {
        font-size: 14px;
        word-break: break-word;
    }

    .sidebar-link {
        padding: 6px 10px;
        font-size: 10px;
    }

    .dashboard-content {
        padding: 12px;
    }

    .content-title {
        font-size: 15px;
    }

    .form-input {
        font-size: 12px;
    }

    .phone-prefix {
        font-size: 10px;
        gap: 4px;
    }

    .phone-wrapper .form-input {
        padding-left: 75px;
    }

    .flag-icon-uz {
        width: 16px;
        height: 10px;
    }
}

/* Landscape Orientation Fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .dashboard-wrapper {
        padding: 15px 0 30px;
    }

    .dashboard-content {
        padding: 20px;
    }

    .content-title {
        margin-bottom: 15px;
    }

    .form-grid {
        gap: 12px;
    }

    .dashboard-actions {
        margin-top: 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .sidebar-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .form-input {
        min-height: 44px;
    }

    /* .gender-option {
        min-height: 38px;
    } */

    .save-btn {
        min-height: 44px;
    }

    .input-clear-btn {
        padding: 6px;
        min-width: 32px;
        min-height: 32px;
    }
}

/* Print Styles (Optional) */
@media print {

    .dashboard-sidebar,
    .dashboard-actions {
        display: none;
    }

    .dashboard-container {
        display: block;
    }

    .dashboard-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .form-input {
        border: none;
        border-bottom: 1px solid #999;
        padding: 5px 0;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .form-input,
    .sidebar-link {
        border-width: 0.5px;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    .sidebar-link,
    .form-input,
    .gender-option,
    .save-btn {
        transition: none;
    }
}

/* ========================================
   PASSWORD SECTION
   ======================================== */
.password-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.section-title-product {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-input {
    padding-right: 45px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover {
    color: #374151;
}

.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #6b7280;
}

/* ========================================
   ERROR MESSAGES
   ======================================== */
.error-message {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #dc2626;
    min-height: 1rem;
}

.form-input.is-invalid {
    border-color: #dc2626;
}

/* ========================================
   NOTIFICATIONS
   ======================================== */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.notification-success {
    background-color: #10b981;
    color: white;
}

.notification-error {
    background-color: #ef4444;
    color: white;
}

.notification-info {
    background-color: #fff;
    color: black;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    display: flex;
    opacity: 0.8;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* ========================================
   ALERTS
   ======================================== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ========================================
   REVIEWS STYLES - ENHANCED
   ======================================== */

.reviews-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.review-tab {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: all 0.2s ease;
    position: relative;
}

.review-tab::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.review-tab.active {
    color: #06d3db;
}

.review-tab.active::after {
    background-color: #06d3db;
}

.review-tab:hover:not(.active) {
    color: #333;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.review-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.review-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #d5d5d5;
}

.review-content {
    display: flex;
    gap: 16px;
    padding: 18px;
}

.review-product-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
}

.review-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.review-product-details {
    flex: 1;
}

.review-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.star-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
}

.star-rating i {
    color: #FFD700;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.star-rating i.empty {
    color: #e0e0e0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

.status-pending {
    background-color: #fff8e6;
    color: #d49300;
    border: 1px solid #ffefc7;
}

.status-approved {
    background-color: #e6fff0;
    color: #00a352;
    border: 1px solid #c7ffe2;
}

/* For already rated reviews */
.review-details {
    padding: 18px;
    border-top: 1px solid #f0f0f0;
}

.review-section {
    margin-bottom: 14px;
}

.review-section:last-child {
    margin-bottom: 0;
}

.review-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-section-title i {
    width: 16px;
    height: 16px;
    color: #999;
}

.review-section-content {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px 12px;
}

.review-footer {
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    background-color: #fbfbfb;
    border-top: 1px solid #f0f0f0;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-edit-btn {
    background: none;
    border: none;
    color: #06d3db;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-edit-btn:hover {
    color: #05bcc4;
}

.review-edit-btn i {
    width: 14px;
    height: 14px;
}

/* Empty state */
.review-empty {
    text-align: center;
    padding: 50px 20px;
    grid-column: 1 / -1;
}

.review-empty-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.review-empty-text {
    font-size: 16px;
    color: #999;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .reviews-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .review-content {
        padding: 15px;
        gap: 14px;
    }

    .review-product-image {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }

    .review-details {
        padding: 15px;
    }

    .review-footer {
        padding: 10px 15px;
    }
}

@media (max-width: 767px) {
    .reviews-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-product-title {
        font-size: 13px;
    }

    .review-details {
        padding: 14px;
    }

    .review-section-title {
        font-size: 12px;
    }

    .review-section-content {
        font-size: 12px;
        padding: 8px 10px;
    }

    .reviews-tabs {
        gap: 15px;
        margin-bottom: 25px;
    }

    .review-tab {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .reviews-tabs {
        gap: 0;
        justify-content: space-around;
    }

    .review-tab {
        flex: 1;
        text-align: center;
        white-space: nowrap;
    }

    .review-content {
        flex-direction: row;
        gap: 12px;
    }

    .review-product-image {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .review-footer {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .review-edit-btn {
        margin-top: 4px;
    }
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.empty-state p {
    font-size: 0.95rem;
}

/* ========================================
   TAB COUNT BADGE
   ======================================== */
.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #e5e7eb;
    border-radius: 10px;
}

.review-tab.active .tab-count {
    background-color: #06d3db;
    color: white;
}

/* ========================================
   REVIEW PHOTOS
   ======================================== */
.review-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.review-photo-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.review-photo-thumb:hover {
    transform: scale(1.05);
}

/* ========================================
   REVIEW PRODUCT LINK
   ======================================== */
.review-product-title a {
    color: inherit;
    text-decoration: none;
}

.review-product-title a:hover {
    color: #059669;
    text-decoration: underline;
}

/* ========================================
   STAR RATING
   ======================================== */
.star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-rating .star-filled {
    color: #fbbf24;
    fill: #fbbf24;
}

.star-rating .star-empty {
    color: #d1d5db;
    fill: none;
}

/* ========================================
   WISHLIST PAGE
   ======================================== */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.wishlist-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.wishlist-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wishlist-card-image {
    position: relative;
    aspect-ratio: 1;
    background: #f9fafb;
}

.wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.wishlist-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.wishlist-badge.sale {
    background: #dc2626;
    color: white;
}

.wishlist-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #6b7280;
    transition: all 0.2s;
}

.wishlist-remove-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

.wishlist-card-content {
    padding: 1rem;
}

.wishlist-card-category {
    font-size: 0.75rem;
    color: #4a5495;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.wishlist-card-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wishlist-card-title a {
    color: #1f2937;
    text-decoration: none;
}

.wishlist-card-title a:hover {
    color: #059669;
}

.wishlist-card-vendor {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.wishlist-card-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.wishlist-card-price .price-current {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a5495;
}

.wishlist-card-price .price-original {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.wishlist-card-stock {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.wishlist-card-stock .stock-in {
    color: #059669;
}

.wishlist-card-stock .stock-low {
    color: #f59e0b;
}

.wishlist-card-stock .stock-out {
    color: #dc2626;
}

.wishlist-card-actions {
    margin-bottom: 0.75rem;
}

.btn-add-to-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #059669;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add-to-cart:hover:not(.disabled) {
    background: #047857;
}

.btn-add-to-cart.disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.wishlist-card-date {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}

.wishlist-pagination {
    margin-top: 2rem;
}

/* Empty State */
.wishlist-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.wishlist-empty-icon {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.wishlist-empty h3 {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.wishlist-empty p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.btn-browse-products {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #06d3db;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-browse-products:hover {
    background: #05bcc4;
}

/* Sidebar Badge */
.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    background: #06d3db;
    color: white;
    border-radius: 10px;
}

/* Action Badge in Header */
.action-icon {
    position: relative;
}

.action-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #dc2626;
    color: white;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 640px) {
    .wishlist-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    .wishlist-card-content {
        padding: 0.75rem;
    }

    .wishlist-card-title {
        font-size: 0.85rem;
    }

    .wishlist-card-price .price-current {
        font-size: 1rem;
    }
}

/* Wishlist Button on Product Cards */
.wishlist-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #9ca3af;
    transition: all 0.2s;
}

.wishlist-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: #06d3db;
    /* background: #fef2f2; */
}

.wishlist-btn.active:hover {
    color: #fff;
}

.wishlist-btn.active svg {
    fill: #06d3db;
}

/* ========================================
   ORDERS PAGE STYLES
   ======================================== */

/* Tabs */
.orders-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.orders-tab {
    padding: 10px 24px;
    border: none;
    background: #f0f0f0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.orders-tab:hover {
    background: #e5e5e5;
}

.orders-tab.active {
    background: #06d3db;
    color: white;
}

/* Search Bar */
.orders-search-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.orders-search-input {
    flex: 1;
    max-width: 400px;
    padding: 12px 16px 12px 44px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    position: relative;
}

.orders-search-input:focus {
    outline: none;
    border-color: #06d3db;
    background: #fff;
}

.orders-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.orders-search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.orders-tab-content {
    display: none;
}

.orders-tab-content.active {
    display: block;
}

/* Order Card */
.order-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fafafa;
    cursor: pointer;
    transition: background 0.2s;
}

.order-card-header:hover {
    background: #f5f5f5;
}

.order-card-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order-id {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.order-id span {
    color: #666;
    font-weight: 400;
}

.order-status {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.order-status.going {
    background: #e8f5e9;
    color: #2e7d32;
}

.order-status.delivered {
    background: #e3f2fd;
    color: #1565c0;
}

.order-status.cancelled {
    background: #ffebee;
    color: #c62828;
}

.order-status.pending {
    background: #fff3e0;
    color: #ef6c00;
}

.order-card-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.order-date-preview {
    font-size: 13px;
    color: #888;
}

.order-amount-preview {
    font-size: 15px;
    font-weight: 600;
    color: #4a5495;
}

.order-expand-icon {
    color: #999;
    transition: transform 0.3s;
}

.order-card.expanded .order-expand-icon {
    transform: rotate(180deg);
}

/* Order Card Body */
.order-card-body {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid #f0f0f0;
}

.order-card.expanded .order-card-body {
    display: block;
}

/* Order Details Grid */
.order-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-detail-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.order-detail-value.highlight {
    color: #4a5495;
    font-weight: 600;
}

/* Working Hours Collapsible */
.working-hours-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #06d3db;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-weight: 500;
}

.working-hours-toggle:hover {
    text-decoration: underline;
}

.working-hours-content {
    display: none;
    margin-top: 8px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.working-hours-content.active {
    display: block;
}

/* Order Products Section */
.order-products-section {
    padding: 20px 0;
}

.order-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-products-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.order-products-count {
    font-size: 13px;
    color: #888;
}

.order-products-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-product-thumb {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: #f5f5f5;
    overflow: hidden;
    border: 1px solid #eee;
}

.order-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.order-product-more {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    border: 1px dashed #ddd;
}

/* Order Actions */
.order-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.order-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-btn-primary {
    background: #4a5495;
    color: white;
    border: none;
}

.order-btn-primary:hover {
    background: #3d4578;
}

.order-btn-secondary {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

.order-btn-secondary:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.order-btn-danger {
    background: white;
    color: #dc3545;
    border: 1px solid #dc3545;
}

.order-btn-danger:hover {
    background: #dc3545;
    color: white;
}

/* Pagination */
.orders-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e5e5;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #06d3db;
    color: #06d3db;
}

.pagination-btn.active {
    background: #06d3db;
    border-color: #06d3db;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 13px;
    color: #888;
    margin: 0 10px;
}

/* Order History Card (Different style) */
.order-history-card {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    gap: 20px;
    transition: box-shadow 0.2s;
}

.order-history-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.order-history-products {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.order-history-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: #f5f5f5;
    overflow: hidden;
    border: 1px solid #eee;
}

.order-history-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.order-history-info {
    flex: 1;
    min-width: 0;
}

.order-history-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.order-history-id {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.order-history-date {
    font-size: 13px;
    color: #888;
}

.order-history-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-history-items {
    font-size: 13px;
    color: #666;
}

.order-history-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.order-history-amount {
    font-size: 16px;
    font-weight: 600;
    color: #4a5495;
}

.order-history-action {
    font-size: 13px;
    color: #06d3db;
    text-decoration: none;
    font-weight: 500;
}

.order-history-action:hover {
    text-decoration: underline;
}

/* Empty State */
.orders-empty {
    text-align: center;
    padding: 60px 20px;
}

.orders-empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.4;
}

.orders-empty-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.orders-empty-text {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.orders-empty-btn {
    padding: 12px 28px;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.orders-empty-btn:hover {
    background: #05bcc4;
}

/* Responsive Orders */
@media (max-width: 768px) {
    .orders-tabs {
        width: 100%;
    }

    .orders-tab {
        flex: 1;
        text-align: center;
        padding: 10px 16px;
        font-size: 13px;
    }

    .orders-search-wrapper {
        max-width: 100%;
    }

    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .order-card-header-left {
        flex-wrap: wrap;
        gap: 10px;
    }

    .order-card-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .order-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .order-product-thumb,
    .order-product-more {
        width: 60px;
        height: 60px;
    }

    .order-actions {
        flex-direction: column;
    }

    .order-btn {
        width: 100%;
        justify-content: center;
    }

    .order-history-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .order-history-right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .orders-tab {
        padding: 8px 12px;
        font-size: 12px;
    }

    .order-id {
        font-size: 14px;
    }

    .order-product-thumb,
    .order-product-more {
        width: 55px;
        height: 55px;
    }

    .order-history-thumb {
        width: 45px;
        height: 45px;
    }

    .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ========================================
   ADDRESSES PAGE
   ======================================== */
.addresses-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.addresses-header .content-title {
    margin-bottom: 0;
}

.btn-add-address {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add-address:hover {
    background: #05bcc4;
}

/* Address Grid */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

/* Address Card */
.address-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.address-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.address-card.is-default {
    border-color: #06d3db;
    background: linear-gradient(to bottom, #e6fafb, white);
}

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.address-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.address-label svg {
    color: #6b7280;
}

.default-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #ccf6f8;
    color: #05bcc4;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
}

.address-card-body {
    padding: 1rem;
}

.address-recipient {
    margin-bottom: 0.75rem;
}

.address-recipient strong {
    display: block;
    color: #1f2937;
    font-size: 0.95rem;
}

.recipient-phone {
    color: #6b7280;
    font-size: 0.85rem;
}

.address-details {
    margin-bottom: 0.75rem;
}

.address-line {
    color: #374151;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.address-city {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
}

.address-country {
    color: #9ca3af;
    font-size: 0.8rem;
    margin: 0;
}

.address-instructions {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    margin-top: 0.75rem;
}

.address-instructions svg {
    color: #9ca3af;
    flex-shrink: 0;
    margin-top: 2px;
}

.address-instructions span {
    color: #6b7280;
    font-size: 0.8rem;
    font-style: italic;
}

.address-card-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

.address-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-set-default {
    padding: 6px 12px;
    background: transparent;
    color: #06d3db;
    border: 1px solid #06d3db;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-set-default:hover {
    background: #06d3db;
    color: white;
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit:hover {
    background: #f3f4f6;
    color: #374151;
}

.btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}

.btn-delete:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

/* Empty State */
.addresses-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.addresses-empty-icon {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.addresses-empty h3 {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.addresses-empty p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.btn-add-address-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add-address-large:hover {
    background: #05bcc4;
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-container.modal-sm {
    max-width: 400px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

/* Form Styles in Modal */
.form-row {
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #06d3db;
    box-shadow: 0 0 0 3px rgba(6, 211, 219, 0.15);
}

.form-input.is-invalid {
    border-color: #dc2626;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Label Options */
.label-options {
    display: flex;
    gap: 0.5rem;
}

.label-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.label-option:hover {
    border-color: #06d3db;
    color: #06d3db;
}

.label-option.active {
    background: #e6fafb;
    border-color: #06d3db;
    color: #05bcc4;
}

/* Checkbox */
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: #06d3db;
    border-color: #06d3db;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Modal Buttons */
.btn-cancel {
    padding: 0.625rem 1.25rem;
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: #f3f4f6;
    color: #374151;
}

.btn-save {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background: #05bcc4;
}

.btn-save:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.btn-delete-confirm {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-confirm:hover {
    background: #b91c1c;
}

.btn-delete-confirm:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   SIDEBAR BADGE (if not already updated)
   ======================================== */
.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    background: #06d3db;
    color: white;
    border-radius: 10px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* Responsive */
@media (max-width: 640px) {
    .addresses-grid {
        grid-template-columns: 1fr;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .label-options {
        flex-wrap: wrap;
    }

    .modal-container {
        max-height: 100vh;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }

    .modal-body {
        max-height: 60vh;
    }
}

/* ========================================
   ORDERS PAGE - REDESIGNED
   Primary: #06d3db, #05bcc4
   ======================================== */

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Orders Search Form - Alternative with external clear button */
.orders-search-form {
    display: flex;
    align-items: center;
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input-order {
    width: 240px;
    padding: 0.625rem 0.875rem 0.625rem 2.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    transition: all 0.2s;
    height: 40px;
    box-sizing: border-box;
}

.search-input-order:focus {
    outline: none;
    border-color: #06d3db;
    box-shadow: 0 0 0 3px rgba(6, 211, 219, 0.1);
}

.search-input-order::placeholder {
    color: #9ca3af;
}

.btn-clear-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-clear-search:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .orders-search-form {
        width: 100%;
    }

    .search-input-group {
        width: 100%;
    }

    .search-input-wrapper {
        flex: 1;
    }

    .search-input-order {
        width: 100%;
    }
}

/* Orders Navigation */
.orders-nav {
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: #f9fafb;
    padding: 0.375rem;
    border-radius: 10px;
}

.orders-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
}

.orders-nav-item:hover {
    color: #374151;
}

.orders-nav-item.active {
    background: white;
    color: #06d3db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #06d3db;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 10px;
}

/* Orders Grid (Active Orders) */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
}

.order-card-link {
    text-decoration: none;
}

.order-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    transition: all 0.2s;
}

.order-card:hover {
    border-color: #06d3db;
    box-shadow: 0 4px 12px rgba(6, 211, 219, 0.15);
}

.order-card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.order-card-main {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.order-card-images {
    display: flex;
    gap: 0.25rem;
}

.order-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f9fafb;
    overflow: hidden;
}

.order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-thumb-more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
}

.order-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-number {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.order-date {
    font-size: 0.8rem;
    color: #9ca3af;
}

.order-items-count {
    font-size: 0.8rem;
    color: #6b7280;
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-total {
    font-weight: 600;
    color: #1f2937;
}

.order-view-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: #06d3db;
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge-lg {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.status-processing {
    background: #e0e7ff;
    color: #4338ca;
}

.status-ready {
    background: #f3e8ff;
    color: #7c3aed;
}

.status-out_for_delivery {
    background: #ccf6f8;
    color: #0891b2;
}

.status-delivered {
    background: #d1fae5;
    color: #059669;
}

.status-completed {
    background: #d1fae5;
    color: #059669;
}

.status-cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.payment-badge.paid {
    background: #d1fae5;
    color: #059669;
}

/* History List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.history-card-link {
    text-decoration: none;
}

.history-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.history-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.history-card-images {
    display: flex;
    gap: 0.25rem;
}

.history-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f9fafb;
    overflow: hidden;
}

.history-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.history-card-content {
    flex: 1;
}

.history-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 4px;
}

.history-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.history-card-right {
    text-align: right;
}

.history-actions {
    margin-top: 4px;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
    border: none;
    font-size: 0.8rem;
    color: #06d3db;
    cursor: pointer;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #f3f4f6;
    border-radius: 50%;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #05bcc4;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-danger:hover {
    background: #b91c1c;
}

/* ========================================
   ORDER DETAIL PAGE
   ======================================== */
.order-detail-page {
    max-width: 1100px;
}

.detail-breadcrumb {
    margin-bottom: 1.5rem;
}

.detail-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.detail-breadcrumb a:hover {
    color: #06d3db;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Order Header Card */
.order-header-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-header-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.order-number-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
}

.order-placed-date {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

/* Order Timeline */
.order-timeline {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    overflow-x: auto;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.timeline-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.timeline-step.completed .timeline-dot {
    background: #06d3db;
}

.timeline-step.current .timeline-dot {
    background: #06d3db;
    box-shadow: 0 0 0 4px rgba(6, 211, 219, 0.2);
}

.timeline-label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: center;
    white-space: nowrap;
}

.timeline-step.completed .timeline-label,
.timeline-step.current .timeline-label {
    color: #06d3db;
    font-weight: 500;
}

.timeline-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    min-width: 20px;
    margin: 0 4px;
    margin-bottom: 24px;
}

.timeline-line.completed {
    background: #06d3db;
}

/* Cancelled Notice */
.order-cancelled-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 8px;
    margin-top: 1rem;
    color: #991b1b;
}

.order-cancelled-notice strong {
    display: block;
    margin-bottom: 4px;
}

.order-cancelled-notice p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Detail Grid */
.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Detail Sections */
.detail-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.section-badge {
    font-size: 0.75rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 12px;
}

/* Items List */
.items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-card {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
}

.item-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: white;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 4px;
}

.item-sku {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

.item-vendor {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 4px 0 0;
}

.item-price-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 6px;
}

.item-price {
    font-size: 0.85rem;
    color: #374151;
}

.item-qty {
    font-size: 0.8rem;
    color: #9ca3af;
}

.item-total {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-total>span {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.btn-review {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #06d3db;
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-review:hover {
    background: #05bcc4;
}

.review-done {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #d1fae5;
    color: #059669;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Summary Card */
.summary-card {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.summary-row.discount {
    color: #059669;
}

.coupon-tag {
    background: #d1fae5;
    color: #059669;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.summary-row.total {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

/* Info Card */
.info-card {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.info-label {
    font-size: 0.8rem;
    color: #9ca3af;
}

.info-value {
    font-size: 0.875rem;
    color: #374151;
}

.payment-status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.payment-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.payment-status-badge.paid {
    background: #d1fae5;
    color: #059669;
}

.payment-status-badge.failed {
    background: #fee2e2;
    color: #dc2626;
}

.payment-status-badge.refunded {
    background: #f3e8ff;
    color: #7c3aed;
}

.payment-status-badge.partially_refunded {
    background: #fed7aa;
    color: #c2410c;
}

/* Address Info */
.address-info {
    font-size: 0.875rem;
}

.recipient-name {
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 4px;
}

.recipient-phone {
    color: #6b7280;
    margin: 0 0 8px;
}

.address-text {
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.delivery-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #e6fafb;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #0891b2;
}

/* Pickup Info */
.pickup-info {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.pickup-info.has-border {
    border-bottom: 1px solid #e5e7eb;
}

.vendor-name {
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 4px;
}

.pickup-address {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.pickup-code-box {
    display: inline-flex;
    flex-direction: column;
    background: #06d3db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-top: 0.75rem;
}

.pickup-code-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.pickup-code-value {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-decoration: none;
    border: none;
}

.btn-cancel-order {
    background: white;
    color: #dc2626;
    border: 1px solid #dc2626;
}

.btn-cancel-order:hover {
    background: #fef2f2;
}

.btn-refund {
    background: white;
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.btn-refund:hover {
    background: #fffbeb;
}

.btn-reorder {
    background: #06d3db;
    color: white;
}

.btn-reorder:hover {
    background: #05bcc4;
}

/* Cancel Form */
.cancel-form-container {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-textarea,
.form-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
    resize: vertical;
}

.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #06d3db;
    box-shadow: 0 0 0 3px rgba(6, 211, 219, 0.1);
}

.cancel-form-actions {
    display: flex;
    gap: 0.75rem;
}

.notes-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    font-style: italic;
}

/* Refund Cards */
.refunds-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.refund-card {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
}

.refund-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.refund-number {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.status-refund-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-refund-approved {
    background: #dbeafe;
    color: #1e40af;
}

.status-refund-processing {
    background: #e0e7ff;
    color: #4338ca;
}

.status-refund-completed {
    background: #d1fae5;
    color: #059669;
}

.status-refund-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.refund-info {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.refund-info p {
    margin: 0 0 4px;
}

.refund-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.refund-item-tag {
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #6b7280;
}

.refund-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.refund-amount {
    font-weight: 600;
    color: #06d3db;
}

.refund-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ========================================
   REFUND PAGE
   ======================================== */
.page-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.page-subtitle {
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.refund-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .refund-grid {
        grid-template-columns: 1fr;
    }
}

.refund-items-select {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.refund-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.refund-item-row.selected {
    background: #e6fafb;
    border-color: #06d3db;
}

.refund-item-check {
    position: relative;
    cursor: pointer;
}

.refund-item-check input {
    width: 20px;
    height: 20px;
    accent-color: #06d3db;
}

.refund-item-image {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: white;
    overflow: hidden;
    flex-shrink: 0;
}

.refund-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.refund-item-info {
    flex: 1;
    min-width: 0;
}

.refund-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 4px;
}

.refund-item-price {
    font-size: 0.85rem;
    color: #06d3db;
    font-weight: 500;
    margin: 0;
}

.refund-item-original {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 4px 0 0;
}

.refund-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.refund-item-qty label {
    font-size: 0.8rem;
    color: #6b7280;
}

.qty-select {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    min-width: 60px;
}

.qty-select:disabled {
    background: #f3f4f6;
    color: #9ca3af;
}

.refund-summary-box {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.summary-items {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.no-items-selected {
    color: #9ca3af;
    font-style: italic;
    text-align: center;
    padding: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1rem;
}

.total-amount {
    color: #06d3db;
    font-size: 1.1rem;
}

.btn-submit-refund {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit-refund:hover:not(:disabled) {
    background: #05bcc4;
}

.btn-submit-refund:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.refund-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* ========================================
   REVIEW PAGE
   ======================================== */
.review-container {
    max-width: 640px;
}

.review-product-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.review-product-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #f9fafb;
    overflow: hidden;
    flex-shrink: 0;
}

.review-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.review-product-info {
    flex: 1;
}

.review-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 4px 0;
}

.review-product-meta {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.review-form {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.form-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem;
}

.form-hint {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0 0 0.75rem;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #d1d5db;
    padding: 4px;
    transition: all 0.15s;
}

.star-btn:hover {
    transform: scale(1.1);
}

.star-btn.active {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.error-text {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Photo Upload */
.photo-upload-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hidden-input {
    display: none;
}

.photo-upload-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100px;
    height: 100px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-upload-trigger:hover {
    border-color: #06d3db;
    color: #06d3db;
    background: #e6fafb;
}

.photo-upload-trigger span {
    font-size: 0.75rem;
}

.photo-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.photo-preview-item {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .orders-search-form {
        width: 100%;
    }

    .search-input-order {
        width: 100%;
    }

    /* .orders-nav {
        flex-direction: column;
    } */

    .orders-grid {
        grid-template-columns: 1fr;
    }

    .order-header-main {
        flex-direction: column;
        gap: 1rem;
    }

    .order-timeline {
        padding-bottom: 1rem;
        flex-direction: column;
    }

    .timeline-line {
        min-width: unset;
        height: unset;
        width: 1px;
        min-height: 10px;
        margin: 7px;
    }

    .item-card {
        flex-wrap: wrap;
    }

    .item-details {
        flex: 1;
        min-width: calc(100% - 80px);
    }

    .item-total {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.75rem;
        margin-top: 0.5rem;
        border-top: 1px solid #e5e7eb;
    }

    .review-product-card {
        flex-direction: column;
        text-align: center;
    }

    .review-product-image {
        margin: 0 auto;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn-secondary,
    .form-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .history-card {
        flex-direction: column;
        align-items: unset;
    }

    .history-card-top {
        flex-wrap: wrap;
    }
}

/* ========================================
   REVIEW PAGE ADDITIONS
   ======================================== */
.optional-tag {
    font-size: 0.7rem;
    font-weight: 400;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

.star-rating-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.form-section-title svg {
    color: #6b7280;
}

/* ========================================
   ITEM STATUS BADGES
   ======================================== */
.item-name-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.item-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.item-status-badge.refunded {
    background: #f3e8ff;
    color: #7c3aed;
}

.item-status-badge.return-pending {
    background: #fef3c7;
    color: #d97706;
}

.item-status-badge.partial-refund {
    background: #fed7aa;
    color: #c2410c;
}

.item-status-badge.cancelled {
    background: #fee2e2;
    color: #dc2626;
}

.item-refund-info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #7c3aed;
    margin: 6px 0 0;
}

.price-strikethrough {
    text-decoration: line-through;
    color: #9ca3af !important;
}

/* Order Header Badges */
.order-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-badge-lg svg {
    flex-shrink: 0;
}

.status-refunded {
    background: #f3e8ff;
    color: #7c3aed;
}

.status-partial-refund {
    background: #fed7aa;
    color: #c2410c;
}

.status-return-pending {
    background: #fef3c7;
    color: #d97706;
}

/* Item card with refund status */
.item-card.has-refund-status {
    border-left: 3px solid #7c3aed;
}

/* ========================================
   REFUND CARD STATUS BADGES (existing, ensure present)
   ======================================== */
.status-refund-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-refund-approved {
    background: #dbeafe;
    color: #1e40af;
}

.status-refund-processing {
    background: #e0e7ff;
    color: #4338ca;
}

.status-refund-completed {
    background: #d1fae5;
    color: #059669;
}

.status-refund-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.order-card-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.return-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.return-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.return-badge.refunded {
    background: #f3e8ff;
    color: #7c3aed;
}

/* ========================================
   REFUND PAGE - FIXED FOR MOBILE
   ======================================== */
.refund-page {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.refund-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 1.5rem;
    width: 100%;
}

.refund-left,
.refund-right {
    min-width: 0;
    /* Important: allows flex/grid children to shrink below content size */
    width: 100%;
}

.detail-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 1.25rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Refund Items Selection */
.refund-items-select {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.refund-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    /* Allow shrinking */
}

.refund-item-row.selected {
    background: #e6fafb;
    border-color: #06d3db;
}

.refund-item-check {
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.refund-item-check input {
    width: 20px;
    height: 20px;
    accent-color: #06d3db;
    cursor: pointer;
}

.refund-item-image {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: white;
    overflow: hidden;
    flex-shrink: 0;
}

.refund-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.refund-item-info {
    flex: 1;
    min-width: 0;
    /* Critical: allows text truncation to work */
    overflow: hidden;
}

.refund-item-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.refund-item-price {
    font-size: 0.85rem;
    color: #06d3db;
    font-weight: 500;
    margin: 0;
}

.refund-item-original {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 4px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.refund-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.refund-item-qty label {
    font-size: 0.8rem;
    color: #6b7280;
}

.qty-select {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    min-width: 60px;
    background: white;
}

.qty-select:disabled {
    background: #f3f4f6;
    color: #9ca3af;
}

.qty-select:focus {
    outline: none;
    border-color: #06d3db;
}

/* Refund Summary */
.refund-summary-box {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.summary-items {
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.summary-item span:last-child {
    flex-shrink: 0;
    font-weight: 500;
}

.no-items-selected {
    color: #9ca3af;
    font-style: italic;
    text-align: center;
    padding: 1rem 0;
    margin: 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.total-amount {
    color: #06d3db;
    font-size: 1.1rem;
}

.btn-submit-refund {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: #06d3db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    box-sizing: border-box;
}

.btn-submit-refund:hover:not(:disabled) {
    background: #05bcc4;
}

.btn-submit-refund:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.refund-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.refund-note i,
.refund-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 900px) {
    .refund-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 640px) {
    .refund-page {
        padding: 0;
    }

    .detail-section {
        padding: 1rem;
        border-radius: 8px;
    }

    .refund-item-row {
        flex-wrap: wrap;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .refund-item-check {
        order: 1;
    }

    .refund-item-image {
        order: 2;
        width: 48px;
        height: 48px;
    }

    .refund-item-info {
        order: 3;
        flex: 1;
        min-width: calc(100% - 90px);
        /* checkbox + image + gaps */
    }

    .refund-item-qty {
        order: 4;
        width: 100%;
        justify-content: flex-end;
        padding-top: 0.5rem;
        margin-top: 0.5rem;
        border-top: 1px solid #e5e7eb;
    }

    .refund-item-name {
        font-size: 0.8rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .refund-item-price {
        font-size: 0.8rem;
    }

    .refund-item-original {
        font-size: 0.7rem;
        white-space: normal;
    }

    .summary-total {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .total-amount {
        font-size: 1.25rem;
    }
}

/* ========================================
   VERY SMALL SCREENS
   ======================================== */
@media (max-width: 380px) {
    .refund-item-row {
        padding: 0.625rem;
    }

    .refund-item-image {
        width: 40px;
        height: 40px;
    }

    .refund-item-info {
        min-width: calc(100% - 80px);
    }

    .qty-select {
        min-width: 50px;
        padding: 4px 6px;
        font-size: 0.8rem;
    }
}

.main-image-container .wishlist-btn {
    top: 60px;
    right: 15px;
}

@media (max-width: 480px) {
    .main-image-container .wishlist-btn {
        top: 15px;
        left: 15px;
    }
}

/* User Dropdown */
.user-dropdown-wrapper {
    position: relative;
}

.user-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-dropdown-trigger .dropdown-chevron {
    transition: transform 0.2s ease;
}

.user-dropdown-wrapper.active .dropdown-chevron {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-wrapper.active .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 16px;
    background: linear-gradient(135deg, rgba(6, 211, 219, 0.1), rgba(6, 211, 219, 0.05));
    border-bottom: 1px solid #e5e7eb;
}

.user-dropdown-name {
    display: block;
    font-weight: 600;
    color: #111827;
    font-size: 14px;
}

.user-dropdown-email {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.user-dropdown-links {
    padding: 8px 0;
}

.user-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #374151;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.user-dropdown-link:hover {
    background: rgba(6, 211, 219, 0.1);
    color: #06d3db;
}

.user-dropdown-link i {
    color: #9ca3af;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.user-dropdown-link:hover i {
    color: #06d3db;
}

.user-dropdown-badge {
    margin-left: auto;
    background: #06d3db;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.user-dropdown-footer {
    padding: 8px;
    border-top: 1px solid #e5e7eb;
}

.user-dropdown-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    background: none;
    border: none;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.user-dropdown-logout:hover {
    background: #fef2f2;
}

.user-dropdown-logout i {
    color: #dc2626;
}

/* Hide dropdown on mobile */
@media (max-width: 767px) {
    .user-dropdown-wrapper {
        display: none;
    }
}

/* Mobile Menu Logout */
.mobile-menu-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

.mobile-logout-form {
    margin: 0;
}

.mobile-logout-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #dc2626;
}

.mobile-logout-btn:hover {
    background: #fef2f2;
}

.mobile-logout-btn i,
.mobile-logout-btn svg {
    color: #dc2626;
}

/* Discount Filter Styles */
.filter-option.discount-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.filter-tag.discount-tag {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.filter-tag.discount-tag:hover {
    background: #fee2e2;
}

.discount-badge-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: white;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
}