/* ===== PRODUCT DETAIL PAGE ===== */

/* ── Share & Actions Bar ── */
.product-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 4px;
}

.product-share-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-share-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.product-share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0;
}

.product-share-icon .material-icons {
    font-size: 18px;
}

.product-share-icon:hover {
    border-color: #285ccc;
    color: #285ccc;
    background: #fff8f6;
}

.product-share-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
}

.product-action-btn .material-icons {
    font-size: 18px;
}

.product-action-btn:hover {
    color: #285ccc;
}

/* ── Product Detail Grid ── */
.product-detail-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 16px;
    background: white;
}

@media (max-width: 767px) {
    .product-detail-grid { 
    grid-template-columns: 1fr; 
    padding: 10px;
    border-radius: 8px;
    }
}

/* ── Image Gallery ── */
.product-images-col {
    background: #fff;
    padding: 16px;
}

.product-main-image {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    cursor: pointer;
}

.product-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumb-item {
    flex-shrink: 0;
}

.product-thumb-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-thumb-item.active img,
.product-thumb-item:hover img {
    border-color: #285ccc;
}

/* ── Product Info Column ── */
.product-info-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Info Pills */
.product-info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    background: #fff;
}

.info-pill__label {
    color: #777;
    font-weight: 400;
}

.info-pill__value {
    color: #1a1a1a;
    font-weight: bold;
}

.info-pill__value--price {
    color: #285ccc;
    font-weight: bold;
}

.info-pill__value--old {
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    font-size: 12px;
}

/* Brand pill */
.product-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    background: #fff;
    margin-bottom: 16px;
}

.product-brand-pill a {
    color: #1a1a1a;
    font-weight: 700;
}

.product-brand-pill a:hover {
    color: #285ccc;
}

/* Key Features */
.product-key-features {
    margin-bottom: 16px;
}

.product-key-features h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.key-features-list {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    list-style: none;
    padding: 0;
    margin-bottom: 6px;
}

.key-features-list li {
    padding: 2px 0;
}

.view-more-link {
    font-size: 13px;
    color: #285ccc;
    font-weight: 500;
}

.view-more-link:hover {
    text-decoration: underline;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    font-size: 13px;
}

.product-rating .material-icons {
    font-size: 18px;
    color: #f5a623;
}

.product-rating a {
    color: #285ccc;
    margin-left: 4px;
}

/* ── Product Options ── */
.product-options-section {
    margin-bottom: 16px;
}

.product-options-section .form-group {
    margin-bottom: 14px;
}

.product-options-section .control-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Option Pills */
.option-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.option-pill:hover {
    border-color: #3749bb;
    color: #3749bb;
}

.option-pill.active {
    border-color: #3749bb;
    background: #f0f2ff;
    color: #3749bb;
    font-weight: 600;
}

.option-pill__img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
}

/* Standard form inputs for text/textarea/date/time/file options */
#product .form-control {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
}

#product .form-control:focus {
    border-color: #285ccc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(239,74,35,0.1);
}

#product select.form-control {
    cursor: pointer;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-upload:hover {
    background: #eee;
}

.btn-upload .material-icons {
    font-size: 18px;
}

/* Recurring section */
.product-recurring-section {
    margin-bottom: 16px;
}

.product-recurring-section h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ── Enhanced Payment Options ── */
.payment-options {
    margin-bottom: 20px;
}

.payment-options__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.payment-options__heading .material-icons {
    font-size: 20px;
    color: #2563eb;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-right: 20px;
}

@media (max-width: 600px) {
    .payment-options-grid { grid-template-columns: 1fr; padding-right: 0; }
}

.payment-card {
    display: flex;
    flex-direction: column;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.payment-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.payment-card--active {
    border-color: #2563eb;
    background-color: #f8fbff;
    box-shadow: 0 0 0 1.5px #2563eb, 0 4px 12px rgba(37, 99, 235, 0.12);
}

.payment-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.payment-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-card__badge--cash {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.payment-card__badge--emi {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.payment-card__radio-check .material-icons {
    font-size: 20px;
    color: #cbd5e1;
    transition: color 0.2s;
}

.payment-card--active .payment-card__radio-check .material-icons {
    color: #2563eb;
}

.payment-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.payment-card__amount {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.payment-card__amount--emi {
    font-size: 22px;
    color: #1e40af;
}

.payment-card__old {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.payment-card__label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 2px;
}

.payment-card__sub {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.payment-card__sub .material-icons {
    font-size: 14px;
    color: #f59e0b;
}

.payment-card__emi-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.payment-card__emi-link:hover {
    color: #1d4ed8;
    text-decoration: none;
    transform: translateX(2px);
}

.payment-card__emi-link .material-icons {
    font-size: 16px;
}

/* ── Mobile & Desktop Sticky Add-to-Cart Action Bar ── */
.sticky-pdp-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    padding: 10px 16px;
    transform: translateY(115%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.sticky-pdp-bar.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-pdp-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sticky-pdp-bar__product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.sticky-pdp-bar__thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
}

.sticky-pdp-bar__details {
    min-width: 0;
    flex: 1;
}

.sticky-pdp-bar__title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sticky-pdp-bar__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 2px;
}

.sticky-pdp-bar__price-current {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
}

.sticky-pdp-bar__price-old {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.sticky-pdp-bar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sticky-pdp-bar__qty {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

.sticky-qty-btn {
    border: none;
    background: transparent;
    width: 34px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s;
}

.sticky-qty-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.sticky-qty-btn .material-icons {
    font-size: 18px;
}

.sticky-qty-val {
    min-width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.sticky-pdp-bar__buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}

.sticky-pdp-bar__buy-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

.sticky-pdp-bar__buy-btn:active {
    transform: translateY(0);
}

.sticky-pdp-bar__buy-btn .material-icons {
    font-size: 20px;
}

@media (max-width: 767px) {
    #product-product {
        padding-bottom: 85px;
    }
    .sticky-pdp-bar {
        padding: 8px 12px;
    }
    .sticky-pdp-bar__thumb {
        width: 38px;
        height: 38px;
    }
    .sticky-pdp-bar__title {
        font-size: 13px;
        max-width: 140px;
    }
    .sticky-pdp-bar__price-current {
        font-size: 14px;
    }
    .sticky-pdp-bar__buy-btn {
        padding: 9px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .sticky-pdp-bar__qty {
        display: none;
    }
    .sticky-pdp-bar__title {
        max-width: 120px;
    }
}

/* ── Quantity + Buy Now Row ── */
.product-buy-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.product-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.product-qty-control .qty-btn {
    background: #f5f5f5;
    border: none;
    width: 40px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.2s;
    font-size: 0;
}

.product-qty-control .qty-btn .material-icons {
    font-size: 20px;
}

.product-qty-control .qty-btn:hover {
    background: #eee;
}

.product-qty-control .qty-input {
    width: 56px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    font-family: inherit;
}

.product-qty-control .qty-input:focus {
    outline: none;
}

.btn-buy-now {
    flex: 1;
    max-width: 320px;
    background: #3749bb;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.btn-buy-now:hover {
    background: #2a38a0;
}

.btn-buy-now:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Tax, points, discounts */
.product-tax,
.product-points {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.product-discounts {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
    list-style: none;
}

/* ── Tabs + Sidebar Lower Grid ── */
.product-lower-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
    align-items: start;
    margin-top: 4px;
}

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

/* Tabs (sticky anchor nav) */
.product-tabs-wrapper {
    min-width: 0;
}

.product-tabs {
    background: #f0f0f0;
    border-radius: 8px;
    top: 60px;
    z-index: 10;
    margin-bottom: 16px;
    padding: 6px;
}

.product-tab-nav {
    display: flex;
    list-style: none;
    gap: 6px;
}


.product-tab-link {
    display: block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    border-radius: 6px;
    transition: all 0.2s;
    background: #fff;
    border: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.product-tab-link:hover {
    color: #285ccc;
}

.product-tab-item.active .product-tab-link {
    color: #ffffff;
    background: #285ccc;
}

/* Product sections (always visible, stacked) */
.product-section {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.product-section__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.product-section__body {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

/* Spec table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.spec-table thead td {
    background: #f8f8f8;
    font-weight: 700;
    color: #285ccc;
    font-size: 14px;
}

.spec-table tbody td:first-child {
    color: #777;
    width: 200px;
}

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

/* Description section */
#tab-description .product-section__body h2,
#tab-description .product-section__body h3 {
    color: #1a1a1a;
    margin: 20px 0 10px;
}

#tab-description .product-section__body p {
    margin-bottom: 12px;
}

#tab-description .product-section__body a {
    color: #285ccc;
}

/* ── Review Tab ── */
.review-tab-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.review-tab-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.review-tab-subtitle {
    font-size: 13px;
    color: #777;
}

.btn-write-review {
    padding: 8px 20px;
    border: 2px solid #3749bb;
    border-radius: 4px;
    background: #fff;
    color: #3749bb;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: normal;
    overflow-wrap: anywhere;
}

.btn-write-review:hover {
    background: #3749bb;
    color: #fff;
}

/* Review cards (loaded via AJAX into #review) */
.review-card {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
}

.review-card:first-child {
    padding-top: 0;
}

.review-card:last-child {
    border-bottom: none;
}

.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-card__author {
    font-size: 14px;
    color: #1a1a1a;
}

.review-card__date {
    font-size: 12px;
    color: #999;
}

.review-card__rating .material-icons {
    font-size: 16px;
    color: #f5a623;
}

.review-card__text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-top: 6px;
}

/* Review pagination */
.review-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 13px;
    color: #777;
}

.review-pagination a {
    color: #285ccc;
}

/* Review empty state */
.review-empty {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.review-empty__icon {
    font-size: 48px;
    color: #ddd;
    background: #f5f5f5;
    border-radius: 50%;
    padding: 20px;
    margin-bottom: 16px;
}

.review-empty p {
    font-size: 14px;
}

/* Review form */
.review-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.review-form h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.review-form .form-group {
    margin-bottom: 14px;
}

.review-form .control-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.review-form .form-control {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    font-family: inherit;
}

.review-form .form-control:focus {
    border-color: #285ccc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(239,74,35,0.1);
}

.review-form textarea {
    resize: vertical;
}

.review-form .help-block {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

/* Star rating input */
.rating-input {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-star {
    cursor: pointer;
    display: flex;
}

.rating-star .material-icons {
    font-size: 28px;
    color: #ddd;
    transition: color 0.15s;
}

.rating-star:hover .material-icons,
.rating-star.active .material-icons {
    color: #f5a623;
}

.review-form-actions {
    margin-top: 16px;
}

.btn-submit-review {
    background: #285ccc;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit-review:hover { background: #d03e1a; }
.btn-submit-review:disabled { background: #ccc; cursor: not-allowed; }

/* ── Sidebar ── */
.product-sidebar {
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
}

.sidebar-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #285ccc;
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

/* Related products list */
.related-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-product-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.related-product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-product-item__img {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.related-product-item__img img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 4px;
}

.related-product-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.related-product-item__name {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-item__name:hover {
    color: #285ccc;
}

.related-product-item__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
}

.related-product-item__price .price-new,
.related-product-item__price .price-current {
    font-weight: 700;
    color: #285ccc;
}

.related-product-item__price .price-old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.related-product-item__compare {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #777;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.related-product-item__compare .material-icons {
    font-size: 14px;
}

.related-product-item__compare:hover {
    color: #285ccc;
}

/* Tags */
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag-pill {
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 16px;
    font-size: 12px;
    color: #555;
    transition: all 0.2s;
}

.product-tag-pill:hover {
    border-color: #285ccc;
    color: #285ccc;
}

/* ── Error states ── */
.form-group.has-error .form-control,
.form-group.has-error .option-pills {
    border-color: #285ccc;
}

.text-danger {
    color: #285ccc;
    font-size: 12px;
    margin-top: 4px;
}

/* ── Lightbox ── */
#product-lightbox {
    border: none;
    border-radius: 12px;
    padding: 0;
    background: #fff;
    margin: auto;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
}

#product-lightbox[open] {
    animation: lb-dialog-in 0.2s ease-out;
}

@keyframes lb-dialog-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

#product-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.7);
}

#product-lightbox .product-lightbox__inner {
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-lightbox__img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.product-lightbox__img {
    max-width: 80vw;
    max-height: 75vh;
    display: block;
    object-fit: contain;
    padding: 24px;
    margin: 0 auto;
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Slide/fade animation classes */
.lb-fade-in {
    animation: lbFadeIn 0.25s ease-out;
}
@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lb-slide-out-left {
    animation: lbSlideOutLeft 0.15s ease-in forwards;
}
@keyframes lbSlideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-60px); }
}

.lb-slide-out-right {
    animation: lbSlideOutRight 0.15s ease-in forwards;
}
@keyframes lbSlideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(60px); }
}

.lb-slide-in-right {
    animation: lbSlideInRight 0.2s ease-out;
}
@keyframes lbSlideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

.lb-slide-in-left {
    animation: lbSlideInLeft 0.2s ease-out;
}
@keyframes lbSlideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

.product-lightbox__caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f8f8f8;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.product-lightbox__title {
    font-weight: 600;
}

.product-lightbox__counter {
    color: #888;
    font-size: 13px;
}

.product-lightbox__close,
.product-lightbox__prev,
.product-lightbox__next {
    position: absolute;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: background 0.15s;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

.product-lightbox__close {
    top: 8px;
    right: 8px;
}

.product-lightbox__prev,
.product-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
}

.product-lightbox__prev { left: 12px; }
.product-lightbox__next { right: 12px; }

.product-lightbox__close:hover,
.product-lightbox__prev:hover,
.product-lightbox__next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.product-lightbox__close:active,
.product-lightbox__prev:active,
.product-lightbox__next:active {
    transform: translateY(-50%) scale(0.92);
}
.product-lightbox__close:active {
    transform: scale(0.92);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .product-share-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .product-info-pills {
        gap: 6px;
    }

    .info-pill {
        padding: 4px 10px;
        font-size: 12px;
    }

    .payment-options-grid {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .product-buy-row {
        flex-wrap: wrap;
    }

    /* .btn-buy-now {
        flex: 1 1 100%;
        max-width: none;
    } */

    .product-lower-grid {
        grid-template-columns: 1fr;
    }

    .review-tab-header {
        flex-direction: column;
        gap: 12px;
    }

    /* Spec table: remove fixed width on mobile */
    .spec-table tbody td:first-child {
        width: auto;
        min-width: 100px;
    }

    .spec-table td {
        padding: 8px 10px;
        font-size: 12px;
    }

    /* Tab nav: horizontal scroll on mobile */
    .product-tab-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-tab-nav::-webkit-scrollbar {
        display: none;
    }

    .product-tab-link {
        padding: 8px 16px;
        font-size: 13px;
    }
}

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

    .product-share-bar {
        padding: 8px 12px;
    }

    .product-share-right {
        gap: 10px;
    }

    .product-section {
        padding: 16px 14px;
    }

    .spec-table tbody td:first-child {
        min-width: 80px;
    }

    .product-buy-row {
        gap: 10px;
    }

    .btn-buy-now {
        width: 100%;
    }
}

/* ── Product Status Buttons ── */
.price-tba {
    color: #888;
    font-style: italic;
}

.btn-buy-now--cfp {
    background: #e9e9e9;
    color: #888;
    cursor: not-allowed;
    border: 1px solid #ddd;
}

.btn-buy-now--status {
    background: #e9e9e9;
    color: #888;
    cursor: default;
    border: 1px solid #ddd;
    pointer-events: none;
}

.btn-buy-now--preorder {
    background: #5b4fcf;
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn-buy-now--preorder:hover {
    background: #4a3fb8;
}

/* ── Pre-Order Modal ── */
.preorder-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preorder-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.preorder-modal__box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    z-index: 1;
    max-height: 90vh;
    overflow-y: auto;
}

.preorder-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.preorder-modal__close:hover { color: #333; }

.preorder-modal__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #222;
}

.preorder-modal__product {
    font-size: 14px;
    color: #5b4fcf;
    font-weight: 600;
    margin: 0 0 20px;
}

.preorder-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.preorder-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.preorder-input:focus { border-color: #5b4fcf; }

.preorder-textarea {
    min-height: 80px;
    resize: vertical;
}

.preorder-modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.preorder-modal__cancel {
    flex: 1;
    padding: 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

.preorder-modal__cancel:hover { background: #e9e9e9; }

.preorder-result {
    font-size: 14px;
    padding: 8px 0;
    min-height: 20px;
}

.preorder-result--success { color: #27ae60; font-weight: 600; }
.preorder-result--error   { color: #285ccc; }

@media (max-width: 480px) {
    .preorder-modal__box { padding: 20px; margin: 12px; }
    .preorder-form-row { grid-template-columns: 1fr; }
}

/* ================================================================
   STAR POINTS BADGE
   ================================================================ */
.star-points-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0f0;
    border: 1px solid #ffd0d0;
    border-radius: 8px;
    padding: 10px 16px;
    margin: 12px 0 4px;
    font-size: 15px;
    color: #333;
    width: fit-content;
}

.star-points-badge .material-icons {
    color: #285ccc;
    font-size: 26px;
}

.star-points-badge strong {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

/* ================================================================
   PRODUCT INFO LABEL BADGE
   ================================================================ */
.product-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff5f0;
    border: 1.5px solid #285ccc;
    border-radius: 8px;
    padding: 10px 16px;
    margin: 10px 0 4px;
    font-size: 14px;
    font-weight: 500;
    color: #285ccc;
    width: fit-content;
}

.product-info-label .material-icons {
    font-size: 20px;
    flex-shrink: 0;
}

/* ================================================================
   COUNTDOWN TIMER
   ================================================================ */
.product-countdown {
    margin: 14px 0 4px;
    text-align: center;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 16px;
    width: fit-content;
}

.countdown-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #222;
    margin-bottom: 10px;
}

.countdown-digits {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.countdown-num {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #285ccc;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.countdown-lbl {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================================================
   OUT OF STOCK BUTTON
   ================================================================ */
.btn-buy-now--oos {
    background: #c8c8c8;
    color: #555;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.85;
}

@media (max-width: 480px) {
    .product-countdown { width: 100%; }
    .countdown-num { width: 44px; height: 44px; font-size: 18px; }
    .product-info-label,
    .star-points-badge { width: 100%; box-sizing: border-box; }
}

/* ── Bottom nav clearance on mobile ── */
@media (max-width: 767px) {
    #product-product {
        padding-bottom: 70px;
    }

    .product-share-bar {
        flex-direction: row;
        gap: 8px;
        padding: 8px 12px;
    }

    .product-share-label {
        display: none;
    }

    .product-info-pills {
        flex-wrap: wrap;
    }

    .payment-card__amount {
        font-size: 20px;
    }

    .payment-card__amount--emi {
        font-size: 20px;
    }

    .qty-stepper {
        width: 100%;
        justify-content: center;
    }
}

.payment-card__emi-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    color: #285ccc;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.payment-card__emi-link:hover,
.payment-card__emi-link:focus {
    color: #1f4fb0;
    text-decoration: underline;
}



.emi-plans-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(8, 22, 33, 0.58);
}

.emi-plans-dialog {
    width: 1000px;max-width: calc(100vw - 32px);
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(40, 92, 204, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(8, 22, 33, 0.24);
}

.emi-plans-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #e7ebf5;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.emi-plans-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.emi-plans-title > span,
.emi-bank-detail__icon,
.emi-bank-tab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.emi-plans-title > span {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(40, 92, 204, 0.24);
    border-radius: 8px;
    background: #eef4ff;
    color: #285ccc;
}

.emi-plans-title .material-icons {
    font-size: 22px;
}

.emi-plans-title p {
    margin: 2px 0 0;
    color: #777;
    font-size: 13px;
}

.emi-plans-dialog .dreamer-modal__title {
    margin: 0;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 700;
}

.emi-plans-dialog .dreamer-modal__close {
    width: 34px;
    height: 34px;
    border: 1px solid #d9deeb;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.emi-plans-dialog .dreamer-modal__close:hover {
    border-color: #285ccc;
    color: #285ccc;
}

.emi-plans-dialog .dreamer-modal__body {
    max-height: calc(90vh - 75px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 20px 20px;
}

.emi-plans-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.emi-plans-summary div {
    position: relative;
    min-height: 72px;
    border: 1px solid #e5e8f0;
    border-radius: 8px;
    padding: 10px 12px 10px 46px;
    background: #f8fbff;
}

.emi-plans-summary .material-icons {
    position: absolute;
    top: 13px;
    left: 12px;
    color: #285ccc;
    font-size: 23px;
}

.emi-plans-summary span {
    display: block;
    margin-bottom: 2px;
    color: #777;
    font-size: 12px;
}

.emi-plans-summary strong {
    color: #1a1a1a;
    font-size: 14px;
}

.emi-plans-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #ffd6a8;
    border-radius: 8px;
    background: #fff8ef;
    color: #8a4d00;
    font-size: 13px;
}

.emi-plans-alert .material-icons {
    font-size: 20px;
}

.emi-plans-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 14px;
    min-height: 360px;
}

.emi-bank-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #e5e8f0;
    border-radius: 8px;
    background: #f6f8fc;
}

.emi-bank-list::-webkit-scrollbar {
    width: 8px;
}

.emi-bank-list::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #c7d3ef;
}

.emi-bank-tab {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin-bottom: 7px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-align: left;
    cursor: pointer;
    transition: border-color .16s, background .16s, box-shadow .16s, color .16s;
}

.emi-bank-tab:last-child {
    margin-bottom: 0;
}

.emi-bank-tab:hover {
    border-color: #c7d3ef;
    color: #285ccc;
}

.emi-bank-tab.is-active {
    border-color: #285ccc;
    background: #eef4ff;
    box-shadow: inset 3px 0 0 #285ccc;
    color: #1a2f90;
}

.emi-bank-tab__icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #edf2ff;
    color: #285ccc;
}

.emi-bank-tab.is-active .emi-bank-tab__icon {
    background: #285ccc;
    color: #fff;
}

.emi-bank-tab__icon .material-icons,
.emi-bank-tab__chevron .material-icons {
    font-size: 19px;
}

.emi-bank-tab__text {
    min-width: 0;
}

.emi-bank-tab__text strong,
.emi-bank-tab__text small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
}

.emi-bank-tab__text strong {
    font-size: 13px;
    font-weight: 700;
}

.emi-bank-tab__text small {
    margin-top: 1px;
    color: #777;
    font-size: 11px;
}

.emi-bank-tab__chevron {
    color: #a4aec3;
}

.emi-bank-tab.is-active .emi-bank-tab__chevron {
    color: #285ccc;
}

.emi-bank-detail {
    min-width: 0;
    border: 1px solid #e5e8f0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.emi-bank-detail__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf0f7;
    background: #fbfcff;
}

.emi-bank-detail__icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #285ccc;
    color: #fff;
}

.emi-bank-detail__icon .material-icons {
    font-size: 22px;
}

.emi-bank-detail h5 {
    margin: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
}

.emi-bank-detail p {
    margin: 2px 0 0;
    color: #777;
    font-size: 12px;
}

.emi-plans-table-wrap {
    overflow-x: hidden;
}

.emi-plans-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 13px;
}

.emi-plans-table th,
.emi-plans-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef0f5;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.emi-plans-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f0f4ff;
    color: #1a2f90;
    font-weight: 700;
}

.emi-plans-table tbody tr:nth-child(even) td {
    background: #fafcff;
}

.emi-plans-table tbody tr:hover td {
    background: #f3f7ff;
}

.emi-tenure-pill,
.emi-rate-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 28px;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
}

.emi-tenure-pill {
    border: 1px solid #d8e2ff;
    background: #f2f6ff;
    color: #1a2f90;
}

.emi-rate-chip {
    border: 1px solid #cce8d9;
    background: #eefaf3;
    color: #1c7c43;
    white-space: nowrap;
}



.emi-plans-table th:nth-child(1),
.emi-plans-table td:nth-child(1),
.emi-plans-table th:nth-child(2),
.emi-plans-table td:nth-child(2) {
    width: 96px;
}

.emi-plans-table th:nth-child(3),
.emi-plans-table td:nth-child(3),
.emi-plans-table th:nth-child(4),
.emi-plans-table td:nth-child(4) {
    width: auto;
}

.emi-plans-table td strong {
    white-space: nowrap;
}

.emi-plans-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 3px solid #285ccc;
    border-radius: 6px;
    background: #f8fbff;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .emi-plans-modal {
        align-items: flex-end;
        padding: 8px;
    }

    .emi-plans-dialog {
        width: 100%;
        max-width: 100%;
        max-height: 94vh;
        border-radius: 8px 8px 0 0;
    }

    .emi-plans-header {
        padding: 12px 14px;
    }

    .emi-plans-title > span {
        width: 36px;
        height: 36px;
    }

    .emi-plans-title p {
        display: none;
    }

    .emi-plans-dialog .dreamer-modal__body {
        max-height: calc(94vh - 61px);
        overflow-x: hidden;
        padding: 12px;
    }

    .emi-plans-summary,
    .emi-plans-layout {
        grid-template-columns: 1fr;
    }

    .emi-plans-summary {
        gap: 8px;
    }

    .emi-plans-summary div {
        min-height: 58px;
        padding: 9px 10px 9px 42px;
    }

    .emi-bank-list {
        display: flex;
        gap: 8px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 6px;
    }

    .emi-bank-tab {
        flex: 0 0 210px;
        margin-bottom: 0;
        padding: 8px;
    }

    .emi-bank-detail__head {
        padding: 12px;
    }

    .emi-bank-detail__icon {
        width: 36px;
        height: 36px;
    }

    .emi-plans-table {
        min-width: 0;
        font-size: 12px;
    }

    .emi-plans-table thead {
        display: none;
    }

    .emi-plans-table tbody {
        display: grid;
        gap: 8px;
        padding: 10px;
    }

    .emi-plans-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 8px 10px;
        border: 1px solid #e5e8f0;
        border-radius: 8px;
        background: #fff;
        padding: 10px;
    }

    .emi-plans-table td {
        display: flex;
        align-items: center;
        min-width: 0;
        padding: 0;
        border-bottom: 0;
    }

    .emi-plans-table td:nth-child(2) {
        justify-content: flex-end;
    }

    .emi-plans-table td:nth-child(3),
    .emi-plans-table td:nth-child(4) {
        display: grid;
        gap: 2px;
        padding-top: 6px;
        border-top: 1px solid #eef0f5;
        line-height: 1.35;
    }

    .emi-plans-table td:nth-child(3)::before,
    .emi-plans-table td:nth-child(4)::before {
        color: #777;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .emi-plans-table td:nth-child(3)::before { content: 'Total'; }
    .emi-plans-table td:nth-child(4)::before { content: 'Monthly'; }

    .emi-plans-table td strong {
        white-space: nowrap;
    }
}

/* =================================================================
   SALES-CENTRIC PDP ENHANCEMENTS
   ================================================================= */

/* Save Discount Badge */
.save-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}
.save-badge .material-icons {
    font-size: 14px;
}

/* Status Pulsing Dot */
.status-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: status-pulse-green 2s infinite;
    margin-right: 5px;
    vertical-align: middle;
}
@keyframes status-pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.status--instock { color: #047857 !important; font-weight: 700; }
.status--oos { color: #dc2626 !important; font-weight: 700; }
.cash-disc-tag { font-size: 11px; font-weight: 600; color: #16a34a; }

/* In-Product Promotional Offer & Free Gift Box */
.product-promo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffaf0;
    border: 1.5px dashed #f97316;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 18px;
    animation: fadeIn 0.3s ease;
}
.product-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ea580c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.product-promo-badge .material-icons { font-size: 16px; }
.product-promo-text {
    font-size: 13px;
    font-weight: 600;
    color: #9a3412;
    line-height: 1.4;
}

/* PDP Actions: Buy Now & TechLand Compare */
.pdp-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
}
.pdp-actions .btn-buy-now {
    flex: 1;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    height: 48px;
    border-radius: 8px;
}
.btn-pdp-compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f1f5f9;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 48px;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-pdp-compare:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}
.btn-pdp-compare .material-icons { font-size: 18px; color: #2563eb; }

/* Direct Chat Actions (WhatsApp & Messenger) */
.product-chat-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.chat-btn--whatsapp {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.chat-btn--whatsapp:hover {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}
.chat-btn--whatsapp svg { fill: currentColor; }
.chat-btn--messenger {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.chat-btn--messenger:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.chat-btn--messenger svg { fill: currentColor; }

/* Meta Action Buttons (Disclaimer, Suggestion, Copy Link) */
.product-meta-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.btn-product-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}
.btn-product-meta:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
.btn-product-meta .material-icons { font-size: 16px; }
.btn-product-meta--suggestion {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}
.btn-product-meta--suggestion:hover {
    background: #dcfce7;
    color: #166534;
    border-color: #86efac;
}

/* Frequently Bought Together Bundle Card */
.product-bundle-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    margin: 28px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.product-bundle-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-bundle-title .material-icons { color: #2563eb; font-size: 22px; }
.product-bundle-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
}
.product-bundle-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.product-bundle-items {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    flex: 1;
}
.bundle-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    max-width: 220px;
    transition: all 0.2s ease;
}
.bundle-item:hover { border-color: #cbd5e1; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.bundle-item--main { border-color: #93c5fd; background: #eff6ff; }
.bundle-checkbox-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin: 0;
}
.bundle-thumb {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
}
.bundle-thumb img { max-height: 90px; max-width: 90px; object-fit: contain; }
.bundle-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: #2563eb;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    width: fit-content;
}
.bundle-name {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
}
.bundle-price {
    margin-top: 6px;
    font-size: 13px;
    color: #2563eb;
}
.bundle-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}
.product-bundle-cta {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    min-width: 220px;
}
.bundle-total-label { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; }
.bundle-total-amount { font-size: 22px; font-weight: 800; color: #0f172a; margin: 4px 0 12px 0; }
.btn-bundle-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}
.btn-bundle-buy:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
}

/* Mid-Page Campaign Marketing Banner Strip */
.product-campaign-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    border-radius: 10px;
    padding: 14px 20px;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.campaign-strip-content { display: flex; align-items: center; gap: 12px; }
.campaign-strip-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.campaign-strip-icon .material-icons { color: #60a5fa; font-size: 24px; }
.campaign-strip-text strong { display: block; font-size: 14px; color: #fff; }
.campaign-strip-text span { font-size: 12px; color: #94a3b8; }
.campaign-strip-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #e2e8f0;
}
.campaign-badge .material-icons { font-size: 14px; color: #60a5fa; }

/* Specification Quick Search */
.spec-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}
.spec-search-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 10px;
    width: 100%;
    max-width: 320px;
}
.spec-search-wrap .material-icons { color: #94a3b8; font-size: 18px; }
.spec-search-wrap input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 100%;
    color: #1e293b;
}

/* PCB Store Style FAQ Accordion */
.faq-header-wrap { margin-bottom: 16px; }
.faq-section-subtitle { font-size: 13px; color: #64748b; margin-top: -4px; margin-bottom: 14px; }
.product-faq-list { display: flex; flex-direction: column; gap: 10px; }
.product-faq-details {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-faq-details[open] {
    border-color: #93c5fd;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
}
.product-faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.product-faq-summary::-webkit-details-marker { display: none; }
.product-faq-summary .faq-chevron {
    color: #64748b;
    transition: transform 0.25s ease;
}
.product-faq-details[open] .product-faq-summary .faq-chevron {
    transform: rotate(180deg);
    color: #2563eb;
}
.product-faq-answer {
    padding: 0 18px 16px 18px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    border-top: 1px solid #f1f5f9;
}
.product-faq-answer p:last-child { margin-bottom: 0; }

/* Mobile Sticky Bottom Buy Bar */
.mobile-sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-sticky-buy-bar.is-visible {
    transform: translateY(0);
}
@media (min-width: 769px) {
    .mobile-sticky-buy-bar { display: none !important; }
}
.sticky-bar-left { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.sticky-bar-thumb { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #f8fafc; border: 1px solid #e2e8f0; }
.sticky-bar-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sticky-bar-info { overflow: hidden; }
.sticky-bar-title { font-size: 12px; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.sticky-bar-price { font-size: 14px; font-weight: 800; color: #2563eb; }
.btn-sticky-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37,99,235,0.3);
}
.btn-sticky-buy--disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* =================================================================
   MODERN PRODUCT SUGGESTION & INQUIRY MODAL
   ================================================================= */
.suggestion-modal-wrap {
    backdrop-filter: blur(4px);
    background: rgba(15, 23, 42, 0.6);
}
.suggestion-dialog {
    max-width: 540px;
    width: 92%;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    animation: modalFadeScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalFadeScale {
    from { opacity: 0; transform: scale(0.96) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.suggestion-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 22px;
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    border-bottom: 1px solid #f1f5f9;
}
.suggestion-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.suggestion-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    flex-shrink: 0;
}
.suggestion-header-icon .material-icons {
    font-size: 22px;
}
.suggestion-header-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}
.suggestion-header-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}
.suggestion-close-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.2s;
}
.suggestion-close-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}
.suggestion-modal-body {
    padding: 20px 22px;
}
.suggestion-product-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
}
.sug-preview-thumb {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.sug-preview-thumb img {
    max-height: 38px;
    max-width: 38px;
    object-fit: contain;
}
.sug-preview-details {
    overflow: hidden;
}
.sug-preview-title {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 400px;
}
.sug-preview-price {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}
.sug-preview-price strong {
    color: #2563eb;
    font-size: 13px;
}
.suggestion-field-group {
    margin-bottom: 14px;
}
.suggestion-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.suggestion-type-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (max-width: 500px) {
    .suggestion-type-chips { grid-template-columns: repeat(2, 1fr); }
}
.sug-type-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.sug-type-chip .material-icons {
    font-size: 16px;
    color: #64748b;
}
.sug-type-chip:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.sug-type-chip.active {
    border-color: #10b981;
    background: #ecfdf5;
    color: #047857;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}
.sug-type-chip.active .material-icons {
    color: #047857;
}
.suggestion-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 500px) {
    .suggestion-inputs-grid { grid-template-columns: 1fr; }
}
.sug-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.sug-input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
}
.sug-input {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px 10px 38px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s;
    background: #fff;
}
.sug-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.sug-input-wrap--textarea .sug-input-icon {
    top: 10px;
}
.sug-textarea {
    padding: 10px 12px 10px 38px;
    resize: vertical;
    min-height: 75px;
}
.suggestion-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.btn-sug-cancel {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-sug-cancel:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.btn-sug-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}
.btn-sug-submit:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
}
.btn-sug-submit .material-icons {
    font-size: 16px;
}
