.bottles__container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.bottle__item {
    --bottle-active-color: #0038BC;
    --bottle-active-shadow-color: rgba(0, 56, 188, 0.25);
    --bottle-active-bg-color: rgba(0, 56, 188, 0.10);
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    width: 100%;
    max-width: 240px;
    border-radius: 8px;
    border: 2px solid transparent;
    background-color: #FFF;
    cursor: pointer;
    transition: 0.3s ease;
}

.bottle__item:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 5px #dad9d7;
}

.bottle__item:nth-child(2) {
    --bottle-active-color: #00BC7D;
    --bottle-active-shadow-color: rgba(0, 188, 125, 0.25);
    --bottle-active-bg-color: rgba(0, 188, 125, 0.10);
}

.bottle__item.active {
    background-color: var(--bottle-active-bg-color);
    border-color: var(--bottle-active-color);
    transform: scale(1.03);
    box-shadow: 0 2px 5px var(--bottle-active-shadow-color);
}

.bottle__images-container {
    display: flex;
    flex-direction: row;
}

.bottle__image {
    margin-left: -20px;
    width: 64px;
}

.bottle__image:first-child {
    margin-left: 0;
}

.bottle__radio-button {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #D1D5DC;
    transition: 0.3s ease;
}

.bottle__item.active .bottle__radio-button {
    background-color: var(--bottle-active-color);
}

.bottle__radio-button::after {
    content: "";
    position: absolute;
    display: flex;
    width: 90%;
    height: 90%;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    transition: 0.3s ease;

}

.bottle__item.active .bottle__radio-button::after {
    width: 40%;
    height: 40%;
    background-color: #FFF;
}

.bottle__price {
    /* width: 80%; */
    text-align: center;
    padding-inline: 10px;
    background-color: #155DFC;
    border-radius: 2px;
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px; /* 133.333% */
    letter-spacing: -0.48px;
}

.bottle__discount {
    padding: 4px 10px;
    border-radius: 25px;
    background: #FFF;
    color: #008236;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.15px;
}

.bottle__best {
    position: absolute;
    top: -10px;
    left: 50%;
    white-space: nowrap;
    transform: translateX(-50%);
    padding: 5px 10px;
    border-radius: 25px;
    background: linear-gradient(90deg, #00C950 0%, #00A63E 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 142.857% */
}

.bottle__item > p:last-of-type {
    color: #64666E;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    letter-spacing: -1px;
}

.bottle__price.red {
    background-color: #F46629;
}


#reg .section__form {
    border-radius: 8px;
    border: 2px solid #A7BAE4;
    background: linear-gradient(135deg, #ECF0FD 0%, #F0FAFD 100%);
    height: 100%;
}

#reg .section__image {
    max-height: 450px;
    width: auto;

}

/*APP*/

#app .bottles__container--app {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    box-sizing: border-box;
}

#app .bottles__container--app .bottle__item {
    display: grid;
    justify-items: center;
    row-gap: 18px;
    width: 100%;

    max-width: 588px;
    box-sizing: border-box;
    cursor: default;
    text-align: center;
    border-color: var(--bottle-active-color);
    background-color: var(--bottle-active-bg-color);
    transform: none;
    box-shadow: 0 2px 5px var(--bottle-active-shadow-color);
}

#app .bottles__container--app .bottle__item:hover {
    transform: none;
    box-shadow: 0 2px 5px var(--bottle-active-shadow-color);
}

#app .bottles__container--app .bottle__item > .price__values-container,
#app .bottles__container--app .bottle__item > .app-pricing__pair,
#app .bottles__container--app .bottle__item > .bottle__row-compact {
    /* width: 100%; */
    /* justify-self: stretch; */
}

#app .bottles__container--app .bottle__images-container--solo,
#app .bottles__container--app .bottle__images-container--quad {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0;
    line-height: 0;
}

#app .bottles__container--app .bottle__images-container--solo .bottle__image,
#app .bottles__container--app .bottle__images-container--quad .bottle__image {
    height: 132px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    vertical-align: bottom;
    display: inline-block;
    font-size: initial;
    line-height: normal;
}

#app .bottles__container--app .bottle__images-container--solo .bottle__image {
    margin-left: 0;
}

#app .bottles__container--app .bottle__images-container--quad .bottle__image {
    margin-left: -20px;
}

#app .bottles__container--app .bottle__images-container--quad .bottle__image:first-child {
    margin-left: 0;
}

#app .bottles__container--app .bottle__image--accent {
    filter: sepia(0.35) saturate(1.4) hue-rotate(300deg) brightness(1.05);
}

#app .bottles__container--app .price__values-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#app .bottles__container--app .price__values-container > div {
    display: grid;
    place-items: center;
    box-sizing: border-box;
}

#app .bottles__container--app .price__values-container > div > div {
    display: grid;
    place-items: center;
    text-align: center;
}

#app .bottles__container--app .bottle__strike {
    text-decoration: line-through;
    color: #7c7b79;
    font-family: Inter Tight, sans-serif;
}

#app .bottles__container--app .bottle__row-compact {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-wrap: wrap;
}

#app .bottles__container--app .bottle__bundle-plus {
    display: flex;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px; /* 136.364% */
    color: #28261B;
}

#app .bottles__container--app .bottle__price--wide {
    /* width: 100%; */
    /* max-width: 100%; */
    justify-self: stretch;
    white-space: normal;
    line-height: 1.25;
    /* padding-block: 6px; */
    height: auto;
    min-height: 32px;
    white-space: nowrap;
}

#app .bottles__container--app .bottle__price--deal {
    width: auto;
    justify-self: center;
    background-color: #ea580c;
    /* border-radius: 6px; */
}

@media screen and (max-width: 768px) {
    #app .bottles__container--app {
        grid-template-columns: 1fr;
    }
}


/* --- Sekcja cenowa Slimoxil (#app) — panel jak na makiecie --- */

.app-pricing-section {
    background: #ebe4f7;
    position: relative;
}

.app-pricing-section > .sections__container-bg {
    display: none;
}

#app .section__container {
    padding-block: clamp(2rem, 5vw, 3.5rem);
}

.app-pricing__card {
    /* margin-inline: auto;  */
    /* border-radius: 20px;   */
}

.app-pricing__header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.app-pricing__header > * {
    max-width: calc(50% - 24px);
}

.app-pricing__title {
    margin: 0;
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1e3a8a;
}

.app-pricing__lead {
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px; /* 136.364% */
}

.app-pricing__promo-title {
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 144.444% */
    letter-spacing: -0.36px;
}

#app .bottles__container--app .bottle__item--promo-m {
    background: #fff;
    border: 2px solid #155dfc;
    box-shadow: 0 8px 28px rgba(21, 93, 252, 0.1);
}

#app .bottles__container--app .bottle__item--promo-l {
    background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
    border: 2px solid #00bc7d;
    box-shadow: 0 8px 28px rgba(0, 188, 125, 0.12);
}

/* Para cen Promocja M — bez klas z bundle.css (tam były czerwony „pill” i kolizje stylów) */
#app .app-pricing__pair {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
}

#app .app-pricing__was,
#app .app-pricing__now {
    flex: 1 1 0;
    max-width: 155px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#app .app-pricing__was-label {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    border-radius: 2px 0 0 2px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #6b7280;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px; /* 133.333% */
    letter-spacing: -0.48px;
    text-decoration-line: line-through;
    text-align: center;
    text-decoration: line-through;
    font-family: inherit;
}

#app .app-pricing__now-label {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 10px;
    border-radius: 0 2px 2px 0;
    background: #155dfc;
    color: #fff;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px; /* 133.333% */
    letter-spacing: -0.48px;
    text-align: center;
}

#app .app-pricing__footer-note {
    color: #64666E;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 111.111% */
    letter-spacing: -1px;
}

.app__warning-text {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 0;
    border-width: 2px;
    border-style: dashed;
    border-color: #ea580c;
    background: #fff7ed;
    color: #c2410c;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    line-height: 1.45;
    padding: 12px;
}

#app .app__warning-text {
    padding: 14px 16px;
}

.app-pricing__cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
}

#app .app-pricing__cta.big-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px clamp(1.5rem, 5vw, 2.75rem);
    border-radius: 999px;
    background: linear-gradient(180deg, #fdecc8 0%, #eebd62 100%);
    color: #111827;
    font-weight: 800;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    letter-spacing: 0.02em;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#app .app-pricing__cta.big-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(234, 88, 12, 0.22);
}

.app-pricing__cta-icon {
    flex-shrink: 0;
}

#price .section__top-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#price .section__top-container > * {
    max-width: calc(50% - 24px);

}

@media screen and (max-width: 1200px) {
    .app-pricing__header > *,
    #price .section__top-container > * {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .app-pricing__header {
        grid-template-columns: 1fr;
    }

    .app-pricing__lead {
        align-self: start;
    }
}