:root {
    --aby-navy: #022b46;
    --aby-blue: #0878d1;
    --aby-cyan: #20c4ef;
    --aby-yellow: #ffc51b;
    --aby-green: #16843b;
    --aby-red: #e84a3d;
    --aby-ink: #13243a;
    --aby-muted: #60738a;
    --aby-pale: #f2f8fd;
    --aby-border: #cfe0ed;
    --aby-shadow: 0 10px 30px rgba(2, 43, 70, .10);
}

.woocommerce-cart .section-pagetop,
.woocommerce-checkout .section-pagetop {
    display: none !important;
}

.woocommerce-cart .section-content > .container,
.woocommerce-checkout .section-content > .container {
    width: min(1380px, calc(100% - 32px)) !important;
    max-width: 1380px !important;
}

.aby-oj-cart-page,
.aby-oj-checkout-page {
    max-width: 1380px;
    margin: 0 auto;
    padding: 28px 0 48px;
    color: var(--aby-ink);
}

.aby-oj-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 22px;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--aby-border);
}

.aby-oj-page-heading h1 {
    margin: 3px 0 4px !important;
    color: var(--aby-navy) !important;
    font-size: clamp(34px, 4vw, 48px) !important;
    line-height: 1.05 !important;
}

.aby-oj-page-heading p {
    margin: 0;
    color: var(--aby-muted);
    font-size: 15px;
}

.aby-oj-kicker {
    color: #8a6700;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
}

.aby-oj-secure-note {
    padding: 9px 13px;
    border-radius: 24px;
    background: #e5f7fc;
    color: #075b83;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.aby-oj-checkout-hero {
    position: relative;
    display: block;
    min-height: 160px;
    margin-bottom: 22px;
    padding: 20px 34px 20px 260px;
    overflow: hidden;
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 15%, rgba(32, 196, 239, .28), transparent 28%),
        linear-gradient(125deg, #022b46, #075a91 65%, #0878d1);
    box-shadow: 0 10px 28px rgba(2, 43, 70, .18);
    color: #fff;
}

.aby-oj-checkout-hero .aby-oj-aby {
    position: absolute;
    left: 24px;
    bottom: -25px;
    width: 230px;
    max-height: 210px;
    object-fit: contain;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .22));
}

.aby-oj-checkout-hero .aby-oj-kicker {
    color: #80e4ff;
}

.aby-oj-checkout-hero h2 {
    margin: 0 0 5px !important;
    color: #fff !important;
    font-size: 29px !important;
}

.aby-oj-checkout-hero p {
    margin: 0;
    color: #fff;
    font-size: 17px;
}

/* The two thresholds are deliberately prominent and independent. The
   livestock minimum is a hard rule; the delivery target is only guidance. */
.aby-oj-thresholds {
    min-width: 0;
    margin: 0 0 22px;
}

.aby-oj-thresholds-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 9px;
}

.aby-oj-rules-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e7f6fd;
    color: var(--aby-blue);
    font-size: 18px;
}

.aby-oj-thresholds-heading h2 {
    margin: 0 !important;
    color: var(--aby-navy) !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
}

.aby-oj-thresholds-heading p {
    margin: 3px 0 0;
    color: var(--aby-muted);
    font-size: 12px;
}

.aby-oj-threshold-list {
    display: grid;
    gap: 10px;
}

.aby-oj-threshold-card {
    position: relative;
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    align-items: center;
    min-height: 158px;
    overflow: hidden;
    border: 1px solid;
    border-left-width: 8px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(2, 43, 70, .07);
}

.aby-oj-threshold-card.is-livestock {
    border-color: #f2afa7;
    border-left-color: var(--aby-red);
    background:
        radial-gradient(circle at 13% 88%, rgba(232, 74, 61, .10), transparent 30%),
        linear-gradient(105deg, #fff5f3, #fffafa);
}

.aby-oj-threshold-card.is-livestock.is-short {
    border-color: #ed8176;
    background: linear-gradient(105deg, #fff0ed, #fff9f8);
}

.aby-oj-threshold-card.is-livestock.is-met {
    border-color: #8bcba0;
    border-left-color: var(--aby-green);
    background: linear-gradient(105deg, #eefaf2, #fbfffc);
}

.aby-oj-threshold-card.is-livestock.is-na {
    border-color: #b7d6e7;
    border-left-color: #4b9acb;
    background: linear-gradient(105deg, #f4faff, #fcfeff);
}

.aby-oj-threshold-card.is-dry {
    border-color: #8dc9ee;
    border-left-color: #0868d7;
    background:
        radial-gradient(circle at 13% 88%, rgba(32, 196, 239, .12), transparent 30%),
        linear-gradient(105deg, #f1f8ff, #fbfdff);
}

.aby-oj-threshold-visual {
    position: relative;
    display: grid;
    place-items: center;
    align-self: stretch;
    min-width: 0;
}

.aby-oj-threshold-card.is-livestock .aby-oj-threshold-visual::after {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    height: 33px;
    border-radius: 50%;
    background: rgba(232, 74, 61, .08);
    content: "";
    filter: blur(2px);
}

.aby-oj-threshold-card .aby-oj-aby {
    position: relative;
    z-index: 1;
    width: 188px;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 8px 7px rgba(72, 31, 20, .15));
}

.aby-oj-threshold-body {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 18px 20px 18px 0;
}

.aby-oj-threshold-badge {
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    border: 1px solid currentColor;
    border-radius: 999px;
    color: #bd2e23;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .045em;
    line-height: 1.1;
    text-transform: uppercase;
}

.aby-oj-threshold-card.is-dry .aby-oj-threshold-badge {
    color: #075fc4;
}

.aby-oj-threshold-card.is-met .aby-oj-threshold-badge {
    color: var(--aby-green);
}

.aby-oj-threshold-body h3 {
    margin: 0 !important;
    color: var(--aby-navy) !important;
    font-size: 21px !important;
    line-height: 1.15 !important;
}

.aby-oj-threshold-card.is-livestock:not(.is-met) h3 {
    color: #c72e22 !important;
}

.aby-oj-threshold-card.is-livestock.is-na h3 {
    color: var(--aby-navy) !important;
}

.aby-oj-threshold-card.is-livestock.is-na .aby-oj-threshold-badge,
.aby-oj-threshold-card.is-livestock.is-na .aby-oj-threshold-status {
    border-color: #80b6d4;
    color: #075b94;
}

.aby-oj-threshold-value {
    color: var(--aby-navy);
    font-size: 17px;
    line-height: 1.2;
}

.aby-oj-threshold-body > p {
    margin: 0;
    color: var(--aby-ink);
    font-size: 13px;
    line-height: 1.35;
}

.aby-oj-threshold-body > small {
    color: var(--aby-muted);
    font-size: 10.5px;
    line-height: 1.35;
}

.aby-oj-threshold-status {
    width: max-content;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid #e6aaa5;
    border-radius: 7px;
    background: rgba(255, 255, 255, .78);
    color: #8f2b24;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.2;
}

.aby-oj-threshold-card.is-dry .aby-oj-threshold-status {
    border-color: #83bce0;
    color: #075b94;
}

.aby-oj-threshold-card.is-met .aby-oj-threshold-status {
    border-color: #8bcba0;
    color: #126b31;
}

.aby-oj-threshold-help {
    margin-top: 1px;
    color: #075b94;
    font-size: 11px;
}

.aby-oj-threshold-help summary {
    width: max-content;
    max-width: 100%;
    cursor: pointer;
    font-weight: 800;
}

.aby-oj-threshold-help p {
    max-width: 650px;
    margin: 6px 0 0;
    color: var(--aby-muted);
    line-height: 1.35;
}

.aby-oj-threshold-card .aby-oj-progress {
    width: 100%;
    max-width: 720px;
    height: 10px;
    background: #d5dde4;
}

.aby-oj-threshold-card.is-livestock .aby-oj-progress span {
    background: linear-gradient(90deg, #ef493d, #ff806f);
}

.aby-oj-threshold-card.is-livestock.is-met .aby-oj-progress span {
    background: var(--aby-green);
}

.aby-oj-truck-icon {
    position: relative;
    display: block;
    width: 128px;
    height: 82px;
    margin-left: -18px;
    border-radius: 10px 12px 6px 6px;
    background: linear-gradient(145deg, #0878d1, #0755aa);
    box-shadow: inset -24px 0 0 rgba(2, 43, 70, .18);
}

.aby-oj-truck-icon::before {
    position: absolute;
    right: -43px;
    bottom: 0;
    width: 50px;
    height: 57px;
    border-radius: 7px 13px 6px 5px;
    background: var(--aby-navy);
    content: "";
    clip-path: polygon(0 20%, 58% 20%, 100% 50%, 100% 100%, 0 100%);
}

.aby-oj-truck-icon::after {
    position: absolute;
    bottom: -15px;
    left: 18px;
    width: 27px;
    height: 27px;
    border: 7px solid #053965;
    border-radius: 50%;
    background: #65c9f0;
    box-shadow: 103px 0 0 -7px #65c9f0, 103px 0 0 0 #053965;
    content: "";
}

.aby-oj-mobile-summary-toggle {
    display: none;
}

/* Checkout structure. The WooCommerce review and payment fragments remain
   standard refresh targets; display:contents only places their children. */
.aby-oj-checkout-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 450px);
    gap: 22px 28px;
    align-items: start;
}

.aby-oj-checkout-main {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.aby-oj-thresholds.is-checkout {
    grid-column: 1;
    grid-row: 1;
}

.aby-oj-before-review-hooks,
.aby-oj-after-review-hooks {
    grid-column: 1 / -1;
}

.aby-oj-before-review-hooks:empty,
.aby-oj-after-review-hooks:empty {
    display: none;
}

.aby-oj-checkout-grid #order_review,
.aby-oj-review-layout {
    display: contents !important;
}

.aby-oj-contact-step {
    min-height: 100%;
}

.aby-oj-delivery-step {
    grid-column: 1;
    grid-row: 3;
}

.aby-oj-notes-step {
    grid-column: 1;
    grid-row: 4;
}

.aby-oj-checkout-grid #payment {
    grid-column: 1;
    grid-row: 5;
}

.aby-oj-order-summary {
    grid-column: 2;
    grid-row: 1 / span 5;
    position: sticky;
    top: 34px;
}

.aby-oj-checkout-section,
.aby-oj-order-summary,
.aby-oj-checkout-grid #payment {
    border: 1px solid var(--aby-border) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: var(--aby-shadow);
}

.aby-oj-checkout-section {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 22px;
}

.aby-oj-step {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--aby-cyan), var(--aby-blue));
    box-shadow: 0 4px 10px rgba(8, 120, 209, .24);
    color: #fff;
    font-weight: 900;
}

.aby-oj-section-body {
    min-width: 0;
}

.aby-oj-section-body h2,
.aby-oj-order-summary h2 {
    margin: 2px 0 3px !important;
    color: var(--aby-navy) !important;
    font-size: 23px !important;
}

.aby-oj-section-help {
    margin: 0 0 17px;
    color: var(--aby-muted);
    font-size: 13px;
}

/* Reset the live theme's Bootstrap .col-1/.col-2 collision. */
.aby-oj-checkout-page #customer_details {
    display: block !important;
    width: 100% !important;
}

.aby-oj-checkout-page #customer_details > .col-1,
.aby-oj-checkout-page #customer_details > .col-2 {
    display: block !important;
    float: none !important;
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aby-oj-checkout-page #customer_details > .col-2 {
    margin-top: 14px !important;
}

.aby-oj-checkout-page .woocommerce-billing-fields,
.aby-oj-checkout-page .woocommerce-shipping-fields {
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.aby-oj-checkout-page .woocommerce-billing-fields > h3 {
    margin: 12px 0 13px !important;
    color: var(--aby-navy) !important;
    font-size: 17px !important;
}

.aby-oj-checkout-page .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 11px 15px;
    width: 100% !important;
}

.aby-oj-checkout-page .form-row {
    display: block !important;
    float: none !important;
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.aby-oj-checkout-page .form-row-wide,
.aby-oj-checkout-page .address-field {
    grid-column: 1 / -1;
}

.aby-oj-checkout-page .form-row label,
.aby-oj-checkout-page .form-row .woocommerce-input-wrapper {
    display: block !important;
    width: 100% !important;
    color: var(--aby-ink);
    font-size: 12px;
    font-weight: 750;
}

.aby-oj-checkout-page input.input-text,
.aby-oj-checkout-page textarea,
.aby-oj-checkout-page select {
    display: block !important;
    width: 100% !important;
    min-height: 44px;
    padding: 9px 11px !important;
    border: 1px solid #9dbdd2 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--aby-ink) !important;
    box-shadow: none !important;
}

.aby-oj-checkout-page input.input-text:focus,
.aby-oj-checkout-page textarea:focus,
.aby-oj-checkout-page select:focus {
    border-color: var(--aby-blue) !important;
    box-shadow: 0 0 0 3px rgba(32, 196, 239, .16) !important;
    outline: 0;
}

.aby-oj-checkout-page .select2-container {
    width: 100% !important;
}

.aby-oj-address-finder-heading {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 11px;
    margin-top: 5px;
    padding: 13px 15px;
    border: 2px solid #70bde8;
    border-radius: 11px;
    background: linear-gradient(100deg, #e9f7ff, #f8fcff);
}

.aby-oj-address-finder-heading > span {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--aby-blue);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.aby-oj-address-finder-heading > div {
    display: grid;
    gap: 2px;
}

.aby-oj-address-finder-heading strong {
    color: var(--aby-navy);
    font-size: 16px;
}

.aby-oj-address-finder-heading small {
    color: var(--aby-muted);
    font-size: 11px;
}

.aby-oj-checkout-page #billing_postcode_search_field,
.aby-oj-checkout-page #shipping_postcode_search_field {
    grid-column: 1 !important;
    padding: 13px !important;
    border: 1px solid #91c9e9;
    border-radius: 10px;
    background: #f3faff;
}

.aby-oj-checkout-page #crafty_billing_button,
.aby-oj-checkout-page #crafty_shipping_button {
    display: flex !important;
    grid-column: 2 !important;
    align-items: flex-end;
    padding: 13px !important;
    border: 1px solid #91c9e9;
    border-radius: 10px;
    background: #f3faff;
}

.aby-oj-checkout-page #billing_postcode_search,
.aby-oj-checkout-page #shipping_postcode_search {
    min-height: 48px !important;
    border-width: 2px !important;
    font-size: 16px;
}

.aby-oj-checkout-page #billing_cp_button,
.aby-oj-checkout-page #shipping_cp_button {
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, var(--aby-blue), #075ca4) !important;
    box-shadow: 0 4px 0 #064a82;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.aby-oj-checkout-page #billingcc_c2a_manual,
.aby-oj-checkout-page #shippingcc_c2a_manual {
    display: inline-flex;
    width: auto;
    margin: 7px 0 0 !important;
    color: #075b94;
    font-size: 11px;
    font-weight: 850;
    text-decoration: underline;
    cursor: pointer;
}

.aby-oj-checkout-page .aby-oj-address-search-results {
    grid-column: 1 / -1 !important;
    padding: 0 !important;
}

.aby-oj-checkout-page .aby-oj-address-search-results select {
    min-height: 48px !important;
    border: 2px solid var(--aby-blue) !important;
    background: #fff !important;
}

.aby-oj-notes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.aby-oj-note-field {
    position: relative;
    min-width: 0;
    padding: 15px;
    border: 2px solid;
    border-radius: 12px;
}

.aby-oj-note-field.is-courier {
    border-color: #8dc9ee;
    background: #f1f8ff;
}

.aby-oj-note-field.is-abyss {
    border-color: #f0c461;
    background: #fffaf0;
}

.aby-oj-note-field .form-row {
    margin: 0 !important;
}

.aby-oj-note-field label {
    display: block;
    margin: 0 0 7px;
    padding-right: 50px;
    color: var(--aby-navy);
    font-size: 15px !important;
    font-weight: 900 !important;
}

.aby-oj-note-field textarea {
    min-height: 112px !important;
    resize: vertical;
}

.aby-oj-note-field > small {
    display: block;
    margin-top: 8px;
    color: var(--aby-muted);
    font-size: 10.5px;
    line-height: 1.4;
}

.aby-oj-note-icon,
.aby-oj-note-field > .aby-oj-aby {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 11px;
}

.aby-oj-note-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: #dff3ff;
    font-size: 20px;
}

.aby-oj-note-field > .aby-oj-aby {
    width: 48px;
    height: 44px;
    object-fit: contain;
}

/* Delivery methods supplied by the existing WooCommerce shipping zone. */
.aby-oj-delivery-table,
.aby-oj-delivery-table tbody,
.aby-oj-delivery-table tr,
.aby-oj-delivery-table td {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
}

.aby-oj-delivery-table th {
    display: none;
}

.aby-oj-checkout-page #shipping_method {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
}

.aby-oj-checkout-page #shipping_method > div,
.aby-oj-checkout-page #shipping_method > li {
    position: relative;
    display: grid !important;
    grid-template-columns: 22px 40px minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 5px 9px;
    min-height: 88px;
    margin: 0 !important;
    padding: 13px !important;
    border: 1px solid #b9d5e5 !important;
    border-radius: 11px !important;
    background: #fff !important;
    line-height: 1.25 !important;
    cursor: pointer;
    list-style: none;
}

.aby-oj-checkout-page #shipping_method > div::before,
.aby-oj-checkout-page #shipping_method > li::before {
    grid-column: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eaf7fd;
    color: var(--aby-blue);
    font-size: 20px;
    font-weight: 900;
}

.aby-oj-checkout-page #shipping_method > [data-aby-kind="standard"]::before {
    content: "↦";
}

.aby-oj-checkout-page #shipping_method > [data-aby-kind="next-day"]::before {
    content: "◷";
}

.aby-oj-checkout-page #shipping_method > [data-aby-kind="add-to"]::before {
    content: "▰";
    background: #e6f1fb;
    color: var(--aby-navy);
}

.aby-oj-checkout-page #shipping_method > [data-aby-kind="collection"]::before {
    content: "⌂";
}

.aby-oj-checkout-page #shipping_method > div > div,
.aby-oj-checkout-page #shipping_method > li > div {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
}

.aby-oj-checkout-page #shipping_method > div > div:first-child,
.aby-oj-checkout-page #shipping_method > li > div:first-child {
    grid-column: 1;
}

.aby-oj-checkout-page #shipping_method > div > div:nth-child(2),
.aby-oj-checkout-page #shipping_method > li > div:nth-child(2) {
    grid-column: 3;
    min-width: 0;
    color: var(--aby-navy);
    font-weight: 850 !important;
}

.aby-oj-checkout-page #shipping_method > div > div:nth-child(3),
.aby-oj-checkout-page #shipping_method > li > div:nth-child(3) {
    grid-column: 4;
    color: var(--aby-green);
    font-weight: 900 !important;
    white-space: nowrap;
}

.aby-oj-checkout-page #shipping_method input {
    width: 18px;
    height: 18px;
    margin: 0 !important;
    accent-color: var(--aby-blue);
}

.aby-oj-checkout-page #shipping_method > div:has(input:checked),
.aby-oj-checkout-page #shipping_method > li:has(input:checked),
.aby-oj-checkout-page #shipping_method > div.is-selected,
.aby-oj-checkout-page #shipping_method > li.is-selected {
    border: 2px solid var(--aby-blue) !important;
    background: #eff9ff !important;
    box-shadow: 0 0 0 3px rgba(32, 196, 239, .12);
}

.aby-oj-shipping-help {
    grid-column: 3 / 5;
    display: block;
    color: var(--aby-muted);
    font-size: 10.5px;
    line-height: 1.3;
}

.aby-oj-addto-verify {
    margin-top: 12px;
    padding: 15px;
    border: 2px solid var(--aby-blue);
    border-radius: 12px;
    background: #eef8ff;
}

.aby-oj-addto-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.aby-oj-addto-heading > div {
    display: grid;
}

.aby-oj-addto-heading strong {
    color: var(--aby-navy);
    font-size: 16px;
}

.aby-oj-addto-heading small {
    color: var(--aby-muted);
}

.aby-oj-folder-icon {
    display: block;
    width: 34px;
    height: 25px;
    border: 3px solid var(--aby-navy);
    border-radius: 4px;
}

.aby-oj-folder-icon::before {
    content: "";
    display: block;
    width: 14px;
    height: 6px;
    margin: -8px 0 0 1px;
    border: 3px solid var(--aby-navy);
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.aby-oj-verify-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
    gap: 10px;
}

.aby-oj-verify-fields label {
    display: grid;
    gap: 4px;
    margin: 0;
    color: var(--aby-ink);
    font-size: 11px;
    font-weight: 800;
}

.aby-oj-verify-fields input {
    min-height: 42px !important;
}

.aby-oj-verify-button {
    min-height: 42px !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    background: var(--aby-navy) !important;
    color: #fff !important;
    white-space: nowrap;
}

.aby-oj-verify-result {
    min-height: 0;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 750;
}

.aby-oj-verify-result.is-success {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #e7f7eb;
    color: #0b6b2d;
}

.aby-oj-verify-result.is-success > span {
    color: #426b50;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.aby-oj-verify-result.is-success > strong {
    color: #075727;
    font-size: 18px;
}

.aby-oj-verify-result.is-success > p {
    margin: 0;
    font-weight: 700;
}

.aby-oj-verify-result.is-error {
    padding: 9px 11px;
    border-radius: 8px;
    background: #fff0ef;
    color: #a12d2d;
}

.aby-oj-collection-wait {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 11px 14px;
    border: 2px solid #e0a400;
    border-radius: 11px;
    background: #fff5bf;
}

.aby-oj-collection-wait[hidden],
.aby-oj-addto-verify[hidden],
.aby-oj-verify-fields[hidden] {
    display: none !important;
}

.aby-oj-collection-wait .aby-oj-aby {
    flex: 0 0 64px;
    width: 64px;
    height: 60px;
    object-fit: contain;
}

.aby-oj-collection-wait strong {
    display: block;
    color: var(--aby-navy);
    font-size: 15px;
}

.aby-oj-collection-wait p {
    margin: 2px 0 0;
    color: #604c06;
    font-size: 12px;
}

.aby-oj-modal-open {
    overflow: hidden;
}

.aby-oj-collection-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.aby-oj-collection-modal[hidden] {
    display: none !important;
}

.aby-oj-collection-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 30, 52, .72);
    backdrop-filter: blur(4px);
}

.aby-oj-collection-modal-card {
    position: relative;
    display: grid;
    justify-items: center;
    width: min(100%, 560px);
    padding: 30px 34px 32px;
    overflow: hidden;
    border: 3px solid var(--aby-yellow);
    border-radius: 20px;
    background:
        radial-gradient(circle at 15% 13%, rgba(32, 196, 239, .15), transparent 31%),
        linear-gradient(160deg, #fffdf2, #fff7c7);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
    color: var(--aby-ink);
    text-align: center;
}

.aby-oj-collection-modal-card .aby-oj-aby {
    width: 190px;
    max-height: 155px;
    margin: -12px 0 -4px;
    object-fit: contain;
    filter: drop-shadow(0 10px 10px rgba(2, 43, 70, .16));
}

.aby-oj-collection-modal-card .aby-oj-threshold-badge {
    color: #856000;
}

.aby-oj-collection-modal-card h2 {
    margin: 10px 0 12px !important;
    color: var(--aby-navy) !important;
    font-size: 28px !important;
}

.aby-oj-collection-modal-card strong {
    display: block;
    margin-bottom: 7px;
    color: #765500;
    font-size: 16px;
}

.aby-oj-collection-modal-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.aby-oj-collection-ack {
    width: 100%;
    min-height: 52px !important;
    margin-top: 20px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, var(--aby-blue), #075ca4) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

/* Payment remains the gateway's original WooCommerce fragment. */
.aby-oj-checkout-grid #payment {
    padding: 20px !important;
}

.aby-oj-checkout-grid #payment::before {
    content: "4  Payment";
    display: block;
    margin-bottom: 14px;
    color: var(--aby-navy);
    font-size: 22px;
    font-weight: 900;
}

.aby-oj-checkout-grid #payment ul.payment_methods {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
}

.aby-oj-checkout-grid #payment li {
    list-style: none;
}

.aby-oj-checkout-grid #payment .payment_box {
    margin: 12px 0 !important;
    border: 1px solid var(--aby-border);
    border-radius: 10px;
    background: var(--aby-pale) !important;
}

.aby-oj-checkout-grid #payment .form-row.place-order {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.aby-oj-checkout-grid #place_order {
    width: 100%;
    min-height: 55px;
    margin-top: 10px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, var(--aby-blue), #075ca4) !important;
    box-shadow: 0 5px 0 #064a82;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

.aby-oj-checkout-grid #place_order:hover {
    transform: translateY(1px);
    box-shadow: 0 4px 0 #064a82;
}

/* Sticky order summary. */
.aby-oj-order-summary {
    padding: 22px;
}

.aby-oj-order-summary > h2 {
    margin-bottom: 16px !important;
}

.aby-oj-summary-products {
    display: grid;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--aby-border);
}

.aby-oj-summary-product {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.aby-oj-summary-product img {
    width: 58px !important;
    height: 58px !important;
    border-radius: 8px;
    object-fit: contain;
    background: #f4f7f9;
}

.aby-oj-summary-product > div {
    display: grid;
    min-width: 0;
}

.aby-oj-summary-product strong {
    color: var(--aby-navy);
    font-size: 13px;
    line-height: 1.25;
}

.aby-oj-summary-product small {
    color: var(--aby-muted);
}

.aby-oj-summary-product > b {
    color: var(--aby-navy);
    white-space: nowrap;
}

.aby-oj-summary-totals {
    width: 100%;
    margin: 10px 0 14px;
    border: 0 !important;
}

.aby-oj-summary-totals th,
.aby-oj-summary-totals td {
    padding: 10px 0 !important;
    border: 0 !important;
    color: var(--aby-ink);
    font-size: 13px;
}

.aby-oj-summary-totals th {
    font-weight: 700;
    text-align: left;
}

.aby-oj-summary-totals td {
    text-align: right;
}

.aby-oj-summary-totals .order-total {
    border-top: 2px solid var(--aby-navy) !important;
}

.aby-oj-summary-totals .order-total th,
.aby-oj-summary-totals .order-total td {
    padding-top: 15px !important;
    color: var(--aby-navy);
    font-size: 19px;
    font-weight: 900;
}

.aby-oj-free {
    color: var(--aby-green);
    font-weight: 900;
}

.aby-oj-summary-minimum {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 11px;
    border: 1px solid #efc9c4;
    border-radius: 9px;
    background: #fff3f1;
    color: #9b3028;
}

.aby-oj-summary-minimum.is-met {
    border-color: #a9d9b6;
    background: #effaf2;
    color: #106b2f;
}

.aby-oj-dry-progress {
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid #83bce0;
    border-radius: 10px;
    background: #f3faff;
    color: var(--aby-ink);
}

.aby-oj-dry-progress > strong {
    color: var(--aby-navy);
    font-size: 14px;
}

.aby-oj-dry-progress > span {
    font-size: 13px;
    font-weight: 800;
}

.aby-oj-progress {
    height: 9px;
    overflow: hidden;
    border: 1px solid #c5d7e2;
    border-radius: 20px;
    background: #fff;
}

.aby-oj-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--aby-blue), var(--aby-cyan));
}

.aby-oj-dry-progress.is-met .aby-oj-progress span,
.aby-oj-livestock-panel.is-met .aby-oj-progress span {
    background: var(--aby-green);
}

.aby-oj-dry-progress small {
    color: var(--aby-muted);
    font-size: 10.5px;
    line-height: 1.35;
}

.aby-oj-points-slot:not(:empty) {
    display: grid;
    gap: 2px;
    margin-top: 10px;
    padding: 11px;
    border-radius: 9px;
    background: #effaf2;
    color: #126b31;
    font-size: 12px;
}

.woocommerce-checkout > .wc_points_rewards_earn_points,
.woocommerce-checkout .wc_points_rewards_earn_points {
    display: none !important;
}

.aby-oj-encrypted {
    margin: 13px 0 0;
    color: var(--aby-muted);
    font-size: 11px;
    text-align: center;
}

/* Basket. */
.aby-oj-cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(350px, 1fr);
    gap: 28px;
    align-items: start;
}

.aby-oj-cart-side {
    position: sticky;
    top: 34px;
}

.aby-oj-cart-items {
    display: grid;
    gap: 12px;
}

.aby-oj-product-row {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) 160px 110px;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--aby-border);
    border-left: 6px solid #8bc8e9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 17px rgba(2, 43, 70, .07);
}

.aby-oj-product-row.is-livestock {
    border-left-color: var(--aby-yellow);
}

.aby-oj-product-image img {
    display: block;
    width: 94px !important;
    height: 94px !important;
    border-radius: 11px;
    object-fit: contain;
}

.aby-oj-product-type {
    display: inline-block;
    margin-bottom: 5px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #e7f5fd;
    color: #075b94;
    font-size: 10px;
    font-weight: 900;
}

.is-livestock .aby-oj-product-type {
    background: #fff1bd;
    color: #735300;
}

.aby-oj-product-details h2 {
    margin: 0 0 4px !important;
    font-size: 17px !important;
}

.aby-oj-product-details h2 a {
    color: var(--aby-navy) !important;
    text-decoration: none;
}

.aby-oj-remove {
    display: inline-block;
    margin-top: 7px;
    color: #a12d2d !important;
    font-size: 11px;
    font-weight: 800;
}

.aby-oj-product-edit,
.aby-oj-product-price {
    display: grid;
    gap: 6px;
}

.aby-oj-edit-label {
    color: var(--aby-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.aby-oj-product-price strong {
    color: var(--aby-navy);
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.aby-oj-product-row .quantity {
    display: inline-flex;
    width: max-content;
    overflow: hidden;
    border: 1px solid #9bc6de;
    border-radius: 8px;
}

.aby-oj-product-row .quantity input.qty {
    box-sizing: border-box !important;
    width: 48px !important;
    min-height: 42px;
    padding: 0 4px !important;
    border: 0 !important;
    border-right: 1px solid #bed8e7 !important;
    border-left: 1px solid #bed8e7 !important;
    border-radius: 0 !important;
    color: var(--aby-navy) !important;
    font-size: 16px !important;
    line-height: 40px !important;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.aby-oj-product-row .quantity input.qty::-webkit-inner-spin-button,
.aby-oj-product-row .quantity input.qty::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.aby-oj-qty-button {
    width: 38px;
    height: 42px;
    border: 0;
    background: #eef8fd;
    color: var(--aby-navy);
    font-size: 21px;
    font-weight: 850;
}

.aby-oj-cart-actions {
    display: flex;
    gap: 10px;
    margin: 14px 0;
}

.aby-oj-cart-actions .button {
    min-height: 42px;
    border-radius: 8px !important;
}

.aby-oj-voucher-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--aby-border);
    border-radius: 12px;
    background: #f8fcff;
}

.aby-oj-voucher-card label {
    display: grid;
}

.aby-oj-voucher-card label span {
    color: var(--aby-muted);
    font-size: 11px;
}

.aby-oj-voucher-card > div {
    display: flex;
}

.aby-oj-voucher-card input {
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #91bbd4;
    border-radius: 8px 0 0 8px;
}

.aby-oj-voucher-card button {
    border-radius: 0 8px 8px 0 !important;
}

.aby-oj-legacy-field-label {
    display: block;
    margin: 10px 0 5px;
    color: var(--aby-navy);
    font-size: 12px;
    font-weight: 850;
    text-align: left;
}

.aby-oj-legacy-verify-button {
    width: 100%;
    min-height: 46px;
    margin-top: 10px !important;
    border-radius: 8px !important;
    background: var(--aby-blue) !important;
    color: #fff !important;
    font-weight: 850 !important;
}

.aby-oj-legacy-verify-result {
    margin-top: 9px;
    padding: 0;
    font-size: 12px;
    font-weight: 750;
}

.aby-oj-legacy-verify-result.is-error,
.aby-oj-legacy-verify-result.is-success {
    padding: 9px 11px;
    border-radius: 7px;
}

.aby-oj-legacy-verify-result.is-error {
    background: #fff0ef;
    color: #9d2828;
}

.aby-oj-legacy-verify-result.is-success {
    background: #e4f8e9;
    color: #176b34;
}

.aby-oj-cart-page .cart-collaterals,
.aby-oj-cart-page .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.aby-oj-cart-page .cart_totals {
    padding: 21px;
    border: 1px solid var(--aby-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--aby-shadow);
}

.aby-oj-cart-page .cart_totals::before {
    content: "Order summary";
    display: block;
    margin-bottom: 12px;
    color: var(--aby-navy);
    font-size: 23px;
    font-weight: 900;
}

.aby-oj-cart-page .cart_totals table {
    border: 0 !important;
}

.aby-oj-cart-page .cart_totals th,
.aby-oj-cart-page .cart_totals td {
    padding: 10px 0 !important;
}

.aby-oj-cart-page .checkout-button {
    min-height: 52px !important;
    border-radius: 9px !important;
    background: var(--aby-blue) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

.aby-oj-points-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.aby-oj-points-bar .woocommerce-info {
    position: relative;
    margin: 0 !important;
    min-height: 61px;
    padding: 13px 15px 13px 48px !important;
    border: 1px solid #a9d3e8 !important;
    border-left: 5px solid var(--aby-blue) !important;
    border-radius: 10px;
    background: #f5fbff !important;
    color: var(--aby-ink) !important;
}

.aby-oj-points-bar .woocommerce-info::before {
    position: absolute !important;
    top: 50% !important;
    left: 14px !important;
    display: grid !important;
    place-items: center;
    width: 23px !important;
    height: 23px !important;
    border-radius: 50%;
    background: #dff3fc;
    color: var(--aby-blue) !important;
    content: "★" !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 1 !important;
    transform: translateY(-50%);
}

.aby-oj-livestock-panel {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    padding: 20px 24px;
    overflow: hidden;
    border: 2px solid #f0ae17;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff7d7, #fffdf5);
}

.aby-oj-livestock-panel.is-met {
    border-color: #71bf8b;
    background: #f3fff6;
}

.aby-oj-livestock-panel .aby-oj-aby {
    width: 180px;
    max-height: 160px;
    object-fit: contain;
}

.aby-oj-progress-copy h2 {
    margin: 3px 0 4px !important;
    color: var(--aby-navy) !important;
    font-size: 24px !important;
}

.aby-oj-progress-copy p {
    margin: 0 0 10px;
}

.aby-oj-progress-copy small {
    display: block;
    color: var(--aby-muted);
}

.aby-oj-button {
    display: inline-flex;
    margin-top: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--aby-blue);
    color: #fff !important;
    font-weight: 850;
    text-decoration: none !important;
}

.aby-oj-open-order-card {
    display: grid;
    gap: 5px;
    margin: 11px 0;
    padding: 14px;
    border: 2px solid var(--aby-blue);
    border-radius: 11px;
    background: #eef8ff;
}

.aby-oj-open-order-card strong {
    color: var(--aby-navy);
}

.aby-oj-open-order-card.is-locked {
    border-color: #16843b;
    background: #e9f8ed;
}

.aby-oj-open-order-card.is-locked strong {
    color: #075727;
    font-size: 16px;
}

.aby-oj-customer-master-notice {
    display: grid;
    gap: 4px;
    margin: 0 0 22px;
    padding: 17px 19px;
    border: 3px solid #16843b;
    border-radius: 12px;
    background: #e9f8ed;
    color: var(--aby-ink);
}

.aby-oj-customer-master-notice > span {
    color: #426b50;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.aby-oj-customer-master-notice > strong {
    color: #075727;
    font-size: 22px;
}

.aby-oj-customer-master-notice > p {
    margin: 0;
    font-weight: 700;
}

/* The legacy LWD essay is replaced visually but remains active for validation
   until the owner deliberately enables replacement mode. Hide only that
   message, never its parent container or neighbouring WooCommerce notices. */
.woocommerce-cart .free-shipping.above_checkout_message,
.woocommerce-checkout .free-shipping.above_checkout_message {
    display: none !important;
}

/* Cart shipping cards use the same real shipping inputs. */
.woocommerce-cart #shipping_method > div {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 5px 9px;
    margin: 7px 0 !important;
    padding: 11px !important;
    border: 1px solid #b9d5e5;
    border-radius: 9px;
    line-height: 1.3 !important;
}

.woocommerce-cart #shipping_method > div > div {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-cart #shipping_method > div > div:first-child { grid-column: 1; }
.woocommerce-cart #shipping_method > div > div:nth-child(2) { grid-column: 2; }
.woocommerce-cart #shipping_method > div > div:nth-child(3) { grid-column: 3; white-space: nowrap; }
.woocommerce-cart #shipping_method > div:has(input:checked),
.woocommerce-cart #shipping_method > div.is-selected { border: 2px solid var(--aby-blue); background: #eff9ff; }
.woocommerce-cart #shipping_method .aby-oj-shipping-help { grid-column: 2 / 4; }

@media (max-width: 1050px) {
    .aby-oj-checkout-grid,
    .aby-oj-cart-grid {
        grid-template-columns: 1fr;
    }

    .aby-oj-thresholds.is-checkout,
    .aby-oj-checkout-main,
    .aby-oj-delivery-step,
    .aby-oj-notes-step,
    .aby-oj-checkout-grid #payment,
    .aby-oj-order-summary {
        grid-column: 1;
        grid-row: auto;
        position: static;
    }

    .aby-oj-checkout-main { order: 1; }
    .aby-oj-delivery-step { order: 2; }
    .aby-oj-notes-step { order: 3; }
    .aby-oj-checkout-grid #payment { order: 4; }
    .aby-oj-order-summary { order: 5; }
    .aby-oj-cart-side { position: static; }

    .aby-oj-product-row {
        grid-template-columns: 90px minmax(0, 1fr) 145px 100px;
    }
}

@media (max-width: 760px) {
    .woocommerce-cart .section-content > .container,
    .woocommerce-checkout .section-content > .container {
        width: min(100% - 20px, 1380px) !important;
    }

    .aby-oj-page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 15px;
        padding-bottom: 14px;
    }

    .aby-oj-page-heading h1 {
        font-size: 34px !important;
    }

    .aby-oj-secure-note {
        display: none;
    }

    .aby-oj-mobile-summary-toggle {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 16px;
        grid-template-rows: auto auto;
        align-items: center;
        order: -10;
        width: 100%;
        min-height: 76px;
        margin: 0;
        padding: 12px 14px;
        border: 1px solid var(--aby-border);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 5px 16px rgba(2, 43, 70, .08);
        color: var(--aby-navy);
        text-align: left;
    }

    .aby-oj-mobile-summary-product {
        display: grid;
        grid-column: 1;
        grid-row: 1 / span 2;
        grid-template-columns: 50px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        min-width: 0;
    }

    .aby-oj-mobile-summary-product > img {
        width: 48px !important;
        height: 48px !important;
        border-radius: 8px;
        background: #f3f7fa;
        object-fit: contain;
    }

    .aby-oj-mobile-summary-product > span {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .aby-oj-mobile-summary-product b {
        overflow: hidden;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .aby-oj-mobile-summary-toggle b {
        font-size: 14px;
    }

    .aby-oj-mobile-summary-toggle small {
        color: var(--aby-muted);
        font-size: 11px;
    }

    .aby-oj-mobile-summary-delivery {
        display: flex;
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
        gap: 4px;
        white-space: nowrap;
    }

    .aby-oj-mobile-summary-delivery b {
        color: var(--aby-navy);
        font-size: 11px;
    }

    .aby-oj-mobile-summary-total {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        align-items: baseline;
        justify-content: flex-end;
        gap: 4px;
        font-size: 18px;
        white-space: nowrap;
    }

    .aby-oj-mobile-summary-total small {
        color: var(--aby-muted);
        font-size: 11px;
        font-weight: 500;
    }

    .aby-oj-mobile-summary-total .woocommerce-Price-amount,
    .aby-oj-mobile-summary-total > strong {
        font: inherit;
    }

    .aby-oj-mobile-summary-toggle i {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-3px);
        transition: transform .18s ease;
    }

    .aby-oj-mobile-summary-toggle[aria-expanded="true"] i {
        transform: rotate(225deg) translate(-2px, -1px);
    }

    .aby-oj-thresholds.is-checkout {
        order: -8;
    }

    .aby-oj-order-summary {
        display: none;
        order: -9 !important;
    }

    .aby-oj-order-summary.is-mobile-open {
        display: block;
    }

    .aby-oj-thresholds-heading h2 {
        font-size: 20px !important;
    }

    .aby-oj-threshold-card {
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 154px;
        border-left-width: 7px;
    }

    .aby-oj-threshold-card .aby-oj-aby {
        width: 116px;
        max-height: 128px;
        margin-left: -6px;
    }

    .aby-oj-threshold-body {
        gap: 6px;
        padding: 15px 13px 15px 0;
    }

    .aby-oj-threshold-body h3 {
        font-size: 18px !important;
    }

    .aby-oj-threshold-value {
        font-size: 15px;
    }

    .aby-oj-truck-icon {
        width: 70px;
        height: 50px;
        margin-left: -10px;
    }

    .aby-oj-truck-icon::before {
        right: -28px;
        width: 34px;
        height: 37px;
    }

    .aby-oj-truck-icon::after {
        bottom: -12px;
        left: 8px;
        width: 20px;
        height: 20px;
        border-width: 5px;
        box-shadow: 60px 0 0 -5px #65c9f0, 60px 0 0 0 #053965;
    }

    .aby-oj-checkout-section {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 9px;
        padding: 14px;
    }

    .aby-oj-step {
        width: 30px;
        height: 30px;
    }

    .aby-oj-checkout-page .woocommerce-billing-fields__field-wrapper,
    .aby-oj-checkout-page #shipping_method,
    .aby-oj-verify-fields,
    .aby-oj-notes-grid,
    .aby-oj-points-bar {
        grid-template-columns: 1fr;
    }

    .aby-oj-checkout-page .form-row {
        grid-column: 1 / -1;
    }

    .aby-oj-checkout-page #billing_postcode_search_field,
    .aby-oj-checkout-page #shipping_postcode_search_field,
    .aby-oj-checkout-page #crafty_billing_button,
    .aby-oj-checkout-page #crafty_shipping_button {
        grid-column: 1 / -1 !important;
    }

    .aby-oj-checkout-page #crafty_billing_button,
    .aby-oj-checkout-page #crafty_shipping_button {
        padding-top: 10px !important;
    }

    .aby-oj-checkout-page #shipping_method > div,
    .aby-oj-checkout-page #shipping_method > li {
        min-height: 80px;
    }

    .aby-oj-verify-button {
        width: 100%;
    }

    .aby-oj-checkout-grid #payment .form-row.place-order {
        position: sticky;
        z-index: 30;
        bottom: max(8px, env(safe-area-inset-bottom));
        padding: 10px !important;
        border: 1px solid var(--aby-border);
        border-radius: 12px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -5px 22px rgba(2, 43, 70, .13);
        backdrop-filter: blur(8px);
    }

    .aby-oj-checkout-grid #place_order {
        min-height: 58px;
        margin-top: 6px !important;
        font-size: 18px !important;
    }

    .aby-oj-product-row {
        grid-template-columns: 74px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .aby-oj-product-image img {
        width: 68px !important;
        height: 68px !important;
    }

    .aby-oj-product-edit,
    .aby-oj-product-price {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .aby-oj-product-edit {
        justify-self: start;
    }

    .aby-oj-product-price {
        align-self: end;
        justify-items: end;
        justify-self: end;
        min-width: 74px;
        text-align: right;
    }

    .aby-oj-product-row .quantity input.qty {
        width: 42px !important;
    }

    .aby-oj-qty-button {
        width: 34px;
    }

    .aby-oj-voucher-card {
        align-items: stretch;
        flex-direction: column;
    }

    .aby-oj-voucher-card > div {
        width: 100%;
    }

    .aby-oj-voucher-card input {
        min-width: 0;
        flex: 1;
    }

    .aby-oj-livestock-panel {
        grid-template-columns: 90px 1fr;
        gap: 9px;
        padding: 14px 12px;
    }

    .aby-oj-livestock-panel .aby-oj-aby {
        width: 105px;
        margin-left: -13px;
    }

    .aby-oj-progress-copy h2 {
        font-size: 18px !important;
    }
}

@media (max-width: 430px) {
    .aby-oj-cart-page,
    .aby-oj-checkout-page {
        padding-top: 16px;
    }

    .aby-oj-threshold-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .aby-oj-threshold-card .aby-oj-aby {
        width: 94px;
        margin-left: -8px;
    }

    .aby-oj-threshold-body {
        padding-right: 10px;
    }

    .aby-oj-threshold-badge {
        font-size: 9px;
    }

    .aby-oj-threshold-body h3 {
        font-size: 17px !important;
    }

    .aby-oj-threshold-body > p {
        font-size: 12px;
    }

    .aby-oj-truck-icon {
        margin-left: -6px;
        transform: scale(.65);
    }

    .aby-oj-checkout-section {
        grid-template-columns: 1fr;
    }

    .aby-oj-section-body h2,
    .aby-oj-order-summary h2 {
        font-size: 20px !important;
    }

    .aby-oj-mobile-summary-total {
        font-size: 16px;
    }

    .aby-oj-collection-wait {
        align-items: flex-start;
    }

    .aby-oj-collection-modal {
        padding: 12px;
    }

    .aby-oj-collection-modal-card {
        padding: 22px 17px 20px;
        border-radius: 16px;
    }

    .aby-oj-collection-modal-card .aby-oj-aby {
        width: 135px;
        max-height: 112px;
    }

    .aby-oj-collection-modal-card h2 {
        font-size: 23px !important;
    }

    .aby-oj-collection-modal-card p {
        font-size: 13px;
    }
}
