/*========================================
  АДАПТИВНЫЕ СТИЛИ
  ========================================
  
  Единая система breakpoints:
  - Mobile: < 576px
  - Tablet: 576px - 992px
  - Desktop: > 992px
  
  Использовать CSS переменные из style.css:
  --container-width, --spacing-*, --font-size-*, и т.д.
========================================*/

/*========================================
  БАЗОВЫЕ МОБИЛЬНЫЕ СТИЛИ
  Применяются ко всем размерам экранов
========================================*/
.container {
  width: 100%;
  max-width: 100%;
  padding: 0 var(--container-padding-mobile, var(--container-padding));
  box-sizing: border-box;
}

/* Единый стандарт padding контейнера для мобильных версий */
@media (max-width: 768px) {
  .container {
    padding: 0 12px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px !important;
  }
}

/* Предотвращаем overflow на всех элементах */
* {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/*========================================
  TABLET (576px - 992px)
========================================*/
@media (min-width: 576px) and (max-width: 992px) {
  .container {
    padding: 0 var(--container-padding);
  }
  
  .huge-title {
    font-size: 100px;
    line-height: 90px;
  }
  
  .title-block {
    width: 100%;
    max-width: 670px;
    margin: auto;
    display: flex;
    flex-direction: column;
  }
  
  .title {
    font-size: var(--font-size-5xl);
  }
  
  .relative-img {
    width: 160px;
    margin-top: 24px;
  }
  
  .first-block {
    margin-bottom: 80px;
    gap: var(--spacing-3xl);
  }
  
  .cloud-flex {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .border-cloud, .solid-cloud, .solid-cloud-all {
    width: 100%;
  }
  
  .acrylic-keychains-gallery-container,
  .acrylic-stands-gallery-container,
  .acrylic-pearl-gallery-container,
  .acrylic-double-gallery-container {
    flex-direction: column;
    gap: var(--spacing-xl);
  }
  
  .acrylic-keychains-gallery,
  .acrylic-stands-gallery,
  .acrylic-pearl-gallery,
  .acrylic-double-gallery {
    max-width: none;
    min-width: auto;
    width: 100%;
  }
  
  .acrylic-keychains-info-column,
  .acrylic-stands-info-column,
  .acrylic-pearl-info-column,
  .acrylic-double-info-column {
    min-width: auto;
    width: 100%;
  }
  
  .tab-content {
    padding: var(--spacing-3xl) var(--spacing-2xl);
  }
  
  .tab-nav > label {
    height: 60px;
    padding: var(--spacing-lg) var(--spacing-md);
    font-size: var(--font-size-base);
  }
  
  .tab-nav > input[type="radio"]:checked + label {
    height: 80px;
    font-size: var(--font-size-xl);
    padding: 28px var(--spacing-sm);
  }
  
  .two-tables-section {
    margin-top: var(--spacing-2xl);
  }
  
  body {
    font-size: 14px;
  }
  
  .cover-tabs-nav label {
    width: 140px;
    height: 45px;
    font-size: 14px;
  }
  
  #cover-tab-1:checked ~ .cover-tabs-nav label[for="cover-tab-1"],
  #cover-tab-2:checked ~ .cover-tabs-nav label[for="cover-tab-2"] {
    width: 160px;
    height: 55px;
    font-size: 18px;
  }
  
  /* Навигация - используем единые стили из common.css */
  
  .nav-link {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .nav-link span {
    display: none;
  }
  
  .nav-link i {
    font-size: 16px;
  }
  
  .tooltip {
    min-width: 300px;
  }
  
  .frame-text {
    font-size: 14px;
  }
  
  .arrow-black-frame-text {
    left: 90px;
    width: 30%;
  }
  
  .furniture-w-arrow img {
    display: none;
  }
}

/*========================================
  MOBILE (< 576px)
========================================*/
@media (max-width: 575px) {
  /* Базовые настройки */
  .container {
    padding: 0 var(--container-padding-mobile, 15px);
  }
  
  body {
    font-size: var(--font-size-base-mobile, 12px);
  }
  
  /* Заголовки */
  .huge-title {
    font-size: 60px;
    line-height: 60px;
  }
  
  .title {
    font-size: 28px;
    margin-top: 0 !important; /* Убираем отступ сверху для заголовков разделов */
    margin-bottom: 0 !important;
  }
  
  /* Исключение для заголовков в разделах прайса */
  .content-1-mini-gap .title,
  .content-1-mini-gap .title-w-sparcles .title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .title-block {
    width: 100%;
    max-width: 400px;
    margin: auto;
  }
  
  .logo img {
    width: 100%;
    max-width: 400px;
  }
  
  .relative-img {
    width: 90px;
    margin-top: 18px;
  }
  
  .title-w-sparcles {
    margin-top: 0 !important; /* Убираем верхний отступ у заголовков разделов */
    margin-bottom: var(--spacing-xs-mobile, 5px); /* Небольшой отступ снизу */
  }
  
  .title-w-sparcles img {
    width: 25px;
    margin-top: 20px !important;
  }
  
  /* Первый блок */
  .first-block {
    margin-top: var(--spacing-xl-mobile, 20px);
    margin-bottom: var(--spacing-2xl-mobile, 24px);
    gap: var(--spacing-xl-mobile, 20px);
  }
  
  .arrow-N-text {
    gap: var(--spacing-lg-mobile, 16px);
  }
  
  /* Убираем отступ сверху у заголовков разделов */
  .margin-top-between-blocks {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .title-w-sparcles.margin-top-between-blocks {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  /* Уменьшаем отступы между разделами в контейнере */
  .content-1-flex {
    gap: 8px !important; /* Сильно уменьшено с 40px для мобильных */
  }
  
  /* Убираем все лишние отступы у контейнеров разделов */
  .content-1-mini-gap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .content-1-mini-gap:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .content-1-mini-gap:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Убираем отступы у заголовков внутри контейнеров */
  .content-1-mini-gap .title-w-sparcles {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  .content-1-mini-gap .title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  /* Скрываем кнопки навигации галереи на мобильных устройствах */
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .one-of-the-content-3-gap {
    gap: var(--spacing-2xl-mobile, 24px);
  }
  
  /* Вкладки */
  .tab-nav {
    height: 60px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .tab-nav::-webkit-scrollbar {
    display: none;
  }
  
  .tab-nav > label {
    height: 40px;
    padding: 14px 10px;
    font-size: var(--font-size-base-mobile, 12px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: fit-content;
  }
  
  .tab-nav > label:hover {
    height: 45px;
  }
  
  .tab-nav > input[type="radio"]:checked + label {
    height: 60px;
    font-size: var(--font-size-md-mobile, 14px);
    padding: 22px 15px;
  }
  
  .tab-nav::after {
    width: 40px;
  }
  
  /* Стрелки прокрутки для мобильных устройств */
  .tab-nav-container {
    padding: 0 45px;
    margin-top: -30px; /* Уменьшаем отступ сверху на мобильных */
  }
  
  /* Градиентная маска для мобильных устройств */
  .tab-nav.show-left {
    mask-image: linear-gradient(to right, transparent 0%, black 20px);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px);
  }
  
  .tab-nav.show-right {
    mask-image: linear-gradient(to left, transparent 0%, black 20px);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 20px);
  }
  
  .tab-nav.show-left.show-right {
    mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
  }
  
  /* Убираем лишние отступы у блока с табами */
  .tab {
    margin-top: 0;
    padding-top: 0;
  }
  
  .tab-scroll-arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
    bottom: 20px; /* Адаптируем под мобильные табы: обычные 40px, активные 60px, центр ~30px от низа, минус половина высоты стрелки (17.5px) = ~12.5px, но используем 20px для лучшего визуального выравнивания */
  }
  
  .tab-scroll-arrow-left {
    left: 3px;
  }
  
  .tab-scroll-arrow-right {
    right: 3px;
  }
  
  .tab-content {
    padding: var(--spacing-lg-mobile, 16px);
    border-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius); /* Восстанавливаем скругление левого верхнего угла на мобильных */
  }
  
  /* Вложенные вкладки */
  .thickness-tabs-nav,
  .stands-tabs-nav {
    height: 50px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .thickness-tabs-nav::-webkit-scrollbar,
  .stands-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  
  .thickness-tabs-nav label,
  .stands-tabs-nav label {
    width: 70px;
    height: 30px;
    font-size: var(--font-size-base-mobile, 12px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 9px 0;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  #thickness-1:checked ~ .thickness-tabs-nav label[for="thickness-1"],
  #thickness-2:checked ~ .thickness-tabs-nav label[for="thickness-2"],
  #thickness-3:checked ~ .thickness-tabs-nav label[for="thickness-3"],
  #thickness-4:checked ~ .thickness-tabs-nav label[for="thickness-4"],
  #stands-1:checked ~ .stands-tabs-nav label[for="stands-1"],
  #stands-2:checked ~ .stands-tabs-nav label[for="stands-2"],
  #stands-3:checked ~ .stands-tabs-nav label[for="stands-3"],
  #pearl-stands-1:checked ~ .stands-tabs-nav label[for="pearl-stands-1"],
  #pearl-stands-2:checked ~ .stands-tabs-nav label[for="pearl-stands-2"],
  .stands-tabs-nav label[for="double-1"],
  #color-acrylic-1:checked ~ .stands-tabs-nav label[for="color-acrylic-1"],
  #color-acrylic-2:checked ~ .stands-tabs-nav label[for="color-acrylic-2"] {
    width: 90px;
    height: 40px;
    font-size: var(--font-size-md-mobile, 14px);
    padding: 12px 0;
  }
  
  /* Вкладки обложек */
  .cover-tabs-nav {
    height: 60px;
  }
  
  .cover-tabs-nav label {
    width: 120px;
    height: 40px;
    font-size: var(--font-size-base-mobile, 12px);
    padding: 12px 0;
  }
  
  #cover-tab-1:checked ~ .cover-tabs-nav label[for="cover-tab-1"],
  #cover-tab-2:checked ~ .cover-tabs-nav label[for="cover-tab-2"] {
    width: 130px;
    height: 45px;
    font-size: var(--font-size-md-mobile, 14px);
    padding: 14px 0;
  }
  
  /* Вкладки кардхолдеров */
  .cover-tabs-nav label[for="cardholder-tab-1"],
  .cover-tabs-nav label[for="cardholder-tab-2"] {
    width: 120px;
    height: 40px;
    font-size: var(--font-size-base-mobile, 12px);
    padding: 12px 0;
  }
  
  #cardholder-tab-1:checked ~ .cover-tabs-nav label[for="cardholder-tab-1"],
  #cardholder-tab-2:checked ~ .cover-tabs-nav label[for="cardholder-tab-2"] {
    width: 130px;
    height: 45px;
    font-size: var(--font-size-md-mobile, 14px);
    padding: 14px 0;
  }
  
  /* Облачки */
  .border-cloud,
  .solid-cloud {
    padding: var(--spacing-lg-mobile, 16px);
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .solid-cloud {
    border-top-left-radius: 0;
  }
  
  .radius-1 {
    border-bottom-left-radius: 15px;
  }
  
  .radius-2 {
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
  }
  
  .radius-3 {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  
  .radius-4 {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  
  .solid-cloud,
  .border-cloud {
    gap: var(--spacing-xl-mobile, 20px);
  }
  
  .solid-cloud {
    gap: var(--spacing-sm-mobile, 8px);
    align-items: center;
  }
  
  /* Кнопки */
  .button {
    font-size: var(--font-size-base-mobile, 12px);
  }
  
  /* Таблицы */
  .inner-table {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10px;
    width: 100%;
    max-width: 100%;
  }
  
  .price-table {
    display: table;
    width: auto;
    min-width: 100%;
    border-collapse: collapse;
  }
  
  .price-table th,
  .price-table td {
    padding: 10px 6px;
    font-size: var(--font-size-sm-mobile, 11px);
    min-width: 50px;
    white-space: nowrap;
  }
  
  .price-table th {
    font-size: var(--font-size-base-mobile, 12px);
    font-weight: 600;
  }
  
  .text-align-left {
    padding: 8px 10px !important;
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    font-size: var(--font-size-sm-mobile, 11px);
  }
  
  .text-align-right {
    text-align: left;
  }
  
  /* Контейнеры для скролла таблиц */
  .thickness-tabs-content > div,
  .stands-tabs-content > div,
  .pearl-stands-tab,
  .double-1-tab {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }
  
  /* Подсказка прокрутки таблиц */
  .price-table-scroll-hint {
    display: flex;
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 11px;
  }
  
  .price-table-scroll-hint svg {
    width: 12px;
    height: 12px;
  }
  
  /* Фурнитура */
  .furniture {
    gap: var(--spacing-sm-mobile, 8px);
  }
  
  .cost-space-between {
    font-size: var(--font-size-md-mobile, 14px);
    flex-direction: column;
    gap: var(--spacing-xs-mobile, 5px);
  }
  
  .text-big-yellow {
    font-size: 20px;
  }
  
  /* Навигация - используем единые стили из common.css (удалены дублирующиеся стили для оптимизации) */
  
  /* Тултипы */
  .tooltip {
    font-size: 10px;
    min-width: 166px;
    left: 0;
  }
  
  .tooltip:after {
    left: 124px;
  }
  
  /* Галереи */
  .acrylic-keychains-gallery-container,
  .acrylic-stands-gallery-container,
  .acrylic-pearl-gallery-container,
  .acrylic-double-gallery-container,
  .acrylic-color-pearl-gallery-container,
  .acrylic-color-glitter-gallery-container {
    flex-direction: column;
    gap: var(--spacing-xl-mobile, 20px);
    margin-top: var(--spacing-xs-mobile, 5px) !important; /* Уменьшено с var(--spacing-3xl) для более цельного вида */
  }
  
  .acrylic-keychains-gallery,
  .acrylic-stands-gallery,
  .acrylic-pearl-gallery,
  .acrylic-double-gallery,
  .acrylic-color-pearl-gallery,
  .acrylic-color-glitter-gallery {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }
  
  .acrylic-keychains-info-column,
  .acrylic-stands-info-column,
  .acrylic-pearl-info-column,
  .acrylic-double-info-column {
    width: 100%;
    min-width: auto;
  }
  
  /* ПЭТ пластик - мобильная адаптация */
  .pet-business-cards-gallery-container,
  .pet-bookmarks-gallery-container,
  .pet-other-formats-gallery-container {
    flex-direction: column;
    gap: var(--spacing-xl-mobile, 20px);
    margin-top: var(--spacing-xl-mobile, 20px);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .pet-business-cards-gallery,
  .pet-bookmarks-gallery,
  .pet-other-formats-gallery {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    max-height: 400px;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  /* Swiper внутри галерей ПЭТ пластика */
  .pet-business-cards-gallery .swiper,
  .pet-bookmarks-gallery .swiper,
  .pet-other-formats-gallery .swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .pet-business-cards-gallery .swiper-wrapper,
  .pet-bookmarks-gallery .swiper-wrapper,
  .pet-other-formats-gallery .swiper-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .pet-business-cards-gallery .swiper-slide,
  .pet-bookmarks-gallery .swiper-slide,
  .pet-other-formats-gallery .swiper-slide {
    width: 100%;
    max-width: 100%;
  }
  
  .pet-business-cards-gallery .swiper-slide img,
  .pet-bookmarks-gallery .swiper-slide img,
  .pet-other-formats-gallery .swiper-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .pet-business-cards-gallery-container .business-card-pricing,
  .pet-bookmarks-gallery-container .business-card-pricing,
  .pet-other-formats-gallery-container .business-card-pricing {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Вкладки ПЭТ пластика */
  .pet-tabs-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .pet-tabs-nav {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .pet-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  
  .pet-tabs-nav label {
    flex-shrink: 0;
    white-space: nowrap;
    min-width: fit-content;
  }
  
  .pet-tabs-content {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  
  .pet-tab-pane {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  
  .pet-tab-pane .inner-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Таблицы внутри pet-tab-pane */
  .pet-tab-pane .price-table {
    width: auto;
    min-width: 100%;
  }
  
  .pet-tab-pane .inner-table {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10px;
  }
  
  /* Прочее - мобильная адаптация */
  .other-cd-gallery-container,
  .other-calendar-gallery-container {
    flex-direction: column;
    gap: var(--spacing-xl-mobile, 20px);
    margin-top: var(--spacing-xl-mobile, 20px);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .other-cd-gallery,
  .other-calendar-gallery {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    max-height: 400px;
    overflow: hidden;
    box-sizing: border-box;
  }
  
  .other-cd-gallery-container .business-card-pricing,
  .other-calendar-gallery-container .business-card-pricing {
    width: 100%;
    min-width: auto;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Swiper внутри галерей Прочее */
  .other-cd-gallery .swiper,
  .other-calendar-gallery .swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .other-cd-gallery .swiper-slide img,
  .other-calendar-gallery .swiper-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  /* Фреймы */
  .arrow-black-frame-text {
    display: none;
  }
  
  .frames-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md-mobile, 12px);
    padding: var(--spacing-sm-mobile, 8px);
  }
  
  .frame {
    height: auto;
  }
  
  .frame-text {
    font-size: var(--font-size-base-mobile, 12px);
    line-height: 1.2;
    gap: var(--spacing-2xl-mobile, 24px);
  }
  
  .frame-text a {
    margin-top: var(--spacing-md-mobile, 12px);
  }
  
  .complex-shape {
    min-height: 100px;
    padding: var(--spacing-lg-mobile, 16px) var(--spacing-lg-mobile, 16px) var(--spacing-lg-mobile, 16px) var(--spacing-xl-mobile, 20px);
    justify-content: end;
  }
  
  .circle {
    width: 45px;
    height: 45px;
  }
  
  .text-align-center-min {
    width: min-content;
    text-align: center;
  }
  
  .min-width {
    width: min-content;
  }
  
  /* Футер */
  footer {
    background-image: url(picture/footer-cloud-adaptive-2.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    padding: var(--spacing-xl-mobile, 20px) var(--container-padding-mobile, 15px);
  }
  
  .footer-text {
    height: auto;
    min-height: 420px;
    width: 100%;
    max-width: 100%;
  }
  
  .footer-text-text {
    gap: var(--spacing-2xl-mobile, 24px);
    margin: auto 0;
    flex-direction: column;
    padding: var(--spacing-lg-mobile, 16px);
  }
  
  .contact-text {
    font-size: 28px;
    text-align: center;
  }
  
  .footer-text-order {
    font-size: var(--font-size-md-mobile, 14px);
    text-align: center;
  }
  
  .bubble-one img {
    width: 48px;
    height: auto;
  }
  
  .social-flex,
  .adress-test {
    align-items: center;
    gap: var(--spacing-xl-mobile, 20px);
    width: 100%;
  }
  
  .adress-test {
    width: 100%;
  }
  
  .adress-test p {
    text-align: center;
    font-size: var(--font-size-base-mobile, 12px);
  }
  
  .arrow-display {
    display: none;
  }
  
  .flex-contact img {
    width: 24px;
    height: auto;
  }
  
  .wave-line-footer {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  
  .one-social {
    gap: var(--spacing-sm-mobile, 8px);
  }
  
  /* Декоративные элементы - скрываем или уменьшаем на мобильных */
  .furniture-w-arrow img {
    display: none;
  }
}

/*========================================
  MOBILE SMALL (< 400px)
========================================*/
@media (max-width: 400px) {
  .tab-nav > label {
    font-size: 9px;
    margin: 0 2px;
  }
  
  .tab-nav > input[type="radio"]:checked + label {
    font-size: 11px;
  }
  
  .huge-title {
    font-size: 50px;
    line-height: 50px;
  }
  
  .logo img,
  .title-block {
    width: 100%;
    max-width: 320px;
  }
  
  .thickness-tabs-nav label,
  .stands-tabs-nav label {
    width: 60px;
    font-size: 10px;
  }
  
  #thickness-1:checked ~ .thickness-tabs-nav label[for="thickness-1"],
  #thickness-2:checked ~ .thickness-tabs-nav label[for="thickness-2"],
  #thickness-3:checked ~ .thickness-tabs-nav label[for="thickness-3"],
  #thickness-4:checked ~ .thickness-tabs-nav label[for="thickness-4"],
  #stands-1:checked ~ .stands-tabs-nav label[for="stands-1"],
  #stands-2:checked ~ .stands-tabs-nav label[for="stands-2"],
  #stands-3:checked ~ .stands-tabs-nav label[for="stands-3"],
  #pearl-stands-1:checked ~ .stands-tabs-nav label[for="pearl-stands-1"],
  #pearl-stands-2:checked ~ .stands-tabs-nav label[for="pearl-stands-2"],
  .stands-tabs-nav label[for="double-1"],
  #color-acrylic-1:checked ~ .stands-tabs-nav label[for="color-acrylic-1"],
  #color-acrylic-2:checked ~ .stands-tabs-nav label[for="color-acrylic-2"] {
    font-size: 12px;
  }
  
  .cover-tabs-nav label {
    width: 110px;
    height: 40px;
    font-size: 12px;
  }
  
  #cover-tab-1:checked ~ .cover-tabs-nav label[for="cover-tab-1"],
  #cover-tab-2:checked ~ .cover-tabs-nav label[for="cover-tab-2"] {
    width: 120px;
    height: 45px;
    font-size: 14px;
  }
  
  .footer-text {
    height: 250px;
  }
  
  .footer-text-order {
    font-size: 14px;
  }
  
  .contact-text {
    font-size: 28px;
  }
  
  .wave-line-footer {
    width: 240px;
    max-width: 100%;
  }
  
  .bubble-one img {
    width: 48px;
  }
}

/*========================================
  MOBILE EXTRA SMALL (< 370px)
========================================*/
@media (max-width: 370px) {
  .footer-text {
    margin: 80px auto;
  }
  
  .footer-text-order {
    font-size: 12px;
  }
}

/*========================================
  СПЕЦИАЛЬНЫЕ СЛУЧАИ
========================================*/

/* PET пластик - специальная ширина (устаревший стиль, оставлен для совместимости) */
@media (max-width: 576px) and (min-width: 400px) {
  .pet-plastic {
    width: fit-content !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}

/* Мини-таблица - показываем только на больших экранах */
@media (min-width: 430px) {
  .mini-table {
    display: inline-table !important;
  }
}

/* Скрытие скроллбара для таблиц */
.price-table-container::-webkit-scrollbar {
  height: 0px;
}
