/* Google Fonts được load trong HTML để tối ưu performance */

:root {
    /* Brand Colors */
    --primary: #0047AB;
    /* Cobalt Blue */
    --primary-light: #e6f0fa;
    --primary-dark: #003380;
    --secondary: #00D4FF;
    /* Cyan accent for gradients */
    --accent: #FF3B30;
    /* Vivid Red for CTA */

    /* Neumorphic/Glass Colors */
    --bg-body: #f4f7f9;
    --bg-card: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    /* Text Colors */
    --text-main: #1d1d1f;
    --text-sec: #666666;
    /* Darker for better contrast */
    --text-light: #f5f5f7;

    /* Spacing */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --white: #ffffff;

    /* Animation */
    --trans-fast: 0.2s ease;
    --trans-med: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    overflow-x: hidden;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

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

ul {
    list-style: none;
}

/* --- Layout --- */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }
}

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

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

.animate-enter {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* --- Header (Glassmorphism) --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--trans-med);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header-cta {
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--trans-med);
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Hamburger Menu Button (Hidden on Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}



/* --- Hero Section --- */
.hero {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgb(0, 71, 171) 0%, rgb(0, 10, 40) 90%);
    color: var(--white);
    padding: 100px 0 80px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #b3e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* --- Section Headers --- */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* --- Listing/Category Layout --- */
.listing-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.sidebar-filter {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    padding: 20px;
    position: sticky;
    top: 100px;
    /* Below header */
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--trans-fast);
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.filter-link:hover,
.filter-link.active {
    background: var(--primary-light);
    color: var(--primary);
    transform: translateX(5px);
}

.filter-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.listing-header {
    margin-bottom: 40px;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.listing-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.listing-desc {
    color: var(--text-sec);
    max-width: 800px;
    font-size: 1.05rem;
}

/* --- Product Cards (Modern) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--white);
    overflow: hidden;
    transition: var(--trans-med);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 71, 171, 0.12);
    z-index: 10;
}

.card-img-box {
    padding: 30px;
    background: radial-gradient(circle at center, #fff 0%, #f4f7f9 100%);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-box img {
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: var(--trans-med);
}

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

.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-badge {
    z-index: 10;
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc-short {
    font-size: 0.85rem;
    color: var(--text-sec);
    margin-bottom: 16px;
    line-height: 1.5;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 16px;
}

.price-group {
    display: flex;
    flex-direction: column;
}

.price-now {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.price-was {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: var(--text-sec);
}

.btn-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-fast);
}

.btn-card-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

/* --- Product Detail (Premium) --- */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 340px;
    /* 3 Columns */
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.detail-gallery {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 100px;
}

.detail-specs {
    padding: 20px 0;
}

/* --- Right Sidebar Layout --- */
.detail-right-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Updated CTA Panel */
.detail-cta-panel {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: static;
}

.product-title-hero {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-main) 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.specs-table-premium {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 24px;
}

.specs-table-premium tr td,
.specs-table-premium tr th {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.specs-table-premium th {
    font-weight: 500;
    color: var(--text-sec);
    text-align: left;
    width: 40%;
}

.specs-table-premium td {
    font-weight: 600;
    text-align: right;
    color: var(--text-main);
}

.highlight-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.big-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -1px;
}

.old-price-sm {
    font-size: 1.1rem;
    color: var(--text-sec);
    text-decoration: line-through;
    display: block;
    margin-bottom: 8px;
}

.btn-buy-now {
    display: block;
    width: 100%;
    background: var(--accent);
    color: var(--white);
    padding: 18px;
    text-align: center;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 24px;
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
    transition: var(--trans-med);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(211, 47, 47, 0.4);
}

.btn-support {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 16px;
    text-align: center;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 12px;
    transition: var(--trans-fast);
}

.btn-support:hover {
    background: var(--primary-light);
}

.usp-list {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-sec);
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.usp-icon {
    color: #4caf50;
}

.detail-long-desc {
    margin-top: 80px;
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.detail-long-desc h2,
.detail-long-desc h3 {
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: var(--primary-dark);
}

.detail-long-desc p {
    margin-bottom: 1.2em;
    font-size: 1.1rem;
    color: #444;
}

/* --- Estimator Modal --- */
.estimator-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.estimator-container {
    background: var(--white);
    width: 90%;
    max-width: 600px;
    height: 80vh;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.3s ease;
}

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

.estimator-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.estimator-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.estimator-body {
    overflow-x: hidden;
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
}

.est-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
}

.est-controls select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 4px;
}

.est-group {
    margin-bottom: 24px;
}

.est-group-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--primary);
    background: #ebf5ff;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.est-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    cursor: pointer;
}

.est-opt-info {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.est-price {
    font-weight: 600;
    color: var(--accent);
}

.estimator-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8fbff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.est-total-price {
    font-size: 1.5rem;
    color: var(--accent);
}

/* --- Estimator Card (Standalone Box) --- */
.est-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-top: 0;
}

.est-card-header {
    background: #f8fafc;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    border-bottom: 1px solid #eee;
}

.est-card-header svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.est-card-body {
    overflow-x: hidden;
    padding: 20px;
}

.est-list {
    margin-bottom: 20px;
}

.est-list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #334155;
    line-height: 1.5;
}

.est-list-item::before {
    content: "•";
    color: #2563eb;
    /* Blue dot */
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2rem;
}

.est-highlight {
    font-weight: 700;
    color: #0f172a;
}

.btn-est-calc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #fff;
    border: 1px solid #2563eb;
    color: #2563eb;
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.btn-est-calc:hover {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.btn-est-calc svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- Mobile Stickiness --- */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    justify-content: space-between;
    align-items: center;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
}

.mobile-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.mobile-btn {
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .detail-right-sidebar {
        grid-column: 1 / -1;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .detail-cta-panel,
    .est-card {
        height: 100%;
    }

    .listing-container {
        grid-template-columns: 1fr;
    }

    .sidebar-filter {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}


@media (max-width: 992px) {
    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Hide desktop nav menu by default */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 32px;
        gap: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

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

    /* Hide hotline button on mobile to prevent horizontal scrolling */
    .btn-header-cta {
        display: none;
    }

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

    /* Make nav links full width on mobile */
    .nav-link {
        width: 100%;
        padding: 12px 0;
        font-size: 1.1rem;
    }
}


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

    .detail-right-sidebar {
        grid-template-columns: 1fr;
        display: flex;
    }

    .detail-cta-panel {
        display: none;
        /* Hide desktop CTA on mobile, stick to bottom bar */
    }

    .est-card {
        margin-top: 0;
    }

    .sidebar-filter {
        grid-template-columns: 1fr;
    }
}/* Filter Visual Upgrade */
.filter-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.filter-grid-4 {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

/* Capacity Circles */
.filter-cap-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    cursor: pointer;
}

.cap-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    color: #fff;
    transition: var(--trans-med);
    border: 2px solid transparent;
}

.filter-cap-item:hover .cap-circle,
.filter-cap-item.active .cap-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cap-9000 {
    background: #007bb5;
}

/* Blue */
.cap-12000 {
    background: #f5a623;
}

/* Orange */
.cap-18000 {
    background: #f24b4b;
}

/* Red */
.cap-24000 {
    background: #9b59b6;
}

/* Purple */

.cap-label {
    font-size: 0.75rem;
    color: var(--text-sec);
}

/* Type Cards */
.filter-type-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--trans-fast);
}

.filter-type-item:hover,
.filter-type-item.active {
    border-color: var(--primary);
    background: #f0f7ff;
}

.type-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 8px;
    opacity: 0.7;
}

.filter-type-item:hover .type-icon {
    opacity: 1;
}

.type-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}/* Feature & Tech Visual Cards */
.filter-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    height: 100%;
}

.filter-icon-card:hover,
.filter-icon-card.active {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 71, 171, 0.1);
    transform: translateY(-2px);
}

.fic-img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    object-fit: contain;
}

.fic-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
}

.fic-sub {
    font-size: 0.75rem;
    color: var(--text-sec);
    margin-top: 4px;
}

/* --- Modern UX/UI Features 2026 --- */

/* Breadcrumb Navigation */
.breadcrumb {
    margin: 16px 0;
    font-size: 0.85rem;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-sec);
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--text-sec);
    font-size: 1.1em;
}

.breadcrumb a {
    color: var(--primary);
    transition: var(--trans-fast);
}

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

.breadcrumb li[aria-current="page"] {
    color: var(--text-main);
    font-weight: 500;
}

/* Related Products */
.related-products {
    margin: 60px 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 32px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--trans-med);
}

.related-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-img-box {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background: #f8f9fa;
    overflow: hidden;
}

.related-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--trans-med);
}

.related-card:hover .related-img-box img {
    transform: scale(1.05);
}

.related-content {
    padding: 16px;
}

.related-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-price .price-was {
    font-size: 0.8rem;
    color: var(--text-sec);
    text-decoration: line-through;
}

.related-price .price-now {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* Quick Actions Bar */
.quick-actions {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.qa-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--trans-med);
    color: var(--text-main);
}

.qa-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--primary);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 71, 171, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--trans-med);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 71, 171, 0.4);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Skeleton Loading States */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 0px, #f8f8f8 40px, #f0f0f0 80px);
    background-size: 200px 100%;
    animation: skeleton-loading 1.2s ease-in-out infinite;
}

.skeleton-text {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    border-radius: 4px;
    margin-bottom: 16px;
    width: 60%;
}

.skeleton-img {
    width: 100%;
    padding-top: 75%;
    border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .quick-actions {
        right: 16px;
    }

    .qa-btn {
        width: 40px;
        height: 40px;
    }

    .back-to-top {
        right: 16px;
        bottom: 80px;
        width: 40px;
        height: 40px;
    }

    .breadcrumb {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
}

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