.catalog-hero {
    position: relative;
    background-color: #E9D4C1; 
    width: 100%;
  }
  
  .catalog-hero__top {
    padding-top: 2%;
    padding-bottom: 10%; 
  }
  
  .catalog-hero__container {
    max-width: 84%;
    margin: 0 auto;
    position: relative;
  }

  .catalog-hero__title {
    font-family: 'Miama Nueva', cursive;
    font-size: 8vw;
    font-weight: 500;
    color: #39120D;
    line-height: 1;
    margin: 0;
    margin-top:8%;
  }

  .catalog-hero__title span{
    display: block;
    margin-left: 29%;
    margin-top: -2%;
  }

  .catalog-hero__desc {
    font-family: 'Jost', sans-serif;
    font-size: 1.2vw;
    font-weight: 400;
    color: #39120D;
    line-height: 1.5;
    max-width: 48%;
    margin-left: 53%;
    margin-top: 5%;
  }
  
  .catalog-categories-section {
    position: relative;
    z-index: 2;
    margin-top: -9%; 
    background: url('../img/arc_2.webp') no-repeat top center;
    background-size: 100% auto;
    height: 20vh;
    padding-top: 8%;
    padding-bottom: 3%;
  }

  .catalog-categories__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw 2vw;
    width: 100%;
  }
  
  .catalog-category__item {
    font-family: 'Jost', sans-serif;
    font-size: 1.1vw;
    font-weight: 400;
    color: #39120D;
    text-decoration: none;
    transition: opacity 0.2s ease, text-decoration 0.2s ease;
  }
  
  .catalog-category__item:hover {
    opacity: 0.7;
    text-decoration: underline;
  }


.catalog-products{
    background-color: #FEF8EA 
}

a{
    color: #39120D;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
  }

.dessert-block__container{
    color: #39120D;
    padding: 2% 0 4%;
    max-width: 84%;
    margin: 0 auto;
}

.marquee-dual {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1vw; 
    margin-top: 3%;
    overflow: hidden;
  }

  .marquee-row {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
  }

  .marquee-track {
    display: flex;
    gap: 1vw; 
    width: max-content;
  }

  .marquee-row--top .marquee-track {
    animation: scrollLeft 60s linear infinite;
  }

  .marquee-row--bottom .marquee-track {
    animation: scrollRight 90s linear infinite;
  }
  
  .marquee-dual:hover .marquee-track {
    animation-play-state: paused;
  }

  .marquee-item {
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
  }
  
  .marquee-item--wide {
    width: 55vh;
    height: 34vh;
  }

  .marquee-item--square {
    width: 34vh;
    height: 34vh;
  }
  
  .marquee-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  @keyframes scrollLeft
   {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  @keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
      100% {
        transform: translateX(-50%);
    }
  }

.four-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4vw;
    margin-top: 3%;
  }
  
  .four-item {
    width: 100%;
    aspect-ratio: 1 / 1; 
    border-radius: 6px;
    overflow: hidden;
  }
  
  .honey-cake-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

.three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4vw;
    margin-top: 3%;
  }
  
  .three-item {
    width: 100%;
    aspect-ratio: 16 / 11; 
    border-radius: 6px;
    overflow: hidden;
  }

  .three-item img,
  .four-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .dessert-block__list {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    color: #39120D;
    line-height: 1.5;
    margin: 0 0 3% 2%;
    padding-left: 2%;
  }
  
  .dessert-block__list li {
    margin-bottom: 6px;
  }

.dessert-block__list--two-columns {
    columns: 2; 
    max-width: 36vw;
    list-style-type: disc;
  }
  
  .dessert-block__list--two-columns li {
    margin-bottom: 6px;
    break-inside: avoid; 
  }

  .oreshki-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .oreshki-img {
    grid-column: 1;      
    width: 100%;          
    height: auto;         
    display: block;       
    object-fit: cover;  
  }

@media screen and (max-width: 768px) {
  .catalog-hero__top {
    padding: 17% 0 10%;
    text-align: center;
  }

  .catalog-hero__container {
    max-width: 100%;
    padding: 0 16px;
  }

  .catalog-hero__title {
    font-size: 14vw; 
    margin-top: 30px;
    text-align: center;
    line-height: 1.1;
  }

  .catalog-hero__title span {
    margin-left: 0;
    margin-top: 5px;
  }

  .catalog-hero__desc {
    max-width: 100%;
    margin-left: 0;
    margin-top: 18%; 
    text-align: center;
    font-size: 3.6vw;
    padding: 0 10px;
  }

  .catalog-categories-section {
    display: none;
  }

  .dessert-block__container {
    max-width: 100%;
    padding: 2% 6% 6%;
  }

  .marquee-item--wide {
    width: 32vh;
    height: 23vh;
  }

  .marquee-item--square {
    width: 25vh;
    height: 25vh;
  }

  .marquee-track {
    gap: 10px;
  }

  .marquee-dual {
    gap: 10px;
  }

  .dessert-block__list--two-columns{
    max-width: 100%;
  }

  .four-grid,
  .three-grid{
    grid-template-columns: repeat(2, 1fr) !important;
    margin: 7% 0 4%;
  }

    .oreshki-grid {
      grid-template-columns: 1fr !important; 
    }

    .oreshki-img {
      grid-column: 1;    
    }

}

