/* Checkout Studio: shared storefront and design-preview foundation. */
.cpk-checkout{--cpk-accent:#292e31;--cpk-ink:#252a2d;--cpk-surface:#fff;--cpk-line:#e5e1d9;--cpk-button-text:#fff;box-sizing:border-box;max-width:1160px;margin:24px auto;padding:clamp(24px,4vw,56px);border:1px solid var(--cpk-line);border-radius:16px;background:var(--cpk-surface);box-shadow:0 14px 60px #27231c06;color:var(--cpk-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.65;text-align:left}
.cpk-checkout *,.cpk-checkout *:before,.cpk-checkout *:after{box-sizing:border-box}.cpk-checkout p{color:#76756f}.cpk-header{padding-bottom:30px;margin-bottom:32px;border-bottom:1px solid var(--cpk-line)}.cpk-eyebrow,.cpk-section-label{color:#9a805b;font-size:10px;font-weight:650;letter-spacing:.18em;text-transform:uppercase;line-height:1.5}.cpk-header h2{font-family:Georgia,"Times New Roman",serif;color:var(--cpk-ink);font-size:clamp(34px,4vw,46px);font-weight:400;line-height:1.15;letter-spacing:-.035em;margin:12px 0}.cpk-header p{font-size:14px;margin:0;max-width:600px}.cpk-checkout h3{font-family:inherit;color:var(--cpk-ink);font-size:18px;font-weight:600;letter-spacing:-.025em;line-height:1.4;margin:8px 0 22px}.cpk-packages{margin-bottom:34px;min-width:0}.cpk-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.cpk-checkout .cpk-package{display:block;position:relative;margin:0;border:1px solid var(--cpk-line);border-radius:10px;padding:22px 18px;cursor:pointer;background:#fff;transition:border-color .2s,box-shadow .2s,background .2s;min-width:0}.cpk-package:hover{border-color:#b6a48b}.cpk-package.is-selected{border-color:var(--cpk-accent);background:#fbfaf7;box-shadow:0 0 0 1px var(--cpk-accent)}.cpk-package:focus-within{outline:2px solid var(--cpk-accent);outline-offset:4px}.cpk-checkout .cpk-package input[type=radio]{position:absolute;right:14px;top:14px;accent-color:var(--cpk-accent);height:16px;width:16px;margin:0}.cpk-package-body{display:flex;flex-direction:column;gap:12px}.cpk-checkout .cpk-product-image{width:76px;height:76px;object-fit:contain;border-radius:8px;background:#f6f4ef;padding:5px}.cpk-package-copy,.cpk-product-name,.cpk-product-price{display:block}.cpk-product-name{font-size:13px;line-height:1.5;font-weight:600;padding-right:14px;overflow-wrap:anywhere}.cpk-product-price{font-size:22px;font-weight:550;letter-spacing:-.04em;color:var(--cpk-ink);margin-top:6px}.cpk-product-price del{font-size:12px;font-weight:400;color:#98948b}.cpk-product-price ins{background:transparent;text-decoration:none}.cpk-picked{display:block;visibility:hidden;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.08em;color:#8b7048;margin-top:8px}.cpk-package.is-selected .cpk-picked{visibility:visible}.cpk-selection-status{font-size:11px;min-height:18px;margin:12px 0 0;color:#8b8173}.cpk-checkout .cpk-preview-note{border:0;border-left:2px solid #bca681;border-radius:0;padding:8px 12px;background:#f8f6f1;font-size:11px;color:#7b7469;margin:0 0 25px}
.cpk-checkout #customer_details,.cpk-checkout #customer_details .col-1,.cpk-checkout #customer_details .col-2{float:none;width:100%;min-width:0}.cpk-checkout .woocommerce-billing-fields>h3,.cpk-checkout #order_review_heading{display:none}.cpk-checkout form.checkout{margin:0}.cpk-checkout .woocommerce-billing-fields__field-wrapper,.cpk-checkout .cpk-preview-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px;align-items:start}.cpk-checkout form .form-row,.cpk-checkout .cpk-preview-field{padding:0;margin:0;float:none;width:100%;min-width:0;grid-column:1/-1;clear:none}.cpk-checkout form .form-row.cpk-field-half,.cpk-checkout .cpk-preview-field.cpk-width-half{grid-column:auto}.cpk-checkout .woocommerce-input-wrapper{display:block;width:100%}.cpk-checkout form .form-row label,.cpk-checkout .cpk-preview-field label{display:block;font-size:12px;font-weight:550;color:#525651;margin-bottom:7px}.cpk-preview-field label{margin-bottom:0!important}.cpk-checkout .required,.cpk-preview-requirement abbr{color:#9a805b;border:0;text-decoration:none}.cpk-checkout .optional,.cpk-preview-requirement small{color:#98988f;font-weight:400;font-size:10px;margin-left:3px}.cpk-checkout input.input-text,.cpk-checkout select,.cpk-checkout textarea,.cpk-checkout .cpk-preview-fields input{background:#fff;box-shadow:none;border:1px solid var(--cpk-line);border-radius:6px;color:var(--cpk-ink);font:inherit;font-size:13px;min-height:48px;width:100%;padding:12px 14px}.cpk-checkout .cpk-preview-fields input{margin-top:7px;background:#fff;opacity:1;color:#777b73}.cpk-checkout input::placeholder,.cpk-checkout textarea::placeholder{color:#aaa89e;font-size:12px}.cpk-checkout input:focus,.cpk-checkout textarea:focus,.cpk-checkout select:focus{outline:2px solid #bba47b;outline-offset:2px;border-color:#bba47b}.cpk-checkout .select2-container{width:100%!important;max-width:100%}.cpk-checkout .select2-container .select2-selection--single{border:1px solid var(--cpk-line);border-radius:6px;height:48px;background:#fff}.cpk-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:46px;padding-left:14px;font-size:13px;color:var(--cpk-ink)}.cpk-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;right:8px}.cpk-checkout .woocommerce-invalid .input-text{border-color:#a3554d}.cpk-review-label{padding-top:30px;clear:both}.cpk-checkout #order_review{float:none;width:100%;min-width:0;background:#f7f5f0;border:1px solid var(--cpk-line);border-radius:12px;padding:24px}.cpk-checkout table.shop_table{border:0;border-radius:0;border-collapse:collapse;width:100%;margin:0 0 24px;font-size:13px;background:transparent;table-layout:auto}.cpk-checkout table.shop_table th,.cpk-checkout table.shop_table td{padding:15px 0;border:0;border-bottom:1px solid var(--cpk-line);text-align:left;vertical-align:top;font-weight:400}.cpk-checkout table.shop_table thead th{color:#8d897e;font-size:10px;letter-spacing:.1em;text-transform:uppercase;padding-top:0}.cpk-checkout table.shop_table .product-name{overflow-wrap:anywhere;padding-right:18px}.cpk-checkout table.shop_table .product-total,.cpk-checkout table.shop_table tfoot td{text-align:right}.cpk-checkout table.shop_table .order-total th,.cpk-checkout table.shop_table .order-total td{font-size:17px;font-weight:650;border-bottom:0}.cpk-checkout table.shop_table ul{padding-left:0;list-style:none}.cpk-checkout table.shop_table small{font-size:11px;color:#8b897d}.cpk-checkout #payment{border:0;border-radius:0;background:transparent}.cpk-checkout #payment ul.payment_methods{border:0;border-bottom:1px solid var(--cpk-line);padding:0 0 22px;margin:0;list-style:none;font-size:12px}.cpk-checkout #payment ul.payment_methods li{margin:0 0 12px;list-style:none}.cpk-checkout #payment ul.payment_methods label{font-weight:600}.cpk-checkout #payment div.payment_box{padding:12px;background:#ede9df;color:#757166;font-size:12px;border-radius:5px;margin:10px 0}.cpk-checkout #payment div.payment_box:before{border-bottom-color:#ede9df}.cpk-checkout #payment div.place-order{padding:20px 0 0;margin:0}.cpk-checkout .woocommerce-privacy-policy-text,.cpk-checkout .woocommerce-terms-and-conditions-wrapper{font-size:11px;line-height:1.7;color:#848178;clear:both}.cpk-checkout #place_order,.cpk-checkout .cpk-preview-button{float:none;display:block;width:100%;min-height:54px;border:0;border-radius:6px;background:var(--cpk-accent);color:var(--cpk-button-text);padding:17px 20px;font-family:inherit;font-size:13px;font-weight:600;letter-spacing:.02em;line-height:1.3;cursor:pointer;box-shadow:0 4px 10px #1c202012}.cpk-checkout #place_order:hover{filter:brightness(1.12)}.cpk-checkout #place_order:disabled{opacity:.6;cursor:wait}.cpk-checkout .cpk-preview-button:disabled{opacity:1;cursor:default}.cpk-checkout .woocommerce-NoticeGroup,.cpk-checkout .woocommerce-error{grid-column:1/-1}.cpk-checkout .woocommerce-error,.cpk-checkout .woocommerce-info{font-size:13px;border:1px solid var(--cpk-line);background:#fcfaf6;color:#626358;border-radius:6px;padding:16px 20px}.cpk-package-style-rows .cpk-package-grid{grid-template-columns:1fr}.cpk-package-style-rows .cpk-package-body{flex-direction:row;align-items:center}.cpk-package-style-rows .cpk-product-image{width:60px;height:60px}.cpk-package-style-rows .cpk-package-copy{flex:1;padding-right:16px}.cpk-package-style-rows .cpk-product-price{font-size:19px}.cpk-package-style-rows .cpk-package{padding:18px}.cpk-empty-package{padding:24px;border:1px dashed var(--cpk-line);border-radius:8px;font-size:12px;color:#938773;grid-column:1/-1}
/* The same semantic preview structure is used in Elementor and the admin studio. */
.cpk-preview-layout{display:grid;grid-template-columns:1fr;gap:0 36px}.cpk-preview-layout>.cpk-packages{grid-column:1/-1}.cpk-preview-customer,.cpk-preview-summary{min-width:0}.cpk-preview-summary{margin-top:30px}.cpk-preview-summary-card{background:#f7f5f0;border:1px solid var(--cpk-line);border-radius:12px;padding:24px}.cpk-preview-order-line,.cpk-preview-order-total{display:flex;gap:20px;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--cpk-line);font-size:12px}.cpk-preview-order-line:first-child{padding-top:0}.cpk-preview-order-line strong{white-space:nowrap;font-weight:550}.cpk-preview-order-line small{font-size:10px;text-align:right;color:#928a7b}.cpk-preview-order-total{border:0;font-size:18px;margin-bottom:10px}.cpk-preview-payment{padding:18px 0;border-top:1px solid var(--cpk-line);margin-bottom:18px}.cpk-preview-payment span,.cpk-preview-payment small{display:block;font-size:12px}.cpk-preview-payment small{font-size:10px;color:#91897e;margin-top:6px}.cpk-checkout .cpk-preview-disclaimer{font-size:10px;color:#98917f;text-align:center;margin:13px 0 0}
@media(min-width:900px){.cpk-layout-two form.checkout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);grid-template-areas:"notices notices" "packages packages" "info-label review-label" "info-title review-title" "details summary";gap:0 38px;align-items:start}.cpk-layout-two .cpk-packages{grid-area:packages}.cpk-layout-two form.checkout>.cpk-section-label:not(.cpk-review-label){grid-area:info-label}.cpk-layout-two .cpk-customer-heading{grid-area:info-title}.cpk-layout-two #customer_details{grid-area:details}.cpk-layout-two form.checkout>.cpk-review-label{grid-area:review-label;padding-top:0}.cpk-layout-two .cpk-review-heading{grid-area:review-title}.cpk-layout-two #order_review{grid-area:summary}.cpk-layout-two .woocommerce-NoticeGroup{grid-area:notices}.cpk-layout-two .cpk-preview-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}.cpk-layout-two .cpk-preview-summary{margin-top:0}}
@media(max-width:640px){.cpk-checkout{margin:12px auto;padding:26px 18px;border-radius:12px}.cpk-header{margin-bottom:26px;padding-bottom:24px}.cpk-header h2{font-size:34px}.cpk-package-grid{grid-template-columns:1fr}.cpk-package-body{flex-direction:row;align-items:center}.cpk-checkout .cpk-product-image{width:60px;height:60px}.cpk-checkout #order_review,.cpk-preview-summary-card{padding:20px}.cpk-preview-layout{display:block}.cpk-package{margin-bottom:10px}.cpk-checkout h3{font-size:17px}}
@media(max-width:380px){.cpk-checkout .woocommerce-billing-fields__field-wrapper,.cpk-checkout .cpk-preview-fields{grid-template-columns:1fr}.cpk-checkout form .form-row.cpk-field-half,.cpk-checkout .cpk-preview-field.cpk-width-half{grid-column:1/-1}}

/* Slightly more compact checkout controls. */
.cpk-checkout input.input-text,.cpk-checkout select,.cpk-checkout textarea,.cpk-checkout .cpk-preview-fields input{min-height:44px;padding:10px 12px}
.cpk-checkout .select2-container .select2-selection--single{height:44px}
.cpk-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:42px}
.cpk-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:42px}
.cpk-quantity-note{margin:8px 0 14px;color:#8371b6;font-size:11px;font-weight:600}
/* 4.4: refined storefront typography and controls; Elementor color variables retained. */
.cpk-checkout{border-radius:18px;box-shadow:0 12px 42px #1e304b08}.cpk-header h2{font-family:inherit;font-weight:650;font-size:clamp(28px,3.5vw,40px);line-height:1.2;letter-spacing:-.04em}.cpk-header{padding-bottom:25px;margin-bottom:28px}.cpk-checkout input.input-text,.cpk-checkout select,.cpk-checkout textarea,.cpk-checkout .cpk-preview-fields input{border-radius:8px;transition:border-color .15s,box-shadow .15s}.cpk-checkout input.input-text:focus,.cpk-checkout select:focus,.cpk-checkout textarea:focus{outline:2px solid var(--cpk-accent);outline-offset:2px;border-color:var(--cpk-accent)}.cpk-checkout #order_review,.cpk-checkout .cpk-preview-summary-card{background:#f8fafc;border-radius:14px;padding:24px}.cpk-checkout .cpk-package{border-radius:12px}.cpk-checkout .cpk-package.is-selected{background:#fafbfd;box-shadow:0 0 0 1px var(--cpk-accent),0 5px 15px #23385406}.cpk-checkout .cpk-product-price,.cpk-checkout .order-total{font-variant-numeric:tabular-nums}.cpk-checkout #place_order,.cpk-checkout .cpk-preview-button{border-radius:9px;min-height:50px;padding:15px 18px;font-size:14px;letter-spacing:0}.cpk-checkout .select2-container .select2-selection--single{border-radius:8px}.cpk-checkout .woocommerce-billing-fields__field-wrapper,.cpk-checkout .cpk-preview-fields{gap:16px 14px}
@media(max-width:640px){.cpk-checkout{padding:24px 18px}.cpk-header h2{font-size:29px}.cpk-checkout #order_review,.cpk-checkout .cpk-preview-summary-card{padding:20px}}
@media(prefers-reduced-motion:reduce){.cpk-checkout *{transition:none!important}}
/* 4.4.1: larger mobile input text within the existing compact controls. */
.cpk-checkout input.input-text,.cpk-checkout select,.cpk-checkout textarea{max-width:100%;min-width:0}
.cpk-checkout .woocommerce-error li,.cpk-checkout .woocommerce-info{overflow-wrap:anywhere}
.cpk-checkout #payment ul.payment_methods li label{line-height:1.7}
@media(max-width:640px){
 .cpk-checkout input.input-text,.cpk-checkout select,.cpk-checkout textarea,.cpk-checkout .cpk-preview-fields input{font-size:16px;min-height:44px}
 .cpk-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{font-size:16px}
 .cpk-checkout #payment ul.payment_methods li{margin-bottom:14px}
 .cpk-checkout .cpk-product-name{overflow-wrap:anywhere}
}
