@media (max-width: 767px) {
  html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-image: url('img/bg-mob.jpg');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    background-color: #1C1D20;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
  }

  .container {
    width: 100%;
    height: auto;
    margin-left: 20px;
    margin-right: 20px;
    overflow: hidden; 
     overflow-x: hidden;
}

  /* --- Хедер --- */
  header {
    display: flex;
    width: 100%;
    margin-bottom: 40px;
  }

  .header_blok {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
    box-sizing: border-box;
    width: 100%;
  }

  .header_logo {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .header_icon_mobile svg {
    display: flex;
    height: auto;
    width: auto;
    align-items: center;
    justify-content: flex-end;
    margin-right: 17px;
    gap: 17px;
  }

  .header_icon_mobile svg.basket_img{
    padding-top: 5px;
  }

  .header_icon_mobile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: auto;
    width: auto;
    gap: 17px;
    height: 72px;
  }

  svg .basket_img {
    top: -50px;
  }

  header.scrolled {
    background-image: url(img/bg-header-mob.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1000;
    border-bottom: 1px solid #6e4a0c;
    width: 100%;
    
  }

  .header_icon_mobile svg {
    display: block;
    fill: white;
    transition: color 0.3s ease;
  }

  .header_icon_mobile svg:last-child {
    transform: scale(1.5);
    stroke-width: 1;
  }

  .header_icon_mobile svg:hover,
  .header_icon_mobile svg:active,
  .header_icon_mobile svg:focus {
    color: #BF923D;
  }

/* --- БЛОК mob-menu --- */

/* Стилі для бургер-іконки */
.header_icon_mobile_burger {
  cursor: pointer;
  z-index: 1000;
}

/* Стилі для мобільного меню */

.mobile_menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1c1c;
  color: #FAFAFA;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 1500;
  transition: opacity 0.3s ease;
  padding: 20px;
  overflow-y: auto;
  text-align: center;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile_menu a {
  color: #918d8d;
  text-decoration: none;
}

.menu_item_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mobile_menu img.logo{
  margin-top: 50px;
  margin-bottom: 20px;
  height:150px;
  width: 150px;
}

.mobile_menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.mobile_menu.closing {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}

.mobile_menu .close-menu {
  position: absolute;
  top: 20px;
  right: 30px;
  font-weight:100;
  font-size: 40px;
  cursor: pointer;
  color: white;
  font-family: Arial, sans-serif;
}

ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align-last: left;
  border-top: 1px solid #503403;
  box-sizing: border-box;
}

ul.menu > li {
  position: relative;
  padding: 15px 0;
  border-bottom: 1px solid #503403;
  cursor: pointer;
  width: 100vw;
  box-sizing: border-box;
}

ul.menu > li .toggle-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  right: 15px;
  align-items: center;
  padding-left: 15px;
  border-left: 1px solid #503403;
  color: #94620b;
  font-size: 32px;
}

.minus {
  font-size: 50px;
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  width: 100%;
  box-sizing: border-box;
}

.sub-menu li {
  padding: 15px 20px;
  border-bottom: 1px solid #503403;
  width: 100%;
  box-sizing: border-box;
}

li.contact_number_burger a {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #BF923D;
}

li.contact_number_burger {
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.menu,
ul.menu > li {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.basket_icon--mobile {
  position: relative;
  display: inline-block;
}

.move-left {
  margin-left: -50px;
}

.basket_icon--mobile .basket_badge {
  position: absolute;
  top: -10px;
  left: -30px;
  background-color: red;
  color: white;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

 /* --- БЛОК 1 --- */
 .block_1 {
  display: flex;
  width: 100%;
}

.block_1_title {
  display: flex;
  width: 100%;
  flex-direction: column; 
  gap: 20px;
  margin-top: 0px;
  text-align: left;
}

.gallery_card {
  display: flex;
  width: 100%;
  height: 39%;
  padding: 32px 20px;
  gap: 16px;
}

.gallery_card_title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery_card_title h2 {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #FAFAFA;
}

.gallery_card_title p {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #FAFAFA;
}

.block_1_title p {
  font-weight: 700;
  font-size: clamp(37px, 1vw, 40px);
  line-height: 48px;
  color: #FAFAFA;
}

.block_1_title h1 {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: #FAFAFA;
}

.gallery_item {
  width: 100%;
  flex: 0 0 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.block_1_gallery {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery_item img {
  height: auto;
}

.block_1_gallery_card {
  position: relative;
  display: flex;
  transition: transform 0.5s ease;
  justify-content: space-between;
  gap: 24px;
  margin-left: 1px;
  height: auto;
  width: 100%;
  max-width: 100%;
}

.gallery_card_button {
  aspect-ratio: 1 / 1;
  width: 64px;
  height: 64px;
  background-color: #131313;
  border-radius: 50%;
  border: 1px solid #BF923D;
  color: #BF923D;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
}

.slider-controls {
  display: flex;
  width: 100%;
  gap: 10px;
  justify-content: center;
}


.gallery_card_button {
aspect-ratio: 1 / 1;
width: 64px;
height: 64px;
background-color: #131313;
border-radius: 50%;
border: 1px solid #BF923D;
color: #BF923D;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
font-size: 18px;
}

.flipped {
transform: scaleX(-1);
}

.slider-btn {
background: none;
border: none;
padding: 0;
width: 40px;
height: 40px;
border-radius: 100px;
border: 1px solid #BF923D;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}

.slider-btn:hover {
background-color: rgb(48, 46, 46);
}

.slider-btn svg {
display: block;
margin: auto;
}

  /* --- Блок 2 --- */
  .block_2 {
    display: flex;
    background-image: url('img/bg-block2-mob.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 80px auto;
    align-items: center;
    justify-content: center;
  }

  .block_2 .block_2_conteiner {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .block_2_conteiner .colum {
    width: 100%;
    justify-content: center;
  }

  .block_2_conteiner .colum p {
    font-size: 40px;
    line-height: 48px;
  }
  
  .block_2_conteiner .colum p span {
    font-size: 20px;
    line-height: 28px;
  }

/* --- БЛОК 3 --- */
.block_3 {
  display: flex;
  background-color: #FAFAFA;
  height: auto;
}

.block_3_conteiner {
  display: flex;
  height: auto;
  flex-direction: column;
  gap: 40px;
  padding: 40px 0;
}

.block_3_text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 0;
}

.block_3_text_title {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.block_3_text_title h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  color: #1C1D20;
}

.block_3_text_title p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1C1D20;
}

.block_3_text_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.block_3_text_list_row {
  display: flex;
  gap: 16px;
}

.block_3_text_list_row p {
  font-size: 16px;
}

.block_3_text_list_row img {
  width: 24px;
  height: 24px;
}

.block_3_text_list_row h4 {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1C1D20;
}

.img_about_us {
  width: 100%;
  overflow: hidden; 
  height: auto;
}

.img_about_us img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* --- БЛОК 4 --- */
.block_4 {
  height: auto;
  display: flex;
}

.block_4_container {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.block_4_title {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.block_4_title h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
  color: #FAFAFA;
}

.block_4_title p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #FAFAFA;
}

.block_4_cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.block_4_cards_two {
  display: flex;
  flex-direction: column;
}

.block_4_card {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background-color: #242527;
}

.block_4_card_ico {
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #BF923D;
}

.block_4_card_text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.block_4_card_text h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #FAFAFA;
}

.block_4_card_text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #A4A5A6;
}

.plus {
  font-size: 36px;
  line-height: 12px;
  padding-bottom: 8px;
  color: #BF923D;
}

.minus {
  font-size: 36px;
  line-height: 12px;
  padding-bottom: 8px;
  color: #BF923D;
}

  /* --- БЛОК 5 --- */
  .block_5 {
    display: flex;
    width: 100%;
    display: flex;
    align-items: center;
    height: auto;
    justify-content: center;
    background-image: url(img/bg-block5-mob.jpg);
    background-size: cover;
    background-repeat: no-repeat;
  }
  

    .block_5_container {
      width: 100%;
      display: flex;
      flex-direction: column;
      padding: 40px 0;
      gap: 40px;
    }
    
    .block_5_text {
      height: auto;
      width: 100%;
      display: flex;
      box-sizing: border-box;
      flex-direction: column;
      gap: 20px;
    }


    .block_5_text p {
      font-weight: 600;
      font-size: 20px;
      line-height: 28px;
      color: #131313;
    }
    
    .block_5_text h3 {
      font-weight: 700;
      font-size: 32px;
      line-height: 36px;
      color: #1C1D20;
    }
    
    p.block_5_p_light {
      font-weight: 400;
      font-size: 16px;
      line-height: 24xp;
      color: #1C1D20;
    }

    a.button_site {
      min-width: 100%;
    }


  /* --- БЛОК 6 --- */
  .block_6 {
    display: flex;
    width: 100%;
  }

  .block_6_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .block_6_container_title {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    gap: 20px;
  }

   .block_6_container_title h2 {
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    color: #FAFAFA;
  }

  .block_6_container_title p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #FAFAFA;
  }

  .review-slider-wrapper {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 20px;
  }

  .slider-review-controls-list {
    flex-direction: block;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
  }

  .arrow-icon {
    display: block;
    }

    .reviews_list {
      width: 100%;
      display: flex;
      flex-wrap: nowrap;
      transition: transform 0.5s ease;
      box-sizing: border-box;
     
    }

    .review_card {
      flex: 0 0 100%;
      max-width: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 20px;
    }

    .review_text {
      display: flex;
      width: 100%;
      flex-direction: column;
      gap: 8px;
    }
  
    .review_text h2 {
      font-weight: 600;
      font-size: 20px;
      line-height: 28px;
      color: #FAFAFA;
    }
  
    .review_text h4 {
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
      color: #A4A5A6;
    }
    
    .link_review_card {
      display: flex;
      padding: 4px 0;
      gap: 4px;
    }

    .link_review_card a {
      display: inline-flex;
      align-items: center;
      font-weight: 400;
      font-size: 12px;
      line-height: 16px;
      color: #BF923D;
      text-decoration: underline solid;
      margin-left: 0;
    }

  .all_catalog {
    margin-top: 40px;
  }
  
  .button_site {
    display: flex;
    width: 100%;
    margin: 0 auto;
    height: 64px;
    border: 1px solid #BF923D;
    padding: 16px 20px;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    align-items: center;
    box-sizing: border-box;
    justify-content: center;
    vertical-align: middle;
    color: #FAFAFA;
  }

  

 /* --- БЛОК 7 --- */
 .block_7 {
  display: flex;
  width: 100%;
  height: auto;
}

.block_7_container {
  display: flex;
  width: 100%;
  height: 900;
  padding: 40px 0;
  gap: 40px;
}

.block_7_container_title {
  height: auto;
  display: flex;
  gap: 20px;
  text-align: left;
}

.block_7_container_title h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  color: #1C1D20;
}

.block_7_container_title p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1C1D20;
}

.block_7_container_faq-section {
  display: flex;
  height: auto;
  gap: 10px;
}

.question_item {
  display: flex;
  gap: 16px;
}

.question_title {
  display: flex;
  justify-content: space-between;
}



 /* --- БЛОК 8 --- */
 .block_8 {
  background-image: url(img/bg-block8-mob.jpg);
  height: auto;
  
}

.block_8_tite {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.block_8_tite h3,
.block_8_tite p {
  word-wrap: break-word;
}

.block_8_tite h3 {
  font-weight: 700;
  font-size: 32px; 
  line-height: 36px;
  color: #FAFAFA;
}

.block_8_tite p {
  font-size: 16px; 
  line-height: 24px;
}

.block_8_container {
  display: flex;
  gap: 40px;
  flex-direction: column; 
  align-items: center;
}

.block_8_form {
  display: flex;
  width: 100%;
  max-width: 100%;
  gap: 20px;
  box-sizing: border-box;
}

.block_8_form input,
.block_8_form textarea {
  font-weight: normal;
  color: #A4A5A6;
  font-size: 16px;
  line-height: 24px;
  height: 48px;
  padding: 16px;
  gap: 16px;
  border: 0px;
}

.block_8_form .button_site {
  width: 100%;
}




/* --- БЛОК 9 --- */
.block-content {
  display: flex;
  width: 100%;
  background-color: #FAFAFA;
}

.page-content {
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 40px 0;
  text-align: left;
  gap: 40px;
}

.page-content h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  color: #1C1D20;
  margin-bottom: 20px;
}

.page-content h3{
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #1C1D20;
  margin-bottom: 16px;
}

.page-content p {
  margin-bottom: 40px;
}

.page-content ul {
  font-weight: 300;
  font-size: 12px;
  line-height: 24px;
  color: #1C1D20;
}

.page-content li {
  list-style: none;
  padding-left: 0;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.page-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  background-image: url('img/Frame_ok.png');
  background-size: contain;
  background-repeat: no-repeat;
}

  body.with-read-more .page-content span {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }

  body.with-read-more .page-content-1:not(.visible) {
    display: none;
  }

  .page-content-1 span {
    display: flex;
    justify-content: flex-end;
  }


  
 /* --- БЛОК Футер --- */

 footer {
  width: 100%;
  display: flex;
  padding: 20px 0;
  flex-direction: column;
  text-align: center;
 }

 /* --- БЛОК footer TOP--- */

.footer_container_top {
  display: flex;
  width: 100%;
}

.footer_container_top_block {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 40px;
}

.footer_site_info {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 32px;
}

.small-description {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #FAFAFA;
}

.privacy-policy {
  display: none;
}

.footer_site_kataloh_colum li,
.footer_granitni_vyroby_colum li{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}

.footer_site_info img {
  display: flex;
  flex-direction: column;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.footer_site_info,
.footer_site_kataloh,
.footer_granitni_vyroby,
.footer_contact {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
}

.footer_site_kataloh_colum,
.footer_granitni_vyroby_colum,
.footer_contact_colum {
  width: 100%;
}

.footer_site_kataloh_colum p,
.footer_granitni_vyroby p,
.footer_contact h4 {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #A4A5A6;
}

.footer_site_kataloh,
.footer_granitni_vyroby,
.footer_contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer_site_kataloh h3,
.footer_granitni_vyroby h3,
.footer_contact h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #FAFAFA;
}

.soc_contact {
  position: static;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.soc_contact_burger {
  position: static;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 20px;
}

.privacy-policy-mobile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
}

.privacy-policy-mobile a {
  color: #A4A5A6;
  text-decoration: none;
}

 /* --- БЛОК footer BOTTOM--- */
.footer_container_bottom {
  width: 100%;
  background-color: #1b1b1d;
  display: flex;
}

.footer_container_bottom_block {
  gap: 20px;
  padding: 10px 0;
  height: auto;
  color: #838181;
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* --- NONE CLASS --- */
nav,
.basket_button {
  display: none !important;
}




/* Сторінка 2 - Каталог пам'ятників */

/* Блок 1 */

 .breadcrumb_block {
  margin-left: 20px;
  margin-right: 20px;
}

.breadcrumb {
  justify-content: left;
  margin: 0 auto;
  padding: 0;
  margin: 20px 0;
  align-items: center;
  font-size: clamp(5px, 2vw, 14px);
  line-height: 12px;
}

.breadcrumb_block h1 {
  font-weight: 700;
  font-size: clamp(35px, 1vw, 40px);
  line-height: 48px;
  margin-bottom: 40px;
  text-align: left;
}

.block_1-katalog {
  padding: 40px 0;
}

.title-h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  margin-bottom: -5px;
  margin-top: 15px;
}

.title-h2 .dekor {
  width: 50px;
  height: 3px;
  background-color: black;
  margin-top: 25px;
}

.block_1-katalog-container p {
  font-size: 17px;
  line-height: 28px;
}

.monument-gallery {
  padding: 15px 0 20px;
}

  .monument-gallery-container {
    grid-template-columns: 1fr;
  }

.monument-card-info {
  padding: 32px 20px;
}

  .monument-card-info h3 {
  font-size: 20px;
  padding: 7.5px;
}


/* --- БЛОК 3 --- */
.page-content p {
  margin-bottom: 30px;
}

.page-content ul {
  font-weight: 300;
  font-size: 12px;
  line-height: 24px;
}

.page-content li {
  list-style: none;
  padding-left: 0;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.page-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  background-image: url('img/Frame_ok.png');
  background-size: contain;
  background-repeat: no-repeat;
}


/* Блок 2 */
.line-black {
  width: 100%;
  height: 40px;
}


/* --- Блок 5 --- */
.block_5-katalog {
  padding: 50px 50px 50px 20px;
}

.centered-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.centered-text p {
  font-size: 16px;
  font-weight: 500;
}






*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Сторінка 3 - Популярні моделі */

/* Блок 1 */
.populyarni-modeli {
  background-color: #FAFAFA;
  box-sizing: border-box;
  padding-top: 40px;
}

.containers {
  width: 100%;
  margin: 0;
}

.populyarni-modeli_container {
  display: flex;
  width: calc(100% - 40px);
  gap: 40px;
  height: auto;
  flex-direction: column;
  margin-left: 20px;
}

.populyarni-modeli-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}

.block-pam {
  display: flex;
  flex-direction: column;
  background-color: #F5F5F5;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 30px;
}

.block-pam-img-wrapper h3{
  margin-bottom: 0;
}

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

.block-pam-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto 15px;
  display: block;
}

.block-pam-desc {
  display: flex;
  flex-direction: column;
  gap: 17px;
  text-align: center;
  margin: 0;
  margin-top: 13px;
}

.block-pam-desc h3 a {
  color: #424242;
  font-size: 20px;
  line-height: 27px;
}

.block-pam-desc h4 {
  color: #da5639;
  font-size: 17px;
}

.block-pam-desc p {
  font-size: 15px;
  line-height: 22px;
  margin: 0;
}

.buttons-container {
  display: flex;
  gap: 10px;
  margin: 0 auto;
  margin-top: 5px;
}

.btn-order {
  position: relative;
  background-color: #C1913F;
  color: white;
   font-size: clamp(12px, 3vw, 16px);
  font-weight: 540;
  text-align: center;
  letter-spacing: 1px;
  padding: 12px clamp(17px, 5vw, 38px);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  overflow: hidden;
}

.btn-order::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: 4px;
  border: 1px solid white;
  border-radius: 2px;
  pointer-events: none;
}

.btn-order:hover {
  background-color: #d6a555;
}

.btn-cart {
  position: relative;
  background-color: #C1913F;
  border: none;
  padding: 10px 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-cart::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: 4px;
  border: 1px solid white;
  border-radius: 2px;
  pointer-events: none;
}

.btn-cart:hover {
  background-color: #d6a555;
}

.btn-cart img {
  width: 25px;
  height: 25px;
}

/* Блок 2 */
.page-content {
 row-gap: 20px;
}




/* Блок 3 */
.menu-catalog {
  width: 100%;
  background-color: transparent;
  box-sizing: border-box;
}

.menu-title {
  margin: 0 auto 30px;
  background-color: #0f0f0f;
  color: #AF905C;
  text-align: center;
  padding: 23px 0;
  font-weight: 600;
  font-size: 18px;
}

.menu-title a {
  font-size: 17px;
}

.menu-catalog ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
}

.custom-marker {
  margin: auto 10px auto 15px;
  transform: rotate(270deg);
  flex-shrink: 0;
}

.menu-catalog ul li {
  display: flex;
  align-items: center;
  background-color: #F5F5F5;
  padding: 14px 0;
  margin: 13px auto;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.08);
  padding-left: 30px;
}

.menu-catalog ul li::before {
  left: 12px;
  width: 12px;
  height: 12px;
}

.menu-catalog ul li p {
  margin: 0;
  padding: 0;
}

.menu-catalog ul li p a {
  color: black;
  padding: 0;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}



/* Підвіконня з граніту */
.page-content-main {
  padding: 64px 0 10px;
}

.page-content-main h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  margin: 0;
  text-align: left;
  padding-bottom: 20px;
}


/* ВИДИ ГРАНІТУ */

.vydy-hranitu {
  padding-top: 40px;
}

.exception-hran-h2 {
  margin-bottom: -18px;
}

.vydy-containers {
  margin: 0 20px;
}

.vydy-h {
  margin-top: -60px;
}

.vydy-hranitu-content.v-hanitu .p-hranitu {
  font-size: 16px;
}

.vydy-hranitu-content.v-hanitu h3 {
 font-size: 22px;
}

.block-hranit-desc {
  display: flex;
  flex-direction: column;
  gap: 17px;
  text-align: center;
  margin: 0;
  margin-top: 13px;
}

.block-hranit-desc h3 a {
  color: #424242;
  font-size: 20px;
  line-height: 27px;
}

.block-hranit-desc p {
  font-size: 15px;
  line-height: 22px;
  margin: 0;
}



/* Описова сторінка */
/* Блок з детальним описом */
.block-pam-text {
  margin-top: 10px;
}

.block-pam-text h3 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 16px;
}

.block-pam-text p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 30px;
}


/* Блок замовлення */
.block-dostavka {
  margin-top: 10px;
}

.block-dostavka h3 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 16px;
}

.block-dostavka p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 30px;
}


/* Блок замовлення */
.block-zam {
    padding: 20px;
    margin-bottom: 40px;
}

.block-zam h3 {
    padding: 20px 20px;
    margin: -20px -20px 20px -20px;
    font-size: 25px;
    line-height: 35px;
}

.contact-methods {
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 35px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: center;
}

.phone-contact,
.social-contact {
    font-size: 22px;
    text-align: center;
    margin: 10px;
    width: 100%;
    padding-right: 20px;
}

.phone-number {
    font-size: 28px;
    margin-top: 20px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 23px;
    justify-content: center;
}

.social-icons .icon-link img {
    width: 35px;
    height: 35px;
    vertical-align: middle;
}



/* --- Спливаюче вікно корзини --- */
.basket_modal {
  display: none;
  position: fixed;
  z-index: 1000;
  right: 10px;
  top: 110px;
  background: #2b2b2b;
  padding: 10px;
  border: 1px solid #6e4a0c;
  border-radius: 6px;
  color: #fff;
  width: 90vw;
  max-width: 400px;
  min-width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.basket_modal_content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 15px;
  position: relative;
}

.basket_items_list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #6e4a0c transparent;
  padding-right: 10px;
}

.basket_items_list::-webkit-scrollbar {
  width: 6px;
}
.basket_items_list::-webkit-scrollbar-thumb {
  background-color: #6e4a0c;
  border-radius: 4px;
}
.basket_items_list::-webkit-scrollbar-track {
  background: transparent;
}

.basket_item {
  display: flex;
  align-items: center;
  background-color: #383838;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  gap: 10px;
  transition: background-color 0.3s ease;
}

.basket_item:hover {
  background-color: #525050;
}

.basket_item:hover .basket_item_title {
  color: #d19a33;
}

.basket_item_title {
  font-weight: 600;
  font-size: 10px;
  color: #ffffff;
  line-height: 1.3;
  text-decoration: none;
}

.basket_item_title:hover {
  color: #d19a33 !important;
}

.basket_item img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.basket_item_info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.basket_item_controls {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  transform: translateX(-10px);
}

.basket_item_qty {
  font-size: 10px;
  color: #cccccc;
  white-space: nowrap;
}

.basket_item_price {
  font-weight: bold;
  font-size: 10px;
  color: #ffffff;
  white-space: nowrap;
  margin-right: 8px;
}

.remove_btn {
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 8px;
  cursor: pointer;
  align-self: center;
  color: #ff5f5f;
  padding: 0;
  transition: transform 0.2s ease;
}

.remove_btn:hover {
  transform: scale(1.2);
  color: #ff7f7f;
}

.close_modal {
  position: absolute;
  top: -11px;
  right: -5px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.close_modal:hover {
  color: #d38c13;
}

.basket_checkout {
  display: inline-block;
  background-color: #d19a33;
  color: #fff;
  border: 1px solid #b67c19;
  padding: 8px 12px;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.basket_checkout:hover {
  background-color: #c0841d;
  border-color: #99610f;
  color: #fff !important;
}

.basket_checkout.disabled {
  background-color: #777 !important;
  border-color: #555 !important;
  color: #ccc !important;
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.basket_total {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #6e4a0c;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
}

.basket_empty_message {
  color: #ccc;
  text-align: center;
  font-size: 16px;
  margin-top: 10px;
}

/* Додаткові класи */

.form-group label {
  margin: 0;
  font-weight: 500;
  display: block;
  margin-right: 10px;
  width: 40%;
  justify-content: start;
}

form input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px;
}

.checkout-form textarea {
  width: 300px;
  min-height: 120px;
  margin-top: 0;
  font-size: 14px;
  color: #A4A5A6;
  background-color: #FAFAFA;
  resize: none;
}

/* --- Сторінка Оформлення замовлення --- */
.checkout-section {
  padding: 10px 0;
  background-color: #f9f9f9;
}

.checkout-section .container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.order-summary {
  margin-bottom: 40px;
}

.order-summary h2,
.checkout-form h2 {
  font-size: 13px;
  margin-bottom: 15px;
  background-color: #f0f0f0;
  padding: 10px;
  color: #585353;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  table-layout: fixed;
}

.order-table thead {
  background-color: #d8d4cd;
  color: #333;
}

.order-table thead th {
  padding: 2px;
  font-weight: bold;
  font-size: 8px;
  border-bottom: 2px solid #ccc;
}

.order-table th,
.order-table td {
  font-size: 9px;
  border: 1px solid #ccc;
  padding: 6px 4px;
  text-align: center;
  vertical-align: middle;
  overflow-wrap: break-word;
}

.order-table td:nth-child(3),
.order-table th:nth-child(3) {
  width: 50px;
  padding: 10px;
  font-size: 8px;
}

.order-table td:nth-child(4),
.order-table td:nth-child(5) {
  min-width: 50px;
  max-width: 90px;
  white-space: nowrap;
}

.order-table img {
  width: 20px;
  height: auto;
}

.order-total {
  width: fit-content;
  margin-left: auto;
  direction: rtl;
}

.order-total p {
  font-size: 9px;
  margin: 5px 0;
}

.qty-btn {
  display: inline-block;
  padding: 4px 1px;
  font-size: 10px;
  border: 1px solid #ccc;
  background-color: #eee;
  cursor: pointer;
  line-height: 1;
  min-width: 32px;
  text-align: center;
  vertical-align: middle;
  user-select: none;
}

.qty-btn.minus {
  margin-right: 0;
}

.qty-btn.plus {
  margin-left: 0;
}

.qty-input {
  width: 30px;
  text-align: center;
  font-size: 10px;
  padding: 0 2px;
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-controls {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  justify-content: center;
}

.order-table td:nth-child(3) .qty-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
}

.remove-cross-btn {
  font-size: 11px;
  line-height: 1;
  background: none;
  border: none;
  color: #ff5f5f;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.remove-cross-btn:hover {
  color: #ff7f7f;
  transform: scale(1.2);
}

.order-table td a {
  text-decoration: none;
  color: inherit;
}

.order-table td a:hover {
  text-decoration: none;
  color: #d19a33;
}


/* --- Форма замовлення --- */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-left,
.form-right {
  width: 100%;
  box-sizing: border-box;
}

.checkout-form .form-group {
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form-group label {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  margin-bottom: 4px;
  padding-left: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 300px;
  padding: 8px 10px;
  font-size: 13px;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #FAFAFA;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #BF923D;
  box-shadow: 0 0 6px rgba(191, 146, 61, 0.3);
  outline: none;
}

.checkout-form textarea {
  height: 80px;
  font-size: 14px;
  color: #A4A5A6;
  background-color: #FAFAFA;
  resize: vertical;
}


/* --- Радіо --- */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.radio-item {
  position: relative;
  padding-left: 30px;
  font-size: 10px;
  line-height: 1.4;
}

.radio-item input[type="radio"] {
  display: none;
}

.radio-item label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid #d19a33;
  border-radius: 50%;
  background-color: #fff;
  box-sizing: border-box;
}

.radio-item input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 6px;
  height: 6px;
  background-color: #d19a33;
  border-radius: 50%;
}


/* --- Кнопка оформлення --- */
.form-submit-wrapper,
.form-submit-container {
  flex-basis: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn-submit {
  display: block;
  margin-right: auto;
  max-width: 300px;
  width: 100%;
  padding: 12px 24px;
  margin-top: 20px;
  background-color: #0a0a0a;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #9e770a;
}
}