/* Visitor-selectable light and dark color themes. */
:root {
    --cc-green: #0c50e5;
    --cc-blue: #0c50e5;
}
html { color-scheme: dark; }

html[data-cc-theme="light"] {
    color-scheme: light;
    --cc-bg: #f4f7f8;
    --cc-card: #ffffff;
    --cc-text: #10181d;
    --cc-muted: #56646d;
    --cc-green: #0c50e5;
    --cc-blue: #0c50e5;
    --cc-line: rgba(9, 31, 42, .14);
}

body,
.cc-header,
.cc-section,
.cc-section-dark,
.cc-product,
.cc-value,
.woocommerce ul.products li.product {
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.cc-icon-button { position: relative; }
.cc-theme-toggle { padding: 0; cursor: pointer; font-size: 1.2rem; line-height: 1; }

.cc-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.cc-badge,
.cc-cart-count { color: #fff !important; }

html[data-cc-theme="light"] .cc-header { background: rgba(255, 255, 255, .9); }
html[data-cc-theme="light"] .cc-nav a { color: #34434c; }
html[data-cc-theme="light"] .cc-nav a:hover { color: #05080a; }
html[data-cc-theme="light"] .cc-icon-button {
    border-color: rgba(9, 31, 42, .18);
    background: rgba(9, 31, 42, .045);
    color: #10181d;
}
html[data-cc-theme="light"] .cc-icon-button:hover { border-color: var(--cc-blue); }
html[data-cc-theme="light"] .cc-cart-count,
html[data-cc-theme="light"] .cc-button,
html[data-cc-theme="light"] .woocommerce a.button,
html[data-cc-theme="light"] .woocommerce button.button,
html[data-cc-theme="light"] .woocommerce input.button,
html[data-cc-theme="light"] .cc-badge { color: #fff !important; }
html[data-cc-theme="light"] .cc-copy { color: #46545d; }
html[data-cc-theme="light"] .cc-value p,
html[data-cc-theme="light"] .cc-footer-inner { color: #5e6a72; }
html[data-cc-theme="light"] .cc-section-dark { background: #e9eef0; }
html[data-cc-theme="light"] .cc-hero {
    background: radial-gradient(circle at 76% 45%, rgba(12, 80, 229, .18), transparent 25%),
                radial-gradient(circle at 84% 52%, rgba(12, 80, 229, .11), transparent 34%),
                linear-gradient(115deg, #f9fbfc 0%, #eaf3f8 55%, #f7f8fb 100%);
}
html[data-cc-theme="light"] .cc-hero:before {
    opacity: .28;
    background-image: linear-gradient(rgba(9, 31, 42, .1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(9, 31, 42, .1) 1px, transparent 1px);
}
html[data-cc-theme="light"] .cc-feature {
    border-color: rgba(12, 80, 229, .25);
    background: radial-gradient(circle at 75% 20%, rgba(12, 80, 229, .18), transparent 30%),
                linear-gradient(135deg, #edf7fb, #fff 68%);
}
html[data-cc-theme="light"] .cc-feature-media { background: rgba(9, 31, 42, .04); }
html[data-cc-theme="light"] .cc-product-media,
html[data-cc-theme="light"] .cc-category-card { background: #e7ecef; }
html[data-cc-theme="light"] .cc-story-label,
html[data-cc-theme="light"] .cc-story-caption,
html[data-cc-theme="light"] .cc-category-card h3 { color: #fff; }
html[data-cc-theme="light"] .cc-button.alt { border-color: rgba(9, 31, 42, .18) !important; }

html[data-cc-theme="light"] input:not([type="submit"]):not([type="button"]),
html[data-cc-theme="light"] select,
html[data-cc-theme="light"] textarea {
    border-color: rgba(9, 31, 42, .22);
    background: #fff;
    color: #10181d;
}
html[data-cc-theme="light"] .woocommerce table.shop_table,
html[data-cc-theme="light"] .woocommerce form.checkout_coupon,
html[data-cc-theme="light"] .woocommerce form.login,
html[data-cc-theme="light"] .woocommerce form.register,
html[data-cc-theme="light"] .woocommerce .woocommerce-message,
html[data-cc-theme="light"] .woocommerce .woocommerce-info,
html[data-cc-theme="light"] .woocommerce .woocommerce-error,
html[data-cc-theme="light"] .woocommerce div.product .woocommerce-tabs ul.tabs li,
html[data-cc-theme="light"] .woocommerce div.product .woocommerce-tabs .panel {
    border-color: var(--cc-line);
    background: #fff;
    color: #10181d;
}

@media (max-width: 900px) {
    html[data-cc-theme="light"] .cc-nav.is-open { background: #fff; }
}

/* Match the storefront canvas to the slate backgrounds used by Image Studio. */
:root {
    --cc-page-texture: url("../media/dark-slate-site-texture.webp");
    --cc-texture-overlay: rgba(5, 8, 10, .70);
}

html[data-cc-theme="light"] {
    --cc-page-texture: url("../media/light-slate-site-texture.webp");
    --cc-texture-overlay: rgba(244, 247, 248, .76);
}

body {
    background-color: var(--cc-bg);
    background-image: linear-gradient(var(--cc-texture-overlay), var(--cc-texture-overlay)), var(--cc-page-texture);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.cc-section { background-color: transparent; }
.cc-section-dark { background: transparent; }
html[data-cc-theme="light"] .cc-section-dark { background: transparent; }

.cc-hero {
    background-image: radial-gradient(circle at 76% 45%, rgba(12, 80, 229, .18), transparent 25%),
                      radial-gradient(circle at 84% 52%, rgba(12, 80, 229, .14), transparent 34%),
                      linear-gradient(rgba(3, 7, 10, .42), rgba(3, 7, 10, .42)),
                      var(--cc-page-texture);
    background-position: center;
    background-size: auto, auto, auto, cover;
}

html[data-cc-theme="light"] .cc-hero {
    background-image: radial-gradient(circle at 76% 45%, rgba(12, 80, 229, .16), transparent 25%),
                      radial-gradient(circle at 84% 52%, rgba(12, 80, 229, .09), transparent 34%),
                      linear-gradient(rgba(249, 251, 252, .50), rgba(249, 251, 252, .50)),
                      var(--cc-page-texture);
}

/* Keep the navigation logo; remove the duplicate hero wordmark and reduce the fish. */
.cc-hero-art .mark { display: none; }
.cc-hero-art .bass {
    max-width: 67.5%;
    max-height: 67.5%;
}

.cc-wordmark { filter: drop-shadow(0 4px 15px rgba(12, 80, 229, .20)); }
.cc-hero-art:before {
    background: radial-gradient(circle, rgba(12, 80, 229, .24), rgba(12, 80, 229, .12) 38%, transparent 70%);
}
.cc-feature { border-color: rgba(12, 80, 229, .25); }

.cc-feature {
    background: rgba(8, 22, 32, .34);
    backdrop-filter: blur(2px);
}

html[data-cc-theme="light"] .cc-feature {
    background: rgba(255, 255, 255, .34);
}

/* Match navigation to the site's regular body typography. */
.cc-nav a {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}
