/* ===== INSTRUCTION PAGE STYLES ===== */

/* Breadcrumbs */
.container-fixed-v6 {
    background: #f5f5f5;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #666;
}
.container-fixed-v6 a {
    color: #2e7d32;
    text-decoration: none;
}
.container-fixed-v6 a:hover {
    text-decoration: underline;
}

/* Hero */
.base-row__bottom {
    background: linear-gradient(180deg, #f4f8f5 0%, #edf5ec 100%);
    padding: 3rem 0 2rem;
    text-align: center;
    text-align: left;
}
.card-top-holder {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.85fr);
    gap: 28px;
    align-items: center;
}
.item-area-view {
    min-width: 0;
    text-align: left;
}
.inner-right-v4 {
    min-height: 220px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}
.instr-hero__product-img {
    width: min(210px, 100%);
    max-width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.2));
}
.main-block__fixed {
    width: min(210px, 100%);
    max-width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.18));
}
.custom-view {
    margin: 0 0 16px;
    color: #163740;
    font-size: clamp(28px, calc(4vw - 4px), 44px);
    line-height: 1.08;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}
.block-fluid-v1 {
    font-size: 18px;
    color: #36545c;
    max-width: 760px;
    margin: 0;
    line-height: 1.65;
}

/* Sections */
.header-area-v3 {
    padding: 60px 0;
}
.main-header__area {
    background: #f8faf8;
}
.wrapper-left-item {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1a3a2a;
}
.flex-header__bottom {
    text-align: center;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* General Info Card */
.app-holder__bottom {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-width: 800px;
    margin: 0 auto;
}
.grid-wrapper {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.custom-wrapper {
    font-size: 1.6rem;
}
.main-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

/* General Info Table */
.custom-block {
    width: 100%;
    border-collapse: collapse;
}
.custom-block td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #333;
}
.custom-block tr:last-child td {
    border-bottom: none;
}
.custom-block td:first-child {
    width: 40%;
    color: #555;
}

/* Composition Grid */
.inner-area-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.instr-comp-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px 24px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.instr-comp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.content-left-v7 {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
.box-area-view {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a3a2a;
    margin-bottom: 10px;
}
.block-right-v6 {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}
.instr-comp-controls {
    margin-top: 22px;
    text-align: center;
}
.instr-comp-controls .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
}
.instr-comp-controls .base-view__body {
    background: linear-gradient(135deg, #2e7d32, #3fa34d);
    color: #fff;
    border: 1px solid #2e7d32;
    box-shadow: 0 8px 18px rgba(46, 125, 50, 0.25);
}
.instr-comp-controls .base-view__body:hover {
    background: linear-gradient(135deg, #256b2d, #369140);
}
.instr-comp-controls .base-view__body,
.instr-comp-controls .ui-container__top {
    margin: 0 6px;
}
.instr-comp-controls .ui-container__top {
    background: #f5f7f5;
    color: #214f2d;
    border: 1px solid #c5ddc8;
    box-shadow: 0 8px 18px rgba(33, 79, 45, 0.15);
}
.instr-comp-controls .ui-container__top:hover {
    background: #e8f3ea;
    color: #173a24;
    border-color: #a4c5a9;
}

.instr-comp-controls .base-view__body:focus-visible,
.instr-comp-controls .btn:focus-visible {
    outline: 2px solid #145a1f;
    outline-offset: 3px;
}

/* Indications Grid */
.card-active-item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.app-container__body {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    text-align: center;
    border-left: 4px solid #2e7d32;
}
.wrapper-center-v6 {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}
.app-container__body p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

/* Dosage Steps */
.base-inner__body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.row-left-v4 {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    text-align: center;
}
.site-card__area {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 14px;
}
.row-left-v4 h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a3a2a;
    margin-bottom: 8px;
}
.row-left-v4 p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.5;
}

/* Dosage Table */
.core-card__left {
    max-width: 600px;
    margin: 0 auto;
}
.inner-bottom-v9 {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
}
.inner-bottom-v9 thead th {
    background: #2e7d32;
    color: #fff;
    padding: 14px 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}
.inner-bottom-v9 tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #333;
}
.inner-bottom-v9 tbody tr:last-child td {
    border-bottom: none;
}

/* Contraindications */
.wrapper-center-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}
.grid-inner__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
.view-center-content {
    background: #fff;
    border-radius: 14px;
    padding: 30px 24px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    text-align: center;
    border-top: 4px solid #e65100;
}
.card-area-holder {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}
.view-center-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.view-center-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.base-block__top {
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    padding: 20px 24px;
    border-radius: 8px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Storage */
.panel-active-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.page-header__right {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    text-align: center;
}
.view-right-v9 {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}
.page-header__right h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a3a2a;
    margin-bottom: 8px;
}
.page-header__right p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.5;
}

/* Advantages */
.app-inner__fluid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.item-left-v4 {
    flex: 0 1 280px;
    max-width: 340px;
    width: 100%;
    background: #f0f7f0;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    border: 2px solid #c8e6c9;
}
.wrapper-fixed-v3 {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
    color: #2e7d32;
}
.item-left-v4 p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}

/* CTA */
.instr-cta {
    background: linear-gradient(135deg, #1a3a2a 0%, #2e7d32 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.instr-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.instr-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}
.instr-cta__btn {
    display: inline-block;
    background: #ff6d00;
    color: #fff;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}
.instr-cta__btn:hover {
    background: #e65100;
    transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .inner-area-container,
    .card-active-item,
    .wrapper-center-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .base-inner__body,
    .panel-active-card,
    .app-inner__fluid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-top-holder {
        grid-template-columns: 1fr;
    }

    .inner-right-v4 {
        order: -1;
        min-height: 180px;
    }

    .main-block__fixed,
    .instr-hero__product-img {
        width: min(240px, 72%);
    }

    .custom-view {
        font-size: clamp(32px, 4vw, 48px);
        line-height: 1.08;
    }
    .block-fluid-v1 {
        font-size: 18px;
        line-height: 1.65;
    }
    .header-area-v3 {
        padding: 40px 0;
    }
    .wrapper-left-item {
        font-size: 1.4rem;
    }
    .app-holder__bottom {
        padding: 24px;
    }
    .inner-area-container,
    .card-active-item,
    .wrapper-center-row,
    .grid-inner__body,
    .base-inner__body,
    .panel-active-card,
    .app-inner__fluid {
        grid-template-columns: 1fr;
    }
    .instr-cta h2 {
        font-size: 1.5rem;
    }
    .custom-block td:first-child {
        width: auto;
    }
}

/* ===== TRUST PAGE OVERRIDES ===== */
.container-fixed-v6 {
    background: transparent;
    border-bottom: 1px solid rgba(31, 90, 75, 0.08);
    color: var(--text-muted);
}

.base-row__bottom {
    position: static;
    overflow: visible;
    background: linear-gradient(180deg, #f4f8f5 0%, #edf5ec 100%);
    border-radius: 0;
    box-shadow: none;
    padding: 3rem 0 2rem;
}

.base-row__bottom::before {
    content: none;
}

.base-row__bottom .container {
    position: static;
}

.header-area-v3,
.main-header__area {
    background: transparent;
}

.wrapper-left-item {
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.flex-header__bottom,
.main-content,
.block-right-v6,
.app-container__body p,
.row-left-v4 p,
.page-header__right p,
.item-left-v4 p,
.base-block__top {
    color: var(--text-muted);
}

.app-holder__bottom,
.instr-comp-card,
.app-container__body,
.row-left-v4,
.page-header__right,
.item-left-v4,
.view-center-content {
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.app-holder__bottom {
    border-top: 4px solid rgba(31, 90, 75, 0.18);
}

.grid-wrapper,
.box-area-view,
.row-left-v4 h3,
.page-header__right h3 {
    color: var(--text-main);
}

.instr-comp-card:hover {
    box-shadow: var(--shadow-md);
}

.content-left-v7,
.site-card__area {
    background: linear-gradient(135deg, #234b60 0%, var(--brand) 100%);
    box-shadow: 0 14px 28px rgba(35, 75, 96, 0.18);
}

.app-container__body {
    border-left: none;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
}

.base-block__top {
    background: #fffaf4;
    border: 1px solid rgba(196, 145, 66, 0.24);
    border-left-width: 1px;
    border-radius: 20px;
}

.item-left-v4 {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--line);
}

.instr-cta {
    background: transparent;
}

.instr-cta .container {
    background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 72%, #2d7967 100%);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    padding: 3rem 2rem;
}

.instr-cta__btn {
    background: linear-gradient(135deg, #234b60 0%, var(--brand) 100%);
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(31, 90, 75, 0.22);
}

.instr-cta__btn:hover {
    background: linear-gradient(135deg, #102d36 0%, #19483b 100%);
}

@media (max-width: 768px) {
    .base-row__bottom {
        padding: 54px 0;
    }

    .card-top-holder {
        grid-template-columns: 1fr;
    }

    .item-area-view {
        text-align: center;
    }

    .instr-cta .container {
        border-radius: 24px;
        padding: 2.3rem 1.2rem;
    }
}
