/*
Theme Name: WLQ Clean Shop
Theme URI: https://wlqpokewax.com/
Author: Wlq Poke Pull Dept
Description: A compact, mobile-first WooCommerce storefront for sealed trading card boxes.
Version: 1.1.4
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: wlq-clean-shop
*/

:root {
  --wlq-ink: #1d2329;
  --wlq-muted: #59636b;
  --wlq-paper: #f4f1ea;
  --wlq-white: #fffdf8;
  --wlq-blue: #2257a6;
  --wlq-blue-dark: #173d76;
  --wlq-yellow: #f2c94c;
  --wlq-coral: #e46652;
  --wlq-mint: #d9eee6;
  --wlq-sky: #e7efff;
  --wlq-line: #d5d8d5;
  --wlq-dark: #20272e;
  --wlq-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--wlq-ink);
  background: var(--wlq-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--wlq-blue); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wlq-shell { width: min(100% - 32px, var(--wlq-max)); margin-inline: auto; }
.wlq-announcement { padding: 9px 16px; background: var(--wlq-yellow); color: var(--wlq-ink); text-align: center; font-size: 13px; font-weight: 800; }
.wlq-header { border-bottom: 1px solid var(--wlq-line); background: var(--wlq-white); }
.wlq-header-inner { min-height: 78px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; }
.wlq-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 20px; font-weight: 800; white-space: nowrap; }
.wlq-brand:hover { color: var(--wlq-ink); }
.wlq-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--wlq-ink); border-radius: 50%; background: var(--wlq-coral); color: var(--wlq-white); font-size: 13px; font-weight: 900; }
.wlq-mobile-actions { display: none; align-items: center; justify-content: flex-end; gap: 10px; }
.wlq-mobile-cart { color: var(--wlq-ink); font-size: 12px; font-weight: 900; white-space: nowrap; }
.wlq-mobile-cart span { color: var(--wlq-coral); }
.wlq-menu-toggle { min-height: 36px; padding: 0 12px; border: 1px solid var(--wlq-ink); border-radius: 4px; background: var(--wlq-white); color: var(--wlq-ink); cursor: pointer; font-size: 12px; font-weight: 900; }
.wlq-menu-toggle:hover, .wlq-menu-toggle:focus-visible { background: var(--wlq-ink); color: var(--wlq-white); }
.wlq-header-right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; min-width: 0; }
.wlq-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; min-width: 0; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 800; }
.wlq-nav li { display: block; margin: 0; padding: 0; list-style: none; }
.wlq-nav li::before, .wlq-nav li::marker { content: none; }
.wlq-nav a:hover, .wlq-nav a:focus-visible { color: var(--wlq-blue); }
.wlq-header-actions { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.wlq-search-form { display: flex; align-items: center; border: 1px solid var(--wlq-line); background: var(--wlq-paper); }
.wlq-search-form input { width: 112px; min-height: 34px; padding: 0 9px; border: 0; outline: 0; background: transparent; color: var(--wlq-ink); }
.wlq-search-form button { min-height: 34px; padding: 0 9px; border: 0; border-left: 1px solid var(--wlq-line); background: transparent; color: var(--wlq-blue); cursor: pointer; font-size: 12px; font-weight: 800; }
.wlq-search-form button:hover, .wlq-search-form button:focus-visible { background: var(--wlq-blue); color: var(--wlq-white); }
.wlq-account-link, .wlq-cart-link { white-space: nowrap; }
.wlq-cart-link span { color: var(--wlq-coral); }

.wlq-hero { background: var(--wlq-blue-dark); color: var(--wlq-white); }
.wlq-hero-grid { min-height: 590px; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 6vw, 80px); padding-block: 56px; }
.wlq-eyebrow, .wlq-kicker { margin: 0 0 12px; color: var(--wlq-yellow); font-size: 12px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.wlq-hero h1 { max-width: 620px; margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; }
.wlq-hero-copy { max-width: 520px; margin: 22px 0 0; color: #e8effb; font-size: 18px; }
.wlq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.wlq-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 2px solid var(--wlq-coral); border-radius: 5px; background: var(--wlq-coral); color: var(--wlq-white); font-weight: 900; }
.wlq-button:hover, .wlq-button:focus-visible { border-color: var(--wlq-yellow); background: var(--wlq-yellow); color: var(--wlq-ink); }
.wlq-button--ghost { border-color: var(--wlq-white); background: transparent; color: var(--wlq-white); }
.wlq-button--ghost:hover, .wlq-button--ghost:focus-visible { border-color: var(--wlq-yellow); }
.wlq-note { margin: 16px 0 0; color: #dce7f7; font-size: 13px; }
.wlq-note a { color: var(--wlq-yellow); font-weight: 800; }
.wlq-hero-media { min-height: 420px; display: grid; place-items: center; padding: 28px; border: 1px solid rgba(255,255,255,.3); background: #22518f; }
.wlq-hero-media img { width: min(100%, 470px); max-height: 470px; object-fit: contain; }
.wlq-media-placeholder { width: min(100%, 470px); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 32px; border: 2px dashed rgba(255,255,255,.6); color: #e1ebfa; text-align: center; font-weight: 800; }

.wlq-trust { background: var(--wlq-dark); color: var(--wlq-white); }
.wlq-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.wlq-trust-item { padding: 20px 24px; border-right: 1px solid #4a535b; }
.wlq-trust-item:last-child { border-right: 0; }
.wlq-trust-item strong { display: block; color: var(--wlq-yellow); font-size: 14px; }
.wlq-trust-item span { display: block; margin-top: 4px; color: #e4e8ea; font-size: 13px; }

.wlq-section { padding-block: 64px; }
.wlq-section--products { padding-top: 52px; }
.wlq-section--tint { background: var(--wlq-mint); }
.wlq-section--dark { background: var(--wlq-dark); color: var(--wlq-white); }
.wlq-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.wlq-section-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; }
.wlq-section-heading p:not(.wlq-kicker) { max-width: 510px; margin: 0; color: var(--wlq-muted); }
.wlq-section--dark .wlq-section-heading p:not(.wlq-kicker), .wlq-section--dark p { color: #d8e0e6; }

.wlq-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wlq-category-card { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--wlq-line); background: var(--wlq-white); }
.wlq-category-card--blue { background: var(--wlq-sky); }
.wlq-category-card--mint { background: var(--wlq-mint); }
.wlq-category-card--yellow { background: #fff0b6; }
.wlq-category-card--coral { background: #f9ddd5; }
.wlq-category-card strong { max-width: 190px; font-size: 20px; line-height: 1.15; }
.wlq-category-card span { color: var(--wlq-blue); font-size: 13px; font-weight: 900; }
.wlq-category-card:hover, .wlq-category-card:focus-visible { border-color: var(--wlq-blue); color: var(--wlq-ink); }

.wlq-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.wlq-product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--wlq-line); background: var(--wlq-white); }
.wlq-product-image-link { display: block; }
.wlq-product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #ebe9e3; }
.wlq-product-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.wlq-product-card h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.25; }
.wlq-product-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.wlq-badge { padding: 3px 7px; background: var(--wlq-mint); color: var(--wlq-blue); font-size: 11px; font-weight: 900; }
.wlq-product-taxonomy { min-height: 20px; color: var(--wlq-muted); font-size: 12px; }
.wlq-product-taxonomy a { color: var(--wlq-blue); }
.wlq-rating { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: #9a6515; font-size: 12px; }
.wlq-rating .star-rating { margin: 0; }
.wlq-rating > span { color: var(--wlq-muted); }
.wlq-product-card .price { margin-top: 11px; font-weight: 900; }
.wlq-stock { margin-top: 5px; color: var(--wlq-muted); font-size: 12px; }
.wlq-product-link, .wlq-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--wlq-blue); font-size: 13px; font-weight: 900; }
.wlq-product-link { margin-top: auto; padding-top: 14px; }
.wlq-section-link { margin-top: 24px; text-align: right; }

.wlq-why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; }
.wlq-why h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; }
.wlq-why-copy { max-width: 520px; margin: 12px 0 18px; color: var(--wlq-muted); }
.wlq-why-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.wlq-why-list li { padding: 15px 16px; border-left: 4px solid var(--wlq-coral); background: var(--wlq-white); }
.wlq-why-list strong { display: block; font-size: 15px; }
.wlq-why-list span { display: block; margin-top: 3px; color: var(--wlq-muted); font-size: 13px; }

.wlq-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wlq-process-step { padding: 20px; border-top: 4px solid var(--wlq-blue); background: rgba(255,255,255,.72); }
.wlq-process-step:nth-child(2) { border-color: var(--wlq-coral); }
.wlq-process-step:nth-child(3) { border-color: var(--wlq-yellow); }
.wlq-process-step > span { color: var(--wlq-blue); font-size: 12px; font-weight: 900; }
.wlq-process-step h3 { margin: 12px 0 5px; font-size: 18px; }
.wlq-process-step p { margin: 0; color: var(--wlq-muted); font-size: 14px; }

.wlq-contact-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wlq-contact-band h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); }
.wlq-contact-band p:not(.wlq-kicker) { max-width: 600px; margin: 10px 0 0; }
.wlq-faq { border-top: 1px solid var(--wlq-line); }
.wlq-faq details { border-bottom: 1px solid var(--wlq-line); }
.wlq-faq summary { padding: 18px 0; cursor: pointer; font-size: 16px; font-weight: 900; list-style-position: outside; }
.wlq-faq details p { max-width: 720px; margin: -5px 0 18px 22px; color: var(--wlq-muted); }

.wlq-footer { padding: 38px 0; border-top: 1px solid var(--wlq-line); background: var(--wlq-white); }
.wlq-footer-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; }
.wlq-footer-brand { display: block; font-size: 17px; }
.wlq-footer-grid > div:first-child p { max-width: 360px; margin: 8px 0; color: var(--wlq-muted); font-size: 13px; }
.wlq-footer-grid > div:first-child a { color: var(--wlq-blue); font-size: 13px; font-weight: 800; }
.wlq-footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 20px; color: var(--wlq-muted); font-size: 13px; }
.wlq-footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }

.woocommerce .site-main, .woocommerce-page .site-main { width: min(100% - 32px, var(--wlq-max)); margin: 0 auto 64px; }
.wlq-breadcrumbs { padding-top: 28px; color: var(--wlq-muted); font-size: 13px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto; margin: 0; padding: 16px; border: 1px solid var(--wlq-line); background: var(--wlq-white); }
.woocommerce ul.products li.product .price { color: var(--wlq-ink); font-weight: 900; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius: 5px; background: var(--wlq-coral); color: var(--wlq-white); font-weight: 900; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--wlq-blue); color: var(--wlq-white); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--wlq-blue); background: var(--wlq-white); }
.woocommerce div.product .product_title { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--wlq-ink); font-weight: 900; }
.woocommerce div.product form.cart .quantity input { min-height: 42px; }

@media (max-width: 980px) {
  .wlq-header-right { gap: 12px; }
  .wlq-nav { gap: 8px 12px; }
  .wlq-header-actions { gap: 7px; }
  .wlq-search-form input { width: 90px; }
  .wlq-product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .wlq-header-inner { min-height: 68px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-block: 12px; }
  .wlq-mobile-actions { display: flex; }
  .wlq-header-right { grid-column: 1 / -1; width: 100%; display: none; padding-top: 12px; border-top: 1px solid var(--wlq-line); }
  .wlq-header-right.is-open { display: block; }
  .wlq-header-actions { justify-content: flex-start; margin-top: 12px; }
  .wlq-nav { justify-content: flex-start; gap: 10px 14px; font-size: 12px; }
  .wlq-nav > li { display: block; }
  .wlq-hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 40px; }
  .wlq-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .wlq-hero-copy { font-size: 16px; }
  .wlq-hero-media { min-height: 300px; order: -1; }
  .wlq-trust-grid { grid-template-columns: 1fr; }
  .wlq-trust-item { border-right: 0; border-bottom: 1px solid #4a535b; }
  .wlq-trust-item:last-child { border-bottom: 0; }
  .wlq-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wlq-why { grid-template-columns: 1fr; }
  .wlq-process-grid { grid-template-columns: 1fr; }
  .wlq-section { padding-block: 44px; }
  .wlq-section-heading { display: block; }
  .wlq-section-heading p:not(.wlq-kicker) { margin-top: 10px; }
  .wlq-contact-band { display: block; }
  .wlq-contact-band .wlq-button { margin-top: 20px; }
  .wlq-footer-grid { grid-template-columns: 1fr; }
  .wlq-footer-inner { display: block; }
  .wlq-footer-nav { justify-content: flex-start; margin-top: 12px; }
}

@media (max-width: 520px) {
  .wlq-shell { width: min(100% - 24px, var(--wlq-max)); }
  .wlq-brand { font-size: 17px; }
  .wlq-mark { width: 30px; height: 30px; }
  .wlq-nav { gap: 10px 14px; }
  .wlq-header-actions { gap: 6px; font-size: 12px; }
  .wlq-search-form input { width: 74px; }
  .wlq-actions { display: grid; }
  .wlq-button { width: 100%; }
  .wlq-product-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .wlq-category-grid { grid-template-columns: 1fr; }
}
