/*
Theme Name: Little Strikers
Theme URI: https://jerseys.hirebetternerds.co
Author: Knuckles
Description: Custom playful theme for the Little Strikers Jersey Shop catalog site.
Version: 1.0.2
License: GNU General Public License v2 or later
Text Domain: little-strikers
*/

:root {
  --navy: #23235e;
  --navy-deep: #191946;
  --orange: #ff5a1f;
  --orange-dark: #e04a12;
  --yellow: #ffc531;
  --teal: #4fc9b5;
  --pink: #ff8fab;
  --blue: #2f9df0;
  --green: #35c759;
  --cream: #fffdf6;
  --ink: #2b2b4a;
  --muted: #6b6b8a;
  --card-shadow: 0 18px 40px -18px rgba(35, 35, 94, 0.25);
  --radius: 26px;
  --font-display: 'Baloo 2', 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.1; margin: 0 0 0.5em; }

.ls-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.ls-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 246, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid #f3ecda;
}
.ls-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.ls-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.ls-logo svg { width: 46px; height: 46px; }
.ls-wordmark { font-family: var(--font-display); font-weight: 800; line-height: 1.05; }
.ls-wordmark .l1 { display: block; color: var(--orange); font-size: 23px; }
.ls-wordmark .l2 { display: block; color: var(--navy); font-size: 18px; }
.ls-nav { margin-left: auto; }
.ls-nav ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ls-nav a {
  display: inline-block; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  color: #fff; background: var(--navy);
  padding: 10px 22px; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.ls-nav a:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(35,35,94,.5); }
.ls-nav li.home-link a { background: var(--orange); }

/* ---------- Hero ---------- */
.ls-hero { position: relative; overflow: hidden; background: var(--cream); }
.ls-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg opacity='0.55'%3E%3Ccircle cx='20' cy='30' r='5' fill='%23ffc531'/%3E%3Ccircle cx='110' cy='20' r='4' fill='%234fc9b5'/%3E%3Ccircle cx='70' cy='100' r='5' fill='%23ff8fab'/%3E%3Cpath d='M30 90 l4 10 10 4 -10 4 -4 10 -4 -10 -10 -4 10 -4z' fill='%232f9df0'/%3E%3Crect x='100' y='80' width='14' height='5' rx='2.5' fill='%23ff5a1f' transform='rotate(30 107 82)'/%3E%3C/g%3E%3C/svg%3E");
}
.ls-hero-inner {
  position: relative; max-width: 1200px; margin: 0 auto; padding: 70px 24px 90px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.ls-hero-title { font-size: clamp(46px, 6vw, 82px); font-weight: 800; margin: 0 0 18px; letter-spacing: -0.5px; }
.ls-hero-title .hl {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16 Q 40 6 78 14 T 152 14 T 226 14 T 296 12' fill='none' stroke='%23ff5a1f' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") bottom left / 100% 0.32em no-repeat;
  padding-bottom: 0.12em;
}
.ls-hero-sub { font-size: 19px; font-weight: 600; color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.ls-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; text-decoration: none;
  color: #fff; background: var(--orange);
  padding: 16px 36px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 14px 28px -12px rgba(255, 90, 31, 0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ls-btn:hover { transform: translateY(-3px); background: var(--orange-dark); color: #fff; }
.ls-btn.navy { background: var(--navy); box-shadow: 0 14px 28px -12px rgba(35,35,94,.6); }
.ls-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ls-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 9px 18px;
  font-weight: 800; font-size: 14px; color: var(--navy);
  box-shadow: 0 8px 18px -10px rgba(35,35,94,.35);
}
.ls-pill .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

.ls-hero-media { position: relative; }
.ls-hero-media .blob {
  position: absolute; border-radius: 50%; z-index: 0;
}
.ls-hero-media .blob.b1 { width: 150px; height: 150px; background: var(--yellow); top: -34px; right: 6%; opacity: .85;
  background-image: radial-gradient(#fff 3px, transparent 3.5px); background-size: 22px 22px; }
.ls-hero-media .blob.b2 { width: 110px; height: 110px; background: var(--teal); bottom: -24px; left: -10px; opacity: .8; }
.ls-hero-media img.hero-photo {
  position: relative; z-index: 1; display: block; width: 100%;
  border-radius: 230px 230px 30px 30px;
  border: 8px solid #fff;
  box-shadow: var(--card-shadow);
  aspect-ratio: 4 / 4.4; object-fit: cover;
}
.ls-float-star { position: absolute; z-index: 2; animation: ls-float 5s ease-in-out infinite; }
@keyframes ls-float { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(8deg); } }

/* ---------- Squad / product cards ---------- */
.ls-squad { padding: 90px 24px; max-width: 1200px; margin: 0 auto; text-align: center; }
.ls-section-title { font-size: clamp(34px, 4vw, 48px); font-weight: 800; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 14px; }
.ls-section-title svg { width: 40px; height: 40px; }
.ls-section-sub { font-size: 18px; font-weight: 600; color: var(--muted); margin: 0 0 44px; }
.ls-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: left; }
.ls-card {
  --acc: var(--orange); --acc-soft: #ffe9dd;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.ls-card:hover { transform: translateY(-8px) rotate(-0.5deg); box-shadow: 0 26px 50px -20px rgba(35,35,94,.35); }
.ls-card.acc-blue { --acc: var(--blue); --acc-soft: #ddf0fd; }
.ls-card.acc-green { --acc: var(--green); --acc-soft: #dcf5e3; }
.ls-card.acc-yellow { --acc: #e0a400; --acc-soft: #fff3d1; }
.ls-card-top { background: var(--acc-soft); padding: 26px 20px 10px; position: relative; }
.ls-card-top img { display: block; margin: 0 auto; height: 200px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(35,35,94,.18)); }
.ls-card-ball { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; opacity: .9; }
.ls-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ls-card-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--navy); margin: 0; }
.ls-card-tag { font-size: 14px; font-weight: 700; color: var(--muted); margin: 0; }
.ls-card-btn {
  margin-top: auto; text-align: center; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff;
  background: var(--acc); border-radius: 999px; padding: 12px 18px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.ls-card-btn:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.ls-center { text-align: center; margin-top: 44px; }

/* ---------- Category band ---------- */
.ls-cats { max-width: 1000px; margin: 0 auto; padding: 0 24px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ls-cat-card {
  border-radius: var(--radius); padding: 40px 36px; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
  transition: transform 0.18s ease;
}
.ls-cat-card:hover { transform: translateY(-6px) rotate(0.4deg); color: #fff; }
.ls-cat-card.c-kids { background: linear-gradient(135deg, #ff7a3d, #ff5a1f 60%, #e04a12); }
.ls-cat-card.c-team { background: linear-gradient(135deg, #33338a, #23235e 60%, #191946); }
.ls-cat-card h3 { color: #fff; font-size: 34px; font-weight: 800; margin: 0; }
.ls-cat-card p { margin: 0; font-weight: 700; opacity: 0.92; }
.ls-cat-card .go { margin-top: 18px; align-self: flex-start; background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 700; border-radius: 999px; padding: 10px 26px; }
.ls-cat-card::after {
  content: ""; position: absolute; right: -40px; bottom: -50px; width: 190px; height: 190px; border-radius: 50%;
  background: rgba(255,255,255,.14);
}

/* ---------- Footer ---------- */
.ls-footer { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.ls-footer::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg%3E%3Ccircle cx='30' cy='40' r='4' fill='%23ffc531'/%3E%3Ccircle cx='130' cy='30' r='3' fill='%234fc9b5'/%3E%3Ccircle cx='90' cy='120' r='4' fill='%23ff8fab'/%3E%3Crect x='40' y='100' width='12' height='4' rx='2' fill='%232f9df0' transform='rotate(24 46 102)'/%3E%3C/g%3E%3C/svg%3E");
}
.ls-footer-grid {
  position: relative; max-width: 1200px; margin: 0 auto; padding: 70px 24px 46px;
  display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; gap: 40px;
}
.ls-footer .ls-wordmark .l1 { color: var(--yellow); }
.ls-footer .ls-wordmark .l2 { color: #fff; }
.ls-footer-tag { color: #c9c9e8; font-weight: 600; margin: 14px 0 0; max-width: 26ch; }
.ls-footer h4 { color: var(--yellow); font-size: 21px; font-weight: 800; margin: 0 0 16px; }
.ls-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ls-footer ul a { color: #e6e6f7; text-decoration: none; font-weight: 600; }
.ls-footer ul a:hover { color: var(--yellow); }
.ls-cta-card { background: var(--yellow); border-radius: 22px; padding: 28px; color: var(--navy); }
.ls-cta-card h4 { color: var(--navy); margin: 0 0 8px; }
.ls-cta-card p { margin: 0 0 18px; font-weight: 700; }
.ls-footer-bottom {
  position: relative; border-top: 1px solid rgba(255,255,255,.16);
  max-width: 1200px; margin: 0 auto; padding: 20px 24px 26px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  color: #a9a9d4; font-size: 14px; font-weight: 600;
}

/* ---------- Inner pages ---------- */
.ls-page-wrap { max-width: 1000px; margin: 0 auto; padding: 60px 24px 90px; }
.ls-page-title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin-bottom: 24px; }
.ls-page-wrap p { color: var(--ink); }
.ls-page-wrap h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 40px 0 14px; }
.ls-page-wrap ul { margin: 0 0 20px 22px; }
.ls-page-wrap li { margin-bottom: 8px; }
.ls-page-hero { margin: -10px 0 30px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--card-shadow); }
.ls-page-hero img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; }

/* ---------- Guide band (homepage) ---------- */
.ls-guide-band { background: var(--navy); border-radius: 28px; margin: 20px 24px 70px; padding: 52px 32px; text-align: center; color: #fff; }
.ls-guide-band h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 0 0 12px; }
.ls-guide-band p { color: #d7d7f2; font-weight: 600; max-width: 56ch; margin: 0 auto 26px; }
@media (max-width: 640px) { .ls-guide-band { margin: 10px 14px 50px; padding: 38px 22px; } }

/* ---------- WooCommerce ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow); padding: 0 0 22px; margin: 0 !important; width: auto !important; float: none !important;
  transition: transform 0.18s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-6px); }
.woocommerce ul.products li.product a img { height: 220px; object-fit: contain; padding: 24px 20px 8px; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--navy); padding: 6px 22px 0;
}
.woocommerce ul.products li.product .price { display: none; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.catalog-cta .button {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  background: var(--orange); color: #fff; border-radius: 999px; padding: 14px 32px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 12px 24px -12px rgba(255,90,31,.6);
  transition: transform 0.15s ease, background 0.15s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .catalog-cta .button:hover {
  background: var(--orange-dark); color: #fff; transform: translateY(-2px);
}
.catalog-cta { margin-top: 26px; }
.ls-more-in { margin-top: 18px; font-weight: 800; font-size: 16px; }
.ls-more-in a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ls-more-in a:hover { color: var(--orange); }
.woocommerce div.product .product_title { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.woocommerce div.product p.price { display: none; }
.woocommerce-breadcrumb { font-weight: 700; color: var(--muted); margin-bottom: 26px; }
.woocommerce-breadcrumb a { color: var(--navy); text-decoration: none; }
.woocommerce .related h2, .woocommerce-tabs h2 { font-size: 30px; font-weight: 800; }
.woocommerce div.product div.images img { border-radius: 22px; box-shadow: var(--card-shadow); }
.woocommerce span.onsale { background: var(--orange); font-family: var(--font-display); }

/* ---------- Responsive ---------- */
html, body { overflow-x: clip; }

@media (max-width: 960px) {
  .ls-hero-inner { grid-template-columns: 1fr; gap: 44px; padding-top: 52px; }
  .ls-hero-media { max-width: 480px; }
  .ls-cards { grid-template-columns: repeat(2, 1fr); }
  .ls-footer-grid { grid-template-columns: 1fr 1fr; }
  .ls-cats { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary { width: 100% !important; float: none !important; }
  .woocommerce div.product div.summary { margin-top: 28px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ls-header-inner { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .ls-logo svg { width: 36px; height: 36px; }
  .ls-wordmark .l1 { font-size: 19px; }
  .ls-wordmark .l2 { font-size: 15px; }
  .ls-nav { margin-left: 0; width: 100%; overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ls-nav::-webkit-scrollbar { display: none; }
  .ls-nav a { padding: 12px 20px; font-size: 15px; }
  .ls-hero-inner { padding: 36px 16px 56px; gap: 36px; }
  .ls-hero-title { font-size: 40px; }
  .ls-hero-sub { font-size: 17px; margin-bottom: 24px; }
  .ls-btn { display: flex; justify-content: center; width: 100%; padding: 16px 24px; font-size: 18px; }
  .ls-pills { gap: 10px; margin-top: 24px; }
  .ls-pill { font-size: 13px; padding: 10px 16px; }
  .ls-hero-media { max-width: 100%; }
  .ls-hero-media img.hero-photo { border-radius: 170px 170px 24px 24px; border-width: 6px; aspect-ratio: 1 / 1.08; }
  .ls-hero-media .blob.b1 { width: 104px; height: 104px; top: -22px; }
  .ls-hero-media .blob.b2 { width: 78px; height: 78px; }
  .ls-squad { padding: 56px 16px; }
  .ls-section-title { font-size: 32px; }
  .ls-section-sub { font-size: 16px; margin-bottom: 32px; }
  .ls-cards { grid-template-columns: 1fr; gap: 20px; }
  .ls-card-top img { height: 190px; }
  .ls-cats { padding: 0 16px 56px; }
  .ls-cat-card { padding: 28px 24px; }
  .ls-cat-card h3 { font-size: 28px; }
  .ls-footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 16px 36px; }
  .ls-cta-card .ls-btn { width: 100%; }
  .ls-page-wrap { padding: 40px 16px 64px; }
  .ls-page-title { font-size: 34px; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .woocommerce-breadcrumb { font-size: 13px; }
  .catalog-cta .button { display: block; text-align: center; }
}
