/* ===== INSTRUCTION PAGE STYLES ===== */

/* Breadcrumbs */
.instr-breadcrumbs {
    background: #f5f5f5;
    padding: 12px 0;
    font-size: 0.9rem;
    color: #666;
}
.instr-breadcrumbs a {
    color: #2e7d32;
    text-decoration: none;
}
.instr-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Hero */
.instr-hero {
    background: linear-gradient(180deg, #f4f8f5 0%, #edf5ec 100%);
    padding: 3rem 0 2rem;
    text-align: center;
    text-align: left;
}
.instr-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.85fr);
    gap: 28px;
    align-items: center;
}
.instr-hero__content {
    min-width: 0;
    text-align: left;
}
.instr-hero__media {
    min-height: 220px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}
.instr-hero__product-img {
    width: min(280px, 100%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.2));
}
.instr-hero__product {
    width: min(280px, 100%);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.18));
}
.instr-hero__title {
    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;
}
.instr-hero__subtitle {
    font-size: 18px;
    color: #36545c;
    max-width: 760px;
    margin: 0;
    line-height: 1.65;
}

/* Sections */
.instr-section {
    padding: 60px 0;
}
.instr-section--alt {
    background: #f8faf8;
}
.instr-section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1a3a2a;
}
.instr-section__desc {
    text-align: center;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* General Info Card */
.instr-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-width: 800px;
    margin: 0 auto;
}
.instr-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.instr-card__icon {
    font-size: 1.6rem;
}
.instr-card__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

/* General Info Table */
.instr-table {
    width: 100%;
    border-collapse: collapse;
}
.instr-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: #333;
}
.instr-table tr:last-child td {
    border-bottom: none;
}
.instr-table td:first-child {
    width: 40%;
    color: #555;
}

/* Composition Grid */
.instr-comp-grid {
    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);
}
.instr-comp-card__num {
    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;
}
.instr-comp-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a3a2a;
    margin-bottom: 10px;
}
.instr-comp-card__text {
    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 .instr-comp-show-btn {
    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 .instr-comp-show-btn:hover {
    background: linear-gradient(135deg, #256b2d, #369140);
}
.instr-comp-controls .instr-comp-show-btn,
.instr-comp-controls .instr-comp-hide-btn {
    margin: 0 6px;
}
.instr-comp-controls .instr-comp-hide-btn {
    background: #f5f7f5;
    color: #214f2d;
    border: 1px solid #c5ddc8;
    box-shadow: 0 8px 18px rgba(33, 79, 45, 0.15);
}
.instr-comp-controls .instr-comp-hide-btn:hover {
    background: #e8f3ea;
    color: #173a24;
    border-color: #a4c5a9;
}

.instr-comp-controls .instr-comp-show-btn:focus-visible,
.instr-comp-controls .btn:focus-visible {
    outline: 2px solid #145a1f;
    outline-offset: 3px;
}

/* Indications Grid */
.instr-indications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.instr-indication {
    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;
}
.instr-indication__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}
.instr-indication p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

/* Dosage Steps */
.instr-dosage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.instr-dosage-step {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    text-align: center;
}
.instr-dosage-step__num {
    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;
}
.instr-dosage-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a3a2a;
    margin-bottom: 8px;
}
.instr-dosage-step p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.5;
}

/* Dosage Table */
.instr-dosage-table-wrap {
    max-width: 600px;
    margin: 0 auto;
}
.instr-dosage-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
}
.instr-dosage-table thead th {
    background: #2e7d32;
    color: #fff;
    padding: 14px 20px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}
.instr-dosage-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #333;
}
.instr-dosage-table tbody tr:last-child td {
    border-bottom: none;
}

/* Contraindications */
.instr-contra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}
.instr-contra-card {
    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;
}
.instr-contra-card__icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}
.instr-contra-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.instr-contra-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.instr-important-note {
    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 */
.instr-storage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.instr-storage-item {
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    text-align: center;
}
.instr-storage-item__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}
.instr-storage-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a3a2a;
    margin-bottom: 8px;
}
.instr-storage-item p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.5;
}

/* Advantages */
.instr-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.instr-advantage {
    background: #f0f7f0;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    border: 2px solid #c8e6c9;
}
.instr-advantage__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
    color: #2e7d32;
}
.instr-advantage 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) {
    .instr-comp-grid,
    .instr-indications-grid,
    .instr-contra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .instr-dosage-grid,
    .instr-storage-grid,
    .instr-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .instr-hero__inner {
        grid-template-columns: 1fr;
    }

    .instr-hero__media {
        order: -1;
        min-height: 180px;
    }

    .instr-hero__product,
    .instr-hero__product-img {
        width: min(240px, 72%);
    }

    .instr-hero__title {
        font-size: clamp(32px, 4vw, 48px);
        line-height: 1.08;
    }
    .instr-hero__subtitle {
        font-size: 18px;
        line-height: 1.65;
    }
    .instr-section {
        padding: 40px 0;
    }
    .instr-section__title {
        font-size: 1.4rem;
    }
    .instr-card {
        padding: 24px;
    }
    .instr-comp-grid,
    .instr-indications-grid,
    .instr-contra-grid,
    .instr-dosage-grid,
    .instr-storage-grid,
    .instr-advantages-grid {
        grid-template-columns: 1fr;
    }
    .instr-cta h2 {
        font-size: 1.5rem;
    }
    .instr-table td:first-child {
        width: auto;
    }
}

/* ===== TRUST PAGE OVERRIDES ===== */
.instr-breadcrumbs {
    background: transparent;
    border-bottom: 1px solid rgba(31, 90, 75, 0.08);
    color: var(--text-muted);
}

.instr-hero {
    position: static;
    overflow: visible;
    background: linear-gradient(180deg, #f4f8f5 0%, #edf5ec 100%);
    border-radius: 0;
    box-shadow: none;
    padding: 3rem 0 2rem;
}

.instr-hero::before {
    content: none;
}

.instr-hero .container {
    position: static;
}

.instr-section,
.instr-section--alt {
    background: transparent;
}

.instr-section__title {
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.instr-section__desc,
.instr-card__text,
.instr-comp-card__text,
.instr-indication p,
.instr-dosage-step p,
.instr-storage-item p,
.instr-advantage p,
.instr-important-note {
    color: var(--text-muted);
}

.instr-card,
.instr-comp-card,
.instr-indication,
.instr-dosage-step,
.instr-storage-item,
.instr-advantage,
.instr-contra-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.instr-card {
    border-top: 4px solid rgba(31, 90, 75, 0.18);
}

.instr-card__title,
.instr-comp-card__title,
.instr-dosage-step h3,
.instr-storage-item h3 {
    color: var(--text-main);
}

.instr-comp-card:hover {
    box-shadow: var(--shadow-md);
}

.instr-comp-card__num,
.instr-dosage-step__num {
    background: linear-gradient(135deg, #234b60 0%, var(--brand) 100%);
    box-shadow: 0 14px 28px rgba(35, 75, 96, 0.18);
}

.instr-indication {
    border-left: none;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
}

.instr-important-note {
    background: #fffaf4;
    border: 1px solid rgba(196, 145, 66, 0.24);
    border-left-width: 1px;
    border-radius: 20px;
}

.instr-advantage {
    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) {
    .instr-hero {
        padding: 54px 0;
    }

    .instr-hero__inner {
        grid-template-columns: 1fr;
    }

    .instr-hero__content {
        text-align: center;
    }

    .instr-cta .container {
        border-radius: 24px;
        padding: 2.3rem 1.2rem;
    }
}
