/* responsive.css — wszystkie breakpointy w jednym miejscu */

@media(max-width:1180px){

  .header-inner{
    grid-template-columns:200px 1fr auto;
    column-gap:28px;
  }

  .main-nav{
    gap:18px;
  }

  .main-nav a{
    font-size:13px;
  }

  .hero-layout{
    gap:46px;
  }

  .container-wide{
    width:min(100% - 40px,1450px);
  }
}


@media(max-width:980px){

  /* HEADER */

  .header-inner{
    height:84px;
    grid-template-columns:1fr auto auto;
  }

  .brand img{
    width:176px;
    max-height:62px;
  }

  .menu-toggle{
    display:block;
    order:3;
  }

  .main-nav{
    display:none;
    position:absolute;
    left:20px;
    right:20px;
    top:84px;

    background:#fff;
    border:1px solid var(--line);
    border-radius:20px;

    padding:24px;

    box-shadow:0 20px 50px rgba(42,64,95,.12);

    flex-direction:column;
    align-items:flex-start;
    gap:4px;
  }

  .main-nav.is-open{
    display:flex;
  }

  .main-nav a{
    width:100%;
    padding:12px;
  }

  .header-actions{
    margin-left:auto;
  }

  .account-link{
    display:none;
  }


  /* HERO */

  .hero-layout{
    grid-template-columns:1fr;
    min-height:auto;
    padding:66px 0 96px;
  }

  .hero-art{
    min-height:410px;
  }

.hero-art-photo{
    min-height:390px;
}

  .hero-copy{
    text-align:center;
  }

  .hero-text{
    margin-inline:auto;
  }

  .hero-buttons,
  .hero-proof{
    justify-content:center;
    margin-inline:auto;
  }


  /* INTRO */

  .intro-grid{
    grid-template-columns:1fr 1fr;
  }

  .intro-label{
    grid-column:1/-1;
  }


  /* SEKCJE */

  .section-topline,
  .store-layout,
  .about-grid,
  .newsletter-inner{
    grid-template-columns:1fr;
    gap:44px;
  }

  .course-cards{
    grid-template-columns:1fr 1fr;
  }


  /* FOOTER */

  .footer-grid{
    grid-template-columns:1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child{
    grid-column:2/4;
  }


  /* SLIDER */

  .slider-ui{
    bottom:22px;
  }
}


@media(max-width:680px){

  /* KONTENERY */

  .container{
    width:min(100% - 30px,1240px);
  }

  .container-wide{
    width:min(100% - 28px,1450px);
  }


  /* HEADER */

  .header-actions .cart-btn{
    padding:0;
  }


  /* HERO */

  .hero-layout{
    padding-top:42px;
  }

  .hero-copy h1,
  .hero-title{
    font-size:44px;
  }

  .hero-text{
    font-size:16px;
  }

  .hero-proof{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
  }

  .hero-proof div:last-child{
    grid-column:1/-1;
  }

  .hero-art{
    min-height:330px;
  }


  /* HERO — ZDJĘCIE BOŻENY */

.hero-art-photo{
    min-height:315px;
}

  .hero-art-photo::before{
    width:280px;
    height:280px;

    right:5px;
    top:15px;

    border-radius:30px;
  }

  .hero-art-photo::after{
    width:80px;
    height:80px;

    left:0;
    bottom:18px;
  }

.hero-photo-wrap{
    width:min(100%,280px);
    padding:8px;
    border-radius:22px;
}

.hero-photo-main{
    border-radius:16px;
}

  .hero-photo-label{
    left:0;
    top:18px;

    padding:9px 13px;

    font-size:10px;
  }

  .hero-photo-note{
    right:0;
    bottom:18px;

    padding:10px 13px;

    font-size:9px;
  }


  /* SEKCJE */

  .intro-band,
  .section{
    padding:76px 0;
  }

  .intro-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .section-topline{
    margin-bottom:36px;
  }

  .course-cards{
    grid-template-columns:1fr;
  }


  /* SKLEP */

  .store-layout{
    gap:52px;
  }

  .floating-label{
    left:10px;
  }

  .store-features div{
    grid-template-columns:36px 1fr;
  }

  .store-features small{
    grid-column:2;
  }


  /* O BOŻENIE */

  .about-section{
    padding-top:72px;
  }


  /* NEWSLETTER */

  .newsletter{
    padding:66px 0;
  }

  .newsletter h2{
    font-size:38px;
  }

  .input-row{
    grid-template-columns:1fr;

    border-radius:18px;

    padding:7px;
  }

  .input-row input{
    height:48px;
  }

  .input-row button{
    border-radius:12px;
  }


  /* FOOTER */

  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:36px;
  }

  .footer-brand{
    grid-column:1/-1;
  }

  .footer-grid > div:last-child{
    grid-column:auto;
  }


  /* SLIDER */

  .slider-arrow{
    display:none;
  }

  .slider-ui{
    bottom:18px;
  }
}

/*
|--------------------------------------------------------------------------
| KONTO W NAGŁÓWKU
|--------------------------------------------------------------------------
*/

@media (max-width: 1180px) {

    .header-account-copy small,
    .header-logout-button span {
        display: none;
    }

    .header-account-copy {
        max-width: 100px;
    }
}

@media (max-width: 980px) {

    .header-account-copy {
        display: none;
    }

    .header-account-user {
        padding: 4px;
    }

    .header-account-icon {
        width: 40px;
        height: 40px;
    }

    .header-logout-button {
        width: 38px;
        padding: 6px;
    }
}

@media (max-width: 520px) {

    .header-account {
        gap: 2px;
    }

    .header-logout-button {
        display: none;
    }
}
