/* ============================================
   GLOMAVIS POST TILES WIDGET
   ============================================ */

.glomavis-post-tiles {
    width: 100%;
    margin: 0 auto;
}

.glomavis-post-tiles-grid {
    display: grid;
    gap: 20px;
}

.glomavis-post-tile {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 400px;
    display: flex;
}

.glomavis-post-tile-link {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.glomavis-post-tile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glomavis-post-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.glomavis-post-tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
}

.glomavis-post-tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glomavis-post-category {
    display: inline-block;
    padding: 6px 14px;
    background-color: #3b82f6;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.glomavis-post-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 56px;
}

.glomavis-post-title:hover {
    color: #3b82f6;
}

.glomavis-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.glomavis-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.glomavis-post-meta span::before {
    content: "•";
    margin-right: 5px;
}

.glomavis-post-meta span:first-child::before {
    content: none;
}

.glomavis-post-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 42px;
}

/* Card Style */
.glomavis-post-tiles-card .glomavis-post-tile {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: auto;
}

.glomavis-post-tiles-card .glomavis-post-tile-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glomavis-post-tiles-card .glomavis-post-tile-image {
    position: relative;
    height: 250px;
    flex-shrink: 0;
}

.glomavis-post-tiles-card .glomavis-post-tile-overlay {
    display: none;
}

.glomavis-post-tiles-card .glomavis-post-tile-content {
    position: relative;
    background: #fff;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glomavis-post-tiles-card .glomavis-post-category {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 0;
    align-self: flex-start;
}

.glomavis-post-tiles-card .glomavis-post-title {
    color: #1a1a1a;
    margin-top: 0;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    text-overflow: unset;
    max-height: none;
}

.glomavis-post-tiles-card .glomavis-post-meta {
    color: #666;
}

.glomavis-post-tiles-card .glomavis-post-meta span::before {
    color: #999;
}

.glomavis-post-tiles-card .glomavis-post-excerpt {
    color: #555;
    line-height: 1.7;
    -webkit-line-clamp: 3;
    max-height: 63px;
}

/* Minimal Style */
.glomavis-post-tiles-minimal .glomavis-post-tile-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
}

.glomavis-post-tiles-minimal .glomavis-post-category {
    background-color: transparent;
    padding: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
}

.glomavis-post-tiles-minimal .glomavis-post-title {
    font-size: 20px;
}

.glomavis-post-tiles-minimal .glomavis-post-excerpt {
    display: none;
}

/* Modern Style */
.glomavis-post-tiles-modern .glomavis-post-tile {
    border-radius: 12px;
}

.glomavis-post-tiles-modern .glomavis-post-tile-image img {
    border-radius: 12px;
}

.glomavis-post-tiles-modern .glomavis-post-category {
    border-radius: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glomavis-post-tiles-modern .glomavis-post-tile-overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

/* Content Overlay Style */
.glomavis-post-tiles-content-overlay .glomavis-post-tile {
    border-radius: 0;
    height: 400px;
}

.glomavis-post-tiles-content-overlay .glomavis-post-tile-link {
    display: block;
}

.glomavis-post-tiles-content-overlay .glomavis-post-tile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glomavis-post-tiles-content-overlay .glomavis-post-tile-image img {
    border-radius: 0;
}

.glomavis-post-tiles-content-overlay .glomavis-post-tile-overlay {
    display: none;
}

.glomavis-post-tiles-content-overlay .glomavis-post-category {
    display: none;
}

.glomavis-post-tiles-content-overlay .glomavis-post-tile-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glomavis-post-tiles-content-overlay .glomavis-post-title {
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    text-overflow: unset;
    max-height: none;
    margin-bottom: 5px;
}

.glomavis-post-tiles-content-overlay .glomavis-post-excerpt {
    display: none;
}

.glomavis-post-tiles-content-overlay .glomavis-post-meta {
    color: #666;
    font-size: 12px;
    gap: 12px;
    margin-bottom: 5px;
}

.glomavis-post-tiles-content-overlay .glomavis-post-meta span::before {
    color: #999;
}

.glomavis-post-tiles-content-overlay .glomavis-post-read-more {
    display: inline-block;
    color: #e74c3c;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.glomavis-post-tiles-content-overlay .glomavis-post-read-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.glomavis-post-tiles-content-overlay .glomavis-post-tile:hover .glomavis-post-read-more::after {
    margin-left: 10px;
}

.glomavis-post-tiles-content-overlay .glomavis-post-tile:hover .glomavis-post-read-more {
    color: #c0392b;
}

.glomavis-post-tiles-content-overlay .glomavis-post-tile:hover .glomavis-post-tile-content {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Read More Button */
.glomavis-post-read-more {
    display: none;
}

/* ============================================
   GLOMAVIS INSTAGRAM REELS WIDGET
   ============================================ */

.glomavis-instagram-reels {
    width: 100%;
}

.glomavis-instagram-reels-grid {
    display: grid;
    gap: 15px;
}

.glomavis-instagram-reel-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f0f0f0;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.glomavis-instagram-reel-item:hover {
    transform: scale(1.02);
}

.glomavis-instagram-reel-thumbnail {
    width: 100%;
    height: 100%;
}

.glomavis-instagram-reel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.glomavis-instagram-reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glomavis-instagram-reel-item:hover .glomavis-instagram-reel-overlay {
    opacity: 1;
}

.glomavis-instagram-reel-play-icon {
    margin-bottom: 20px;
}

.glomavis-instagram-reel-play-icon svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.glomavis-instagram-reel-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.glomavis-instagram-reel-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.glomavis-instagram-reel-stats svg {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.glomavis-instagram-error,
.glomavis-instagram-empty {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .glomavis-instagram-reels-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ============================================
   GLOMAVIS REVIEWS WIDGET
   ============================================ */

.glomavis-reviews {
    width: 100%;
}

.glomavis-reviews-grid {
    display: grid;
    gap: 20px;
}

.glomavis-reviews-list .glomavis-review-item {
    margin-bottom: 20px;
}

.glomavis-review-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glomavis-reviews-hover .glomavis-review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.glomavis-review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.glomavis-review-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.glomavis-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.glomavis-review-info {
    flex: 1;
}

.glomavis-reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.glomavis-reviewer-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 3px;
}

.glomavis-review-date {
    font-size: 12px;
    color: #aaa;
}

.glomavis-review-rating {
    font-size: 16px;
    color: #ffa500;
    margin-bottom: 15px;
}

.glomavis-review-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.glomavis-reviews-list .glomavis-review-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.glomavis-reviews-list .glomavis-review-header {
    flex-direction: column;
    margin-bottom: 0;
    margin-right: 20px;
    min-width: 100px;
}

.glomavis-reviews-list .glomavis-review-content {
    flex: 1;
}

/* Reviews Carousel Layout */
.glomavis-reviews-widget {
    width: 100%;
    position: relative;
}

.glomavis-reviews-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.glomavis-reviews-carousel .glomavis-carousel-track {
    display: flex;
    gap: 20px;
    cursor: grab;
}

.glomavis-reviews-carousel .glomavis-carousel-track:active {
    cursor: grabbing;
}

.glomavis-reviews-carousel .glomavis-review-item {
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Reviews Carousel Arrows */
.glomavis-reviews-carousel .glomavis-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.glomavis-reviews-carousel .glomavis-carousel-arrow:hover:not(:disabled) {
    transform: translateY(-50%) !important;
}

.glomavis-reviews-carousel .glomavis-carousel-arrow:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
    pointer-events: none;
}

.glomavis-reviews-carousel .glomavis-carousel-arrow svg {
    display: block;
}

/* Reviews Carousel Dots */
.glomavis-reviews-carousel .glomavis-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.glomavis-reviews-carousel .glomavis-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cccccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.glomavis-reviews-carousel .glomavis-carousel-dot.active {
    background: #333333;
    width: 12px;
    height: 12px;
}

.glomavis-reviews-carousel .glomavis-carousel-dot:hover {
    background: #666666;
}

/* Responsive */
@media (max-width: 768px) {
    .glomavis-reviews-grid {
        grid-template-columns: 1fr !important;
    }
    
    .glomavis-reviews-list .glomavis-review-item {
        flex-direction: column;
    }
    
    .glomavis-reviews-list .glomavis-review-header {
        flex-direction: row;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glomavis-post-tiles-grid {
        grid-template-columns: 1fr !important;
    }
    
    .glomavis-post-tile {
        height: 350px !important;
    }
    
    .glomavis-post-tile-content {
        padding: 20px;
    }
    
    .glomavis-post-title {
        font-size: 20px;
    }
}

/* ============================================
   GLOMAVIS PRODUCT IMAGE WIDGET
   ============================================ */

/* Container - Force proper width */
.glomavis-widget-container {
    width: 100%;
    max-width: 100%;
    display: block;
    clear: both;
    overflow: visible;
    position: relative;
    padding-bottom: 20px; /* Add padding to container */
}

.glomavis-product-image-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

/* Main Image Wrapper */
.glomavis-main-image-wrapper {
    position: relative;
    width: 100%;
}

.glomavis-main-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.glomavis-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.glomavis-main-image.active {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.glomavis-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

/* Zoom functionality */
.glomavis-main-image-container[data-zoom="true"] .glomavis-main-image.active,
.glomavis-main-image-container[data-zoom="true"] .glomavis-main-image.active img {
    cursor: crosshair;
}

.glomavis-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.glomavis-main-image img {
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.glomavis-main-image.zooming img {
    transition: transform 0.05s ease-out;
}

/* Main Image Navigation Arrows */
.glomavis-main-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.glomavis-main-arrow:disabled {
    cursor: not-allowed;
}

.glomavis-main-arrow svg {
    display: block;
}

/* Thumbnails Carousel */
.glomavis-thumbnails-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.glomavis-thumbnails-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-width: 0;
}

.glomavis-thumbnails {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.glomavis-thumbnail {
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.glomavis-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    min-width: 100%;
    min-height: 100%;
}

/* Thumbnail Navigation Arrows */
.glomavis-thumb-arrow {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    margin-bottom: 5px; /* Align arrows with thumbnails */
}

.glomavis-thumb-arrow:disabled {
    cursor: not-allowed;
}

.glomavis-thumb-arrow svg {
    display: block;
}

/* Editor notice */
.glomavis-notice {
    padding: 20px;
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    text-align: center;
}

/* Force Elementor widget container to behave */
.elementor-widget-glomavis-product-image {
    width: 100%;
    position: relative;
    margin-bottom: 20px; /* Space after widget */
}

.elementor-widget-glomavis-product-image .elementor-widget-container {
    display: block;
    width: 100%;
    overflow: visible;
    position: relative;
    padding-bottom: 10px; /* Extra padding in Elementor container */
}

/* Responsive - Mobile Portrait (up to 767px) */
@media (max-width: 767px) {
    /* Force container to full width */
    .glomavis-widget-container {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        /* Bottom padding controlled by Elementor */
        float: none !important;
        clear: both !important;
    }
    
    /* Force widget to stack properly */
    .glomavis-product-image-widget {
        align-items: center;
        margin: 0 auto 25px auto !important; /* Increase bottom margin on mobile */
        clear: both !important;
        float: none !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        padding-bottom: 15px !important; /* More padding on mobile */
    }
    
    /* Main image wrapper mobile */
    .glomavis-main-image-wrapper {
        margin: 0 auto 15px auto; /* Increase spacing on mobile */
        clear: both;
        position: relative !important;
        display: block !important;
        width: 100% !important;
    }
    
    /* Thumbnails wrapper mobile */
    .glomavis-thumbnails-wrapper {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 15px !important; /* Increase bottom margin */
        padding-bottom: 20px !important; /* More padding on mobile */
        clear: both;
        position: relative !important;
        display: flex !important;
        width: 100% !important;
    }
    
    /* Thumbnails container mobile */
    /* Thumbnails mobile spacing - now controlled by Elementor */
    .glomavis-thumbnails-container {
        /* Removed hardcoded padding - use Elementor controls */
    }
    
    .glomavis-thumbnail {
        /* Removed hardcoded margin - use Elementor gap control */
    }
    
    /* Force Elementor column to stack */
    .elementor-widget-glomavis-product-image {
        position: relative !important;
        width: 100% !important;
        /* Margin controlled by Elementor */
        display: block !important;
        clear: both !important;
    }
    
    /* Target parent column */
    .elementor-column:has(.glomavis-product-image-widget) {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        /* Margin controlled by Elementor */
        position: relative !important;
        display: block !important;
    }
    
    /* Ensure section doesn't cause overlap */
    .elementor-section:has(.glomavis-product-image-widget) {
        position: relative !important;
        overflow: visible !important;
        padding-bottom: 20px !important; /* Add padding to section */
    }
    
    /* Fix inner section if exists */
    .elementor-inner-section:has(.glomavis-product-image-widget) {
        position: relative !important;
        display: block !important;
        padding-bottom: 20px !important;
    }
    
    /* Force row to stack */
    .elementor-row:has(.glomavis-product-image-widget) {
        display: block !important;
        flex-wrap: wrap !important;
        padding-bottom: 20px !important;
    }
}

/* Responsive - Tablet Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .glomavis-product-image-widget {
        align-items: flex-start;
        padding-bottom: 15px;
    }
    
    .glomavis-widget-container {
        width: 100%;
        max-width: 100%;
        /* Bottom padding controlled by Elementor */
    }
    
    .glomavis-thumbnails-wrapper {
        padding-bottom: 20px;
        margin-bottom: 15px;
    }
    
    .glomavis-main-image-wrapper {
        margin-bottom: 20px;
    }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
    .glomavis-product-image-widget {
        align-items: flex-start;
        padding-bottom: 15px;
    }
    
    .glomavis-thumbnails-wrapper {
        padding-bottom: 15px;
    }
    
    .glomavis-main-image-wrapper {
        margin-bottom: 20px;
    }
}

/* Additional Mobile Fixes for Common Elementor Layouts */
@media (max-width: 767px) {
    /* Two column layout fix */
    .elementor-column-gap-default > .elementor-column > .elementor-element-populated:has(.glomavis-product-image-widget) {
        padding: 10px 10px 20px 10px !important; /* Add bottom padding */
    }
    
    /* Remove negative margins that might cause overlap */
    .elementor-widget-glomavis-product-image .elementor-widget-container {
        margin: 0 !important;
        /* Padding controlled by Elementor */
    }
    
    /* Force proper spacing after widget */
    .glomavis-widget-container::after {
        content: "";
        display: block;
        clear: both;
        height: 0; /* Height controlled by Elementor spacing */
    }
    
    /* Prevent absolute positioning from parent */
    .elementor-column:has(.glomavis-product-image-widget) .elementor-element-populated {
        position: relative !important;
        padding-bottom: 20px !important;
    }
    
    /* Fix if widget is in a flexbox container */
    .elementor-widget-wrap:has(.glomavis-product-image-widget) {
        display: block !important;
        width: 100% !important;
        padding-bottom: 20px !important;
    }
}

/* Very small screens (below 480px) */
@media (max-width: 480px) {
    .glomavis-widget-container {
        padding: 0 5px 0 5px !important; /* Only horizontal padding, bottom controlled by Elementor */
    }
}

/* ========================================
   Product Carousel Widget Styles
   ======================================== */

.glomavis-product-carousel-widget {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: visible; /* Changed from hidden to visible for arrows */
}

.glomavis-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.glomavis-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    align-items: stretch;
}

.glomavis-carousel-slide {
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    box-sizing: border-box;
    transform: none !important;
    position: relative;
}

.glomavis-carousel-slide:hover {
    transform: none !important;
}

.glomavis-carousel-slide > * {
    width: 100%;
    box-sizing: border-box;
    transform: none !important;
}

.glomavis-carousel-slide:hover > * {
    transform: none !important;
}

/* Product Card */
.glomavis-product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    transform: translate3d(0, 0, 0) !important; /* Force GPU acceleration and lock position */
    position: relative;
    will-change: box-shadow, border-color; /* Only allow these properties to change */
}

/* Glassmorphism Effect */
.glomavis-product-card.glassmorphism {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px) saturate(100%);
    -webkit-backdrop-filter: blur(10px) saturate(100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.glomavis-product-card:hover {
    transform: translate3d(0, 0, 0) !important; /* Keep card in exact place on hover */
}

/* Override any Elementor or theme styles that might cause movement */
.glomavis-carousel-slide .glomavis-product-card {
    transform: translate3d(0, 0, 0) !important;
}

.glomavis-carousel-slide .glomavis-product-card:hover {
    transform: translate3d(0, 0, 0) !important;
}

/* Override WooCommerce product styles */
.woocommerce .glomavis-product-card,
.woocommerce .glomavis-product-card:hover,
.glomavis-carousel-slide:hover .glomavis-product-card {
    transform: translate3d(0, 0, 0) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    top: 0 !important;
}

/* Prevent ALL children from having transforms */
.glomavis-product-card *,
.glomavis-product-card *:hover {
    transform: none !important;
}

/* But allow only images to transform for zoom effect */
.glomavis-product-image img {
    transform: none; /* Will be overridden by inline styles if zoom is enabled */
}

/* Product Image */
.glomavis-product-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square aspect ratio */
    overflow: hidden;
    margin-bottom: 15px;
}

.glomavis-product-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glomavis-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Sale Badge */
.glomavis-sale-badge {
    position: absolute;
    /* Position, padding, border-radius, colors, and typography controlled by Elementor */
    text-transform: uppercase;
    z-index: 2;
}

/* Product Content */
.glomavis-product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    transform: none !important;
}

.glomavis-product-title {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    transform: none !important;
}

.glomavis-product-title a {
    text-decoration: none;
    transition: color 0.3s ease;
    transform: none !important;
    display: block;
}

.glomavis-product-rating {
    margin-bottom: 8px;
    transform: none !important;
}

.glomavis-product-rating .star-rating {
    font-size: 14px;
}

.glomavis-product-price {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    transform: none !important;
}

.glomavis-product-price del {
    opacity: 0.6;
    font-weight: normal;
    font-size: 14px;
    margin-right: 5px;
}

.glomavis-product-price ins {
    text-decoration: none;
}

.glomavis-product-actions {
    margin-top: auto;
    transform: none !important;
    display: flex;
    width: 100%;
}

/* Button visibility control - Fix pointer events to allow hover on entire card */
.glomavis-product-actions.button-visibility-hover .glomavis-cart-button,
.glomavis-product-image.button-position-over_image .glomavis-product-actions.button-visibility-hover .glomavis-cart-button,
.glomavis-product-image.button-position-over_image_center .glomavis-product-actions.button-visibility-hover .glomavis-cart-button {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.glomavis-product-card:hover .glomavis-product-actions.button-visibility-hover .glomavis-cart-button,
.glomavis-carousel-slide:hover .glomavis-product-actions.button-visibility-hover .glomavis-cart-button {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure card hover area covers the whole card */
.glomavis-product-card,
.glomavis-carousel-slide {
    position: relative;
}

/* Button positioning over image */
.glomavis-product-image {
    position: relative;
}

.glomavis-product-image.button-position-over_image .glomavis-product-actions,
.glomavis-product-image.button-position-over_image_center .glomavis-product-actions {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 15px;
    z-index: 5;
    margin-top: 0;
}

.glomavis-product-image.button-position-over_image .glomavis-product-actions {
    bottom: 15px;
}

.glomavis-product-image.button-position-over_image_center .glomavis-product-actions {
    top: 50%;
    transform: translateY(-50%);
}

.glomavis-product-actions .button {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    transform: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-weight: 500;
}

.glomavis-product-actions .button:hover {
    transform: none !important;
}

/* Custom Cart Button Styles */
.glomavis-cart-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

/* Button width handling */
.glomavis-product-actions.button-width-full .glomavis-cart-button {
    width: 100%;
}

.glomavis-product-actions.button-width-auto .glomavis-cart-button {
    width: auto;
}

/* Custom width is handled by Elementor inline styles on .glomavis-cart-button */

/* Fix for button alignment when width is not 100% */
.glomavis-product-actions {
    flex-wrap: wrap;
}

/* Default full width, but allow inline styles to override */
.glomavis-product-actions .glomavis-cart-button:not([style*="width"]):not([style*="max-width"]) {
    width: 100%;
}

.glomavis-cart-button.icon-left {
    flex-direction: row;
}

.glomavis-cart-button.icon-right {
    flex-direction: row-reverse;
}

.glomavis-cart-button.icon-only {
    padding: 10px !important;
    width: auto;
    min-width: 40px;
}

.glomavis-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.glomavis-cart-icon svg {
    display: block;
}

.glomavis-cart-text {
    line-height: 1;
}

/* Loading state */
.glomavis-cart-button.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Out of stock */
.glomavis-cart-button.product_out_of_stock {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Carousel Arrows */
.glomavis-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    outline: none;
}

.glomavis-carousel-prev {
    left: -25px;
}

.glomavis-carousel-next {
    right: -25px;
}

.glomavis-carousel-arrow:hover:not(:disabled) {
    transform: translateY(-50%) !important; /* Keep in place on hover */
}

.glomavis-carousel-arrow:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
    pointer-events: none; /* Prevent interaction when disabled */
}

.glomavis-carousel-arrow svg {
    display: block;
}

/* Carousel Dots */
.glomavis-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.glomavis-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cccccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.glomavis-carousel-dot.active {
    background: #333333;
    width: 12px;
    height: 12px;
}

.glomavis-carousel-dot:hover {
    background: #666666;
}

/* Editor notice */
.glomavis-notice {
    padding: 20px;
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    text-align: center;
}

/* Force Elementor widget container to behave */
.elementor-widget-glomavis-product-carousel {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.elementor-widget-glomavis-product-carousel .elementor-widget-container {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    position: relative;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .glomavis-carousel-prev {
        left: 10px;
    }
    
    .glomavis-carousel-next {
        right: 10px;
    }
    
    .glomavis-product-title {
        font-size: 15px;
    }
    
    .glomavis-product-price {
        font-size: 16px;
    }
}

/* Quick View Button */
.glomavis-quick-view-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 40px;
    min-height: 40px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 8px;
    cursor: pointer;
}

.glomavis-quick-view-button:hover {
    background-color: #000;
    color: #fff;
}

.glomavis-quick-view-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
}

.glomavis-quick-view-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

/* Quick View Popup */
.glomavis-quick-view-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.glomavis-quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.glomavis-quick-view-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, -45%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.glomavis-quick-view-content.glassmorphism {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glomavis-quick-view-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    width: 50px !important;
    height: 50px !important;
    border: none !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    z-index: 999999 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.glomavis-quick-view-close:focus {
    outline: none !important;
    border: 2px solid #000 !important;
}

.glomavis-quick-view-close:hover {
    background: #f5f5f5 !important;
    border-color: #000 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.glomavis-quick-view-close svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #333 !important;
    stroke-width: 2.5 !important;
    transition: all 0.3s ease !important;
    fill: none !important;
}

.glomavis-quick-view-close:hover svg {
    stroke: #000 !important;
}

.glomavis-quick-view-loading {
    text-align: center;
    padding: 60px 20px;
}

.glomavis-quick-view-loading .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glomavis-quick-view-product {
    display: flex;
    gap: 40px;
}

.glomavis-quick-view-images {
    flex: 1;
}

.glomavis-quick-view-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.glomavis-quick-view-summary {
    flex: 1;
}

.glomavis-quick-view-summary .product-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    line-height: 1.3;
}

.glomavis-quick-view-summary .product-rating {
    margin-bottom: 15px;
}

.glomavis-quick-view-summary .product-price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.glomavis-quick-view-summary .product-short-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.glomavis-quick-view-summary .product-add-to-cart {
    margin-bottom: 20px;
}

.glomavis-quick-view-summary .glomavis-view-full-details {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.glomavis-quick-view-summary .glomavis-view-full-details:hover {
    background: #e0e0e0;
}

body.glomavis-quick-view-open {
    overflow: hidden;
}

/* Mobile Responsive Styles for Quick View Popup */
@media (max-width: 767px) {
    .glomavis-quick-view-content {
        width: 95%;
        max-width: none;
        max-height: 95vh;
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .glomavis-quick-view-close {
        top: 10px !important;
        right: 10px !important;
        width: 44px !important;
        height: 44px !important;
    }
    
    .glomavis-quick-view-close svg {
        width: 22px !important;
        height: 22px !important;
    }
    
    .glomavis-quick-view-product {
        flex-direction: column;
        gap: 20px;
    }
    
    .glomavis-quick-view-images,
    .glomavis-quick-view-summary {
        flex: none;
        width: 100%;
    }
    
    .glomavis-quick-view-summary .product-title {
        font-size: 20px;
        margin: 0 0 12px 0;
    }
    
    .glomavis-quick-view-summary .product-price {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .glomavis-quick-view-summary .product-short-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .glomavis-quick-view-summary .product-add-to-cart {
        margin-bottom: 15px;
    }
    
    .glomavis-quick-view-summary .glomavis-view-full-details {
        display: block;
        text-align: center;
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .glomavis-quick-view-content {
        width: 92%;
        max-width: 700px;
        padding: 30px;
    }
    
    .glomavis-quick-view-product {
        gap: 30px;
    }
    
    .glomavis-quick-view-summary .product-title {
        font-size: 22px;
    }
    
    .glomavis-quick-view-summary .product-price {
        font-size: 22px;
    }
}

/* WooCommerce Notices - Force Hide All Messages */
.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
div.woocommerce-message,
div.woocommerce-error,
div.woocommerce-info {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Hide notices wrapper */
.woocommerce > .woocommerce-notices-wrapper,
.woocommerce-notices-wrapper {
    display: none !important;
    visibility: hidden !important;
}

/* Additional specific selectors */
.glomavis-carousel-container ~ .woocommerce-notices-wrapper,
.glomavis-carousel-container ~ .woocommerce-message,
.glomavis-carousel-container ~ .woocommerce-error,
.glomavis-carousel-container ~ .woocommerce-info,
body .woocommerce-message,
body .woocommerce-error,
body .woocommerce-info {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Styling for notices (if ever enabled by user) */
.show-woocommerce-notices .woocommerce-notices-wrapper {
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.show-woocommerce-notices .woocommerce-message,
.show-woocommerce-notices .woocommerce-error,
.show-woocommerce-notices .woocommerce-info {
    position: relative;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    left: auto !important;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
    align-items: center;
    animation: slideInDown 0.3s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.show-woocommerce-notices .woocommerce-message {
    background-color: #f0fdf4;
    border-left: 4px solid #22c55e;
    color: #166534;
}

.show-woocommerce-notices .woocommerce-error {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.show-woocommerce-notices .woocommerce-info {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.show-woocommerce-notices .woocommerce-message::before,
.show-woocommerce-notices .woocommerce-error::before,
.show-woocommerce-notices .woocommerce-info::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.show-woocommerce-notices .woocommerce-message a.button,
.show-woocommerce-notices .woocommerce-error a.button,
.show-woocommerce-notices .woocommerce-info a.button {
    margin-left: auto;
    padding: 8px 16px;
    background: currentColor;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.show-woocommerce-notices .woocommerce-message a.button:hover,
.show-woocommerce-notices .woocommerce-error a.button:hover,
.show-woocommerce-notices .woocommerce-info a.button:hover {
    opacity: 0.8;
}

/* Responsive Quick View */
@media (max-width: 767px) {
    .glomavis-quick-view-content {
        width: 95%;
        padding: 20px;
        max-height: 95vh;
    }
    
    .glomavis-quick-view-product {
        flex-direction: column;
        gap: 20px;
    }
    
    .glomavis-quick-view-summary .product-title {
        font-size: 20px;
    }
    
    .glomavis-quick-view-summary .product-price {
        font-size: 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .glomavis-carousel-container {
        padding: 10px 0;
    }
    
    .glomavis-carousel-prev {
        left: 5px;
    }
    
    .glomavis-carousel-next {
        right: 5px;
    }
    
    .glomavis-product-title {
        font-size: 14px;
    }
    
    .glomavis-product-price {
        font-size: 16px;
    }
    
    .glomavis-sale-badge {
        /* All properties controlled by Elementor responsive controls */
    }
}

/* ========================================
   Product Tabs Widget Styles
   ======================================== */

.glomavis-product-tabs-widget {
    width: 100%;
    max-width: 100%;
}

/* Tabs Navigation */
.glomavis-tabs-navigation,
.glomavis-product-tabs-widget .wc-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.glomavis-tabs-navigation li,
.glomavis-product-tabs-widget .wc-tabs li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.glomavis-tabs-navigation li a,
.glomavis-product-tabs-widget .wc-tabs li a {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.glomavis-tabs-navigation li.active a,
.glomavis-product-tabs-widget .wc-tabs li.active a {
    position: relative;
    z-index: 1;
    margin-bottom: -1px;
}

/* Tab Content */
.glomavis-tabs-content-wrapper {
    width: 100%;
}

.glomavis-tab-content,
.glomavis-product-tabs-widget .woocommerce-Tabs-panel {
    display: none;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.glomavis-tab-content.active,
.glomavis-product-tabs-widget .woocommerce-Tabs-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WooCommerce Reviews Section */
.glomavis-product-tabs-widget #reviews {
    width: 100%;
}

.glomavis-product-tabs-widget #comments {
    margin-bottom: 30px;
}

.glomavis-product-tabs-widget .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.glomavis-product-tabs-widget .commentlist .review,
.glomavis-product-tabs-widget .commentlist .comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
    list-style: none;
}

.glomavis-product-tabs-widget .commentlist .review:last-child,
.glomavis-product-tabs-widget .commentlist .comment:last-child {
    border-bottom: none;
}

.glomavis-product-tabs-widget .comment_container,
.glomavis-product-tabs-widget .comment-text {
    padding: 0;
    margin: 0;
}

.glomavis-product-tabs-widget .star-rating {
    display: inline-flex;
    position: relative;
    font-size: 14px;
    line-height: 1;
    color: #ffa500;
    margin-bottom: 10px;
}

.glomavis-product-tabs-widget .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.glomavis-product-tabs-widget .comment-text .meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.glomavis-product-tabs-widget .comment-text .description {
    margin-top: 10px;
    line-height: 1.6;
}

.glomavis-product-tabs-widget .woocommerce-noreviews {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Review Form Styles - FULL CONTROL */
.glomavis-product-tabs-widget #review_form_wrapper,
.glomavis-product-tabs-widget #review_form,
.glomavis-product-tabs-widget #respond,
.glomavis-product-tabs-widget #commentform,
.glomavis-product-tabs-widget .comment-form {
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Hide the dropdown rating selector - only use stars */
.glomavis-product-tabs-widget .comment-form-rating select,
.glomavis-product-tabs-widget .comment-form-rating select#rating,
.glomavis-product-tabs-widget #rating,
.glomavis-product-tabs-widget .comment-form-rating .select2-container,
.glomavis-product-tabs-widget select[name="rating"],
.glomavis-product-tabs-widget #respond select#rating,
.glomavis-product-tabs-widget #commentform select,
.glomavis-product-tabs-widget .comment-form select,
.woocommerce-Tabs-panel--reviews select#rating,
#reviews select#rating,
.glomavis-product-tabs-widget p.comment-form-rating select {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Keep the rating label visible */
.glomavis-product-tabs-widget .comment-form-rating {
    margin-bottom: 20px !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

.glomavis-product-tabs-widget .comment-reply-title,
.glomavis-product-tabs-widget #reply-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    display: block !important;
}

.glomavis-product-tabs-widget .comment-form-comment,
.glomavis-product-tabs-widget .comment-form-author,
.glomavis-product-tabs-widget .comment-form-email,
.glomavis-product-tabs-widget #commentform .comment-form-author,
.glomavis-product-tabs-widget #commentform .comment-form-email,
.glomavis-product-tabs-widget #commentform .comment-form-comment {
    margin-bottom: 20px !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

.glomavis-product-tabs-widget .comment-form-rating label,
.glomavis-product-tabs-widget .comment-form-comment label,
.glomavis-product-tabs-widget .comment-form-author label,
.glomavis-product-tabs-widget .comment-form-email label,
.glomavis-product-tabs-widget #commentform label {
    display: block !important;
    margin-bottom: 8px;
    font-weight: 600;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
    color: #333;
    font-size: 14px;
}

.glomavis-product-tabs-widget .comment-form-rating select,
.glomavis-product-tabs-widget .comment-form-rating select#rating,
.glomavis-product-tabs-widget #rating {
    display: block !important;
    width: 100% !important;
    max-width: 300px !important;
    padding: 10px 15px !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #333 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
    height: auto !important;
    min-height: 40px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.glomavis-product-tabs-widget .comment-form-comment textarea,
.glomavis-product-tabs-widget .comment-form-author input,
.glomavis-product-tabs-widget .comment-form-author input[type="text"],
.glomavis-product-tabs-widget .comment-form-email input,
.glomavis-product-tabs-widget .comment-form-email input[type="email"],
.glomavis-product-tabs-widget #commentform textarea,
.glomavis-product-tabs-widget #commentform input[type="text"],
.glomavis-product-tabs-widget #commentform input[type="email"],
.glomavis-product-tabs-widget #author,
.glomavis-product-tabs-widget #email,
.glomavis-product-tabs-widget #comment {
    display: block !important;
    width: 100% !important;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff;
    background-color: #fff;
    color: #333;
    box-sizing: border-box !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    cursor: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    height: auto !important;
    min-height: 44px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.glomavis-product-tabs-widget .comment-form-comment textarea:focus,
.glomavis-product-tabs-widget .comment-form-author input:focus,
.glomavis-product-tabs-widget .comment-form-email input:focus,
.glomavis-product-tabs-widget .comment-form-rating select:focus,
.glomavis-product-tabs-widget #commentform input:focus,
.glomavis-product-tabs-widget #commentform textarea:focus,
.glomavis-product-tabs-widget #commentform select:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
    border-color: #0073aa;
    background: #fff;
}

.glomavis-product-tabs-widget .comment-form-comment textarea,
.glomavis-product-tabs-widget #commentform textarea,
.glomavis-product-tabs-widget #comment {
    min-height: 120px !important;
    resize: vertical !important;
}

.glomavis-product-tabs-widget .form-submit {
    margin-top: 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

.glomavis-product-tabs-widget .form-submit input[type="submit"],
.glomavis-product-tabs-widget .form-submit .submit,
.glomavis-product-tabs-widget #commentform input[type="submit"] {
    display: inline-block !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
    font-style: inherit !important;
}

/* Additional Information Table */
.glomavis-product-tabs-widget .woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
}

.glomavis-product-tabs-widget .woocommerce-product-attributes tr {
    border-bottom: 1px solid #e5e5e5;
}

.glomavis-product-tabs-widget .woocommerce-product-attributes th,
.glomavis-product-tabs-widget .woocommerce-product-attributes td {
    padding: 12px;
    text-align: left;
}

.glomavis-product-tabs-widget .woocommerce-product-attributes th {
    font-weight: 600;
    width: 30%;
}

/* Responsive Tabs */
@media (max-width: 767px) {
    .glomavis-tabs-navigation,
    .glomavis-product-tabs-widget .wc-tabs {
        flex-direction: column;
    }
    
    .glomavis-tabs-navigation li,
    .glomavis-product-tabs-widget .wc-tabs li {
        width: 100%;
    }
    
    .glomavis-tabs-navigation li a,
    .glomavis-product-tabs-widget .wc-tabs li a {
        width: 100%;
        border: 1px solid #e5e5e5;
        margin-bottom: 5px;
        border-radius: 4px;
    }
    
    .glomavis-tabs-navigation li.active a,
    .glomavis-product-tabs-widget .wc-tabs li.active a {
        margin-bottom: 15px;
    }
    
    .glomavis-product-tabs-widget .comment-form-rating select,
    .glomavis-product-tabs-widget .comment-form-author input,
    .glomavis-product-tabs-widget .comment-form-email input {
        max-width: 100% !important;
    }
}

/* Review Form Styles - FORCE VISIBILITY */
#review_form_wrapper,
#review_form,
#respond,
#commentform {
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
}

.comment-form-rating {
    margin-bottom: 20px !important;
    display: block !important;
    width: 100% !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

.comment-form-rating label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    visibility: visible !important;
    pointer-events: none !important;
    color: #333 !important;
}

.comment-form-rating select,
.comment-form-rating select#rating {
    display: block !important;
    width: 100% !important;
    max-width: 300px !important;
    padding: 10px 15px !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #333 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    cursor: pointer !important;
    height: auto !important;
    min-height: 40px !important;
}

.comment-form-comment,
.comment-form-author,
.comment-form-email,
#commentform .comment-form-author,
#commentform .comment-form-email,
#commentform .comment-form-comment {
    margin-bottom: 20px !important;
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
#commentform label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
    color: #333 !important;
    font-size: 14px !important;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-author input[type="text"],
.comment-form-email input,
.comment-form-email input[type="email"],
#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#author,
#email,
#comment {
    display: block !important;
    width: 100% !important;
    padding: 10px 15px !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #333 !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    cursor: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    height: auto !important;
    min-height: 44px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-rating select:focus,
#commentform input:focus,
#commentform textarea:focus,
#commentform select:focus {
    outline: 2px solid #0073aa !important;
    outline-offset: 2px !important;
    border-color: #0073aa !important;
    background: #fff !important;
}

.comment-form-comment textarea,
#commentform textarea,
#comment {
    min-height: 120px !important;
    resize: vertical !important;
}

.form-submit {
    margin-top: 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
}

.form-submit input[type="submit"],
.form-submit .submit,
#commentform input[type="submit"] {
    display: inline-block !important;
    
    cursor: pointer !important;
    transition: background 0.3s ease, color 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Star Rating Display */
.star-rating {
    display: inline-flex;
    position: relative;
    font-size: 14px;
    line-height: 1;
    color: #ffa500;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

/* Review List */
.commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.commentlist .review {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.commentlist .review:last-child {
    border-bottom: none;
}

.comment_container {
    padding: 0;
}

.comment-text {
    padding: 0;
}

.comment-text .meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.comment-text .description {
    margin-top: 10px;
    line-height: 1.6;
}

.woocommerce-noreviews {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Additional Information Table */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-product-attributes tr {
    border-bottom: 1px solid #e5e5e5;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 12px;
    text-align: left;
}

.woocommerce-product-attributes th {
    font-weight: 600;
    width: 30%;
}

/* Responsive Tabs */
@media (max-width: 767px) {
    .glomavis-tabs-navigation {
        flex-direction: column;
    }
    
    .glomavis-tab-title {
        width: 100%;
        border: 1px solid #e5e5e5;
        margin-bottom: 5px;
        border-radius: 4px;
    }
    
    .glomavis-tab-title.active {
        margin-bottom: 15px;
    }
    
    .comment-form-rating select,
    .comment-form-author input,
    .comment-form-email input {
        max-width: 100% !important;
    }
}

/* ========================================
   Glomavis Custom Shape Dividers
   ======================================== */

/* Elementor applies color to .elementor-shape-fill class - this is handled by Elementor's core CSS */
/* No custom CSS needed - Elementor automatically styles shapes with class="elementor-shape-fill" */

/* ========================================
   GLOMAVIS REVIEW FORM WIDGET
   ======================================== */

.glomavis-review-form-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.glomavis-review-form-container[data-display-type="inline"] {
    max-width: 800px;
}

.glomavis-review-form-container[data-display-type="popup"] {
    max-width: 100%;
}

/* Popup Trigger Button */
.glomavis-review-popup-trigger {
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2271b1;
    color: #fff;
    display: inline-block;
}

.glomavis-review-popup-trigger:hover {
    opacity: 0.9;
}

/* Popup Overlay */
.glomavis-review-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Popup Container */
.glomavis-review-popup {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: glomavis-popup-slide-in 0.3s ease-out;
}

@keyframes glomavis-popup-slide-in {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Popup Close Button */
.glomavis-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.glomavis-popup-close:hover {
    background: #e0e0e0;
}

.glomavis-popup-close svg {
    width: 24px;
    height: 24px;
    color: #333;
    display: block;
}

/* Popup Content */
.glomavis-popup-content {
    padding: 30px;
}

.glomavis-review-form-wrapper {
    position: relative;
}

.glomavis-review-form-title {
    margin-bottom: 15px;
}

.glomavis-review-form-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

.glomavis-review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glomavis-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glomavis-form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.glomavis-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glomavis-form-label {
    display: block;
    font-weight: 500;
}

.glomavis-form-label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.glomavis-form-input,
.glomavis-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.glomavis-form-input:focus,
.glomavis-form-textarea:focus {
    outline: none;
    border-color: #2271b1;
}

.glomavis-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Star Rating */
.glomavis-rating-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.glomavis-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.glomavis-rating-input input[type="radio"] {
    display: none;
}

.glomavis-rating-input label {
    cursor: pointer;
    font-size: 30px;
    color: #ddd;
    transition: color 0.2s ease;
}

/* When a star is checked, that star and all following stars (to the left visually) become gold */
.glomavis-rating-input input[type="radio"]:checked ~ label {
    color: #ffc107;
}

/* Hover: light up hovered star and all following stars */
.glomavis-rating-input label:hover,
.glomavis-rating-input label:hover ~ label {
    color: #ffc107;
}

/* Old class name for backward compatibility */
.glomavis-rating-stars {
    display: flex;
    gap: 5px;
    direction: ltr;
}

.glomavis-rating-stars input[type="radio"] {
    display: none;
}

.glomavis-rating-stars label {
    cursor: pointer;
    font-size: 30px;
    color: #ddd;
    transition: color 0.2s ease;
}

.glomavis-rating-stars input[type="radio"]:checked ~ label {
    color: #ffc107;
}

.glomavis-rating-stars label:hover,
.glomavis-rating-stars label:hover ~ label {
    color: #ffc107;
}

/* File Upload */
.glomavis-file-upload {
    position: relative;
    display: inline-block;
}

.glomavis-file-input {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.glomavis-file-label {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    border: 1px dashed #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glomavis-file-label:hover {
    background: #e9e9e9;
    border-color: #999;
}

.glomavis-file-name {
    margin-left: 10px;
    color: #666;
    font-size: 14px;
}

/* Submit Button */
.glomavis-submit-button {
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.glomavis-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.glomavis-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.glomavis-review-form-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.glomavis-review-form-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.glomavis-review-form-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.glomavis-review-form-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Loader */
.glomavis-form-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.glomavis-form-loader.active {
    display: flex;
}

.glomavis-loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: glomavis-spin 1s linear infinite;
}

@keyframes glomavis-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 767px) {
    .glomavis-form-row.two-columns {
        grid-template-columns: 1fr;
    }
    
    .glomavis-rating-stars label {
        font-size: 24px;
    }
    
    .glomavis-submit-button {
        width: 100%;
        align-self: stretch;
    }
}

/* Product Category CTA Cards Widget */
.glomavis-product-category-cta {
    width: 100%;
}

.glomavis-product-category-cta-header {
    margin-bottom: 34px;
    max-width: 820px;
}

.glomavis-product-category-cta-eyebrow {
    align-items: center;
    color: #4e6844;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 10px;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.glomavis-product-category-cta-eyebrow::before {
    background-color: currentColor;
    content: "";
    display: block;
    height: 2px;
    width: 34px;
}

.glomavis-product-category-cta-heading {
    color: #151515;
    font-size: 54px;
    line-height: 1.04;
    margin: 0;
}

.glomavis-product-category-cta-intro {
    color: #655f55;
    font-size: 18px;
    line-height: 1.55;
    margin: 18px 0 0;
}

.glomavis-product-category-cta-grid {
    --glomavis-product-category-cta-columns: 3;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(var(--glomavis-product-category-cta-columns), minmax(0, 1fr));
}

.glomavis-product-category-cta-card {
    --glomavis-product-category-cta-card-bg: #151515;
    --glomavis-product-category-cta-icon-size: 46px;
    --glomavis-product-category-cta-image-hover-opacity: 0.88;
    --glomavis-product-category-cta-image-hover-scale: 1.06;
    --glomavis-product-category-cta-image-opacity: 0.74;
    --glomavis-product-category-cta-overlay-end: rgba(12, 14, 12, 0.78);
    --glomavis-product-category-cta-overlay-start: rgba(12, 14, 12, 0.18);
    --glomavis-product-category-cta-title-color: #ffffff;
    --glomavis-product-category-cta-description-color: rgba(255, 255, 255, 0.82);
    background-color: var(--glomavis-product-category-cta-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    min-height: 310px;
    min-width: 0;
    overflow: hidden;
    padding: 28px;
    position: relative;
    text-decoration: none;
    touch-action: manipulation;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.glomavis-product-category-cta-card.is-featured {
    --glomavis-product-category-cta-card-bg: #4e6844;
    --glomavis-product-category-cta-overlay-end: rgba(26, 42, 21, 0.82);
    --glomavis-product-category-cta-overlay-start: rgba(26, 42, 21, 0.2);
}

.glomavis-product-category-cta-card:hover,
.glomavis-product-category-cta-card:focus {
    color: #fff;
    text-decoration: none;
}

.glomavis-product-category-cta-card:focus {
    outline: none;
}

.glomavis-product-category-cta-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(85, 113, 74, 0.35);
}

.glomavis-product-category-cta-image,
.glomavis-product-category-cta-overlay {
    inset: 0;
    position: absolute;
}

.glomavis-product-category-cta-image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: var(--glomavis-product-category-cta-image-opacity);
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 0;
}

.glomavis-product-category-cta-overlay {
    background: linear-gradient(180deg, var(--glomavis-product-category-cta-overlay-start) 0%, var(--glomavis-product-category-cta-overlay-end) 100%);
    z-index: 1;
}

.glomavis-product-category-cta-card.is-featured .glomavis-product-category-cta-overlay {
    background: linear-gradient(180deg, var(--glomavis-product-category-cta-overlay-start) 0%, var(--glomavis-product-category-cta-overlay-end) 100%);
}

.glomavis-product-category-cta-card:hover .glomavis-product-category-cta-image {
    opacity: var(--glomavis-product-category-cta-image-hover-opacity);
    transform: scale(var(--glomavis-product-category-cta-image-hover-scale));
}

.glomavis-product-category-cta-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    position: relative;
    z-index: 2;
}

.glomavis-product-category-cta-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.glomavis-product-category-cta-count {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
    padding: 8px 11px;
}

.glomavis-product-category-cta-title {
    color: var(--glomavis-product-category-cta-title-color);
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    max-width: 13ch;
    overflow-wrap: anywhere;
}

.glomavis-product-category-cta-description {
    color: var(--glomavis-product-category-cta-description-color);
    display: block;
    font-size: 16px;
    line-height: 1.55;
    margin-top: 14px;
    max-width: 30ch;
}

.glomavis-product-category-cta-action {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-top: auto;
    min-height: 46px;
}

.glomavis-product-category-cta-label {
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    min-width: 0;
}

.glomavis-product-category-cta-icon {
    align-items: center;
    background-color: #fff;
    border-radius: 999px;
    color: #151515;
    display: inline-flex;
    flex: 0 0 var(--glomavis-product-category-cta-icon-size);
    height: var(--glomavis-product-category-cta-icon-size);
    justify-content: center;
    line-height: 1;
    min-height: 44px;
    min-width: 44px;
    transition: transform 0.25s ease;
    width: var(--glomavis-product-category-cta-icon-size);
}

.glomavis-product-category-cta-card:hover .glomavis-product-category-cta-icon {
    transform: translateX(3px);
}

.glomavis-product-category-cta-icon svg,
.glomavis-product-category-cta-icon i {
    display: block;
    height: 42%;
    width: 42%;
}

.glomavis-product-category-cta-icon svg,
.glomavis-product-category-cta-icon svg * {
    fill: currentColor;
}

.glomavis-product-category-cta-empty {
    background: #f3efe6;
    border: 1px dashed #d8d2c4;
    border-radius: 12px;
    color: #655f55;
    padding: 20px;
}

@media (max-width: 1024px) {
    .glomavis-product-category-cta-grid {
        --glomavis-product-category-cta-columns: 2;
    }

    .glomavis-product-category-cta-card {
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .glomavis-product-category-cta-grid {
        --glomavis-product-category-cta-columns: 1;
    }

    .glomavis-product-category-cta-heading {
        font-size: 38px;
    }

    .glomavis-product-category-cta-card {
        min-height: 240px;
        padding: 24px 22px;
    }

    .glomavis-product-category-cta-title {
        max-width: 18ch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glomavis-product-category-cta-card,
    .glomavis-product-category-cta-image,
    .glomavis-product-category-cta-icon {
        transition: none !important;
    }
}

/* Container SVG Decoration Extension */
@property --glomavis-container-svg-enabled {
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

.glomavis-has-container-svg-decoration {
    --glomavis-container-svg-background-color: var(--glomavis-container-svg-color);
    --glomavis-container-svg-background-image: none;
    --glomavis-container-svg-bottom: var(--glomavis-container-svg-y);
    --glomavis-container-svg-size: 160px;
    --glomavis-container-svg-x: -45px;
    --glomavis-container-svg-y: -55px;
    --glomavis-container-svg-rotate: 0deg;
    --glomavis-container-svg-opacity: 0.35;
    --glomavis-container-svg-color: #d8d8c8;
    --glomavis-container-svg-left: auto;
    --glomavis-container-svg-mask-image: var(--glomavis-container-svg-url);
    --glomavis-container-svg-right: var(--glomavis-container-svg-x);
    --glomavis-container-svg-top: auto;
    --glomavis-container-svg-transform: rotate(var(--glomavis-container-svg-rotate));
    --glomavis-container-svg-z: 0;
    --glomavis-container-svg-blend: normal;
    isolation: isolate;
    position: relative;
}

.glomavis-has-container-svg-decoration > .e-con-inner,
.glomavis-has-container-svg-decoration > .elementor-widget,
.glomavis-has-container-svg-decoration > .e-con {
    position: relative;
    z-index: var(--glomavis-container-svg-content-z, 1);
}

.glomavis-container-svg-decoration {
    background-color: var(--glomavis-container-svg-background-color);
    background-image: var(--glomavis-container-svg-background-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    bottom: var(--glomavis-container-svg-bottom);
    display: block;
    height: var(--glomavis-container-svg-size);
    left: var(--glomavis-container-svg-left);
    mix-blend-mode: var(--glomavis-container-svg-blend);
    opacity: var(--glomavis-container-svg-opacity);
    pointer-events: none;
    position: absolute;
    right: var(--glomavis-container-svg-right);
    top: var(--glomavis-container-svg-top);
    transform: var(--glomavis-container-svg-transform);
    width: var(--glomavis-container-svg-size);
    z-index: var(--glomavis-container-svg-z);
    -webkit-mask-image: var(--glomavis-container-svg-mask-image);
    mask-image: var(--glomavis-container-svg-mask-image);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.glomavis-container-svg-mode-mask {
    --glomavis-container-svg-background-color: var(--glomavis-container-svg-color);
    --glomavis-container-svg-background-image: none;
    --glomavis-container-svg-mask-image: var(--glomavis-container-svg-url);
}

.glomavis-container-svg-mode-image {
    --glomavis-container-svg-background-color: transparent;
    --glomavis-container-svg-background-image: var(--glomavis-container-svg-url);
    --glomavis-container-svg-mask-image: none;
}

.glomavis-container-svg-position-top-left {
    --glomavis-container-svg-top: var(--glomavis-container-svg-y);
    --glomavis-container-svg-right: auto;
    --glomavis-container-svg-bottom: auto;
    --glomavis-container-svg-left: var(--glomavis-container-svg-x);
    --glomavis-container-svg-transform: rotate(var(--glomavis-container-svg-rotate));
}

.glomavis-container-svg-position-top-right {
    --glomavis-container-svg-top: var(--glomavis-container-svg-y);
    --glomavis-container-svg-right: var(--glomavis-container-svg-x);
    --glomavis-container-svg-bottom: auto;
    --glomavis-container-svg-left: auto;
    --glomavis-container-svg-transform: rotate(var(--glomavis-container-svg-rotate));
}

.glomavis-container-svg-position-bottom-left {
    --glomavis-container-svg-top: auto;
    --glomavis-container-svg-right: auto;
    --glomavis-container-svg-bottom: var(--glomavis-container-svg-y);
    --glomavis-container-svg-left: var(--glomavis-container-svg-x);
    --glomavis-container-svg-transform: rotate(var(--glomavis-container-svg-rotate));
}

.glomavis-container-svg-position-bottom-right {
    --glomavis-container-svg-top: auto;
    --glomavis-container-svg-right: var(--glomavis-container-svg-x);
    --glomavis-container-svg-bottom: var(--glomavis-container-svg-y);
    --glomavis-container-svg-left: auto;
    --glomavis-container-svg-transform: rotate(var(--glomavis-container-svg-rotate));
}

.glomavis-container-svg-position-center {
    --glomavis-container-svg-top: 50%;
    --glomavis-container-svg-right: auto;
    --glomavis-container-svg-bottom: auto;
    --glomavis-container-svg-left: 50%;
    --glomavis-container-svg-transform: translate(calc(-50% + var(--glomavis-container-svg-x)), calc(-50% + var(--glomavis-container-svg-y))) rotate(var(--glomavis-container-svg-rotate));
}

/* Rental Product Card Widget */
.glomavis-rental-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #151515;
    position: relative;
}

.glomavis-rental-card-media {
    position: relative;
    z-index: 1;
}

.glomavis-rental-card-body,
.glomavis-rental-card-footer {
    position: relative;
    z-index: 1;
}

.glomavis-rental-card-decoration {
    --glomavis-rental-decoration-size: 150px;
    --glomavis-rental-decoration-x: -42px;
    --glomavis-rental-decoration-y: -54px;
    --glomavis-rental-decoration-rotate: 0deg;
    color: #d8d8c8;
    display: block;
    height: var(--glomavis-rental-decoration-size);
    line-height: 1;
    opacity: 0.35;
    pointer-events: none;
    position: absolute;
    width: var(--glomavis-rental-decoration-size);
    z-index: 0;
}

.glomavis-rental-card-decoration svg,
.glomavis-rental-card-decoration i {
    display: block;
    height: 100%;
    width: 100%;
}

.glomavis-rental-card-decoration svg,
.glomavis-rental-card-decoration svg * {
    color: currentColor;
    fill: currentColor !important;
    stroke: currentColor !important;
}

.glomavis-rental-card-decoration i {
    color: currentColor;
    font-size: var(--glomavis-rental-decoration-size);
    line-height: 1;
}

.glomavis-rental-card-decoration.position-top-left {
    left: var(--glomavis-rental-decoration-x);
    top: var(--glomavis-rental-decoration-y);
    transform: rotate(var(--glomavis-rental-decoration-rotate));
}

.glomavis-rental-card-decoration.position-top-right {
    right: var(--glomavis-rental-decoration-x);
    top: var(--glomavis-rental-decoration-y);
    transform: rotate(var(--glomavis-rental-decoration-rotate));
}

.glomavis-rental-card-decoration.position-bottom-left {
    bottom: var(--glomavis-rental-decoration-y);
    left: var(--glomavis-rental-decoration-x);
    transform: rotate(var(--glomavis-rental-decoration-rotate));
}

.glomavis-rental-card-decoration.position-bottom-right {
    bottom: var(--glomavis-rental-decoration-y);
    right: var(--glomavis-rental-decoration-x);
    transform: rotate(var(--glomavis-rental-decoration-rotate));
}

.glomavis-rental-card-decoration.position-center {
    left: 50%;
    top: 50%;
    transform: translate(calc(-50% + var(--glomavis-rental-decoration-x)), calc(-50% + var(--glomavis-rental-decoration-y))) rotate(var(--glomavis-rental-decoration-rotate));
}

.glomavis-rental-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.glomavis-rental-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glomavis-rental-card-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.glomavis-rental-card-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}

.glomavis-rental-card-carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.glomavis-rental-card-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glomavis-rental-card-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.glomavis-rental-card-carousel-arrow:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.04);
}

.glomavis-rental-card-carousel-arrow span {
    display: block;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-1px);
}

.glomavis-rental-card-carousel-arrow-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.glomavis-rental-card-carousel-prev {
    left: 10px;
}

.glomavis-rental-card-carousel-next {
    right: 10px;
}

.glomavis-rental-card-carousel-dots {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}

.glomavis-rental-card-carousel-dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.75;
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.glomavis-rental-card-carousel-dot.is-active {
    opacity: 1;
    transform: scale(1.25);
}

.glomavis-rental-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: calc(100% - 24px);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.glomavis-rental-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glomavis-rental-card-availability {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.glomavis-rental-card-availability::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.glomavis-rental-card-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.glomavis-rental-card-subtitle,
.glomavis-rental-card-description {
    margin: 0;
    line-height: 1.5;
}

.glomavis-rental-card-more-button {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    padding: 0;
    margin-top: 4px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    pointer-events: auto;
}

.glomavis-rental-card-more-button:hover {
    opacity: 0.8;
}

.glomavis-rental-card-more-button.is-mini-button {
    justify-content: center;
    align-self: auto;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    margin-top: 0;
    border: 1px solid currentColor;
    border-radius: 999px;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.glomavis-rental-card-more-button-icon,
.glomavis-rental-card-more-button-icon svg {
    display: inline-flex;
    width: 16px;
    height: 16px;
}

.glomavis-rental-card-more-button-fallback-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.glomavis-rental-card-details {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 6px;
}

.glomavis-rental-card-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 10px;
    border-radius: 6px;
}

.glomavis-rental-card-detail-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.glomavis-rental-card-detail-icon svg {
    width: 1em;
    height: 1em;
}

.glomavis-rental-card-detail-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.glomavis-rental-card-detail-label,
.glomavis-rental-card-detail-value {
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.glomavis-rental-card-detail-label {
    font-size: 12px;
}

.glomavis-rental-card-detail-value {
    font-size: 14px;
    font-weight: 700;
}

.glomavis-rental-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

.glomavis-rental-card-footer-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.glomavis-rental-card-footer-actions.has-mini-button-left .glomavis-rental-card-more-button.is-mini-button {
    order: -1;
}

.glomavis-rental-card-footer-actions.has-mini-button-match-height {
    align-items: stretch;
}

.glomavis-rental-card-footer-actions.has-mini-button-match-height .glomavis-rental-card-more-button.is-mini-button {
    align-self: stretch;
    height: auto;
}

.glomavis-rental-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

.glomavis-rental-card-price-prefix,
.glomavis-rental-card-price-suffix {
    font-size: 13px;
    line-height: 1.2;
}

.glomavis-rental-card-price-main {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.glomavis-rental-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: max-content;
    border: 0;
    text-decoration: none;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.glomavis-rental-card-button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.glomavis-rental-card-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.glomavis-rental-card-button-icon svg {
    width: 1em;
    height: 1em;
}

/* Native <dialog> opened with showModal() renders in the browser top layer,
   above every fixed/sticky header and any z-index/transform stacking context.
   This is the bulletproof way to guarantee the close button is always clickable. */
.glomavis-rental-card-popup {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    margin: 0;
    overflow: auto;
    background: transparent;
    color: inherit;
    overscroll-behavior: contain;
}

/* Closed dialog stays hidden (mirrors the UA stylesheet). */
.glomavis-rental-card-popup:not([open]) {
    display: none !important;
}

/* Open dialog becomes a full-viewport flex container that centers the panel. */
.glomavis-rental-card-popup[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999 !important;
}

/* The dimmed overlay is provided natively by the dialog backdrop. */
.glomavis-rental-card-popup::backdrop {
    background: rgba(15, 20, 26, 0.68);
}

.glomavis-rental-card-popup-panel {
    position: relative;
    z-index: 9999999 !important;
    width: min(1120px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    overflow: auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.glomavis-rental-card-popup-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px;
    /* Room for the fixed bottom close button so it never covers content. */
    padding-bottom: 100px;
}

.glomavis-rental-card-popup-top {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: start;
}

.glomavis-rental-card-popup-media {
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #f5f5f5;
    aspect-ratio: 4 / 3;
    max-height: 380px;
}

.glomavis-rental-card-popup-media .glomavis-rental-card-image,
.glomavis-rental-card-popup-media .glomavis-rental-card-carousel {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
}

.glomavis-rental-card-popup-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.glomavis-rental-card-popup-summary-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.glomavis-rental-card-popup-purchase {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.glomavis-rental-card-popup-title {
    margin: 0;
    font-size: 32px;
    line-height: 1.1;
}

.glomavis-rental-card-popup-subtitle {
    font-size: 16px;
}

.glomavis-rental-card-popup-price {
    gap: 6px;
}

.glomavis-rental-card-popup-tabs {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.glomavis-rental-card-popup-tab-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(21, 21, 21, 0.1);
}

.glomavis-rental-card-popup-tab-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 4px 10px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #6d746f;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.glomavis-rental-card-popup-tab-button:hover,
.glomavis-rental-card-popup-tab-button:focus-visible,
.glomavis-rental-card-popup-tab-button.is-active {
    color: #151515;
    border-color: currentColor;
    outline: none;
}

.glomavis-rental-card-popup-tab-panels {
    display: block;
}

.glomavis-rental-card-popup-tab-panel[hidden] {
    display: none !important;
}

.glomavis-rental-card-popup-tab-grid {
    display: grid;
    gap: 18px;
}

.glomavis-rental-card-popup-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #f5f6f2;
}

.glomavis-rental-card-popup-price-meta {
    width: min(100%, 420px);
}

.glomavis-rental-card-popup-meta-heading {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
}

.glomavis-rental-card-popup-meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glomavis-rental-card-popup-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.glomavis-rental-card-popup-meta-label {
    color: #6d746f;
    font-size: 14px;
    line-height: 1.35;
}

.glomavis-rental-card-popup-meta-value {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.glomavis-rental-card-popup-extra-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.glomavis-rental-card-popup-tab-panel .glomavis-rental-card-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-top: 0;
    align-items: start;
}

.glomavis-rental-card-popup-tab-panel .glomavis-rental-card-detail {
    align-items: center;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f7f8f4;
}

.glomavis-rental-card-popup-tab-panel .glomavis-rental-card-detail-icon {
    width: 16px;
    height: 16px;
    margin-top: 0;
}

.glomavis-rental-card-popup-tab-panel .glomavis-rental-card-detail-text {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
}

.glomavis-rental-card-popup-tab-panel .glomavis-rental-card-detail-label {
    font-size: 11px;
    white-space: nowrap;
}

.glomavis-rental-card-popup-tab-panel .glomavis-rental-card-detail-label::after {
    content: ":";
}

.glomavis-rental-card-popup-tab-panel .glomavis-rental-card-detail-value {
    font-size: 13px;
}

.glomavis-rental-card-popup-text {
    line-height: 1.65;
}

.glomavis-rental-card-popup-text > :first-child {
    margin-top: 0;
}

.glomavis-rental-card-popup-text > :last-child {
    margin-bottom: 0;
}

.glomavis-rental-card-popup-details {
    margin-top: 0;
}

.glomavis-rental-card-popup-actions {
    width: min(100%, 320px);
}

.glomavis-rental-card-popup-cta {
    width: 100%;
}

.glomavis-rental-card-popup-close {
    position: fixed;
    bottom: 24px;
    left: 50%;
    top: auto;
    right: auto;
    transform: translateX(-50%);
    z-index: 9999999 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #151515;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.glomavis-rental-card-popup-close:hover {
    background: #000;
    transform: translateX(-50%) scale(1.06);
}

.glomavis-rental-card-popup-close span {
    font-size: 28px;
    line-height: 1;
}

.glomavis-rental-card-popup-close-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    pointer-events: none;
}

.glomavis-rental-card-popup-close * {
    pointer-events: none !important;
}

/* Defence-in-depth: while a rental popup is open, neutralise a fixed/sticky
   site header so it can never sit over and intercept clicks on the close
   button. The native <dialog> top layer already guarantees this, but this
   also protects the legacy/non-modal fallback path (e.g. when a cached page
   still serves the old markup). The modal covers the page anyway. */
body.glomavis-rental-popup-open .elementor-location-header,
body.glomavis-rental-popup-open .elementor-location-header *,
body.glomavis-rental-popup-open header.elementor-location-header,
body.glomavis-rental-popup-open [data-elementor-type="header"],
body.glomavis-rental-popup-open [data-elementor-type="header"] *,
body.glomavis-rental-popup-open .elementor-sticky,
body.glomavis-rental-popup-open .elementor-sticky--active,
body.glomavis-rental-popup-open .elementor-sticky--effects {
    pointer-events: none !important;
}

body.glomavis-rental-popup-open .glomavis-menu-wrapper,
body.glomavis-rental-popup-open .glomavis-menu-wrapper *,
body.glomavis-rental-popup-open .glomavis-menu-list,
body.glomavis-rental-popup-open .menu-overlay,
body.glomavis-rental-popup-open .glomavis-submenu,
body.glomavis-rental-popup-open .glomavis-mega-menu-elementor {
    pointer-events: none !important;
}

body.glomavis-rental-popup-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .glomavis-rental-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .glomavis-rental-card-footer-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .glomavis-rental-card-button {
        min-height: 44px;
        width: auto !important;
    }

    .glomavis-rental-card-footer.mobile-button-position-beside-price,
    .glomavis-rental-mobile-button-beside-price .glomavis-rental-card-footer {
        align-items: center !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: space-between !important;
    }

    .glomavis-rental-card-footer.mobile-button-position-beside-price .glomavis-rental-card-price,
    .glomavis-rental-mobile-button-beside-price .glomavis-rental-card-price {
        flex: 1 1 auto;
        min-width: max-content;
    }

    .glomavis-rental-card-footer.mobile-button-position-beside-price .glomavis-rental-card-footer-actions,
    .glomavis-rental-mobile-button-beside-price .glomavis-rental-card-footer-actions {
        width: auto !important;
        justify-content: flex-end !important;
        margin-left: auto;
    }

    .glomavis-rental-card-footer.mobile-button-position-beside-price .glomavis-rental-card-button,
    .glomavis-rental-mobile-button-beside-price .glomavis-rental-card-button {
        flex: 0 0 auto;
        width: auto !important;
    }

    .glomavis-rental-mobile-button-below-left .glomavis-rental-card-footer,
    .glomavis-rental-mobile-button-below-center .glomavis-rental-card-footer,
    .glomavis-rental-mobile-button-below-right .glomavis-rental-card-footer,
    .glomavis-rental-mobile-button-below-stretch .glomavis-rental-card-footer {
        align-items: stretch !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
    }

    .glomavis-rental-mobile-button-below-left .glomavis-rental-card-footer-actions,
    .glomavis-rental-mobile-button-below-center .glomavis-rental-card-footer-actions,
    .glomavis-rental-mobile-button-below-right .glomavis-rental-card-footer-actions,
    .glomavis-rental-mobile-button-below-stretch .glomavis-rental-card-footer-actions {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .glomavis-rental-card-footer.mobile-button-position-below-left .glomavis-rental-card-footer-actions,
    .glomavis-rental-mobile-button-below-left .glomavis-rental-card-footer-actions {
        justify-content: flex-start !important;
    }

    .glomavis-rental-card-footer.mobile-button-position-below-center .glomavis-rental-card-footer-actions,
    .glomavis-rental-mobile-button-below-center .glomavis-rental-card-footer-actions {
        justify-content: center !important;
    }

    .glomavis-rental-card-footer.mobile-button-position-below-right .glomavis-rental-card-footer-actions,
    .glomavis-rental-mobile-button-below-right .glomavis-rental-card-footer-actions {
        justify-content: flex-end !important;
    }

    .glomavis-rental-card-footer.mobile-button-position-below-stretch .glomavis-rental-card-footer-actions,
    .glomavis-rental-mobile-button-below-stretch .glomavis-rental-card-footer-actions {
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    .glomavis-rental-card-footer.mobile-button-position-below-stretch .glomavis-rental-card-button,
    .glomavis-rental-mobile-button-below-stretch .glomavis-rental-card-button {
        flex: 1 1 auto;
        width: auto !important;
    }

    .glomavis-rental-card-more-button.is-mini-button {
        flex: 0 0 42px;
    }

    .glomavis-rental-card-popup-panel {
        width: calc(100% - 16px);
        max-height: calc(100vh - 16px);
        margin: 8px auto;
        border-radius: 16px;
    }

    .glomavis-rental-card-popup-layout {
        gap: 20px;
        padding: 16px;
    }

    .glomavis-rental-card-popup-top {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .glomavis-rental-card-popup-media .glomavis-rental-card-image,
    .glomavis-rental-card-popup-media .glomavis-rental-card-carousel {
        min-height: 260px;
    }

    .glomavis-rental-card-popup-media {
        max-height: none;
    }

    .glomavis-rental-card-popup-title {
        font-size: 26px;
    }

    .glomavis-rental-card-popup-tab-nav {
        gap: 8px;
        overflow-x: auto;
    }

    .glomavis-rental-card-popup-tab-button {
        min-height: 38px;
        white-space: nowrap;
    }

    .glomavis-rental-card-popup-tab-panel .glomavis-rental-card-details {
        grid-template-columns: 1fr;
    }

    .glomavis-rental-card-popup-actions {
        width: 100%;
    }

    .glomavis-rental-card-popup-price-meta {
        width: 100%;
    }
}

/* Logo Badge Widget */
.glomavis-logo-badge-wrap {
    display: flex;
    width: 100%;
    min-width: 0;
    --glomavis-logo-badge-width: 170px;
    --glomavis-logo-badge-ratio: 1 / 1;
}

.glomavis-logo-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--glomavis-logo-badge-width);
    aspect-ratio: var(--glomavis-logo-badge-ratio);
    max-width: 100%;
    overflow: hidden;
    line-height: 0;
    text-decoration: none;
    flex: 0 0 auto;
    transform-origin: center center;
    transform: translate3d(var(--glomavis-logo-translate-x, 0), var(--glomavis-logo-translate-y, 0), 0);
    will-change: transform, opacity;
}

.glomavis-logo-badge img {
    display: block;
    box-sizing: border-box;
    width: 130px;
    height: auto;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0;
    min-height: 0;
    object-position: center;
    object-fit: contain;
    flex: 0 0 auto;
    margin: 0 !important;
}

/* Separator Lines Widget */
.glomavis-separator-lines {
    display: flex;
    width: 100%;
    max-width: 100%;
    --glomavis-separator-length: 100%;
    --glomavis-separator-thickness: 2px;
    --glomavis-separator-line-color: #111111;
    --glomavis-separator-track-color: rgba(17, 17, 17, 0.12);
    --glomavis-separator-accent-color: #f59e0b;
    --glomavis-separator-gradient-end: #2563eb;
    --glomavis-separator-pattern-size: 18px;
}

.glomavis-separator-lines.is-horizontal {
    flex-direction: column;
}

.glomavis-separator-lines.is-vertical {
    flex-direction: row;
    min-height: var(--glomavis-separator-length);
}

.glomavis-separator-line-track {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: var(--glomavis-separator-track-color);
}

.glomavis-separator-lines.is-horizontal .glomavis-separator-line-track {
    width: var(--glomavis-separator-length);
    height: var(--glomavis-separator-thickness);
}

.glomavis-separator-lines.is-vertical .glomavis-separator-line-track {
    width: var(--glomavis-separator-thickness);
    height: var(--glomavis-separator-length);
}

.glomavis-separator-line-fill {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--glomavis-separator-line-color);
    will-change: transform;
}

.glomavis-separator-lines.style-double .glomavis-separator-line-track,
.glomavis-separator-lines.style-dashed .glomavis-separator-line-track,
.glomavis-separator-lines.style-dotted .glomavis-separator-line-track,
.glomavis-separator-lines.style-tapered .glomavis-separator-line-track {
    background-color: transparent;
}

.glomavis-separator-lines.style-double.is-horizontal .glomavis-separator-line-track {
    height: calc(var(--glomavis-separator-thickness) + var(--glomavis-separator-thickness) + var(--glomavis-separator-thickness));
}

.glomavis-separator-lines.style-double.is-vertical .glomavis-separator-line-track {
    width: calc(var(--glomavis-separator-thickness) + var(--glomavis-separator-thickness) + var(--glomavis-separator-thickness));
}

.glomavis-separator-lines.style-double.is-horizontal .glomavis-separator-line-track,
.glomavis-separator-lines.style-double.is-horizontal .glomavis-separator-line-fill {
    background-image: linear-gradient(to bottom, var(--glomavis-separator-line-color) 0 28%, transparent 28% 72%, var(--glomavis-separator-line-color) 72% 100%);
    background-color: transparent;
}

.glomavis-separator-lines.style-double.is-vertical .glomavis-separator-line-track,
.glomavis-separator-lines.style-double.is-vertical .glomavis-separator-line-fill {
    background-image: linear-gradient(to right, var(--glomavis-separator-line-color) 0 28%, transparent 28% 72%, var(--glomavis-separator-line-color) 72% 100%);
    background-color: transparent;
}

.glomavis-separator-lines.style-double.is-horizontal .glomavis-separator-line-track {
    background-image: linear-gradient(to bottom, var(--glomavis-separator-track-color) 0 28%, transparent 28% 72%, var(--glomavis-separator-track-color) 72% 100%);
}

.glomavis-separator-lines.style-double.is-vertical .glomavis-separator-line-track {
    background-image: linear-gradient(to right, var(--glomavis-separator-track-color) 0 28%, transparent 28% 72%, var(--glomavis-separator-track-color) 72% 100%);
}

.glomavis-separator-lines.style-stacked .glomavis-separator-line-track:nth-child(2n) {
    opacity: 0.7;
}

.glomavis-separator-lines.style-stacked .glomavis-separator-line-track:nth-child(3n) {
    opacity: 0.45;
}

.glomavis-separator-lines.style-stacked.is-horizontal .glomavis-separator-line-track:nth-child(2n) {
    width: min(var(--glomavis-separator-length), 82%);
}

.glomavis-separator-lines.style-stacked.is-horizontal .glomavis-separator-line-track:nth-child(3n) {
    width: min(var(--glomavis-separator-length), 64%);
}

.glomavis-separator-lines.style-stacked.is-vertical .glomavis-separator-line-track:nth-child(2n) {
    height: min(var(--glomavis-separator-length), 82%);
}

.glomavis-separator-lines.style-stacked.is-vertical .glomavis-separator-line-track:nth-child(3n) {
    height: min(var(--glomavis-separator-length), 64%);
}

.glomavis-separator-lines.style-dashed.is-horizontal .glomavis-separator-line-track,
.glomavis-separator-lines.style-dashed.is-horizontal .glomavis-separator-line-fill {
    background-color: transparent;
    background-image: linear-gradient(to right, var(--glomavis-separator-line-color) 0 58%, transparent 58% 100%);
    background-repeat: repeat-x;
    background-size: var(--glomavis-separator-pattern-size) 100%;
}

.glomavis-separator-lines.style-dashed.is-horizontal .glomavis-separator-line-track {
    background-image: linear-gradient(to right, var(--glomavis-separator-track-color) 0 58%, transparent 58% 100%);
}

.glomavis-separator-lines.style-dashed.is-vertical .glomavis-separator-line-track,
.glomavis-separator-lines.style-dashed.is-vertical .glomavis-separator-line-fill {
    background-color: transparent;
    background-image: linear-gradient(to bottom, var(--glomavis-separator-line-color) 0 58%, transparent 58% 100%);
    background-repeat: repeat-y;
    background-size: 100% var(--glomavis-separator-pattern-size);
}

.glomavis-separator-lines.style-dashed.is-vertical .glomavis-separator-line-track {
    background-image: linear-gradient(to bottom, var(--glomavis-separator-track-color) 0 58%, transparent 58% 100%);
}

.glomavis-separator-lines.style-dotted .glomavis-separator-line-track,
.glomavis-separator-lines.style-dotted .glomavis-separator-line-fill {
    background-color: transparent;
}

.glomavis-separator-lines.style-dotted.is-horizontal .glomavis-separator-line-track,
.glomavis-separator-lines.style-dotted.is-horizontal .glomavis-separator-line-fill {
    background-image: radial-gradient(circle closest-side, var(--glomavis-separator-line-color) 98%, transparent 100%);
    background-position: center;
    background-repeat: repeat-x;
    background-size: var(--glomavis-separator-pattern-size) var(--glomavis-separator-thickness);
}

.glomavis-separator-lines.style-dotted.is-horizontal .glomavis-separator-line-track {
    background-image: radial-gradient(circle closest-side, var(--glomavis-separator-track-color) 98%, transparent 100%);
}

.glomavis-separator-lines.style-dotted.is-vertical .glomavis-separator-line-track,
.glomavis-separator-lines.style-dotted.is-vertical .glomavis-separator-line-fill {
    background-image: radial-gradient(circle closest-side, var(--glomavis-separator-line-color) 98%, transparent 100%);
    background-position: center;
    background-repeat: repeat-y;
    background-size: var(--glomavis-separator-thickness) var(--glomavis-separator-pattern-size);
}

.glomavis-separator-lines.style-dotted.is-vertical .glomavis-separator-line-track {
    background-image: radial-gradient(circle closest-side, var(--glomavis-separator-track-color) 98%, transparent 100%);
}

.glomavis-separator-lines.style-gradient.is-horizontal .glomavis-separator-line-fill,
.glomavis-separator-lines.style-tapered.is-horizontal .glomavis-separator-line-fill {
    background-image: linear-gradient(to right, var(--glomavis-separator-line-color), var(--glomavis-separator-accent-color), var(--glomavis-separator-gradient-end));
}

.glomavis-separator-lines.style-gradient.is-vertical .glomavis-separator-line-fill,
.glomavis-separator-lines.style-tapered.is-vertical .glomavis-separator-line-fill {
    background-image: linear-gradient(to bottom, var(--glomavis-separator-line-color), var(--glomavis-separator-accent-color), var(--glomavis-separator-gradient-end));
}

.glomavis-separator-lines.style-accent .glomavis-separator-line-accent {
    position: absolute;
    display: block;
    background-color: var(--glomavis-separator-accent-color);
    border-radius: inherit;
}

.glomavis-separator-lines.style-accent.is-horizontal .glomavis-separator-line-accent {
    top: 50%;
    left: 50%;
    width: min(90px, 28%);
    height: max(6px, var(--glomavis-separator-thickness));
    transform: translate(-50%, -50%);
}

.glomavis-separator-lines.style-accent.is-vertical .glomavis-separator-line-accent {
    top: 50%;
    left: 50%;
    width: max(6px, var(--glomavis-separator-thickness));
    height: min(90px, 28%);
    transform: translate(-50%, -50%);
}

.glomavis-separator-lines.style-split .glomavis-separator-line-track {
    background-color: transparent;
}

.glomavis-separator-lines.style-split .glomavis-separator-line-fill {
    inset: auto;
}

.glomavis-separator-lines.style-split.is-horizontal .glomavis-separator-line-fill {
    top: 0;
    width: 50%;
    height: 100%;
}

.glomavis-separator-lines.style-split.is-horizontal .is-split-first {
    left: 0;
}

.glomavis-separator-lines.style-split.is-horizontal .is-split-second {
    right: 0;
}

.glomavis-separator-lines.style-split.is-vertical .glomavis-separator-line-fill {
    left: 0;
    width: 100%;
    height: 50%;
}

.glomavis-separator-lines.style-split.is-vertical .is-split-first {
    top: 0;
}

.glomavis-separator-lines.style-split.is-vertical .is-split-second {
    bottom: 0;
}

.glomavis-separator-lines.style-tapered .glomavis-separator-line-track {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.glomavis-separator-lines.style-tapered.is-horizontal .glomavis-separator-line-track,
.glomavis-separator-lines.style-tapered.is-horizontal .glomavis-separator-line-fill {
    clip-path: polygon(0 50%, 10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%);
}

.glomavis-separator-lines.style-tapered.is-vertical .glomavis-separator-line-track,
.glomavis-separator-lines.style-tapered.is-vertical .glomavis-separator-line-fill {
    clip-path: polygon(50% 0, 100% 10%, 100% 90%, 50% 100%, 0 90%, 0 10%);
}

.glomavis-separator-lines.style-shadow .glomavis-separator-line-fill {
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.18);
    box-shadow: 0 0 18px color-mix(in srgb, var(--glomavis-separator-line-color) 45%, transparent);
}

/* Draw SVG Separator Widget */
.glomavis-draw-svg {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    line-height: 0;
    --glomavis-draw-svg-height: 180px;
}

.glomavis-draw-svg svg {
    display: block;
    width: 100%;
    height: var(--glomavis-draw-svg-height);
    overflow: visible;
}

.glomavis-draw-svg-path {
    vector-effect: non-scaling-stroke;
    will-change: stroke-dashoffset;
}

.glomavis-draw-svg-text text {
    paint-order: stroke;
}

/* Typing Text Rotator Widget */
.glomavis-typing-rotator {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    line-height: 1.35;
}

.glomavis-typing-stage {
    position: relative;
    display: inline-flex;
    min-width: 0;
    min-height: 1.35em;
    align-items: center;
    overflow: hidden;
    vertical-align: middle;
}

.glomavis-typing-text {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    transition: opacity 220ms ease, transform 220ms ease;
}

.glomavis-typing-cursor {
    display: inline-block;
    margin-left: 2px;
    color: currentColor;
    line-height: 1;
    animation: glomavisTypingCursorBlink 0.9s steps(2, start) infinite;
}

.glomavis-typing-rotator.is-slide-out .glomavis-typing-text {
    opacity: 0;
}

.glomavis-typing-rotator.is-slide-in .glomavis-typing-text {
    animation: glomavisTypingSlideIn 220ms ease both;
}

.glomavis-typing-rotator.glomavis-slide-up.is-slide-out .glomavis-typing-text {
    transform: translateY(-70%);
}

.glomavis-typing-rotator.glomavis-slide-down.is-slide-out .glomavis-typing-text {
    transform: translateY(70%);
}

.glomavis-typing-rotator.glomavis-slide-left.is-slide-out .glomavis-typing-text {
    transform: translateX(-22px);
}

.glomavis-typing-rotator.glomavis-slide-right.is-slide-out .glomavis-typing-text {
    transform: translateX(22px);
}

.glomavis-typing-rotator.is-reduced-motion .glomavis-typing-cursor {
    animation: none;
}

@keyframes glomavisTypingCursorBlink {
    50% {
        opacity: 0;
    }
}

@keyframes glomavisTypingSlideIn {
    from {
        opacity: 0;
        transform: translateY(35%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reservation Request Widget */
.glomavis-reservation-request {
    width: 100%;
    margin-inline: auto;
    background: #ffffff;
    color: #111827;
    box-sizing: border-box;
}

.glomavis-reservation-request *,
.glomavis-reservation-request *::before,
.glomavis-reservation-request *::after {
    box-sizing: border-box;
}

.glomavis-reservation-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.glomavis-reservation-intro {
    margin-bottom: 24px;
}

.glomavis-reservation-title {
    margin: 0 0 10px;
    color: #111827;
    line-height: 1.12;
}

.glomavis-reservation-description {
    max-width: 68ch;
    color: #4b5563;
    line-height: 1.6;
}

.glomavis-reservation-product-field,
.glomavis-reservation-field,
.glomavis-reservation-question {
    min-width: 0;
}

.glomavis-reservation-label,
.glomavis-reservation-question-label {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-weight: 700;
    line-height: 1.35;
}

.glomavis-reservation-required {
    color: #4f6b3f;
}

.glomavis-reservation-grid,
.glomavis-reservation-question-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.glomavis-reservation-width-100 {
    flex: 1 1 100%;
    max-width: 100%;
}

.glomavis-reservation-width-50 {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
}

.glomavis-reservation-width-33 {
    flex: 1 1 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
}

.glomavis-reservation-input,
.glomavis-reservation-select,
.glomavis-reservation-textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    line-height: 1.45;
    resize: vertical;
}

.glomavis-reservation-textarea {
    min-height: 128px;
}

.glomavis-reservation-product-select[multiple] {
    min-height: 140px;
}

.glomavis-reservation-input:focus,
.glomavis-reservation-select:focus,
.glomavis-reservation-textarea:focus,
.glomavis-reservation-product-card:focus-within,
.glomavis-reservation-option:focus-within,
.glomavis-reservation-image-choice:focus-within,
.glomavis-reservation-submit:focus {
    outline: 2px solid rgba(79, 107, 63, 0.35);
    outline-offset: 2px;
}

.glomavis-reservation-product-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.glomavis-reservation-product-card,
.glomavis-reservation-question,
.glomavis-reservation-option,
.glomavis-reservation-image-choice {
    border: 1px solid #d9ddcf;
    border-radius: 14px;
    background: #f9fafb;
}

.glomavis-reservation-product-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.glomavis-reservation-product-card:hover {
    transform: translateY(-1px);
}

.glomavis-reservation-product-card input,
.glomavis-reservation-option input,
.glomavis-reservation-image-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.glomavis-reservation-product-card.is-selected,
.glomavis-reservation-option.is-selected,
.glomavis-reservation-image-choice.is-selected {
    border-color: #4f6b3f;
    background: #eef5e9;
}

.glomavis-reservation-selected-products {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #d9ddcf;
    border-radius: 12px;
    background: #f6f8f3;
}

.glomavis-reservation-selected-products-label {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.glomavis-reservation-selected-products-list {
    display: flex;
    flex: 1 1 180px;
    flex-wrap: wrap;
    gap: 8px;
}

.glomavis-reservation-selected-product-chip,
.glomavis-reservation-selected-products-empty {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.glomavis-reservation-selected-product-chip {
    background: #4f6b3f;
    color: #ffffff;
}

.glomavis-reservation-selected-products-empty {
    background: #ffffff;
    color: #6b7280;
}

.glomavis-reservation-product-media,
.glomavis-reservation-image-choice-media {
    display: block;
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 10px;
    background: #e5e7eb;
}

.glomavis-reservation-product-media img,
.glomavis-reservation-image-choice-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glomavis-reservation-product-title {
    color: #111827;
    font-weight: 800;
    line-height: 1.2;
}

.glomavis-reservation-product-description,
.glomavis-reservation-help {
    color: #4b5563;
    line-height: 1.5;
}

.glomavis-reservation-help {
    margin: -2px 0 10px;
}

.glomavis-reservation-question {
    padding: 16px;
}

.glomavis-reservation-options,
.glomavis-reservation-image-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.glomavis-reservation-option {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    line-height: 1.35;
}

.glomavis-reservation-option-indicator {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: #4f6b3f;
    opacity: 0.55;
}

.glomavis-reservation-option.is-selected .glomavis-reservation-option-indicator {
    box-shadow: inset 0 0 0 4px #eef5e9;
    background: #4f6b3f;
    opacity: 1;
}

.glomavis-reservation-image-choice {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
}

.glomavis-reservation-image-choice-label {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
}

.glomavis-reservation-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(79, 107, 63, 0.14), transparent),
        #f3f4f6;
}

.glomavis-reservation-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.glomavis-reservation-submit {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #4f6b3f;
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    padding: 14px 26px;
    text-decoration: none;
    transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.glomavis-reservation-submit:hover,
.glomavis-reservation-submit:focus {
    background: #3f5632;
    color: #ffffff;
}

.glomavis-reservation-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.glomavis-reservation-message {
    flex: 1 1 220px;
    border-radius: 10px;
    padding: 12px 14px;
    line-height: 1.45;
}

.glomavis-reservation-message.success {
    background: #eef5e9;
    color: #2f4a25;
}

.glomavis-reservation-message.error,
.glomavis-reservation-error-text {
    background: #fef2f2;
    color: #991b1b;
}

.glomavis-reservation-error-text {
    margin-top: 8px;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.35;
}

.glomavis-reservation-has-error .glomavis-reservation-input,
.glomavis-reservation-has-error .glomavis-reservation-select,
.glomavis-reservation-has-error .glomavis-reservation-textarea,
.glomavis-reservation-has-error .glomavis-reservation-product-card,
.glomavis-reservation-has-error .glomavis-reservation-option,
.glomavis-reservation-has-error .glomavis-reservation-image-choice {
    border-color: #dc2626;
}

.glomavis-reservation-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .glomavis-reservation-request {
        padding: 22px;
    }

    .glomavis-reservation-width-50,
    .glomavis-reservation-width-33 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .glomavis-reservation-product-cards,
    .glomavis-reservation-options,
    .glomavis-reservation-image-choices {
        grid-template-columns: 1fr;
    }

    .glomavis-reservation-actions,
    .glomavis-reservation-submit {
        width: 100%;
    }
}

.glomavis-chain-finder {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #d9ddcf;
    border-radius: 8px;
    background: #ffffff;
    padding: 28px;
}

.glomavis-chain-finder *,
.glomavis-chain-finder *::before,
.glomavis-chain-finder *::after {
    box-sizing: border-box;
}

.glomavis-chain-finder-intro {
    margin-bottom: 22px;
}

.glomavis-chain-finder-title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.glomavis-chain-finder-description {
    max-width: 720px;
    color: #4b5563;
    line-height: 1.55;
}

.glomavis-chain-finder-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    align-items: end;
}

.glomavis-chain-finder-field {
    min-width: 0;
}

.glomavis-chain-finder-label {
    display: block;
    margin-bottom: 7px;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.glomavis-chain-finder-unit {
    color: #6b7280;
    font-weight: 700;
}

.glomavis-chain-finder-input,
.glomavis-chain-finder-select {
    display: block;
    width: 100%;
    min-height: 48px;
    border: 1px solid #cfd5c6;
    border-radius: 6px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    line-height: 1.2;
    padding: 11px 13px;
}

.glomavis-chain-finder-input:focus,
.glomavis-chain-finder-select:focus,
.glomavis-chain-finder-submit:focus,
.glomavis-chain-finder-reset:focus,
.glomavis-chain-finder-result-button:focus {
    outline: 3px solid rgba(79, 107, 63, 0.22);
    outline-offset: 2px;
}

.glomavis-chain-finder-submit,
.glomavis-chain-finder-reset,
.glomavis-chain-finder-result-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #4f6b3f;
    color: #ffffff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    padding: 13px 20px;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.glomavis-chain-finder-action-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.glomavis-chain-finder-submit {
    width: 100%;
}

.glomavis-chain-finder-reset {
    border: 1px solid #cfd5c6;
    background: #ffffff;
    color: #4f6b3f;
}

.glomavis-chain-finder-submit:hover,
.glomavis-chain-finder-submit:focus,
.glomavis-chain-finder-result-button:hover,
.glomavis-chain-finder-result-button:focus {
    background: #3f5632;
    color: #ffffff;
    text-decoration: none;
}

.glomavis-chain-finder-reset:hover,
.glomavis-chain-finder-reset:focus {
    background: #eef5e9;
    color: #3f5632;
    text-decoration: none;
}

.glomavis-chain-finder-message {
    margin-top: 14px;
    border-radius: 6px;
    padding: 12px 14px;
    line-height: 1.45;
}

.glomavis-chain-finder-message.is-error {
    background: #fef2f2;
    color: #991b1b;
}

.glomavis-chain-finder-message.is-success {
    background: #eef5e9;
    color: #2f4a25;
}

.glomavis-chain-finder-result {
    margin-top: 18px;
}

.glomavis-chain-finder-result-card,
.glomavis-chain-finder-empty {
    border: 1px solid #d9ddcf;
    border-radius: 8px;
    background: #f8faf6;
}

.glomavis-chain-finder-result-card {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.glomavis-chain-finder-result-card.has-media {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
}

.glomavis-chain-finder-result-media {
    min-height: 220px;
    background: #e5e7eb;
}

.glomavis-chain-finder-result-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glomavis-chain-finder-result-content,
.glomavis-chain-finder-empty {
    padding: 22px;
}

.glomavis-chain-finder-badge {
    display: inline-flex;
    margin-bottom: 10px;
    border-radius: 6px;
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 9px;
    text-transform: uppercase;
}

.glomavis-chain-finder-result-title {
    margin: 0;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.glomavis-chain-finder-result-price {
    margin-top: 6px;
    color: #4f6b3f;
    font-weight: 800;
}

.glomavis-chain-finder-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0;
}

.glomavis-chain-finder-detail {
    min-width: 0;
    border-radius: 6px;
    background: #ffffff;
    padding: 10px 12px;
}

.glomavis-chain-finder-detail dt {
    margin: 0 0 4px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.glomavis-chain-finder-detail dd {
    margin: 0;
    color: #111827;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.glomavis-chain-finder-empty p {
    margin: 0 0 14px;
    color: #4b5563;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .glomavis-chain-finder-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .glomavis-chain-finder {
        padding: 22px;
    }

    .glomavis-chain-finder-fields,
    .glomavis-chain-finder-details,
    .glomavis-chain-finder-result-card {
        grid-template-columns: 1fr;
    }

    .glomavis-chain-finder-action-field {
        grid-template-columns: 1fr;
    }

    .glomavis-chain-finder-result-media {
        min-height: 180px;
    }
}
