/* css/layout-spotlight-pages.css
   Version: 1.0.0
   Spotlight layout (Frozen Arctic Services), the other pages of the drawings: shop, item, cart, checkout, account, articles, contents list.
   Plain lettering, left-aligned headings, square quiet cards, nothing glowing. Colours come from the site colour set. */

/* Headings: plain, left, in the heading font (not the script) */
html body.fas-layout-spotlight .woocommerce-products-header__title, html body.fas-layout-spotlight .entry-title, html body.fas-layout-spotlight .page-title,
html body.fas-layout-spotlight .wp-block-woocommerce-cart h1, html body.fas-layout-spotlight .woocommerce-checkout h1, html body.fas-layout-spotlight .woocommerce-MyAccount-content h2 {
  font-family: Sora, system-ui, sans-serif !important; text-align: left !important; font-weight: 800 !important; line-height: 1.15 !important; text-shadow: none !important;
}
html body.fas-layout-spotlight .woocommerce-products-header__title { font-size: clamp(1.9rem, 4vw, 2.5rem) !important; margin: 4px 0 14px !important; }
html body.fas-layout-spotlight .woocommerce-breadcrumb { text-align: left !important; margin: 0 !important; }

/* Shop: a row of chips, search and sort under it */
.fas-spot-chips ul { justify-content: flex-start; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
html body.fas-layout-spotlight .fas-spot-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--game-accent, #0b3a6f); border-radius: 24px;
  font-weight: 600; text-decoration: none; background: transparent; color: var(--game-accent, #0b3a6f); }
html body.fas-layout-spotlight .fas-spot-chips a[aria-current="page"] { background: var(--game-accent, #0b3a6f) !important; color: var(--game-on-accent, #fff) !important; }
html body.fas-layout-spotlight .fas-shop-toolbar { gap: 8px; margin: 0 0 14px; }
html body.fas-layout-spotlight .fas-spot-chips ~ .fas-shop-toolbar #fas-shop-cat, html body.fas-layout-spotlight .fas-spot-chips ~ .fas-shop-toolbar select#fas-shop-cat { display: none; }
html body.fas-layout-spotlight .fas-shop-toolbar-search { border-radius: 6px; }
html body.fas-layout-spotlight .woocommerce-result-count { text-align: left !important; float: none !important; margin: 0 0 12px !important; }

/* Cards: picture on top, name and price underneath, left-aligned */
html body.fas-layout-spotlight.woocommerce ul.products li.product { padding: 0 0 12px !important; text-align: left !important; background: var(--game-card, #fff) !important; }
html body.fas-layout-spotlight.woocommerce ul.products li.product img { width: 100% !important; height: auto !important; margin: 0 !important; aspect-ratio: 4 / 5; object-fit: cover; }
html body.fas-layout-spotlight.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: 'Source Sans 3', system-ui, sans-serif !important; font-size: 1.05rem !important; font-weight: 600 !important; line-height: 1.25 !important; text-align: left !important; padding: 10px 12px 0 !important; margin: 0 !important; }
html body.fas-layout-spotlight.woocommerce ul.products li.product .price { display: block; padding: 4px 12px 0; text-align: left !important; font-weight: 600; }
html body.fas-layout-spotlight.woocommerce ul.products li.product .button { margin: 8px 12px 0 !important; }

/* Item page: picture left, buying panel right */
html body.fas-layout-spotlight.single-product div.product .product_title { font-family: Sora, system-ui, sans-serif !important; font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important; text-align: left !important; }
html body.fas-layout-spotlight.single-product div.product p.price, html body.fas-layout-spotlight.single-product div.product span.price { font-size: 1.6rem !important; font-weight: 800; }
html body.fas-layout-spotlight.single-product .quantity .qty { min-height: 48px; min-width: 64px; border-radius: 6px; }
html body.fas-layout-spotlight.single-product .single_add_to_cart_button { min-height: 48px; padding: 0 28px !important; border-radius: 8px !important; }
html body.fas-layout-spotlight.single-product table.variations select { min-height: 44px; border-radius: 6px; }
html body.fas-layout-spotlight.single-product .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.fas-spot-note { margin: 16px 0 0; padding: 12px 14px; border-left: 4px solid var(--game-accent, #0b3a6f); background: var(--game-card, #fff); line-height: 1.55; }

/* Cart, checkout: items on the left, a summary card on the right */
html body.fas-layout-spotlight .wc-block-cart, html body.fas-layout-spotlight .wc-block-checkout { gap: 32px; }
html body.fas-layout-spotlight .wc-block-cart__sidebar, html body.fas-layout-spotlight .wc-block-checkout__sidebar { background: var(--game-card, #fff); border: 1px solid var(--game-edge, #aabacd); padding: 16px; align-self: start; }
html body.fas-layout-spotlight .wc-block-cart-items__row .wc-block-cart-item__image img { width: 96px; height: auto; border-radius: 4px; }
html body.fas-layout-spotlight .wc-block-components-button:not(.is-link) { min-height: 48px; border-radius: 8px; font-weight: 600; }
html body.fas-layout-spotlight .wc-block-components-text-input input, html body.fas-layout-spotlight .wc-block-components-select select { min-height: 48px; border-radius: 6px; }
html body.fas-layout-spotlight .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image img { width: 56px; height: auto; border-radius: 4px; }
html body.fas-layout-spotlight .woocommerce-order h2, html body.fas-layout-spotlight .woocommerce-thankyou-order-received { font-family: Sora, system-ui, sans-serif !important; text-align: left !important; }

/* Sign in and My account: two plain columns */
html body.fas-layout-spotlight .woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
html body.fas-layout-spotlight .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
html body.fas-layout-spotlight .woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--game-edge, #aabacd); background: var(--game-card, #fff); font-weight: 600; text-decoration: none; }
html body.fas-layout-spotlight .woocommerce-MyAccount-navigation .is-active a { border-color: var(--game-accent, #0b3a6f); border-width: 2px; }
html body.fas-layout-spotlight .woocommerce-form-login, html body.fas-layout-spotlight .woocommerce-form-register { background: var(--game-card, #fff); border: 1px solid var(--game-edge, #aabacd); border-radius: 4px; padding: 18px; }
html body.fas-layout-spotlight .woocommerce-account:not(.logged-in) .woocommerce, html body.fas-layout-spotlight .woocommerce-account .u-columns { display: block; }
html body.fas-layout-spotlight .woocommerce-account .u-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html body.fas-layout-spotlight .woocommerce-account .u-columns .u-column1, html body.fas-layout-spotlight .woocommerce-account .u-columns .u-column2 { float: none; width: auto; }

/* Article: the words in a narrow column, things for sale beside them */
.fas-spot-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
html body.fas-layout-spotlight .fas-spot-article .fas-article-card-main { max-width: 760px; }
html body.fas-layout-spotlight .fas-spot-things { background: var(--game-card, #fff); border: 1px solid var(--game-edge, #aabacd); padding: 16px; }
html body.fas-layout-spotlight .fas-spot-things h2 { font-size: 1.1rem; margin: 0 0 12px; text-align: left; }
html body.fas-layout-spotlight .fas-spot-things ul { display: flex; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
html body.fas-layout-spotlight .fas-spot-things .fas-spot-card { border: 0; padding: 0; background: transparent; }
html body.fas-layout-spotlight .fas-spot-things .fas-spot-card img { aspect-ratio: 1; }
html body.fas-layout-spotlight .fas-spot-things .fas-spot-name { padding-left: 0; }
html body.fas-layout-spotlight .fas-spot-things .fas-spot-price { padding-left: 0; }

/* Tutorials and lists of articles: cards like the shop */
html body.fas-layout-spotlight .post-card-custom, html body.fas-layout-spotlight .page-card-custom { background: var(--game-card, #fff) !important; text-align: left !important; }
html body.fas-layout-spotlight .post-card-custom img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* Contents list beside a long page */
.fas-spot-toc-wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
html body.fas-layout-spotlight .fas-spot-toc { position: sticky; top: 12px; background: var(--game-card, #fff); border: 1px solid var(--game-edge, #aabacd); padding: 16px; }
html body.fas-layout-spotlight .fas-spot-toc ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
html body.fas-layout-spotlight .fas-spot-toc a { display: block; padding: 6px 0; line-height: 1.3; }
html body.fas-layout-spotlight .fas-spot-toc-body { min-width: 0; max-width: 760px; }
html body.fas-layout-spotlight .fas-spot-toc-body h2 { scroll-margin-top: 16px; }

@media (max-width: 900px) {
  .fas-spot-article, .fas-spot-toc-wrap { grid-template-columns: minmax(0, 1fr); }
  html body.fas-layout-spotlight .fas-spot-toc { position: static; }
  html body.fas-layout-spotlight .woocommerce-account .woocommerce, html body.fas-layout-spotlight .woocommerce-account .u-columns { grid-template-columns: minmax(0, 1fr); }
  html body.fas-layout-spotlight .fas-spot-things ul { flex-direction: row; flex-wrap: wrap; }
  html body.fas-layout-spotlight .fas-spot-things li { flex: 1 1 140px; }
}
html body.fas-layout-spotlight .woocommerce-products-header, html body.fas-layout-spotlight .woocommerce-products-header .page-title, html body.fas-layout-spotlight .term-description { text-align: left !important; }
html body.fas-layout-spotlight.woocommerce ul.products li.product a.button { font-size: 0.95rem !important; line-height: 1.2 !important; min-height: 44px; white-space: normal; }
