/* =====================================================
   SINGLE PRODUCT DETAILS STYLESHEET
   ===================================================== */

/* Shared Page Hero & Floating Red Pill Breadcrumb (Matches Contact Us Page) */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.page-hero__banner {
    --banner-h: 200px;
    position: relative;
    height: var(--banner-h);
    background-image:
        radial-gradient(ellipse at center, rgba(15, 23, 42, 0.32) 0%, rgba(15, 23, 42, 0.62) 100%),
        url('../../breadcrumb-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-breadcrumb {
    position: absolute;
    left: max(24px, calc(50% - var(--container) / 2 + 24px));
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    background-color: #dc2626;
    background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 12px 28px -12px rgba(220, 38, 38, 0.85);
}

.page-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.page-breadcrumb a:hover {
    opacity: 0.78;
}

.page-breadcrumb i {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumb i.fa-house {
    font-size: 0.8rem;
    color: #ffffff;
}

.page-breadcrumb span {
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 767px) {
    .page-breadcrumb {
        left: 16px;
        padding: 7px 13px;
        font-size: 0.8rem;
    }
}

/* Main Grid */
.pd-main {
    padding: 40px 0 80px;
    background: #ffffff;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
}

/* Gallery Showcase */
.pd-gallery {
    position: sticky;
    top: 100px;
}

.pd-gallery__main {
    position: relative;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    text-align: center;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

.pd-badge--brta {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.pd-gallery__img {
    max-width: 100%;
    height: 340px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.pd-gallery__main:hover .pd-gallery__img {
    transform: scale(1.04);
}

.pd-gallery__thumbs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.pd-thumb {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    padding: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    overflow: hidden;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pd-thumb.is-active,
.pd-thumb:hover {
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Guarantee Box */
.pd-guarantee-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #edf2f7;
}

.pd-g-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-g-item i {
    font-size: 1.4rem;
    color: #ef4444;
    flex-shrink: 0;
}

.pd-g-item strong {
    font-size: 0.82rem;
    display: block;
    color: #0f172a;
    line-height: 1.2;
}

.pd-g-item small {
    font-size: 0.72rem;
    color: #64748b;
}

/* Product Info Column */
.pd-category-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ef4444;
    margin-bottom: 8px;
}

.pd-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 14px;
}

.pd-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pd-rating-row .star-rating {
    color: #f59e0b;
    font-size: 0.95rem;
}

.pd-rating-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
}

.pd-stock-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Price Box */
.pd-price-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 1.5px solid #edf2f7;
    margin-bottom: 22px;
}

.pd-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 8px;
}

.pd-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #dc2626;
}

.pd-old-price {
    font-size: 1.2rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.pd-save-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.pd-fee-note {
    font-size: 0.88rem;
    color: #475569;
    font-weight: 600;
}

.pd-fee-note i {
    color: #3b82f6;
    margin-right: 4px;
}

.pd-summary {
    font-size: 1rem;
    color: #334155;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Highlights List */
.pd-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-highlights li {
    font-size: 0.95rem;
    color: #1e293b;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.pd-highlights i {
    color: #ef4444;
    font-size: 1.05rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Action Buttons */
.pd-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
}

.pd-btn-wa {
    flex: 1.2;
    justify-content: center;
    padding: 14px 20px;
    font-weight: 800;
    font-size: 0.95rem;
}

.pd-btn-call {
    flex: 1;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
}

/* Payment Strip */
.pd-payment-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #64748b;
}

.pd-pay-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-chip {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
}

/* Tabs Section */
.pd-tabs-section {
    background: #f8fafc;
    padding: 70px 0;
}

.pd-tabs-nav {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 36px;
    overflow-x: auto;
}

.pd-tab-btn {
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    margin-bottom: -2px;
}

.pd-tab-btn i {
    margin-right: 6px;
}

.pd-tab-btn:hover {
    color: #ef4444;
}

.pd-tab-btn.is-active {
    color: #ef4444;
    border-bottom-color: #ef4444;
}

/* Tab Panels */
.pd-tab-panel {
    display: none;
}

.pd-tab-panel.is-active {
    display: block;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.spec-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

.spec-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.spec-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.spec-card p {
    font-size: 0.88rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Vehicle Grid */
.v-compat-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
}

.v-compat-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.v-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.v-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
}

.v-item i {
    color: #ef4444;
    font-size: 1.2rem;
}

/* Warranty Cards */
.w-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.w-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.w-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w-card h4 i {
    color: #ef4444;
}

.w-card p {
    font-size: 0.92rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

/* Related Section */
.pd-related {
    background: #ffffff;
    padding: 70px 0;
}

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

@media (max-width: 991px) {
    .pd-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .pd-gallery {
        position: static;
    }
    .pd-guarantee-box {
        grid-template-columns: 1fr;
    }
    .pd-actions {
        flex-direction: column;
    }
}

/* =====================================================
   SIM Operator & Monthly Subscription Selection Styles
   ===================================================== */
.pd-option-group {
    margin-bottom: 22px;
}

.pd-option-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.pd-option-label .required {
    color: #dc2626;
    margin-left: 2px;
}

/* Sim Operator Grid */
.sim-operator-grid {
    display: flex;
    gap: 12px;
}

.sim-option-btn {
    flex: 1;
    height: 52px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-option-btn img {
    max-height: 28px;
    max-width: 80%;
    object-fit: contain;
}

.sim-option-btn:hover {
    border-color: #94a3b8;
}

.sim-option-btn.is-active {
    border: 2px solid #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Subscription Grid */
.subscription-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sub-option-card {
    position: relative;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-option-card:hover {
    border-color: #94a3b8;
}

.sub-option-card.is-active {
    border: 2px solid #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.sub-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: -0.2px;
}

.sub-price {
    font-size: 1.55rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.sub-price span {
    font-size: 1.3rem;
    font-weight: 700;
}

.sub-desc {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    margin-top: 4px;
}

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

