/* The Oak Fam · cart page in the checkout's style (0.3.0, 2026-11-22).
   Same variables, cards, fields and buttons as ck2.css. Everything is scoped to body.oak-cart2, which is set
   only where the new cart is on (WooCommerce → Чекаут шагами → Корзина). The site header and footer stay. */

html body.oak-cart2 {
    --ck-bg: #f7f7f5;
    --ck-line: #e4e4e4;
    --ck-line2: #eeeeee;
    --ck-field: #d9d9d9;
    --ck-ink: #1f1f1f;
    --ck-muted: #6b6b6b;
    --ck-label: #5c5c5c;
    --ck-green: #3e5842;
    --ck-green-d: #2f4a34;
    --ck-pale: #e6efe3;
    --ck-sel: #fbfcfa;
    --ck-err: #a4482f;
    background: var(--ck-bg) !important;
}

/* ------------------------------------------------------------------ page chrome */
html body.oak-cart2 .tof-checkout-progress,
html body.oak-cart2 .entry > .woocommerce > .oak-cart-actions:has(.oak-cart-action-clear) { display: none !important; }
html body.oak-cart2 #wrap,
html body.oak-cart2 #container,
html body.oak-cart2 #main,
html body.oak-cart2 .content_background,
html body.oak-cart2 #content,
html body.oak-cart2 #content > article {
    background: transparent !important;
    box-shadow: none !important;
}
html body.oak-cart2 #header { background: #fff; }
html body.oak-cart2 #container.container {
    box-sizing: border-box;
    width: auto !important;
    max-width: 1160px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
}
html body.oak-cart2 #main.row { margin: 0; }
html body.oak-cart2 .content_background { padding: 0 !important; }
html body.oak-cart2 #content.col-md-12 { float: none; width: auto; margin: 0; padding: 0; }
html body.oak-cart2 #content > article { max-width: none !important; margin: 0; padding: 0; }
html body.oak-cart2 #content > article .page-title {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
html body.oak-cart2 .entry { margin: 0; padding: 0; color: var(--ck-ink); }
html body.oak-cart2 .oak-c2-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ------------------------------------------------------------------ grid: products | summary */
html body.oak-cart2 .entry > .woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    column-gap: 24px;
    align-items: start;
    margin: 0;
    padding: 22px 0 48px;
}
html body.oak-cart2 .entry > .woocommerce > * { grid-column: 1 / -1; min-width: 0; }
html body.oak-cart2 .entry > .woocommerce > form.woocommerce-cart-form {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
}
html body.oak-cart2 .entry > .woocommerce > .cart-collaterals {
    grid-column: 2;
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
    display: flex;
    flex-direction: column;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
}
html body.oak-cart2 .entry > .woocommerce > .cart-collaterals.is-tall { position: static; }
html body.oak-cart2 .cart-collaterals > .cross-sells { order: 5; margin-top: 16px; }

/* ------------------------------------------------------------------ title and the four steps */
.oak-c2-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin: 0 0 18px;
}
html body.oak-cart2 p.oak-c2-title {
    margin: 0;
    padding: 0;
    color: var(--ck-ink);
    font-family: inherit;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}
.oak-c2-count { margin-left: 4px; color: var(--ck-muted); font-size: 15px; font-weight: 400; white-space: nowrap; }
.oak-c2-steps { flex: 0 1 460px; min-width: 0; }
/* 2026-11-25: the steps themselves are in oak-steps.css (same as the checkout). */
.oak-c2-preview-note {
    margin: 0 0 12px !important;
    padding: 6px 12px;
    border-radius: 8px;
    background: #fff6dc;
    color: #5c4a00;
    font-size: 12.5px;
    text-align: center;
}
.oak-c2-preview-note a { color: inherit; text-decoration: underline; }

/* ------------------------------------------------------------------ cards */
html body.oak-cart2 .oak-c2-card {
    box-sizing: border-box;
    margin: 0;
    padding: 4px 20px;
    border: 1px solid var(--ck-line);
    border-radius: 12px;
    background: #fff;
}
html body.oak-cart2 h2.oak-c2-cardtitle,
html body.oak-cart2 .cart-collaterals .cart_totals > h2 {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--ck-ink);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
}

/* ------------------------------------------------------------------ product lines */
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table > tbody { display: block !important; width: 100%; border: 0; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item {
    position: relative;
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) auto minmax(76px, auto) 32px;
    grid-template-areas: "th nm qt st rm";
    align-items: center;
    gap: 0 16px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid var(--ck-line2);
    border-radius: 0;
    background: none;
    box-shadow: none;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td {
    display: block !important;
    float: none !important;
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--ck-ink);
    text-align: left !important;
    vertical-align: middle;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td::before,
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td::after { content: none !important; display: none !important; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-thumbnail { grid-area: th; align-self: start; line-height: 0; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-thumbnail a { display: block; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-thumbnail img {
    display: block;
    width: 88px !important;
    height: 88px !important;
    max-width: none;
    margin: 0;
    border-radius: 10px;
    object-fit: cover;
    background: #f3f3f3;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-name {
    grid-area: nm;
    padding-right: 0 !important;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name .oak-c2-name,
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name .oak-c2-name a {
    color: var(--ck-ink) !important;
    font-size: 15px;
    font-weight: 600 !important;
    line-height: 1.35;
    text-decoration: none;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name .oak-c2-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name .oak-c2-name :is(span, small) { font-weight: inherit; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name dl.variation {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1px 6px;
    margin: 5px 0 0;
    padding: 0;
    border: 0;
    color: var(--ck-muted);
    font-size: 12.5px;
    line-height: 1.45;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name dl.variation :is(dt, dd) {
    display: block;
    float: none;
    clear: none;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name dl.variation dt { color: var(--ck-muted); font-weight: 400; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name dl.variation dd { color: #3d3d3d; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name dl.variation dd::after { content: none; display: none; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name dl.variation dd p { display: inline; margin: 0; padding: 0; font-size: inherit; line-height: inherit; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name template { display: none; }
.oak-c2-parts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 5px;
    color: var(--ck-muted);
    font-size: 12.5px;
    line-height: 1.4;
}
.oak-c2-parts > span { position: relative; padding-left: 12px; overflow-wrap: anywhere; }
.oak-c2-parts > span::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .62em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9a9a9a;
}
html body.oak-cart2 .oak-c2-each { display: block; margin-top: 5px; color: var(--ck-muted); font-size: 12.5px; }
html body.oak-cart2 .oak-c2-each .woocommerce-Price-amount { font-weight: 400; }
html body.oak-cart2 .woocommerce-cart-form .product-name .backorder_notification { margin: 4px 0 0; color: var(--ck-err); font-size: 12.5px; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-price { display: none !important; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-quantity { grid-area: qt; justify-self: center; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-subtotal {
    grid-area: st;
    justify-self: end;
    color: var(--ck-ink);
    font-size: 15px;
    font-weight: 700;
    text-align: right !important;
    white-space: nowrap;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-subtotal :is(.woocommerce-Price-amount, bdi) { font-weight: 700; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-subtotal small { display: block; color: var(--ck-muted); font-size: 11.5px; font-weight: 400; }
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-remove {
    grid-area: rm;
    position: static !important;
    justify-self: end;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-remove a.remove {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    color: var(--ck-muted) !important;
    font-size: 0 !important;
    line-height: 1;
    text-decoration: none;
    opacity: 1;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-remove a.remove::before {
    content: "×";
    display: block;
    font-family: inherit;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-remove a.remove:hover,
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-remove a.remove:focus-visible {
    background: #f3f3f3 !important;
    color: var(--ck-err) !important;
}
html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.oak-c2-actions { display: none !important; }

/* Quantity: −/+ buttons from the cart extras, in the checkout's field look. */
html body.oak-cart2 .woocommerce-cart-form .quantity.oak-qty-host {
    grid-template-columns: 36px 40px 36px;
    height: 40px;
    border: 1px solid var(--ck-field);
    border-radius: 10px;
    background: #fff;
}
html body.oak-cart2 .woocommerce-cart-form .quantity.oak-qty-host input.qty {
    color: var(--ck-ink);
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 600;
}
html body.oak-cart2 .woocommerce-cart-form .oak-qty-btn { color: var(--ck-ink); font-family: inherit; }
html body.oak-cart2 .woocommerce-cart-form .oak-qty-btn:hover:not(:disabled) { background: var(--ck-sel); color: var(--ck-green-d); }
html body.oak-cart2 .woocommerce-cart-form .oak-qty-btn:disabled { color: #c4c4c4; }
html body.oak-cart2 .woocommerce-cart-form .quantity.oak-qty-host:focus-within { outline: 2px solid var(--ck-pale); outline-offset: 0; border-color: var(--ck-green); }
html body.oak-cart2 .woocommerce-cart-form .quantity:not(.oak-qty-host) input.qty {
    box-sizing: border-box;
    width: 64px;
    height: 40px;
    border: 1px solid var(--ck-field);
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
}

/* Under the products: back to shopping · empty the cart */
.oak-c2-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    min-height: 52px;
    padding: 4px 0;
}
html body.oak-cart2 a.oak-c2-shop {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    color: var(--ck-green-d);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
html body.oak-cart2 a.oak-c2-shop svg { flex: 0 0 18px; margin-left: -4px; }
html body.oak-cart2 a.oak-c2-shop:hover span { text-decoration: underline; text-underline-offset: 3px; }
html body.oak-cart2 button.oak-c2-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--ck-muted);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}
html body.oak-cart2 button.oak-c2-clear[hidden] { display: none; }
html body.oak-cart2 button.oak-c2-clear:hover { color: var(--ck-err); }
html body.oak-cart2 button.oak-c2-clear:hover span { text-decoration: underline; text-underline-offset: 3px; }
html body.oak-cart2 :is(a.oak-c2-shop, button.oak-c2-clear, .oak-c2-coupon-toggle, .oak-c2-ptoggle):focus-visible { outline: 2px solid var(--ck-green); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------------------------------------------ postcard (the aromas plugin's block) */
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard {
    max-width: none;
    margin: 0;
    border: 1px solid var(--ck-line);
    border-radius: 12px;
    background: #fff;
    color: var(--ck-ink);
}
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-toggle {
    min-height: 56px;
    padding: 12px 20px;
    color: var(--ck-ink);
    font-size: 14.5px;
    font-weight: 600;
}
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-free {
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--ck-pale);
    color: var(--ck-green-d);
    font-size: 12px;
    font-weight: 600;
}
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-editor { padding: 14px 20px 16px; border-top: 1px solid var(--ck-line2); }
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-preview { padding: 0 20px 14px; }
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-status { padding: 0 20px 12px; }
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard textarea {
    border: 1px solid var(--ck-field);
    border-radius: 10px;
    color: var(--ck-ink);
}
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard textarea:focus { border-color: var(--ck-green); outline: 2px solid var(--ck-pale); outline-offset: 0; }
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-save {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--ck-green);
    color: #fff;
    font-weight: 700;
}
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-save:hover { background: var(--ck-green-d); }
html body.oak-cart2 .woocommerce-cart-form > .oak-postcard :is(.oak-postcard-edit, .oak-postcard-remove) { color: var(--ck-green-d); }

/* ------------------------------------------------------------------ gift bags */
html body.oak-cart2 .oak-c2-bags { padding: 16px 20px 18px; }
html body.oak-cart2 .oak-c2-bags h2.oak-c2-cardtitle { margin-bottom: 12px; font-size: 15.5px; }
html body.oak-cart2 ul.oak-c2-bag-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
html body.oak-cart2 li.oak-c2-bag {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas: "img tx" "add add";
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--ck-line2);
    border-radius: 10px;
    background: #fff;
}
html body.oak-cart2 .oak-c2-bag-img { grid-area: img; display: block; line-height: 0; }
html body.oak-cart2 .oak-c2-bag-img img {
    display: block;
    width: 56px !important;
    height: 56px !important;
    max-width: none;
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f3f3;
}
.oak-c2-bag-tx { grid-area: tx; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body.oak-cart2 a.oak-c2-bag-nm {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    color: var(--ck-ink) !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
}
html body.oak-cart2 a.oak-c2-bag-nm:hover { text-decoration: underline; }
html body.oak-cart2 .oak-c2-bag-pr { color: var(--ck-ink); font-size: 13.5px; font-weight: 700; }
html body.oak-cart2 .oak-c2-bag-pr del { color: var(--ck-muted); font-weight: 400; }
html body.oak-cart2 .oak-c2-bag-pr :is(.oakfam-price-label, .screen-reader-text) { display: none; }
html body.oak-cart2 .oak-c2-bag-pr ins { text-decoration: none; }
html body.oak-cart2 a.button.oak-c2-bag-add {
    grid-area: add;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 38px;
    min-height: 0;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--ck-green) !important;
    border-radius: 10px;
    background: #fff !important;
    box-shadow: none;
    color: var(--ck-green-d) !important;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
}
html body.oak-cart2 a.button.oak-c2-bag-add::before { content: "+"; font-size: 17px; font-weight: 400; line-height: 1; }
html body.oak-cart2 a.button.oak-c2-bag-add::after { display: none !important; }
html body.oak-cart2 a.button.oak-c2-bag-add:hover { background: var(--ck-sel) !important; }
html body.oak-cart2 a.button.oak-c2-bag-add.loading { opacity: .6; pointer-events: none; }
html body.oak-cart2 a.button.oak-c2-bag-add.added { border-color: var(--ck-pale) !important; background: var(--ck-pale) !important; }
html body.oak-cart2 a.button.oak-c2-bag-add.added::before { content: "✓"; font-size: 14px; }
html body.oak-cart2 .oak-c2-bags .added_to_cart { display: none !important; }

/* ------------------------------------------------------------------ summary card */
html body.oak-cart2 .cart-collaterals .cart_totals {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    float: none !important;
    width: auto !important;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--ck-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    color: var(--ck-ink);
}
html body.oak-cart2 .cart-collaterals .cart_totals > h2 { order: 0; }
html body.oak-cart2 .cart-collaterals .cart_totals > .oak-cart-page-rewards { order: 1; }
html body.oak-cart2 .cart-collaterals .cart_totals > table { order: 2; }
html body.oak-cart2 .cart-collaterals .cart_totals > .wc-proceed-to-checkout { order: 3; }
html body.oak-cart2 .cart-collaterals .cart_totals > * { order: 4; margin: 0; }

/* Gift scale: the cart preview plugin's markup in the side cart's own look (2026-11-25: Andrew — one style everywhere);
   only the label widths are narrowed to the summary card. */
html body.oak-cart2 .cart_totals .oak-cart-page-rewards { width: auto; }
html body.oak-cart2 .cart_totals .oak-cart-page-rewards .oak-cart-rewards { margin: 0; }
html body.oak-cart2 .cart_totals .oak-cart-page-rewards .oak-cart-rewards-steps .oak-cart-tier-value { width: 72px; margin-left: -36px; }
html body.oak-cart2 .cart_totals .oak-cart-page-rewards .oak-cart-rewards-steps .oak-cart-tier-value.is-last { width: 70px; margin-left: -58px; }

/* Totals */
html body.oak-cart2 .cart_totals table.shop_table {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: none;
    box-shadow: none;
}
html body.oak-cart2 .cart_totals table.shop_table > tbody { display: flex; flex-direction: column; width: 100%; }
html body.oak-cart2 .cart_totals table.shop_table tr {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: auto !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    border: 0 !important;
    background: none !important;
}
html body.oak-cart2 .cart_totals table.shop_table tr > :is(th, td) {
    display: block !important;
    width: auto !important;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--ck-ink);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    vertical-align: baseline;
}
html body.oak-cart2 .cart_totals table.shop_table tr > td { flex: 0 1 auto; text-align: right !important; overflow-wrap: anywhere; }
html body.oak-cart2 .cart_totals table.shop_table tr > :is(th, td)::before { content: none !important; display: none !important; }
html body.oak-cart2 .cart_totals table.shop_table :is(.woocommerce-Price-amount, bdi, strong) { font-weight: inherit; }
html body.oak-cart2 .cart_totals table.shop_table tr:is(.shipping, .woocommerce-shipping-totals) { display: none !important; }
html body.oak-cart2 .cart_totals table.shop_table tr.order-total {
    margin-top: 6px !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--ck-line2) !important;
}
html body.oak-cart2 .cart_totals table.shop_table tr.order-total > :is(th, td) { font-size: 18px; font-weight: 700; }
html body.oak-cart2 .cart_totals table.shop_table tr.order-total .woocommerce-Price-amount { white-space: nowrap; }
html body.oak-cart2 .cart_totals table.shop_table .includes_tax {
    display: block;
    margin-top: 2px;
    color: var(--ck-muted);
    font-size: 12px;
    font-weight: 400;
}
html body.oak-cart2 .cart_totals table.shop_table .includes_tax .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; }
html body.oak-cart2 .cart_totals table.shop_table tr.cart-discount > td { color: var(--ck-green-d); }
html body.oak-cart2 .cart_totals table.shop_table a.woocommerce-remove-coupon {
    margin-left: 6px;
    color: var(--ck-muted) !important;
    font-size: 13px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Delivery prices: the list from the cart extras, folded under one line (open state kept by cart2.js). */
html body.oak-cart2 .cart_totals table.shop_table tr.oak-shipping-price-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0 0 4px !important;
}
html body.oak-cart2 .cart_totals table.shop_table tr.oak-shipping-price-list > th { font-size: 13px; }
html body.oak-cart2 button.oak-c2-ptoggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 2px 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--ck-green-d);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}
html body.oak-cart2 button.oak-c2-ptoggle::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
html body.oak-cart2 button.oak-c2-ptoggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
html body.oak-cart2 .cart_totals table.shop_table tr.oak-shipping-price-list > td {
    padding: 6px 12px !important;
    border-radius: 10px;
    background: #f7f7f5 !important;
    text-align: left !important;
}
html body.oak-cart2.oak-c2-js .cart-collaterals:not(.is-ship-open) .cart_totals table.shop_table tr.oak-shipping-price-list > td { display: none !important; }
html body.oak-cart2 .cart_totals .oak-shipping-price-item {
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #ececec;
    font-size: 12.5px;
    line-height: 1.4;
}
html body.oak-cart2 .cart_totals .oak-shipping-price-item:last-of-type { border-bottom: 0; }
html body.oak-cart2 .cart_totals .oak-shipping-name { color: #444; }
html body.oak-cart2 .cart_totals .oak-shipping-cost { color: var(--ck-ink); font-weight: 600; }
html body.oak-cart2 .cart_totals .oak-shipping-note { margin: 4px 0 2px !important; color: var(--ck-muted); font-size: 11.5px; }

/* Button and discount code */
html body.oak-cart2 .cart_totals .wc-proceed-to-checkout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}
html body.oak-cart2 .cart_totals .wc-proceed-to-checkout .fsl-wrapper,
html body.oak-cart2 .cart-collaterals .cart_totals::before,
html body.oak-cart2 .cart-collaterals .cart_totals::after,
html body.oak-cart2 .cart_totals .wc-proceed-to-checkout::before,
html body.oak-cart2 .cart_totals .wc-proceed-to-checkout::after,
html body.oak-cart2 .cart-collaterals::before,
html body.oak-cart2 .cart-collaterals::after,
html body.oak-cart2 .entry > .woocommerce::before,
html body.oak-cart2 .entry > .woocommerce::after,
html body.oak-cart2 .entry > .woocommerce > form.woocommerce-cart-form::before,
html body.oak-cart2 .entry > .woocommerce > form.woocommerce-cart-form::after { display: none !important; content: none !important; }
html body.oak-cart2 .cart_totals .wc-proceed-to-checkout a.checkout-button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin: 0 !important;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--ck-green) !important;
    box-shadow: none;
    color: #fff !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
}
html body.oak-cart2 .cart_totals .wc-proceed-to-checkout a.checkout-button:hover,
html body.oak-cart2 .cart_totals .wc-proceed-to-checkout a.checkout-button:focus-visible { background: var(--ck-green-d) !important; }
html body.oak-cart2 .cart_totals .wc-proceed-to-checkout a.checkout-button:focus-visible { outline: 2px solid var(--ck-green); outline-offset: 2px; }

.oak-c2-coupon { padding-top: 10px; border-top: 1px solid var(--ck-line2); }
html body.oak-cart2 button.oak-c2-coupon-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--ck-green-d);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}
html body.oak-cart2 button.oak-c2-coupon-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
html body.oak-cart2 button.oak-c2-coupon-toggle[hidden],
html body.oak-cart2 .oak-c2-coupon-row[hidden] { display: none; }
.oak-c2-coupon-row { display: flex; gap: 8px; margin: 6px 0 0; }
.oak-c2-field { position: relative; flex: 1 1 auto; min-width: 0; }
html body.oak-cart2 .oak-c2-field input.input-text {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 17px 14px 3px;
    border: 1px solid var(--ck-field) !important;
    border-radius: 10px !important;
    background: #fff;
    box-shadow: none;
    color: var(--ck-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
}
html body.oak-cart2 .oak-c2-field input.input-text:focus { border-color: var(--ck-green) !important; outline: 2px solid var(--ck-pale); outline-offset: 0; }
html body.oak-cart2 .oak-c2-field label {
    position: absolute;
    z-index: 2;
    left: 15px;
    top: 24px;
    max-width: calc(100% - 30px);
    margin: 0;
    padding: 0;
    color: var(--ck-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    transform: translateY(-50%);
    transition: top .12s ease, font-size .12s ease;
}
html body.oak-cart2 .oak-c2-field input:is(:focus, :not(:placeholder-shown)) + label { top: 12px; font-size: 11.5px; color: var(--ck-label); }
html body.oak-cart2 button.oak-c2-coupon-apply {
    flex: 0 0 auto;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid var(--ck-field);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    color: var(--ck-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
}
html body.oak-cart2 button.oak-c2-coupon-apply:hover { border-color: var(--ck-green); color: var(--ck-green-d); }
html body.oak-cart2 .oak-c2-coupon.is-busy { opacity: .6; pointer-events: none; }
html body.oak-cart2 p.oak-c2-coupon-msg {
    box-sizing: border-box;
    margin: 10px 0 0;
    padding: 10px 12px 10px 36px;
    border: 1px solid #d9e5d4;
    border-radius: 10px;
    background: #f1f6ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e5842' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") 12px 50% / 16px no-repeat;
    color: var(--ck-green-d);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}
html body.oak-cart2 p.oak-c2-coupon-msg.is-error {
    border-color: var(--ck-err);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4482f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") 12px 50% / 16px no-repeat;
    color: var(--ck-err);
    font-weight: 500;
}
html body.oak-cart2 p.oak-c2-coupon-msg[hidden] { display: none; }

/* A wrong or empty code: same red flag and shake as the checkout fields. */
@keyframes oak-c2-shake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px); }
    30% { transform: translateX(5px); }
    45% { transform: translateX(-4px); }
    60% { transform: translateX(3px); }
    75% { transform: translateX(-1px); }
}
html body.oak-cart2 .oak-c2-attention { animation: oak-c2-shake .5s ease; }
@media (prefers-reduced-motion: reduce) {
    html body.oak-cart2 .oak-c2-attention { animation: none; }
    html body.oak-cart2 .oak-c2-field label { transition: none; }
}
html body.oak-cart2 .oak-c2-needs input.input-text { border-color: var(--ck-err) !important; box-shadow: inset 0 0 0 1px var(--ck-err) !important; }
html body.oak-cart2 .oak-c2-coupon-row:has(.oak-c2-needs) { margin-top: 18px; }
html body.oak-cart2 .oak-c2-flag {
    position: absolute;
    z-index: 3;
    top: -12px;
    right: 12px; /* right side: the field's own label stays readable on the left */
    left: auto;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100% - 24px);
    height: 24px;
    padding: 0 11px 0 28px;
    border-radius: 999px;
    background: #a4482f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.5v5.5M12 16.6v.1'/%3E%3C/svg%3E") 8px center / 14px no-repeat;
    box-shadow: -5px 0 0 #fff, 5px 0 0 #fff;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

/* Under the card */
html body.oak-cart2 ul.oak-c2-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 4px 0;
    padding: 0;
    list-style: none;
    color: var(--ck-muted);
    font-size: 13px;
}
html body.oak-cart2 ul.oak-c2-trust li { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
html body.oak-cart2 ul.oak-c2-trust li::before {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e5842' stroke-width='2.4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ------------------------------------------------------------------ notices (added, removed + undo, errors) */
html body.oak-cart2 .entry > .woocommerce > .woocommerce-notices-wrapper:not(:empty) { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
html body.oak-cart2 .entry > .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):not(.cart_totals *):not(.cart-empty) {
    position: relative;
    box-sizing: border-box;
    width: auto;
    margin: 0 !important;
    padding: 12px 16px 12px 44px !important;
    border: 1px solid #d9e5d4 !important;
    border-radius: 12px !important;
    background: #f1f6ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e5842' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") 16px 14px / 18px no-repeat !important;
    box-shadow: none !important;
    color: var(--ck-green-d) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: left;
    list-style: none;
}
html body.oak-cart2 .entry > .woocommerce :is(.woocommerce-info):not(.cart_totals *):not(.cart-empty) {
    border-color: var(--ck-line) !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5.5M12 7.6v.1'/%3E%3C/svg%3E") 16px 14px / 18px no-repeat !important;
    color: var(--ck-ink) !important;
}
html body.oak-cart2 .entry > .woocommerce :is(.woocommerce-error):not(.cart_totals *):not(.cart-empty) {
    border-color: var(--ck-err) !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a4482f' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5v.01'/%3E%3C/svg%3E") 16px 14px / 18px no-repeat !important;
    color: var(--ck-ink) !important;
}
html body.oak-cart2 .entry > .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { display: none !important; content: none !important; }
html body.oak-cart2 .entry > .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error):focus { outline: none; }
html body.oak-cart2 .entry > .woocommerce .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
html body.oak-cart2 .entry > .woocommerce :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) {
    color: inherit !important;
    font-weight: 600 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}
html body.oak-cart2 .entry > .woocommerce .woocommerce-message .button.wc-forward { display: none !important; }

/* Empty cart */
html body.oak-cart2 .entry > .woocommerce:has(> .wc-empty-cart-message) {
    display: block;
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 0 56px;
    text-align: center;
}
html body.oak-cart2 .wc-empty-cart-message .cart-empty {
    margin: 0 !important;
    padding: 28px 20px !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--ck-ink) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center;
}
html body.oak-cart2 .wc-empty-cart-message .cart-empty::before { display: none !important; }
html body.oak-cart2 .entry > .woocommerce > .return-to-shop { margin: 14px 0 0; }
html body.oak-cart2 .entry > .woocommerce > .return-to-shop a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 12px;
    background: var(--ck-green) !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
html body.oak-cart2 .entry > .woocommerce > .return-to-shop a.button:hover { background: var(--ck-green-d) !important; }

/* ------------------------------------------------------------------ narrower screens */
@media (max-width: 1060px) {
    html body.oak-cart2 ul.oak-c2-bag-list { grid-template-columns: minmax(0, 1fr); }
    html body.oak-cart2 li.oak-c2-bag { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "img tx add"; padding: 8px 10px; }
    html body.oak-cart2 a.button.oak-c2-bag-add { width: auto; padding: 0 14px; }
}
@media (max-width: 900px) {
    html body.oak-cart2 .entry > .woocommerce { grid-template-columns: minmax(0, 1fr); padding: 16px 0 96px; }
    html body.oak-cart2 .entry > .woocommerce > .cart-collaterals { grid-column: 1; position: static; margin-top: 12px; }
    .oak-c2-top { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 14px; }
    .oak-c2-steps { flex: none; }
    html body.oak-cart2 ul.oak-c2-bag-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    html body.oak-cart2 li.oak-c2-bag { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "img tx" "add add"; padding: 10px; }
    html body.oak-cart2 a.button.oak-c2-bag-add { width: 100%; }
}
@media (max-width: 640px) {
    html body.oak-cart2 #container.container { padding: 0 12px !important; }
    html body.oak-cart2 p.oak-c2-title { font-size: 22px; }
    html body.oak-cart2 .oak-c2-card { padding: 2px 14px; }
    html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item {
        grid-template-columns: 72px minmax(0, 1fr) auto;
        grid-template-areas: "th nm rm" "th qt st";
        gap: 12px 12px;
        align-items: start;
        padding: 14px 0;
    }
    html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-thumbnail { grid-row: 1 / span 2; }
    html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-thumbnail img { width: 72px !important; height: 72px !important; }
    html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table .product-name :is(.oak-c2-name, .oak-c2-name a) { font-size: 14.5px; }
    html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-quantity { justify-self: start; align-self: center; }
    html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-subtotal { align-self: center; }
    html body.oak-cart2 .woocommerce-cart-form table.oak-c2-table tr.cart_item > td.product-remove { margin: -6px -6px 0 0 !important; }
    html body.oak-cart2 .oak-c2-bags { padding: 14px 14px 14px; }
    html body.oak-cart2 ul.oak-c2-bag-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    html body.oak-cart2 li.oak-c2-bag { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "img tx add"; padding: 8px 10px; }
    html body.oak-cart2 .oak-c2-bag-img img { width: 52px !important; height: 52px !important; }
    html body.oak-cart2 a.button.oak-c2-bag-add { width: auto; height: 36px; padding: 0 12px; }
    html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-toggle { padding: 12px 14px; }
    html body.oak-cart2 .woocommerce-cart-form > .oak-postcard .oak-postcard-editor { padding: 12px 14px 14px; }
    html body.oak-cart2 .cart-collaterals .cart_totals { padding: 16px 14px; }
}
@media (max-width: 360px) {
    html body.oak-cart2 .woocommerce-cart-form .quantity.oak-qty-host { grid-template-columns: 32px 36px 32px; }
}
