/**
Theme Name: Astra
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Version: 4.13.1
Requires at least: 5.3
WC requires at least: 3.0
WC tested up to: 10.7.0
Tested up to: 6.9
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra
Domain Path: /languages
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
AMP: true

Astra WordPress Theme, Copyright 2020 WPAstra.
Astra is distributed under the terms of the GNU GPL.

Astra is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of.
Nicolas Gallagher and Jonathan Neal https://necolas.github.com/normalize.css/

Astra icon font is based on IcoMoon-Free vector icon by Keyamoon.
IcoMoon-Free vector icon distributed under terms of CC BY 4.0 or GPL. (https://creativecommons.org/licenses/by/4.0/ or https://www.gnu.org/licenses/gpl.html)
Source: http://keyamoon.com/

Flexibility is a JavaScript polyfill for Flexbox By Jonathan Neal, 10up. (https://github.com/jonathantneal/flexibility)
Licensed under MIT ( https://github.com/jonathantneal/flexibility/blob/master/LICENSE.md )

Screenshot image is a collage of actual sites created using the Astra WordPress Theme.

Icons used in the Screenshot image are all licensed under Creative Commons ( CC BY 4.0 ) License ( https://fontawesome.com/license/free )
https://fontawesome.com/v5.15/icons/store?style=solid
https://fontawesome.com/v5.15/icons/shopping-cart?style=solid
https://fontawesome.com/v5.15/icons/pen-square?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid

Illustrations used in the Screenshot images are all licensed under Creative Commons ( CC0 ) License ( https://gumroad.com/l/humaaans )
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/standing-24.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/sitting-2.png

Hand-drawn illustrations used are created by Brainstorm Force and released under Creative Commons ( CC0 ) License.
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/girl-with-image-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/boy-with-code-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/web-browser.png

The same site as screenshot can be imported from here https://websitedemos.net/web-design-agency-08/.

For more information, refer to this document on how to create a page like in the screenshot - https://wpastra.com/docs/replicating-the-screenshot/.

Astra default breadcrumb is based on Breadcrumb Trail by Justin Tadlock. (https://github.com/justintadlock/breadcrumb-trail)
Breadcrumb Trail is distributed under the terms of the GNU GPL v2 or later.

Astra local fonts feature is based on Webfonts Loader by WordPress Themes Team (WPTT). (https://github.com/WPTT/webfont-loader)
Licensed under MIT ( https://github.com/WPTT/webfont-loader/blob/master/LICENSE )

/* Note: The CSS files are loaded from assets/css/ folder. */

/*
Theme Name: Astra Child – Uwolnieni
Version: 1.0.1
*/

/* === ZMIENNE BRAND === */
:root{
  --u-bg:#000;
  --u-fg:#fff;
  --u-muted:#B8B8B8;
  --u-accent:#F5C518;
  --u-radius:50px;
  --u-font:"Montserrat",-apple-system,BlinkMacSystemFont,sans-serif;
}

/* === FIX: width:1920px wymuszany przez Elementor stretch === */
.elementor-section-stretched{width:100% !important;left:0 !important;}

/* === FIX: ukrycie pustych kontenerów Elementora === */
.elementor-widget-container:empty,
.elementor-element.e-con-boxed > .e-con-inner:empty{display:none !important;}

/* === HERO – drugi "h1" zamieniony JS-em na span === */
.h1-visual{
  display:block;
  font-family:var(--u-font);
  font-weight:800;
  font-size:clamp(2.2rem,6vw,5rem);
  line-height:1.05;
  color:var(--u-accent);
  text-transform:uppercase;
  letter-spacing:1px;
}

/* === KARTY: filary / nawigacja / opinie === */
.pillar-card,.nav-card,.testimonial-card{
  background:#0d0d0d;
  border:1px solid #1f1f1f;
  border-radius:16px;
  padding:32px 28px;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.pillar-card:hover,.nav-card:hover,.testimonial-card:hover{
  transform:translateY(-4px);
  border-color:var(--u-accent);
  box-shadow:0 10px 30px rgba(245,197,24,.08);
}
.pillar-icon,.ic{
  font-size:32px;display:inline-block;margin-bottom:14px;color:var(--u-accent);
}
.pillar-title,.nav-card h3{
  font-family:var(--u-font);font-weight:700;font-size:1.25rem;
  text-transform:uppercase;letter-spacing:1px;color:var(--u-fg);margin:0 0 10px;
}
.pillar-text,.nav-card p,.testimonial-card .quote{
  color:var(--u-muted);font-size:.95rem;line-height:1.6;
}
.nav-card{display:block;text-decoration:none;color:inherit;}
.nav-card .arrow{
  display:inline-block;margin-top:18px;color:var(--u-accent);
  font-weight:700;font-size:.8rem;letter-spacing:2px;text-transform:uppercase;
}
.testimonial-card .author{
  margin-top:14px;color:var(--u-accent);font-size:.85rem;letter-spacing:1px;
}

/* === RESPONSIVE GRID dla customowych HTML widgetów === */
[style*="grid-template-columns:repeat(3,1fr)"]{display:grid;}
@media(max-width:900px){
  [style*="grid-template-columns:repeat(3,1fr)"]{
    grid-template-columns:1fr !important;
  }
}
@media(min-width:901px) and (max-width:1200px){
  [style*="grid-template-columns:repeat(3,1fr)"]{
    grid-template-columns:repeat(2,1fr) !important;
  }
}

/* === HEADER / NAV hover === */
.main-header-menu .menu-link{transition:color .15s ease;}
.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link{color:var(--u-accent) !important;}

/* === CTA – żółty button spójny z marką === */
.elementor-button.elementor-size-lg{
  background:var(--u-accent) !important;
  color:#000 !important;
  font-weight:800 !important;
  letter-spacing:2px;
  border-radius:var(--u-radius);
  padding:16px 36px !important;
  transition:transform .2s ease,box-shadow .2s ease;
}
.elementor-button.elementor-size-lg:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(245,197,24,.25);
}

/* === MIKROCOPY trust bar === */
.hero-trust,.footer-meta{
  color:var(--u-muted)!important;
  font-size:14px!important;       /* podniesione z 13px dla a11y */
  letter-spacing:1px;
}

/* === FOOTER spacing === */
.elementor-element-693c3416{padding:60px 20px 80px;}

/* === A11Y: focus state === */
a:focus-visible,button:focus-visible,.elementor-button:focus-visible{
  outline:2px solid var(--u-accent);outline-offset:3px;
}

/* === REDUCED MOTION === */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important;transition:none !important;}
}

/* ============================================================
   UWOLNIENI â FIX RESPONSYWNOĹCI (Sklep, Kontakt + caĹa strona)
   Wklej na koniec pliku style.css w motywie Astra Child.
   Po wgraniu: Astra â Performance â Clear Cache + Ctrl+Shift+R
   ============================================================ */

/* 1. Blokada poziomego scrolla na caĹej stronie */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* 2. Ĺamanie dĹugich polskich sĹĂłw w nagĹĂłwkach
   (PRZYWRACA, ZROZUMIEÄ, KONSULTACJI itp.) */
h1, h2, h3,
.elementor-heading-title {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* 3. Naprawa sekcji Elementora, ktĂłre na mobile majÄ
   wymuszone inline width:1920px (powĂłd poziomego scrolla) */
@media (max-width: 1024px) {
  .elementor-section.elementor-section-stretched,
  .elementor-section[style*="width: 1920px"],
  .elementor-section[style*="width:1920px"] {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
  }
}

/* 4. TABLET (â¤1024px) â skalowanie nagĹĂłwkĂłw hero */
@media (max-width: 1024px) {
  h1,
  h1.elementor-heading-title {
    font-size: 3.2rem !important;
    line-height: 1.1 !important;
  }
}

/* 5. MOBILE (â¤768px) â skalowanie H1, kickerĂłw i paddingĂłw */
@media (max-width: 768px) {
  h1,
  h1.elementor-heading-title {
    font-size: 2.4rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.01em;
  }

  /* Mniejsze podtytuĹy / "kicker" (np. SKLEP Âˇ MATERIAĹY...) */
  .elementor-heading-title:not(h1):not(h2) {
    font-size: 0.85rem !important;
    letter-spacing: 0.08em;
  }

  /* Mniejsze paddingi boczne sekcji hero â wiÄcej miejsca na tekst */
  .elementor-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Przyciski CTA â peĹna szerokoĹÄ, lepiej dotykalne */
  .elementor-button {
    white-space: normal !important;
  }
}

/* 6. MAĹE TELEFONY (â¤380px) â dodatkowe zmniejszenie H1 */
@media (max-width: 380px) {
  h1,
  h1.elementor-heading-title {
    font-size: 2rem !important;
  }
}

/* =====================================================
   FIX WOOCOMMERCE — Astra + ciemny motyw
   ===================================================== */

/* === 1. PUSTY KOSZYK — białe tło + nachodząca ikonka === */
.woocommerce-cart .cart-empty.woocommerce-info,
.woocommerce .cart-empty,
body .woocommerce-info {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border-top: 3px solid #3b82f6 !important;
  padding: 1em 1em 1em 3.5em !important;
  position: relative !important;
  border-radius: 6px !important;
}
.woocommerce-cart .cart-empty.woocommerce-info::before,
body .woocommerce-info::before {
  color: #3b82f6 !important;
  left: 1em !important;
  top: 1em !important;
}

/* === 2. PRZYCISK "PRZEJDŹ DO PŁATNOŚCI" — za duży === */
.woocommerce #payment #place_order,
.woocommerce-checkout #place_order,
body #place_order.button.alt {
  font-size: 15px !important;
  padding: 12px 24px !important;
  width: auto !important;
  display: inline-block !important;
  line-height: 1.3 !important;
  border-radius: 6px !important;
  letter-spacing: 0.02em !important;
}

/* === 3. TABELE KOSZYKA / CHECKOUT — białe tło === */
.woocommerce table.shop_table,
.woocommerce-checkout table.shop_table,
.woocommerce-cart table.cart,
.woocommerce-page table.shop_table,
.woocommerce-order-details table,
.woocommerce-thankyou-order-details table {
  background-color: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.15) !important;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  background-color: transparent !important;
  color: #ffffff !important;
  border-top-color: rgba(255,255,255,0.15) !important;
}
.woocommerce table.shop_table a {
  color: #60a5fa !important;
}

/* === 4. NAGŁÓWKI sekcji checkout / thank-you === */
.woocommerce .woocommerce-order h2,
.woocommerce .woocommerce-column__title,
.woocommerce-checkout h3,
.woocommerce form.checkout h3,
.woocommerce-order-received h2,
.woocommerce-thankyou-order-received {
  color: #ffffff !important;
  background: transparent !important;
}

/* === 5. POLA FORMULARZA checkout — czytelność === */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .input-text {
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}
.woocommerce form .form-row label {
  color: #ffffff !important;
}

/* === 6. PODSUMOWANIE PO ZAMÓWIENIU (problem #4) === */
.woocommerce-order,
.woocommerce-order-overview,
.woocommerce-thankyou-order-received,
.woocommerce-order-details,
.woocommerce-customer-details,
.woocommerce ul.order_details {
  background-color: transparent !important;
  color: #ffffff !important;
}
.woocommerce ul.order_details li {
  color: #ffffff !important;
  border-right-color: rgba(255,255,255,0.2) !important;
}
.woocommerce ul.order_details li strong {
  color: #ffffff !important;
}

/* === 7. KOMUNIKATY (sukces / błąd / info) === */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border-top-color: #3b82f6 !important;
}
.woocommerce-message::before { color: #22c55e !important; }
.woocommerce-error::before   { color: #ef4444 !important; }

/* === 8. BLOKADA poziomego scrolla (gdyby tabele wystawały) === */
html, body { overflow-x: hidden; }
.woocommerce table.shop_table { display: block; overflow-x: auto; }
@media (min-width: 768px) {
  .woocommerce table.shop_table { display: table; }
}