/* === Floating Instagram === */
.floating-instagram {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 0 8px 8px 0;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
    transition: width 0.3s, box-shadow 0.3s;
}

.floating-instagram:hover {
    width: 48px;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.25);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --primary: #ff6600;
    --primary-dark: #e55a00;
    --secondary: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --bg: #f5f7fa;
    --white: #fff;
    --border: #e8e8e8;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* === Topbar === */
.topbar {
    background: linear-gradient(135deg, #1a1a2e, #2d3561, #1a1a2e);
    background-size: 200% 200%;
    animation: topbarShift 3s ease infinite;
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.4px;
}

@keyframes topbarShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.topbar p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.topbar i {
    font-size: 15px;
    animation: topbarPulse 1.5s ease-in-out infinite;
}

@keyframes topbarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.topbar strong {
    font-weight: 800;
}

.topbar .coupon-code {
    background: var(--white);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Top Bar === */
.top-bar {
    background: var(--secondary);
    color: #ccc;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right a {
    color: #ccc;
    margin-left: 20px;
    transition: color 0.2s;
}

.top-bar-right a:hover {
    color: var(--primary);
}

/* === Header === */
.main-header {
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* === Search === */
.search-bar {
    flex: 1;
    display: flex;
    max-width: 600px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.search-bar input:focus {
    border-color: var(--primary);
}

.search-bar button {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* === Header Actions === */
.header-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text);
    border-radius: 6px;
    transition: background 0.15s;
    position: relative;
}

.header-action i {
    font-size: 18px;
}

.header-action:hover {
    background: #f5f5f5;
    color: var(--primary);
}

.action-text {
    font-size: 11px;
    color: var(--text-light);
}

/* === Account Dropdown === */
.account-dropdown {
    cursor: pointer;
}

.account-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    min-width: 160px;
    z-index: 200;
    overflow: hidden;
}

.account-dropdown:hover .account-menu {
    display: block;
}

.account-menu-item {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text);
    transition: background 0.15s;
    white-space: nowrap;
}

.account-menu-item:hover {
    background: #f5f5f5;
    color: var(--primary);
}

.cart-action { position: relative; }
.cart-badge {
    position: absolute;
    top: 4px;
    right: 6px;
    background: var(--primary);
    color: white;
    font-size: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* === Navigation === */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-item { position: relative; }

.nav-link {
    display: block;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--primary);
    background: #fff5ee;
}

.nav-deals {
    background: linear-gradient(135deg, #ff6600 0%, #e53935 100%);
    color: white !important;
    font-weight: 700;
    border-radius: 6px;
    margin-right: 8px;
    animation: dealsPulse 2s ease-in-out infinite;
}

.nav-deals:hover {
    background: linear-gradient(135deg, #e55a00 0%, #c62828 100%) !important;
    color: white !important;
    transform: scale(1.03);
}

.nav-deals i {
    margin-right: 4px;
    animation: boltFlash 1.5s ease-in-out infinite;
}

@keyframes dealsPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
    50% { box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15); }
}

@keyframes boltFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.nav-all-categories {
    font-weight: 700;
    background: var(--primary);
    color: white !important;
    border-radius: 6px;
    margin-right: 8px;
}

.nav-all-categories:hover {
    background: var(--primary-dark) !important;
}

/* Dropdown */
.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 200;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background: #f8f8f8;
    color: var(--primary);
}

/* === Main Content === */
.main-content {
    min-height: 60vh;
    padding: 30px 0;
}

/* === Banner Slider === */
.banner-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    background: #0a0a0a;
}

.banner-track {
    position: relative;
}

.banner-slide {
    display: none;
}

.banner-slide.active {
    display: block;
}

.banner-slide a {
    display: block;
    height: 420px;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 40%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.slider-dot.active {
    background: #fff;
    border-color: #fff;
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .banner-slide a {
        height: 200px;
    }
    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
}

@media (max-width: 480px) {
    .banner-slide a {
        height: 160px;
    }
    .slider-arrow {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* === Section === */
.section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.2s;
}

.section-link:hover {
    gap: 10px;
}

.section-link i {
    font-size: 12px;
}

/* === Category Grid === */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    padding: 18px 14px;
    text-align: center;
    transition: all 0.15s ease;
    border: 1px solid var(--border);
}

.category-card:hover {
    border-color: var(--primary);
    background: #fff8f4;
}

.category-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

/* === Daily Deals === */
.daily-deals-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.deals-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 14px;
}

.deals-header-left h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    white-space: nowrap;
}

.deals-icon {
    color: var(--primary);
    font-size: 20px;
}

.deals-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.deals-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: gap 0.2s;
}

.deals-view-all:hover {
    gap: 10px;
}

.deals-view-all i {
    font-size: 12px;
}

.deals-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 4px;
}

.countdown-block {
    background: var(--primary);
    color: white;
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: baseline;
}

.countdown-block span {
    font-size: 16px;
    font-weight: 700;
}

.countdown-block small {
    font-size: 10px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-left: 3px;
}

.countdown-sep {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.deal-card {
    background: #fafafa;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.1);
    transform: translateY(-3px);
}

.deal-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.deal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.deal-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s ease;
}

.deal-card:hover .deal-image img {
    transform: scale(1.05);
}

.deal-info {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deal-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.deal-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.deal-price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
}

.deal-price-current {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

/* === Product Grid === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.product-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.product-image {
    position: relative;
    aspect-ratio: 1/1;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    font-size: 13px;
    color: #bbb;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e53935;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-info {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-seller {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
}

.price-current {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

/* === Info Band === */
.info-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.info-band-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 28px;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
}

.info-band-item:last-child {
    border-right: none;
}

.info-band-item:hover {
    background: #fff5f0;
}

.info-band-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff5f0;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-band-content {
    display: flex;
    flex-direction: column;
}

.info-band-item strong {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 3px;
}

.info-band-item span {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .info-band {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-band-item {
        padding: 16px 18px;
        gap: 10px;
    }
    .info-band-item:nth-child(2) {
        border-right: none;
    }
    .info-band-item:nth-child(1),
    .info-band-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
    .info-band-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    .info-band-item strong {
        font-size: 13px;
    }
    .info-band-item span {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .info-band {
        grid-template-columns: 1fr;
    }
    .info-band-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 14px 16px;
    }
    .info-band-item:last-child {
        border-bottom: none;
    }
    .info-band-item:nth-child(2) {
        border-right: none;
    }
}

/* === Favorites Page === */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.fav-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.2s;
}

.fav-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.fav-card-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
    transition: all 0.2s;
}

.fav-card-remove:hover {
    background: #e74c3c;
    color: #fff;
}

.fav-card-image {
    display: block;
    text-align: center;
    padding: 16px;
    background: #fafafa;
}

.fav-card-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.fav-card-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fav-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.fav-card-title:hover {
    color: var(--primary);
}

.fav-card-seller {
    font-size: 12px;
    color: var(--text-light);
}

.fav-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 4px 0;
}

.fav-card-price .price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.fav-card-price .price-old {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.fav-card-info .btn-sm {
    font-size: 13px;
    padding: 8px 12px;
    margin-top: 4px;
}

/* === Empty State === */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text);
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 14px;
}

/* === Footer === */
.main-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 40px 0 0;
    margin-top: 0;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.footer-col h4 {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text);
    font-size: 13px;
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-contact-btn {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    margin-bottom: 14px;
    transition: all 0.15s;
}

.footer-contact-btn:hover {
    background: var(--primary);
    color: #fff;
}

.footer-phone {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 2px;
}

.footer-phone-label {
    font-size: 12px;
    color: var(--text-light);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-email:hover {
    color: var(--primary);
}

.footer-instagram {
    margin-top: 16px;
}

.footer-instagram a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-instagram a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.footer-instagram a .fab.fa-instagram {
    font-size: 16px;
}

.footer-app {
    margin-top: 20px;
}

.footer-app-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a2e;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: 0.7;
    pointer-events: none;
}

.app-badge i {
    font-size: 22px;
}

.app-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-badge-small {
    font-size: 10px;
    opacity: 0.8;
}

.app-badge-big {
    font-size: 14px;
    font-weight: 600;
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.footer-payments span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
}

.footer-bottom {
    padding: 16px 20px;
    font-size: 12px;
    color: var(--text-light);
    background: #f9f9f9;
    text-align: center;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.etbis-logo {
    display: inline-block;
    margin-top: 16px;
}

.etbis-logo img {
    height: 80px;
    transition: opacity 0.2s;
}

.etbis-logo:hover img {
    opacity: 0.8;
}

.etbis-logo:hover img {
    opacity: 1;
}

/* === Mobile Menu Toggle === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 110;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* === Responsive === */

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
    .deals-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    /* Topbar */
    .topbar {
        font-size: 12px;
        padding: 8px 0;
    }
    .topbar p {
        flex-wrap: wrap;
        gap: 4px;
    }
    .topbar .coupon-code {
        font-size: 12px;
        padding: 1px 6px;
    }

    /* Header */
    .mobile-menu-toggle {
        display: flex;
    }

    .main-header {
        padding: 10px 0;
    }

    .main-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo-text {
        font-size: 18px;
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 4px;
    }

    .search-bar input {
        padding: 10px 14px;
        font-size: 14px;
    }

    .search-bar button {
        padding: 10px 16px;
    }

    .header-actions {
        margin-left: auto;
        gap: 2px;
    }

    .header-action {
        padding: 6px 8px;
    }

    .action-text {
        display: none;
    }

    .header-action i {
        font-size: 20px;
    }

    .cart-badge {
        top: 0;
        right: 0;
    }

    /* Navigation - slide-in mobile menu */
    .main-nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: var(--white);
        z-index: 101;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
        transition: left 0.3s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 60px;
        border-bottom: none;
    }

    .main-nav.open {
        left: 0;
    }

    .main-nav .container {
        padding: 0;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-link {
        padding: 14px 20px;
        font-size: 15px;
        border-bottom: 1px solid var(--border);
    }

    .nav-deals {
        border-radius: 0;
        margin: 0;
    }

    /* Section */
    .section-header h2 {
        font-size: 18px;
    }

    /* Daily Deals */
    .daily-deals-section {
        padding: 20px 16px;
    }

    .deals-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .deals-header-left h2 {
        font-size: 17px;
    }

    .deals-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .countdown-block {
        min-width: 38px;
        padding: 4px 8px;
    }

    .countdown-block span {
        font-size: 14px;
    }

    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Category */
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .category-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 18px;
    }

    .category-hero h1 {
        font-size: 20px;
    }

    .subcategory-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .subcategory-card {
        padding: 14px 10px 12px;
    }

    .subcategory-card-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .brand-filter {
        flex-wrap: nowrap;
        padding: 10px 14px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .main-footer {
        padding: 28px 0 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
    }
}

/* ---------- 480px ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Topbar */
    .topbar {
        font-size: 11px;
        padding: 6px 0;
    }

    .topbar p {
        gap: 3px;
    }

    /* Header */
    .logo-text {
        font-size: 16px;
    }

    .search-bar input {
        padding: 9px 12px;
        font-size: 13px;
    }

    .search-bar button {
        padding: 9px 14px;
    }

    .header-action {
        padding: 6px;
    }

    /* Grids */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 12px;
    }

    .price-current {
        font-size: 14px;
    }

    .price-old {
        font-size: 11px;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .deal-info {
        padding: 10px;
    }

    .deal-title {
        font-size: 12px;
    }

    .deal-price-current {
        font-size: 14px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .category-card {
        padding: 14px 8px;
    }

    .category-name {
        font-size: 11px;
    }

    .subcategory-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .subcategory-card-count {
        display: none;
    }

    /* Daily Deals */
    .daily-deals-section {
        padding: 14px 10px;
    }

    .deals-header-left h2 {
        font-size: 15px;
    }

    .deals-countdown {
        gap: 6px;
    }

    .countdown-label {
        font-size: 11px;
    }

    .countdown-block {
        padding: 3px 6px;
    }

    .countdown-block span {
        font-size: 13px;
    }

    .countdown-block small {
        font-size: 9px;
    }

    /* Section */
    .section-header {
        margin-bottom: 14px;
    }

    .section-header h2 {
        font-size: 16px;
    }

    .section-link {
        font-size: 12px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-col h4 {
        font-size: 13px;
    }

    .footer-phone {
        font-size: 18px;
    }

    .footer-payments {
        gap: 10px;
        padding: 14px 0;
    }

    .footer-bottom {
        padding: 12px 10px;
        font-size: 11px;
    }

    /* Active filter */
    .active-filter-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Main content */
    .main-content {
        padding: 16px 0;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 12px;
        gap: 4px;
        margin-bottom: 14px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* Floating instagram */
    .floating-instagram {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

/* === Breadcrumb === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* === Category Hero === */
.category-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.category-hero h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
}

.category-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.5;
}

.category-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: #fff5ee;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* === Subcategory Cards === */
.subcategory-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.subcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 14px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.subcategory-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(255, 102, 0, 0.1);
    transform: translateY(-2px);
}

.subcategory-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff5ee;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.subcategory-card:hover .subcategory-card-icon {
    background: var(--primary);
    color: var(--white);
}

.subcategory-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.subcategory-card-count {
    font-size: 11px;
    color: var(--text-light);
    background: #f5f5f5;
    padding: 2px 10px;
    border-radius: 10px;
}

/* === Brand Filter === */
.brand-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.brand-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.brand-filter-select {
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s;
    min-width: 160px;
}

.brand-filter-select:hover {
    border-color: var(--primary);
}

.brand-filter-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

/* === Active Filter Bar === */
.active-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #fff8f2;
    border: 1px solid #ffe0c2;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.active-filter-text {
    color: var(--text);
}

.active-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-weight: 600;
    font-size: 12px;
    transition: opacity 0.15s;
}

.active-filter-clear:hover {
    opacity: 0.7;
}

/* === Product Detail === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

/* === Product Gallery === */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--border);
}

.gallery-main img {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border: 2px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 4px;
    transition: border-color 0.15s;
}

.gallery-thumb:hover {
    border-color: var(--primary);
}

.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-detail-info h1 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--secondary);
    line-height: 1.4;
}

.product-detail-seller {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.product-detail-seller .seller-name {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.seller-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8f8f8;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.seller-rating .rating-label {
    color: var(--text-light);
    font-size: 11px;
}

.seller-rating .rating-score {
    font-weight: 700;
    color: var(--primary);
}

.seller-rating .rating-max {
    font-weight: 500;
    color: var(--text-light);
    font-size: 11px;
}

.product-detail-brand {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 0;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 16px 0 20px;
}

.product-detail-price {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-detail-price .price-current {
    font-size: 28px;
}

.product-detail-price .price-old {
    font-size: 15px;
}

.product-detail-stock {
    margin-bottom: 16px;
    font-size: 13px;
}

.in-stock,
.out-of-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

.in-stock {
    color: #1a8a4a;
    background: #e8f8ef;
}

.out-of-stock {
    color: #c0392b;
    background: #fdecea;
}

.product-detail-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.btn-cart-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-fav {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 18px;
    flex-shrink: 0;
}

.btn-fav:hover {
    color: #e74c3c;
    border-color: #e74c3c;
}

.btn-fav.is-fav {
    color: #e74c3c;
    border-color: #e74c3c;
    background: #fdecea;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.product-perks {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.product-perk {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-right: 1px solid var(--border);
}

.product-perk:last-child {
    border-right: none;
}

.product-perk i {
    font-size: 16px;
    color: #27ae60;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #edfbf2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-perk .perk-icon-wrap {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #edfbf2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-perk .perk-logo {
    width: 22px;
    height: auto;
    object-fit: contain;
}

.product-perk .perk-label {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.3;
}

.product-perk strong {
    font-size: 13px;
    color: var(--text);
}

.product-detail-desc {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.product-detail-desc h2,
.product-detail-specs h2,
.product-detail-desc h3,
.product-detail-specs h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--secondary);
}

.product-detail-desc p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.product-detail-specs {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(even) {
    background: #f8f8f8;
}

.specs-table td {
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text);
    width: 40%;
}

/* === Auth Pages === */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    min-height: 60vh;
    background: #f5f7fa;
}

.auth-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.auth-logo {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s;
}

.auth-tab.active {
    color: var(--text);
    font-weight: 600;
    border-bottom-color: var(--text);
}

.auth-tab:hover {
    color: var(--text);
}

.auth-form {
    margin-top: 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
    background: #fff;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-group select:disabled {
    background-color: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
}

/* === Phone Input === */
.phone-input-wrapper {
    display: flex;
    gap: 0;
}

.phone-code-select {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: #fafafa;
    cursor: pointer;
    position: relative;
    min-width: 110px;
    user-select: none;
    transition: border-color 0.15s;
}

.phone-code-select:hover {
    background: #f0f0f0;
}

.phone-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-code-list li img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: 4px;
}

.phone-code {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.phone-chevron {
    font-size: 10px;
    color: var(--text-light);
    margin-left: 2px;
    transition: transform 0.2s;
}

.phone-code-select.open .phone-chevron {
    transform: rotate(180deg);
}

.phone-input-wrapper input[type="tel"] {
    flex: 1;
    border-radius: 0 6px 6px 0;
}

.phone-code-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: -1px;
    width: 260px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 300;
    overflow: hidden;
}

.phone-code-select.open .phone-code-dropdown {
    display: block;
}

.phone-code-search {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    outline: none;
    border-radius: 0;
}

.phone-code-list {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

.phone-code-list li {
    padding: 10px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.1s;
}

.phone-code-list li:hover,
.phone-code-list li.active {
    background: #fff3e6;
    color: var(--primary);
}

.phone-code-list li.hidden {
    display: none;
}

.form-group-checkbox {
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.auth-forgot {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.auth-forgot:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-auth {
    padding: 14px;
    font-size: 15px;
    border-radius: 6px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* === Seller Page === */
.seller-page {
    margin: -20px 0 0;
}

.seller-top {
    background: var(--secondary);
    padding: 48px 0;
}

.seller-intro {
    max-width: 600px;
}

.seller-intro h1 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.seller-intro p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.seller-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    padding: 40px 0 60px;
    align-items: start;
}

.seller-block {
    margin-bottom: 36px;
}

.seller-block h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.seller-process {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.seller-process li {
    display: flex;
    flex-direction: column;
    padding: 14px 0 14px 40px;
    position: relative;
    border-left: 2px solid var(--border);
    margin-left: 14px;
}

.seller-process li:last-child {
    border-left-color: transparent;
}

.seller-process li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -15px;
    top: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seller-process li strong {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 4px;
}

.seller-process li span {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.seller-features {
    list-style: none;
    padding: 0;
}

.seller-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.seller-features li:last-child {
    border-bottom: none;
}

.seller-features li i {
    color: var(--primary);
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

.seller-faq-block .faq-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background: none;
}

.seller-faq-block .faq-item:last-child {
    border-bottom: none;
}

.seller-faq-block .faq-item summary {
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seller-faq-block .faq-item summary::-webkit-details-marker {
    display: none;
}

.seller-faq-block .faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--text-light);
    transition: transform 0.2s;
}

.seller-faq-block .faq-item[open] summary::after {
    transform: rotate(180deg);
}

.seller-faq-block .faq-item p {
    padding: 0 0 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Seller Contact Box */
.seller-contact-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    position: sticky;
    top: 20px;
}

.seller-contact-box h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.seller-contact-box > p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.seller-mail-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
}

.seller-mail-list li {
    font-size: 14px;
    color: var(--text);
    padding: 4px 0;
}

.seller-mail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.seller-mail-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.seller-contact-alt {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.seller-contact-alt p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.seller-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

.seller-phone-link:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .seller-top {
        padding: 32px 0;
    }

    .seller-intro h1 {
        font-size: 22px;
    }

    .seller-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0 40px;
    }

    .seller-right {
        order: -1;
    }

    .seller-form-box {
        position: static;
    }
}

/* === Product Detail Responsive === */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }

    .gallery-main {
        min-height: 300px;
        padding: 16px;
    }

    .gallery-main img {
        max-height: 360px;
    }

    .gallery-thumbs {
        gap: 6px;
    }

    .gallery-thumb {
        width: 60px;
        height: 60px;
    }

    .product-detail-info h1 {
        font-size: 18px;
    }

    .product-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
    }

    .product-detail-seller {
        align-items: flex-start;
    }

    .product-detail-price .price-current {
        font-size: 24px;
    }

    .product-detail-actions {
        flex-direction: row;
    }

    .btn-cart-main {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-fav {
        width: 46px;
        height: 46px;
    }

    .product-perks {
        flex-direction: column;
    }

    .product-perk {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 12px 14px;
    }

    .product-perk:last-child {
        border-bottom: none;
    }

    .product-detail-desc h2,
    .product-detail-specs h2 {
        font-size: 16px;
    }

    .specs-table td {
        font-size: 13px;
        padding: 8px 10px;
    }

    .specs-table td:first-child {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 12px;
        gap: 16px;
    }

    .gallery-main {
        min-height: 180px;
        padding: 12px;
    }

    .product-detail-info h1 {
        font-size: 16px;
    }

    .product-detail-price .price-current {
        font-size: 22px;
    }

    .product-detail-price .price-old {
        font-size: 13px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }

    .product-perk .perk-label {
        font-size: 10px;
    }

    .product-perk strong {
        font-size: 12px;
    }

    .specs-table td:first-child {
        width: 40%;
        font-size: 12px;
    }

    .specs-table td {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/* === Cart === */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-title:hover {
    color: var(--primary);
}

.cart-item-seller {
    font-size: 12px;
    color: var(--text-light);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-quantity button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-quantity button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-item-quantity span {
    font-size: 14px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    font-size: 14px;
    padding: 6px;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.cart-summary {
    background: var(--white);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--border);
    position: sticky;
    top: 90px;
}

.cart-summary h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid #f0f0f0;
}

.free-shipping {
    color: #27ae60;
    font-weight: 600;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

/* === Notification === */
.notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-item {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 14px;
    }

    .cart-item-image {
        width: 64px;
        height: 64px;
    }

    .cart-item-info {
        width: calc(100% - 80px);
    }

    .cart-item-title {
        font-size: 13px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .cart-item-quantity {
        margin-left: auto;
    }

    .cart-item-price {
        font-size: 14px;
    }

    .cart-summary {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .cart-item {
        padding: 12px 10px;
    }

    .cart-item-image {
        width: 56px;
        height: 56px;
    }

    .cart-summary h3 {
        font-size: 15px;
    }

    .cart-summary-row {
        font-size: 13px;
    }
}

/* === Checkout Steps === */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto 28px;
}

.checkout-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: default;
    min-width: 64px;
}

.checkout-steps .step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    border: 2px solid transparent;
}

.checkout-steps .step-label {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    transition: color .3s;
}

.checkout-steps .step.active .step-number {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 120, 0, .12);
}

.checkout-steps .step.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

.checkout-steps .step.done .step-number {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
}

.checkout-steps .step.done .step-label {
    color: #27ae60;
    font-weight: 600;
}

.checkout-steps .step-line {
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 0 10px;
    margin-bottom: 24px;
    transition: background .3s;
}

.checkout-steps .step-line.done {
    background: #27ae60;
}

/* Checkout grid layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.checkout-left {
    min-width: 0;
}

.checkout-right {
    position: sticky;
    top: 90px;
}

/* Step panels */
.checkout-step-panel {
    display: none;
}

.checkout-step-panel.active {
    display: block;
    animation: fadeSlideIn .3s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.checkout-step-actions {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 20px;
    gap: 12px;
}

.checkout-step-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
}

.checkout-step-actions .btn-confirm {
    font-size: 15px;
    padding: 14px 28px;
}

/* Checkout cart items (step 1) */
.checkout-cart-items {
    display: flex;
    flex-direction: column;
}

.checkout-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.checkout-cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.checkout-cart-item:first-child {
    padding-top: 0;
}

.checkout-cart-item-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid var(--border);
}

.checkout-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-cart-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-cart-item-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
}

.checkout-cart-item-seller {
    display: block;
    font-size: 12px;
    color: var(--primary);
    margin-top: 2px;
    font-weight: 500;
}

.checkout-cart-item-qty {
    display: inline-block;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 4px;
}

.checkout-cart-item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

/* Confirm block (step 3) */
.confirm-block {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.confirm-block h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.confirm-block h3 i {
    color: var(--primary);
    font-size: 14px;
}

.checkout-item-qty-badge {
    display: inline-block;
    font-size: 11px;
    color: var(--text-light);
    background: #f3f4f6;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
    font-weight: 600;
}

.confirm-address {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    background: #f9fafb;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* === Checkout Section (shared) === */
.checkout-section {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border);
}

.checkout-section h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-section h2 i {
    color: var(--primary);
    font-size: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
}

.checkout-item-name {
    color: var(--text);
    flex: 1;
}

.checkout-item-price {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    margin-left: 16px;
}

/* Right sidebar summary */
.checkout-summary-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.checkout-summary-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.checkout-summary-items {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text);
    padding: 4px 0;
    gap: 8px;
}

.checkout-summary-item span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-summary-item span:last-child {
    white-space: nowrap;
    font-weight: 500;
}

.checkout-summary-rows {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    padding: 4px 0;
}

.checkout-summary-row .free-shipping {
    color: #27ae60;
    font-weight: 600;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    padding: 4px 0 12px;
}

.checkout-summary-secure {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.checkout-summary-secure i {
    color: #27ae60;
    margin-right: 4px;
}

/* === Checkout Success === */
.checkout-success {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.success-card {
    text-align: center;
    background: var(--white);
    padding: 48px 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    max-width: 460px;
}

.success-icon {
    font-size: 48px;
    color: #27ae60;
    margin-bottom: 16px;
}

.success-card h1 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text);
}

.success-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.success-card .btn {
    margin-top: 20px;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-right {
        position: static;
        order: -1;
    }

    .checkout-steps {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .checkout-steps .step-label {
        font-size: 11px;
    }

    .checkout-steps .step-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .checkout-steps .step-line {
        margin: 0 6px;
        margin-bottom: 20px;
    }

    .checkout-section {
        padding: 16px 14px;
    }

    .checkout-section h2 {
        font-size: 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-step-actions {
        flex-direction: column-reverse;
    }

    .checkout-step-actions .btn {
        width: 100%;
    }

    .checkout-cart-item {
        gap: 12px;
    }

    .checkout-cart-item-img {
        width: 52px;
        height: 52px;
    }

    .checkout-cart-item-name {
        font-size: 13px;
    }

    .checkout-summary-card {
        padding: 18px;
    }

    .confirm-address {
        font-size: 13px;
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .checkout-section {
        padding: 14px 12px;
    }

    .checkout-steps .step {
        min-width: 50px;
    }

    .checkout-steps .step-label {
        font-size: 10px;
    }

    .checkout-summary-total {
        font-size: 16px;
    }

    .checkout-cart-item-price {
        font-size: 14px;
    }
}

/* === Contact Page === */
.contact-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.contact-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 20px;
}

.contact-box h2 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-box h2 i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    margin-right: 5px;
    font-size: 12px;
}

.contact-box a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 3px;
    word-break: break-word;
}

.contact-box a:hover {
    color: var(--primary);
}

.contact-box p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-company {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 24px;
}

.contact-company h2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.contact-company table {
    width: 100%;
    border-collapse: collapse;
}

.contact-company th,
.contact-company td {
    text-align: left;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

.contact-company tr:last-child th,
.contact-company tr:last-child td {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-company tr:first-child th,
.contact-company tr:first-child td {
    padding-top: 0;
}

.contact-company th {
    font-weight: 500;
    color: var(--text-light);
    width: 130px;
    white-space: nowrap;
    padding-right: 16px;
}

.contact-company td {
    font-weight: 500;
    color: var(--text);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-title {
        font-size: 18px;
    }

    .contact-box {
        padding: 14px 16px;
    }

    .contact-company {
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-company th {
        display: block;
        padding-bottom: 2px;
        border-bottom: none;
    }

    .contact-company td {
        display: block;
        padding-top: 0;
        padding-bottom: 10px;
    }
}

/* === Legal Pages === */
.legal-page {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
}

.legal-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 80px;
}

.legal-sidebar h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary);
    padding: 0 20px 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.legal-sidebar ul {
    list-style: none;
    padding: 8px 0 0;
}

.legal-sidebar ul li {
    margin: 0;
}

.legal-sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.legal-sidebar ul li a i {
    width: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    transition: color 0.15s;
}

.legal-sidebar ul li a:hover {
    background: #fff5ee;
    color: var(--primary);
    border-left-color: var(--primary);
}

.legal-sidebar ul li a:hover i {
    color: var(--primary);
}

.legal-sidebar ul li a.active {
    background: #fff5ee;
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
}

.legal-sidebar ul li a.active i {
    color: var(--primary);
}

.legal-main {
    min-width: 0;
}

.legal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 6px;
}

.legal-update {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.legal-content {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px 36px;
}

.legal-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.legal-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin: 16px 0 8px;
}

.legal-section p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-section ul,
.legal-section ol {
    margin: 10px 0;
    padding-left: 24px;
}

.legal-section ul {
    list-style: disc;
}

.legal-section ol {
    list-style: decimal;
}

.legal-section li {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-section a {
    color: var(--primary);
    font-weight: 500;
    transition: opacity 0.15s;
}

.legal-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.legal-info-box {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 12px 0;
}

.legal-info-box p {
    margin-bottom: 4px;
    font-size: 14px;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-contact {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 20px;
}

.legal-contact p {
    margin-bottom: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-contact i {
    color: var(--primary);
    width: 16px;
    text-align: center;
    font-size: 13px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 14px;
}

.legal-table thead {
    background: #f5f7fa;
}

.legal-table th {
    text-align: left;
    padding: 10px 14px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 2px solid var(--border);
    font-size: 13px;
}

.legal-table td {
    padding: 10px 14px;
    color: var(--text);
    border-bottom: 1px solid #f0f0f0;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover td {
    background: #fafbfc;
}

@media (max-width: 768px) {
    .legal-page {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .legal-sidebar {
        position: static;
        padding: 14px 0;
    }

    .legal-sidebar h4 {
        padding: 0 16px 10px;
        font-size: 13px;
    }

    .legal-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        padding: 8px 12px 0;
    }

    .legal-sidebar ul li a {
        padding: 8px 12px;
        font-size: 12px;
        border-left: none;
        border-radius: 20px;
        gap: 6px;
    }

    .legal-sidebar ul li a:hover {
        border-left-color: transparent;
    }

    .legal-sidebar ul li a.active {
        background: var(--primary);
        color: #fff;
        border-left-color: transparent;
    }

    .legal-sidebar ul li a.active i {
        color: #fff;
    }

    .legal-title {
        font-size: 20px;
    }

    .legal-content {
        padding: 20px 18px;
    }

    .legal-section h2 {
        font-size: 16px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 13px;
    }

    .legal-table {
        font-size: 13px;
    }

    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }

    .legal-info-box,
    .legal-contact {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .legal-sidebar ul li a {
        padding: 7px 10px;
        font-size: 11px;
    }

    .legal-sidebar ul li a i {
        display: none;
    }

    .legal-title {
        font-size: 18px;
    }

    .legal-update {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .legal-content {
        padding: 16px 14px;
    }

    .legal-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .legal-section h2 {
        font-size: 15px;
    }

    .legal-section h3 {
        font-size: 14px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 13px;
        line-height: 1.6;
    }

    .legal-section ul,
    .legal-section ol {
        padding-left: 18px;
    }

    .legal-table {
        font-size: 12px;
    }

    .legal-table th,
    .legal-table td {
        padding: 6px 8px;
    }

    .legal-contact p {
        font-size: 13px;
    }
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 32px 0 16px;
    padding: 0;
}

.pagination-info {
    font-size: 13px;
    color: var(--text-light);
}

.pagination-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: #fff;
    text-decoration: none;
    transition: all .15s ease;
    cursor: pointer;
    user-select: none;
}

.pagination-btn:hover:not(.active):not(.disabled) {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 106, 0, .05);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    cursor: default;
    box-shadow: 0 2px 8px rgba(255, 106, 0, .25);
}

.pagination-btn.disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 38px;
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
    user-select: none;
}

@media (max-width: 480px) {
    .pagination-btn {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
        padding: 0 8px;
    }

    .pagination {
        margin: 20px 0 12px;
    }
}

/* === Auth Pages Responsive === */
@media (max-width: 480px) {
    .auth-page {
        padding: 20px 10px;
    }

    .auth-card {
        padding: 24px 18px;
    }

    .auth-logo {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .auth-tab {
        font-size: 14px;
        padding: 10px 0;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
    }

    .phone-code-select {
        min-width: 90px;
        padding: 0 8px;
    }

    .btn-auth {
        padding: 12px;
        font-size: 14px;
    }

    .checkbox-label {
        font-size: 12px;
    }
}

/* === Touch-Friendly & General Mobile === */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .notification {
        left: 10px;
        right: 10px;
        transform: translateY(20px);
        max-width: none;
        text-align: center;
    }

    .notification.show {
        transform: translateY(0);
    }

    .account-dropdown:hover .account-menu {
        display: none;
    }

    .account-dropdown.open .account-menu {
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 12px 32px;
        border-bottom: 1px solid var(--border);
    }

    .page-title h1 {
        font-size: 18px;
    }

    .empty-state {
        padding: 30px 16px;
    }

    .empty-state h2,
    .empty-state h3 {
        font-size: 16px;
    }

    .empty-state p {
        font-size: 13px;
    }

    .seller-form-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .section {
        margin-bottom: 24px;
    }

    .banner-slider {
        margin-bottom: 20px;
        border-radius: 8px;
    }
}
