/**
 * K.W. Products & Sales - Main Stylesheet
 * AirBnB-inspired design with green theme
 */

:root {
    --primary: #2d6a3e;
    --primary-dark: #1e4a2e;
    --primary-light: #4caf50;
    --accent: #8bc34a;
    --text-dark: #222222;
    --text-medium: #484848;
    --text-light: #717171;
    --border: #dddddd;
    --border-light: #ebebeb;
    --bg-light: #f7f7f7;
    --bg-hover: #f0f0f0;
    --white: #ffffff;
    --success: #2e7d32;
    --danger: #c62828;
    --warning: #ef6c00;
    --info: #1565c0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --transition: all 0.2s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', 'Segoe UI', -apple-system, BlinkMacSystemFont, Tahoma, sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============ Container ============ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    width: 100%;
    padding: 0 40px;
}

/* ============ Header ============ */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text small {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
}

/* ============ Search Bar (AirBnB style) ============ */
.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 6px 6px 6px 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex: 1;
    max-width: 600px;
}

.search-bar:hover {
    box-shadow: var(--shadow-md);
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 10px 12px;
    background: transparent;
    font-family: inherit;
}

.search-bar .search-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.search-bar .search-btn:hover {
    background: var(--primary-dark);
}

/* ============ Header Actions ============ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.header-btn:hover {
    background: var(--bg-light);
}

.header-btn-primary {
    background: var(--primary);
    color: white;
    padding: 10px 22px;
}

.header-btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

/* User dropdown */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.user-menu-toggle:hover {
    box-shadow: var(--shadow-md);
}

.user-menu-toggle .avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: 8px 0;
    display: none;
    z-index: 1001;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-dark);
}

.user-dropdown a:hover {
    background: var(--bg-light);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 8px 0;
}

/* ============ Categories Nav ============ */
.categories-nav {
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    overflow-x: auto;
}

.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    min-width: 80px;
}

.category-item:hover,
.category-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.category-item i {
    font-size: 24px;
}

/* ============ Hero Section ============ */
.hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 80px 0;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 24px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,195,74,0.3), transparent);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(45,106,62,0.3);
    transition: var(--transition);
}

.hero-cta:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(45,106,62,0.4);
}

/* ============ Section ============ */
.section {
    padding: 48px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============ Product Grid (AirBnB style) ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px 20px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: 12px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.product-badge.sale {
    background: var(--primary);
    color: white;
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 16px;
}

.product-wishlist:hover,
.product-wishlist.active {
    background: white;
    color: var(--primary);
    transform: scale(1.1);
}

.product-info {
    padding: 0 4px;
}

.product-category {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 4px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.product-rating .stars {
    color: var(--primary);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-old {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-outline {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--text-dark);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 30px;
}

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

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

/* ============ Forms ============ */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control,
.form-select,
textarea.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,106,62,0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-error {
    color: var(--danger);
    font-size: 13px;
    margin-top: 4px;
}

.form-help {
    color: var(--text-light);
    font-size: 12px;
    margin-top: 4px;
}

/* ============ Alerts ============ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    border-left: 4px solid;
}

.alert-success { background: #e8f5e9; border-color: var(--success); color: #1b5e20; }
.alert-error { background: #ffebee; border-color: var(--danger); color: #b71c1c; }
.alert-warning { background: #fff8e1; border-color: var(--warning); color: #e65100; }
.alert-info { background: #e3f2fd; border-color: var(--info); color: #0d47a1; }

/* ============ Footer ============ */
.main-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: var(--text-medium);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-about p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--border);
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
}

/* ============ Pagination ============ */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 4px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.pagination li a:hover {
    background: var(--bg-light);
}

.pagination li.active a {
    background: var(--primary);
    color: white;
}

/* ============ Product Detail ============ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 32px 0;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
}

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

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

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

.product-detail-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.price-section {
    margin: 24px 0;
}

.price-section .price-current {
    font-size: 32px;
    color: var(--primary);
}

.price-section .price-old {
    font-size: 18px;
    margin-left: 12px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-selector button {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-dark);
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: var(--bg-hover);
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    background: white;
}

/* ============ Cart ============ */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
}

.cart-table th {
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-light);
}

.cart-item-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-light);
    flex-shrink: 0;
}

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

.cart-summary {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-summary-row.total {
    font-size: 20px;
    font-weight: 700;
    border-bottom: none;
    padding-top: 16px;
}

/* ============ Auth Pages ============ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}

.auth-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo img {
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
}

.auth-logo h1 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
}

.auth-logo p {
    color: var(--text-light);
    font-size: 14px;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 24px 0;
    color: var(--text-light);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-light);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-detail {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container, .container-fluid {
        padding: 0 16px;
    }
    .search-bar {
        display: none;
    }
    .header-inner {
        padding: 12px 0;
    }
    .header-btn-text {
        display: none;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .hero {
        padding: 48px 20px;
        margin: 16px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 16px;
    }
    .section {
        padding: 32px 0;
    }
    .section-title {
        font-size: 22px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .auth-box {
        padding: 32px 24px;
    }
}

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

/* ============ Utilities ============ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-light { color: var(--text-light); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.hidden { display: none !important; }

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-success { background: #e8f5e9; color: var(--success); }
.badge-warning { background: #fff3e0; color: var(--warning); }
.badge-danger { background: #ffebee; color: var(--danger); }
.badge-info { background: #e3f2fd; color: var(--info); }

/* ============ Banner slider ============ */
.banner-slider { position: relative; width: 100%; aspect-ratio: 21/9; max-height: 520px; overflow: hidden; background: #111; }
.banner-track { position: relative; width: 100%; height: 100%; }
.banner-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s ease; display: flex; align-items: center; justify-content: center; }
.banner-slide.active { opacity: 1; z-index: 1; }
.banner-overlay { text-align: center; color: #fff; padding: 0 20px; max-width: 800px; }
.banner-overlay h1 { font-size: clamp(24px,4vw,44px); font-weight: 700; margin-bottom: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.banner-overlay p { font-size: clamp(14px,2vw,18px); margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.banner-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 0; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 18px; z-index: 2; display: flex; align-items: center; justify-content: center; }
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.banner-dot.active { background: #fff; transform: scale(1.3); }

/* ============ Order timeline (frontend) ============ */
.order-timeline { display: flex; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.order-step { flex: 1; min-width: 130px; background: #f5f7fa; border-radius: 8px; padding: 12px; text-align: center; border-top: 4px solid #e2e8f0; color: #94a3b8; font-size: 13px; }
.order-step.active { border-top-color: var(--primary); color: var(--primary); font-weight: 600; background: #e8f5e9; }
.order-step.done { border-top-color: #10b981; color: #10b981; }
.order-step.cancelled { border-top-color: #ef4444; color: #ef4444; text-decoration: line-through; }
.order-step i { font-size: 20px; margin-bottom: 6px; display: block; }

/* ============ Chat float button ============ */
.chat-float { position: fixed; right: 24px; bottom: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.chat-float a { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 50%; font-size: 24px; box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .15s; }
.chat-float a:hover { transform: scale(1.08); }
.chat-float .line { background: #06c755; }
.chat-float .messenger { background: #0084ff; }

/* ============ Lang switcher (frontend) ============ */
.lang-switcher { display: inline-flex; gap: 2px; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; margin-right: 8px; }
.lang-switcher .lang-opt { padding: 6px 10px; font-size: 12px; font-weight: 700; color: #555; }
.lang-switcher .lang-opt.active { background: var(--primary); color: #fff; }

/* ============ Star rating ============ */
.star-rating .stars i { transition: color .1s; }
.star-rating .stars i:hover ~ i { color: #e5e7eb; }
