﻿/* ============================================================
   MDC Drawer + Top App Bar - Responsive
   ============================================================ */

/* Hide drawer until JS initializes its type (prevents flash on navigation) */
.mdc-drawer:not(.mdc-drawer--dismissible):not(.mdc-drawer--modal) {
    display: none;
}

/* App bar always on top — above drawer and scrim */
.mdc-top-app-bar {
    z-index: 13;
}

/* Desktop: dismissible drawer below app bar, fixed while content scrolls */
.mdc-drawer--dismissible {
    position: fixed;
    top: 64px;
    height: calc(100vh - 64px);
    z-index: 6;
}

/* Mobile: app bar is 56px */
@@media (max-width: 767px) {
    .mdc-drawer--dismissible {
        top: 56px;
        height: calc(100vh - 56px);
    }
}

.mdc-drawer-app-content {
    position: relative;
    z-index: 1;
    transition: margin-left 0.2s ease;
}

.mdc-drawer--dismissible.mdc-drawer--open + .mdc-drawer-app-content {
    margin-left: 256px;
}

/* Mobile: modal drawer below app bar */
.mdc-drawer--modal {
    top: 64px;
    height: calc(100vh - 64px);
    z-index: 12;
}

@@media (max-width: 767px) {
    .mdc-drawer--modal {
        top: 56px;
        height: calc(100vh - 56px);
    }
}

/* Scrim only for modal drawer — hide it for dismissible */
.mdc-drawer--dismissible + .mdc-drawer-scrim {
    display: none !important;
}

.mdc-drawer-scrim {
    z-index: 11;
}

/* Drawer content: independent scroll */
.mdc-drawer__content {
    overflow-y: auto;
    flex: 1;
}

.main-content {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    overflow-x: auto;
}

/* Prevent horizontal overflow from pushing the viewport on mobile */
body, html {
    overflow-x: hidden;
}

/* Top App Bar action items spacing */
.mdc-top-app-bar__section--align-end .mdc-icon-button {
    color: inherit;
}

/* Drawer list item active state */
.mdc-deprecated-list-item--activated {
    color: var(--mdc-theme-primary, #6200ee);
}

.mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic {
    color: var(--mdc-theme-primary, #6200ee);
}

/* Drawer subheader */
.mdc-deprecated-list-group__subheader {
    margin: 0;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
}
/* ============================================================ */

.youyo-eventBusy {
    opacity: .2
}
.youyo-customer-card {
    background-color: #f5f5f5;
}
.youyo-btn-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.custom-youyo-gallery-title {
    font-size: 0.9em;
    position: relative;
    display: block;
    /*width: 100%; */
    bottom: 0;
    padding: .1rem;
    color: #fff;
    background: -webkit-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -moz-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -o-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -ms-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    -webkit-transition: .1s background ease-in-out;
    transition: .1s background ease-in-out;
}
.custom-youyo-table-title {
    font-size: 0.9em;
    position: relative;
    display: table-row-group;
    /*width: 100%; */
    bottom: 0;
    padding: .1rem;
    color: #fff;
    background: -webkit-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -moz-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -o-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -ms-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    -webkit-transition: .1s background ease-in-out;
    transition: .1s background ease-in-out;
}

.custom-youyo-button-title {
    font-size: 0.9em;
    position: relative;
    display: table-row-group;
    /*width: 100%; */
    bottom: 0;
    padding: .1rem;
    color: #fff;
    background: -webkit-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -moz-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -o-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: -ms-linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    background: linear-gradient(left, rgba(85, 67, 70, 0.85), rgba(69, 80, 91, 0.85)) !important;
    -webkit-transition: .1s background ease-in-out;
    transition: .1s background ease-in-out;
}

.custom-youyo-table-title .custom-youyo-button-title {
    background: transparent !important;
}

.price {
    /*background: #c30000 none repeat scroll 0 0;*/
    border-bottom: 3px solid #808080;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    line-height: 1;
    padding: 8px 12px;
    position: absolute;
    top: 10px;
    left: -4px;
}
.priceX {
    /*background: #c30000 none repeat scroll 0 0;*/
    border-bottom: 3px solid #808080;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    line-height: 1;
    padding: 8px 12px;
    /*position: absolute;*/
    top: 10px;
    left: -4px;
}
img .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
    position : relative;
}
.youyo-section-title-youyo {
    margin-top: 0;
    height: 48px;
}


.mdc-layout-grid.max-width {
    max-width: 1280px;
}

.container.max-width {
    max-width: 1280px;
}

.custom-text-left {
    margin:16px
}

.custom-text-right {
    margin: 16px
}
custom-grid--cell-alignment, .custom-inner {
    min-height: 200px;
}

/* ── Hero slider overlay: visual only, must not block clicks on content beneath ── */
.youyo-overlay {
    pointer-events: none;
}

/* ── Scroll-Snap Carousel (replaces Bootstrap carousel in _ListByTableIdPageSummary) ── */
.snap-slider {
    position: relative;
    overflow: hidden;
}

.snap-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.snap-slider__track::-webkit-scrollbar {
    display: none;
}

.snap-slider__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
}

.snap-slider__slide img {
    width: 100%;
    display: block;
    border-radius: 0.25rem;
}

/* Aspect ratio container for video/iframe (replaces embed-responsive-4by3) */
.snap-slider__aspect-4by3 {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
}

.snap-slider__aspect-4by3 > iframe,
.snap-slider__aspect-4by3 > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.snap-slider__pdf-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f5f5;
    min-height: 200px;
}

.snap-slider__pdf-container > canvas {
    width: 100%;
    height: auto;
    display: block;
}

.snap-slider__pdf-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.snap-slider__pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    padding: 0;
}

.snap-slider__pdf-btn:hover {
    background: #e0e0e0;
}

.snap-slider__pdf-page {
    font-size: 0.85rem;
    color: #555;
}

/* Indicators (dots) */
.snap-slider__indicators {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    margin-bottom: 0.5rem;
    padding: 0;
    list-style: none;
    z-index: 2;
}

.snap-slider__indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #1b1b1b;
    background: transparent;
    opacity: 0.5;
    cursor: pointer;
}

.snap-slider__indicators li.active {
    border: 4px solid #1b1b1b;
    background: #fff;
    opacity: 1;
}

/* Title bar (counter + description) */
.snap-slider__title {
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

/* Prev/Next navigation */
.snap-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(27, 27, 27, 0.6);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.snap-slider:hover .snap-slider__nav {
    opacity: 1;
}

.snap-slider__nav--prev {
    left: 0.5rem;
}

.snap-slider__nav--next {
    right: 0.5rem;
}

.snap-slider__nav:hover {
    background: #1b1b1b;
    opacity: 1;
}

/* ── Hero Slider — carrusel hero de pantalla completa (extiende snap-slider) ── */
.hero-slider {
    margin-bottom: 0;
}

.hero-slider__slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}


.hero-slider .snap-slider__nav {
    opacity: 0.7;
    width: 44px;
    height: 44px;
}

.hero-slider .snap-slider__nav:hover {
    opacity: 1;
}

.hero-slider .snap-slider__indicators {
    bottom: 1.5rem;
}

.hero-slider .snap-slider__indicators li {
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-slider .snap-slider__indicators li.active {
    border-color: #fff;
    background: #fff;
}

/* ── Hero Slider — background video iframe cover ── */
.youyo-background-video {
    overflow: hidden;
    z-index: 0;
}

.youyo-background-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;       /* 9/16 — mantiene aspecto 16:9 */
    min-height: 100vh;
    min-width: 177.78vh;   /* 16/9 — cubre el contenedor sin barras */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ── Hero Slider — content over video/overlay ── */
.hero-slider .container-slide {
    position: relative;
    z-index: 2;
}

/* ── Hero Slider — content centering ── */
.hero-slider__content {
    justify-content: center;
    text-align: center;
}

/* ── Hero Slider — responsive mobile ── */
@media (max-width: 767px) {
    .hero-slider .youyo-section-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero-slider .youyo-section-lead {
        font-size: 1rem !important;
        line-height: 1.4;
    }

    .hero-slider .mdc-button {
        font-size: 0.75rem;
        padding: 0.5rem 1.25rem;
    }

    .hero-slider__content .mdc-layout-grid__cell {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}