/* ====================== global ====================== */
.mr-8-4 {
    margin-right: 8px;
}
/* #main.main {
    padding-top: 140px !important;
} */
@media screen and (max-width: 767px) {
    #main.main {
        padding-top: 28px !important;
    }
    main.main:before {
        content: "";
        background: linear-gradient(180deg, rgb(59 59 59 / 42%) 0%, rgba(53, 159, 214, 0) 100%);
        top: 0;
        position: absolute;
        width: 100%;
        height: 100px;
    }
}
/* ====================== end global ====================== */

/* ====================== breadcrumb ====================== */
.breadcrumb-container {
    background: #FAFAFA;
    box-shadow: 0px 6px 7.4px 0px rgba(0, 0, 0, 0.03) inset;
    padding-top: 16px;
    padding-bottom: 16px;
}
.breadcrumb-container a,
.breadcrumb-container span {
    font-size: 13px;
    font-weight: 600;
    color: #666666;
}
.breadcrumb-container span {
    color: #00A94F;
}
/* ====================== end breadcrumb ====================== */

/* ====================== sc-intro ====================== */
/* .sc-intro {
    background: radial-gradient(135.66% 135.66% at 61.7% 73.95%, #FFFFFF 0%, #E5F0E2 100%);
} */
.sc-intro .sc-inner {
    padding-top: 0;
    padding-bottom: 64px !important;
    margin-top: -10px;
    z-index: 2;
}
.sc-intro .wrapper-img-slide {
    border-top: 1px solid #EEEEEE;
    padding-top: 32px;
    margin-top: 32px;
}
.sc-intro .wrapper-img-slide p.text-green {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}
.sc-intro h1 {
    color: #111111;
    font-size: 33px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}
.sc-intro h3 {
    color: #333333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 30px;
}
.sc-intro p.detail-intro {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #333333;
    text-align: center;
}
.sc-intro p.detail-intro:not(:last-of-type) {
    margin-bottom: 16px;
}
.sc-intro p.detail-intro:last-of-type {
    margin-bottom: 0;
}
/* ====================== end sc-intro ====================== */

/* ====================== sc-practices ====================== */
.sc-practices {
    background: radial-gradient(135.66% 135.66% at 61.7% 73.95%, #FFFFFF 0%, #E5F0E2 100%);
}
.sc-practices .sc-content {
    display: flex;
}
.sc-practices .sc-content img {
    margin: 0 auto;
}
.sc-practices li::marker {
    font-size: 12px;
}
.sc-practices h3 {
    color: #111111;
    font-size: 33px;
    font-weight: 600;
    line-height: 50px;
    margin-bottom: 8px;
    text-align: center;
}
.sc-practices p.text-desc {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
    color: #333333;
}
.sc-practices .header-detail-practices {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 8px;
}
.sc-practices .header-detail-practices:not(:first-of-type) {
    margin-top: 16px;
}
.sc-practices ul, .sc-practices li {
    list-style: disc !important;
}
.sc-practices ul {
    padding-left: 22px !important;
}
.sc-practices ul,
.sc-practices ul li {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #666666;
}
.sc-practices p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #666666;
    margin-bottom: 0;
}
/* ====================== end sc-practices ====================== */

/* ====================== sc-sc-sustainability-reward ====================== */
.sc-sustainability-reward {
    background: #F4F4F4;
}

.sc-sustainability-reward-header {
    font-size: 33px !important;
    font-weight: 600 !important;
    line-height: 50px !important;
    color: #111111 !important;
    margin-bottom: 32px !important;
    text-align: center;
}
.sc-sustainability-reward .box-content {
    background: #FFFFFF;
    border-bottom: 4px solid #00A94F;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;  
}
.sc-sustainability-reward .box-content h3 {
    margin-bottom: 16px;
    color: #333333;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}
.sc-sustainability-reward .box-content p {
    margin-bottom: 8px;
    color: #333333;
    font-size: 16px;
    line-height: 150%;
    font-weight: 500;
}
.sc-sustainability-reward .box-content p:last-of-type {
    margin-bottom: 0;
}
.sc-sustainability-reward .box-content a {
    margin: 0 auto;
    margin-top: 32px;
    background: #00A94F;
    padding: 8px 22px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    min-width: 220px;
    border-radius: 8px;
    min-height: 40px;
    text-align: center;
    transition: 0.3s ease-in-out;
}
.sc-sustainability-reward .box-content a:hover {
    background-color: #028f44;
}
.sc-sustainability-reward .wrapper-items {
    min-height: calc(868px - 32px);
}
.sc-award-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #EEEEEE;
}
.sc-award-item:first-child {
    padding-top: 0;
}
/* .sc-award-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
} */

.sc-award-item__img {
    flex-shrink: 0;
    width: 140px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EEEEEE;
    border-radius: 18px;
    overflow: hidden;
}
.sc-award-item__img img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.sc-award-item__content {
    flex: 1;
    min-width: 0;
}
.sc-award-item__content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #00A94F;
    margin-bottom: 8px;
    line-height: 150%;
}
/* override box-content p สำหรับ item content */
.sc-award-item__content p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 4px;
}
.sc-award-item__content .sc-award-note {
    font-size: 10px !important;
    color: #666666 !important;
    /* margin-top: 4px; */
}
.sc-award-item__content ul,
.sc-award-item__content ul li {
    list-style: disc !important;
}
.sc-award-item__content ul {
    margin: 8px 0 0 20px;
    margin-left: 24px;
    margin-top: 0;
    padding: 0;
}
.sc-award-item__content ul li {
    font-size: 16px;
    color: #333333;
    line-height: 150%;
}
.sc-award-item__content ul li::marker {
    font-size: 10px;
}
.sc-sustainability-reward .box-content p:has(+ ul) {
    margin-bottom: 0;
}

/* ===== Pagination ===== */
.sc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 4px; */
    margin-top: 24px;
    flex-wrap: wrap;
}
.sc-pagination__btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50% !important;
    background: transparent;
    color: #333333 !important;
    font-size: 13px !important;
    /* font-family: 'Sarabun', sans-serif; */
    font-weight: 600 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.sc-pagination__btn--arrow::after {
  font-family: "iconavigation";
  content: "\e900";
  font-size: 12px;
  font-weight: 600;
  color: #333333;
}
/* ปุ่มย้อนกลับ หมุน 180 องศา */
.sc-pagination__btn--prev::after {
  transform: rotate(180deg);
}
.sc-pagination__btn:hover {
    background: #e8e8e8;
}
.sc-pagination__btn.is-active {
    background: #00A94F;
    color: #FFFFFF !important;
}
.sc-pagination__btn.is-active:hover {
    background: #028f44;
}
.sc-pagination__btn--arrow {
    font-size: 20px;
    color: #00A94F;
    font-weight: 700;
}
.sc-pagination__btn--arrow:disabled {
    display: none;
    color: #cccccc;
    cursor: default;
}
.sc-pagination__btn--arrow:disabled:hover {
    background: transparent;
}
.sc-pagination__dots {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    user-select: none;
}

/* ===== Skeleton Loading ===== */
@keyframes sc-skeleton-pulse {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.sc-skeleton-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #E8E8E8;
}
.sc-skeleton-item:first-child {
    padding-top: 0;
}
.sc-skeleton-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sc-skeleton-bone {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: sc-skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 4px;
}
.sc-skeleton-img {
    flex-shrink: 0;
    width: 130px;
    height: 100px;
    border-radius: 6px;
}
.sc-skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}
.sc-skeleton-title {
    height: 20px;
    width: 60%;
}
.sc-skeleton-text {
    height: 14px;
    width: 100%;
}
.sc-skeleton-text--short {
    width: 75%;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .sc-sustainability-reward-header {
    font-size: 24px !important;
    line-height: 36px !important;
    }
    .sc-sustainability-reward .box-content {
    padding: 24px 16px;
    }
    .sc-award-item,
    .sc-skeleton-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .sc-award-item__img img {
        max-height: 80px;
    }
    .sc-skeleton-img {
        width: 100%;
        max-width: 140px;
        height: 80px;
    }
    .sc-award-item__img {
        width: 100%;
        max-width: 80px;
        min-height: 78px;
    }
    .sc-award-item__content h4 {
        font-size: 16px;
    }
    .sc-award-item__content p,
    .sc-award-item__content ul li {
    font-size: 14px;
    }

}
/* ====================== end sc-sc-sustainability-reward ====================== */

/* ====================== responsive ====================== */
@media screen and (min-width: 768px) {
    .sc-result .sc-content {
    display: flex;
    justify-content: center;
    }
}
@media screen and (max-width: 767px) {
    .sc-intro {
        overflow: hidden;
    }
    .breadcrumb-container {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .sc-intro .sc-inner {
        margin-top: 0;
        padding-bottom: 48px !important;
    }
    .sc-intro h1 {
        font-size: 24px;
        line-height: 150%;
        margin-bottom: 16px;
    }
    .sc-practices h3 {
        font-size: 24px;
        line-height: 150%;
    }
    .sc-result .sc-header h3 {
        font-size: 18px;
        line-height: 150%;
    }
    .sc-intro h3 {
        margin-bottom: 8px;
    }
    .icw .text-scroll {
        margin-bottom: 16px;
    }
    .sc-sc-sustainability-reward .box-content {
        padding: 24px;
    }
    .sc-sc-sustainability-reward .box-content h3 {
        font-size: 15px;
        line-height: 150%;
        margin-bottom: 8px;
    }
    .sc-sc-sustainability-reward .box-content a {
        margin-top: 24px;
    }
    .mr-8-4 {
        margin-right: 3px;
    }

    /* sc-intro */
    .sc-intro .wrapper-img-slide {
        padding-top: 24px;
        margin-top: 24px;
    }

    /* sc-practices */
    .sc-practices .sc-content {
        flex-direction: column;
    }
    .sc-practices .text-scroll p {
        font-size: 13px !important;
        line-height: 20px !important;
    }
    .sc-practices .text-scroll {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .sc-practices .text-scroll .icon {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }

    /* sc-scstainable-reward */
    .sc-sustainability-reward-header {
        font-size: 24px !important;
        line-height: 150% !important;
        margin-bottom: 24px !important;
    }
}
/* ====================== end responsive ====================== */


/* ====================== POP UP ====================== */
/* dots button */
.wrapper-dots-button {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* --- Green popup dropdown --- */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    }

.popup-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    transform: translateX(-35%);
    left: 0;
    z-index: 100;
    background: #00A94F;
    border-radius: 8px;
    padding: 10px 16px;
    min-width: 160px;
    /* box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08); */
    animation: popIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: top left;
    }

/* .popup-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #00a651;
    transform: rotate(45deg);
    border-radius: 2px;
} */

@keyframes popIn {
    from { opacity: 0; transform: translateX(-35%) scale(0.92) translateY(-4px); }
    to   { opacity: 1; transform: translateX(-35%) scale(1) translateY(0); }
}

.popup-dropdown.show,
.popup-overlay.show {
    display: block;
}

.popup-dropdown .popup-item {
    display: block;
    width: 100%;
    /* padding: 10px 16px; */
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    /* border-radius: 8px; */
    transition: background 0.15s;
    cursor: pointer;
    border: none;
    /* background: none; */
    text-align: left;
    /* font-family: inherit; */
}

/* .popup-dropdown .popup-item:hover {
    background: rgba(255,255,255,0.18);
} */

/* .popup-dropdown .popup-item.active {
    background: rgba(255,255,255,0.25);
    font-weight: 600;
} */

.popup-dropdown .popup-divider {
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 4px 8px;
}
/* ====================== END POP UP ====================== */