body.cloud-storefront {
    --store-bg: #f4f8f6;
    --store-panel: #fff;
    --store-line: #d4e3de;
    --store-accent: #176754;
    --store-on-accent: #fff;
    --store-tint: #e6f3ee;
}

html[data-site-theme=blue] body.cloud-storefront { --store-accent: #235ca8; --store-tint: #e9f1fd; }
html[data-site-theme=green] body.cloud-storefront { --store-accent: #126444; --store-tint: #e7f5eb; }
html[data-site-theme=dark] body.cloud-storefront {
    color-scheme: dark;
    --store-bg: #101316;
    --store-panel: #181d21;
    --store-line: #303a3f;
    --store-accent: #7ad6bb;
    --store-on-accent: #10211c;
    --store-tint: #202f2c;
    --cloud-ink: #edf1ee;
    --cloud-muted: #a5b1b6;
    --cloud-line: var(--store-line);
    --cloud-blue: var(--store-accent);
    --ink: var(--cloud-ink);
    --muted: var(--cloud-muted);
    --white: var(--store-panel);
    --line: var(--store-line);
    background: var(--store-bg);
    color: var(--cloud-ink);
}

.cloud-storefront :is(.store-section, .cloud-offers, .cloud-catalog-results) { background: var(--store-bg); }
.store-section { padding-block: clamp(28px, 4vw, 54px); scroll-margin-block-start: 88px; }
.store-section[hidden] { display: none; }
.cloud-storefront .store-section + .store-section { border-block-start: 1px solid var(--store-line); }
.store-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-block-end: 22px;
}
.store-section-heading h2 { margin: 0; font-size: clamp(1.5rem, 2.9vw, 2.15rem); color: var(--cloud-ink); }
.store-section-heading p { margin: 4px 0 0; color: var(--cloud-muted); }

.store-navbar, .store-nav-actions, .store-navbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.store-navbar { min-block-size: 72px; padding-block: 10px; }
.store-navbar nav { flex: 1; }
.store-navbar nav a { color: var(--cloud-ink); text-decoration: none; font-weight: 650; }
.store-navbar nav a[aria-current="page"], .store-navbar nav a:hover { color: var(--store-accent); }
.store-logo { display: inline-flex; align-items: center; flex: none; border-radius: 9px; }
.store-logo img { display: block; width: clamp(115px, 15vw, 160px); height: auto; }
.store-intro h1 { margin: 0 0 8px; }
.store-intro .cloud-category-nav { margin: 22px 0 0; }
.cloud-storefront .visitor-themes button[data-site-theme="dark"] { background: linear-gradient(135deg, #171b1e 53%, #7ad6bb 54%); }

.cloud-storefront .cloud-card {
    border-color: var(--store-line);
    background: var(--store-panel);
    color: var(--cloud-ink);
    box-shadow: none;
}
.cloud-storefront .cloud-card:focus-within, .cloud-storefront .cloud-card:hover { border-color: var(--store-accent); }
.cloud-storefront .cloud-card .cloud-offer-icon { background: var(--store-tint); color: var(--store-accent); }
.cloud-storefront .cloud-product-card { align-items: stretch; gap: 14px; }
.store-card-head { display: grid; align-content: start; gap: 6px; }
.store-card-head p { margin: 0; }
.store-card-head .cloud-product-family { justify-self: start; color: var(--store-accent); background: var(--store-tint); }
.cloud-storefront .cloud-product-price {
    min-block-size: 84px;
    padding: 12px;
    margin: 0;
    border: 1px solid var(--store-line);
    border-radius: 10px;
    background: var(--store-bg);
}
.cloud-storefront .cloud-product-price strong { color: var(--cloud-ink); }
.cloud-storefront .cloud-product-price p { margin-block-end: 0; }
.store-offering-features { padding-inline-start: 20px; margin: 0; color: var(--cloud-muted); font-size: .875rem; }
.store-card-actions { display: grid; gap: 8px; width: 100%; margin-block-start: auto; padding-block-start: 4px; }
.store-card-actions > small { color: var(--cloud-muted); text-align: center; }
.store-card-actions .cloud-action { margin: 0; }
.store-paypal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 5px 8px;
    border-radius: 8px;
    color: var(--store-accent);
    font-size: .875rem;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .18em;
}
.store-paypal-link:hover { background: var(--store-tint); }
.cloud-storefront .cloud-action { background: var(--store-panel); border-color: var(--store-line); color: var(--store-accent); }
.cloud-storefront .cloud-action:hover { border-color: var(--store-accent); background: var(--store-tint); }
.cloud-storefront :is(.cloud-action-primary, .cloud-category-nav a[aria-current], .cloud-hero-actions > .button) {
    border-color: var(--store-accent);
    background: var(--store-accent);
    color: var(--store-on-accent);
}
.cloud-storefront :is(.cloud-action-primary, .cloud-hero-actions > .button):hover { filter: brightness(.92); }
.cloud-storefront :is(.cloud-category-nav a:not([aria-current]), .cloud-catalog-form, .cloud-catalog-form :is(input, select), .cloud-catalog-empty) {
    background: var(--store-panel);
    border-color: var(--store-line);
    color: var(--cloud-ink);
}
.cloud-storefront .cloud-catalog-back { color: var(--store-accent); }
.cloud-storefront :is(.store-section, .store-navbar) :focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; }

html[data-site-theme=dark] .cloud-storefront :is(.site-header, .cloud-hero, .cloud-catalog-hero, .cloud-erp-link, .builder, .plans, .contact-section, .partner-strip) {
    background: var(--store-bg);
    border-color: var(--store-line);
    color: var(--cloud-ink);
}
html[data-site-theme=dark] .cloud-storefront :is(.store-logo, .partner-logo) { background: #fff; padding: 5px 8px; }
html[data-site-theme=dark] .cloud-storefront :is(.site-header .desktop-nav a, .site-header .login, .site-header .language, .site-header summary, .section-heading h2, .contact-copy h2, .store-navbar nav a:not([aria-current])) { color: var(--cloud-ink); }
html[data-site-theme=dark] .cloud-storefront :is(.cloud-hero-actions .outline-button, .cloud-erp-link .outline-button, .site-header .language, .visitor-themes, .marketing-mobile-nav nav, .plan-card, .whatsapp-form, .plan-empty) {
    background: var(--store-panel);
    border-color: var(--store-line);
    color: var(--cloud-ink);
}
html[data-site-theme=dark] .cloud-storefront :is(.cloud-product-specs, .cloud-product-more, .cloud-catalog-pagination, .contact-copy p, .admin-note, .partner-strip-head) { color: var(--cloud-muted); }
html[data-site-theme=dark] .cloud-storefront .contact-field :is(input, select, textarea) { background: var(--store-bg); border-color: var(--store-line); color: var(--cloud-ink); }

@media (min-width: 661px) {
    .cloud-card-grid:has(.store-paypal-link) .store-card-actions { grid-template-rows: minmax(44px, auto) 40px; }
}

@media (max-width: 560px) {
    .store-navbar nav { flex: 1 0 100%; order: 1; }
    .store-nav-actions { margin-inline-start: auto; gap: 6px; }
    .store-nav-actions .cloud-action { padding-inline: 9px; font-size: .8125rem; }
    .store-navbar .visitor-themes { padding: 5px; gap: 5px; }
    .store-navbar .visitor-themes button { width: 18px; height: 18px; }
}
