/* --- Product Page Layout --- */
.product-page-container {
    background-color: #ffffff;
    min-height: 100vh;
    padding-bottom: 90px; /* Space for bottom nav */
}

/* --- Category Tabs --- */
.tabs-section {
    padding: 24px 16px 0;
}

.tabs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    background: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tab-item.active {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.tab-label-lg {
    font-size: 18px;
    font-weight: 700;
    color: #334155;
}

.tab-item.active .tab-label-lg {
    color: #2563eb;
}

.tab-label-sm {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
}

/* --- Product Cards --- */
.products-list {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card-main-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.product-img-box {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
}

.product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.card-info-flex {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: flex-start;
}

.info-stack {
    display: flex;
    flex-direction: column;
}

.title-sec1 {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}

.sku-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.va-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    background: #2563eb;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 8px;
}

/* --- Pricing --- */
.price-stack {
    text-align: right;
}

.price-old {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 700;
}

.price-new {
    font-size: 18px;
    font-weight: 900;
    color: #1d4ed8;
    line-height: 1;
}

.price-tagline {
    font-size: 8px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 4px;
}

/* --- Technical Grid --- */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.tech-item {
    background: #f8fafc;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    text-align: center;
}

.tech-label {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tech-value {
    font-size: 12px;
    font-weight: 900;
    color: #334155;
}

/* --- Buttons --- */
.btn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-details {
    background: #ffffff;
    border: 2px solid #0f172a;
    color: #0f172a;
    padding: 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.btn-buy {
    background: #0f172a;
    color: #ffffff;
    padding: 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-buy:active {
    transform: scale(0.95);
}

/* Bulletproof Bottom Action Bar */
.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0; /* Ensures it stretches across full width */
    width: 100%;
    background: #ffffff;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    z-index: 99999 !important; /* Extremely high to beat any footer */
    box-shadow: 0 -8px 25px rgba(0,0,0,0.1);
    border-top: 1px solid #f1f5f9;
    box-sizing: border-box; /* Crucial for padding/width calculation */
}

.btn-inquiry {
    flex: 1;
    border: 2px solid #0f172a;
    color: #0f172a;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    display: block;
}

.btn-buy-now {
    flex: 2;
    background: #0f172a;
    color: #ffffff !important;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    display: block;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-buy-now:active {
    transform: scale(0.97);
}