/* The two panels already share a grid. Its first column anchors the cable even as the cover scales. */
@media (min-width: 768px) {
    body.wp-theme-boemia #wrapper #primary #content-shop ul.products > .right_cover:has(> img[src$="/Right-Cover-Details-Empty-C2-8.png"]) + li.product.list:has(a.details) .product-thumbnail {
        isolation: isolate;
        &::before {
            content: "" !important; display: block !important; grid-area: 1 / 1;
            justify-self: end; align-self: end; position: relative !important; inset: auto !important;
            width: calc(min(5vw, 64px) + 60px) !important; height: auto !important; aspect-ratio: 140 / 93;
            margin: 0 0 8% !important; padding: 0; border: 0;
            transform: translateX(calc(100% - 12px)) !important;
            background: transparent url("/images/cable-short.png") center / 100% 100% no-repeat !important;
            z-index: -1; pointer-events: none;
        }
    }
}
body.single-product.wp-theme-boemia #wrapper #primary #content-shop :is(#product-28373,.fhw-product-layout).fhw-product-layout .summary.entry-summary > form.cart.fhw-buy-form {
    & .fhw-price-slot :is(.price,.amount,bdi,ins,del,.woocommerce-Price-currencySymbol,.fhw-save-badge) {
        font-family: "Helvetica Neue", Helvetica, sans-serif !important; font-weight: 800 !important;
        font-variant-numeric: tabular-nums; letter-spacing: -.025em;
    }
    & .fhw-price-slot :is(.price > .amount,ins .amount) {font-size:clamp(26px,2.55vw,36px) !important; line-height:1.12 !important;}
    & .fhw-price-slot .price del {font-size:clamp(19px,1.7vw,25px) !important;}
    & .fhw-price-slot .price del .amount {text-decoration:line-through 2px #cb3a5c !important;}
    & button.single_add_to_cart_button {
        box-sizing:border-box; max-width:100% !important; min-width:0; min-height:42px !important; height:auto !important;
        padding:8px clamp(8px,1.2vw,17px) 11px !important; border:1px solid #565859 !important; border-radius:6px !important;
        background: #0b0b0b url("../uploads/2016/12/bmp02053.png") bottom center / 100% 4px no-repeat !important;
        color:#f5f5f5 !important; font:800 clamp(14px,1.2vw,18px)/1.2 "Helvetica Neue",Helvetica,sans-serif !important;
        text-transform:uppercase; letter-spacing:.015em; white-space:normal !important; overflow-wrap:break-word;
    }
    & button.single_add_to_cart_button:is(:hover,:focus-visible) {background-color:#1b1c1e !important;border-color:#9fcce4 !important;}
}
body.wp-theme-boemia #wrapper #primary #content-page :is(#order_review table.shop_table,.cart_totals table) {
    & :is(tfoot th,tfoot td,.cart-subtotal th,.shipping th,.order-total th,.amount,.amount bdi,.woocommerce-Price-currencySymbol) {
        font:600 clamp(19px,1.5vw,21px)/1.4 "PT Mono",monospace !important; font-variant-numeric:tabular-nums;
    }
    & :is(tr.shipping,tr.cart-subtotal,tr.order-total) td {text-align:end !important;vertical-align:top;}
    & .amount {white-space:nowrap;}
    & .fhw-rate-service {display:block;line-height:1.35;color:#b8bcbd;font:600 clamp(15px,1.2vw,17px)/1.4 Abel,sans-serif;text-wrap:balance;}
}
body.wp-theme-boemia #wrapper #content-page #cart-table a.tm-cart-edit-options {
    display:table; width:fit-content; margin:.4em 0; padding:.2em .55em; border:1px solid #505657;
    border-radius:3px; color:#b8e1fa; font:600 16px/1.5 Abel,sans-serif;
}
body.woocommerce-checkout.wp-theme-boemia #wrapper #primary #content-page form.fhw-checkout {
    &:not([data-step="3"]) #order_review .ppc-button-wrapper,
    &[data-step="3"]:has(#payment_method_stripe:checked) #order_review .ppc-button-wrapper {display:none !important;}
    & .woocommerce-terms-and-conditions-wrapper {min-width:0; text-align:start;}
    & .woocommerce-terms-and-conditions-checkbox-text {display:block; font:600 clamp(17px,1.3vw,20px)/1.5 Abel,sans-serif !important;}
    & label.checkbox:has(> #terms) {
        display:grid !important;grid-template-columns:1.2rem minmax(0,1fr);align-items:start;gap:0 .65rem;
        position:static !important; float:none !important; width:100%; max-width:100%; box-sizing:border-box;
        margin:0 !important; padding:0 !important; text-indent:0; text-align:start;
    }
    & label.checkbox #terms {
        appearance:auto;position:static !important;float:none !important;transform:none !important;
        width:1.17rem !important;height:1.17rem !important;min-width:0;margin:.22em 0 0 !important;accent-color:#83c7ed;
    }
    & .woocommerce-terms-and-conditions-checkbox-text abbr.required {display:inline; margin-inline-start:.25em; white-space:nowrap; color:#c2c5c6; font:600 .92em/1 Abel,sans-serif; text-decoration:none;}
    & .woocommerce-terms-and-conditions {max-width:78ch;line-height:1.65; overflow-y:auto;}
    & .woocommerce-terms-and-conditions :is(p,ul,ol) {margin-block:.75em;}
    & .woocommerce-terms-and-conditions :is(h2,h3,h4) {margin-block:1.3em .5em;}
    & .ppc-button-wrapper:has(> .fhw-payment-back) {
        max-width:100%;box-sizing:border-box;display:flex !important;gap:12px 20px;align-items:start;
        justify-content:space-between;flex-wrap:wrap; padding-block:12px 4px; clear:both;
        & > .fhw-payment-back {display:inline-flex !important;align-items:center; min-height:44px; margin:0 !important;position:static !important;}
        & > :not(.fhw-payment-back):not(script):not(style) {flex:1 1 220px;max-width:540px;min-width:0;}
    }
}
body.page-id-10 #wrapper #content-page .legal,
body.woocommerce-checkout #wrapper #primary #content-page .woocommerce-terms-and-conditions .legal {
    box-sizing:border-box; max-width:78ch; margin-inline:auto; overflow-wrap:anywhere;
    & :is(p,ul,ol) {line-height:1.65; margin-block:.7em; text-align:start;}
    & :is(h2,h3,h4) {margin-block:1.4em .55em;line-height:1.25;}
    & p:empty,& p:has(> br:only-child) {margin:0;min-height:0;}
}
