* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.taka-sign,
.currency-symbol {
    font-family: "Nirmala UI", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif !important;
    font-style: normal;
    display: inline-block;
    margin-right: 2px;
    font-weight: inherit;
    vertical-align: baseline;
    line-height: 1;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.breadcrumb-nav a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #2563eb;
}

.bc-sep {
    color: #cbd5e1;
}

.bc-current {
    color: #0f172a;
    font-weight: 500;
}

.accessory-details-wrapper {
    max-width: 1280px;
    width: 100%;
    margin: 2rem auto 4rem auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Nirmala UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.accessory-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.04);
    margin-bottom: 3rem;
}

@media (min-width: 992px) {
    .accessory-details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.accessory-image-card {
    width: 100%;
    height: 420px;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accessory-image-card:hover {
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.accessory-image-card img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.15s ease-out, opacity 0.2s ease;
    will-change: transform, transform-origin;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
}

.zoom-hint-badge {
    position: absolute;
    bottom: 0.875rem;
    right: 0.875rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: gap;
    gap: 0.375rem;
    z-index: 10;
    pointer-events: none;
}

.image-fallback-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
}

.image-fallback-icon-aura {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #94a3b8;
}

.sku-warranty-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.sku-tag {
    padding: 0.4375rem 0.875rem;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid #e2e8f0;
}

.warranty-tag {
    padding: 0.4375rem 0.875rem;
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.accessory-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.accessory-title-text {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.meta-status-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.meta-stock-alert {
    color: #dc2626;
    font-weight: 600;
}

.pricing-panel-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-main-text {
    font-size: 1.75rem;
    font-weight: 600 !important;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -0.01em;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.price-old-text {
    font-size: 0.9375rem;
    font-weight: 400 !important;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.savings-badge-pill {
    padding: 0.375rem 0.75rem;
    background-color: #dcfce7;
    color: #15803d;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid #bbf7d0;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.branch-stock-grid {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.75rem;
}

.branch-stock-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-stock-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.branch-stock-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
}

.quantity-control-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.quantity-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.qty-counter {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background-color: #f1f5f9;
    border: none;
    color: #0f172a;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background-color: #e2e8f0;
}

.qty-input {
    width: 45px;
    height: 36px;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0f172a;
    outline: none;
}

.details-action-buttons {
    display: flex;
    width: 100%;
    gap: 0.75rem;
    align-items: center;
}

.btn-instant-buy {
    flex: 1;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
    transition: all 0.2s ease;
}

.btn-instant-buy:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
}

.btn-large-add-to-cart {
    flex: 1;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    background-color: var(--primary-color, #2563eb);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0 1rem;
    text-align: center;
}

.btn-large-add-to-cart:hover {
    background-color: var(--primary-hover, #1d4ed8);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.btn-disabled-reserved {
    background: #64748b !important;
    color: #f1f5f9 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.9 !important;
}

.btn-disabled-reserved:hover {
    background: #64748b !important;
    transform: none !important;
}

.product-tabs-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
    margin-bottom: 3.5rem;
}

.tabs-header {
    display: flex;
    gap: 0.875rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.tab-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn.active, .tab-btn:hover {
    color: #ffffff;
    background: var(--primary-color, #2563eb);
    border-color: var(--primary-color, #2563eb);
}

.tab-content-panel {
    display: none;
}

.tab-content-panel.active {
    display: block;
}

.tab-panel-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.875rem;
}

.tab-description-box {
    background-color: #f8fafc;
    border-left: 4px solid var(--primary-color, #2563eb);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #334155;
    line-height: 1.7;
}

.tab-description-text {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.7;
}

.tab-policy-list {
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.7;
}

.section-block-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.products-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.accessory-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    box-sizing: border-box;
    width: 100%;
}

.accessory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.accessory-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.vendor-verified-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: #166534;
}

.card-badges-right {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.cod-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 0.65rem;
    font-weight: 500;
    border-radius: 6px;
}

.cod-badge i {
    font-size: 0.6rem;
    color: #059669;
}

.accessory-discount-tag {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.accessory-img-box {
    height: 160px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-radius: 8px;
    margin-bottom: 0.875rem;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.accessory-img-box img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
}

.accessory-fallback-icon {
    font-size: 2.5rem;
    color: #cbd5e1;
}

.accessory-card-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.accessory-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.accessory-price {
    font-size: 1.0625rem;
    font-weight: 600 !important;
    color: #0f172a;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.accessory-old-price {
    font-size: 0.8125rem;
    font-weight: 400 !important;
    color: #94a3b8;
    text-decoration: line-through;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.btn-acc-pickup {
    padding: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-acc-pickup:hover {
    background-color: var(--primary-color, #2563eb);
    color: #ffffff;
    border-color: var(--primary-color, #2563eb);
}

.summary-qty-text {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    margin-left: 0.35rem;
}

@media (max-width: 768px) {
    .accessory-details-wrapper {
        padding: 0 0.75rem 120px 0.75rem !important;
        margin: 0.5rem auto 2rem auto !important;
    }

    .accessory-details-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 1rem !important;
        border-radius: 16px !important;
        border: none !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
        margin-bottom: 1.5rem !important;
    }

    .prepayment-product-badge-card {
        padding: 1rem !important;
    }

    .prepay-watermark-icon {
        display: none !important;
    }

    .details-action-buttons {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        padding: 0.625rem 0.875rem !important;
        box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.12) !important;
        border-top: 1px solid #e2e8f0 !important;
        z-index: 9999 !important;
        display: flex !important;
        margin: 0 !important;
    }

    .btn-large-add-to-cart {
        height: 48px !important;
        font-size: 0.875rem !important;
        border-radius: 10px !important;
    }

    .details-special-offer-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .offer-card-action {
        width: 100% !important;
    }

    .offer-eligible-tag {
        width: 100% !important;
        justify-content: center !important;
    }
}