/* Viewport Range 1: Mobile Devices (Up to 480px) */
@media (max-width: 480px) {
    .logo-branding-text {
        font-size: 1.8rem;
    }

    .dev-menu-btn {
        border: none;
        font-size: 1.4rem;
        color: var(--primary-blue);
    }

    .master-slider-img {
        height: 250px;
    }

    .slider-heavy-heading {
        font-size: 1.6rem !important;
    }

    .slider-sub-heading {
        font-size: 1rem !important;
    }

    .newsletter-rect-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .structural-email-field,
    .structural-subscribe-btn {
        width: 100%;
        padding: 12px;
    }

    .detail-product-title {
        font-size: 1.5rem !important;
        /* Font size compressed from 2.2rem */
        line-height: 1.3;
        letter-spacing: -0.3px;
    }

    /* Price Label Compression */
    .detail-product-price {
        font-size: 1.4rem !important;
        margin-bottom: 15px !important;
    }

    /* Description & Sub-labels Scaling */
    .detail-sub-label {
        font-size: 0.75rem !important;
    }

    .detail-desc-text {
        font-size: 0.85rem !important;
    }

    /* Column Margins & Spacing Reset to prevent extra widths */
    .row.g-5 {
        --bs-gutter-x: 0px !important;
        /* Clears extra horizontal grid gaps causing scroll */
        --bs-gutter-y: 1.5rem !important;
    }

    /* Color Variant Buttons Layout */
    .color-variant-btn {
        padding: 5px 12px !important;
        font-size: 0.75rem !important;
    }

    /* Add To Cart & Actions Row Transformation */
    .detail-action-buttons-group {
        flex-direction: column;
        /* Stacks button vertically on extremely narrow screens */
        gap: 10px !important;
    }

    .dev-rect-blue-btn-add {
        width: 100% !important;
        padding: 12px 0 !important;
        font-size: 0.85rem !important;
    }

    .dev-rect-wish-btn {
        width: 100% !important;
        padding: 12px 0 !important;
    }

    /* Trust Alert Ribbon Box */
    .detail-trust-alert-strip {
        padding: 10px !important;
    }

    .small-trust-text {
        font-size: 0.7rem !important;
        line-height: 1.4;
        text-align: center;
    }
    .zone-price{
        font-size: 12px;
        font-weight: bold !important;
    }
    .zone-name{
        font-size: 11px !important;
    }

    .checkout-main-title {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }
    .checkout-block-heading{
        font-size: 15px;
    }
    .checkout-head{
        font-size: 16px !important;
    }

    .checkout-form-card,
    .order-summary-sticky-card {
        padding: 15px !important;
    }

    .grand-total-price-text {
        font-size: 18px !important;
        font-weight: bold !important;
    }

    /* Enforce strict single column stacking reset to clear any horizontal expansion overflows */
    .row.g-5 {
        --bs-gutter-x: 0px !important;
        --bs-gutter-y: 2rem !important;
    }

    .success-title-text {
        font-size: 1.7rem !important;
    }

    .success-subtitle-meta {
        font-size: 0.85rem !important;
    }

    .order-number-string {
        font-size: 1.15rem !important;
    }

    .success-data-card-box {
        padding: 15px !important;
    }

    .success-grand-total-val {
        font-size: 1.25rem !important;
    }

    .bank-label {
        width: 80px;
        font-size: 0.75rem;
    }

    .bank-value {
        font-size: 0.75rem;
    }

    .bottom-nav-rect-btn {
        width: 100% !important;
        /* Stacks button inputs to clean screen edge sizes */
        padding: 12px 0px !important;
    }

    .help-channel-btn {
        width: 100% !important;
    }

    .profile-view-title {
        font-size: 1.7rem !important;
    }

    /* Transforms the vertical list into an advanced slick horizontal multi-tab slider strip */
    .parchi-account-tabs-list {
        flex-direction: row !important;
        overflow-x: auto;
        white-space: nowrap;
        gap: 6px;
        padding-bottom: 8px;
    }

    .parchi-account-tabs-list .nav-link {
        flex: 1;
        text-align: center !important;
        padding: 11px 16px !important;
        font-size: 0.8rem !important;
        margin-bottom: 0px !important;
    }

    .order-history-card-box {
        padding: 15px !important;
    }

    .order-left-meta {
        width: 100%;
    }

    .order-right-meta {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #edf2f7;
        padding-top: 15px;
    }

    .order-right-meta .d-flex {
        gap: 10px !important;
    }

    .order-price-string {
        font-size: 1.1rem !important;
    }

    .inline-action-buttons {
        flex-direction: column;
        gap: 10px !important;
    }

    .inline-action-buttons button {
        width: 100% !important;
        padding: 12px 0px !important;
    }

    /* Disable tracking margins on mobile to stop horizontal extensions causing viewport scrolls */
    .row.g-4 {
        --bs-gutter-x: 0px !important;
        --bs-gutter-y: 1.5rem !important;
    }
    .dev-section-title{
        font-size: 20px;
    }
    .tabs-box{
        padding: 15px;
    }
    .pane-block-heading{
        font-size: 18px;
    }
    .profile-head{
        font-size: 15px;
    }
    .order-price{
        font-size: 17px;
    }
    .details-btn{
        font-size: 13px;
    }
    .padding-class{
        padding: 0px 15px;
    }
    .top-announcement-banner{
        font-size: 13px;
    }
    .mobile-icon-circle{
        width: 35px !important;
        height: 35px !important;
        font-size: 16px;
    }
    .mobile-category-title{
        font-size: 13px;
    }
    .mobile-icons{
        width: 35px;
        height: 35px;
    }
    .carousel-inner{
        height: fit-content;
        padding-bottom: 12px;
    }
}

/* Viewport Range 2: Standard Tablets (481px to 991px) */
@media (min-width: 481px) and (max-width: 991px) {
    .dev-menu-btn {
        border: none;
        font-size: 1.5rem;
        color: var(--primary-blue);
    }
    .carousel-inner{
        height: fit-content;
        padding-bottom: 12px;
    }
    .master-slider-img {
        height: 350px;
    }

    .detail-product-title {
        font-size: 1.8rem !important;
    }

    .detail-product-price {
        font-size: 1.6rem !important;
    }

    .detail-desc-text {
        font-size: 0.9rem !important;
    }

    .row.g-5 {
        --bs-gutter-x: 2rem !important;
        /* Controlled layout padding mapping */
    }

    .success-title-text {
        font-size: 2.1rem !important;
    }

    .parchi-account-tabs-list {
        flex-direction: row !important;
        gap: 8px;
        margin-bottom: 12px;
    }

    .parchi-account-tabs-list .nav-link {
        flex: 1;
        text-align: center !important;
        margin-bottom: 0px !important;
    }

    .row.g-4 {
        --bs-gutter-x: 0px !important;
        --bs-gutter-y: 2rem !important;
    }
    .parchi-promo-node-title{
        font-size: 14px;
    }
    .parchi-promo-circle-badge{
        width: 38px;
        height: 38px;
    }
    .parchi-promo-node-text{
        font-size: 12px;
    }
    .parchi-promo-node-card{
        padding: 20px 9px;
    }
    .padding-class{
        padding: 0px 20px;
    }
    .mobile-icon-circle{
        width: 45px !important;
        height: 45px !important;
        font-size: 16px;
    }
    .mobile-category-title{
        font-size: 13px;
    }
    .mobile-icons{
        width: 45px;
        height: 45px;
    }
}


@media (max-width: 991px) {

    /* mobile/tablets par position automatic normal flow par switch ho jaye taake overlap na ho */
    .dev-summary-sticky-column {
        position: relative !important;
        top: 0px !important;
    }
}

@media (min-width: 992px) and (max-width: 1250px) {
    .container.parchi-success-content-area {
        max-width: 800px;
       
    }
        .container.parchi-profile-viewport {
            max-width: 950px;
        }
    
        .parchi-account-tabs-list .nav-link {
            padding: 12px 14px !important;
            font-size: 0.85rem !important;
        }
}