/* 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: calc(100% + 4px); left: 0; width: min(520px, calc(100vw - 32px)); max-height: min(68vh, 560px); overflow: auto; overscroll-behavior: contain; padding: 16px; background: white; border: 1px solid #e5e9ef; border-radius: 10px; box-shadow: 0 14px 34px #101a2b24; }
.fr-store-category-menu__empty { margin: 0; color: #536278; font-size: 14px; line-height: 1.5; }
.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 .fr-store-quantity-picker { display: grid; flex: 0 1 206px; gap: 7px; min-width: 188px; }
.fr-store-quantity-picker__label { color: #29364a; font-size: 13px; font-weight: 750; line-height: 1.3; }
.woocommerce .fr-store-content--commerce div.product form.cart .fr-store-quantity-picker__control { display: grid; grid-template-columns: 48px minmax(58px, 1fr) 48px; align-items: stretch; overflow: hidden; border: 1px solid #b8c1ce; border-radius: 8px; background: white; }
.woocommerce .fr-store-content--commerce div.product form.cart .fr-store-quantity-picker .quantity { display: block; flex: 1 1 auto; width: auto; margin: 0; }
.woocommerce .fr-store-content--commerce div.product form.cart .fr-store-quantity-picker .quantity .qty { width: 100%; min-height: 54px; height: 54px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #101a2b; font-size: 17px; font-weight: 700; text-align: center; -moz-appearance: textfield; }
.woocommerce .fr-store-content--commerce div.product form.cart .fr-store-quantity-picker .quantity .qty::-webkit-inner-spin-button,
.woocommerce .fr-store-content--commerce div.product form.cart .fr-store-quantity-picker .quantity .qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.fr-store-quantity-picker__button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; border: 0; border-right: 1px solid #e5e9ef; border-radius: 0; background: #f7f9fc; color: #101a2b; cursor: pointer; }
.fr-store-quantity-picker__button:last-child { border-right: 0; border-left: 1px solid #e5e9ef; }
.fr-store-quantity-picker__button:hover { background: #edf2f8; }
.fr-store-quantity-picker__button:focus-visible { position: relative; z-index: 1; outline: 3px solid #101a2b; outline-offset: -3px; }
.fr-store-quantity-picker__button:disabled { cursor: not-allowed; opacity: .42; }
.fr-store-quantity-picker__button .dashicons { width: 20px; height: 20px; font-size: 20px; }
.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: -12px; width: calc(100vw - 32px); max-height: 60vh; }
    .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); }
    .woocommerce .fr-store-content--commerce div.product form.cart .fr-store-quantity-picker { flex: 1 0 100%; width: 100%; }
}
@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; }

/* Purchase flow: native WooCommerce remains authoritative; this only clarifies the steps. */
.fr-store-section-eyebrow {
    margin: 0 0 8px;
    color: #536278;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.fr-store-purchase-journey {
    margin: 0 0 34px;
    padding: 0 0 22px;
    border-bottom: 1px solid #d9e0e9;
}
.fr-store-purchase-journey__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fr-store-purchase-journey__step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #d9e0e9;
    border-radius: 8px;
    background: white;
    color: #536278;
}
.fr-store-purchase-journey__step.is-current {
    border-color: #101a2b;
    box-shadow: inset 0 0 0 1px #101a2b;
    color: #101a2b;
}
.fr-store-purchase-journey__step.is-complete { border-color: #bfe8cf; color: #163d26; }
.fr-store-purchase-journey__number {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
}
.fr-store-purchase-journey__step.is-current .fr-store-purchase-journey__number { background: #101a2b; color: white; }
.fr-store-purchase-journey__step.is-complete .fr-store-purchase-journey__number { background: #163d26; color: white; }
.fr-store-purchase-journey__step strong,
.fr-store-purchase-journey__step small { display: block; }
.fr-store-purchase-journey__step strong { font-size: 14px; line-height: 1.25; }
.fr-store-purchase-journey__step small { margin-top: 4px; font-size: 12px; line-height: 1.4; }

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
    border: 1px solid #d9e0e9;
    border-radius: 8px;
    background: white;
}
body.woocommerce-cart .woocommerce-cart-form { overflow: hidden; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table { margin: 0; border: 0; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td { padding: 18px 16px; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table thead { background: #f7f9fc; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-name a { color: #101a2b; font-weight: 700; }
body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-thumbnail img { width: 62px; height: 62px; object-fit: contain; }
body.woocommerce-cart .cart-collaterals .cart_totals { padding: 0; overflow: hidden; }
body.woocommerce-cart .cart-collaterals .cart_totals > h2 { margin: 0; padding: 20px 22px; border-bottom: 1px solid #d9e0e9; font-size: 21px; }
body.woocommerce-cart .cart-collaterals .cart_totals table { margin: 0; }
body.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout { margin: 0; padding: 20px 22px; border-top: 1px solid #d9e0e9; }
body.woocommerce-cart .cart-collaterals .cart_totals .checkout-button { margin: 0; text-align: center; }
.fr-store-cart-assurance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 22px 22px;
    padding: 14px;
    border-left: 3px solid #f4961d;
    background: #fff8ee;
    color: #29364a;
}
.fr-store-cart-assurance > .dashicons { flex: 0 0 20px; width: 20px; height: 20px; color: #163d26; }
.fr-store-cart-assurance p { margin: 0; font-size: 13px; line-height: 1.5; }
.fr-store-cart-assurance strong,
.fr-store-cart-assurance span { display: block; }
.fr-store-cart-assurance span { margin-top: 2px; color: #536278; }

.fr-store-delivery-heading { margin: 0 0 24px; }
.fr-store-delivery-heading h2 { margin: 0 0 6px; color: #101a2b; font-size: 25px; line-height: 1.2; }
.fr-store-delivery-heading > p:last-child { margin: 0; color: #536278; font-size: 14px; line-height: 1.5; }
body.woocommerce-checkout .woocommerce-billing-fields > h3 { display: none; }
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    padding: 22px;
    border: 1px solid #d9e0e9;
    border-radius: 8px;
    background: white;
}
body.woocommerce-checkout .woocommerce-additional-fields { margin-top: 18px; }
body.woocommerce-checkout .woocommerce-additional-fields > h3 { margin-top: 0; font-size: 18px; }
body.woocommerce-checkout .woocommerce-checkout-review-order { overflow: hidden; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table { margin: 0; }
body.woocommerce-checkout #order_review_heading { margin: 0 0 12px; font-size: 22px; }
body.woocommerce-checkout #payment { margin: 0; border-width: 1px 0 0; border-radius: 0; }

.fr-cart-fulfillment {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #29364a;
    font-size: 13px;
    line-height: 1.45;
}
.fr-cart-fulfillment .dashicons { flex: 0 0 20px; color: #163d26; }
.fr-cart-fulfillment strong,
.fr-cart-fulfillment small { display: block; }
.fr-cart-fulfillment small { margin-top: 2px; color: #536278; font-size: 12px; }

body.woocommerce-order-received .fr-store-whatsapp-confirmation {
    margin: 34px 0 0;
    padding: 24px;
    border: 1px solid #bfe8cf;
    border-radius: 12px;
    background: #f3fcf6;
}
body.woocommerce-order-received .fr-store-whatsapp-confirmation h2 { margin: 0 0 8px; color: #163d26; font-size: 24px; line-height: 1.25; }
body.woocommerce-order-received .fr-store-whatsapp-confirmation p { margin: 0 0 18px; color: #31523d; line-height: 1.55; }
body.woocommerce-order-received .fr-store-whatsapp-confirmation__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px 22px;
    border: 1px solid #25D366;
    border-radius: 8px;
    background: #25D366;
    color: #073b1a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}
body.woocommerce-order-received .fr-store-whatsapp-confirmation__button:hover { border-color: #128C7E; background: #128C7E; color: white; }
body.woocommerce-order-received .fr-store-whatsapp-confirmation__button:focus-visible { outline: 3px solid #101a2b; outline-offset: 3px; }
.fr-store-whatsapp-confirmation__icon { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }

@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%; }
    .fr-store-purchase-journey { margin-bottom: 26px; }
    .fr-store-purchase-journey__steps { grid-template-columns: 1fr; gap: 8px; }
    .fr-store-purchase-journey__step { padding: 12px; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table td { padding: 14px 10px; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table .product-thumbnail img { width: 48px; height: 48px; }
    body.woocommerce-checkout .woocommerce-billing-fields,
    body.woocommerce-checkout .woocommerce-additional-fields { padding: 18px; }
    .fr-store-cart-assurance { margin-left: 18px; margin-right: 18px; }
    body.woocommerce-order-received .fr-store-whatsapp-confirmation { padding: 20px; }
    body.woocommerce-order-received .fr-store-whatsapp-confirmation__button { width: 100%; min-height: 60px; font-size: 17px; }
}

/* Marketplace navigation and account access. */
.fr-store-account {
    align-items: center;
    border-radius: 8px;
    color: white;
    display: inline-flex;
    gap: 7px;
    min-height: 48px;
    padding: 7px 9px;
    text-decoration: none;
    white-space: nowrap;
}

.fr-store-account:hover { background: rgba(255, 255, 255, .09); color: #ffcf84; }
.fr-store-account .dashicons { font-size: 21px; height: 21px; width: 21px; }
.fr-store-account__label { font-size: 14px; font-weight: 700; }

.fr-store-category-menu__links {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    height: min(68vh, 560px);
    max-height: none;
    overflow: hidden;
    padding: 0;
    width: min(900px, calc(100vw - 32px));
}

.fr-store-category-menu__roots {
    background: #f5f7fa;
    border-right: 1px solid #e5e9ef;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 10px;
}

.fr-store-category-menu__root {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #101a2b;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 12px;
    justify-content: space-between;
    line-height: 1.2;
    min-height: 45px;
    padding: 10px 12px;
    text-align: left;
    width: 100%;
}

.fr-store-category-menu__root:hover,
.fr-store-category-menu__root.is-active { background: #e7eef7; color: #101a2b; }
.fr-store-category-menu__root .dashicons { color: #536278; flex: 0 0 auto; font-size: 18px; height: 18px; width: 18px; }

.fr-store-category-menu__all {
    align-items: center;
    border-top: 1px solid #dce3ec;
    color: #101a2b;
    display: flex;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
    margin-top: auto;
    min-height: 47px;
    padding: 10px;
    text-decoration: none;
}

.fr-store-category-menu__all:hover { background: #edf2f7; text-decoration: underline; text-underline-offset: 3px; }

.fr-store-category-menu__panels {
    background: white;
    min-width: 0;
    overflow-y: auto;
    padding: 25px 28px 28px;
}

.fr-store-category-menu__panel[hidden] { display: none; }

.fr-store-category-menu__panel-heading {
    align-items: center;
    color: #101a2b;
    display: inline-flex;
    font-size: 20px;
    font-weight: 780;
    gap: 8px;
    line-height: 1.2;
    margin: 0 0 22px;
    text-decoration: none;
}

.fr-store-category-menu__panel-heading:hover { color: #d76e08; }
.fr-store-category-menu__panel-heading .dashicons { font-size: 19px; height: 19px; width: 19px; }

.fr-store-category-menu__subcategories {
    display: grid;
    gap: 6px 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fr-store-category-menu__subcategories a {
    align-items: center;
    border-radius: 6px;
    color: #2d3b50;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 41px;
    padding: 8px 10px;
    text-decoration: none;
    white-space: normal;
}

.fr-store-category-menu__subcategories a:hover { background: #f4f7fb; color: #101a2b; text-decoration: underline; text-underline-offset: 3px; }

body.woocommerce-account .fr-store-content--commerce {
    max-width: 1240px;
    padding-bottom: 72px;
    padding-top: 64px;
}

body.woocommerce-account .fr-store-content--commerce > .entry-title,
body.woocommerce-account .fr-store-content--commerce > h1 {
    color: #101a2b;
    font-size: clamp(2rem, 3vw, 2.8rem);
    letter-spacing: -.025em;
    margin: 0 0 28px;
}

.fr-store-auth-shell {
    background: white;
    border: 1px solid #e0e5ec;
    border-radius: 8px;
    display: grid;
    grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr);
    overflow: hidden;
}

.fr-store-auth-intro {
    align-items: flex-start;
    background: #101a2b;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 470px;
    padding: 46px;
}

.fr-store-auth-intro > .dashicons { color: #ffbc59; font-size: 34px; height: 34px; margin-bottom: 28px; width: 34px; }
.fr-store-auth-intro__eyebrow { color: #ffbc59; font-size: 15px; font-weight: 800; margin: 0 0 12px; }
.fr-store-auth-intro h2 { color: white; font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -.025em; line-height: 1.08; margin: 0; }
.fr-store-auth-intro p:last-child { color: #d8e1ee; font-size: 16px; line-height: 1.55; margin: 18px 0 0; max-width: 270px; }

body.woocommerce-account #customer_login {
    display: block;
    margin: 0;
    min-width: 0;
    padding: 46px;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
    float: none;
    margin: 0;
    max-width: 560px;
    min-width: 0;
    padding: 0;
    width: 100%;
}

body.woocommerce-account #customer_login .u-column1 { border-bottom: 1px solid #e5e9ef; margin-bottom: 34px; padding-bottom: 34px; }
body.woocommerce-account #customer_login h2 { color: #101a2b; font-size: 23px; line-height: 1.2; margin: 0 0 25px; }
body.woocommerce-account #customer_login form.woocommerce-form-login,
body.woocommerce-account #customer_login form.register { border: 0; border-radius: 0; margin: 0; padding: 0; }
body.woocommerce-account #customer_login .form-row { margin: 0 0 17px; padding: 0; }
body.woocommerce-account #customer_login .form-row label { color: #29364a; font-size: 14px; font-weight: 750; margin-bottom: 8px; }
body.woocommerce-account #customer_login input.input-text {
    background: white;
    border: 1px solid #aeb9c8;
    border-radius: 7px;
    color: #101a2b;
    min-height: 50px;
    padding: 11px 13px;
}

body.woocommerce-account #customer_login input.input-text:focus { border-color: #101a2b; box-shadow: 0 0 0 3px #dce7f4; outline: 0; }
body.woocommerce-account #customer_login .woocommerce-button,
body.woocommerce-account #customer_login button.button {
    background: #f4961d;
    border: 1px solid #f4961d;
    border-radius: 7px;
    color: #101a2b;
    font-weight: 800;
    min-height: 48px;
    padding: 11px 17px;
}

body.woocommerce-account #customer_login .woocommerce-button:hover,
body.woocommerce-account #customer_login button.button:hover { background: #ffad43; border-color: #ffad43; color: #101a2b; }
body.woocommerce-account #customer_login .woocommerce-privacy-policy-text { color: #536278; font-size: 13px; line-height: 1.55; }
body.woocommerce-account #customer_login .woocommerce-privacy-policy-text a { color: #101a2b; font-weight: 700; }
body.woocommerce-account #customer_login .woocommerce-LostPassword { margin: 19px 0 0; }
body.woocommerce-account #customer_login .woocommerce-LostPassword a { color: #101a2b; font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 999px) {
    .fr-store-category-menu__links { grid-template-columns: 210px minmax(0, 1fr); width: min(760px, calc(100vw - 32px)); }
    .fr-store-category-menu__subcategories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fr-store-auth-shell { grid-template-columns: 1fr; }
    .fr-store-auth-intro { min-height: 0; padding: 34px; }
    body.woocommerce-account #customer_login { padding: 34px; }
}

@media (max-width: 759px) {
    .fr-store-account { min-width: 44px; padding: 0; justify-content: center; }
    .fr-store-account__label { display: none; }
    .fr-store-category-menu__links {
        display: block;
        height: auto;
        left: 12px;
        max-height: calc(100dvh - 132px);
        overflow-y: auto;
        padding: 0;
        position: fixed;
        right: 12px;
        top: 118px;
        width: auto;
    }
    .fr-store-category-menu__roots { border-bottom: 1px solid #e5e9ef; border-right: 0; display: flex; flex-direction: row; gap: 4px; overflow-x: auto; overflow-y: hidden; padding: 8px; }
    .fr-store-category-menu__root { flex: 0 0 auto; min-height: 42px; padding: 8px 10px; width: auto; }
    .fr-store-category-menu__root .dashicons { display: none; }
    .fr-store-category-menu__all { border: 0; flex: 0 0 auto; margin: 0; min-height: 42px; padding: 8px 10px; }
    .fr-store-category-menu__panels { padding: 20px 16px 22px; }
    .fr-store-category-menu__panel-heading { font-size: 18px; margin-bottom: 15px; }
    .fr-store-category-menu__subcategories { gap: 4px 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fr-store-category-menu__subcategories a { font-size: 13px; min-height: 42px; padding: 8px; }
    body.woocommerce-account .fr-store-content--commerce { padding: 34px 16px 48px; }
    body.woocommerce-account #customer_login { display: block; padding: 28px 20px; }
    body.woocommerce-account #customer_login .u-column1,
    body.woocommerce-account #customer_login .u-column2 { border: 0; padding: 0; }
    body.woocommerce-account #customer_login .u-column1 { border-bottom: 1px solid #e5e9ef; margin-bottom: 30px; padding-bottom: 30px; }
    .fr-store-auth-intro { padding: 30px 24px; }
    .fr-store-auth-intro > .dashicons { margin-bottom: 20px; }
}
