/* The WooCommerce pages (checkout, order received, My Account) dressed as
   the shop, so a customer does not notice they have crossed to WordPress
   (Aneez, 2026-10-28). Loaded by the must-use plugin
   Code/wordpress/mu-plugins/sp-checkout-skin.php on those pages only;
   fonts and the logo come from this app (/static/...), which the load
   balancer serves on the same domain. Everything here is scoped to
   body.sp-skin so nothing leaks into wp-admin. */

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
    src: url("/static/fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Nunito Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("/static/fonts/nunito-sans-latin.woff2") format("woff2");
}

body.sp-skin {
    --sp-bg: #FBF7F1;
    --sp-surface: #FFFFFF;
    --sp-surface-alt: #F3EBDF;
    --sp-ink: #1F2A44;
    --sp-ink-soft: #5B6478;
    --sp-accent: #E8792B;
    --sp-accent-dark: #C55F17;
    --sp-heart: #C2415B;
    --sp-line: #E7DDD0;
    --sp-radius-sm: 8px;
    --sp-radius: 16px;
    background: var(--sp-bg) !important;
    color: var(--sp-ink) !important;
    font-family: "Nunito Sans", system-ui, -apple-system, sans-serif !important;
    font-size: 16px;
}
body.sp-skin h1, body.sp-skin h2, body.sp-skin h3, body.sp-skin h4,
body.sp-skin .entry-title, body.sp-skin .woocommerce-order-details__title {
    font-family: "Fraunces", Georgia, serif !important;
    color: var(--sp-ink) !important;
    font-weight: 600;
    letter-spacing: 0;
}
body.sp-skin a { color: var(--sp-ink); text-decoration: underline; text-underline-offset: 3px; }
body.sp-skin a:hover { color: var(--sp-accent-dark); }

/* The theme's own header, breadcrumb and footer go; ours (printed by the
   plugin) take their place. */
body.sp-skin .site-header, body.sp-skin .storefront-breadcrumb, body.sp-skin .site-footer,
body.sp-skin .storefront-handheld-footer-bar, body.sp-skin .storefront-sticky-add-to-cart,
body.sp-skin #secondary { display: none !important; }
body.sp-skin .site-content, body.sp-skin #content { background: transparent; }
body.sp-skin .col-full { max-width: 1100px; }
body.sp-skin .entry-title { text-align: left; font-size: 2rem; margin: 0 0 1rem; }

/* Our header: the announcement bar and a slim bar with the logo, as on the shop. */
.sp-ann { display: block; padding: 7px 16px; background: var(--sp-ink); color: #fff !important; font-size: 13px; font-weight: 600; text-align: center; text-decoration: none !important; }
.sp-bar { background: var(--sp-surface); border-bottom: 1px solid var(--sp-line); }
.sp-bar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 20px; }
.sp-bar-inner img { height: 56px; width: auto; display: block; }
.sp-bar-links { display: flex; gap: 2px; margin-left: auto; }
.sp-bar-links a { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 700; color: var(--sp-ink); text-decoration: none; }
.sp-bar-links a:hover { background: var(--sp-surface-alt); color: var(--sp-ink); }
.sp-bar-links a.sp-current { background: var(--sp-accent); }
.sp-steps { max-width: 1100px; margin: 18px auto 0; padding: 0 24px; color: var(--sp-ink-soft); font-size: 14px; }
.sp-steps b { color: var(--sp-ink); }
.sp-foot { margin-top: 48px; padding: 28px 24px; background: var(--sp-surface-alt); color: var(--sp-ink-soft); font-size: 14px; text-align: center; }
.sp-foot a { color: var(--sp-ink); }

/* Notices (returning customer, coupon): birch panels, not blue bars. */
body.sp-skin .woocommerce-info, body.sp-skin .woocommerce-message, body.sp-skin .woocommerce-error,
body.sp-skin .woocommerce-form-login-toggle .woocommerce-info, body.sp-skin .woocommerce-form-coupon-toggle .woocommerce-info {
    background: var(--sp-surface-alt) !important; color: var(--sp-ink) !important;
    border-left: 4px solid var(--sp-accent) !important; border-radius: var(--sp-radius-sm);
}
body.sp-skin .woocommerce-error { border-left-color: var(--sp-heart) !important; }
body.sp-skin .woocommerce-info a, body.sp-skin .woocommerce-message a { color: var(--sp-ink) !important; }

/* Forms. */
body.sp-skin .form-row label { color: var(--sp-ink); font-weight: 600; font-size: 14px; }
body.sp-skin .input-text, body.sp-skin input[type="text"], body.sp-skin input[type="email"], body.sp-skin input[type="tel"],
body.sp-skin input[type="password"], body.sp-skin textarea, body.sp-skin .select2-container .select2-selection--single {
    background: var(--sp-surface) !important; border: 1px solid var(--sp-line) !important; border-radius: var(--sp-radius-sm) !important;
    color: var(--sp-ink) !important; box-shadow: none !important; font: inherit !important; padding: 10px 12px !important; height: auto !important;
}
body.sp-skin .select2-container .select2-selection--single .select2-selection__rendered { line-height: 1.4; padding-left: 0; color: var(--sp-ink); }
body.sp-skin .select2-container .select2-selection--single .select2-selection__arrow { height: 100%; }
body.sp-skin .input-text:focus, body.sp-skin input:focus, body.sp-skin textarea:focus { outline: 2px solid var(--sp-ink); outline-offset: 1px; }

/* Order review and payment box. */
body.sp-skin #order_review, body.sp-skin .woocommerce-checkout-review-order,
body.sp-skin .woocommerce-order-details, body.sp-skin .woocommerce-customer-details, body.sp-skin .woocommerce-MyAccount-content {
    background: var(--sp-surface); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 18px;
    box-shadow: 0 1px 2px rgba(31,42,68,.06), 0 6px 20px rgba(31,42,68,.06);
}
body.sp-skin table.shop_table { border: 0; margin: 0; }
body.sp-skin table.shop_table th, body.sp-skin table.shop_table td { border-color: var(--sp-line) !important; background: transparent !important; color: var(--sp-ink); }
body.sp-skin table.shop_table tfoot .order-total td, body.sp-skin table.shop_table tfoot .order-total th { font-size: 1.1rem; }
body.sp-skin #payment { background: var(--sp-surface-alt) !important; border-radius: var(--sp-radius-sm); }
body.sp-skin #payment .payment_box { background: var(--sp-surface) !important; color: var(--sp-ink-soft) !important; border-radius: var(--sp-radius-sm); }
body.sp-skin #payment .payment_box::before { display: none; }
body.sp-skin #payment ul.payment_methods li { border-color: var(--sp-line); }

/* Buttons: the shop's orange pill. */
body.sp-skin .button, body.sp-skin button.button, body.sp-skin input[type="submit"], body.sp-skin #place_order,
body.sp-skin .woocommerce-button, body.sp-skin .wc-forward {
    background: var(--sp-accent) !important; color: var(--sp-ink) !important; border: 0 !important; border-radius: 999px !important;
    font: inherit !important; font-weight: 700 !important; font-size: 16px !important; padding: 12px 22px !important; text-decoration: none !important;
    box-shadow: none !important; cursor: pointer;
}
body.sp-skin .button:hover, body.sp-skin #place_order:hover, body.sp-skin input[type="submit"]:hover { background: var(--sp-accent-dark) !important; color: #fff !important; }
body.sp-skin #place_order { width: 100%; font-size: 18px !important; padding: 14px 22px !important; }
body.sp-skin #place_order:disabled, body.sp-skin .button:disabled { opacity: .55; }

/* My Account navigation. */
body.sp-skin .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
body.sp-skin .woocommerce-MyAccount-navigation a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; }
body.sp-skin .woocommerce-MyAccount-navigation .is-active a { background: var(--sp-accent); }
body.sp-skin .woocommerce-MyAccount-navigation a:hover { background: var(--sp-surface-alt); }

body.sp-skin .blockUI.blockOverlay { background: var(--sp-bg) !important; }
@media (max-width: 600px) {
    .sp-bar-inner img { height: 44px; }
    body.sp-skin .entry-title { font-size: 1.6rem; }
}
