/*
Theme Name: Max Pover Child
Template: astra
Version: 1.0
Description: Max Pover Pro - dark premium theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@700&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: #8A6F32;
  --black: #0A0A0A;
  --surface: #111111;
  --surface2: #1A1A1A;
  --surface3: #222222;
  --border: rgba(201,168,76,0.15);
  --border-strong: rgba(201,168,76,0.35);
  --text: #F0EDE8;
  --text-muted: #8A8680;
  --text-dim: #555250;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{background:var(--black)!important;color:var(--text)!important;font-family:'Inter',sans-serif!important;-webkit-font-smoothing:antialiased;}

/* NAV */
.site-header,#masthead,.ast-primary-header-bar{background:rgba(10,10,10,0.95)!important;border-bottom:0.5px solid var(--border)!important;backdrop-filter:blur(12px);position:sticky!important;top:0!important;z-index:999!important;}
.ast-site-identity .site-title a,.ast-site-identity .site-title{display:none!important;}
header .custom-logo-link img,header .ast-custom-logo img,.custom-logo-link img,.ast-custom-logo img{height:auto!important;max-height:none!important;}
.main-navigation a,.ast-nav-menu>li>a,#site-navigation a{color:var(--text-muted)!important;font-size:13px!important;letter-spacing:0.05em!important;transition:color 0.2s!important;}
.main-navigation a:hover,.ast-nav-menu>li>a:hover{color:var(--gold)!important;}

/* HERO SLIDER */
.maxpover-hero-slider{position:relative;width:100%;overflow:hidden;background:var(--black);}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease-in-out;background-size:cover;background-position:center center;background-repeat:no-repeat;}
.hero-slide.active{opacity:1;position:relative;}
.hero-slide::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,10,10,0.88) 0%,rgba(10,10,10,0.5) 55%,rgba(10,10,10,0.15) 100%);}
.hero-slide::after{content:'';position:absolute;bottom:0;left:0;right:0;height:100px;background:linear-gradient(transparent,var(--black));}

/* Wysokość slidera — proporcje 1920:979 */
.maxpover-hero-slider{aspect-ratio:1920/979;max-height:75vh;}

.hero-content{position:absolute;inset:0;z-index:2;display:flex;align-items:center;}
.hero-content-inner{max-width:1200px;margin:0 auto;width:100%;padding:0 60px;}
.hero-eyebrow{font-size:11px;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold);margin-bottom:16px;display:flex;align-items:center;gap:12px;}
.hero-eyebrow::before{content:'';display:block;width:32px;height:0.5px;background:var(--gold);}
.hero-title{font-family:'Playfair Display',serif;font-size:clamp(28px,3.5vw,52px);line-height:1.15;margin-bottom:16px;color:var(--text);}
.hero-title em{color:var(--gold);font-style:normal;}
.hero-sub{color:var(--text-muted);font-size:clamp(13px,1.2vw,16px);max-width:440px;line-height:1.7;margin-bottom:28px;}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;}

/* PRZYCISKI */
.btn-gold{background:var(--gold);color:var(--black)!important;padding:12px 28px;border-radius:4px;font-size:12px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;text-decoration:none!important;transition:background 0.2s,transform 0.1s;display:inline-block;}
.btn-gold:hover{background:var(--gold-light)!important;transform:translateY(-1px);}
.btn-outline{border:0.5px solid var(--border-strong);color:var(--gold)!important;padding:12px 28px;border-radius:4px;font-size:12px;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;text-decoration:none!important;transition:background 0.2s;display:inline-block;}
.btn-outline:hover{background:var(--surface2)!important;}

/* SLIDER DOTS */
.slider-dots{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);z-index:5;display:flex;gap:8px;}
.slider-dot{width:6px;height:6px;border-radius:50%;background:rgba(201,168,76,0.3);cursor:pointer;transition:background 0.3s,transform 0.3s;border:none;padding:0;}
.slider-dot.active{background:var(--gold);transform:scale(1.3);}

/* ZŁOTA LINIA */
.gold-divider{height:0.5px;background:linear-gradient(90deg,transparent,var(--gold),transparent);margin:0;}

/* PASEK ZALET */
.features-bar{background:var(--surface);border-bottom:0.5px solid var(--border);padding:20px 40px;}
.features-inner{max-width:1200px;margin:0 auto;display:flex;justify-content:space-around;flex-wrap:wrap;gap:16px;}
.feature-item{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted);}
.feature-icon{color:var(--gold);font-size:16px;}

/* TŁO */
.site-content,#content,.ast-container,.entry-content,.woocommerce-page #content,.woocommerce #content{background:var(--black)!important;}
.ast-separate-container .ast-article-single,.ast-separate-container .ast-woocommerce-container{background:var(--black)!important;box-shadow:none!important;}

/* PRODUKTY */
.woocommerce ul.products li.product,ul.products li.product{background:var(--surface)!important;border:0.5px solid var(--border)!important;border-radius:8px!important;overflow:hidden!important;transition:border-color 0.3s,transform 0.25s!important;padding:0!important;}
.woocommerce ul.products li.product:hover{border-color:var(--border-strong)!important;transform:translateY(-4px)!important;}
.woocommerce ul.products li.product a img{background:var(--surface2)!important;padding:16px!important;margin:0!important;}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--text)!important;font-size:14px!important;font-weight:500!important;padding:12px 16px 4px!important;}
.woocommerce ul.products li.product .price{color:var(--gold)!important;font-size:18px!important;font-weight:600!important;padding:0 16px 12px!important;}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .add_to_cart_button{background:var(--surface3)!important;border:0.5px solid var(--border-strong)!important;color:var(--gold)!important;border-radius:4px!important;font-size:12px!important;letter-spacing:0.08em!important;text-transform:uppercase!important;margin:0 16px 16px!important;transition:background 0.2s!important;width:calc(100% - 32px)!important;}
.woocommerce ul.products li.product .button:hover{background:rgba(201,168,76,0.15)!important;color:var(--gold)!important;}

/* PRODUKT SINGLE */
.woocommerce div.product .product_title{color:var(--text)!important;font-family:'Playfair Display',serif!important;font-size:32px!important;}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gold)!important;font-size:28px!important;font-weight:600!important;}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--text-muted)!important;}

/* PRZYCISKI WOO */
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--gold)!important;color:var(--black)!important;border-radius:4px!important;font-weight:600!important;letter-spacing:0.08em!important;text-transform:uppercase!important;font-size:13px!important;transition:background 0.2s!important;}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--gold-light)!important;color:var(--black)!important;}

/* STOPKA */
.site-footer,#colophon,.ast-small-footer{background:var(--surface)!important;border-top:0.5px solid var(--border)!important;color:var(--text-dim)!important;}
.ast-small-footer a,.site-footer a{color:var(--text-dim)!important;}
.ast-small-footer a:hover,.site-footer a:hover{color:var(--gold)!important;}

/* FORMULARZE */
input,textarea,select{background:var(--surface2)!important;border:0.5px solid var(--border)!important;color:var(--text)!important;border-radius:4px!important;}
input:focus,textarea:focus,select:focus{border-color:var(--border-strong)!important;outline:none!important;}

/* KOSZYK */
.woocommerce table.shop_table{background:var(--surface)!important;border:0.5px solid var(--border)!important;border-radius:8px!important;color:var(--text)!important;}
.woocommerce table.shop_table th{color:var(--text-muted)!important;border-bottom:0.5px solid var(--border)!important;font-size:12px!important;letter-spacing:0.08em!important;text-transform:uppercase!important;}
.woocommerce table.shop_table td{border-bottom:0.5px solid var(--border)!important;color:var(--text)!important;}
.woocommerce .order-total .amount{color:var(--gold)!important;font-size:20px!important;}

/* POWIADOMIENIA */
.woocommerce-message,.woocommerce-info{background:var(--surface2)!important;border-top-color:var(--gold)!important;color:var(--text)!important;}
.woocommerce-error{background:var(--surface2)!important;border-top-color:#A32D2D!important;color:var(--text)!important;}

/* BREADCRUMBS */
.woocommerce .woocommerce-breadcrumb{color:var(--text-dim)!important;background:transparent!important;}
.woocommerce .woocommerce-breadcrumb a{color:var(--gold-dim)!important;}

/* RESPONSYWNOŚĆ */
@media(max-width:1024px){
  .hero-content-inner{padding:0 40px;}
  .maxpover-hero-slider{max-height:60vh;}
}
@media(max-width:768px){
  .maxpover-hero-slider{aspect-ratio:auto;height:70vw;max-height:none;}
  .hero-content-inner{padding:0 24px;}
  .hero-title{font-size:clamp(22px,6vw,32px);}
  .hero-sub{display:none;}
  .features-bar{padding:16px 20px;}
  .features-inner{gap:10px;}
  .feature-item{font-size:12px;}
  .btn-gold,.btn-outline{padding:10px 20px;font-size:11px;}
}
@media(max-width:480px){
  .maxpover-hero-slider{height:80vw;}
  .hero-eyebrow{display:none;}
  .hero-title{font-size:clamp(20px,7vw,28px);}
  .hero-actions{gap:8px;}
  .features-inner{flex-direction:column;align-items:flex-start;}
}

/* POPRAWKA SLIDE HEIGHT */
.hero-slide{width:100%!important;height:100%!important;position:absolute!important;inset:0!important;}
.hero-slide.active{position:absolute!important;}


/* ============================================
 *    NADPISANIE ASTRY - zmienne kolorow + naglowki
 *    ============================================ */
:root {
	  --ast-global-color-0: #C9A84C;
	  --ast-global-color-1: #E8C97A;
	  --ast-global-color-2: #C9A84C;
	  --ast-global-color-3: #F0EDE8;
	  --ast-global-color-4: #8A8680;
	  --ast-global-color-5: #8A6F32;
}

body h1,body h2,body h3,body h4,body h5,body h6,
body .entry-content :where(h1,h2,h3,h4,h5,h6),
body .entry-title,
body .entry-title a {
	  color: #C9A84C !important;
}

body h1.woocommerce-products-header__title,
body h1.page-title {
	  color: #8A6F32 !important;
}
}
}
}
/* Ukryj nieuzywany juz checkbox "uzyj adresu do rozliczen" po usunieciu Adresu rozliczeniowego z checkout */
.wc-block-checkout__use-address-for-billing {
  display: none !important;
}
