/* Product Highlight — same vertical rhythm as PDP tabs / FAQ */
.product__details--highlight__section {
    scroll-margin-top: calc(var(--app-header-h, 56px) + var(--app-safe-top, 0px) + 12px);
}

.product__details--highlight__section.section--padding.pt-0 {
    padding-top: 8px;
}

.product__details--highlight__section.pb-50 {
    padding-bottom: 50px;
}

.at-pdp-highlight-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.5fr);
    gap: 28px 56px;
    align-items: start;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 18px;
    padding: 48px 52px;
    box-shadow: 0 12px 40px rgba(17, 17, 17, 0.045);
}

.at-pdp-highlight-intro {
    min-width: 0;
    padding-top: 4px;
}

.at-pdp-highlight-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-red, #e41f27);
}

.at-pdp-highlight-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #111;
    margin: 0 0 12px;
}

.at-pdp-highlight-lead {
    font-size: 15px;
    line-height: 1.65;
    color: #8b9199;
    margin: 0;
    max-width: 280px;
}

.at-pdp-highlight-stage {
    position: relative;
    min-width: 0;
}

.at-pdp-reels__viewport {
    min-width: 0;
}

.at-pdp-reels__track {
    position: relative;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 4px 2px 8px;
    scrollbar-width: none;
}

.at-pdp-reels__track::-webkit-scrollbar {
    display: none;
}

.at-pdp-reels__nav {
    position: absolute;
    top: calc(50% - 18px);
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #111;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.16);
    cursor: pointer;
}

.at-pdp-reels__nav:hover {
    background: #fff;
}

.at-pdp-reels__nav--prev { left: -10px; }
.at-pdp-reels__nav--next { right: -10px; }

.at-pdp-highlight-stage.is-scrollable .at-pdp-reels__nav {
    display: inline-flex;
}

.at-pdp-reels__dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}

.at-pdp-reels__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d5d8dd;
    cursor: pointer;
}

.at-pdp-reels__dot.is-active {
    width: 18px;
    border-radius: 999px;
    background: var(--brand-red, #e41f27);
}

.at-pdp-reel {
    flex: 0 0 auto;
    width: 168px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.at-pdp-reel--skel {
    cursor: default;
    pointer-events: none;
}

.at-pdp-reel__ring {
    display: block;
    padding: 3px;
    border-radius: 22px;
    background: #ececec;
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
}

.at-pdp-reel.is-highlight .at-pdp-reel__ring {
    background: linear-gradient(135deg, #f09433 0%, #ed1c24 52%, #bc1888 100%);
}

.at-pdp-reel__frame {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 19px;
    background: #111;
    aspect-ratio: 9 / 16;
}

.at-pdp-reel__frame--skel {
    background: linear-gradient(90deg, #f0f0f0 20%, #e6e6e6 50%, #f0f0f0 80%);
    background-size: 200% 100%;
    animation: at-pdp-reel-shimmer 1.05s linear infinite;
}

@keyframes at-pdp-reel-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.at-pdp-reel__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

.at-pdp-reel__play {
    position: absolute;
    inset: auto 12px 44px auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: rgba(17, 17, 17, 0.42);
    backdrop-filter: blur(8px);
}

.at-pdp-reel__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 10px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

body.at-pdp-reel-open {
    overflow: hidden;
}

body.at-pdp-reel-open .at-tabbar,
body.at-pdp-reel-open .whatsapp-float-container,
body.at-pdp-reel-open .whatsapp-float-btn,
body.at-pdp-reel-open .autotech-chatbot-trigger,
body.at-pdp-reel-open .autotech-chatbot-window,
body.at-pdp-reel-open .at-story-reel,
body.at-pdp-reel-open #scroll__top {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.at-pdp-reels-modal[hidden] {
    display: none !important;
}

.at-pdp-reels-modal {
    position: fixed;
    inset: 0;
    z-index: 130000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.at-pdp-reels-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 12, 0.86);
    backdrop-filter: blur(10px);
}

.at-pdp-reels-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: min(860px, 94vh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #0f0f14;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.at-pdp-reels-modal__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.at-pdp-reels-modal__title {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.at-pdp-reels-modal__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.at-pdp-reels-modal__stage {
    position: relative;
    background: #000;
}

.at-pdp-reels-modal__video {
    display: block;
    width: 100%;
    height: min(720px, 78vh);
    object-fit: contain;
    background: #000;
}

.at-pdp-reels-modal__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
}

.at-pdp-reels-modal__nav--prev { left: 10px; }
.at-pdp-reels-modal__nav--next { right: 10px; }

.at-pdp-reels-modal__mute {
    position: absolute;
    right: 12px;
    bottom: 48px;
    z-index: 2;
    min-width: 64px;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: rgba(17, 17, 17, 0.55);
    cursor: pointer;
}

.at-pdp-reels-modal__caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .at-pdp-reel {
        width: 180px;
    }
}

@media (max-width: 991px) {
    .at-pdp-highlight-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 20px 20px;
        border-radius: 16px;
    }

    .at-pdp-highlight-intro {
        padding-top: 0;
    }

    .at-pdp-highlight-title {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .at-pdp-highlight-lead {
        max-width: none;
        font-size: 14px;
    }

    .at-pdp-reels__nav--prev { left: 4px; }
    .at-pdp-reels__nav--next { right: 4px; }
}

@media (max-width: 767px) {
    .product__details--highlight__section.section--padding {
        padding-top: 4px !important;
        padding-bottom: 28px !important;
    }

    .at-pdp-highlight-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px 0 14px;
        border-radius: 14px;
        overflow: hidden;
    }

    .at-pdp-highlight-intro {
        padding: 0 16px;
    }

    .at-pdp-highlight-eyebrow {
        margin-bottom: 4px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .at-pdp-highlight-title {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .at-pdp-highlight-lead {
        font-size: 13px;
        line-height: 1.5;
    }

    .at-pdp-highlight-stage {
        width: 100%;
    }

    .at-pdp-reels__track {
        margin: 0;
        padding: 2px 16px 6px;
        gap: 10px;
        scroll-padding-inline: 16px;
    }

    .at-pdp-reel {
        width: min(210px, 58vw);
    }

    .at-pdp-reel__ring {
        border-radius: 18px;
        padding: 2.5px;
    }

    .at-pdp-reel__frame {
        border-radius: 16px;
    }

    .at-pdp-reel__play {
        width: 36px;
        height: 36px;
        inset: auto 10px 40px auto;
    }

    .at-pdp-reel__caption {
        font-size: 11px;
        padding: 24px 9px 9px;
    }

    .at-pdp-highlight-stage.is-scrollable .at-pdp-reels__nav {
        display: none;
    }

    .at-pdp-highlight-stage.is-scrollable .at-pdp-reels__dots {
        display: flex;
    }

    .at-pdp-reels-modal {
        padding: 0;
    }

    .at-pdp-reels-modal__dialog {
        width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
    }

    .at-pdp-reels-modal__video {
        height: calc(100vh - 58px);
    }
}

@media (max-width: 480px) {
    .at-pdp-highlight-title {
        font-size: 20px;
    }

    .at-pdp-reel {
        width: min(200px, 64vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .at-pdp-reels__track {
        scroll-behavior: auto;
    }
}
