* {
    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;
}

.phone-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;
}

.phone-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.05);
}

@media (min-width: 992px) {
    .phone-details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.main-image-card {
    width: 100%;
    height: 480px !important;
    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;
}

.main-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);
}

.main-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: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 5;
    opacity: 0.85;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.main-image-card:hover .zoom-hint-badge {
    opacity: 1;
    background: rgba(37, 99, 235, 0.9);
}

.badge-top-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem;
    z-index: 10;
}

.certified-passport-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 0.875rem;
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(22, 101, 52, 0.08);
    transition: all 0.2s ease;
    text-decoration: none;
}

.certified-passport-btn:hover {
    background-color: #dcfce7;
    border-color: #86efac;
    transform: translateY(-1px);
}

.grade-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3125rem 0.625rem;
    background-color: #334155;
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    width: fit-content;
}

.image-fallback-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.image-fallback-icon-aura {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.fallback-text {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.empty-related-box {
    grid-column: span 4;
    padding: 2.5rem 1.5rem;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    text-align: center;
    color: #475569;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.empty-related-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.empty-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.25rem;
}

.empty-sub {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #64748b;
}

.thumbnails-row {
    display: flex;
    gap: 0.875rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.thumb-item {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0.375rem;
}

.thumb-item.active, .thumb-item:hover {
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.thumb-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.phone-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details-phone-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.details-phone-subtitle {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.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: #fee2e2;
    color: #dc2626;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.prepayment-product-badge-card {
    background: linear-gradient(135deg, #f5f3ff 0%, #eef2ff 50%, #ffffff 100%);
    border: 1.5px solid #c7d2fe;
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px -3px rgba(79, 70, 229, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prepayment-product-badge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -4px rgba(79, 70, 229, 0.18);
    border-color: #818cf8;
}

.prepay-badge-aura {
    position: absolute;
    width: 140px;
    height: 140px;
    top: -50px;
    right: -30px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.prepay-card-left {
    flex: 1;
    z-index: 2;
}

.prepay-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    background: #ffffff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
}

.prepay-pill-tag i {
    color: #6366f1;
    font-size: 10px;
}

.prepay-price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.prepay-special-label {
    font-size: 0.8438rem;
    font-weight: 600;
    color: #334155;
}

.prepay-special-amount {
    font-size: 1.45rem;
    font-weight: 800;
    color: #3730a3;
    font-family: "Nirmala UI", system-ui, sans-serif;
    letter-spacing: -0.01em;
    line-height: 1;
}

.prepay-saved-tag {
    font-size: 0.7813rem;
    font-weight: 700;
    color: #4338ca;
    background: #e0e7ff;
    padding: 2px 7px;
    border-radius: 6px;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.prepay-benefit-subtext {
    margin: 0;
    font-size: 0.7813rem;
    color: #4338ca;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 5px;
}

.prepay-benefit-subtext i {
    color: #6366f1;
    font-size: 12px;
}

.prepay-card-right {
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prepay-watermark-icon {
    font-size: 2.75rem;
    color: rgba(99, 102, 241, 0.18);
    transition: transform 0.3s ease;
}

.prepayment-product-badge-card:hover .prepay-watermark-icon {
    transform: scale(1.1) rotate(5deg);
    color: rgba(99, 102, 241, 0.28);
}

.details-special-offer-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f8fafc 100%);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 1.125rem 1.25rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.06);
}

.offer-card-content {
    flex: 1;
    z-index: 2;
}

.offer-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.5rem;
    background: #ffffff;
    border: 1px solid #6ee7b7;
    color: #047857;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 9999px;
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.offer-gift-icon {
    color: #059669;
    font-size: 0.75rem;
}

.offer-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.offer-card-desc {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.4;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.offer-card-action {
    z-index: 2;
    flex-shrink: 0;
}

.offer-eligible-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.875rem;
    background: #ffffff;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    font-size: 0.7813rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(4, 120, 87, 0.08);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.highlight-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.highlight-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
}

.highlight-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.battery-meter-track {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.battery-meter-fill {
    height: 100%;
    background-color: #10b981;
    border-radius: 9999px;
}

.variants-section {
    margin-bottom: 1.75rem;
}

.variants-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.625rem;
}

.variants-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.variant-pill {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    font-size: 0.8438rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-pill.active, .variant-pill:hover {
    border-color: var(--primary-color, #2563eb);
    color: var(--primary-color, #2563eb);
    background-color: var(--primary-light, #eff6ff);
}

.branch-checker-box {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.75rem;
}

.branch-checker-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.625rem;
}

.branch-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #166534;
}

.branch-select-input {
    width: 100%;
    height: 44px;
    padding: 0 1rem;
    border-radius: 6px;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    font-size: 0.875rem;
    font-weight: 400;
    color: #0f172a;
    outline: none;
}

.details-action-buttons {
    display: flex;
    width: 100%;
    gap: 0.75rem;
    align-items: center;
}

.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);
}

.trade-in-card-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.25);
    margin-bottom: 3.5rem;
}

.trade-in-content {
    max-width: 680px;
}

.trade-in-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3125rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #60a5fa;
    margin-bottom: 0.75rem;
}

.trade-in-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.trade-in-sub {
    font-size: 0.875rem;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.55;
}

.btn-trade-in-calc {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.625rem;
    background-color: #ffffff;
    color: #0f172a;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-trade-in-calc:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.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.75rem;
    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;
    margin-bottom: 1rem;
}

.tab-policy-list {
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.7;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.specs-table td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.specs-table td:first-child {
    font-weight: 500;
    color: #334155;
    width: 30%;
}

.specs-table td:last-child {
    color: #0f172a;
    font-weight: 400;
}

.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(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.phone-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    box-sizing: border-box;
    width: 100%;
}

.phone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.phone-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
}

.passport-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem;
    background-color: #f0fdf4;
    color: #166534;
    font-size: 0.7188rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
}

.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;
}

.phone-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;
}

.phone-img-box img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.phone-card:hover .phone-img-box img {
    transform: scale(1.05);
}

.phone-fallback-icon {
    font-size: 2.75rem;
    color: #cbd5e1;
}

.phone-card-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-box-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.phone-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.phone-price {
    font-size: 1.0625rem;
    font-weight: 600 !important;
    color: #0f172a;
    letter-spacing: 0;
    font-family: "Nirmala UI", system-ui, sans-serif;
}

.phone-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-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-pickup:hover {
    background-color: var(--primary-color, #2563eb);
    color: #ffffff;
    border-color: var(--primary-color, #2563eb);
}

@media (max-width: 768px) {
    .phone-details-wrapper {
        padding: 0 0.75rem 120px 0.75rem !important;
        margin: 0.5rem auto 2rem auto !important;
    }

    .phone-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;
    }

    .trust-guarantees-bar {
        grid-template-columns: 1fr !important;
    }
}

.detail-flash-sale-banner {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #450a0a 100%);
    border: 1px solid #f87171;
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 18px rgba(185, 28, 28, 0.22);
    color: #ffffff;
    flex-wrap: wrap;
}

.flash-banner-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flash-bolt-icon {
    width: 2.25rem;
    height: 2.25rem;
    background-color: #ef4444;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    flex-shrink: 0;
}

.flash-banner-tag {
    font-size: 0.6563rem;
    font-weight: 700;
    color: #fca5a5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
}

.flash-banner-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}

.flash-countdown-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.countdown-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fca5a5;
    letter-spacing: 0.04em;
}

.countdown-digits-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.digit-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 3px 6px;
    min-width: 32px;
    text-align: center;
}

.digit-box span {
    font-size: 0.875rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    display: block;
}

.digit-box small {
    font-size: 0.5313rem;
    color: #fca5a5;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.digit-sep {
    color: #fca5a5;
    font-weight: 800;
    font-size: 0.875rem;
}

.grade-badge-reserved {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #ffffff !important;
    border: 1px solid #fcd34d !important;
    font-weight: 700 !important;
}

.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;
}

@media (max-width: 540px) {
    .detail-flash-sale-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .flash-countdown-box {
        width: 100%;
        justify-content: space-between;
    }
}

.live-activity-bar {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    color: #475569;
}

.activity-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.coupon-trigger-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #ffffff 100%);
    border: 1.5px solid #fde68a;
    border-radius: 14px;
    padding: 0.875rem 1.15rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.coupon-trigger-card:hover {
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.18);
}

.trigger-card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmerEffect 4s infinite;
    pointer-events: none;
}

@keyframes shimmerEffect {
    0% { left: -100%; }
    30% { left: 150%; }
    100% { left: 150%; }
}

.trigger-left {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.trigger-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.coupon-trigger-card:hover .trigger-icon-box {
    transform: rotate(-10deg) scale(1.08);
}

.trigger-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.trigger-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.trigger-pill-badge {
    background: #d97706;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.trigger-title-text {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #78350f;
    line-height: 1.3;
}

.trigger-subtitle-text {
    font-size: 0.7813rem;
    color: #92400e;
    font-weight: 500;
}

.trigger-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #78350f;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(120, 53, 15, 0.2);
    transition: all 0.2s ease;
}

.coupon-trigger-card:hover .trigger-action-pill {
    background: #451a03;
    gap: 0.6rem;
}

.coupons-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 1rem;
}

.coupons-modal-backdrop.active {
    display: flex;
}

.coupons-modal-card {
    background: #ffffff;
    border-radius: 18px;
    max-width: 520px;
    width: 100%;
    padding: 1.5rem;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.coupons-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.coupons-modal-header .header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.modal-subtitle {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.coupons-filter-row {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.coupons-filter-row::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.coupon-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.7813rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.coupon-filter-btn.active, .coupon-filter-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.coupons-modal-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0.75rem 0.75rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    max-height: 420px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.coupons-modal-body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.ticket-voucher-card {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    border-radius: 14px;
    padding: 1rem 1.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    margin: 0 4px;
}

.ticket-voucher-card:hover {
    border-color: #f59e0b;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.12);
}

.ticket-left-cutout,
.ticket-right-cutout {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.ticket-left-cutout {
    left: -9px;
}

.ticket-right-cutout {
    right: -9px;
}

.ticket-content-left {
    flex: 1;
}

.ticket-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6563rem;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.ticket-discount-text {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.ticket-terms-sub {
    font-size: 0.7813rem;
    color: #64748b;
    display: block;
}

.ticket-max-limit {
    font-size: 0.7188rem;
    color: #94a3b8;
    display: block;
    margin-top: 0.15rem;
}

.ticket-divider-line {
    width: 1px;
    height: 48px;
    border-left: 1px dashed #cbd5e1;
    margin: 0 1rem;
}

.ticket-content-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.ticket-code-display {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8125rem;
    color: #1e293b;
    letter-spacing: 0.05em;
}

.btn-copy-code {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-code:hover {
    background: #1d4ed8;
}

.btn-copy-code.copied {
    background: #166534 !important;
}

.coupons-modal-footer {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7813rem;
    color: #64748b;
}

.coupons-modal-footer i {
    color: #2563eb;
}

.empty-coupons-box {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #94a3b8;
}

.empty-coupons-box i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #cbd5e1;
}

.empty-coupons-box h4 {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 0.25rem;
}

.trust-guarantees-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.625rem 0.75rem;
}

.trust-pill i {
    font-size: 1.25rem;
    color: #2563eb;
}

.trust-pill div {
    display: flex;
    flex-direction: column;
}

.trust-pill strong {
    font-size: 0.75rem;
    color: #0f172a;
    line-height: 1.2;
}

.trust-pill span {
    font-size: 0.6875rem;
    color: #64748b;
}

.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-whatsapp-inquiry {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-whatsapp-inquiry:hover {
    background-color: #1eb956;
    transform: translateY(-1px);
}

.quick-order-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
}

.quick-order-modal-backdrop.active {
    display: flex;
}

.quick-order-modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quick-order-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.quick-order-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.quick-order-modal-header p {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.quick-order-summary-box {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
}

.summary-product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.summary-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.summary-product-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.summary-price {
    font-weight: 700;
    color: #2563eb;
    font-size: 1rem;
}

.form-group-custom {
    margin-bottom: 1rem;
}

.form-group-custom label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.375rem;
}

.form-control-custom {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control-custom:focus {
    border-color: #2563eb;
}

.order-type-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.order-type-option {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

.order-type-option input {
    display: none;
}

.order-type-option:has(input:checked) {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

.btn-confirm-quick-order {
    width: 100%;
    height: 48px;
    background: #166534;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 0.5rem;
}

.btn-confirm-quick-order:hover {
    background: #14532d;
}