/* coderent Modern Design System */
:root {
    --primary-red: #da251d;
    --primary-hover: #b91d16;
    --bg-light: #f4f7f6;
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.05);
    --radius-main: 8px;
    --radius-lg: 16px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Search */
.main-header {
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 10px;
}

.brand-logo img {
    height: 40px;
}

.header-search-bar {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f1f3f4;
    border-radius: 4px;
    padding: 5px;
    max-width: 800px;
}

.category-btn {
    padding: 10px 15px;
    font-weight: 700;
    font-size: 14px;
    border-right: 1px solid #ddd;
    cursor: pointer;
    white-space: nowrap;
}

.search-input-wrapper {
    display: flex;
    flex: 1;
    align-items: center;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 15px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}

.search-btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-naptien {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.user-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.2s;
}

.user-profile-avatar:hover {
    transform: scale(1.05);
    border-color: var(--primary-red);
}

.btn-login-header {
    background: var(--primary-red);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-login-header:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-sell-source {
    background: #00b894;
    color: var(--white) !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    white-space: nowrap;
}

.btn-sell-source:hover {
    background: #009477;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.2);
}

.m-btn-sell-source {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #00b894;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.m-icon-btn.upload {
    color: #00b894 !important;
    background: #e6f8f5;
    border: 1px solid #c2ece4;
}

.m-login-btn-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdf2f2;
    color: var(--primary-red) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 17px;
    border: 1.5px solid #fce8e8;
}

/* Sub Nav Menu */
.sub-nav {
    display: flex;
    justify-content: flex-start;
    /* Aligned to left as requested */
    margin-top: 5px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    font-weight: 700;
    font-size: 13px;
    color: #444;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--primary-red);
    border-bottom: 3px solid var(--primary-red);
}

.has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid #f0f0f0;
}

.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-transform: none;
    border-bottom: none !important;
    display: block;
    transition: 0.2s;
}

.nav-dropdown li a:hover {
    background: #f8f9fa;
    color: var(--primary-red);
    padding-left: 25px;
}

/* Hero Banner (Modern Slider Style) */
.hero-banner-section {
    margin-top: 20px;
}

.main-banner-slider {
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    width: 100% !important;
}

.banner-item {
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.banner-content-inner h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-content-inner p {
    font-size: 18px;
    opacity: 0.9;
}

/* Swiper Navigation Customization */
.banner-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s;
}

.banner-nav-btn::after {
    font-size: 16px;
    color: #fff;
    font-weight: 900;
}

.banner-nav-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.1);
}

/* Swiper Pagination Customization */
.banner-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: 0.3s;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: #00d2ff !important;
    width: 50px;
}

.banner-progress {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.progress-bar {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.progress-bar.active {
    background: #00d2ff;
    width: 45px;
}

/* Quick Access (Circular Style) */
.quick-access-section {
    margin-top: 30px;
}

.quick-access-flex {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
}

.quick-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quick-circle-item:hover {
    transform: translateY(-5px);
}

.circle-box {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.box-blue {
    background: linear-gradient(135deg, #6699ff, #3366ff);
}

.box-green {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
}

.box-orange {
    background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}

.box-purple {
    background: linear-gradient(135deg, #84fab0, #8fd3f4);
}

.quick-circle-item span {
    font-size: 12px;
    font-weight: 700;
    color: #666;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.promo-group {
    display: contents;
}

.promo-card {
    border-radius: 12px;
    padding: 15px;
    color: var(--white);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    height: 80px;
    display: flex;
    align-items: center;
}

.bg-red {
    background: #e74c3c;
}

.bg-blue {
    background: #3498db;
}

.bg-orange {
    background: #f39c12;
}

.bg-dark {
    background: #34495e;
}

.promo-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.promo-info p {
    font-size: 11px;
    opacity: 0.9;
}

/* Promo Pagination Dots */
.promo-pagination {
    display: none;
    /* Hidden on PC */
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.promo-nav-dot {
    width: 20px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-nav-dot.active {
    background: var(--primary-red);
    width: 35px;
}

.promo-dot {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    opacity: 0.8;
}

/* Announcement */
.announcement-marq {
    margin: 20px 0;
    background: var(--white);
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-red);
    box-shadow: var(--shadow-soft);
}

/* Theme Grid */
.featured-section {
    margin-bottom: 50px;
}

.section-heading-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 5px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.red-fire {
    color: #f39c12;
}

.btn-view-more {
    font-size: 14px;
    font-weight: 700;
    color: #777;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.theme-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 8px;
    text-decoration: none;
    border: 1px solid #f1f1f1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.theme-card:hover {
    transform: translateY(-5px);
    border-color: #e0e0e0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.theme-img-fixed {
    height: 165px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}


.theme-img-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 8px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.08));
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
}

.theme-card:hover .theme-img-fixed img {
    transform: scale(1.05);
}

.theme-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

.theme-card:hover .theme-overlay {
    opacity: 1;
    visibility: visible;
}

.view-btn {
    background: #fff;
    color: #333;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.theme-card:hover .view-btn {
    transform: translateY(0);
    background: #ff5f5f;
    color: #fff;
}

.theme-card:hover .wish-btn {
    transform: translateY(0);
    background: #fff;
    color: #ff5f5f;
    border: 1px solid #ff5f5f;
}

.wish-btn {
    background: #fff;
    color: #333;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid transparent;
    cursor: pointer;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wish-btn:hover {
    transform: scale(1.1) !important;
    background: #ff5f5f !important;
    color: #fff !important;
}

.theme-overlay {
    gap: 10px;
}

.price-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
}

.price-free {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #029c7d;
    color: #fff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
    z-index: 2;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 184, 148, 0.5);
    animation: shiny-free 2s infinite;
    overflow: hidden;
}

@keyframes shiny-free {
    0% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(0, 176, 155, 0.4));
    }

    50% {
        filter: brightness(1.2) drop-shadow(0 0 15px rgba(150, 201, 61, 0.8));
    }

    100% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(0, 176, 155, 0.4));
    }
}

.price-free::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
    animation: sweep 3s infinite;
}

@keyframes sweep {
    0% {
        left: -60%;
    }

    30% {
        left: 140%;
    }

    100% {
        left: 140%;
    }
}

.theme-body {
    padding: 12px 6px 8px 6px;
}

.theme-cate {
    color: #3b82f6;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.theme-name {
    font-size: 13px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto;
}

.theme-footer-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #838e9a;
    border-top: 1px solid #f8f9fa;
    padding-top: 10px;
    margin-top: 5px;
}

.theme-footer-new .stat {
    white-space: nowrap;
}

/* Load More Button */
.explorer-load-more {
    text-align: center;
    margin: 20px 0 50px 0;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 40px;
    background: #fff;
    border: 1.5px solid #f0f0f0;
    color: #555;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-load-more i {
    font-size: 11px;
    transition: 0.3s;
}

.btn-load-more:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* News Section Styles */
.news-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f2f2f2;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #ddd;
}

.news-img {
    height: 130px;
    position: relative;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.news-card:hover .news-title a {
    color: var(--primary-red);
}

.news-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
}

/* News Responsive */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .news-img {
        height: 200px;
    }
}

.price-stack .old-price {
    display: block;
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.price-stack .main-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-red);
}

.btn-buy-now {
    background: #f1f3f4;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-buy-now:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* API Custom Card */
.api-card .theme-img-fixed {
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Registration CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    /* Premium Deep Slate/Indigo */
    padding: 60px 0;
    margin-top: 40px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative glow */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.cta-left {
    flex: 0 0 320px;
}

.cta-left img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.cta-right {
    flex: 1;
    color: #fff;
}

.cta-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: -0.5px;
}

.cta-desc {
    font-size: 14px;
    color: #cbd5e1;
    /* Soft blue-grey text */
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 800px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-cta-register {
    background: var(--primary-red);
    /* Matched with website's primary color */
    color: #fff;
    padding: 10px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(218, 37, 29, 0.3);
    /* Red glow */
}

.btn-cta-register:hover {
    background: #ff3b30;
    /* Brighter red on hover */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(218, 37, 29, 0.45);
}

.cta-login-text {
    font-size: 14px;
    color: #94a3b8;
}

.cta-login-text a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: 0.2s;
}

.cta-login-text a:hover {
    border-color: #fff;
}

.cta-login-text a:hover {
    text-decoration: underline;
}

/* Rent CTA Section (Premium Style) */
.cta-rent-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 60px 0;
    margin-top: 40px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.cta-rent-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
}

.rent-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    color: #000;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-cta-rent {
    background: #ff8c00;
    color: white;
    padding: 12px 40px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.btn-cta-rent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    filter: brightness(1.1);
}

.cta-rent-text {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 15px;
    font-weight: 600;
    display: block;
}

/* Common Responsive for both CTA Sections */
@media (max-width: 992px) {
    .cta-flex {
        gap: 30px;
        padding: 0 20px;
    }

    .cta-left {
        flex: 0 0 220px;
    }

    .cta-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }

    .cta-left {
        flex: 0 0 160px;
    }

    .cta-desc {
        font-size: 13px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* ==========================================================================
   SEO / ABOUT SECTION
   ========================================================================== */
.seo-info-section {
    padding: 20px 0;
    margin-bottom: 0px;
}

.seo-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #f0f0f0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.seo-title {
    font-size: 16px;
    font-weight: 800;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.5;
}

.seo-content-wrapper {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto;
}

.seo-hidden-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
}

.seo-content-wrapper.expanded .seo-hidden-content {
    max-height: 1000px;
    opacity: 1;
    margin-top: 15px;
}

.seo-toggle-btn {
    background: none;
    border: none;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    transition: 0.3s;
}

.seo-toggle-btn i {
    transition: transform 0.3s ease;
}

.seo-toggle-btn.active i {
    transform: rotate(180deg);
}

.seo-toggle-btn:hover {
    opacity: 0.8;
}

/* ==========================================================================
   TRUST FEATURES SECTION (4 BOXES)
   ========================================================================== */
.trust-features-section {
    padding: 40px 0 60px;
}

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

.feature-box {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f2f5f8;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: #e0e6ed;
}

.f-icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

/* Feature Icon Colors */
.f-purple {
    background: #f0f3ff;
    color: #5c67f2;
}

.f-green {
    background: #f0fff4;
    color: #31ad60;
}

.f-cyan {
    background: #e6fffa;
    color: #2bc1a8;
}

.f-orange {
    background: #fffaf0;
    color: #f2994a;
}

.feature-box .f-title {
    font-size: 17px;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.feature-box .f-desc {
    font-size: 13.5px;
    color: #7d879c;
    line-height: 1.6;
    margin: 0;
}

/* Feature Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .feature-box {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #6c757d;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:not(.show) {
    transform: translateY(20px);
}

.back-to-top:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(218, 37, 29, 0.3);
}

@media (max-width: 1024px) {
    .back-to-top {
        bottom: 90px;
        /* Above mobile footer nav */
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Professional Dark Footer */
.main-footer-dark {
    background: #111111;
    color: #999;
    padding: 60px 0 30px;
    font-size: 13px;
    line-height: 1.8;
}

.main-footer-dark .container {
    max-width: 1200px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 20px;
    filter: brightness(1.1);
}

.footer-col-info p {
    margin-bottom: 12px;
}

.footer-col-info .company-name {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
}

.footer-col-info .working-time {
    color: #fff;
    font-weight: 700;
    margin-top: 15px;
}

.footer-title {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 5px;
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-red);
}

.footer-copyright {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 12px;
    color: #555;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
}

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

    .main-footer-dark {
        padding-bottom: 100px;
        /* Space for mobile nav */
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .header-top-flex {
        flex-direction: column;
        gap: 15px;
    }

    .header-search-bar {
        max-width: 100%;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .theme-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Tablet: 3 columns */
    }

    .banner-slider {
        padding: 40px;
    }

    .banner-graphic {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-banner-section {
        margin: 0 -15px 20px -15px;
        /* Edge-to-edge on mobile */
    }

    .main-banner-slider {
        border-radius: 0;
    }

    .banner-content-inner h2 {
        font-size: 20px;
    }

    .banner-content-inner p {
        font-size: 13px;
    }

    .banner-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

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

    .theme-card {
        border-radius: 15px;
    }

    .theme-img-fixed {
        height: 115px;
        padding: 8px;
    }

    .promo-grid {
        display: flex;
        overflow-x: auto;
        gap: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 15px -15px 0 -15px;
        scrollbar-width: none;
    }

    .promo-grid::-webkit-scrollbar {
        display: none;
    }

    .promo-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        flex: 0 0 100%;
        scroll-snap-align: start;
        padding: 5px 15px 15px 15px;
        box-sizing: border-box;
    }

    .promo-card {
        height: 85px;
        padding: 12px;
        width: 100%;
    }

    .promo-pagination {
        display: flex;
        /* Show on mobile */
    }

    /* Hide text on mobile view-btn */
    .view-btn .btn-text {
        display: none;
    }

    .view-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    /* Disable hover overlay on mobile */
    .theme-overlay {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .banner-text-content h1 {
        font-size: 24px;
    }

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

/* Header Layouts */
.header-mobile {
    display: none;
}

.header-desktop {
    display: block;
}

/* Mobile Header (Image 2 Style) */
@media (max-width: 1024px) {
    .header-desktop {
        display: none;
    }

    .header-mobile {
        display: block;
        padding: 0;
        background: var(--white);
    }

    .m-header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .m-toggle-btn {
        background: none;
        border: none;
        font-size: 20px;
        color: #ddd;
        cursor: pointer;
        padding: 5px;
    }

    .m-logo img {
        height: 35px;
        object-fit: contain;
    }

    .m-icons-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .m-icon-btn {
        background: #fff;
        border: 1.5px solid #f2f2f2;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        color: var(--primary-red);
        cursor: pointer;
        position: relative;
        /* Fixed: Added for absolute badges */
        transition: 0.2s;
    }

    .m-icon-btn:active {
        background: #f8f9fa;
        transform: scale(0.95);
    }

    .m-icon-btn .badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: var(--primary-red);
        color: var(--white);
        font-size: 10px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--white);
    }
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Updated Mobile Sidebar Drawer */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 3000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.open {
    left: 0;
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #f8f8f8;
}

.sidebar-logo {
    height: 30px;
    object-fit: contain;
}

.sidebar-close {
    background: #f1f3f4;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    font-size: 14px;
    transition: 0.2s;
}

.sidebar-close:hover {
    background: #e4e6e7;
}

.sidebar-user-section {
    padding: 20px;
    background: #fdf2f2;
    /* Light red tint matching brand primary color */
    border-bottom: 1px solid #fce8e8;
}

.sidebar-user-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-user-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.u-info .u-name {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 2px;
}

.u-info .u-balance {
    font-size: 13px;
    color: #888;
}

.u-info .u-balance span {
    color: var(--primary-red);
    font-weight: 700;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 80px 0;
}

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

.sidebar-links li a {
    padding: 13px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    transition: 0.2s;
    text-decoration: none;
}

.sidebar-links li a i {
    width: 22px;
    font-size: 18px;
    color: #5d6771;
    text-align: center;
}

.sidebar-links li a:hover {
    background: #f5f7f9;
    color: var(--primary-red);
}

.sidebar-links li a:hover i {
    color: var(--primary-red);
}

.sidebar-links li.divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 25px;
}

.sidebar-links li a.logout {
    color: var(--primary-red);
}

.sidebar-links li a.logout i {
    color: var(--primary-red);
}

/* Mobile Footer Navigation Menu */
.mobile-footer-nav {
    display: none;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #fff;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1500;
    justify-content: space-around;
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 1024px) {
    .mobile-footer-nav {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }
}

.f-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #5d6771;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    flex: 1;
    transition: 0.2s;
    text-decoration: none;
}

.f-nav-item i {
    font-size: 22px;
}

.f-nav-item.active {
    color: var(--primary-red);
}

/* Mobile Profile Dropdown Styles */
.m-profile-dropdown-wrapper {
    position: relative;
}

.m-profile-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 240px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border: 1px solid #eeeeee;
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.m-profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.m-profile-menu-list {
    padding: 10px 0;
    list-style: none;
    margin: 0;
}

.m-profile-menu-list li a {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14.5px;
    font-weight: 600;
    color: #444;
    transition: 0.2s;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.m-profile-menu-list li:last-child a {
    border-bottom: none;
}

.m-profile-menu-list li a i {
    width: 20px;
    font-size: 17px;
    color: #888;
    text-align: center;
}

.m-profile-menu-list li a:hover {
    background: #fff5f5;
    /* Light red tint for hover instead of gold */
    color: var(--primary-red);
}

.m-profile-menu-list .divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

.m-profile-menu-list li a.logout {
    color: #ff4d4d;
}

.m-profile-menu-list li a.logout i {
    color: #ff4d4d;
}

.sidebar-links li a.logout i {
    color: #ff4d4d;
}

/* Desktop Profile Dropdown Styles */
.user-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.d-profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    z-index: 1100;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.d-profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.d-profile-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
}

/* Desktop Wishlist Dropdown */
.wishlist-dropdown-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.header-icon-btn {
    background: none;
    border: 1px solid #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #444;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}

.header-icon-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.header-icon-btn.heart-btn {
    color: #e74c3c;
}

.header-icon-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-red);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.wishlist-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    z-index: 1100;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 15px;
}

.wishlist-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wishlist-dropdown .dropdown-header {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.wishlist-items {
    max-height: 300px;
    overflow-y: auto;
}

.wishlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f9f9f9;
}

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

.wishlist-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.wi-info .wi-name {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wi-info .wi-price {
    font-size: 13px;
    color: var(--primary-red);
    font-weight: 700;
}

.view-all-wishlist {
    display: block;
    text-align: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    transition: 0.2s;
    text-decoration: none;
}

.view-all-wishlist:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Product Explorer (Light Style) */
.product-explorer {
    margin-top: 40px;
    position: relative;
    width: 100%;
}

.explorer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.explorer-title {
    font-size: 24px;
    font-weight: 800;
    color: #222;
    margin-bottom: 5px;
    line-height: 1.2;
}

.explorer-subtitle {
    font-size: 14px;
    color: #777;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
    background: #f1f3f4;
    padding: 8px 18px;
    border-radius: 8px;
}

.view-all-link i {
    font-size: 11px;
    transition: 0.2s;
}

.view-all-link:hover {
    color: var(--primary-red);
    background: #fdf2f2;
}

.view-all-link:hover i {
    transform: translateX(4px);
}

.header-right-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.view-switcher,
.sort-controls {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 4px;
    border-radius: 10px;
    display: flex;
}

.view-btn,
.sort-btn {
    background: none;
    border: none;
    color: #666;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.view-btn.active,
.sort-btn.active {
    background: #fdf2f2 !important;
    color: var(--primary-red) !important;
}

.view-btn.active i,
.sort-btn.active i {
    color: var(--primary-red) !important;
}

.view-btn:hover,
.sort-btn:hover {
    color: var(--primary-red);
    background: #fdf2f2;
}

.category-filters {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
    width: 100%;
}

.filter-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
}

.filter-scroll::-webkit-scrollbar {
    height: 0;
}

.filter-chip {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.2s;
}

.filter-chip.active {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(218, 37, 29, 0.2);
}

.filter-chip:hover:not(.active) {
    background: #fdf2f2;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

/* Mobile Responsive for Explorer */
@media (max-width: 768px) {
    .explorer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-left {
        width: 100%;
    }

    .explorer-title {
        font-size: 20px;
        white-space: normal;
    }

    .header-right-controls {
        width: 100%;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .view-switcher,
    .sort-controls {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide for Firefox */
        -ms-overflow-style: none;
        /* Hide for IE/Edge */
    }

    .view-switcher::-webkit-scrollbar,
    .sort-controls::-webkit-scrollbar {
        display: none;
        /* Hide for Chrome/Safari */
    }

    .sort-controls>button {
        flex: 0 0 auto;
        width: auto;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   FIREWORKS EFFECT (ISOLATED SECTION)
   ========================================================================== */
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    /* Crucial: clicks MUST pass through to elements below */
    z-index: 9999;
}

/* END FIREWORKS EFFECT */

/* ==========================================================================
   TET (LUNAR NEW YEAR) DECORATIONS
   ========================================================================== */
:root {
    --tet-gold: #FFD700;
    --tet-red: #da251d;
    --tet-red-glow: rgba(218, 37, 29, 0.5);
}

/* ==========================================================================
   LUXURY TET DECORATIONS (ENHANCED & RESPONSIVE)
   ========================================================================== */
.tet-fixed-decor {
    position: fixed;
    top: 140px;
    /* Positioned right below the header */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 999;
    /* Just below the header's z-index */
}

.tet-chinese-texts {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.chinese-char {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #da251d;
    color: #ffd700;
    font-size: 38px;
    font-weight: 900;
    border-radius: 12px;
    border: 3px solid #ffd700;
    box-shadow: 0 5px 15px rgba(218, 37, 29, 0.4);
    transform: rotate(45deg);
    /* Traditional diamond shape */
}

/* Straighten the text inside the diamond */
.chinese-char::after {
    display: block;
    transform: rotate(-45deg);
}

.ch-spring,
.ch-fortune {
    display: block;
    line-height: 1;
}

/* Re-adjust text rotation inside the diamond */
.ch-spring,
.ch-fortune {
    transform: rotate(-45deg);
}

.lantern-wrapper {
    position: absolute;
    top: 0;
    width: 60px;
    height: 150px;
    pointer-events: none;
    transform-origin: top center;
    animation: luxurySway 3.5s ease-in-out infinite alternate;
}

.lantern-left {
    left: 50px;
}

.lantern-right {
    right: 50px;
}

/* Cable hanging from header */
.lantern-wrapper::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    width: 2px;
    height: 40px;
    background: #442211;
    transform: translateX(-50%);
}

.lantern-top {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: linear-gradient(to bottom, #b8860b, #ffd700);
    border-radius: 4px;
    z-index: 3;
    border: 1px solid #5d110d;
}

.lantern-body {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 50px;
    background: #da251d;
    border-radius: 40% / 50%;
    box-shadow:
        inset 0 0 20px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(218, 37, 29, 0.5);
    z-index: 2;
    border: 1.5px solid #5d110d;
}

.lantern-body::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 80%);
}

.lantern-bottom {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: linear-gradient(to bottom, #ffd700, #b8860b);
    border-radius: 4px;
    z-index: 3;
    border: 1px solid #5d110d;
}

.lantern-tassel {
    position: absolute;
    top: 70px;
    left: 50%;
    width: 12px;
    height: 60px;
    background: #ffd700;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Double tassel stripes */
.lantern-tassel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px);
}

@keyframes luxurySway {
    0% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

/* Responsive: Hide Tet decorations on Mobile & Tablet */
@media (max-width: 1100px) {
    .tet-fixed-decor {
        display: none !important;
    }
}

#blossom-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

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

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


.login-page-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background-color: #f8f9fa;
}

.login-box-container {
    width: 100%;
    max-width: 550px;
}

.login-card-v2 {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.login-header-v2 {
    text-align: center;
    margin-bottom: 20px;
}

.login-header-v2 h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-red);
}

.login-header-v2 p {
    color: #555;
    font-size: 16px;
}

.form-group-v2 {
    margin-bottom: 20px;
}

.form-control-v2 {
    width: 100%;
    height: 48px;
    background-color: #f4f4f4;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 20px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-control-v2:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--primary-hover);
}

.password-wrapper-v2 {
    position: relative;
    width: 100%;
}

.toggle-password-v2 {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    font-size: 18px;
    z-index: 10;
}

.toggle-password-v2:hover {
    color: var(--primary-red);
}

.btn-login-v2 {
    width: 100%;
    height: 48px;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-login-v2.primary-red {
    background-color: var(--primary-red);
}

.btn-login-v2.primary-red:hover {
    background-color: var(--primary-hover);
}

.social-login-v2 {
    margin-top: 25px;
    text-align: center;
}

.divider-text-v2 {
    position: relative;
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.divider-text-v2::before,
.divider-text-v2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background-color: #eee;
}

.divider-text-v2::before {
    left: 0;
}

.divider-text-v2::after {
    right: 0;
}

.btn-google-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 48px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #444;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-google-v2:hover {
    background-color: #f7f7f7;
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-google-v2 img {
    width: 20px;
    height: 20px;
}

.login-actions-v2 {
    text-align: right;
    margin-top: 10px;
    padding-right: 5px;
}

.forgot-link-v2 {
    color: var(--primary-red);
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
}

.login-register-card-v2 {
    text-align: center;
}

.login-register-card-v2 span {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.login-register-card-v2 a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
}

@media (max-width: 600px) {
    .login-card-v2 {
        padding: 20px 25px;
    }
}

.profile-container-v2 {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 0 15px;
}

.profile-row-v2 {
    display: flex;
    gap: 30px;
}

.profile-sidebar-col {
    flex: 0 0 300px;
}

.profile-main-col {
    flex: 1;
}

.account-sidebar-v2 {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.user-brief-info {
    padding: 30px;
    text-align: center;
    background: #fdf2f2;
    border-bottom: 1px solid #fce8e8;
}

.u-avatar-wrapper img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.u-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.u-balance {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.u-balance span {
    color: var(--primary-red);
    font-weight: 700;
}

.account-menu {
    padding: 15px 0;
}

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

.account-menu ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: #555;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.account-menu ul li a.active {
    color: var(--primary-red);
    background: #fdf2f2;
    font-weight: 700;
}

.account-menu ul li a:hover {
    background: #fdf2f2;
    color: var(--primary-red);
}

.account-menu .divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 25px;
}

.account-menu .logout {
    color: #da251d !important;
}

/* Main Card Styles */
.account-card-v2 {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-header-v2 {
    border-bottom: 2px solid #f8f8f8;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.card-header-v2 h2 {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin: 0;
}

.card-header-v2 p {
    color: #666;
    margin-top: 5px;
    font-size: 14px;
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-item label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    height: 48px;
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.info-value.balance {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-red);
    background: #fff5f5;
    border: 1px solid #fce8e8;
}

.info-value.readonly {
    background: #f1f3f4;
    color: #777;
    cursor: not-allowed;
}

.info-input {
    font-size: 15px;
    color: #333;
    height: 48px;
    width: 100%;
    background: #fff;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    outline: none;
    transition: 0.2s;
}

.info-input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(218, 37, 29, 0.1);
}

/* Avatar Edit Styles */
.avatar-edit-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.u-avatar-preview {
    position: relative;
    display: inline-block;
}

.u-avatar-preview img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid #fff;
    transition: 0.2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.avatar-edit-btn:hover {
    transform: scale(1.1);
    background: var(--primary-hover);
}

.avatar-hint {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
    font-weight: 500;
}

.account-actions-v2 {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.btn-naptien-v2 {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-naptien-v2:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-security-v2 {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-security-v2:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

/* Stats Grid Styles */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    color: #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-red);
}

.stat-header {
    font-size: 13px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.stat-header i {
    color: var(--primary-red);
    font-size: 16px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-sidebar-col {
        display: none;
    }

    .profile-row-v2 {
        flex-direction: column;
    }

    .profile-sidebar-col {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .account-card-v2 {
        padding: 25px 20px;
    }

    .account-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-actions-v2 {
        flex-direction: column;
    }

    .profile-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .profile-container-v2 {
        margin: 20px auto 40px;
    }
}


.product-info-card {
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03) !important;
}

.product-title {
    font-size: 19px;
    font-weight: bold;
    line-height: 1.3;
    color: #2c3e50;
    margin-bottom: 5px;
}

.product-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-item {
    background: #fdfdfd;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: #e0e0e0;
    transform: translateY(-2px);
}

.stat-label {
    color: #999;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 14px;
    font-weight: 800;
    color: #333;
    line-height: 1.2;
}

.product-price-box {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.current-price {
    color: var(--primary-red);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.prev-price {
    color: #999;
    font-size: 16px;
    font-weight: 600;
}

.save-label {
    background: #ffe3e3;
    color: #d63031;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 5px;
}

.btn-action-primary,
.btn-action-success,
.btn-action-outline {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-action-primary {
    background: var(--primary-red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(218, 37, 29, 0.3);
}

.btn-action-secondary {
    background: #6c757d;
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-action-success {
    background: #029c7d;
    color: #fff;
    box-shadow: 0 4px 15px rgba(2, 156, 125, 0.3);
}

.btn-action-primary:hover {
    background: #c02019;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(218, 37, 29, 0.4);
}

.btn-action-success:hover {
    background: #028d71;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 156, 125, 0.4);
}

.btn-action-outline {
    background: #fff;
    border: 2px solid #e9ecef;
    color: #555;
}

.btn-action-outline:hover {
    border-color: #333;
    color: #333;
    background: #f8f9fa;
}

.btn-action-outline:disabled {
    background: #f1f3f5;
    color: #adb5bd;
    border-color: #f1f3f5;
    cursor: not-allowed;
}

/* Product Gallery & Lightbox */
.main-image-container {
    height: 450px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .main-image-container {
        height: 300px !important;
    }
}

.product-thumb-slider {
    padding: 10px 0;
}

.thumb-img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 8px;
}

.thumb-img:hover,
.thumb-img.active {
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-thumb-slider .swiper-slide {
    width: auto;
    max-width: 120px;
    padding: 5px;
}

/* Lightbox */
#lightboxModal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#lightboxImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

/* === Swiper Gallery Modern Layout === */
.product-gallery-wrapper {
    display: flex;
    gap: 15px;
    align-items: stretch;
    aspect-ratio: 2.3;
    /* Flatter ratio */
    overflow: hidden;
}

/* Thumbs Slider (Left) */
.gallery-thumbs {
    width: 15%;
    /* Thumb column width */
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}

.gallery-thumbs .swiper-slide {
    width: 100%;
    height: auto;
    /* Let Swiper handle height based on slidesPerView */
    opacity: 0.6;
    transition: 0.3s;
    cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.thumb-box {
    width: 100%;
    aspect-ratio: 16/9;
    /* PC monitor ratio (Wide) */
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
}

.gallery-thumbs .swiper-slide-thumb-active .thumb-box {
    border-color: var(--primary-red);
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Slider (Right) */
.gallery-top {
    width: 85%;
    height: 100%;
    /* aspect-ratio handled by parent */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.gallery-top .swiper-slide {
    width: 100%;
    height: 100%;
}

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

.main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

/* Navigation Buttons */
.gallery-top .swiper-button-next,
.gallery-top .swiper-button-prev {
    color: var(--primary-red);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-top .swiper-button-next:after,
.gallery-top .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
}

/* === Responsive (Mobile) === */
@media (max-width: 768px) {
    .product-gallery-wrapper {
        flex-direction: column;
        height: auto;
    }

    .gallery-top {
        width: 100%;
        height: 350px;
        /* Reduced height on mobile */
        order: 1;
        /* Main image first */
    }

    .gallery-thumbs {
        width: 100%;
        height: 80px;
        /* Horizontal strip height */
        order: 2;
        /* Thumbs second */
        margin-top: 10px;
    }

    .gallery-thumbs .swiper-slide {
        width: 20%;
        /* Show ~5 items */
        height: 100%;
    }

    .thumb-box {
        height: 100%;
        aspect-ratio: 1/1;
    }
}

/* Mobile Gallery Adjustments */
@media (max-width: 768px) {
    .product-gallery-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
        aspect-ratio: auto;
        /* Allow flexible height on mobile */
        height: auto;
    }

    .gallery-top {
        width: 100%;
        order: 1;
        height: auto;
        aspect-ratio: 16 / 9;
        background: #000;
        border-radius: 8px;
        overflow: hidden;
    }

    .main-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-thumbs {
        width: 100% !important;
        height: auto !important;
        order: 2;
        margin-top: 5px;
        box-sizing: border-box;
    }

    /* Force width to ensure multiple items per row */
    .gallery-thumbs .swiper-slide {
        width: 22% !important;
        /* Forces ~4 items visible */
        height: auto !important;
        opacity: 0.6;
        transition: opacity 0.3s;
        box-sizing: border-box;
    }

    .gallery-thumbs .swiper-slide-thumb-active {
        opacity: 1;
    }

    .thumb-box {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 4px;
        overflow: hidden;
        border: 1px solid #eaeaea;
        background: #fff;
    }

    .thumb-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

/* Product Ribbon Styles */
.product-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
    z-index: 5;
}

.product-ribbon span {
    position: absolute;
    display: block;
    width: 100px;
    padding: 4px 0;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    right: -25px;
    top: 15px;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.product-ribbon .label-moi {
    background-color: #0dcaf0 !important;
}

.product-ribbon .label-hot {
    background-color: #dc3545 !important;
}

.product-ribbon .label-sale {
    background-color: #198754 !important;
}

.product-ribbon .label-noi-bat {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.product-ribbon .label-gia-re {
    background-color: #6c757d !important;
}

.product-ribbon .label-best-seller {
    background-color: #0d6efd !important;
}

/* Coupon System Premium Styles */
.coupon-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
    margin-bottom: 20px;
}

.coupon-input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.coupon-input-field {
    width: 100%;
    padding: 15px 120px 15px 20px !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #334155 !important;
    border-radius: 12px !important;
}

.coupon-input-field::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.coupon-btn-submit {
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff !important;
    border: none !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.coupon-btn-submit:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.coupon-btn-submit:active {
    transform: scale(0.98);
}

.coupon-btn-submit:disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}