/* Approved Option 3: native WooCommerce canvas and a 370px push cart. */
:root { --fr-navy-950: #101a2b; --fr-navy-900: #101a2b; --fr-orange: #f4961d; --fr-line: #e5e9ef; --fr-cart-width: 370px; }
body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #101a2b; }
body.single-product { background: #fdfdfd; }
button, input, select, summary { font-family: inherit; }
.fr-store-site { min-width: 0; }
.fr-store-header { background: #101a2b; box-shadow: none; }
.fr-store-header__main { display: flex; gap: 38px; min-height: 90px; padding-top: 18px; padding-bottom: 18px; max-width: 1487px; }
.fr-store-header__main .fr-store-logo { font-size: 36px; white-space: nowrap; letter-spacing: -1.5px; }
.fr-store-compact-nav { display: flex; align-items: center; gap: 34px; }
.fr-store-compact-nav a, .fr-store-compact-nav summary { color: white; text-decoration: none; font-size: 16px; font-weight: 650; min-height: 48px; display: flex; align-items: center; white-space: nowrap; }
.fr-store-category-menu { position: relative; }
.fr-store-category-menu summary { cursor: pointer; gap: 10px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.fr-store-category-menu__links { position: absolute; z-index: 45; top: 100%; left: 0; padding: 12px 20px; background: white; border: 1px solid #e5e9ef; border-radius: 8px; box-shadow: 0 10px 30px #101a2b20; min-width: 230px; }
.fr-store-category-menu__links a { color: #101a2b; white-space: normal; }
.fr-store-search { flex: 1; max-width: none; min-width: 0; margin: 0; border-radius: 8px; height: 54px; }
.fr-store-search input[type="search"] { font-size: 16px; min-width: 0; }
.fr-store-search button { width: 60px; min-width: 54px; background: #f4961d; }
.fr-store-cart { min-height: 48px; min-width: 48px; position: relative; }
.fr-store-cart__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.fr-store-cart__count { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 2px 4px; font-size: 12px; }
.single-product .fr-store-content--commerce { max-width: 1380px; padding: 64px 56px 48px; }
.single-product .woocommerce-breadcrumb { display: none; }
.woocommerce .fr-store-content--commerce div.product { column-gap: 48px; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.woocommerce .fr-store-content--commerce div.product > .summary { grid-column: 2; grid-row: 1; margin: 0; min-width: 0; }
.woocommerce .fr-store-content--commerce div.product div.woocommerce-product-gallery { grid-column: 1; grid-row: 1; background: transparent; padding: 0; border-radius: 8px; position: relative; top: auto; }
.woocommerce .fr-store-content--commerce div.product .woocommerce-product-gallery__image img { aspect-ratio: 1; max-height: none; object-fit: contain; border-radius: 8px; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs { justify-content: center; padding: 20px 0 0; gap: 10px; flex-wrap: wrap; }
.woocommerce .fr-store-content--commerce div.product div.woocommerce-product-gallery .flex-control-thumbs { margin-top: 20px; padding-top: 0; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 84px; flex-basis: 84px; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img { aspect-ratio: .85; object-fit: contain; border: 1px solid #e5e9ef; background: white; }
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active { border: 2px solid #101a2b; }
.fr-store-product-intro { padding: 6px 0 22px; margin-bottom: 20px; border-bottom: 1px solid #e5e9ef; }
.woocommerce div.product .fr-store-product-intro .product_title { font-size: 32px; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 18px; font-weight: 750; }
.woocommerce div.product .fr-store-product-intro > .price { font-size: 30px; font-weight: 750; margin-bottom: 22px; }
.fr-store-option-hint { font-size: 16px; font-weight: 600; margin: 0; }
.woocommerce .fr-store-content--commerce .fr-store-variation-chips { gap: 20px; margin-bottom: 18px; }
.woocommerce .fr-store-content--commerce .fr-store-variation-chip-group__label { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.woocommerce .fr-store-content--commerce .fr-store-variation-chip { min-width: 80px; min-height: 50px; border-color: #e0e3e8; padding: 10px 20px; font-size: 16px; }
.woocommerce .fr-store-content--commerce .fr-store-variation-chip.is-selected { background: white; border-color: #101a2b; box-shadow: inset 0 0 0 1px #101a2b; }
.woocommerce .fr-store-content--commerce .fr-store-photo-chip { display: inline-flex; flex-direction: column; gap: 4px; width: 110px; min-height: 122px; padding: 5px 8px; }
.fr-store-photo-chip img { width: 78px; height: 84px; object-fit: contain; }
.fr-store-photo-chip::before { display: none; }
.woocommerce .fr-store-content--commerce .fr-store-selection-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.woocommerce .fr-store-content--commerce .fr-store-variation-reset { min-height: 48px; padding: 4px 0; justify-self: start; }
.fr-store-variation-chip-group--with-reset { position: relative; }
.woocommerce .fr-store-content--commerce .fr-store-variation-chip-group--with-reset > .fr-store-variation-chip-group__label { padding-right: 150px; }
.woocommerce .fr-store-content--commerce .fr-store-variation-chip-group--with-reset > .fr-store-variation-reset { position: absolute; top: -12px; right: 0; font-size: 12px; }
.woocommerce .fr-store-content--commerce div.product form.cart .single_add_to_cart_button { min-height: 58px; background: #f4961d; }
.woocommerce .fr-store-content--commerce div.product form.cart .quantity .qty { min-height: 58px; }
.woocommerce .fr-store-content--commerce .fr-store-confidence-strip { margin: 25px 0 28px; padding: 0; border: 0; }
.woocommerce .fr-store-content--commerce .fr-store-confidence-strip ul { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 0; padding: 0; }
.woocommerce .fr-store-content--commerce .fr-store-confidence-strip li { display: flex; flex: 0 1 auto; gap: 7px; align-items: center; font-size: 14px; line-height: 1.4; }
.fr-store-confidence-strip .dashicons { font-size: 20px; width: 22px; height: 22px; }
.fr-store-product-disclosures { border-top: 1px solid #e5e9ef; }
.fr-store-product-disclosures details { border-bottom: 1px solid #e5e9ef; }
.fr-store-product-disclosures summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; font-size: 14px; cursor: pointer; }
.fr-store-product-disclosures details[open] summary .dashicons { transform: rotate(90deg); }
.fr-store-disclosure-content { padding: 0 0 18px; font-size: 14px; line-height: 1.6; }
.fr-store-disclosure-content .fr-store-product-meta { margin: 0 0 12px; }
.fr-store-purchase-anchor { scroll-margin-top: 110px; }
.fr-cart-drawer[hidden], .fr-cart-shade[hidden], .fr-cart-checkout[hidden] { display: none !important; }
.fr-cart-drawer { position: fixed; z-index: 1000; inset: 0 0 0 auto; width: var(--fr-cart-width); max-width: 100%; background: white; color: #101a2b; padding: 24px; display: flex; flex-direction: column; border-left: 1px solid #e5e9ef; box-shadow: -3px 0 12px #101a2b0a; overflow-y: auto; overscroll-behavior: contain; }
/* WordPress's authenticated toolbar sits above the storefront. Keeping bottom:0
   lets the fixed drawer shrink to the remaining viewport and retain scrolling. */
.admin-bar .fr-cart-drawer { top: 32px; }
.fr-cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; }
.fr-cart-heading h2 { font-size: 24px; line-height: 1.2; margin: 0; letter-spacing: -.02em; }
.fr-cart-heading button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: none; color: #101a2b; border: 0; cursor: pointer; }
.fr-cart-heading .dashicons { width: 26px; height: 26px; font-size: 26px; }
.fr-cart-status { min-height: 24px; margin: 30px 0; color: #09823c; font-size: 16px; }
.fr-cart-status.is-error { color: #a72622; }
.fr-cart-items { list-style: none; padding: 0; margin: 0 0 24px; }
.fr-cart-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; margin: 0 0 25px; }
.fr-cart-drawer .fr-cart-item > img.fr-cart-item__image { width: 84px; height: 150px; max-height: none; object-fit: contain; border: 1px solid #e5e9ef; border-radius: 6px; }
.fr-cart-item__body { min-width: 0; }
.fr-cart-item__title { color: #101a2b; text-decoration: none; font-size: 17px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.fr-cart-item__options { margin: 10px 0; font-size: 14px; line-height: 1.5; }
.fr-cart-item__price { font-size: 18px; }
.fr-cart-item__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.fr-cart-stepper { display: inline-flex; align-items: center; border: 1px solid #dce1e8; border-radius: 7px; }
.fr-cart-step { width: 48px; min-width: 48px; min-height: 48px; border: 0; background: white; border-radius: 7px; padding: 0; color: #4b586c; cursor: pointer; }
.fr-cart-step .dashicons { vertical-align: middle; font-size: 16px; }
.fr-cart-quantity { min-width: 24px; text-align: center; font-size: 16px; }
.fr-cart-remove { background: none; border: 0; padding: 8px 0 8px 8px; min-width: 48px; min-height: 48px; color: #536278; cursor: pointer; font-size: 14px; }
.fr-cart-drawer button:disabled { opacity: .4; cursor: wait; }
.fr-cart-footer { margin-top: auto; flex-shrink: 0; border-top: 1px solid #e5e9ef; padding-top: 22px; font-size: 14px; }
.fr-cart-subtotal { display: flex; justify-content: space-between; gap: 12px; font-size: 20px; margin: 0 0 16px; }
.fr-cart-checkout { display: flex; align-items: center; justify-content: center; min-height: 58px; border-radius: 8px; background: #f4961d; color: #101a2b; font-size: 16px; font-weight: 700; text-decoration: none; margin-top: 24px; }
.fr-cart-checkout[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.fr-cart-continue { width: 100%; min-height: 48px; color: #101a2b; background: none; border: 0; text-decoration: underline; font-size: 16px; cursor: pointer; margin: 8px 0; }
.fr-cart-payment { text-align: center; color: #536278; margin: 14px 0; }
.fr-cart-payment .dashicons { vertical-align: middle; }
.fr-cart-native { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; color: #536278; min-height: 48px; padding: 6px; }
.fr-cart-request-pending form.cart .single_add_to_cart_button { pointer-events: none; opacity: .55; cursor: wait; }
.fr-cart-open .fr-store-mobile-purchase { display: none; }
.fr-cart-shade { position: fixed; inset: 0; z-index: 999; background: #101a2b66; }
:where(.fr-cart-drawer, .fr-store-compact-nav, .fr-store-product-disclosures) :focus-visible { outline: 2px solid #101a2b; outline-offset: 4px; }
.fr-store-compact-nav :focus-visible { outline-color: #f4961d; }
@media (min-width: 1200px) {
    .fr-cart-open .fr-store-site { margin-right: var(--fr-cart-width); }
    .fr-cart-open .single-product .fr-store-content--commerce { max-width: none; }
    .fr-cart-open .fr-store-header__main { gap: 0; padding-left: 36px; padding-right: 30px; }
    .fr-cart-open .fr-store-header__main .fr-store-logo { margin-right: 50px; }
    .fr-cart-open .fr-store-compact-nav { gap: 52px; margin-right: 50px; }
    .fr-cart-open .fr-store-compact-nav > a,
    .fr-cart-open .fr-store-compact-nav summary { font-size: 18px; }
    .fr-cart-open .fr-store-search { margin-right: 26px; }
}
@media (max-width: 1199px) {
    body.fr-cart-open { overflow: hidden; }
    .fr-store-header__main { gap: 24px; }
    .fr-store-compact-nav { gap: 22px; }
    .single-product .fr-store-content--commerce { padding: 40px 28px; }
    .woocommerce .fr-store-content--commerce div.product { column-gap: 28px; }
}
@media (max-width: 759px) {
    .fr-store-header__main { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 14px; padding: 12px 16px; }
    .fr-store-header__main .fr-store-logo { font-size: 27px; }
    .fr-store-compact-nav { gap: 14px; justify-self: end; }
    .fr-store-compact-nav a, .fr-store-compact-nav summary { font-size: 13px; min-height: 44px; }
    .fr-store-compact-nav > a { min-width: 44px; justify-content: center; }
    .fr-store-category-menu summary { gap: 2px; }
    .fr-store-category-menu__links { left: auto; right: -40px; min-width: 220px; }
    .fr-store-search { grid-row: 2; grid-column: 1 / -1; width: 100%; height: 48px; }
    .fr-store-header__actions { grid-column: 3; grid-row: 1; }
    .fr-store-cart { padding: 0; min-width: 44px; }
    .single-product .fr-store-content--commerce { padding: 24px 16px 40px; }
    .woocommerce .fr-store-content--commerce div.product { display: grid; grid-template-columns: minmax(0, 1fr); }
    .woocommerce .fr-store-content--commerce div.product div.woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
    .woocommerce .fr-store-content--commerce div.product > .summary { grid-column: 1; grid-row: 2; }
    .woocommerce .fr-store-content--commerce div.product .woocommerce-product-gallery__image img { max-height: none; }
    .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 64px; flex-basis: 64px; }
    .woocommerce div.product .fr-store-product-intro .product_title { font-size: 28px; }
    .woocommerce div.product .fr-store-product-intro > .price { font-size: 28px; }
    .woocommerce .fr-store-content--commerce .fr-store-variation-reset { min-height: 44px; }
    .fr-cart-drawer { width: 390px; padding: 18px; }
    .fr-cart-step { width: 44px; min-width: 44px; min-height: 48px; }
    .fr-cart-native { min-height: 44px; }
    .fr-cart-item { gap: 14px; }
    .fr-cart-item__controls { gap: 0; }
    .fr-cart-status { margin: 20px 0; }
    .fr-cart-footer { padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 782px) {
    .admin-bar .fr-cart-drawer { top: 46px; }
}
@media (max-width: 359px) {
    .fr-store-header__main { gap: 6px; }
    .fr-store-header__main .fr-store-logo { font-size: 23px; }
    .fr-store-compact-nav { gap: 8px; }
    .fr-cart-item { grid-template-columns: 64px minmax(0, 1fr); }
    .fr-cart-drawer .fr-cart-item > img.fr-cart-item__image { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .fr-store-site, .fr-cart-drawer, .fr-store-product-disclosures * { transition: none !important; scroll-behavior: auto; }
}

/* Audit corrections: keep native checkout structure and align its presentation. */
body.woocommerce-checkout .fr-store-content--commerce,
body.woocommerce-cart .fr-store-content--commerce { max-width: 1180px; }
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message {
    background: #f7f9fc;
    border: 1px solid #d9e0e9;
    border-top: 4px solid #101a2b;
    border-radius: 8px;
    color: #29364a;
    line-height: 1.55;
}
body.woocommerce-checkout .woocommerce form .form-row label,
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td { color: #29364a; }
body.woocommerce-checkout .woocommerce form .form-row label { font-weight: 700; }
body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .select2-container .select2-selection--single {
    background: white;
    border: 1px solid #aeb9c8;
    border-radius: 8px;
    color: #101a2b;
    font-size: 16px;
    min-height: 48px;
}
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 46px; }
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout #payment {
    background: #f7f9fc;
    border: 1px solid #d9e0e9;
    border-radius: 10px;
    color: #29364a;
}
body.woocommerce-checkout #payment div.payment_box { background: white; color: #29364a; }
body.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: white; }
body.woocommerce-checkout .woocommerce #payment #place_order,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce input.button,
body.woocommerce-cart .woocommerce a.button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button {
    background: #f4961d;
    border: 1px solid #f4961d;
    border-radius: 8px;
    color: #101a2b;
    font-weight: 800;
    min-height: 48px;
}
body.woocommerce-checkout .woocommerce #payment #place_order:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce input.button:hover,
body.woocommerce-cart .woocommerce a.button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce input.button:hover { background: #ffad43; border-color: #ffad43; color: #101a2b; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total,
body.woocommerce-checkout .fr-store-provisional-total { background: #fff4e4; }
body.woocommerce-checkout .fr-store-provisional-note { color: #536278; font-size: 14px; line-height: 1.55; }

@media (max-width: 759px) {
    body.woocommerce-checkout .fr-store-content--commerce,
    body.woocommerce-cart .fr-store-content--commerce { padding: 24px 16px 42px; }
    body.woocommerce-checkout .woocommerce form .form-row { float: none; width: 100%; }
    body.woocommerce-checkout .woocommerce #payment #place_order { float: none; width: 100%; }
}
