/* Watch pages (video.php) and the video index (videos.php). The theme sets
   html { font-size: 62.5% }, so 1rem = 10px here as everywhere else. */

.video-watch {
    padding: 2.4rem 0 4rem;
}

.video-watch__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: var(--pm-faint, #6f6961);
}

.video-watch__crumbs a {
    color: var(--pm-muted, #5c5650);
}

.video-watch__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
}

@media only screen and (min-width: 992px) {
    .video-watch__layout {
        grid-template-columns: minmax(0, 42rem) minmax(0, 1fr);
        gap: 4.8rem;
    }
}

/* The clip is the page: shot vertical (9:16), as large as the screen allows. */
.video-watch__player {
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
}

.video-watch__video {
    display: block;
    width: 100%;
    max-height: 80vh;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: var(--pm-ink, #1c1a19);
    border-radius: var(--pm-radius, 1.2rem);
}

.video-watch__eyebrow {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pm-faint, #6f6961);
}

.video-watch__title {
    margin: 0 0 1.4rem;
    font-family: var(--pm-display, Georgia, serif);
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--pm-ink, #1c1a19);
}

.video-watch__desc {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--pm-muted, #5c5650);
}

.video-watch__date {
    margin: 0 0 2.4rem;
    font-size: 1.3rem;
    color: var(--pm-faint, #6f6961);
}

.video-watch__product {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.2rem;
    margin-bottom: 1.6rem;
    border: 1px solid var(--pm-line, #e6e1dc);
    border-radius: var(--pm-radius, 1.2rem);
    background: var(--pm-surface, #ffffff);
    color: inherit;
}

.video-watch__product:hover {
    border-color: var(--pm-accent-line, rgba(29, 92, 84, 0.24));
}

.video-watch__product--img {
    width: 7.2rem;
    height: 7.2rem;
    object-fit: cover;
    border-radius: var(--pm-radius-sm, 0.8rem);
    flex: 0 0 auto;
}

.video-watch__product--name {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pm-ink, #1c1a19);
}

.video-watch__cta {
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

@media only screen and (min-width: 576px) {
    .video-watch__cta {
        width: auto;
    }
}

/* "More looks" on a watch page, and the whole grid on /videos. */
.video-watch__more {
    padding: 0 0 5rem;
}

.video-watch__more--listing {
    padding-top: 4rem;
}

.video-watch__more--title {
    margin: 0 0 2rem;
    font-family: var(--pm-display, Georgia, serif);
    font-size: 2.2rem;
}

.video-watch__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

@media only screen and (min-width: 768px) {
    .video-watch__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2.4rem;
    }
}

.video-watch__card {
    display: block;
    color: inherit;
}

.video-watch__card--thumb {
    position: relative;
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: var(--pm-radius, 1.2rem);
    background: var(--pm-sand, #f7f4f1);
}

.video-watch__card--thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--pm-ease, ease);
}

.video-watch__card:hover .video-watch__card--thumb img {
    transform: scale(1.03);
}

.video-watch__card--play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.8rem;
    height: 4.8rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(28, 26, 25, 0.55);
    color: #ffffff;
}

.video-watch__card--name {
    display: block;
    margin-top: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pm-ink, #1c1a19);
}

.video-watch__card--price {
    margin-top: 0.4rem;
    font-size: 1.3rem;
}

.video-watch__all {
    margin: 2.4rem 0 0;
    text-align: center;
}

.video-watch__all a {
    font-weight: 600;
    color: var(--pm-accent, #1d5c54);
}

.video-watch__empty {
    font-size: 1.5rem;
    text-align: center;
}
