/* One palette and typeface for both public sites; customer-panel styles are separate. */
body.storefront {
    --primary: #2563eb;
    --light: #14191d;
    --dark: #f8fafc;
    --store-bg: #0c0f12;
    --store-surface: #14191d;
    --store-raised: #1b2227;
    --store-line: #293b52;
    --store-text: #f8fafc;
    --store-muted: #aab8c9;
    --store-accent: #7db7ff;
    --store-action: #2563eb;
    --store-action-hover: #1d4ed8;
    --store-font: "Open Sans", Arial, sans-serif;
    --store-info-width: 1720px;
    --primary-gradient: linear-gradient(110deg,#7db7ff,#c4ddff);
    --dark-gradient: linear-gradient(135deg,#14191d,#1b2634);
    color-scheme: dark;
    color: var(--store-text);
    background: var(--store-bg);
    font-family: var(--store-font);
}
body.storefront :is(h1,h2,h3,h4,h5,h6,input,select,textarea,button,.btn) { font-family: var(--store-font); }
body.storefront :is(h1,h2,h3,h4,h5,h6) { color: var(--store-text); }
body.storefront:is(.store-marketing,.store-info-page) :is(.bg-white,.bg-light,.bg-body) { background-color: var(--store-surface) !important; }
body.storefront:is(.store-marketing,.store-info-page) :is(.text-dark,.text-black,.text-body) { color: var(--store-text) !important; }
body.storefront:is(.store-marketing,.store-info-page) :is(.bg-warning,.btn-warning,.bg-info).text-dark { color: #17202c !important; }
body.storefront:is(.store-marketing,.store-info-page) :is(.text-muted,.text-secondary,.text-black-50,.text-white-50) { color: var(--store-muted) !important; }
body.storefront.store-marketing :is(.text-primary,.text-gradient) { color: var(--store-accent) !important; }
body.storefront:is(.store-marketing,.store-info-page) :is(.border,.border-top,.border-bottom,.border-start,.border-end) { border-color: var(--store-line) !important; }
body.storefront:is(.store-marketing,.store-info-page) :is(.card,.modal-content,.accordion-item,.list-group-item,.dropdown-menu,.toast) { background: var(--store-surface); color: var(--store-text); border-color: var(--store-line); }
body.storefront:is(.store-marketing,.store-info-page) :is(.card-header,.modal-header,.modal-footer,.toast-header) { background: transparent; color: var(--store-text); border-color: var(--store-line); }
body.storefront:is(.store-marketing,.store-info-page) :is(.accordion-button,.dropdown-item) { color: var(--store-text); background: var(--store-surface); }
body.storefront:is(.store-marketing,.store-info-page) :is(.accordion-button:not(.collapsed),.dropdown-item:hover,.dropdown-item:focus) { background: var(--store-raised); color: #b5d5ff; }
body.storefront:is(.store-marketing,.store-info-page) .accordion-button::after { filter: brightness(0) invert(1); opacity: .8; }
body.storefront:is(.store-marketing,.store-info-page) .accordion-button { box-shadow: none; line-height: 1.6; }
body.storefront:is(.store-marketing,.store-info-page) .accordion-body { color: #c4cedc; line-height: 1.85; }
body.storefront:is(.store-marketing,.store-info-page) .btn-close { filter: invert(1) grayscale(1); }
body.storefront.store-marketing :is(.form-control,.form-select) { background-color: #10151b; color: var(--store-text); border-color: #415168; }
body.storefront.store-marketing :is(.form-control,.form-select)::placeholder { color: #aab8c9; opacity: 1; }
body.storefront.store-marketing :is(.form-control,.form-select):focus { border-color: var(--store-accent); box-shadow: 0 0 0 .2rem #2563eb33; }
body.storefront:is(.store-marketing,.store-info-page) .table { --bs-table-bg: transparent; --bs-table-striped-bg: #1b2227; --bs-table-striped-color: #e4ecf7; --bs-table-hover-color: #fff; --bs-table-hover-bg: #202c3a; color: var(--store-text); border-color: var(--store-line); }
body.storefront:is(.store-marketing,.store-info-page) .table > :not(caption) > * > * { background-color: transparent; color: inherit; border-color: var(--store-line); }
body.storefront.store-marketing a { color: var(--store-accent); }
body.storefront.store-marketing a:hover { color: #b5d5ff; }
body.storefront.store-marketing :is(.btn-primary,.btn-success) { color: #fff; background: var(--store-action); border-color: var(--store-action); }
body.storefront.store-marketing :is(.btn-primary,.btn-success):hover { background: var(--store-action-hover); border-color: var(--store-action-hover); }
body.storefront.store-marketing :is(.btn-outline-primary,.btn-outline-dark) { color: #b5d5ff; background: transparent !important; border-color: #526e94; }
body.storefront.store-marketing :is(.btn-outline-primary,.btn-outline-dark):hover { color: #fff; background: #1c3150 !important; }
body.storefront #site-header-wrapper .navbar-dark .navbar-toggler-icon { filter: none; }
body.storefront.store-marketing #home { background: radial-gradient(ellipse at 80% 30%,#2563eb18,transparent 60%),var(--store-bg) !important; padding-block: clamp(2rem,5vw,5rem); }
body.storefront.store-marketing #home .drop-shadow { max-height: clamp(300px,40vw,520px); width: auto; object-fit: contain; filter: drop-shadow(0 20px 45px #2563eb20); }
body.storefront.store-marketing #home .py-6 { padding-block: 0 !important; }
body.storefront.store-marketing #home > .container { background: transparent !important; }
body.storefront.store-marketing #home .display-3 { font-size: clamp(2.5rem,5vw,4.25rem); letter-spacing: -.045em; line-height: 1.13; }
body.storefront.store-marketing :is(.service-item,.portfolio-item .portfolio-img,.cta-box-premium) { background: var(--store-surface); border: 1px solid var(--store-line); border-radius: 6px; }
body.storefront.store-marketing .service-item:hover { border-color: #4a73a6; }
body.storefront.store-marketing #shop-showcase .card { border: 1px solid var(--store-line) !important; border-radius: 6px; overflow: hidden; box-shadow: none; }
body.storefront.store-marketing #contact .bg-white { border: 1px solid var(--store-line); border-radius: 6px !important; }
body.storefront .footer-modern .footer-copyright a { color: #9bc6ff !important; }
body.storefront.store-info-page .hero-section { background: radial-gradient(ellipse at 50% 0,#2563eb1c,transparent 65%),var(--store-bg); padding-block: clamp(3rem,6vw,5rem); border-bottom: 1px solid var(--store-line); }
body.storefront.store-info-page .hero-section h1 { font-size: clamp(2.15rem,4.7vw,3.75rem); line-height: 1.15; letter-spacing: -.04em; }
body.storefront.store-info-page .hero-section p { font-size: clamp(1rem,2vw,1.2rem) !important; }
body.storefront.store-info-page .text-gradient { color: #8cc0ff; background: none; -webkit-text-fill-color: currentColor; }
body.storefront.store-info-page :is(.pillar-card,.feature-card,.service-card,.guarantee-card,.highlight-box) { height: 100%; padding: clamp(1.25rem,3vw,2rem); background: var(--store-surface); border: 1px solid var(--store-line); border-radius: 6px; color: var(--store-text); }
body.storefront.store-info-page .pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.25rem; background: #1b304c; color: #9fcbff; border-radius: 6px; font-size: 1.4rem; }
body.storefront.store-info-page :is(.py-6.bg-light,.py-6.bg-white) { padding-block: clamp(2.5rem,5vw,4rem); background-color: var(--store-bg) !important; border-bottom: 1px solid #213044; }
body.storefront.store-info-page .faq-accordion { max-width: 900px; margin-inline: auto; }
body.storefront.store-info-page .accordion-item { border: 0; border-bottom: 1px solid var(--store-line); border-radius: 0; overflow: hidden; }
body.storefront.store-info-page .accordion-button { padding: 1.3rem 1.25rem; }
body.storefront.store-info-page .accordion-body { padding: .5rem 1.25rem 1.5rem; }
body.storefront.store-document .accordion-header { margin: 0; }
body.storefront.store-info-page .store-faq-main { max-width: var(--store-info-width); padding-block: clamp(2.5rem,5vw,4rem); }
body.storefront:is(.store-document,.store-info-page) .container { max-width: var(--store-info-width); }
body.storefront.store-document > .container-xxl { width: 100%; max-width: var(--store-info-width); margin-inline: auto; }
body.storefront:is(.store-marketing,.store-info-page) :is([style*="background: #ffffff"],[style*="background: #f8fafc"],[style*="background-color: #f1f5f9"]) { background: var(--store-surface) !important; }
body.storefront:is(.store-marketing,.store-info-page) .payment-card { border-color: var(--store-line) !important; }
/* Custom legacy components need the same surface treatment as Bootstrap cards. */
body.storefront :is(.feature-showcase,.quote-card,.cta-box-premium,.phil-card,.plugin-card,.comparison-table,.support-box,.node,.path-label,.guarantee-box) { background: var(--store-surface); color: var(--store-text); border-color: var(--store-line); box-shadow: none; }
body.storefront :is(.feature-showcase,.quote-card,.cta-box-premium,.phil-card,.plugin-card,.comparison-table,.support-box,.guarantee-box) { border-radius: 6px; }
body.storefront .nav-tabs .nav-link { color: var(--store-muted); border-color: transparent; }
body.storefront .nav-tabs .nav-link.active { background: var(--store-raised); color: #b8d7ff; border-color: var(--store-line); }
body.storefront.store-home-page > main > section { margin-block: 0 !important; padding-block: clamp(2.5rem,5vw,4.5rem) !important; }
body.storefront.store-home-page > main > :is(#services,#worldwide,#contact) { background: var(--store-bg) !important; border-top: 1px solid #253447; }
body.storefront.store-home-page #home { padding-block: clamp(2.5rem,5vw,4rem) !important; border-bottom: 1px solid var(--store-line); }
body.storefront.store-home-page #home h1 { font-size: clamp(2.6rem,5vw,4.1rem); line-height: 1.15; letter-spacing: -.04em; }
body.storefront.store-home-page #home .fs-4 { font-size: clamp(1.05rem,2vw,1.25rem) !important; }
body.storefront.store-home-page #home .typed-text-output { font-size: 1.15rem !important; }
body.storefront.store-home-page .service-item { border: 1px solid var(--store-line); border-radius: 6px !important; background: var(--store-surface) !important; box-shadow: none !important; }
body.storefront.store-home-page .service-item:hover { border-color: #53769f !important; transform: translateY(-3px); }
body.storefront.store-home-page .service-item .icon-container { width: 48px; height: 48px; border-radius: 6px !important; color: #a8cfff; background: #1a2c44 !important; }
body.storefront.store-home-page .service-item .icon-container i { color: #a8cfff !important; font-size: 1.35rem; }
body.storefront.store-home-page #shop-showcase { border-block: 1px solid var(--store-line); background: var(--store-bg) !important; }
body.storefront.store-home-page #shop-showcase .card { border-color: var(--store-line) !important; background: var(--store-surface); }
body.storefront.store-home-page #shop-showcase .store-home-product-media { display: block; width: 100%; overflow: hidden; border-bottom: 1px solid var(--store-line); }
body.storefront.store-home-page #shop-showcase .card-img-top { display: block; width: 100%; height: auto !important; max-height: none; aspect-ratio: auto; object-fit: contain; transform: none; }
body.storefront.store-home-page #contact .bg-white { padding: 2rem !important; }
body.storefront.store-home-page .store-home-why { border-block: 1px solid #344c6c; background: linear-gradient(100deg,#14243a,#0f151e) !important; box-shadow: none !important; }
body.storefront.store-home-page #plugingoat h2 { font-size: clamp(2.5rem,5vw,4rem) !important; }
body.storefront #site-header-wrapper .store-external-nav-link { display: inline-flex; align-items: center; gap: .4rem; }
body.storefront #site-header-wrapper .store-external-nav-link i { font-size: .85em; color: var(--store-accent); }
/* One purchase FAQ module for catalogs and product/bundle detail pages. */
body.storefront .catalog-questions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; padding-top: 3rem; border-top: 1px solid var(--store-line); }
body.storefront .catalog-questions h2 { margin: 0 0 1rem; font-size: clamp(1.5rem,3vw,2rem); line-height: 1.3; }
body.storefront .catalog-questions p { color: var(--store-muted); font-size: 1rem; line-height: 1.75; }
body.storefront .catalog-questions .catalog-eyebrow { margin-bottom: .75rem; color: var(--store-accent); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
body.storefront .catalog-questions .catalog-inline-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--store-accent); font-size: .9375rem; }
body.storefront .catalog-question-list details { border-bottom: 1px solid var(--store-line); scroll-margin-top: calc(var(--store-header-height,84px) + 1.5rem); }
body.storefront .catalog-question-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 72px; padding-block: 1rem; color: #e1e8ed; font-size: 1rem; cursor: pointer; list-style: none; }
body.storefront .catalog-question-list summary::-webkit-details-marker { display: none; }
body.storefront .catalog-question-list summary:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 4px; }
body.storefront .catalog-question-list summary i { flex-shrink: 0; color: var(--store-muted); font-size: .875rem; }
body.storefront .catalog-question-list details[open] summary i { transform: rotate(180deg); }
body.storefront .catalog-question-list details p { margin-bottom: 0; padding-bottom: 1rem; font-size: 1rem; }
body.storefront .store-product-faq { padding-block: 1rem 3rem; }
body.storefront .store-payments { padding-block: clamp(2.5rem,5vw,4rem); }
body.storefront .store-payments-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
body.storefront .store-payments-heading h1 { margin: 0 0 .75rem; font-size: clamp(2rem,4vw,2.75rem); }
body.storefront .store-payments-heading p { margin: 0; color: var(--store-muted); font-size: 1.0625rem; }
body.storefront .store-payments-heading .btn { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; padding: .8rem 1.2rem; }
body.storefront .store-payments-notice { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 2rem; padding: 1rem 1.25rem; color: #b8cbe1; background: #142136; border-left: 2px solid #789fd0; border-radius: 4px; }
body.storefront .store-payments-notice i { margin-top: .1rem; color: #a5caff; font-size: 1.1rem; }
body.storefront .store-payments-notice p { margin: 0; font-size: .9375rem; line-height: 1.75; }
body.storefront .store-payments-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.25rem; }
body.storefront .store-payment-option { min-width: 0; padding: 1.5rem; border: 1px solid var(--store-line); border-radius: 6px; background: var(--store-surface); }
body.storefront .store-payment-option-logo { display: flex; align-items: center; height: 44px; margin-bottom: 1.25rem; }
body.storefront .store-payment-option-logo img { display: block; width: auto; height: auto; max-width: 128px; max-height: 40px; object-fit: contain; }
body.storefront.store-document .store-payment-option h2 { margin: 0 0 .6rem; font-size: 1.125rem; font-weight: 600; }
body.storefront .store-payment-option p { margin: 0; color: var(--store-muted); font-size: .9375rem; line-height: 1.75; }
body.storefront .store-payment-details { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--store-line); }
body.storefront.store-document .store-payment-details h2 { margin: 0 0 1.25rem; font-size: 1.5rem; }
body.storefront .store-payment-detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 0 2rem; }
body.storefront .store-payment-detail-list details { min-width: 0; border-bottom: 1px solid var(--store-line); }
body.storefront .store-payment-detail-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 64px; padding-block: 1rem; color: #e2eaf5; font-size: 1rem; list-style: none; cursor: pointer; }
body.storefront .store-payment-detail-list summary::-webkit-details-marker { display: none; }
body.storefront .store-payment-detail-list summary i { color: #a9c4e6; font-size: .875rem; }
body.storefront .store-payment-detail-list details[open] summary i { transform: rotate(180deg); }
body.storefront .store-payment-detail-list details > div { padding-bottom: 1.5rem; color: var(--store-muted); line-height: 1.8; overflow-wrap: anywhere; }
@media (max-width: 1199.98px) {
    body.storefront .store-payments-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767.98px) {
    body.storefront .store-payments-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.storefront .store-payments-heading { flex-direction: column; }
    body.storefront .store-payment-detail-list { grid-template-columns: 1fr; }
}
@media (max-width: 479.98px) {
    body.storefront .store-payments-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    body.storefront .catalog-questions { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 575px) {
    body.storefront.store-marketing #home .display-3 { font-size: 2.5rem; }
    body.storefront.store-info-page .accordion-button { padding-inline: 1rem; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    body.storefront.store-marketing :is(.wow,.blink,.hover-scale,.transition-all) { animation: none !important; transition: none !important; visibility: visible !important; transform: none !important; }
}
@media (prefers-contrast: more) {
    body.storefront { --store-muted: #e0e7f1; --store-line: #8192ad; }
}
