/*
Theme Name: Cool Side Spectrum
Description: A responsive storefront for Cool Side Computer Systems with native WooCommerce product and checkout templates.
Version: 1.0.0
Author: Cool Side Computer Systems
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: cool-side-spectrum
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --ink: #191523;
  --muted: #5e5669;
  --paper: #fff;
  --canvas: #f8f6fa;
  --line: #e6e0eb;
  --pink: #b90065;
  --pink-dark: #8c004c;
  --night: #201729;
  --width: 82rem;
  --gutter: clamp(1rem, 3vw, 2.75rem);
  --radius: 1.15rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--pink-dark); text-underline-offset: .19em; }
a:hover { color: var(--pink); }
:focus-visible { outline: 3px solid #9a26ba; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.035em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.4vw, 3.65rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.45rem); }
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
input, button, select, textarea { font: inherit; }
.cs-shell { width: min(100% - 2 * var(--gutter), var(--width)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.screen-reader-text:focus { background: white; clip-path: none; width: auto; height: auto; z-index: 10000; padding: .65rem 1rem; top: .5rem; left: .5rem; }
.cs-utility { background: var(--night); color: #fff; font-size: .84rem; }
.cs-utility .cs-shell { display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: space-between; padding-block: .45rem; }
.cs-utility a { color: #fff; }
.cs-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.cs-header-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem clamp(1rem, 3vw, 2.5rem); padding-block: .8rem; }
.cs-brand, .cs-header .custom-logo-link { display: inline-flex; align-items: center; color: var(--ink); font-weight: 750; text-decoration: none; }
.cs-header .custom-logo, .cs-brand img { display: block; width: clamp(6.25rem, 11vw, 9.25rem); height: auto; max-height: 5.7rem; object-fit: contain; }
.cs-search { display: flex; min-width: 0; border: 1px solid var(--line); border-radius: .8rem; background: var(--canvas); }
.cs-search input { flex: 1 1 auto; min-width: 0; border: 0; padding: .65rem .9rem; border-radius: inherit; background: transparent; color: var(--ink); }
.cs-actions { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; }
.cs-actions a { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.cs-button, .cs-search button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .7rem; padding: .63rem 1rem; color: white; background: var(--pink); font-weight: 750; line-height: 1.35; text-decoration: none; cursor: pointer; }
.cs-button:hover, .cs-search button:hover { color: white; background: var(--pink-dark); }
.cs-button--outline { border-color: #d5b9cd; color: #fff; background: transparent; }
.cs-nav-row { border-top: 1px solid var(--line); }
.cs-nav-row .cs-shell { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.cs-nav { flex: 1 1 40rem; min-width: 0; }
.cs-nav ul, .cs-footer ul { list-style: none; padding: 0; margin: 0; }
.cs-nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem clamp(.2rem, 1vw, .85rem); }
.cs-nav li { position: relative; display: flex; flex-wrap: wrap; align-items: center; min-width: 0; }
.cs-nav a { padding: .65rem .42rem; color: var(--ink); font-size: .89rem; font-weight: 690; text-decoration: none; overflow-wrap: anywhere; }
.cs-nav a:hover, .cs-nav .current-menu-item > a { color: var(--pink-dark); text-decoration: underline; }
.cs-menu-toggle, .cs-sub-toggle { background: var(--paper); border: 1px solid var(--line); color: var(--ink); border-radius: .45rem; cursor: pointer; padding: .26rem .58rem; min-height: 2rem; }
.cs-menu-toggle { display: none; padding: .45rem .7rem; }
.cs-nav .sub-menu { flex: 1 0 100%; }
.cs-nav .sub-menu a { flex: 1 1 auto; }
.cs-nav .sub-menu[hidden], .cs-nav[hidden] { display: none; }
.cs-js .cs-nav .sub-menu { position: absolute; z-index: 10; inset-block-start: 100%; inset-inline-start: 0; min-width: min(15rem, 70vw); max-width: min(22rem, 85vw); background: white; border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 12px 32px #20172922; padding: .35rem; }
.cs-js .cs-nav .sub-menu .sub-menu { position: static; min-width: 0; border: 0; box-shadow: none; padding-inline-start: .75rem; }
.cs-main { padding-block: clamp(1.5rem, 4vw, 3.7rem); min-height: 55vh; }
.cs-main > :first-child { margin-top: 0; }
.cs-article { overflow-wrap: anywhere; }
.cs-reading { max-width: 76ch; }
.cs-content > :first-child { margin-top: 0; }
.cs-content figure { max-width: 100%; }
.cs-content pre, .cs-content .wp-block-table, .woocommerce .shop_table_responsive { max-width: 100%; overflow-x: auto; }
.cs-content p, .woocommerce-Tabs-panel, .woocommerce-product-details__short-description { overflow-wrap: anywhere; }
.cs-content input:not([type=checkbox]):not([type=radio]), .cs-content select, .cs-content textarea { max-width: 100%; }
.cs-hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 1.5rem; overflow: hidden; padding: clamp(1.4rem, 5vw, 4.8rem); border-radius: clamp(1rem, 3vw, 2rem); background: radial-gradient(ellipse at 90% 18%, #67214f, transparent 55%), linear-gradient(135deg, #201729, #121019); color: white; }
.cs-hero h1 { margin: .15em 0 .35em; max-width: 15ch; font-size: clamp(2.2rem, 5.5vw, 4.65rem); }
.cs-hero p { color: #e9dbe8; max-width: 48ch; margin: 0 0 1.3rem; }
.cs-hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.cs-hero-mark { display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); aspect-ratio: 1.18; border: 1px solid #ffffff38; border-radius: 1.5rem; background: linear-gradient(145deg, #ffffff13, #ffffff03); }
.cs-hero-mark img { width: 85%; filter: drop-shadow(0 16px 20px #0e0618aa); }
.cs-section { margin-block: clamp(2rem, 5vw, 4.5rem); }
.cs-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: 1rem; }
.cs-section-head h2 { margin: 0; }
.cs-categories, .cs-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; padding: 0; list-style: none; }
.cs-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.cs-category { display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; color: var(--ink); text-decoration: none; font-weight: 750; min-height: 5.5rem; overflow-wrap: anywhere; }
.cs-category img { width: 100%; height: 7rem; object-fit: contain; }
.cs-category:hover { border-color: var(--pink); }
.cs-category span { display: flex; justify-content: space-between; gap: .6rem; align-items: center; }
.cs-category b { color: var(--pink); }
.cs-footer { background: var(--night); color: #f5ebf5; padding-block: 2.25rem 1.2rem; }
.cs-footer a { color: #f5ebf5; }
.cs-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.cs-footer h2 { font-size: 1.15rem; letter-spacing: 0; margin: 0 0 .55rem; }
.cs-footer p { margin-block: .3rem; }
.cs-footer-bar { border-top: 1px solid #ffffff33; margin-top: 1.5rem; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; font-size: .89rem; }
@media (max-width: 60rem) {
  .cs-header-main { grid-template-columns: minmax(0, 1fr) auto; }
  .cs-search { grid-column: 1 / -1; grid-row: 2; }
  .cs-nav-row .cs-shell { padding-block: .5rem; }
  .cs-js .cs-menu-toggle { display: inline-flex; order: -2; }
  .cs-nav { order: 2; flex-basis: 100%; }
  .cs-nav-row .cs-button { order: -1; }
  .cs-nav > ul { display: block; }
  .cs-nav a { flex: 1 1 auto; }
  .cs-js .cs-nav .sub-menu { position: static; min-width: 0; max-width: none; box-shadow: none; padding-inline-start: .8rem; }
}
@media (max-width: 42rem) {
  .cs-hero { grid-template-columns: 1fr; }
  .cs-hero-mark { display: none; }
  .cs-footer-grid { grid-template-columns: 1fr; }
}
.cs-help-card h3 { margin: .2rem 0 .45rem; }
.cs-help-card p { margin-bottom: 0; color: var(--muted); }
.cs-product-enquiry { display: inline-block; margin-block: .45rem 1rem; font-weight: 650; }
.cs-header-main > * { min-width: 0; }
@media (min-width: 60.001rem) {
  .cs-js .cs-nav .sub-menu { inset-inline-start: var(--cs-menu-offset, 0px); }
}
