/* Storefront chrome only. All selectors require day mode; print colors and
   customer artwork / rich table formatting keep their original rendering. */
@media screen {
html.theme-day {
    --arena5-bg: #dbe4f3;
    --arena5-panel: #f8faff;
    --arena5-panel-soft: #e8eef8;
    --arena5-panel-deep: #dce5f3;
    --arena5-text: #0e1b32;
    --arena5-muted: #42536d;
    --arena5-border: #98abc7;
    --arena5-blue: #1645ff;
    --arena5-blue-strong: #0933d6;
    --arena5-cyan: #163cc4;
    --arena5-success: #1a6b35;
    --arena5-card-shadow: 0 2px 3px #25395415, 0 7px 20px #25395412;
    --arena5-glow: 0 5px 24px #1645ff14;
    --arena5-line: #bcc9dd;
    --arena5-heading-panel: #25354e;
    --arena5-button-bg: linear-gradient(#2459ff, #123bfa);
    --arena5-secondary-bg: linear-gradient(#fff, #edf2fc);
}
html.theme-day body.arena5-shell {
    background: linear-gradient(125deg, #e3eaf6 0%, #cbd6e9 55%, #dbe4f3 100%);
    color: var(--arena5-text);
}
html.theme-day.a5-modern {
    --a5-modern-ink: #0e1b32;
    --a5-modern-muted: #42536d;
    --a5-modern-line: #98abc7;
    --a5-modern-surface: #f8faff;
    --a5-modern-canvas: #e8eef8;
    --a5-modern-blue: #1645ff;
    --a5-modern-blue-strong: #0933d6;
    --a5-modern-cyan: #163cc4;
    --a5-modern-navy: #25354e;
}
html.theme-day body.arena5-shell .arena5-site-main {background: transparent}
html.theme-day body.arena5-shell :is(.arena5-home, .arena5-shop-page, .arena5-team-orders, .aria5-team-order-manage-shell) {background: transparent}
html.theme-day body.arena5-shell :is(.arena5-home-hero, .arena5-home-products, .arena5-home-top-promo, .arena5-home-section, .arena5-shop-hero) {background: transparent; border-color: var(--arena5-line)}
html.theme-day body.arena5-shell :is(.arena5-home-section::before, .arena5-home-hero::after) {background: linear-gradient(90deg, transparent, #98abc7, transparent); box-shadow: none}

/* Header, language switcher, side categories and the mobile menu. */
html.theme-day body.arena5-shell .arena5-site-header {background: #f8fafff2; border-bottom-color: var(--arena5-border); box-shadow: 0 2px 12px #25395418}
html.theme-day body.arena5-shell :is(.arena5-primary-nav .sub-menu, .arena5-mobile-menu__panel, .arena5-mini-cart-drawer) {background: var(--arena5-panel); border-color: var(--arena5-border); box-shadow: 0 12px 40px #25395430}
html.theme-day body.arena5-shell :is(.arena5-mobile-menu-overlay, .arena5-mini-cart-overlay) {background: #18283f66}
html.theme-day body.arena5-shell :is(.arena5-language-switcher, .arena5-theme-toggle, .arena5-header-google-login, .arena5-header-link--account, .arena5-mobile-menu-toggle, .arena5-mobile-menu__close, .arena5-floating-top) {
    background: var(--arena5-secondary-bg); border-color: var(--arena5-border); color: #173573; box-shadow: 0 2px 3px #25395419;
}
html.theme-day body.arena5-shell .arena5-theme-toggle__track {background: #dce5f8; box-shadow: inset 0 0 0 1px #a5b8d5}
html.theme-day body.arena5-shell :is(.arena5-theme-toggle__thumb, .arena5-mobile-menu-toggle span) {background: var(--arena5-blue); box-shadow: none}
html.theme-day body.arena5-shell :is(.arena5-nav-menu a, .arena5-mobile-nav-menu a, .arena5-shop-category-link) {color: #203654}
html.theme-day body.arena5-shell :is(.arena5-mobile-nav-menu a, .arena5-shop-category-link, .arena5-catalog-mobile-nav > summary, .arena5-catalog-mobile-nav__rail a) {background: #edf2fb; border-color: var(--arena5-line)}
html.theme-day body.arena5-shell :is(.arena5-language-switcher__link.is-active, .arena5-language-switcher__link:hover, .arena5-nav-menu a:hover, .arena5-mobile-nav-menu a:hover, .arena5-mobile-nav-menu .current-menu-item > a, .arena5-shop-category-link:hover, .arena5-shop-category-list li.is-active > .arena5-shop-category-link, .arena5-shop-category-list--custom li.current-menu-item > .arena5-shop-category-link, .arena5-catalog-mobile-nav__rail a[aria-current=page]) {background: #dbe5ff; border-color: #1645ff; color: #092b9e; box-shadow: inset 0 0 0 1px #1645ff18}
html.theme-day body.arena5-shell :is(.arena5-shop-category-link small, .arena5-shop-sidebar__header span, .arena5-shop-products .woocommerce-pagination ul li a) {background: #d8e2f2; border-color: var(--arena5-line); color: #172b48}
html.theme-day body.arena5-shell :is(.arena5-shop-category-list li.is-active > .arena5-shop-category-link small, .arena5-shop-category-list--custom li.current-menu-item > .arena5-shop-category-link small, .arena5-shop-products .woocommerce-pagination ul li span.current) {background: var(--arena5-blue); border-color: var(--arena5-blue); color: #fff}

/* Homepage sections and catalog cards: the same clear panel edges as admin. */
html.theme-day body.arena5-shell :is(
    .arena5-home-category-card, .arena5-home-product-card, .arena5-home-workflow-card,
    .arena5-home-proof-card, .arena5-home-review-card, .arena5-home-faq-item,
    .arena5-home-empty-state, .arena5-home-business__panel, .arena5-home-final-cta,
    .arena5-home-top-promo__panel, .arena5-home-team-orders__panel,
    .arena5-home-hero-step, .arena5-home-hero__visual-shell,
    .arena5-home-hero__system-card, .arena5-home-hero-widget,
    .arena5-shop-sidebar__inner, .arena5-shop-toolbar, .arena5-shop-empty,
    .arena5-shop-products ul.products li.product, .arena5-entry,
    .arena5-paid-landing-actions, .as-orders,
    .woocommerce-MyAccount-navigation,
    .aria5-team-order-manage-shell__card, .aria5-team-order-manage-shell__section,
    .aria5-team-order-manage-shell__workflow, .aria5-team-order-manage-shell__unavailable
) {background: var(--arena5-panel); border-color: var(--arena5-border); box-shadow: var(--arena5-card-shadow)}
html.theme-day body.arena5-shell :is(.arena5-home-category-card:hover, .arena5-home-product-card:hover, .arena5-shop-products ul.products li.product:hover) {background: #f4f7ff; border-color: #1645ff; box-shadow: 0 4px 14px #1645ff24}
html.theme-day body.arena5-shell :is(.arena5-home-eyebrow, .arena5-home-hero__tool-rail, .arena5-home-hero-step__number, .arena5-home-category-card__icon, .arena5-home-card-arrow, .arena5-home-workflow-card span) {background: #dce6fa; border-color: #a0b4d6; color: #173c9c; text-shadow: none; box-shadow: none}
html.theme-day body.arena5-shell :is(.arena5-home-hero-step::before, .arena5-home-workflow-card::before) {background: linear-gradient(90deg, #1645ff, #b8c9ed); box-shadow: none}
html.theme-day body.arena5-shell .arena5-home-hero-step::after {border-color: #bcc9dd}
html.theme-day body.arena5-shell :is(.arena5-home-top-promo__panel strong, .arena5-home-product-card__price, .arena5-home-product-card__link, .arena5-shop-products ul.products li.product .price, .arena5-basic-detail.woocommerce div.product .summary > .price) {color: #163cc4; text-shadow: none}
html.theme-day body.arena5-shell :is(.arena5-home-product-card__media, .arena5-shop-products ul.products li.product img, .arena5-woocommerce.woocommerce-cart .cross-sells ul.products li.product img) {background: #fff; border-color: var(--arena5-line)}
html.theme-day body.arena5-shell .arena5-shop-sidebar__header {border-bottom-color: var(--arena5-line)}
html.theme-day body.arena5-shell :is(.woocommerce-products-header, .arena5-entry__header, .arena5-home-service-area__panel, .arena5-home-service-area__intro, .arena5-product-header, .aria5-print-frontend-section:not(.aria5-print-frontend-section-editor)) {background: var(--arena5-panel); border-color: var(--arena5-border); box-shadow: var(--arena5-card-shadow)}
html.theme-day body.arena5-shell .arena5-home-service-area {background: transparent; border-color: var(--arena5-line)}
html.theme-day body.arena5-shell :is(.arena5-home-hero__visual, .arena5-home-service-area__links a, .aria5-print-price-summary, .aria5-print-size-row, .aria5-print-zone-row) {background: #e8eef8; border-color: #bcc9dd; color: #42536d; box-shadow: none}
html.theme-day body.arena5-shell :is(.arena5-site-menu__panel, .arena5-site-menu__list a) {background: var(--arena5-panel); border-color: var(--arena5-border); box-shadow: var(--arena5-card-shadow)}
html.theme-day body.arena5-shell :is(.arena5-site-menu__list a:hover, .arena5-site-menu__close, .arena5-site-menu__more-summary:hover) {background: #dbe5ff; border-color: #1645ff; color: #092b9e}
html.theme-day body.arena5-shell .arena5-site-menu-overlay {background: #18283f66}

/* Primary and secondary actions. No selectors for uploaded artwork or swatches. */
html.theme-day body.arena5-shell :is(
    .arena5-button, .woocommerce a.button.alt, .woocommerce button.button.alt,
    .woocommerce input.button.alt, .woocommerce #respond input#submit.alt,
    .woocommerce #payment #place_order, .woocommerce .single_add_to_cart_button,
    .arena5-mini-cart-drawer .checkout, .arena5-mini-cart-drawer__checkout,
    .aria5-team-order-manage-shell__button, .arp-page button, .arp-page .arp-intro-link
) {background: var(--arena5-button-bg); border-color: #133ce9; color: #fff; box-shadow: 0 3px 6px #1645ff26; text-shadow: none}
html.theme-day body.arena5-shell :is(.arena5-button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #payment #place_order:hover, .arp-page button:hover, .arp-page .arp-intro-link:hover) {background: #0c32d8; color: #fff; filter: none}
html.theme-day body.arena5-shell :is(
    .arena5-button--ghost, .arena5-shop-products ul.products li.product .button,
    .arena5-mini-cart-drawer__close, .arena5-mini-cart-drawer__link,
    .arena5-paid-landing-actions__button--whatsapp,
    .aria5-team-order-manage-shell__button--secondary, .aov-public .aov-print,
    .arena5-footer-contact-action
) {background: var(--arena5-secondary-bg); border-color: var(--arena5-border); color: #173573; box-shadow: 0 2px 3px #25395419}
html.theme-day body.arena5-shell :is(.arena5-button--ghost:hover, .arena5-shop-products ul.products li.product .button:hover, .aov-public .aov-print:hover, .arena5-footer-contact-action:hover) {background: #dbe5ff; border-color: #1645ff; color: #092b9e}
html.theme-day body.arena5-shell :is(.arena5-button, .woocommerce .button, .arp-page button):is(:disabled, .disabled, [aria-disabled=true]) {background: #e3e9f2; color: #62718a; border-color: #b7c4d8; box-shadow: none}
html.theme-day body.arena5-shell :is(.arena5-button, .woocommerce .button, .arena5-theme-toggle, .arena5-shop-category-link, .arp-page button):focus-visible {outline: 2px solid #1645ff; outline-offset: 3px}

/* Customer forms, including saved order payment links. */
html.theme-day body.arena5-shell :is(.woocommerce, .arena5-entry, .aria5-team-order-manage-shell) :is(input[type=text], input[type=email], input[type=number], input[type=tel], input[type=password], input[type=search], textarea, select, .select2-selection) {background-color: #fff; border-color: #859cbe; color: #0e1b32; box-shadow: inset 0 1px 2px #22385908}
html.theme-day body.arena5-shell :is(.woocommerce, .arena5-entry, .aria5-team-order-manage-shell) :is(input, textarea)::placeholder {color: #5d6d84; opacity: 1}
html.theme-day body.arena5-shell :is(.woocommerce, .arena5-entry, .aria5-team-order-manage-shell) :is(input, textarea, select):focus {border-color: #1645ff; outline: 2px solid #1645ff30; outline-offset: 1px}
html.theme-day body.arena5-shell :is(.woocommerce, .arena5-entry, .aria5-team-order-manage-shell) :is(input, textarea, select):disabled {background-color: #e6ebf3; border-color: #b4c1d5; color: #5d6d84}
html.theme-day body.arena5-shell :is(.woocommerce, .arena5-entry, .aria5-team-order-manage-shell, .arp-page) :is(input[type=checkbox], input[type=radio]) {accent-color: #1645ff}
html.theme-day body.arena5-shell .woocommerce .woocommerce-invalid :is(input, select, textarea) {border-color: #b4233a}
html.theme-day body.arena5-shell .select2-dropdown {background: #f8faff; border-color: #859cbe; color: #0e1b32}
html.theme-day body.arena5-shell .select2-container--default .select2-results__option--highlighted[aria-selected] {background: #1645ff; color: #fff}

/* Cart / checkout / order tables, never the user's formatted comment tables. */
html.theme-day body.arena5-shell :is(.woocommerce-cart .cart-empty, .woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #customer_details, .woocommerce-checkout #order_review, .woocommerce-checkout #payment, .woocommerce-order-pay #order_review, .woocommerce-account .woocommerce-MyAccount-content, .aov-card, .aov-heading, .arp-card) {background: var(--arena5-panel); border-color: var(--arena5-border); box-shadow: var(--arena5-card-shadow)}
html.theme-day body.arena5-shell :is(.woocommerce table.shop_table, .woocommerce.aov-public table.aov-table) {background: var(--arena5-panel); border-color: var(--arena5-border)}
html.theme-day body.arena5-shell :is(.woocommerce table.shop_table, .woocommerce.aov-public table.aov-table) > thead > tr > :is(th, td) {background: #25354e; color: #fff; border-color: #25354e}
html.theme-day body.arena5-shell :is(.woocommerce table.shop_table, .woocommerce.aov-public table.aov-table) > tbody > tr > :is(th, td) {background: #f5f8ff; color: #0e1b32; border-color: #bcc9dd}
html.theme-day body.arena5-shell :is(.woocommerce table.shop_table, .woocommerce.aov-public table.aov-table) > tbody > tr:nth-child(even) > :is(th, td) {background: #e6edf8}
html.theme-day body.arena5-shell :is(.woocommerce table.shop_table, .woocommerce.aov-public table.aov-table) > tfoot > tr > :is(th, td) {background: #e8eef8; color: #0e1b32; border-color: #bcc9dd}
html.theme-day body.arena5-shell :is(.woocommerce table.shop_table, .woocommerce.aov-public table.aov-table) > tfoot > tr.order-total > :is(th, td) {background: #dce6fa; color: #0e1b32}
html.theme-day body.arena5-shell :is(.arena5-mini-cart-drawer__header, .arena5-mini-cart-drawer__footer, .arena5-mini-cart-drawer .woocommerce-mini-cart__total) {border-color: var(--arena5-line)}
html.theme-day body.arena5-shell :is(.arena5-mini-cart-drawer .woocommerce-mini-cart-item, .woocommerce-cart td.product-name .variation, .aria5-order-pay-customer, .aria5-size-breakdown__row, .arp-size-row:nth-child(odd), .aov-field dd) {background: #e8eef8; border-color: var(--arena5-line); color: #253754}
html.theme-day body.arena5-shell :is(.arp-intro-heading, .arp-policy, .arp-comment, .arp-sheet-note, .aon-customer, .arp-total) {background: #e8eef8; border-color: var(--arena5-border)}
html.theme-day body.arena5-shell .arp-intro-note {background: #f8faff}
html.theme-day body.arena5-shell :is(.woocommerce #payment .payment_box, .aria5-order-terms-row) {background: #e8eef8; border-color: #bcc9dd; color: #253754}
html.theme-day body.arena5-shell .woocommerce #payment .payment_box:before {border-bottom-color: #e8eef8}

/* WooCommerce's block cart uses separate markup from order-pay tables. */
html.theme-day body.arena5-shell :is(.wc-block-cart, .wc-block-checkout) {color: #0e1b32}
html.theme-day body.arena5-shell :is(.wc-block-cart, .wc-block-checkout) :is(.wc-block-components-sidebar, .wc-block-components-checkout-step, .wc-block-components-order-summary, .wc-block-components-totals-wrapper) {border-color: #bcc9dd}
html.theme-day body.arena5-shell .wc-block-cart-items > thead > tr > th {background: #25354e; color: #fff; border-color: #25354e}
html.theme-day body.arena5-shell .wc-block-cart-items > tbody > tr > td {background: #f5f8ff; border-color: #bcc9dd}
html.theme-day body.arena5-shell .wc-block-cart-items > tbody > tr:nth-child(even) > td {background: #e6edf8}
html.theme-day body.arena5-shell :is(.wc-block-cart, .wc-block-checkout) :is(.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button) {background: var(--arena5-button-bg); color: #fff; border-color: #133ce9; box-shadow: 0 3px 6px #1645ff26}
html.theme-day body.arena5-shell :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-button:not(.is-link):hover {background: #0c32d8; color: #fff}
html.theme-day body.arena5-shell :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-button:disabled {background: #e3e9f2; color: #62718a; border-color: #b7c4d8; box-shadow: none}
html.theme-day body.arena5-shell :is(.wc-block-cart, .wc-block-checkout) :is(input, select, textarea) {background-color: #fff; border-color: #859cbe; color: #0e1b32}
html.theme-day body.arena5-shell :is(.wc-block-cart, .wc-block-checkout) :is(input, select, textarea):focus {outline: 2px solid #1645ff30; outline-offset: 1px; border-color: #1645ff}
html.theme-day body.arena5-shell :is(.wc-block-cart, .wc-block-checkout) .wc-block-components-quantity-selector {background: #fff; border-color: #859cbe; color: #0e1b32}

/* The product designer's controls follow the shell. Canvas and artwork do not. */
html.theme-day body.arena5-shell :is(.aria5-print-editor-zone-layout, .aria5-print-editor-assets-panel, .aria5-print-editor-controls, .aria5-print-order-summary, .aria5-print-design-help) {background: #f8faff; border-color: var(--arena5-border); box-shadow: var(--arena5-card-shadow)}
html.theme-day body.arena5-shell :is(.aria5-print-zone-choice, .aria5-print-order-summary__fact, .aria5-team-order-manage-shell__metric, .aria5-team-order-manage-shell__status-list li, .aria5-team-order-manage-shell__workflow-step, .aria5-team-order-manage-shell__roster-row, .aria5-team-order-manage-shell__empty, .aria5-team-order-manage-shell__price-summary) {background: #e8eef8; border-color: var(--arena5-line); color: #253754}
html.theme-day body.arena5-shell :is(.aria5-print-order-summary__fact--total, .aria5-team-order-manage-shell__price-summary) {background: #dce6fa; border-color: #98abc7}
html.theme-day body.arena5-shell :is(.aria5-print-editor-shell, .aria5-print-editor-inspector, .a5d-side-dock, .a5-modern-actionbar) {background: #e8eef8; border-color: #98abc7}
html.theme-day body.arena5-shell :is(.a5-modern-actionbar__button, .aria5-print-size-stepper button) {background: var(--arena5-secondary-bg); border-color: #98abc7; color: #173573; box-shadow: 0 2px 3px #25395419}
html.theme-day body.arena5-shell :is(.a5-modern-actionbar__button.is-save, .a5d-side-dock .single_add_to_cart_button) {background: var(--arena5-button-bg); border-color: #133ce9; color: #fff}

/* Consent UI keeps its existing actions and preference state. */
html.theme-day body.arena5-shell .cmplz-cookiebanner {background: #f8faff; color: #0e1b32; border-color: #98abc7; box-shadow: 0 8px 35px #25395430}
html.theme-day body.arena5-shell .cmplz-cookiebanner :is(.cmplz-title, .cmplz-message) {color: #0e1b32}
html.theme-day body.arena5-shell .cmplz-cookiebanner .cmplz-btn {background: var(--arena5-secondary-bg); color: #173573; border-color: #98abc7; box-shadow: 0 2px 3px #25395419}
html.theme-day body.arena5-shell .cmplz-cookiebanner .cmplz-btn.cmplz-accept {background: var(--arena5-button-bg); color: #fff; border-color: #133ce9}

html.theme-day body.arena5-shell .arena5-site-footer {background: linear-gradient(#dce5f3, #cbd6e9); border-top-color: #98abc7; color: #42536d}
html.theme-day body.arena5-shell :is(.arena5-footer-brand strong, .arena5-footer-menu a, .arena5-footer-contact-action) {color: #203654}
html.theme-day body.arena5-shell :is(.arena5-footer-social--icons a, .arena5-footer-bottom) {border-color: #a6b8d1}
}
