.fdf-commerce-page .fdf-page {background:var(--wp--preset--color--surface)}
.fdf-commerce-hero {padding:32px 0 48px;background:radial-gradient(ellipse at 90% 0,rgb(36 86 183 / 12%),transparent 62%),linear-gradient(120deg,#fff,var(--wp--preset--color--surface));border-bottom:1px solid var(--wp--preset--color--border)}
.fdf-commerce-hero nav {font-size:14px;line-height:20px;margin-bottom:32px;color:var(--wp--preset--color--muted)}
.fdf-commerce-hero nav a {text-decoration:none}
.fdf-commerce-hero h1 {font-size:40px;line-height:48px;margin:12px 0 20px;font-weight:600}
.fdf-commerce-hero p {margin:0;font-size:18px;line-height:28px;color:var(--wp--preset--color--muted)}
.fdf-commerce-hero .fdf-eyebrow {font-size:14px;line-height:20px;color:var(--wp--preset--color--amber);text-transform:uppercase;letter-spacing:.04em}
.fdf-commerce-content {max-width:1358px;margin:0 auto;padding:48px 24px 64px}
.fdf-commerce-page .fdf-commerce-content > .woocommerce {max-width:none;width:100%}
.fdf-cart-layout {display:grid;grid-template-columns:minmax(0,1fr) 370px;align-items:start;gap:24px}
.fdf-commerce-page .woocommerce .cart-collaterals {width:auto}
.fdf-commerce-page .woocommerce .cart-collaterals .cart_totals {width:100%;float:none}
.fdf-commerce-page .woocommerce .shop_table {border:0;margin:0}
.fdf-commerce-panel,.fdf-cart-line {padding:24px;border:1px solid var(--wp--preset--color--border);border-radius:12px;background:white}
.fdf-commerce-page .woocommerce h2 {margin:0 0 24px;font-size:24px;line-height:30px;font-weight:600}
.fdf-cart-line {display:grid;grid-template-columns:144px minmax(0,1fr);gap:24px;margin-bottom:16px}
.fdf-cart-line .product-thumbnail {align-self:start}
.fdf-cart-line .product-thumbnail img {width:144px;height:144px;object-fit:contain}
.fdf-commerce-page .woocommerce .fdf-cart-line h2 {font-size:18px;line-height:26px;margin:0 0 12px}
.fdf-cart-line h2 a,.fdf-checkout-line h3 a {color:var(--wp--preset--color--navy);text-decoration:none}
.fdf-cart-brand,.fdf-line-sku,.fdf-commerce-page .woocommerce dl.variation,.fdf-commerce-note {font-size:14px;line-height:20px;color:var(--wp--preset--color--muted);margin:0 0 8px}
.fdf-commerce-page .woocommerce dl.variation {display:flex;flex-wrap:wrap;gap:0 8px}
.fdf-commerce-page .woocommerce dl.variation dt,.fdf-commerce-page .woocommerce dl.variation dd {float:none;margin:0;padding:0;font-weight:400}
.fdf-commerce-page .woocommerce dl.variation p {margin:0}
.fdf-commerce-stock {color:var(--wp--preset--color--success);font-size:14px;margin:8px 0 16px}
.fdf-commerce-stock::before {content:'●';margin-right:8px;font-size:10px}
.fdf-cart-line-bottom {display:flex;align-items:center;justify-content:space-between;gap:16px}
.product-subtotal {text-align:right}
.product-subtotal strong,.fdf-checkout-line-price strong {display:block;font-size:20px;line-height:26px;color:var(--wp--preset--color--navy)}
.product-subtotal del,.fdf-checkout-line-price del {font-size:14px;color:var(--wp--preset--color--muted)}
.fdf-cart-quantity {display:flex;align-items:center;height:44px;border:1px solid #85939f;border-radius:8px;overflow:hidden;flex-shrink:0}
.fdf-cart-quantity button {width:44px;height:44px;border:0;background:white;color:var(--wp--preset--color--navy);font:inherit;cursor:pointer}
.fdf-cart-quantity button:disabled {opacity:.4;cursor:default}
.fdf-commerce-page .woocommerce .fdf-cart-quantity input {width:40px;min-width:0;height:42px;padding:0;border:0;border-radius:0;text-align:center;appearance:textfield}
.fdf-cart-quantity input::-webkit-inner-spin-button {appearance:none}
.fdf-cart-quantity span {font-size:14px;padding-right:8px}
.fdf-commerce-page .woocommerce a.fdf-cart-remove {display:inline-block;width:auto;height:auto;color:var(--wp--preset--color--blue)!important;border-radius:0;font-size:14px;line-height:24px;font-weight:400;text-decoration:underline;margin-top:12px;background:none!important}
.fdf-order-totals {margin:0}
.fdf-order-totals > div {display:flex;justify-content:space-between;gap:16px;margin-bottom:16px;font-size:14px;line-height:20px}
.fdf-order-totals dt {color:var(--wp--preset--color--muted)}
.fdf-order-totals dd {margin:0;text-align:right;color:var(--wp--preset--color--navy)}
.fdf-order-totals dd .amount {white-space:nowrap}
.fdf-order-totals .order-total {border-top:1px solid var(--wp--preset--color--border);padding-top:24px;align-items:center}
.fdf-order-totals .order-total dt {font-size:20px;line-height:28px;font-weight:700;color:var(--wp--preset--color--navy)}
.fdf-order-totals .order-total dd {font-size:28px;line-height:36px;font-weight:700}
.fdf-order-totals .fdf-order-saving {padding-top:16px;border-top:1px solid var(--wp--preset--color--border)}
.fdf-commerce-page .woocommerce :is(a.button,button.button) {display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 24px;border:1px solid var(--wp--preset--color--amber);border-radius:999px;background:var(--wp--preset--color--amber);color:var(--wp--preset--color--navy);font:inherit;font-weight:600;text-decoration:none;line-height:24px}
.fdf-commerce-page .woocommerce :is(a.button,button.button):is(:hover,:focus-visible) {background:var(--wp--preset--color--amber-hover);color:var(--wp--preset--color--navy)}
.fdf-commerce-page .woocommerce :is(a.button,button.button):disabled {opacity:.5}
.fdf-commerce-page .woocommerce .wc-proceed-to-checkout {padding:16px 0}
.fdf-commerce-page .woocommerce .checkout-button {width:100%;margin:0}
.fdf-text-button {border:0;background:none;color:var(--wp--preset--color--blue);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;padding:8px 0}
.fdf-cart-actions {display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:24px;padding-top:16px}
.fdf-commerce-page .woocommerce .fdf-cart-actions .coupon {display:flex;flex-direction:column;gap:12px;flex:1;min-width:240px;align-items:stretch}
.fdf-commerce-page .woocommerce .fdf-cart-actions .coupon label {display:block;font-size:14px;margin:0}
.fdf-coupon-row {display:flex;gap:12px}
.fdf-commerce-page .woocommerce :is(input[type=text],input[type=email],input[type=tel],textarea,select) {max-width:100%;height:52px;padding:13px 16px;border:1px solid #85939f;border-radius:8px;background:white;color:var(--wp--preset--color--navy);font:inherit;font-size:16px;line-height:24px}
.fdf-coupon-row input {min-width:0;width:100%}
.fdf-commerce-page .woocommerce textarea {height:120px;resize:vertical}
.fdf-commerce-page .woocommerce .form-row {margin:0 0 24px;padding:0}
.fdf-commerce-page .woocommerce .form-row label {font-size:14px;line-height:20px;margin-bottom:8px}
.fdf-commerce-page .woocommerce .form-row .input-text {width:100%}
.fdf-commerce-page .woocommerce .form-row .optional {font-size:14px}
.fdf-commerce-page .woocommerce .form-row.woocommerce-invalid .input-text {border-color:var(--wp--preset--color--danger)}
.fdf-commerce-page .woocommerce .form-row .input-text[aria-invalid=true] {border-color:var(--wp--preset--color--danger)}
.fdf-commerce-page .woocommerce .fdf-phone-checkout > input {width:100%;min-width:0}
.fdf-phone-checkout > input:focus {outline:none;box-shadow:none}
.fdf-phone-checkout {position:relative;grid-column:auto;grid-row:auto;border-radius:8px}
.fdf-phone-checkout::after {content:'';position:absolute;left:68px;top:22px;width:6px;height:6px;border-right:1px solid var(--wp--preset--color--navy);border-bottom:1px solid var(--wp--preset--color--navy);transform:rotate(45deg);pointer-events:none}
.fdf-checkout-layout {display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:24px;align-items:start}
.fdf-checkout-layout > .woocommerce-NoticeGroup-checkout {grid-column:1/-1;grid-row:1}
.fdf-checkout-layout:has(> .woocommerce-NoticeGroup-checkout) .fdf-checkout-contact {grid-row:2/4}
.fdf-checkout-layout:has(> .woocommerce-NoticeGroup-checkout) .fdf-checkout-summary {grid-row:2}
.fdf-checkout-layout:has(> .woocommerce-NoticeGroup-checkout) .fdf-checkout-after {grid-row:3}
.fdf-checkout-contact {grid-column:1;grid-row:1/3;padding:32px}
.fdf-checkout-summary {grid-column:2;grid-row:1}
.fdf-checkout-line {padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--wp--preset--color--border)}
.fdf-checkout-line h3 {font-size:18px;line-height:26px;margin:0 0 12px}
.fdf-checkout-line-price {display:flex;align-items:end;justify-content:space-between;gap:16px;font-size:14px;margin-top:16px}
.fdf-checkout-line-price > div {text-align:right}
.fdf-checkout-consent {display:flex;gap:12px;align-items:start;font-size:14px;line-height:20px;margin:24px 0}
.fdf-checkout-consent input {width:20px;height:20px;flex-shrink:0;accent-color:var(--wp--preset--color--amber)}
.fdf-commerce-page #payment {background:transparent}
.fdf-commerce-page #payment ul.payment_methods {padding:0;border:0}
.fdf-commerce-page #payment div.payment_box {margin:12px 0 24px;padding:16px;background:var(--wp--preset--color--surface);color:var(--wp--preset--color--navy);border-radius:8px}
.fdf-commerce-page #payment div.payment_box::before {display:none}
.fdf-commerce-page #payment div.form-row {padding:0}
.fdf-commerce-page #payment #place_order {width:100%;float:none}
.fdf-checkout-after {grid-column:2;grid-row:2;font-size:14px;line-height:22px;padding:0 16px}
.fdf-commerce-page .woocommerce .fdf-checkout-after h2 {font-size:20px;line-height:28px;margin:0 0 8px}
.fdf-commerce-assurances {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:32px;background:white;border:1px solid var(--wp--preset--color--border);border-radius:12px}
.fdf-commerce-assurances > div {display:flex;gap:16px;align-items:center;padding:24px}
.fdf-commerce-assurances > div+div {border-left:1px solid var(--wp--preset--color--border)}
.fdf-commerce-assurances svg {width:24px;height:24px;flex-shrink:0;color:var(--wp--preset--color--amber)}
.fdf-commerce-assurances p {margin:0;font-size:14px;line-height:20px}
.fdf-commerce-assurances strong,.fdf-commerce-assurances span {display:block}
.fdf-commerce-assurances span {color:var(--wp--preset--color--muted);margin-top:4px}
.fdf-commerce-page .woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error) {border-radius:8px;font-size:14px;background:white;color:var(--wp--preset--color--navy)}
.fdf-confirmed-lines article {display:flex;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid var(--wp--preset--color--border)}
.fdf-confirmed-lines article > strong {white-space:nowrap}
.fdf-confirmed-lines .wc-item-meta {font-size:14px;padding-left:0;list-style:none;color:var(--wp--preset--color--muted)}
.fdf-confirmed-lines .wc-item-meta p {display:inline}
.fdf-confirmed-total {display:flex;justify-content:space-between;gap:24px;align-items:center}
.fdf-confirmed-discounts {margin-top:24px}
.fdf-confirmed-total strong {font-size:28px;line-height:36px}
@media(max-width:1040px) {
 .fdf-cart-layout,.fdf-checkout-layout {grid-template-columns:minmax(0,1fr) 340px}
 .fdf-cart-line {grid-template-columns:96px minmax(0,1fr);gap:16px;padding:16px}
 .fdf-cart-line .product-thumbnail img {width:96px;height:96px}
 .fdf-cart-line-bottom {flex-wrap:wrap}
}
@media(max-width:760px) {
 .fdf-commerce-content {padding:32px 16px 48px}
 .fdf-commerce-hero {padding:24px 0 32px}
 .fdf-commerce-hero h1 {font-size:32px;line-height:38px}
 .fdf-commerce-hero p {font-size:16px;line-height:24px}
 .fdf-cart-layout,.fdf-checkout-layout {grid-template-columns:minmax(0,1fr)}
 .fdf-checkout-summary {grid-column:1;grid-row:1}
 .fdf-checkout-contact {grid-column:1;grid-row:2;padding:24px}
 .fdf-checkout-after {grid-column:1;grid-row:3}
 .fdf-checkout-layout:has(> .woocommerce-NoticeGroup-checkout) .fdf-checkout-contact {grid-row:3}
 .fdf-checkout-layout:has(> .woocommerce-NoticeGroup-checkout) .fdf-checkout-after {grid-row:4}
 .fdf-cart-line {grid-template-columns:80px minmax(0,1fr);gap:12px}
 .fdf-cart-line .product-thumbnail img {width:80px;height:80px}
 .fdf-cart-line-bottom {align-items:start;gap:12px}
 .fdf-cart-line h2 {overflow-wrap:anywhere}
 .fdf-commerce-assurances {grid-template-columns:1fr}
 .fdf-commerce-assurances > div+div {border-left:0;border-top:1px solid var(--wp--preset--color--border)}
 .fdf-coupon-row {flex-direction:column}
 .fdf-coupon-row .button {width:100%}
 .fdf-confirmed-lines article {flex-direction:column;gap:12px}
 .fdf-confirmed-total {flex-direction:column;align-items:start;gap:8px}
}
