/* Base (scoped): не трогаем шапку/подвал и глобальные теги */
.checkup-page-benefits,
.checkup-page-benefits *,
.checkup-page-section,
.checkup-page-section *,
.pricing-container,
.pricing-container *,
.pricing-container2,
.pricing-container2 *,
.palata-room-wrap,
.palata-room-wrap * {
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .pricing-container .buttons button {
        line-height: 1.2;
    }

    .pricing-container .content-container table tbody tr td:first-child {
        line-height: 1.3;
    }
}


/* Inline style block #2 from checkup/index.php */
/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ ЧЕК-АП - УНИКАЛЬНЫЕ КЛАССЫ ===== */
        /* Основные переменные цветов сайта */
        :root {
            --checkup-page-primary: #46c162;
            --checkup-page-secondary: #0b605b;
            --checkup-page-white: #ffffff;
            --checkup-page-light-gray: #f5f5f5;
            --checkup-page-gray: #e0e0e0;
            --checkup-page-dark-gray: #666666;
            --checkup-page-text: #333333;
            --checkup-page-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            --checkup-page-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
            --checkup-page-border-radius: 12px;
            --checkup-page-transition: all 0.3s ease;
        }

        /* Важно: не задаём глобальные reset/body стили, чтобы не ломать шапку/подвал */

        /* ===== БЛОК ПРЕИМУЩЕСТВ ===== */
        .checkup-page-benefits {
            padding: 80px 20px;
            background: white;
        }

        .checkup-page-benefits__container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .checkup-page-benefits__title {
            font-size: 42px;
            font-weight: 700;
            color: var(--checkup-page-secondary);
            text-align: center;
            margin: 0 0 60px 0;
        }

        .checkup-page-benefits__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .checkup-page-benefits__item {
            background: linear-gradient(26deg, #46c161 0%, #01989c 100%);
            padding: 28px 20px;
            border-radius: var(--checkup-page-border-radius);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: var(--checkup-page-transition);
            text-align: center;
        }

        .checkup-page-benefits__item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }

        .checkup-page-benefits__icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 18px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .checkup-page-benefits__icon svg {
            width: 40px;
            height: 40px;
            stroke: var(--checkup-page-white);
            stroke-width: 2.5;
        }

        .checkup-page-benefits__icon img {
            width: 40px;
            height: 40px;
            display: block;
        }

        .checkup-page-benefits__item-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--checkup-page-secondary);
            margin: 0;
        }

        .checkup-page-benefits__item-text {
            font-size: 16px;
            color: var(--checkup-page-dark-gray);
            line-height: 1.6;
            margin: 0;
        }

        /* ===== БЛОК ЧЕК-АП ===== */
        .checkup-page-section {
            padding: 80px 20px;
            background: var(--checkup-page-white);
        }

        .checkup-page-section__container {
            max-width: 900px;
            margin: 0 auto;
        }

        .checkup-page-section__title {
            font-size: 42px;
            font-weight: 700;
            color: var(--checkup-page-secondary);
            text-align: center;
            margin: 0 0 60px 0;
        }

        /* ===== ВАРИАНТ 1: Предложенный вами стиль ===== */
        .checkup-page-section__who-needs--variant1 {
            background: linear-gradient(135deg, rgba(11, 96, 91, 0.05), rgba(70, 193, 98, 0.05));
            padding: 30px;
            border-radius: var(--checkup-page-border-radius);
            border-left: 5px solid var(--checkup-page-primary);
            margin-bottom: 50px;
        }

        .checkup-page-section__who-needs--variant1 .checkup-page-section__subtitle {
            font-size: 24px;
            font-weight: 600;
            color: var(--checkup-page-secondary);
            margin: 0 0 15px 0;
        }

        .checkup-page-section__who-needs--variant1 .checkup-page-section__intro {
            font-size: 16px;
            color: var(--checkup-page-dark-gray);
            margin: 0 0 20px 0;
            line-height: 1.6;
        }

        .checkup-page-section__who-needs--variant1 .checkup-page-section__list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .checkup-page-section__who-needs--variant1 .checkup-page-section__list li {
            font-size: 16px;
            color: var(--checkup-page-text);
            line-height: 1.8;
            padding: 10px 0 10px 30px;
            position: relative;
        }

        .checkup-page-section__who-needs--variant1 .checkup-page-section__list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: var(--checkup-page-primary);
            font-size: 24px;
            line-height: 1;
        }

        /* ===== ВАРИАНТ 2: Альтернативный стиль ===== */
        .checkup-page-section__who-needs--variant2 {
            background: var(--checkup-page-white);
            padding: 40px;
            border-radius: var(--checkup-page-border-radius);
            border: 2px solid var(--checkup-page-primary);
            box-shadow: 0 4px 20px rgba(70, 193, 98, 0.15);
            margin-bottom: 50px;
            position: relative;
            overflow: hidden;
        }

        .checkup-page-section__who-needs--variant2::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--checkup-page-primary), var(--checkup-page-secondary));
        }

        .checkup-page-section__who-needs--variant2 .checkup-page-section__subtitle {
            font-size: 24px;
            font-weight: 600;
            color: var(--checkup-page-secondary);
            margin: 0 0 15px 0;
        }

        .checkup-page-section__who-needs--variant2 .checkup-page-section__intro {
            font-size: 16px;
            color: var(--checkup-page-dark-gray);
            margin: 0 0 20px 0;
            line-height: 1.6;
        }

        .checkup-page-section__who-needs--variant2 .checkup-page-section__list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .checkup-page-section__who-needs--variant2 .checkup-page-section__list li {
            font-size: 16px;
            color: var(--checkup-page-text);
            line-height: 1.8;
            padding: 12px 0 12px 35px;
            position: relative;
            border-bottom: 1px solid rgba(70, 193, 98, 0.1);
        }

        .checkup-page-section__who-needs--variant2 .checkup-page-section__list li:last-child {
            border-bottom: none;
        }

        .checkup-page-section__who-needs--variant2 .checkup-page-section__list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--checkup-page-white);
            background: var(--checkup-page-primary);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
        }

        /* Блок "Чек-ап позволяет" */
        .checkup-page-section__allows {
            margin-bottom: 50px;
        }

        .checkup-page-section__allows-title {
            font-size: 28px;
            font-weight: 600;
            color: var(--checkup-page-secondary);
            margin: 0 0 30px 0;
        }

        .checkup-page-section__allows-grid {
            display: grid;
            gap: 9px;
        }

        .checkup-page-section__allows-item {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 20px 25px;
            background: var(--checkup-page-light-gray);
            border-radius: var(--checkup-page-border-radius);
            transition: var(--checkup-page-transition);
        }

        .checkup-page-section__allows-item:hover {
            background: rgba(70, 193, 98, 0.1);
            transform: translateX(5px);
        }

        .checkup-page-section__check-icon {
            width: 24px !important;
            height: 24px;
            stroke: var(--checkup-page-primary);
            stroke-width: 3;
            flex-shrink: 0;
        }

        .checkup-page-section__allows-item span {
            font-size: 16px;
            color: var(--checkup-page-text);
            line-height: 1.6;
        }

        /* Блок "Стоимость палаты" */
        .checkup-page-section__pricing {
            background: var(--checkup-page-light-gray);
            padding: 40px;
            border-radius: var(--checkup-page-border-radius);
        }

        .checkup-page-section__pricing-title {
            font-size: 28px;
            font-weight: 600;
            color: var(--checkup-page-secondary);
            margin: 0 0 10px 0;
        }

        .checkup-page-section__pricing-intro {
            font-size: 16px;
            color: var(--checkup-page-dark-gray);
            margin: 0 0 30px 0;
            line-height: 1.6;
        }

        .checkup-page-section__pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }

        .checkup-page-section__pricing-card {
            background: var(--checkup-page-white);
            border-radius: var(--checkup-page-border-radius);
            border: 2px solid var(--checkup-page-gray);
            transition: var(--checkup-page-transition);
            position: relative;
            overflow: hidden;
            min-height: 350px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .checkup-page-section__pricing-card:hover {
            border-color: var(--checkup-page-primary);
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(70, 193, 98, 0.2);
        }

        .checkup-page-section__pricing-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        .checkup-page-section__pricing-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
            z-index: 1;
        }

        .checkup-page-section__pricing-content {
            position: relative;
            z-index: 2;
            padding: 30px;
        }

        .checkup-page-section__pricing-name {
            font-size: 22px;
            font-weight: 700;
            color: var(--checkup-page-white);
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .checkup-page-section__pricing-price {
            font-size: 32px;
            font-weight: 700;
            color: var(--checkup-page-white);
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .checkup-page-section__pricing-btn {
            background: var(--checkup-page-primary);
            color: var(--checkup-page-white);
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--checkup-page-transition);
            display: inline-block;
            text-decoration: none;
            text-align: center;
            box-shadow: 0 4px 15px rgba(70, 193, 98, 0.3);
        }

        .checkup-page-section__pricing-btn:hover {
            background: #3eb057;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(70, 193, 98, 0.4);
        }

        /* ===== СТИЛИ БЛОКА ПАЛАТЫ (вариант 1) ===== */
        .palata-room-wrap{
          max-width: 1120px;
          margin: 60px auto 0;
          padding: 0 clamp(14px, 3vw, 28px);
        }

        .palata-room-block{
          display: grid;
          gap: clamp(16px, 2.5vw, 28px);
          grid-template-columns: 1.25fr .95fr;
          align-items: start;
        }

        @media (max-width: 980px){
          .palata-room-block{ grid-template-columns: 1fr; }
        }

        /* Gallery */
        .palata-gallery{
          border-radius: 16px;
          background: rgba(255,255,255,.9);
          overflow: hidden;
          max-width: 100%;
        }

        .palata-stage{
          position: relative;
          border-radius: 16px;
          overflow: clip;
          background: rgba(11, 96, 91, .06);
          box-shadow: 0 3px 5px rgba(12, 24, 24, .12);
        }

        .palata-stage::after{
          content:"";
          position:absolute;
          inset:0;
          pointer-events:none;
          background:
            radial-gradient(60% 55% at 50% 50%, rgba(0,0,0,.10), transparent 64%);
          opacity:.55;
          mix-blend-mode: multiply;
        }

        .palata-stage img{
          width: 100%;
          height: clamp(300px, 36vw, 520px);
          object-fit: cover;
          display: block;
          transform: scale(1.01);
        }

        @media (max-width: 980px){
          .palata-stage img{ height: min(52vh, 460px); }
        }

        .palata-stageControls{
          position: absolute;
          inset: 14px 14px auto 14px;
          display: flex;
          align-items: center;
          justify-content: space-between;
          gap: 10px;
          z-index: 2;
          pointer-events: none;
        }

        .palata-counter{
          pointer-events: auto;
          display: inline-flex;
          align-items: center;
          gap: 8px;
          padding: 10px 12px;
          border-radius: 999px;
          background: rgba(255,255,255,.88);
          color: rgba(11, 26, 26, .78);
          box-shadow: 0 3px 5px rgba(12, 24, 24, .12);
          font-size: 13px;
          line-height: 1;
        }

        .palata-counterDot{
          width: 8px;
          height: 8px;
          border-radius: 999px;
          background: var(--checkup-page-primary);
        }

        .palata-nav{
          pointer-events: auto;
          display: inline-flex;
          gap: 8px;
        }

        .palata-nav button{
          appearance: none;
          border: 0;
          background: rgba(255,255,255,.88);
          color: rgba(11, 26, 26, .86);
          width: 40px;
          height: 40px;
          border-radius: 999px;
          display: grid;
          place-items: center;
          box-shadow: 0 3px 5px rgba(12, 24, 24, .12);
          cursor: pointer;
          transition: transform .15s ease, background .15s ease;
        }

        .palata-nav button:hover{ transform: translateY(-1px); background: rgba(255,255,255,.96); }
        .palata-nav button:active{ transform: translateY(0px); }
        .palata-nav button:focus-visible{ outline: none; box-shadow: 0 3px 5px rgba(12, 24, 24, .12), 0 0 0 3px rgba(70, 193, 98, .22); }

        .palata-nav svg{ width: 18px; height: 18px; }

        .palata-thumbRow{
          margin-top: 12px;
          display: grid;
          grid-template-columns: auto 1fr auto;
          gap: 10px;
          align-items: center;
          width: 100%;
          min-width: 0;
        }

        .palata-thumbRow button.palata-scrollBtn{
          width: 38px;
          height: 38px;
          border-radius: 999px;
          border: 0;
          background: rgba(11, 96, 91, .06);
          color: rgba(11, 26, 26, .84);
          cursor: pointer;
          transition: transform .15s ease, background .15s ease;
        }
        .palata-thumbRow button.palata-scrollBtn:hover{ transform: translateY(-1px); background: rgba(11, 96, 91, .08); }
        .palata-thumbRow button.palata-scrollBtn:focus-visible{ outline: none; box-shadow: 0 0 0 3px rgba(70, 193, 98, .22); }
        .palata-thumbRow button.palata-scrollBtn svg{ width: 18px; height: 18px; }

        .palata-thumbs{
          display: flex;
          gap: 10px;
          overflow: auto hidden;
          overflow-x: auto;
          overflow-y: hidden;
          scroll-snap-type: x mandatory;
          padding: 6px 2px;
          scrollbar-width: thin;
          min-width: 0;
          max-width: 100%;
        }

        .palata-thumb{
          flex: 0 0 auto;
          width: 92px;
          height: 64px;
          min-width: 92px;
          max-width: 92px;
          border-radius: 10px;
          overflow: clip;
          background: rgba(11, 96, 91, .06);
          box-shadow: 0 2px 5px rgba(12, 24, 24, .12);
          cursor: pointer;
          position: relative;
          scroll-snap-align: start;
          transition: transform .16s ease;
          border: 0;
          padding: 0;
        }

        .palata-thumb:hover{ transform: translateY(-1px); }
        .palata-thumb:focus-visible{ outline: none; box-shadow: 0 2px 5px rgba(12, 24, 24, .12), 0 0 0 3px rgba(70, 193, 98, .22); }

        .palata-thumb img{
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
        }

        .palata-thumb[aria-current="true"]::after{
          content:"";
          position:absolute;
          left: 10px;
          right: 10px;
          bottom: 6px;
          height: 3px;
          border-radius: 999px;
          background: var(--checkup-page-primary);
          opacity: .95;
        }

        /* Content */
        .palata-content{
          border-radius: 16px;
          background: rgba(255,255,255,.92);
          padding: clamp(16px, 2.4vw, 24px);
        }

        .palata-eyebrow{
          display: inline-flex;
          align-items: center;
          gap: 10px;
          color: rgba(11, 96, 91, .90);
          font-weight: 600;
          letter-spacing: .02em;
          font-size: 13px;
        }

        .palata-eyebrowMark{
          width: 10px;
          height: 10px;
          border-radius: 999px;
          background: var(--checkup-page-primary);
          box-shadow: 0 2px 5px rgba(70, 193, 98, .25);
        }

        .palata-content h2{
          margin: 10px 0 8px;
          font-size: clamp(22px, 2.25vw, 30px);
          line-height: 1.15;
          letter-spacing: -0.02em;
        }

        .palata-lead{
          margin: 0 0 16px;
          color: rgba(11, 26, 26, .64);
          line-height: 1.55;
          font-size: 15px;
        }

        .palata-list{
          margin: 0;
          padding: 0;
          list-style: none;
          display: grid;
          gap: 10px;
        }

        .palata-list li{
          display: grid;
          grid-template-columns: 14px 1fr;
          gap: 10px;
          align-items: start;
          color: rgba(11, 26, 26, .88);
          line-height: 1.45;
          font-size: 14px;
        }

        .palata-list li::before{
          content:"";
          width: 8px;
          height: 8px;
          margin-top: 6px;
          border-radius: 999px;
          background: rgba(70, 193, 98, .95);
          box-shadow: 0 2px 5px rgba(70, 193, 98, .18);
        }

        .palata-ctaCard{
          margin-top: 18px;
          padding: 14px;
          border-radius: 12px;
          background: linear-gradient(180deg, rgba(11, 96, 91, .06), rgba(11, 96, 91, .03));
          box-shadow: 0 3px 5px rgba(12, 24, 24, .12);
          position: sticky;
          top: 14px;
        }

        @media (max-width: 980px){
          .palata-ctaCard{ position: static; }
        }

        .palata-priceRow{
          display: flex;
          align-items: baseline;
          justify-content: space-between;
          gap: 12px;
          flex-wrap: wrap;
        }

        .palata-price{
          font-size: 22px;
          letter-spacing: -0.02em;
          font-weight: 800;
          color: rgba(11, 26, 26, .92);
        }

        .palata-priceNote{
          font-size: 13px;
          color: rgba(11, 26, 26, .64);
        }

        .palata-btn{
          margin-top: 10px;
          width: 100%;
          display: block;
          padding: 13px 14px;
          border-radius: 12px;
          border: 0;
          cursor: pointer;
          font-weight: 700;
          font-size: 16px;
          color: rgba(255,255,255,.98);
          background: linear-gradient(180deg, #4ad06a, #46c162);
          box-shadow: 0 3px 5px rgba(70, 193, 98, .22);
          transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
          text-align: center;
        }

        .palata-btn:hover{
          transform: translateY(-1px);
          filter: saturate(1.02);
          box-shadow: 0 5px 5px rgba(70, 193, 98, .26);
        }

        .palata-btn:active{
          transform: translateY(0);
          box-shadow: 0 3px 5px rgba(70, 193, 98, .22);
        }

        .palata-btn:focus-visible{
          outline: none;
          box-shadow: 0 3px 5px rgba(70, 193, 98, .22), 0 0 0 3px rgba(70, 193, 98, .22);
        }


        .palata-fineprint{
          margin: 10px 0 0;
          font-size: 12px;
          line-height: 1.45;
          color: rgba(11, 26, 26, .58);
        }

        /* Simple fade between images */
        .palata-fade{
          animation: palataFadeIn .22s ease;
        }
        @keyframes palataFadeIn{
          from{ opacity: .22; transform: scale(1.01); }
          to{ opacity: 1; transform: scale(1.01); }
        }

        @media (prefers-reduced-motion: reduce){
          .palata-fade{ animation: none; }
          .palata-btn, .palata-thumb, .palata-nav button, .palata-thumbRow button.palata-scrollBtn{ transition: none; }
        }

        .palata-srOnly{
          position:absolute;
          width:1px;height:1px;
          padding:0;margin:-1px;
          overflow:hidden;
          clip:rect(0,0,0,0);
          white-space:nowrap;
          border:0;
        }

        /* ===== АДАПТИВНОСТЬ ===== */
        @media (max-width: 968px) {
            .checkup-page-benefits__grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 10px !important;
            }

            .checkup-page-section__who-needs--variant1,
            .checkup-page-section__who-needs--variant2 {
                padding: 30px 25px;
            }

            .checkup-page-section__pricing-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }

        @media (max-width: 640px) {
            .checkup-page-benefits {
                padding: 60px 20px;
            }

            .checkup-page-benefits__title {
                font-size: 32px;
            }

            .checkup-page-benefits__grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .checkup-page-benefits__item {
                padding: 24px 18px;
            }
            
            .checkup-page-benefits__icon {
                width: 55px;
                height: 55px;
                margin: 0 auto 15px;
            }
            
            .checkup-page-benefits__item-title {
                font-size: 17px;
            }

            .checkup-page-section {
                padding: 60px 20px;
            }

            .checkup-page-section__title {
                font-size: 32px;
            }

            .checkup-page-section__who-needs--variant1,
            .checkup-page-section__who-needs--variant2 {
                padding: 25px 20px;
                margin-bottom: 40px;
            }

            .checkup-page-section__who-needs--variant1 .checkup-page-section__subtitle,
            .checkup-page-section__who-needs--variant2 .checkup-page-section__subtitle {
                font-size: 20px;
            }

            .checkup-page-section__allows-title {
                font-size: 24px;
            }

            .checkup-page-section__pricing {
                padding: 30px 20px;
            }

            .checkup-page-section__pricing-grid {
                grid-template-columns: 1fr;
            }

            .checkup-page-section__pricing-card {
                min-height: 280px;
            }

            .checkup-page-section__pricing-content {
                padding: 20px;
            }

            .checkup-page-section__pricing-name {
                font-size: 18px;
                margin-bottom: 10px;
            }

            .checkup-page-section__pricing-price {
                font-size: 26px;
                margin-bottom: 12px;
            }

            .checkup-page-section__pricing-btn {
                padding: 10px 24px;
                font-size: 14px;
            }
        }


/* Inline style block #3 from checkup/index.php */
.checkup-page-benefits__icon img {
    width: 60%;           /* фиксируем размер */
    height: 60%;          /* фиксируем размер */
    display: block;
    object-fit: contain;   /* безопасно вписывает картинку */
    flex-shrink: 0;        /* не даём сжиматься в flex-контейнере */
}


/* Inline style block #4 from checkup/index.php */
.pricing-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.pricing-container2 {
    padding: 20px;
    border-radius: 12px;
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.buttons button {
    min-width: 200px;
    background: #46c162;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    color: white;
    font-size: 14px;
}

.buttons button:hover {
    background-color: #41b45b;
}

.buttons button.active {
    background-color: #1b6a65;
}

.content-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.content-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.content-container table th,
.content-container table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.content-container table th {
    background-color: #f7f7f7;
}

.content-container table td.discount {
    color: #45c261;
    font-weight: bold;
}

.summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.total-price {
    font-size: 18px;
    font-weight: bold;
}

.green-btn {
    background: #34c759;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.green-btn:hover {
    background-color: #28a745;
}

.banner-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    background: #f7f9f9;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.banner-image {
    width: 50%;
    max-width: 400px;
    border-radius: 8px;
}

.banner-text {
    width: 50%;
    align-self: flex-start;
    padding-top: 10px;
    color: #1b6a65;
}

.banner-text h2 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 17px;
    line-height: 1.5;
}

.h2-new {
    font-size: 21px;
    font-weight: 600;
}

.cosmetology-cta-button {
    background: #46c162;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(56, 193, 156, 0.3);
}

/* Адаптивные стили для мобильных устройств */
@media screen and (max-width: 768px) {

 .content-container table tbody tr td {
    box-sizing: border-box;
    min-width: 0;              /* разрешаем сжатие контента */
    word-break: break-word;    /* переносим длинные слова */
    overflow-wrap: anywhere;   /* и вообще переносим всё, что можно */
  }

  .content-container table tbody tr td:first-child {
    flex: 0 1 calc(60% - 6px); 
  }
  .content-container table tbody tr td:last-child {
    flex: 0 1 calc(40% - 6px);
  }

  .content-container table tbody tr {
    width: 100%;
  }



.buttons {
    grid-template-columns: repeat(2, 1fr);
	gap: 5px;
}

.pricing-container {
    max-width: 100%;
}

.buttons button {
    background: #46c162;
    padding: 10px;
    font-size: 13px;
    min-width: 100%;
}

    .banner-container {
        flex-direction: column;
        text-align: left;
    }

    .banner-image,
    .banner-text {
        width: 100%;
    }

    .content-container table thead {
        display: none;
    }

    .content-container table tbody tr {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        margin-bottom: 12px;
        border-bottom: 1px solid #ddd;
    }

    .content-container table tbody tr td {
        padding: 5px;
        font-size: 14px;
        text-align: left;
        border-bottom: none;
    }

    .content-container table tbody tr td:first-child {
        flex: 1 1 60%;
        font-weight: bold;
    }

    .content-container table tbody tr td:last-child {
        flex: 1 1 40%;
        text-align: right;
        white-space: nowrap;
    }

    /* Скрытие строк после 7 на мобильных */
    .content-container table tbody tr.hidden-row {
        display: none;
    }

    .content-container table tbody tr.visible {
        display: flex !important;
    }

    /* Кнопка раскрытия таблицы */
    .show-more-btn {
        background-color: #34c759;
        color: white;
        text-align: center;
        padding: 10px 0;
        border-radius: 8px;
        margin-top: 10px;
        cursor: pointer;
        user-select: none;
        font-weight: bold;
    }

    .show-more-btn:hover {
        background-color: #28a745;
    }

    .discount {
        color: #45c261;
    }
}

/* Утилитарные классы */
.hide-on-mobile {
    display: inline-block;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

.hide-on-desktop {
    display: inline-block;
}

@media (min-width: 769px) {
    .hide-on-desktop {
        display: none !important;
    }
}

@media (min-width: 769px) {
    #checkup-filters-anchor {
        position: relative;
        top: -240px;
        visibility: hidden;
    }
}

/* Extracted from inline styles in checkup/index.php */
.checkup-page-benefits__item-title--light {
    color: #fff;
}

.checkup-total-row {
    font-weight: bold;
    background-color: #f5f4f3;
}

.checkup-nowrap {
    white-space: nowrap;
}
