.dar-bulk-page {
    padding: 34px 0 46px;
    font-family: inherit;
}

body.dar-bulk-sticky-body {
    padding-bottom: 92px;
}

.dar-bulk-hero {
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    border: 1px solid rgba(45, 58, 140, .10);
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.dar-bulk-hero-inner {
    align-items: flex-start;
}

.dar-bulk-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(45, 58, 140, .09);
    color: #2d3a8c;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 10px;
}

.dar-bulk-hero h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.16;
    font-weight: 900;
    color: #111827;
}

.dar-bulk-hero p {
    margin: 10px 0 0;
    color: #5b6472;
    max-width: 780px;
    line-height: 1.65;
    font-size: 15px;
}

.dar-bulk-back-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: #2d3a8c !important;
    border: 1px solid rgba(45, 58, 140, .16);
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.dar-bulk-back-btn:hover {
    color: #fff !important;
    background: #2d3a8c;
}

/* INDEX PAGE */

.dar-bulk-groups-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dar-bulk-group-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    padding: 18px;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dar-bulk-group-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .11);
    border-color: rgba(45, 58, 140, .24);
}

.dar-bulk-group-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 18px;
    background: #f3f6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3a8c;
    overflow: hidden;
}

.dar-bulk-group-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.dar-bulk-group-icon i {
    font-size: 28px;
}

.dar-bulk-group-count {
    display: inline-flex;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 900;
    color: #0f766e;
    background: #ccfbf1;
    border-radius: 999px;
    padding: 4px 9px;
}

.dar-bulk-group-content h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    color: #111827;
    font-weight: 900;
}

.dar-bulk-group-content p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.55;
}

.dar-bulk-group-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #2d3a8c;
    font-weight: 900;
    font-size: 13px;
}

/* SHOW PAGE */

.dar-bulk-panel {
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
    overflow: hidden;
}

.dar-bulk-panel-top {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.dar-bulk-panel-top h2 {
    margin: 0;
    color: #111827;
    font-weight: 900;
    font-size: 22px;
}

.dar-bulk-panel-top p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.dar-bulk-summary-mini {
    flex: 0 0 auto;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    padding: 10px 14px;
    color: #111827;
}

.dar-bulk-summary-label {
    color: #6b7280;
    font-size: 13px;
    margin-right: 4px;
}

.dar-bulk-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.dar-bulk-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.dar-bulk-table thead th {
    background: #f8fafc;
    color: #374151;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .35px;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    white-space: nowrap;
}

.dar-bulk-table tbody td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    vertical-align: middle;
}

.dar-bulk-row {
    transition: background .18s ease, box-shadow .18s ease;
}

.dar-bulk-row.is-selected {
    background: #fbfdff;
}

.dar-bulk-row.is-disabled {
    opacity: .55;
}

.dar-bulk-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
}

.dar-bulk-product-img {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .07);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.dar-bulk-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.dar-bulk-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    background: #eef2ff;
    align-items: center;
    justify-content: center;
    color: #2d3a8c;
    font-size: 22px;
    font-weight: 900;
}

.dar-bulk-product-name {
    display: inline-block;
    color: #111827 !important;
    font-weight: 900;
    line-height: 1.35;
    text-decoration: none !important;
}

.dar-bulk-product-name:hover {
    color: #2d3a8c !important;
}

.dar-bulk-inbasket {
    margin-top: 4px;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
}

.dar-bulk-unavailable {
    margin-top: 4px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
}

.dar-bulk-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.dar-bulk-qty button {
    width: 34px;
    height: 34px;
    border: 0;
    background: #f8fafc;
    color: #111827;
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
}

.dar-bulk-qty button:hover {
    background: #eef2ff;
    color: #2d3a8c;
}

.dar-bulk-qty button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.dar-bulk-qty input {
    width: 52px;
    height: 34px;
    border: 0;
    text-align: center;
    font-weight: 900;
    color: #111827;
    outline: none;
    background: #fff;
    -moz-appearance: textfield;
}

.dar-bulk-qty input::-webkit-outer-spin-button,
.dar-bulk-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dar-bulk-price {
    font-weight: 900;
    color: #dc2626;
    white-space: nowrap;
}

.dar-bulk-line-total {
    font-weight: 900;
    color: #111827;
    white-space: nowrap;
}

.dar-bulk-empty {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    padding: 42px 24px;
    text-align: center;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.dar-bulk-empty i {
    font-size: 38px;
    color: #2d3a8c;
    margin-bottom: 12px;
}

.dar-bulk-empty h3 {
    margin: 0;
    font-size: 22px;
    color: #111827;
    font-weight: 900;
}

.dar-bulk-empty p {
    margin: 8px 0 0;
    color: #6b7280;
}

/* STICKY FOOTER */

.dar-bulk-sticky-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(15, 23, 42, .11);
    box-shadow: 0 -10px 28px rgba(15, 23, 42, .10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
}

.dar-bulk-sticky-inner {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(120px, 160px) minmax(170px, 240px);
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.dar-bulk-sticky-total,
.dar-bulk-sticky-btn {
    height: 52px;
    min-height: 52px;
    border-radius: 999px;
}

.dar-bulk-sticky-total {
    min-width: 0;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .10);
    padding: 7px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .035);
}

.dar-bulk-sticky-total span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 3px 0;
}

.dar-bulk-sticky-total strong {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.dar-bulk-sticky-total strong .js-dar-bulk-grand-total {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
}

.dar-bulk-sticky-btn {
    width: 100%;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.dar-bulk-sticky-btn:hover {
    transform: translateY(-1px);
}

.dar-bulk-sticky-btn i {
    font-size: 16px;
    line-height: 1;
}

.dar-bulk-sticky-btn:disabled,
.dar-bulk-sticky-btn.is-disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.dar-bulk-sticky-btn-light {
    background: #f1f5f9;
    color: #334155;
    box-shadow: none;
}

.dar-bulk-sticky-btn-light:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.dar-bulk-sticky-btn-primary {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 9px 20px rgba(220, 38, 38, .20);
}

.dar-bulk-sticky-btn-primary:hover {
    background: #b91c1c;
    color: #ffffff;
}

.dar-bulk-sticky-btn-primary:disabled,
.dar-bulk-sticky-btn-primary.is-disabled {
    background: #ef8787;
    color: #ffffff;
    opacity: 1;
    cursor: not-allowed;
    box-shadow: 0 8px 18px rgba(220, 38, 38, .12);
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .dar-bulk-groups-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dar-bulk-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    body.dar-bulk-sticky-body {
        padding-bottom: 112px;
    }

    .dar-bulk-page {
        padding: 22px 0 34px;
    }

    .dar-bulk-hero {
        padding: 20px;
        border-radius: 20px;
    }

    .dar-bulk-hero h1 {
        font-size: 24px;
    }

    .dar-bulk-groups-grid {
        grid-template-columns: 1fr;
    }

    .dar-bulk-panel {
        border-radius: 20px;
    }

    .dar-bulk-panel-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 17px;
    }

    .dar-bulk-summary-mini {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .dar-bulk-table-wrap {
        overflow-x: visible;
        padding: 12px;
        background: #f8fafc;
    }

    .dar-bulk-table,
    .dar-bulk-table thead,
    .dar-bulk-table tbody,
    .dar-bulk-table tr,
    .dar-bulk-table th,
    .dar-bulk-table td {
        display: block;
        width: 100%;
    }

    .dar-bulk-table thead {
        display: none !important;
    }

    .dar-bulk-table tbody tr {
        margin-bottom: 12px;
        padding: 13px;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 10px 22px rgba(15, 23, 42, .045);
    }

    .dar-bulk-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .dar-bulk-table tbody td {
        border-bottom: 0 !important;
        padding: 0;
    }

    .dar-bulk-table tbody td::before {
        display: none !important;
        content: none !important;
    }

    .dar-bulk-product {
        min-width: 0;
        width: 100%;
        align-items: flex-start;
    }

    .dar-bulk-product-img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        border-radius: 16px;
    }

    .dar-bulk-product-name {
        font-size: 14px;
    }

    .dar-bulk-qty-cell {
        margin-top: 12px;
        display: flex !important;
        justify-content: flex-start;
    }

    .dar-bulk-price-cell,
    .dar-bulk-total-cell {
        margin-top: 8px;
    }

    .dar-bulk-price,
    .dar-bulk-line-total {
        font-size: 14px;
    }

    .dar-bulk-total-cell .dar-bulk-line-total {
        color: #111827;
        font-size: 16px;
    }

    .dar-bulk-sticky-footer {
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    }

    .dar-bulk-sticky-inner {
        max-width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .dar-bulk-sticky-total {
        grid-column: 1 / -1;
        height: 48px;
        min-height: 48px;
        padding: 6px 16px;
    }

    .dar-bulk-sticky-total span {
        font-size: 11px;
    }

    .dar-bulk-sticky-total strong {
        font-size: 16px;
    }

    .dar-bulk-sticky-btn {
        height: 44px;
        min-height: 44px;
        padding: 0 10px;
        font-size: 13px;
        gap: 6px;
    }

    .dar-bulk-sticky-btn i {
        font-size: 14px;
    }

    .dar-bulk-sticky-btn-light {
        grid-column: 1 / 2;
    }

    .dar-bulk-sticky-btn-primary {
        grid-column: 2 / 3;
    }
}

@media (max-width: 420px) {
    body.dar-bulk-sticky-body {
        padding-bottom: 108px;
    }

    .dar-bulk-sticky-inner {
        gap: 7px;
    }

    .dar-bulk-sticky-total {
        height: 46px;
        min-height: 46px;
        padding: 6px 14px;
    }

    .dar-bulk-sticky-total strong {
        font-size: 15px;
    }

    .dar-bulk-sticky-btn {
        height: 42px;
        min-height: 42px;
        font-size: 12px;
        padding: 0 8px;
    }
}