/* Presentation only. WooCommerce retains forms, validation, totals and checkout events. */
body.s2f-storefront-commerce{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 Arial,Helvetica,sans-serif}
.s2f-storefront-commerce .s2f-commerce-main{max-width:1320px;margin:auto;padding:0 32px 70px}
.commerce-intro{margin:38px 0 26px}.commerce-links{display:flex;justify-content:space-between;gap:20px;margin-bottom:30px}.commerce-intro h1{font-size:clamp(38px,4.5vw,58px);margin-bottom:20px}.commerce-intro .lead{max-width:760px}
.commerce-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:32px 0}.commerce-steps li{border-bottom:2px solid var(--line);padding:12px 0;font-size:13px;color:var(--muted)}.commerce-steps b{margin-right:8px}.commerce-steps [aria-current]{border-color:var(--action);color:var(--action);font-weight:700}
.commerce-test-note{display:flex;gap:18px;flex-wrap:wrap;background:#e7f5fb;border:1px solid #b8d7e6;padding:15px 20px;border-radius:8px;margin:0 0 28px;font-size:14px}.commerce-test-note span{color:var(--muted)}
.commerce-native{min-width:0;overflow-wrap:anywhere}.commerce-native .woocommerce{max-width:none}.commerce-native section{margin:24px 0}.commerce-native h2{font-size:27px;letter-spacing:-.7px}.commerce-native h3{font-size:22px;letter-spacing:-.4px}.commerce-native p{color:inherit}.commerce-native a{color:var(--action)}
.s2f-storefront-commerce .commerce-native .button,.s2f-storefront-commerce .commerce-native button.button,.s2f-storefront-commerce .commerce-native #place_order,.s2f-storefront-commerce .commerce-native .wc-block-components-button:not(.is-link){background:var(--action);color:white;border:1px solid var(--action);border-radius:6px;padding:15px 22px;font:700 15px/1.5 Arial,Helvetica,sans-serif;text-decoration:none;box-shadow:none}
.s2f-storefront-commerce .commerce-native .button:hover,.s2f-storefront-commerce .commerce-native #place_order:hover{background:#102f47;color:white}.s2f-storefront-commerce .commerce-native button:disabled,.s2f-storefront-commerce .commerce-native .button:disabled{opacity:.5;cursor:not-allowed}.commerce-native :focus-visible{outline:3px solid #0086ac;outline-offset:3px}
.commerce-native input[type=text],.commerce-native input[type=email],.commerce-native input[type=tel],.commerce-native input[type=number],.commerce-native input[type=password],.commerce-native select,.commerce-native textarea{color:var(--ink);background:white;border:1px solid #a9bfca;border-radius:6px;padding:11px 12px;min-height:44px;max-width:100%;font:inherit}.commerce-native input[type=checkbox],.commerce-native input[type=radio]{accent-color:var(--action)}.commerce-native textarea{min-height:110px}.commerce-native .form-row label{font-weight:600;font-size:14px}.commerce-native .form-row{margin-bottom:15px}.commerce-native .select2-container .select2-selection--single{height:46px;border-color:#a9bfca;border-radius:6px}.commerce-native .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:44px;color:var(--ink)}.commerce-native .select2-container--default .select2-selection--single .select2-selection__arrow{height:44px}
.s2f-storefront-commerce .commerce-native table.shop_table{border:1px solid var(--line);border-radius:10px;background:white;border-collapse:separate;border-spacing:0;font-size:15px;overflow:hidden}.commerce-native table.shop_table th,.commerce-native table.shop_table td{padding:15px;border-color:var(--line);vertical-align:top}.commerce-native table.shop_table thead th{background:#e7f5fb}.commerce-native table.shop_table td.product-name{line-height:1.7}.commerce-native table.shop_table small,.commerce-native table.shop_table dl{font-size:13px}.commerce-native .order-total{font-size:20px}.commerce-native table td.product-total{white-space:nowrap}.commerce-native .quantity input{width:75px}
.commerce-native .woocommerce-message,.commerce-native .woocommerce-info,.commerce-native .woocommerce-error{background:white;border-radius:8px;font-size:15px}.commerce-native .woocommerce-message{border-top-color:var(--action)}
/* Native cart block: preserve its responsive grid, quantity controls and Store API updates. */
.commerce-native .wc-block-cart{font-size:15px}.commerce-native .wc-block-cart__main,.commerce-native .wc-block-cart__sidebar{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.commerce-native .wc-block-components-product-name{font-weight:700}.commerce-native .wc-block-components-product-metadata{font-size:13px}.commerce-native .wc-block-cart-items__header th{color:var(--muted)}.commerce-native .wc-block-cart-item__total{font-weight:700}.commerce-native .wc-block-components-totals-wrapper{border-color:var(--line)}.commerce-native .wc-block-components-totals-footer-item{font-size:21px}.commerce-native .wc-block-components-quantity-selector input{min-height:0;padding:0;border:0;background:transparent}.commerce-native .wc-block-components-quantity-selector{border-color:#a9bfca;border-radius:5px}.commerce-native .wc-block-cart-item__remove-link{font:inherit;color:var(--muted)}
/* Native classic checkout supplied by the R2 pilot. Do not change field names or visibility rules. */
.s2f-commerce-checkout .commerce-native form.checkout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;align-items:start}.s2f-commerce-checkout .commerce-native form.checkout:before,.s2f-commerce-checkout .commerce-native form.checkout:after{display:none}.s2f-commerce-checkout .commerce-native #customer_details{grid-column:1;grid-row:1 / 4;width:100%;background:white;border:1px solid var(--line);border-radius:12px;padding:26px}.s2f-commerce-checkout .commerce-native #customer_details .col-1,.s2f-commerce-checkout .commerce-native #customer_details .col-2{float:none;width:100%}.s2f-commerce-checkout .commerce-native #customer_details .col-2{margin-top:25px}.s2f-commerce-checkout .commerce-native #order_review_heading{grid-column:2;grid-row:1;margin:0 0 18px}.s2f-commerce-checkout .commerce-native #order_review{grid-column:2;grid-row:2;min-width:0}.s2f-commerce-checkout .commerce-native #payment{background:#e7f5fb;border:1px solid var(--line);border-radius:10px}.s2f-commerce-checkout .commerce-native #payment .payment_box{background:#daedf5;color:var(--ink)}.s2f-commerce-checkout .commerce-native #payment .payment_box:before{border-bottom-color:#daedf5}.s2f-commerce-checkout .commerce-native #payment .payment_methods{border-bottom-color:#b8d7e6}.s2f-commerce-checkout .commerce-native #place_order{width:100%;float:none}.commerce-native #shipping_method label{font-size:14px;font-weight:500}.commerce-native #shipping_method li{padding:4px 0}.commerce-native .woocommerce-privacy-policy-text{font-size:13px}
/* Native confirmation still supplies status, order key checks, item details and addresses. */
.s2f-commerce-received .commerce-native .woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));align-items:start;gap:22px 28px;margin:25px 0;padding:24px;background:#e7f5fb;border:1px solid var(--line);border-radius:10px}.s2f-commerce-received .commerce-native .woocommerce-order-overview li{float:none;border:0;margin:0;padding:0;flex:none;width:auto;min-width:0;min-height:0;height:auto;font-size:12px;overflow-wrap:anywhere}.s2f-commerce-received .commerce-native .woocommerce-order-overview strong{font-size:17px}.s2f-commerce-received .commerce-native .woocommerce-customer-details address{background:white;border:1px solid var(--line);border-radius:8px;padding:20px;line-height:1.8}.commerce-followup{background:#e7f5fb;border:1px solid var(--line);border-radius:12px;padding:28px;margin-top:30px}.commerce-followup h2{font-size:25px}.commerce-followup p:last-child{margin-bottom:0}
@media(max-width:900px){.s2f-commerce-checkout .commerce-native form.checkout{display:block}.s2f-commerce-checkout .commerce-native #customer_details{margin-bottom:28px}.commerce-native .wc-block-cart__main,.commerce-native .wc-block-cart__sidebar{padding:18px}}
@media(max-width:600px){.s2f-storefront-commerce .s2f-commerce-main{padding:0 20px 45px}.commerce-intro{margin-top:28px}.commerce-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.commerce-steps li{font-size:12px}.commerce-links{flex-wrap:wrap}.commerce-test-note{gap:3px;flex-direction:column}.commerce-native table.shop_table th,.commerce-native table.shop_table td{padding:10px;font-size:13px}.s2f-commerce-checkout .commerce-native #customer_details{padding:18px}.commerce-native .form-row-first,.commerce-native .form-row-last{float:none!important;width:100%!important}.commerce-native .woocommerce-columns .woocommerce-column{float:none;width:100%;margin-bottom:20px}.commerce-followup{padding:20px}.commerce-native #shipping_method label{font-size:13px}}

/* WooCommerce clearfix pseudo-elements must not occupy order-summary grid cells. */
.s2f-commerce-received .commerce-native .woocommerce-order-overview::before,.s2f-commerce-received .commerce-native .woocommerce-order-overview::after{content:none;display:none}
.s2f-pickup-instructions{margin:24px 0;padding:24px;border:1px solid #c8dbe4;border-radius:10px;background:#e7f5fb}.s2f-pickup-instructions h2{font-size:25px}.s2f-pickup-instructions address{font-style:normal;line-height:1.7}

.commerce-native .s2f-artwork-scroll{max-width:100%;overflow-x:auto;margin:20px 0;border:1px solid var(--line);border-radius:10px;background:white}.commerce-native .s2f-artwork-table{width:100%;min-width:840px;border-collapse:collapse;table-layout:auto;font-size:14px}.commerce-native .s2f-artwork-table th,.commerce-native .s2f-artwork-table td{padding:14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:normal;word-break:normal}.commerce-native .s2f-artwork-table th{background:#e7f5fb;white-space:nowrap}.commerce-native .s2f-artwork-table td:first-child{min-width:180px;max-width:270px;overflow-wrap:anywhere}.commerce-native .s2f-artwork-table td:nth-child(2){min-width:135px}.commerce-native .s2f-artwork-table .button{white-space:nowrap}.s2f-artwork-scroll:focus-visible{outline:3px solid #0086ac;outline-offset:3px}

/* Stack the native checkout review on phones: shipping labels must not
   determine the product-description column width. Keep the table markup. */
@media(max-width:600px){
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table,
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table tbody,
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table tfoot{display:block;width:100%}
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table thead{display:none}
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table tr{display:block;width:100%;border-bottom:1px solid var(--line)}
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table th,
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table td{display:block;width:100%;box-sizing:border-box;border:0;text-align:left}
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table td.product-total{padding-top:0;text-align:right}
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table tfoot th{padding-bottom:0}
.s2f-commerce-checkout .commerce-native .woocommerce-checkout-review-order-table #shipping_method{margin:0;padding:0}
}

/* Verified artwork spans both columns; native shipping and totals keep their table layout. */
.s2f-commerce-checkout .commerce-native #order_review { float: none; width: 100%; }
.s2f-commerce-checkout .commerce-native table:has(.s2f-review-row) { width: 100%; }
.s2f-commerce-checkout .commerce-native table:has(.s2f-review-row) > thead { display: none; }
.s2f-commerce-checkout .commerce-native table.shop_table .s2f-review-row > td { padding: 0; border-top: 0; }
.s2f-review-card { padding: clamp(16px, 2vw, 26px); color: var(--ink); background: #fff; text-align: left; }
.s2f-review-row + .s2f-review-row .s2f-review-card { border-top: 1px solid var(--line); }
.s2f-review-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.s2f-commerce-checkout .s2f-review-head h3,
.s2f-review-price { margin: 0; font: 700 clamp(18px, 1.6vw, 23px)/1.2 Arial, Helvetica, sans-serif; letter-spacing: -.025em; }
.s2f-review-price { white-space: nowrap; }
.s2f-commerce-checkout .commerce-native table .s2f-review-card :is(.s2f-review-file, .s2f-review-specs) {
    display: grid; grid-template-columns: minmax(94px, 8.5em) minmax(0, 1fr);
    gap: 6px 14px; margin: 0; padding: 0; font: 15px/1.45 Arial, Helvetica, sans-serif;
}
.s2f-review-card :is(.s2f-review-file, .s2f-review-specs) dt { color: var(--muted); font-weight: 500; }
.s2f-review-card :is(.s2f-review-file, .s2f-review-specs) dd { min-width: 0; margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.s2f-commerce-checkout .commerce-native table .s2f-review-card .s2f-review-file + .s2f-review-file { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.s2f-commerce-checkout .commerce-native table .s2f-review-card .s2f-review-specs { margin-top: 6px; }
.s2f-review-layout { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 14px; }
.s2f-review-layout summary { width: fit-content; padding: 4px 0; cursor: pointer; font-weight: 700; color: var(--action); }
.s2f-review-layout p { margin: 4px 0; }
.s2f-review-card .variation { margin: 12px 0 0; }
@media (max-width: 600px) {
    .s2f-commerce-checkout .commerce-native .s2f-review-row { border: 0; }
    .s2f-commerce-checkout .commerce-native table .s2f-review-card :is(.s2f-review-file, .s2f-review-specs) { grid-template-columns: 92px minmax(0, 1fr); gap: 5px 10px; font-size: 14px; }
}

/* Give totals labels their own space even when the shipping list contains long descriptions. */
.s2f-commerce-checkout #order_review table:has(.s2f-review-row) tfoot th {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-align: start;
}
.s2f-commerce-checkout #order_review table:has(.s2f-review-row) tfoot tr:not(.shipping) > td {
    text-align: end;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 601px) {
    .s2f-commerce-checkout #order_review table:has(.s2f-review-row) tfoot th {
        width: 28%;
        min-width: 7rem;
    }
}
@media (max-width: 600px) {
    .s2f-commerce-checkout #order_review table:has(.s2f-review-row) tfoot tr:not(.shipping) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: baseline;
    }
    .s2f-commerce-checkout #order_review table:has(.s2f-review-row) tfoot tr:not(.shipping) > th {
        padding-bottom: 10px;
    }
}

/* Artwork bundles in the native cart. Other product rows retain their native layout. */
.s2f-commerce-cart .wc-block-cart__main:has(.s2f-cart-specs) {
    align-self: start;
    height: auto;
    min-width: 0;
}
.s2f-commerce-cart .wc-block-cart__main table.wc-block-cart-items:has(.s2f-cart-specs) {
    width: 100%;
}
.s2f-commerce-cart .wc-block-cart-items__row:has(.s2f-cart-specs) .wc-block-components-product-name,
.s2f-commerce-cart .wc-block-cart-items__row:has(.s2f-cart-specs) .wc-block-cart-item__total .wc-block-components-product-price {
    font: 700 clamp(18px, 1.6vw, 23px)/1.25 Arial, Helvetica, sans-serif;
    color: var(--ink);
    letter-spacing: -.025em;
}
.s2f-commerce-cart .wc-block-cart-items__row:has(.s2f-cart-single) .wc-block-cart-item__prices:not(:has(del)) {
    display: none;
}
.s2f-commerce-cart .wc-block-cart-items__row:has(.s2f-cart-specs) .wc-block-components-product-metadata {
    width: 100%;
    min-width: 0;
    margin: 10px 0 0;
}
.s2f-commerce-cart .wc-block-components-product-details:has(.s2f-cart-specs) {
    display: block;
    margin: 0;
}
.s2f-commerce-cart .wc-block-components-product-details__print-details:has(.s2f-cart-specs) {
    display: block;
}
.s2f-commerce-cart .wc-block-components-product-details__name:has(~ .wc-block-components-product-details__value .s2f-cart-specs),
.s2f-commerce-cart .s2f-cart-specs > br { display: none; }
.s2f-commerce-cart .s2f-cart-specs {
    display: grid;
    gap: 6px;
    font: 15px/1.5 Arial, Helvetica, sans-serif;
    color: var(--ink);
    text-align: start;
}
.s2f-commerce-cart .s2f-cart-field {
    display: grid;
    grid-template-columns: 8.5em minmax(0, 1fr);
    gap: 14px;
}
.s2f-commerce-cart .s2f-cart-field > strong { color: var(--muted); font-weight: 700; }
.s2f-commerce-cart .s2f-cart-field > span { min-width: 0; overflow-wrap: anywhere; font-weight: 400; }
.s2f-commerce-cart .s2f-cart-roll { display: block; }
.s2f-commerce-cart .s2f-cart-file:not(:first-child),
.s2f-commerce-cart .s2f-cart-layout { margin-top: 5px; padding-top: 10px; border-top: 1px solid var(--line); }
.s2f-commerce-cart .s2f-cart-layout { font-size: 14px; color: var(--muted); grid-template-columns: 127.5px minmax(0, 1fr); }
.s2f-commerce-cart .wc-block-cart-items__row:has(.s2f-cart-specs) .wc-block-cart-item__quantity {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 12px 0 0;
    padding: 0;
}
.s2f-commerce-cart .wc-block-cart-items__row:has(.s2f-cart-specs) .wc-block-cart-item__remove-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    min-width: 32px;
}
.s2f-commerce-cart .s2f-artwork-item .wc-block-cart-item__quantity:has(.wc-block-components-quantity-selector)::before {
    content: "Quantity";
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

/* A cart of verified artwork can use the full width for file details below the name and total. */
.s2f-commerce-cart .wc-block-cart__main table.wc-block-cart-items:has(.s2f-artwork-item):not(:has(tbody tr:not(.s2f-artwork-item))) {
    display: block;
    margin: 0;
    border: 0;

    & > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    & > tbody { display: block; }
    & .s2f-artwork-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        column-gap: 12px;
        padding: 0;
        border: 0;
        align-items: start;
    }
    & .s2f-artwork-item + .s2f-artwork-item { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
    & .wc-block-cart-item__image { display: none; }
    & .wc-block-cart-item__product, & .wc-block-cart-item__wrap {
        display: grid;
        grid-template-columns: subgrid;
        grid-column: 1 / -1;
        grid-row: 1;
        min-width: 0;
        gap: 0 12px;
        padding: 0;
        margin: 0;
        border: 0;
    }
    & .wc-block-cart-item__wrap > * { grid-column: 1 / -1; min-width: 0; }
    & .wc-block-cart-item__wrap > .wc-block-components-product-name { grid-column: 1; }
    & .wc-block-cart-item__quantity { grid-row: auto; }
    & .wc-block-cart-item__total { grid-area: 1 / 2; align-self: start; justify-self: end; margin: 0; padding: 0; border: 0; }
}
@media (max-width: 600px) {
    .s2f-commerce-cart .s2f-cart-field {
        grid-template-columns: 6.6rem minmax(0, 1fr);
        gap: 10px;
        font-size: 14px;
    }
}

/* A direct path to the next upload before customers commit to checkout. */
.s2f-commerce-cart .s2f-cart-products {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding: 18px 24px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.s2f-commerce-cart .s2f-cart-products h2 {
    margin: 0;
    color: var(--ink);
    font: 700 20px/1.25 Arial, Helvetica, sans-serif;
    letter-spacing: -.025em;
}
.s2f-commerce-cart .s2f-cart-products p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--muted);
}
.s2f-cart-product-links { display: flex; flex-wrap: wrap; gap: 8px; }
.s2f-commerce-cart .s2f-cart-product-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid var(--action);
    border-radius: 6px;
    color: var(--action);
    font: 700 15px/1.3 Arial, Helvetica, sans-serif;
    text-decoration: none;
}
.s2f-commerce-cart .s2f-cart-product-links a:is(:hover, :focus-visible) { background: #e7f5fb; }
.s2f-commerce-cart .commerce-native:has(.s2f-cart-recovery):not(:has(.wc-block-cart-items__row)) .s2f-cart-products { display: none; }
@media (max-width: 600px) {
    .s2f-commerce-cart .s2f-cart-products { padding: 16px; }
    .s2f-cart-product-links { flex: 1 1 100%; }
    .s2f-commerce-cart .s2f-cart-product-links a { flex: 1 0 auto; }
}
