/* ================= SCOPED: COOK LIKE A MASTER CHEF ================= */
.sp-cook {
    position: relative;
    padding: clamp(60px, 8vw, 120px) 0 40px;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
}


.sp-cook__leaf {
    position: absolute;
    left: clamp(-40px, 2vw, 40px);
    top: 20px;
    width: clamp(180px, 22vw, 340px);
    height: auto;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.sp-cook__leaf img {
    width: 100%;
    height: auto;
    transform: rotate(20deg);
}

.sp-cook .main-container {
    position: relative;
    z-index: 2;
}


.sp-cook__head {
    width: 100%;
    max-width: 800px;
    margin: 0 auto clamp(36px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.sp-cook__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.2;
    color: #141517;
}

.sp-cook__title svg {
    flex-shrink: 0;
    width: clamp(34px, 3.5vw, 44px);
    height: auto;
}

.sp-cook__sub {
    font-size: clamp(15px, 1.3vw, 20px);
    font-weight: 400;
    color: #374151;
    line-height: 1.5;
}


.sp-cook__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(16px, 2vw, 28px);
    align-items: stretch;
    width: 100%;
}


.sp-cook__video {
    position: relative;
    min-height: 540px;
    border-radius: 32px;
    overflow: hidden;
    background: #2b1f16;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.sp-cook__video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-cook__video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.sp-cook__play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.sp-cook__play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
    filter: drop-shadow(0 6px 16px rgba(232, 93, 4, 0.4));
}

.sp-cook__play-btn svg {
    width: 100%;
    height: 100%;
}


.sp-cook__learn {
    position: relative;
    background: #ffffff;
    border-radius: 32px;
    padding: clamp(24px, 2.5vw, 36px);
    display: flex;
    gap: clamp(16px, 2vw, 28px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #ebe5df;
    box-sizing: border-box;
}

.sp-cook__learn-leaf {
    position: absolute;
    top: -16px;
    right: -12px;
    width: clamp(70px, 8vw, 110px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.95;
}

.sp-cook__learn-leaf img {
    width: 100%;
    height: auto;
    display: block;
    transform: rotate(-14deg);
}


.sp-cook__thumbs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 135px;
    flex-shrink: 0;
}

.sp-cook__thumbs img {
    width: 100%;
    height: 105px;
    border-radius: 20px;
    object-fit: cover;
    background: #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}


.sp-cook__ltext {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    flex: 1;
}

.sp-cook__eyebrow {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.sp-cook__eyebrow span {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 600;
    color: #e85d04;
    letter-spacing: 0.5px;
}

.sp-cook__eyebrow-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(220px, 100%);
    height: 2px;
    background: linear-gradient(90deg, #e85d04, rgba(232, 93, 4, 0));
}

.sp-cook__ltext h2 {
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 800;
    color: #141517;
    line-height: 1.05;
    letter-spacing: -0.5px;
}

.sp-cook__ltext p {
    font-size: clamp(13.5px, 1.1vw, 16px);
    font-weight: 300;
    line-height: 1.6;
    color: #4b5563;
}


.sp-cook__bar {
    margin-top: clamp(18px, 2.5vw, 28px);
    background: #e85d04;
    border-radius: 28px;
    padding: clamp(18px, 2vw, 28px) clamp(20px, 3.5vw, 50px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(232, 93, 4, 0.25);
    box-sizing: border-box;
}

.sp-cook__bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.sp-cook__bar-item img {
    flex-shrink: 0;
}

.sp-cook__bar-item--watch {
    font-weight: 600;
    font-size: clamp(17px, 1.4vw, 22px);
    color: #141517;
    white-space: nowrap;
}

.sp-cook__bar-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-cook__bar-line1 {
    display: flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.sp-cook__bar-ttl {
    font-weight: 600;
    font-size: clamp(15px, 1.2vw, 19px);
    color: #fff2ea;
}

.sp-cook__bar-val {
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 600;
    color: #141517;
}

.sp-cook__bar-sub {
    font-size: clamp(12px, 0.95vw, 14.5px);
    color: #fff2ea;
    opacity: 0.9;
    white-space: nowrap;
}


@media (max-width: 1100px) {
    .sp-cook__grid {
        grid-template-columns: 1fr;
    }

    .sp-cook__video {
        min-height: 440px;
    }

    .sp-cook__bar {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: flex-start;
    }
}


@media (max-width: 768px) {
    .sp-cook {
        padding: 40px 0 25px;
    }

    .sp-cook__leaf {
        display: none;
    }

    
    .sp-cook__grid {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .sp-cook__video {
        min-height: 280px;
        height: 280px;
        border-radius: 24px;
    }

    .sp-cook__play-btn {
        width: 52px;
        height: 52px;
    }

    .sp-cook__play-btn svg {
        width: 52px;
        height: 52px;
    }

    .sp-cook__learn {
        flex-direction: column;
        padding: 22px 18px;
        border-radius: 24px;
        gap: 16px;
    }

    .sp-cook__learn-leaf {
        width: 64px;
        top: -10px;
        right: -6px;
    }

    
    .sp-cook__thumbs {
        flex-direction: row;
        width: 100%;
        gap: 10px;
    }

    .sp-cook__thumbs img {
        flex: 1;
        min-width: 0;
        height: 72px;
        border-radius: 14px;
    }

    .sp-cook__ltext h2 {
        font-size: 36px;
    }

    .sp-cook__ltext p {
        font-size: 13px;
        line-height: 1.5;
    }

    
    .sp-cook__bar {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px 12px;
        padding: 20px 16px;
        border-radius: 22px;
        margin-top: 18px;
    }

    .sp-cook__bar-item {
        align-items: flex-start;
        gap: 8px;
    }

    .sp-cook__bar-item img {
        width: 28px;
        height: 28px;
        margin-top: 2px;
    }

    .sp-cook__bar-item--watch {
        font-size: 15px;
    }

    .sp-cook__bar-line1 {
        flex-direction: column;
        gap: 0;
        white-space: normal;
    }

    .sp-cook__bar-ttl {
        font-size: 13.5px;
    }

    .sp-cook__bar-val {
        font-size: 12.5px;
    }

    .sp-cook__bar-sub {
        font-size: 11px;
        white-space: normal;
        line-height: 1.25;
        margin-top: 2px;
    }
}

/* ================= DYNAMIC VIDEO THUMBS & ACTIONS ================= */
.sp-cook__thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.75;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sp-cook__thumb img {
    width: 100%;
    height: 105px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    background: #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.sp-cook__thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.sp-cook__thumb.is-active {
    opacity: 1;
    outline: 3px solid #e85d04;
    outline-offset: 2px;
}

.sp-cook__viewall-wrap {
    text-align: center;
    margin-top: 26px;
}

.sp-cook__viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #141312;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    padding: 10px 20px;
    border: 1.5px solid #e3d7c8;
    border-radius: 999px;
    background: #fff;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.sp-cook__viewall:hover {
    border-color: #e85d04;
    color: #e85d04;
}

/* ================= VIDEO PLAYER MODAL ================= */
.sp-video-modal[hidden] {
    display: none !important;
}

.sp-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sp-video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 5, 0.78);
    backdrop-filter: blur(3px);
}

.sp-video-modal__dialog {
    position: relative;
    width: min(960px, 100%);
    background: #141312;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.sp-video-modal__dialog video {
    display: block;
    width: 100%;
    max-height: 68vh;
    background: #000;
}

.sp-video-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #141312;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.sp-video-modal__caption {
    padding: 16px 20px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
}

.sp-video-modal__caption h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}

.sp-video-modal__caption span {
    font-size: 13px;
    color: #d8cbb9;
}

html.no-scroll,
body.no-scroll {
    overflow: hidden;
}