/*
 Theme Name:   PCards Astra Child (SEO)
 Theme URI:    https://pcards.example
 Description:  Motyw potomny Astra pod sklep z kartami piłkarskimi (WooCommerce, RWD, SEO).
 Author:       ChatGPT
 Template:     astra
 Version:      1.1.0
 Text Domain:  pcards-astra-child
*/

/* ---- Kolory marki ---- */
:root {
  --fut-green: #0BA648;
  --fut-dark: #021526;
  --fut-light: #f5f7fb;
  --fut-accent: #ffd447;
}

/* Ogólne tło strony */
body {
  background-color: var(--fut-light);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ================= HEADER (Astra) ================= */

/* Tło headera – ciemny gradient + cienka zielona linia */
.ast-primary-header-bar {
  background: linear-gradient(135deg, #021526, #04335a);
  border-bottom: 3px solid var(--fut-green);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* wysokość headera – bardziej kompaktowy */
.ast-primary-header-bar .site-primary-header-wrap {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Logo / tytuł strony */
.site-title a,
.site-title a:hover {
  color: #ffffff;
}

/* Menu desktop */
#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 600;
}

#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
#ast-desktop-header .main-header-menu > .menu-item.current-menu-item > .menu-link {
  color: var(--fut-accent);
}

/* Ikona hamburgera + ikony mobilne */
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  fill: #ffffff;
}

/* Kwota + koszyk */
.ast-header-woo-cart,
.ast-header-woo-cart .ast-header-woo-cart-inner,
.ast-header-woo-cart .ast-woo-header-cart-info-wrap,
.ast-header-woo-cart .ast-woo-header-cart-info-wrap span {
  color: #ffffff;
}

/* Wyszukiwarka w headerze – ikonka */
.ast-header-search .astra-search-icon {
  color: #ffffff;
}

/* ================= HERO NA STRONIE GŁÓWNEJ ================= */

.fut-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  background: radial-gradient(circle at top left, #0BA648 0, #021526 55%, #000000 100%);
  color: #ffffff;
}

.fut-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.fut-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .85rem;
  background: rgba(0,0,0,.35);
  border-radius: 999px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.fut-hero-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffd447;
  box-shadow: 0 0 0 6px rgba(255,212,71,.25);
}

.fut-hero-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 1rem 0 .75rem;
}

.fut-hero-title span {
  color: #ffd447;
}

.fut-hero-subtitle {
  max-width: 30rem;
  font-size: .98rem;
  opacity: .9;
}

.fut-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.fut-hero-btn-primary,
.fut-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.fut-hero-btn-primary {
  background: #ffd447;
  color: #111827;
}

.fut-hero-btn-primary:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.fut-hero-btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(229,231,235,.3);
}

.fut-hero-btn-secondary:hover {
  background: rgba(15,23,42,.7);
}

/* Hero cards – obrazki z kartami */
.fut-hero-cards {
  position: relative;
  height: 260px;
  max-width: 360px;
  margin-inline: auto;
}

.fut-hero-card {
  position: absolute;
  width: 190px;
  height: 250px;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fut-hero-card--1 {
  left: 0;
  top: 18px;
  transform: rotate(-13deg);
  background-image: url('https://up.mt2priv.pl/fjpbahza/yux8tmn7seshd6gh.png');
}

.fut-hero-card--2 {
  right: 0;
  top: 0;
  transform: rotate(10deg);
  background-image: url('https://up.mt2priv.pl/fjpbahza/lrh5ctlb6f48pvzt.png');
}

/* ================= HOME SEO SECTION ================= */

.fut-home-seo {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}

.fut-home-seo h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0b1120;
}

.fut-home-seo h3 {
  font-size: 1.1rem;
  margin-top: 1.3rem;
  margin-bottom: .4rem;
  color: #0b1120;
}

.fut-home-seo p {
  margin-bottom: .75rem;
  color: #111827;
  font-size: .95rem;
}

.fut-home-seo ul {
  margin-left: 1.1rem;
  margin-bottom: 1rem;
  font-size: .95rem;
}

/* ================= GRID PRODUKTÓW ================= */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 1rem 1rem 1.2rem;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
  border-color: #0BA648;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: .95rem;
  font-weight: 600;
  min-height: 2.4em;
}

.woocommerce ul.products li.product .price {
  color: #021526;
  font-weight: 700;
  font-size: 1.05rem;
}

.woocommerce ul.products li.product .button {
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .7rem;
}

/* Mały badge z kategorią */
.fut-badge-small {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .7rem;
  background: rgba(11,166,72,.07);
  color: #021526;
}

/* ================= SKLEP & KATEGORIE SEO ================= */

.pcards-shop-intro,
.pcards-category-seo {
  max-width: 1180px;
  margin: 0 auto 1.5rem;
  padding: 1.5rem 1.5rem 0;
}

.pcards-shop-intro h2,
.pcards-category-seo h1,
.pcards-category-seo h2 {
  font-size: 1.6rem;
  margin-bottom: .7rem;
  color: #0b1120;
}

.pcards-shop-intro p,
.pcards-category-seo p {
  margin-bottom: .75rem;
  font-size: .95rem;
  color: #111827;
}

.pcards-category-seo ul {
  margin-left: 1.1rem;
  margin-bottom: 1rem;
}

/* Ukryj sidebar sklepu – pełna szerokość */
.woocommerce-page .ast-left-sidebar #secondary,
.woocommerce-page .ast-right-sidebar #secondary {
  display: none;
}

.woocommerce-page .ast-left-sidebar #primary,
.woocommerce-page .ast-right-sidebar #primary {
  width: 100%;
}

/* ================= STOPKA ================= */

.site-footer {
  background: #020617;
  color: #cbd5f5;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd447;
}

/* Nasz własny blok w stopce */
.pcards-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.6rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.4fr;
  gap: 2.2rem;
}

.pcards-footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.pcards-footer h3 {
  font-size: 1rem;
  margin-bottom: .8rem;
  color: #ffffff;
}

.pcards-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pcards-footer-list li {
  margin-bottom: .35rem;
  font-size: .9rem;
}

.pcards-footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 1.8rem;
  border-top: 1px solid rgba(148,163,184,.3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  font-size: .8rem;
  opacity: .9;
}

/* Ukryj domyślny tekst copyright Asty (nie potrzebujemy go) */
.site-footer .ast-footer-copyright {
  display: none;
}

@media (max-width: 768px) {
  .fut-hero {
    padding: 2.3rem 1.25rem 2.6rem;
  }

  .fut-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .fut-hero-cards {
    max-width: 320px;
    height: 220px;
    order: -1;
    margin-bottom: 1.5rem;
  }

  .fut-hero-card {
    width: 170px;
    height: 220px;
  }

  .fut-home-seo,
  .pcards-shop-intro,
  .pcards-category-seo {
    padding-inline: 1.25rem;
  }

  .pcards-footer {
    grid-template-columns: 1fr;
    padding-inline: 1.25rem;
  }

  .pcards-footer-bottom {
    padding-inline: 1.25rem;
  }
}
