
        .price-result {
            line-height: 1.4;
            transition: opacity 0.2s;
            display: none;
        }

        .price-result>div {
            margin: 3px 0;
        }
        .tier-list
        {
            padding-left: 0px !important;
        }

        .price-result {
            line-height: 1.4;
            min-height: 42px;
        }

        .price-result br {
            margin-bottom: 4px;
        }

        .quantity-input {
            width: 80px;
            padding: 8px;
            text-align: center;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 1rem;
            transition: border-color 0.2s;
        }

        .quantity-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
        }

        .quantity-input::placeholder {
            color: #9ca3af;
        }

        .tier-pricing-table {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            color: #1f2937;
            margin: 2.5rem auto;
            line-height: 1.5;
        }

        .tier-pricing-table .table-container {
            background: white;
            /* border-radius: 10px; */
            overflow: hidden;
            /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
            border: 1px solid #e5e7eb;
        }
        .single table.desktop-table
        {
            margin-top: 0px !important;
        }

        .tier-pricing-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .tier-pricing-table thead th {
            background: #013f78;
            color: white;
            font-weight: 600;
            padding: 14px 12px;
            text-align: left;
            border-bottom: 2px solid #1e40af;
            font-size: 0.95rem;
            letter-spacing: 0.3px;
        }

        .tier-pricing-table tbody td {
            padding: 16px 12px;
            font-size: 14px;
            vertical-align: middle;
            border-bottom: 1px solid #f1f5f9;
        }

        .tier-pricing-table .product-row:hover {
            background-color: #f8fafc;
            transition: background-color 0.12s;
        }

        .tier-pricing-table .product-row:nth-child(even) {
            background: #f9fafb;
        }

        .tier-pricing-table .product-image {
            width: 60px;
            height: 60px;
            object-fit: contain;
            border-radius: 6px;
            border: 1px solid #e5e7eb;
            background: #f8fafc;
        }

        .tier-pricing-table .code {
            font-family: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', monospace;
            font-weight: 600;
            color: #1e40af;
        }

        .tier-pricing-table .stock {
            padding: 5px 12px;
            border-radius: 999px;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .tier-pricing-table .in-stock {
            margin-top: 10px;
            background: #29abe3;
            color: white;
        }

        .tier-pricing-table .out-of-stock {
            background: #fee2e2;
            color: #991b1b;
        }

        .tier-pricing-table .tier-cell {
            text-align: left;
        }

        .tier-pricing-table .tier-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: self-start;
        }

        .tier-pricing-table .qty-tier {
            font-weight: 700;
            color: #374151;
            min-width: 50px;
        }

        .tier-pricing-table .price-tier {
            font-weight: 700;
            color: #dc2626;
            white-space: nowrap;
        }

        .tier-pricing-table th.image-col {
            width: 80px;
        }

        .tier-pricing-table th.code-col {
            width: 110px;
        }

        .tier-pricing-table th.stock-col {
            width: 130px;
            /* padding-top: 14px !important; */
        }

        .tier-pricing-table th.unit-col {
            width: 140px;
        }

        .tier-pricing-table th.qty-col {
            width: 100px;
        }

        .tier-pricing-table th.price-col {
            width: 140px;
            text-align: left;
        }

        .tier-pricing-table th.input-col {
            width: 110px;
        }

        .tier-pricing-table .name-col {
            text-align: left;
        }

        .tier-pricing-table .quantity-input {
            width: 80px;
            padding: 8px;
            text-align: center;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 1rem;
        }

        .tier-pricing-table .note {
            margin: 1.5rem 0 2rem;
            text-align: center;
            color: #6b7280;
            font-style: italic;
        }

        .tier-pricing-table .actions {
            text-align: center;
            margin: 2rem 0 3rem;
        }

        .tier-pricing-table .btn {
            padding: 12px 24px;
            margin: 0 10px;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .tier-pricing-table .btn {
            background: #013f78;
            color: white;
        }

        .tier-pricing-table .btn:hover {
            background: #1e40af;
            transform: translateY(-1px);
        }

        .tier-pricing-table .btn.enquire {
            background: #6b7280;
        }

        .tier-pricing-table .btn.enquire:hover {
            background: #4b5563;
        }

        .stock-col .stock.in-stock {
            color: white !important;
        }

        .quantity-input {
            width: 80px;
            padding: 8px;
            text-align: center;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            font-size: 1rem;
            transition: border-color 0.2s;
        }

        .quantity-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
        }


          /* Add to Cart success/error message – below the Add to Cart button */
        .xpak-add-to-cart-message {
            display: block;
            width: 100%;
            margin-top: 16px;
            padding: 14px 18px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 500;
            line-height: 1.5;
            text-align: center;
        }
        .xpak-add-to-cart-message:empty {
            display: none;
        }
        .xpak-add-to-cart-message--success {
            background: #ecfdf5;
            border: 1px solid #a7f3d0;
            color: #065f46;
        }
        .xpak-add-to-cart-message--success .xpak-add-to-cart-message__link {
            display: inline-block;
            margin-top: 8px;
            padding: 8px 18px;
            background: #059669;
            color: #fff !important;
            font-weight: 600;
            text-decoration: none;
            border-radius: 6px;
            transition: background 0.2s;
        }
        .xpak-add-to-cart-message--success .xpak-add-to-cart-message__link:hover {
            background: #047857;
        }
        .xpak-add-to-cart-message--error {
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #991b1b;
        }

/* tablet and mobile responsiveness */


@media (max-width: 960px) {
    .tier-mini-table tr td 
    {
        border-bottom: 1px solid #8080807a;
    }
    .card-action
    {
        background: white;
        border: none;
    }
    .single .price-result
    {
        display: none;
    }
    
    .btn-desktop
    {
        display: none;
    }
    .tier-pricing-table .table-container table.desktop-table {
        display: none;
    }
    .tier-pricing-table .table-container
    {
        box-shadow: none;
            border: none;
    }

    .tier-pricing-table .mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 24px;
        padding: 4px 0;
    }

    .pricing-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        /* box-shadow: 0 4px 14px rgba(0,0,0,0.08); */
        border: 1px solid #e5e7eb;
    }

    /* Accordion: card-tiers and card-action hidden by default on mobile; expand on header click */
    .pricing-card .card-accordion-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease-out;
    }
    .pricing-card.accordion-open .card-accordion-body {
        max-height: 1200px;
    }
    .pricing-card .card-accordion-inner {
        overflow: hidden;
    }

    .card-header {
        display: flex;
        padding: 18px 16px;
        background: #f8fafc;
        border-bottom: 1px solid #e5e7eb;
        align-items: center;
        gap: 14px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        transition: background-color 0.2s ease;
    }
    .card-header:hover {
        background: #f1f5f9;
    }
    .card-header:focus {
        outline: none;
    }
    .card-header:focus-visible {
        outline: 2px solid #013f78;
        outline-offset: 2px;
    }

    .card-accordion-icon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin-left: auto;
        color: #475569;
        transition: transform 0.3s ease, color 0.2s ease;
    }
    .card-header:hover .card-accordion-icon {
        color: #013f78;
    }
    .pricing-card.accordion-open .card-accordion-icon {
        transform: rotate(180deg);
        color: #013f78;
    }
    .card-accordion-icon svg {
        width: 24px;
        height: 24px;
    }

    .card-info {
        flex: 1;
        min-width: 0;
    }

    .card-info .code {
        font-weight: bold;
        color: #1e40af;
        font-size: 1.05rem;
    }

    .card-info .name {
        font-size: 0.95rem;
        margin: 4px 0;
        color: #334155;
    }

    .card-tiers {
        padding: 16px 16px 0;
    }

    .tier-mini-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
    }

    .tier-mini-table th {
        background: #013f78;
        color: white;
        padding: 12px 10px;
        text-align: center;
        font-weight: 600;
    }

    .tier-mini-table td {
        padding: 12px 10px;
        border-bottom: 1px solid #e5e7eb;
        text-align: center;
    }

    .tier-mini-table .price-tier {
        color: #b91c1c;
        font-weight: 700;
    }

    .card-action {
        padding: 20px 16px;
        /* border-top: 1px solid #e5e7eb; */
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
        background: white;
    }

    .card-action .quantity-input {
        width: 280px;
        font-size: 1.05rem;
        padding: 10px 12px;
    }

    .card-action .btn.add-to-cart-single {
        width: 100%;
        max-width: 280px;
        background: #013f78;
        color: white;
        padding: 11px 20px;
        font-size: 1rem;
        font-weight: 600;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.15s ease;
        letter-spacing: 0.02em;
    }
    .card-action .btn.add-to-cart-single:hover {
        background: #a75d29;
    }
    .card-action .btn.add-to-cart-single:active {
        transform: scale(0.98);
    }

    .card-action .price-result {
        width: 100%;
        text-align: center;
    }

    .card-action .qty-error {
        text-align: center;
    }

    .actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .actions .btn {
        flex: 1 1 45%;
        max-width: 220px;
    }
    .single .stock-wrapper .stock.in-stock
    {
        color: white !important;
    }
}

/* Hide mobile cards on desktop */
@media (min-width: 961px) {
    .mobile-cards {
        display: none;
    }
}