html {
    scroll-behavior: smooth;
}

/* =========================
   ÜRÜN DETAY
========================= */

.product-detail-section {
    padding: 90px 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f9f2 100%
        );

    scroll-margin-top: 90px;
}


/* ÜST BAŞLIK */

.detail-header {
    max-width: 900px;
    margin-bottom: 40px;
}

.detail-label {
    display: inline-block;

    color: #65a72d;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 14px;
}

.detail-header h2 {
    color: #073f28;

    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;

    line-height: 1.08;

    margin-bottom: 25px;
}

.detail-header h2 span {
    color: #65a72d;
}

.detail-header p {
    max-width: 850px;

    color: #56625c;

    font-size: 17px;
    line-height: 1.8;

    margin-bottom: 15px;
}


/* DETAY KUTULARI */

.detail-box {
    height: 100%;

    background: #ffffff;

    padding: 35px;

    border-radius: 22px;

    border: 1px solid #e1eadc;

    box-shadow:
        0 12px 35px rgba(13, 74, 45, 0.07);
}

.box-number {
    display: block;

    color: #72b638;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.detail-box h3 {
    color: #0a4a2d;

    font-size: 23px;
    font-weight: 800;

    margin-bottom: 16px;
}

.detail-box p {
    color: #5a655f;

    line-height: 1.75;
}


/* İÇERİK ETİKETLERİ */

.ingredients {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}

.ingredients span {
    padding: 8px 13px;

    background: #edf6e7;

    color: #39731d;

    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;
}


/* KULLANIM ALANLARI */

.usage-list {
    padding: 0;
    margin: 20px 0 0;

    list-style: none;
}

.usage-list li {
    position: relative;

    padding:
        10px 0
        10px 28px;

    color: #46534c;

    border-bottom:
        1px solid #edf0eb;
}

.usage-list li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: #67a72f;

    font-weight: 800;
}


/* =========================
   GARANTİ EDİLEN İÇERİK
========================= */

.composition-section {
    margin-top: 45px;

    padding: 38px;

    background: #ffffff;

    border-radius: 24px;

    border: 1px solid #e1eadc;

    box-shadow:
        0 12px 35px rgba(13, 74, 45, 0.06);
}

.section-title {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 25px;
}

.section-title > span {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b5b36;

    color: #ffffff;

    border-radius: 50%;

    font-weight: 800;
}

.section-title small {
    color: #72ad3c;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.section-title h3 {
    color: #0a4a2d;

    font-size: 26px;
    font-weight: 800;

    margin: 2px 0 0;
}


/* TABLO */

.composition-table {
    overflow: hidden;

    border:
        1px solid #dfe9da;

    border-radius: 16px;
}

.composition-row {
    display: grid;

    grid-template-columns:
        1fr 140px;

    padding: 14px 20px;

    border-bottom:
        1px solid #e6ece2;

    color: #46524c;
}

.composition-row:last-child {
    border-bottom: 0;
}

.composition-row:nth-child(even) {
    background: #f7faf5;
}

.composition-row strong {
    color: #0b5b36;

    text-align: right;
}

.composition-head {
    background: #0b5b36 !important;

    color: #ffffff;

    font-weight: 800;
}

.composition-head span:last-child {
    text-align: right;
}


/* =========================
   BİGEFOR FARKI
========================= */

.bigefor-difference {
    margin-top: 45px;

    padding: 45px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #073f28,
            #0d693b
        );

    color: #ffffff;
}

.bigefor-difference small {
    color: #b6e46f;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.bigefor-difference h3 {
    max-width: 750px;

    margin: 12px 0 18px;

    font-size: clamp(25px, 4vw, 38px);
    font-weight: 800;
}

.bigefor-difference h3 span {
    color: #b5e56b;
}

.bigefor-difference p {
    max-width: 850px;

    margin: 0;

    color: rgba(255,255,255,.82);

    line-height: 1.75;
}


/* SON SLOGAN */

.product-final {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px 25px;

    margin-top: 40px;

    color: #0a4a2d;

    font-size: clamp(18px, 3vw, 28px);
    font-weight: 800;

    text-align: center;
}

.product-final span:nth-child(2) {
    color: #65a72d;
}


/* MOBİL */

@media (max-width: 768px) {

    .product-detail-section {
        padding: 60px 0;
    }

    .detail-box,
    .composition-section,
    .bigefor-difference {
        padding: 25px;
    }

    .detail-header p {
        font-size: 16px;
    }

    .composition-row {
        grid-template-columns:
            1fr 80px;

        padding: 12px 14px;

        font-size: 13px;
    }
}
.floating-back-btn {
    position: fixed;
    left: 20px;
    bottom: 22px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    background: #0b5b36;
    color: #fff;

    border-radius: 50px;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);

    transition: all 0.25s ease;
}

.floating-back-btn:hover {
    background: #07452a;
    color: #fff;

    transform: translateY(-3px);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.back-arrow {
    font-size: 19px;
    line-height: 1;
}


/* TELEFONDA SADECE OK */
@media (max-width: 576px) {
    .floating-back-btn {
        position: fixed;
        left: 14px;
        bottom: 16px;

        width: 46px;
        height: 46px;

        padding: 0;
        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        line-height: 1;
    }

    .back-label {
        display: none;
    }

    .back-arrow {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        height: 100%;

        font-size: 20px;
        line-height: 1;

        transform: translateY(-1px);
    }
}
/* =========================
   UYGULAMA DOZU
========================= */

.dosage-section {
    margin-top: 45px;
    padding: 38px;

    background: #fff;

    border: 1px solid #e1eadc;
    border-radius: 24px;

    box-shadow:
        0 12px 35px rgba(13, 74, 45, 0.06);
}

.dosage-description {
    max-width: 850px;

    margin-bottom: 25px;

    color: #59655f;

    font-size: 15px;
    line-height: 1.7;
}


/* TABLO */

.dosage-table-wrapper {
    width: 100%;
    overflow-x: auto;

    border: 1px solid #dfe9da;
    border-radius: 16px;
}

.dosage-table {
    width: 100%;
    min-width: 850px;

    border-collapse: collapse;
}

.dosage-table th {
    padding: 16px;

    background: #0b5b36;
    color: #fff;

    font-size: 14px;
    font-weight: 700;

    text-align: left;
}

.dosage-table th small {
    color: rgba(255,255,255,.75);
    font-weight: 500;
}

.dosage-table td {
    padding: 15px 16px;

    color: #46524c;

    font-size: 14px;
    line-height: 1.5;

    border-bottom: 1px solid #e5ece1;
}

.dosage-table tbody tr:nth-child(even) {
    background: #f7faf5;
}

.dosage-table tbody tr:last-child td {
    border-bottom: none;
}

.dosage-table td:nth-child(2),
.dosage-table td:nth-child(3) {
    color: #0b5b36;

    font-weight: 700;
    white-space: nowrap;
}


/* NOT */

.dosage-note {
    margin-top: 18px;

    padding: 15px 18px;

    background: #f0f7eb;

    border-left: 4px solid #6aac32;
    border-radius: 8px;

    color: #526057;

    font-size: 14px;
    line-height: 1.6;
}

.dosage-note strong {
    color: #0b5b36;
}


/* MOBİL */

@media (max-width: 768px) {

    .dosage-section {
        padding: 24px;
    }

    .dosage-table-wrapper {
        /*
        Mobilde tablo yatay kaydırılabilir.
        */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

}

.whatsapp-support {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 60px;
    height: 60px;

    background: #25D366;
    border-radius: 50px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    color: white;
    text-decoration: none;

    overflow: hidden;
    z-index: 9999;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);

    transition:
        width 0.45s ease,
        box-shadow 0.3s ease;
}

/* Mouse üzerine gelince sola doğru açılır */
.whatsapp-support:hover {
    width: 210px;
    box-shadow: 0 7px 25px rgba(37, 211, 102, 0.45);
}

/* WhatsApp ikonunun bulunduğu alan */
.whatsapp-icon {
    min-width: 60px;
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;

    transition: transform 0.6s ease;
}

/* Hover olduğunda ikon döner */
.whatsapp-support:hover .whatsapp-icon {
    transform: rotate(360deg);
}

/* Yazı */
.support-text {
    white-space: nowrap;

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;

    opacity: 0;
    transform: translateX(20px);

    transition:
        opacity 0.3s ease 0.12s,
        transform 0.4s ease 0.08s;
}

/* Açıldığında yazıyı göster */
.whatsapp-support:hover .support-text {
    opacity: 1;
    transform: translateX(0);
}

/* Mobil cihazlarda */
@media (max-width: 768px) {
    .whatsapp-support {
        right: 15px;
        bottom: 15px;
    }
}

.facebook-support {
    position: fixed;

    /* WhatsApp'ın üstünde */
    right: 25px;
    bottom: 95px;

    width: 60px;
    height: 60px;

    background: #1877F2;
    border-radius: 50px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    color: white;
    text-decoration: none;

    overflow: hidden;
    z-index: 9999;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);

    transition:
        width 0.45s ease,
        box-shadow 0.3s ease;
}

/* Mouse gelince sola doğru aç */
.facebook-support:hover {
    width: 245px;

    box-shadow:
        0 7px 25px rgba(24, 119, 242, 0.45);
}

/* Facebook logo alanı */
.facebook-icon {
    min-width: 60px;
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;

    transition: transform 0.6s ease;
}

/* Logo dönme animasyonu */
.facebook-support:hover .facebook-icon {
    transform: rotate(360deg);
}

/* Yazı */
.facebook-text {
    white-space: nowrap;

    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;

    opacity: 0;
    transform: translateX(20px);

    transition:
        opacity 0.3s ease 0.12s,
        transform 0.4s ease 0.08s;
}

/* Mouse gelince yazıyı göster */
.facebook-support:hover .facebook-text {
    opacity: 1;
    transform: translateX(0);
}

/* Mobil */
@media (max-width: 768px) {
    .facebook-support {
        right: 15px;
        bottom: 85px;
    }
}