@media (min-width: 1240px) {
  .container {
    max-width: 1320px;
  }

  .container_xl {
    max-width: 100%;
  }
}

@media (min-width: 1350px) {
  .container_xl {
    width: 1310px;
  }
}

@media (min-width: 992px) and (max-width: 1239.99px) {
  html {
    font-size: 40%;
  }
  .container {
    width: 960px;
  }
}

@media (min-width: 992px) {
  /* =============== */
  .col_gap_30 {
    margin: 0 -1.5rem;
  }
  .col_gap_30 > * {
    padding: 0 1.5rem;
  }
}

/* ------ Medium devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  html {
    font-size: 60%;
  }

  :root {
    --menuHeight: 6rem;
  }

  .container {
    padding: 0 3rem;
  }

  br {
    display: none;
  }

  .content .button {
    margin: 0 auto;
  }

  /* =========== Header area ========== */
  .menu_bottom nav {
    display: flex !important;
  }
  .mobile_menu {
    position: fixed;
    height: 0 !important;
    width: 100vw;
    left: 0;
    background: #fff;
    flex-direction: column;
    transition: 0.25s ease;
    top: var(--menuHeight);
    overflow: hidden;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }

  .mobile_menu::-webkit-scrollbar {
    display: none;
    scrollbar-width: 0;
  }

  .menu_toggled .mobile_menu {
    height: calc(100vh - var(--menuHeight)) !important;
    padding: 3rem 3rem 2rem; /* Menej paddingu, vyvážený top/bottom */
    border-top: 0.1rem solid #645959;
    gap: 2rem; /* Primeraná medzera medzi prvkami */
  }

  .logo img {
    width: 21rem;
  }

  .menu_right {
    flex-direction: column;
    gap: 2rem;
  }

  .primary_menu {
    display: grid;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    width: 100%;
  }

  .menu_link,
  .kontakt-selection_btn {
    display: grid;
    height: 6rem;
    width: 100%;
    text-align: center;
  }

  .menu_link:hover {
    background: transparent;
  }

  .kontakt-selection_btn {
    margin: 0;
  }

  .btn_wrap {
    height: auto;
  }

  .kontakt-selection_btn {
    display: flex;
    padding: 0.75rem 2rem;
    background-color: #12502F;
    color: white;
    text-decoration: none;
  }

  .kontakt-selection_btn:hover {
    background-color: #76B493;
    color: white;
  }


  .btn_wrap::before {
    display: none; /* alebo upraviť, ak chceš ponechať zelený prúžok, ale nie absolútny */
  }

  /* ============== Hero area ============= */
  .hero_area {
    padding: 0;
  }

  .hero_img1 {
    width: 11.3rem;
    top: 4rem;
    left: 3.6rem;
  }

  .hero_img2 {
    width: 23.7rem;
    bottom: 1.3rem;
    top: auto;
    right: -2rem;
  }

  .hero_content {
    min-height: 38rem;
  }

  /* ============== about_area ============= */
  .about_area::before {
    width: 100%;
    height: 60.9rem;
  }

  .title {
    font-size: 3rem;
    line-height: 3rem;
  }

  .about_area .content .p1 {
    padding: 3rem 0 0;
  }

  .about_area {
    padding: 4rem 0;
  }

  .about_area img {
    height: 80rem;
    object-fit: cover;
  }

  .about_area .content h2 {
    padding-bottom: 0;
  }
  .t2 {
    padding-bottom: 3rem !important;
  }

  /* ============== art_area =============== */
  .art_area {
    padding-top: 5.1rem;
    padding-bottom: 46.3rem;
  }
  .content {
    padding-right: 0;
  }
  .content .title {
    padding-bottom: 3rem;
  }

  /* =============== product_area ================ */
  .product_area .section_top {
    width: 100%;
    text-align: left !important;
  }

  .product_area .row {
    padding: 2.5rem 0;
    gap: 0;
  }

  .product_area .section_top {
    padding-bottom: 3rem;
  }

  .product_area {
    padding: 2.5rem 0 0.6rem;
  }

  .product_area .container > p {
    font-size: 2.5rem;
    line-height: 3.5rem;
  }

  .product_area .container > p br {
    display: block;
  }


  .product_area .row > * {
    padding-bottom: 2rem;
  }

  .product_area .item_img {
    height: 15.5rem;
    height: auto;
  }


  /* ================= cta_area =================== */
  .cta_area {
    height: 44.5rem;
    display: flex;
    align-items: end;
    justify-content: center;
  }
  .cta_area .section_top {
    top: 5.5rem;
    max-width: 100%;
    margin: 0;
  }

  .cta_area img {
    object-fit: cover;
  }

  /* ================= footer_section =================== */
  .footer_last img {
    margin-top: 0;
  }

  .footer_section .row {
    gap: 4rem 0;
  }

  svg.fb {
    width: 2rem;
  }

  svg.in {
    width: 4rem;
  }

  .social svg.lin {
    width: 4rem;
  }

  .social svg.youtube {
    width: 5.5rem;
  }

  .social a {
    padding: 0;
  }

  .footer_section .section_top {
    padding-bottom: 4rem;
  }

  .footer_section .section_top h2 {
    text-align: left;
    font-size: 3.4rem;
    line-height: 1.4;
    padding-bottom: 2rem;
  }

  .social {
    text-align: left;
  }

  .social a:first-child {
    margin-left: 0;
  }

  .footer_section {
    padding: 5rem 0 3rem;
  }

  /* ============ about_areav3 ============== */
  .about_areav3 .row {
    flex-direction: column-reverse;
    gap: 3rem;
  }

  .about_areav3 .title {
    padding-bottom: 3rem !important;
  }

  .about_areav3 {
    padding: 2rem 0 4rem;
  }

  /* ============ art_area ============== */
  .art_top .section_top p {
    line-height: 2.6rem;
  }

  .art_top .section_top.pb_85 {
    padding-bottom: 6rem;
    padding-top: 9rem;
  }

  .art_area .content.pr_90 {
    padding-left: 11rem;
  }

  /* ============ contact_area ============== */
  .contact_area .content h2 {
    font-size: 3rem;
    line-height: 4rem;
  }

  .h2_two {
    padding: 4rem 0 2rem;
  }

  .contact_socio {
    padding: 3rem 0 2.5rem;
  }

  .contact_btn {
    font-size: 1.8rem;
    height: 4rem;
    padding: 0 3rem;
  }
}

/*----- sm devices (tablets, 767px and down) -----*/
@media (max-width: 767px) {
  /* ============ default styles ============ */
  html {
    font-size: 55%;
  }

  body {
    font-size: 1.8rem;
    line-height: 2.6rem;
  }

  .content .button {
    margin: 0 auto;
  }

  /* menu */
  .primary_menu {
    width: 540px;
  }

  /* ===================== about_area ====================== */
  .about_area img {
    height: 32rem;
  }
  .about_area p {
    font-size: 1.8rem;
    line-height: 2.5rem;
  }

  /* ===================== cta_area ====================== */
  .cta_area .section_top {
    width: 100vw;
    padding: 0 3rem;
  }

  /* ===================== Hero_area ====================== */
  .hero_img2 {
    width: 21rem;
    bottom: 6.3rem;
    top: auto;
    right: 1rem;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.2727vw;
  }

  .content .button {
    width: 100%;
  }

  /* menu */
  .primary_menu {
    width: 100%;
  }

  /* cta_area */
  .cta_area img {
    width: 140% !important;
  }

  /* hero_content */
  .hero_content {
    background: url(../img/hero_img_sm.png) no-repeat scroll top left / cover !important;
    height: 45rem;
    width: calc(100% + 6rem);
    transform: translateX(-3rem);
  }

  .about_areav3  img {
    width: calc(100% + 6rem) !important;
    transform: translateX(-3rem);
  }

  .hero_img2 {
    width: 22rem;
    bottom: 12rem;
    top: auto;
    right: 0.5rem;
  }
}
