@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --primary: #f26522;
    /* Vibrant orange */
    --primary-hover: #e04f0e;
    /* Darker orange */
    --primary-glow: rgba(242, 101, 34, 0.12);

    --success: #52c41a;
    --success-bg: #f6ffed;
    --warning: #faad14;
    --warning-bg: #fffbe6;
    --danger: #ff4d4f;
    --danger-bg: #fff1f0;

    --bg-base: #f0f2f5;
    --bg-surface: #ffffff;
    --bg-surface-glass: rgba(255, 255, 255, 0.85);

    --text-main: #262626;
    --text-muted: #8c8c8c;
    --text-light: #bfbfbf;

    --border-color: #f0f0f0;
    --border-glow: #f26522;

    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

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

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

/* Core Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ampo.vn Custom Styled Header */
.utility-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    height: 38px;
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
}

.utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.utility-link {
    color: #555;
    transition: color 0.2s;
    font-weight: 500;
}

.utility-link:hover {
    color: #f26522;
}

.divider {
    color: #ccc;
    font-size: 11px;
}

.navbar-main {
    background: linear-gradient(90deg, #f26522, #f7941d);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.2);
    height: 76px;
    display: flex;
    align-items: center;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 16px;
    min-width: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
}

.mobile-nav-toggle {
    display: none;
}

.logo-icon-svg {
    fill: white;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: white;
}

.logo-text-sub {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
}

/* Category Dropdown */
.category-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 24px;
    flex-shrink: 0;
}

.category-btn {
    list-style: none;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.category-btn::-webkit-details-marker {
    display: none;
}

.category-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.category-dropdown[open] .category-btn,
.category-btn:focus-visible {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.category-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.category-dropdown:hover .category-dropdown-content,
.category-dropdown[open] .category-dropdown-content {
    display: block;
}

.category-dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s, color 0.2s;
}

.category-dropdown-content a:last-child {
    border-bottom: none;
}

.category-dropdown-content a:hover {
    background-color: #fff4ef;
    color: #f26522;
}

/* Search Bar Container */
.search-bar-container {
    display: flex;
    flex-grow: 1;
    max-width: 500px;
    margin: 0 40px;
    position: relative;
    min-width: 0;
}

.search-form {
    display: flex;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 10px 48px 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 32px;
    height: 32px;
    background-color: #f26522;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.search-btn:hover {
    background-color: #e04f0e;
}

.search-btn svg {
    stroke: white;
}

/* Cart Button */
.navbar-cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.navbar-cart-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: white;
    color: white;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-badge-red {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4d4f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-bottom-tabs {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }

    .utility-bar {
        display: none;
    }

    .navbar-main {
        height: auto;
    }

    .navbar-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
        gap: 12px;
    }

    .mobile-nav-toggle {
        display: block;
        order: 1;
        position: relative;
        flex-shrink: 0;
    }

    .mobile-nav-toggle-btn {
        list-style: none;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        cursor: pointer;
    }

    .mobile-nav-toggle-btn::-webkit-details-marker {
        display: none;
    }

    .mobile-nav-toggle[open] .mobile-nav-toggle-btn {
        background: rgba(255, 255, 255, 0.24);
        border-color: rgba(255, 255, 255, 0.55);
    }

    .mobile-nav-panel {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: min(320px, calc(100vw - 32px));
        max-height: min(62vh, 460px);
        overflow-y: auto;
        background: #fff;
        border-radius: 18px;
        border: 1px solid rgba(242, 101, 34, 0.16);
        box-shadow: 0 18px 36px rgba(35, 35, 35, 0.18);
        padding: 10px;
        z-index: 320;
    }

    .mobile-nav-link {
        display: block;
        color: #2f2f2f;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-nav-link:hover {
        background: #fff4ef;
        color: var(--primary);
    }

    .logo-container {
        order: 1;
        margin-right: auto;
    }

    .search-bar-container {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin: 0;
    }

    .category-dropdown {
        display: none;
    }

    .navbar-cart-btn {
        order: 2;
        margin-left: auto;
        padding: 8px 12px;
    }

    .cart-text {
        display: none;
    }

    .container {
        padding: 0 16px;
    }

    .mobile-bottom-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 250;
        padding: 10px 12px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(242, 101, 34, 0.18);
        box-shadow: 0 16px 32px rgba(35, 35, 35, 0.18);
        backdrop-filter: blur(14px);
    }

    .mobile-tab-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 52px;
        color: #6b7280;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        border-radius: 14px;
    }

    .mobile-tab-link:hover {
        color: var(--primary);
        background: rgba(242, 101, 34, 0.08);
    }

    .mobile-tab-button {
        list-style: none;
    }

    .mobile-tab-button::-webkit-details-marker {
        display: none;
    }

    .mobile-tab-categories {
        position: relative;
    }

    .mobile-tab-categories[open] .mobile-tab-button {
        color: var(--primary);
        background: rgba(242, 101, 34, 0.1);
    }

    .mobile-category-sheet {
        position: absolute;
        right: 0;
        bottom: calc(100% + 12px);
        width: min(320px, calc(100vw - 32px));
        max-height: min(55vh, 420px);
        overflow-y: auto;
        background: #fff;
        border-radius: 18px;
        border: 1px solid rgba(242, 101, 34, 0.16);
        box-shadow: 0 18px 36px rgba(35, 35, 35, 0.18);
        padding: 10px;
    }

    .mobile-category-link {
        display: block;
        color: #2f2f2f;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-category-link:hover {
        background: #fff4ef;
        color: var(--primary);
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 18px;
    }

    .logo-text-sub {
        display: none;
    }

    .category-btn {
        padding: 10px 12px;
    }

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

    .search-btn {
        top: 3px;
        right: 3px;
    }
}

/* Product Catalog Grid */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    margin-bottom: 32px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.catalog-sidebar-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.catalog-sidebar-link {
    justify-content: flex-start;
}

.catalog-content {
    min-width: 0;
}

.catalog-title {
    font-size: 32px;
    letter-spacing: -0.5px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .catalog-header {
        margin-top: 28px;
        margin-bottom: 24px;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 48px;
    }

    .catalog-sidebar {
        display: none;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .product-info {
        padding: 16px;
    }

    .product-title {
        font-size: 16px;
        height: 46px;
    }

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

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

/* Product Card Glass Effect & Animations */
.product-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md);
}

.product-img-wrapper {
    position: relative;
    padding-bottom: 100%;
    background-color: hsl(220, 20%, 94%);
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.product-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.product-price-currency {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-left: 2px;
}

/* Modern Storefront Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(114, 91, 237, 0.35);
}

.btn-icon-only {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-md);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-glow);
}

/* Product Detail Page Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    margin-bottom: 80px;
}

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

.detail-img-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.detail-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.detail-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-price-box {
    margin-bottom: 32px;
    padding: 20px;
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.detail-price-val {
    font-size: 32px;
    font-weight: 800;
}

.detail-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 36px;
}

/* Cart & Checkout Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 80px;
}

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

.cart-items-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.cart-summary-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
}

.quantity-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background: var(--bg-base);
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--border-color);
}

.quantity-val {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

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

.cart-total-final {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: 16px;
    font-size: 20px;
    font-weight: 800;
}

/* Premium Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-base);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--bg-surface);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* VNPay / Payment Indicators */
.payment-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.payment-option {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--bg-surface);
}

.payment-option.active {
    border-color: var(--primary);
    background-color: var(--primary-glow);
}

.payment-logo-vnpay {
    height: 28px;
    object-fit: contain;
}

/* Reconnect Modal override styling */
.reconnect-modal {
    z-index: 10000;
}

/* Footer Section */
.footer {
    background-color: var(--text-main);
    color: white;
    padding: 60px 0 30px;
    margin-top: auto;
    border-top: 1px solid hsl(220, 20%, 20%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .footer-brand {
        grid-column: span 1;
    }
}

.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-text {
    color: var(--text-light);
    font-size: 14px;
    max-width: 320px;
}

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

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

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

.footer-link a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid hsl(220, 20%, 20%);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

/* Animations */
@keyframes badgePop {
    0% {
        transform: scale(0);
    }

    80% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-color);
    box-shadow: var(--shadow-sm);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--text-light);
}

/* Skeleton Loader Styles */
.skeleton {
    background: linear-gradient(90deg,
            var(--border-color) 25%,
            var(--bg-base) 37%,
            var(--border-color) 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
}

.skeleton-card {
    pointer-events: none;
    border-color: var(--border-color) !important;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Product Detail Tabs & Specs Table */
.detail-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-top: 40px;
    margin-bottom: 24px;
    gap: 8px;
}

.detail-tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    outline: none;
}

.detail-tab-btn:hover {
    color: var(--primary);
}

.detail-tab-btn.active {
    color: var(--primary);
}

.detail-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
}

.detail-tab-content {
    background-color: var(--bg-surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 60px;
    line-height: 1.7;
    color: #444;
}

/* Specification Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 1px solid var(--border-color);
}

.spec-table tr {
    border-bottom: 1px solid var(--border-color);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table tr:nth-child(even) {
    background-color: #fafafa;
}

.spec-table td {
    padding: 12px 16px;
}

.spec-table td.spec-name {
    font-weight: 700;
    color: var(--text-main);
    width: 30%;
    background-color: #f7f7f7;
    border-right: 1px solid var(--border-color);
}

.spec-table td.spec-val {
    color: #333;
}

/* Option selections / variants styling */
.variant-section {
    margin-bottom: 24px;
}

.variant-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-opt-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.variant-opt-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.variant-opt-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-glow);
    font-weight: 600;
    box-shadow: 0 0 0 2px rgba(242, 101, 34, 0.1);
}

.variant-opt-btn svg {
    color: var(--primary);
}