/*
Theme Name: Wiztime PK One Page
Theme URI: https://theelevenstore.com/wiztime-pk/
Author: The Eleven Store
Author URI: https://theelevenstore.com/
Description: A dark-and-gold one-page theme for the Wiztime PK watch collection at The Eleven Store. Includes hero, trust strip, editor's picks, full product grid, brand story and CTA.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wiztime-pk
Tags: one-page, dark, e-commerce, custom-colors
*/

/* ---------- Tokens ---------- */
:root {
  --wz-bg: #17150f;
  --wz-surface: #221f18;
  --wz-fg: #f4f0e6;
  --wz-muted: #b3ac9c;
  --wz-border: #3a3529;
  --wz-gold: #d5ac5e;
  --wz-gold-soft: #9c7f43;
  --wz-gold-fg: #17150f;
  --wz-maxw: 1120px;
  --wz-font-display: "Cormorant Garamond", Georgia, serif;
  --wz-font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.wiztime {
  margin: 0;
  background: var(--wz-bg);
  color: var(--wz-fg);
  font-family: var(--wz-font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.wiztime img { max-width: 100%; display: block; }
body.wiztime a { color: inherit; text-decoration: none; }

.wz-h1, .wz-h2, .wz-h3 { font-family: var(--wz-font-display); font-weight: 500; margin: 0; }
.wz-wrap { max-width: var(--wz-maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wz-gold { color: var(--wz-gold); }
.wz-rule {
  height: 1px; width: 96px; border: 0; margin: 20px 0 0;
  background-image: linear-gradient(90deg, transparent, var(--wz-gold) 20%, var(--wz-gold) 80%, transparent);
}
.wz-rule--center { margin-left: auto; margin-right: auto; }

.wz-btn {
  display: inline-block; padding: 14px 32px; border-radius: 2px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  transition: opacity .2s ease, background-color .2s ease;
}
.wz-btn--solid { background: var(--wz-gold); color: var(--wz-gold-fg); }
.wz-btn--solid:hover { opacity: .9; }
.wz-btn--ghost { border: 1px solid rgba(213,172,94,.5); color: var(--wz-gold); }
.wz-btn--ghost:hover { background: rgba(213,172,94,.1); }

/* ---------- Hero ---------- */
.wz-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--wz-border); }
.wz-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.wz-hero__veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(23,21,15,.7), rgba(23,21,15,.85) 50%, var(--wz-bg)); }
.wz-hero__inner { position: relative; text-align: center; padding: 96px 24px; }
.wz-hero__eyebrow { margin: 0; font-size: 12px; letter-spacing: .45em; text-transform: uppercase; color: var(--wz-gold); }
.wz-hero__title { font-size: clamp(56px, 12vw, 104px); line-height: .95; margin-top: 24px; }
.wz-hero__title span {
  background-image: linear-gradient(100deg, var(--wz-gold-soft), var(--wz-gold), var(--wz-gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wz-hero__lead { max-width: 34rem; margin: 32px auto 0; color: var(--wz-muted); }
.wz-hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.wz-hero .wz-rule { width: 160px; margin: 32px auto 0; }

/* ---------- Trust strip ---------- */
.wz-trust { border-bottom: 1px solid var(--wz-border); background: var(--wz-surface); }
.wz-trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.wz-trust__item { padding: 28px 20px; text-align: center; border-left: 1px solid var(--wz-border); }
.wz-trust__item:first-child { border-left: 0; }
.wz-trust__t { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--wz-gold); }
.wz-trust__s { margin: 6px 0 0; font-size: 12px; color: var(--wz-muted); }

/* ---------- Sections ---------- */
.wz-section { padding: 80px 0; }
.wz-section--alt { border-top: 1px solid var(--wz-border); background: rgba(34,31,24,.4); }
.wz-head { text-align: center; }
.wz-head--left { text-align: left; }
.wz-head__eyebrow { margin: 0; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--wz-gold); }
.wz-head__title { font-size: clamp(32px, 5vw, 48px); margin-top: 12px; }
.wz-head--center .wz-rule { margin-left: auto; margin-right: auto; }

/* ---------- Featured ---------- */
.wz-featured { display: grid; gap: 24px; margin-top: 48px; grid-template-columns: 1fr; }
.wz-feature { position: relative; display: block; overflow: hidden; border: 1px solid var(--wz-border); border-radius: 2px; background: var(--wz-surface); }
.wz-feature__media { aspect-ratio: 4 / 5; overflow: hidden; }
.wz-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.wz-feature:hover .wz-feature__media img { transform: scale(1.05); }
.wz-feature__body { position: absolute; inset: auto 0 0 0; padding: 64px 24px 24px; background: linear-gradient(to top, var(--wz-bg), rgba(23,21,15,.85) 40%, transparent); }
.wz-feature__body h3 { font-size: 26px; }
.wz-feature__body p { margin: 4px 0 0; font-size: 14px; color: var(--wz-gold); }

/* ---------- Product grid ---------- */
.wz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 20px; margin-top: 48px; }
.wz-card { display: block; }
.wz-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--wz-border); border-radius: 2px; background: var(--wz-surface); }
.wz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.wz-card:hover .wz-card__media img { transform: scale(1.05); }
.wz-card__badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 8px; border-radius: 2px;
  background: var(--wz-gold); color: var(--wz-gold-fg); font-size: 10px; font-weight: 600; letter-spacing: .08em;
}
.wz-card__name { font-size: 18px; line-height: 1.25; margin-top: 16px; transition: color .2s ease; }
.wz-card:hover .wz-card__name { color: var(--wz-gold); }
.wz-card__price { margin: 4px 0 0; font-size: 14px; display: flex; align-items: baseline; gap: 8px; }
.wz-card__price ins { color: var(--wz-gold); text-decoration: none; }
.wz-card__price del { color: var(--wz-muted); font-size: 12px; }

/* ---------- Story ---------- */
.wz-story { border-top: 1px solid var(--wz-border); }
.wz-story__grid { display: grid; gap: 48px; align-items: center; padding: 96px 0; grid-template-columns: 1fr; }
.wz-story p { font-size: 14px; line-height: 1.9; color: var(--wz-muted); margin-top: 24px; }
.wz-story ul { list-style: none; margin: 32px 0 0; padding: 0; }
.wz-story li { display: flex; gap: 12px; font-size: 14px; color: var(--wz-muted); margin-bottom: 12px; }
.wz-story li::before { content: ""; width: 4px; height: 4px; border-radius: 999px; background: var(--wz-gold); margin-top: 10px; flex: 0 0 auto; }
.wz-story__media { overflow: hidden; border: 1px solid var(--wz-border); border-radius: 2px; }
.wz-story__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA + footer ---------- */
.wz-cta { border-top: 1px solid var(--wz-border); background: var(--wz-surface); text-align: center; }
.wz-cta__inner { max-width: 720px; margin: 0 auto; padding: 80px 24px; }
.wz-cta h2 { font-size: clamp(30px, 5vw, 48px); }
.wz-cta p { margin: 16px 0 0; font-size: 14px; color: var(--wz-muted); }
.wz-cta .wz-btn { margin-top: 32px; }
.wz-footer { border-top: 1px solid var(--wz-border); padding: 40px 24px; text-align: center; font-size: 12px; letter-spacing: .05em; color: var(--wz-muted); }

/* ---------- Accessibility ---------- */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.wz-skip:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999; width: auto; height: auto;
  clip: auto; clip-path: none; padding: 12px 20px; background: var(--wz-gold); color: var(--wz-gold-fg);
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .wz-trust__grid { grid-template-columns: repeat(3, 1fr); }
  .wz-featured { grid-template-columns: repeat(3, 1fr); }
  .wz-story__grid { grid-template-columns: 1fr 1fr; }
  .wz-hero__inner { padding: 128px 24px; }
}
@media (min-width: 1024px) {
  .wz-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wz-card__media img, .wz-feature__media img { transition: none; }
}
