/* IORI Block Hero Widget */

/* Main Container */
.iori-block-hero {
    max-width: 1400px;
    width: 68%;
    margin: 0 auto;
    background: #2F373E;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
.iori-block-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 24px 0 0 0;
}

.iori-block-hero-image {
    overflow: hidden;
    box-shadow: 13px 13px 16px rgba(0, 0, 0, 0.25);
}

.iori-block-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iori-block-hero-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.iori-block-hero-info.mobile {
    display: none;
}

.iori-block-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 39px;
    color: #FFFFFF;
    margin: 0 0 8px 0;
}

.iori-block-hero-price {
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    color: #F3A623;
    margin: 0 0 24px 0;
}

.iori-block-hero-specs {
    font-size: inherit;
    font-weight: 700;
    line-height: 24px;
    color: #F3A623;
}

.iori-block-hero-specs p {
    margin: 0 0 8px 0;
}

/* Spec Label and Value */
.spec-label {
    color: #F3A623;
}

.spec-value {
    color: #FFFFFF;
}

/* Gallery Section */
.iori-block-hero-gallery-section {
    padding: 24px 0 0 0;
    position: relative;
    width: calc(100% + 24px);
}

/* Navigation Buttons */
.iori-block-hero-gallery-nav {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #2F373E;
}

.iori-block-hero-gallery-nav:hover {
    background: #fff;
}

.iori-block-hero-gallery-prev {
    transform: translateY(-50%) translateX(-50%);
}

.iori-block-hero-gallery-next {
    right: 0px;
    transform: translateY(-50%) translateX(0%);
}

.iori-block-hero-gallery-prev:hover {
    transform: translateY(-50%) translateX(-50%) scale(1.1);
}

.iori-block-hero-gallery-next:hover {
    right: 0px;
    transform: translateY(-50%) translateX(0%) scale(1.1);
}

.iori-block-hero-gallery-grid {
    cursor: grab;
    display: flex;
    gap: 24px;
    overflow: hidden;
    padding: 0 24px 24px 0;
}

.iori-block-hero-gallery-grid:active {
    cursor: grabbing;
}

.iori-block-hero-gallery-item {
    flex: 0 0 calc(25% - 18px);
    height: 10vw;
    box-shadow: 13px 13px 16px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    scroll-snap-align: start;
}

.iori-block-hero-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elementor-lightbox .swiper .elementor-swiper-button-prev {
  left: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 9999;
}

.elementor-lightbox .swiper .elementor-swiper-button-next {
  right: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 9999;
}

.elementor-lightbox .elementor-swiper-button svg {
    height: 1em;
    width: 1em;
}

/* Responsive - Mobile - Hide both sections */
@media (max-width: 768px) {
    .iori-block-hero-section {
        display: none;
    }
    
    .iori-block-hero-gallery-section {
        display: none;
    }

    .iori-block-hero-gallery-nav {
        display: none;
    }

    .iori-block-hero-info.mobile {
        display: flex;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .iori-block-hero {
        width: 100%;
    }

    .iori-block-hero-section {
        display: none;
    }

    .iori-block-hero-gallery-section {
        display: none;
    }

    .iori-block-hero-info.mobile {
        display: flex;
        margin-top: 2rem;
    }
}
