* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  body {
    font-family: Roboto, sans-serif;
    background-color: #fff;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10+ */
  }
  .breadcrumbs-top {
    display: none !important;
  }

  .tousfont {
    font-family: TOUS;
  }
  
  img {
    pointer-events: none;
    -webkit-user-drag: none; /* Safari/Chrome */
    user-drag: none;         /* Стандарт, поддержка пока мала */
  }

  .main-pict,
  .main-pict img {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: block;
  }

.bf2025-fullwidth-bg {
  background-color: #f8f8f8;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.bf2025-inner-container {
  max-width: 1920px;
  margin: 0 auto;
}

.bf2025-hero-media {
  padding: 0 !important;
}

.bf2025-hero-picture {
  display: block;
  width: 100%;
}

.bf2025-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 6%;
  pointer-events: none;
}

.bf2025-banner-desktop {
  max-width: 520px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  display: none;
}

.bf2025-banner-desktop-title {
  font-weight: 800;
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
}

.bf2025-banner-desktop-percent {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 2.6rem);
  letter-spacing: 4px;
  line-height: 1.3;
  margin-top: 1vh;
}

.bf2025-banner-desktop-subtitle {
  display: block;
  font-weight: 700;
  margin-top: 1vh;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
}

.bf2025-banner-desktop-dates {
  display: block;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  margin-top: 2vh;
}

.bf2025-banner-mobile {
  width: 100%;
  display: none;
}

.bf2025-banner-notice {
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
  padding: 20px 16px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.bf2025-banner-notice-title {
  font-size: clamp(2rem, 2.5rem, 3rem);
  line-height: 1.2;
  margin: 0 0 8px;
}

.bf2025-mobile-strip {
  width: 100%;
  background-color: #252525;
  padding: 18px 14px;
  text-align: center;
}

.bf2025-mobile-strip-title {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
  font-size: 1.8rem;
  letter-spacing: 3px;
}

.bf2025-mobile-strip-subtitle {
  display: block;
  margin-top: 0.4rem;
  font-weight: 600;
  color: #ffffff;
  font-size: 1.35rem;
  letter-spacing: 3px;
}

.bf2025-mobile-strip-dates {
  display: block;
  margin-top: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .bf2025-banner-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 5%;
  }
}

@media (min-width: 769px) {
  .bf2025-banner-desktop {
    display: block;
  }
}

@media (max-width: 768px) {
  .bf2025-banner-mobile {
    display: block;
  }
}

.bf2025-divider {
  margin-bottom: 40px;
}

.bf2025-btn-full {
  width: 100%;
  display: block;
}

  .section {
    padding: 20px 0px;
    text-align: center;
  }
  .section h2 {
    font-size: 80px;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  .section p {
    font-size: 24px;
    margin-bottom: 40px;
  }
  .section video {
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .promo-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    padding: 20px 0px 40px 0px;
  }
 
  .promo-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 20px 0px 40px 0px;
    
  }

  @media (max-width: 768px) {
    .promo-rules-grid {
      grid-template-columns: repeat(1, 1fr);
      gap: 20px;
      padding: 0px 0px 20px 0px;
  }
    .promo-grid {
      gap: 20px;
      padding: 0px 0px 20px 0px;
    }
    
  }

  .promo-box {
    position: relative;
    overflow: hidden;
    background: none;
    border: none;
    padding: 0;
  }

  .promo-image p {
  line-height: 1.2;
}

  .promo-image {
    position: relative;
    width: 100%;
    display: inline-block;
    overflow: hidden;
  }

.promo-image,
.promo-flex-image {
  max-width: 600px;
  max-height: 600px;
  margin: 0 auto;
  width: 100%;
}

  .promo-grid .promo-image::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.4);
    z-index: 1;
    pointer-events: auto;
    border-radius: inherit;
    transition: background 0.3s ease;
  }

  .promo-grid .promo-image:hover::before {
    background: rgba(255,255,255,0.8);
  }
  .rules-2 .overlay::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.4);
    z-index: 1;
    pointer-events: auto;
    border-radius: inherit;
    transition: background 0.3s ease;
  }

  .rules-2 .overlay:hover::before {
    background: rgba(255,255,255,0.8);
  }

  .promo-paint-effect {
    position: relative;
    z-index: 2;
  }

  @media (max-width:768px) {
    .rules-2 .promo-paint-effect {
      font-size: 1.2rem;
    }
  }
  .promo-image img {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    pointer-events: auto;
  }
  

  .presents img {
    height: clamp(500px, 67vh, 600px) !important;
    object-fit: contain !important;
    width: 100%;
    transition: transform 0.4s ease;
  }

@media (max-width:768px) {
  .presents img {
    height: clamp(500px, 67vh, 600px) !important;
    object-fit: cover !important;
  }
}

  .promo-rules-grid .promo-image img {
    width: 100%;
    height: 35vh;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
  }

  .promo-image .promo-paint-effect {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  .promo-image .pink-paint-effect {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .promo-paint-effect {
    display: inline-block;
    padding: 20px 40px;
    color: white;
    background-image: url('/upload/custom/td2025/brush_line-3.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-weight: bold;
    font-size: 3rem;
    text-wrap: nowrap;
  }

  .pink-paint-effect {
    text-align: center;
    display: inline-block;
    padding: 20px 45px;
    color: white;
    background-image: url('/upload/custom/td2025/brush_line-pink.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1em;
    font-weight: bold;
    font-size: 2.6rem;
    text-wrap: nowrap;
  }

@media (max-width: 768px) {
  .promo-paint-effect {
    font-size: 2rem;
  }
  .pink-paint-effect {
    font-size: 1.3rem;
  }
}

  .promo-flex {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .promo-flex-image,
  .promo-flex-content {
    flex: 1;
    min-width: 0; /* важно для вложенных flex-потомков */
  }

  @media (max-width: 768px) {
    .promo-flex {
      flex-direction: column;
    }
  }

  .promo-image p {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 100%;
    padding: 10px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    
  }

  /* Текстовые блоки без изображения */
  .promo-text-only {
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .promo-image img,
  .products-grid img,
  .section video,
  .main-pict {
    border-radius: 4px;
  }

  .promo-text-only .promo-text-header {
    text-align: center;
    padding: 20px;
    font-size: 1.4rem;
    color: #252525;
    font-weight: bold;
  }

  .promo-text-description {
    text-align: left;
    margin: 10px 0;
    font-size: 1.0rem;
    color: #252525;
    font-weight: 400;
    line-height: 1.5em;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
  }
  .products-grid div {
    position: relative;
    overflow: hidden;
  }
  .products-grid img {
    width: 100%;
    height: auto;
    display: block;
  }
  .products-grid p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 10px;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
    
  }

  .slideVideoContainer {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    overflow: hidden;
    z-index: 1;
  }

  .slideVideo {
    width: 100vw !important;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .image-box {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    border: 0.75px solid rgb(214, 213, 213);
    box-shadow: 3px 3px 3px rgba(190, 190, 190, 15%);
    border-radius: 5px;
  }

  .image-box img {
    display: block;
    width: 100%;
    height: 40vh;
    transition: transform 0.4s ease;
    object-fit: cover;
  }

  .image-box:hover img {
    transform: scale(1.15);
  }

  .image-box .paint-effect {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .paint-effect {
    display: inline-block;
    padding: 10px 40px;
    color: white;
    background-image: url('/upload/custom/td2025/brush_line.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-weight: bold;
    font-size: 3rem;
  }

  .online-block {
    display: inline-block;
    padding: 0px clamp(10px, 2vw, 15px);
    border-radius: 4px;
    border: 1px solid#dc4588;
    transition: all 0.2s ease;
    text-decoration: none;
    background-color: #dc4588;
    /* font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 4.2vw, 2.2rem); */
    color: white;
    text-align: center;
    line-height: clamp(1em, 1.4em, 1.6em);
    white-space: nowrap;
  }

  .presents-description {
    font-size: 1.5rem;
    line-height: 1em;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  
@media (max-width: 768px) {
    .presents-description {
      font-size: 1.2rem;
      }
  }

  .subsubh2 {
      font-size: 4.5rem !important;
    }
  .online-subh2 {
      font-size: 3rem !important;
    }

  @media (max-width: 768px) {
    .section h2 {
      font-size: 4rem !important;
    }
    .subh2 {
      font-size: 2.3rem !important;
    }
    .subsubh2 {
      font-size: 1.9rem !important;
    }
    .products-grid {
      grid-template-columns: 1fr 1fr;
    }
    .promo-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 480px) {
    .products-grid {
      grid-template-columns: 1fr;
    }
  }

  .fade-in-left, .fade-in-right {
    opacity: 0;
    transform: translateX(50px); /* по умолчанию вправо */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .fade-in-left {
    transform: translateX(-50px); /* влево */
  }

  .fade-in-visible {
    opacity: 1;
    transform: translateX(0);
  }

  
@media (max-width: 768px) {
  .main-pict,
  .main-pict img,
  .slideVideoContainer,
  .slideVideo {
    display: block;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  body.page-tous .limiter,
  .tous-landing .limiter,
  .limiter.tous-fix {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
  .td-button {
    display: inline-block;
    padding: clamp(8px, 2vw, 14px) clamp(20px, 4vw, 40px);
    border-radius: 4px;
    border: 1px solid #252525;
    transition: all 0.2s ease;
    text-decoration: none;
    background-color: #252525;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 4.2vw, 2.2rem);
    color: white;
    text-align: center;
    line-height: 2em;
    white-space: nowrap;
  }

  .td-button:hover {
    background-color: #dc4588;
    border-color: #dc4588;
    color: #252525;
  }

  .divider {
    width: 80%;
    height: 1px;
    background-color: rgba(128, 128, 128, 0.3);
    margin: 20px auto;
    border: none;
  }

.desktop-only {
    display: block;
  }
  .mobile-only {
    display: none;
  }

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}

.anchor {
  text-decoration:underline;
  color:#252525;
  font-weight:bold;

}

.discount-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 10;
  position: relative;
}

.center-block {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px 0px;
}




@media (min-width:769px) {
.topBtnLeft {
  display:none !important;
}
.topBtnRight {
  display:none !important;
}
.product .middle {
  font-size:16px;
}
}

