/* AfghanZone Public Marketplace Phase 25
   Compact Alibaba-inspired catalogue, premium product details and account-aware checkout. */

body.az-product-first-market .all-products-section {
    padding: 18px 0 48px;
    background: #f5f6f8;
}

body.az-product-first-market .all-products-section .site-container {
    max-width: 1680px;
    padding-inline: clamp(12px, 2vw, 28px);
}

body.az-product-first-market .market-layout {
    grid-template-columns: 228px minmax(0, 1fr);
    gap: 12px;
}

body.az-product-first-market .products-content {
    min-width: 0;
}

body.az-product-first-market #all-product-grid,
body.az-product-first-market .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(206px, 236px));
    justify-content: start;
    align-items: stretch;
    gap: 12px;
}

html[dir="rtl"] body.az-product-first-market #all-product-grid,
html[dir="rtl"] body.az-product-first-market .related-grid {
    justify-content: end;
}

body.az-product-first-market .product-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.az-product-first-market .product-card:hover {
    transform: translateY(-3px);
    border-color: #ff7a1a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .11);
}

body.az-product-first-market .product-card-media {
    aspect-ratio: 1 / .80;
    border-bottom: 1px solid #eef0f2;
    background: #fff;
}

body.az-product-first-market .product-card-media > img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
    transition: transform .25s ease;
}

body.az-product-first-market .product-card:hover .product-card-media > img {
    transform: scale(1.025);
}

body.az-product-first-market .product-badges {
    inset: 8px 8px auto;
    gap: 5px;
}

body.az-product-first-market .product-badges .stock-badge,
body.az-product-first-market .product-badges .feature-badge {
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 8px;
    backdrop-filter: blur(8px);
}

body.az-product-first-market .product-card-body {
    display: flex;
    min-height: 156px;
    flex-direction: column;
    padding: 9px 9px 10px;
}

body.az-product-first-market .product-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #8a94a3;
    font-size: 8px;
    line-height: 1.3;
}

body.az-product-first-market .product-card h3 {
    min-height: 34px;
    margin: 5px 0 4px;
    font-size: 12px;
    line-height: 1.45;
}

body.az-product-first-market .product-card h3 button {
    display: -webkit-box;
    overflow: hidden;
    color: #172033;
    text-align: start;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.az-product-first-market .product-short-description {
    display: none !important;
}

body.az-product-first-market .cmp-product-seller {
    min-height: 29px;
    gap: 6px;
    margin: 0 0 4px;
    padding: 4px 6px;
    border: 0;
    border-radius: 8px;
    background: #f8fafc;
}

body.az-product-first-market .cmp-product-seller img,
body.az-product-first-market .cmp-product-seller .cmp-seller-mark {
    width: 23px;
    height: 23px;
    min-width: 23px;
    border-radius: 7px;
}

body.az-product-first-market .cmp-product-seller b {
    display: -webkit-box;
    overflow: hidden;
    color: #344054;
    font-size: 8.5px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

body.az-product-first-market .cmp-product-seller small {
    display: block;
    overflow: hidden;
    color: #98a2b3;
    font-size: 7px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.az-product-first-market .product-rating {
    min-height: 15px;
    margin: 0;
    font-size: 8px;
}

body.az-product-first-market .product-commerce-line {
    display: flex;
    min-height: 15px;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 1px;
    color: #667085;
    font-size: 7.5px;
}

body.az-product-first-market .product-commerce-line span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

body.az-product-first-market .product-commerce-line i {
    color: #12a26a;
}

body.az-product-first-market .product-price-row {
    align-items: end;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #f0f2f5;
}

body.az-product-first-market .product-price strong {
    color: #0f7b55;
    font-size: 16px;
    line-height: 1.1;
}

body.az-product-first-market .product-price small,
body.az-product-first-market .moq-badge {
    color: #98a2b3;
    font-size: 7px;
}

body.az-product-first-market .moq-badge {
    max-width: 46%;
    overflow: hidden;
    padding: 4px 6px;
    border-radius: 6px;
    background: #f8fafc;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.az-product-first-market .product-card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px 32px;
    gap: 5px;
    margin-top: 6px;
}

body.az-product-first-market .product-card-actions button {
    min-width: 0;
    min-height: 32px;
    padding: 0 7px;
    border-radius: 8px;
    font-size: 0;
}

body.az-product-first-market .product-card-actions button i {
    margin: 0;
    font-size: 13px;
}

body.az-product-first-market .product-card-actions .details-button {
    display: none;
}

body.az-product-first-market .product-card-actions .public-order-button {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-inline: 9px;
    background: linear-gradient(135deg, #ff7a00, #e85d04);
    color: #fff;
    font-size: 8px;
    box-shadow: none;
}

body.az-product-first-market .product-card-actions .public-order-button i {
    font-size: 11px;
}

body.az-product-first-market .product-card-actions .whatsapp-button {
    grid-column: 2;
    grid-row: 1;
    color: #fff;
    background: #0aa56e;
}

body.az-product-first-market .product-card-actions .cart-button {
    width: auto;
    grid-column: 3;
    grid-row: 1;
    color: #d95f09;
    border: 1px solid #fed7aa;
    background: #fff7ed;
}

/* Product details: premium marketplace layout. */
.product-detail-page {
    background: #f5f6f8;
}

.product-detail-page .detail-header {
    border-bottom: 1px solid #e8eaed;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.product-detail-page .detail-main {
    max-width: 1480px;
    padding-top: 18px;
    padding-bottom: 110px;
}

.product-detail-page .breadcrumb {
    margin-bottom: 12px;
    padding: 10px 14px;
    border: 1px solid #e7e9ed;
    border-radius: 10px;
    background: #fff;
    color: #667085;
}

.product-detail-page .detail-product-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    gap: 14px;
    align-items: start;
}

.product-detail-page .detail-gallery,
.product-detail-page .detail-info-card,
.product-detail-page .detail-description-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .045);
}

.product-detail-page .detail-gallery {
    position: sticky;
    top: 94px;
    padding: 14px;
}

.product-detail-page .detail-main-image {
    min-height: 470px;
    aspect-ratio: 1 / .86;
    border: 1px solid #eef0f2;
    border-radius: 13px;
    background: #fff;
}

.product-detail-page .detail-main-image img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
}

.product-detail-page .detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
}

.product-detail-page .detail-thumbnail {
    aspect-ratio: 1;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
}

.product-detail-page .detail-thumbnail.is-active {
    border-color: #ff7a00;
    box-shadow: 0 0 0 2px rgba(255, 122, 0, .12);
}

.product-detail-page .detail-info-card {
    padding: clamp(18px, 2.2vw, 28px);
}

.product-detail-page .detail-info-card h1 {
    margin: 10px 0 6px;
    color: #101828;
    font-size: clamp(24px, 2.4vw, 38px);
    line-height: 1.35;
}

.product-detail-page .detail-brand-category {
    margin: 0 0 13px;
    color: #667085;
}

.product-detail-page .cmp-detail-seller {
    margin: 14px 0;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.product-detail-page .detail-price-panel {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid #ffdfc5;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff8f1, #fff);
}

.product-detail-page .detail-price-panel strong {
    color: #d95f09;
    font-size: clamp(22px, 2.2vw, 34px);
}

.product-detail-page .detail-summary {
    margin: 13px 0;
    color: #475467;
    font-size: 13px;
    line-height: 1.85;
}

.product-detail-page .detail-market-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0;
}

.product-detail-page .detail-market-facts article {
    min-width: 0;
    padding: 10px;
    border: 1px solid #eef0f2;
    border-radius: 10px;
    background: #fafbfc;
}

.product-detail-page .detail-market-facts small {
    display: block;
    color: #98a2b3;
    font-size: 8px;
}

.product-detail-page .detail-market-facts b {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #344054;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-detail-page .quantity-order-row {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 17px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.product-detail-page .quantity-order-row .public-order-button {
    min-height: 48px;
    grid-column: 2 / 4;
    background: linear-gradient(135deg, #ff7a00, #e85d04);
    color: #fff;
    font-size: 11px;
    box-shadow: none;
}

.product-detail-page .detail-cart-button,
.product-detail-page .detail-whatsapp-button {
    min-height: 44px;
}

.product-detail-page .detail-assurance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
}

.product-detail-page .detail-assurance div {
    padding: 9px 10px;
    border-radius: 9px;
    background: #f8fafc;
    color: #475467;
    font-size: 9px;
}

.product-detail-page .detail-assurance i {
    color: #12a26a;
}

.product-detail-page .detail-description-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
    gap: 24px;
    padding: clamp(20px, 3vw, 34px);
}

.product-detail-page .detail-description-card h2 {
    margin-top: 0;
    color: #101828;
}

.product-detail-page .detail-description-card p {
    color: #475467;
    line-height: 2;
}

.product-detail-page .specification-table {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.product-detail-page .specification-table tr:nth-child(odd) {
    background: #f8fafc;
}

/* Account-aware checkout notice. */
.public-order-account-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 24px 0;
    padding: 10px 12px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 10px;
    font-weight: 800;
}

.public-order-account-state.is-customer {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.public-order-account-state.is-remembered {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.public-order-account-state a {
    flex: 0 0 auto;
    color: inherit;
    font-weight: 900;
    text-decoration: underline;
}

.public-order-form .is-account-filled {
    border-color: #86efac;
    background: #f0fdf4;
}

@media (max-width: 1320px) {
    body.az-product-first-market #all-product-grid,
    body.az-product-first-market .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(196px, 224px));
    }
}

@media (max-width: 1040px) {
    body.az-product-first-market .market-layout {
        grid-template-columns: 1fr;
    }

    body.az-product-first-market #all-product-grid,
    body.az-product-first-market .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
    }

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

    .product-detail-page .detail-gallery {
        position: static;
    }

    .product-detail-page .detail-main-image {
        min-height: 390px;
    }
}

@media (max-width: 760px) {
    body.az-product-first-market #all-product-grid,
    body.az-product-first-market .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    body.az-product-first-market .product-card-media {
        aspect-ratio: 1 / .82;
    }

    body.az-product-first-market .product-card-body {
        min-height: 150px;
        padding: 7px;
    }

    body.az-product-first-market .product-card h3 {
        min-height: 31px;
        font-size: 10px;
        line-height: 1.4;
    }

    body.az-product-first-market .cmp-product-seller {
        min-height: 26px;
        padding: 3px 5px;
    }

    body.az-product-first-market .cmp-product-seller img,
    body.az-product-first-market .cmp-product-seller .cmp-seller-mark {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }

    body.az-product-first-market .product-commerce-line {
        display: none;
    }

    body.az-product-first-market .product-price strong {
        font-size: 14px;
    }

    body.az-product-first-market .product-card-actions {
        grid-template-columns: minmax(0, 1fr) 31px;
    }

    body.az-product-first-market .product-card-actions .whatsapp-button {
        display: none;
    }

    body.az-product-first-market .product-card-actions .cart-button {
        grid-column: 2;
    }

    .product-detail-page .detail-main {
        padding-inline: 10px;
    }

    .product-detail-page .detail-main-image {
        min-height: 280px;
    }

    .product-detail-page .detail-thumbnails {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .product-detail-page .detail-info-card {
        padding: 15px;
    }

    .product-detail-page .detail-market-facts {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-page .quantity-order-row {
        grid-template-columns: 1fr 1fr;
    }

    .product-detail-page .quantity-control {
        grid-column: 1 / -1;
    }

    .product-detail-page .quantity-order-row .public-order-button {
        grid-column: 1 / -1;
    }

    .product-detail-page .detail-assurance,
    .product-detail-page .detail-description-card {
        grid-template-columns: 1fr;
    }

    .public-order-account-state {
        align-items: flex-start;
        margin-inline: 18px;
        flex-direction: column;
    }
}

body.az-product-first-market .company-partner-nav-link,
body.az-product-first-market .company-partner-mobile-link {
    color: #0f7b55;
}
body.az-product-first-market .company-partner-nav-link:hover,
body.az-product-first-market .company-partner-mobile-link:hover {
    color: #d95f09;
}


/* AFGHANZONE_PUBLIC_PRODUCT_MOBILE_ACTIONS_V1_0_0
   Mobile-only product-detail action refinement.
   Presentation only: no cart/order/WhatsApp/message/stock logic changes. */
@media (max-width: 760px) {
    .product-detail-page .detail-main {
        padding-bottom: 34px !important;
    }

    .product-detail-page .quantity-order-row {
        position: static !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: auto !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        align-items: stretch !important;
        gap: 6px !important;
        margin: 12px 0 0 !important;
        padding: 8px !important;
        border: 1px solid #e6e9ee !important;
        border-radius: 13px !important;
        background: #fff !important;
        box-shadow: 0 7px 20px rgba(15, 23, 42, .055) !important;
    }

    .product-detail-page .quantity-control {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-height: 38px !important;
        height: 38px !important;
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) 38px !important;
        align-items: center !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 10px !important;
        background: #f8fafc !important;
        box-shadow: none !important;
    }

    .product-detail-page .quantity-control button,
    .product-detail-page .quantity-control input {
        min-width: 0 !important;
        width: 100% !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        text-align: center !important;
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .product-detail-page .quantity-control button {
        font-size: 15px !important;
        font-weight: 900 !important;
    }

    .product-detail-page .detail-whatsapp-button,
    .product-detail-page .detail-cart-button,
    .product-detail-page .quantity-order-row .az-chat-button,
    .product-detail-page .quantity-order-row .public-order-button {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        padding: 4px 3px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
        font-size: 8px !important;
        font-weight: 900 !important;
        line-height: 1.15 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow: hidden !important;
    }

    .product-detail-page .detail-whatsapp-button i,
    .product-detail-page .detail-cart-button i,
    .product-detail-page .quantity-order-row .az-chat-button i,
    .product-detail-page .quantity-order-row .public-order-button i {
        flex: 0 0 auto !important;
        margin: 0 !important;
        font-size: 12px !important;
    }

    .product-detail-page .detail-whatsapp-button span,
    .product-detail-page .detail-cart-button span,
    .product-detail-page .quantity-order-row .az-chat-button span,
    .product-detail-page .quantity-order-row .public-order-button span {
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .product-detail-page .detail-whatsapp-button {
        color: #fff !important;
        border: 1px solid #0aa56e !important;
        background: #0aa56e !important;
    }

    .product-detail-page .detail-cart-button {
        color: #d95f09 !important;
        border: 1px solid #fed7aa !important;
        background: #fff7ed !important;
    }

    .product-detail-page .quantity-order-row .az-chat-button {
        color: #4338ca !important;
        border: 1px solid #dfe3ff !important;
        background: #eef2ff !important;
    }

    .product-detail-page .quantity-order-row .public-order-button {
        color: #fff !important;
        border: 1px solid #f97316 !important;
        background: linear-gradient(135deg, #ff7a00, #e85d04) !important;
    }

    .product-detail-page .detail-assurance {
        margin-top: 10px !important;
        gap: 6px !important;
    }

    .product-detail-page .detail-assurance div {
        padding: 8px 9px !important;
        border-radius: 9px !important;
        font-size: 8px !important;
    }
}

@media (max-width: 390px) {
    .product-detail-page .quantity-order-row {
        gap: 5px !important;
        padding: 7px !important;
    }

    .product-detail-page .detail-whatsapp-button,
    .product-detail-page .detail-cart-button,
    .product-detail-page .quantity-order-row .az-chat-button,
    .product-detail-page .quantity-order-row .public-order-button {
        min-height: 40px !important;
        height: 40px !important;
        padding-inline: 2px !important;
        font-size: 7.3px !important;
    }
}


/* AFGHANZONE_PUBLIC_PRODUCT_DETAIL_MOBILE_REFINEMENT_V1_0_0
   Mobile-only product detail polish: compact price/facts + four-action dock.
   No stock, cart, WhatsApp, messaging, seller-routing, order or backend logic changes. */
@media (max-width: 760px) {
    .product-detail-page .detail-info-card {
        padding: 11px !important;
    }

    .product-detail-page .detail-status-row {
        gap: 4px !important;
        margin-top: 9px !important;
    }
    .product-detail-page .detail-status-row .stock-badge {
        gap: 3px !important;
        padding: 4px 6px !important;
        font-size: 7.2px !important;
        line-height: 1.15 !important;
    }

    .product-detail-page .detail-price-panel {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin: 10px 0 !important;
        padding: 7px !important;
        border-radius: 12px !important;
        background: linear-gradient(135deg, #fff8f1, #fffdfb) !important;
    }
    .product-detail-page .detail-price-panel > div {
        min-width: 0 !important;
        padding: 8px 7px !important;
        border: 1px solid rgba(249, 115, 22, .13) !important;
        border-radius: 9px !important;
        background: rgba(255,255,255,.82) !important;
    }
    .product-detail-page .detail-price-panel small {
        display: block !important;
        margin: 0 0 3px !important;
        color: #9a5a31 !important;
        font-size: 7.4px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
    }
    .product-detail-page .detail-price-panel strong {
        display: block !important;
        margin: 0 !important;
        color: #cf5b0a !important;
        font-size: clamp(16px, 4.6vw, 19px) !important;
        line-height: 1.22 !important;
        white-space: nowrap !important;
    }

    .product-detail-page .detail-summary {
        margin: 9px 0 !important;
        font-size: 10px !important;
        line-height: 1.65 !important;
    }

    .product-detail-page .detail-market-facts {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin: 9px 0 !important;
    }
    .product-detail-page .detail-market-facts article {
        min-width: 0 !important;
        min-height: 58px !important;
        padding: 7px 6px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        border-radius: 9px !important;
        background: #fafbfc !important;
    }
    .product-detail-page .detail-market-facts small {
        font-size: 7px !important;
        line-height: 1.25 !important;
    }
    .product-detail-page .detail-market-facts b {
        margin-top: 3px !important;
        overflow: hidden !important;
        font-size: 8.6px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        text-overflow: clip !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    #mobile-product-action.mobile-product-action {
        position: sticky !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        z-index: 70 !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 5px !important;
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid #e5e7eb !important;
        background: rgba(255,255,255,.985) !important;
        box-shadow: 0 -8px 22px rgba(15,23,42,.07) !important;
        backdrop-filter: blur(14px) !important;
        box-sizing: border-box !important;
    }

    #mobile-product-action .quantity-control {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-height: 34px !important;
        height: 34px !important;
        display: grid !important;
        grid-template-columns: 34px minmax(0,1fr) 34px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 9px !important;
        background: #f8fafc !important;
        box-shadow: none !important;
        direction: ltr !important;
    }
    #mobile-product-action .quantity-control button,
    #mobile-product-action .quantity-control input {
        width: 100% !important;
        min-width: 0 !important;
        height: 32px !important;
        min-height: 32px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-align: center !important;
        font-size: 12px !important;
        line-height: 1 !important;
    }
    #mobile-product-action .quantity-control button {
        font-size: 14px !important;
        font-weight: 950 !important;
        color: #475569 !important;
    }
    #mobile-product-action .quantity-control button[data-quantity-change="1"] {
        background: #16a34a !important;
        color: #fff !important;
    }
    #mobile-product-action .quantity-control button[data-quantity-change="-1"] {
        background: #f1f5f9 !important;
        color: #475569 !important;
    }

    #mobile-product-action > button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 4px 2px !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        border-radius: 9px !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
        font-size: 7px !important;
        font-weight: 900 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow: hidden !important;
        overflow-wrap: anywhere !important;
    }
    #mobile-product-action > button i {
        flex: 0 0 auto !important;
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1 !important;
    }
    #mobile-product-action .mobile-cart-add {
        grid-column: 1 !important;
        border: 1px solid #fed7aa !important;
        background: #fff7ed !important;
        color: #d95f09 !important;
    }
    #mobile-product-action [data-detail-whatsapp] {
        grid-column: 2 !important;
        border: 1px solid #0aa56e !important;
        background: #0aa56e !important;
        color: #fff !important;
    }
    #mobile-product-action .az-chat-button {
        grid-column: 3 !important;
        border: 1px solid #dfe3ff !important;
        background: #eef2ff !important;
        color: #4338ca !important;
    }
    #mobile-product-action .public-order-button {
        grid-column: 4 !important;
        border: 1px solid #f97316 !important;
        background: linear-gradient(135deg, #ff7a00, #e85d04) !important;
        color: #fff !important;
    }
}

@media (max-width: 360px) {
    .product-detail-page .detail-price-panel strong {
        font-size: 15px !important;
    }
    .product-detail-page .detail-market-facts {
        gap: 4px !important;
    }
    #mobile-product-action.mobile-product-action {
        gap: 4px !important;
        padding-inline: 6px !important;
    }
    #mobile-product-action > button {
        font-size: 6.5px !important;
    }
}
