/* Klete Golf Carts Frontend Styles (v1.32.5) - Cache Bust */

/* --- Filters --- */
.klete-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    margin-bottom: 25px;
    background-color: var(--e-global-color-secondary, #f0f0f1);
    border-radius: 4px;
    align-items: center;
}

.klete-filters label {
    margin-right: 5px;
    font-weight: bold;
    display: none;
}

.klete-filters select {
    padding: 8px 12px;
    min-width: 160px;
    max-width: 250px;
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    font-size: 0.9em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    flex-grow: 1;
}

.klete-filters select[multiple] {
    min-width: 180px;
}

.klete-filters .klete-filter-sort {
    min-width: 180px;
    margin-left: auto;
    flex-grow: 0;
}

.klete-filters .klete-filter-reset {
    padding: 8px 15px;
    background-color: var(--e-global-color-text, #777);
    color: var(--e-global-color-background, #fff);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.klete-filters .klete-filter-reset:hover {
    background-color: var(--e-global-color-primary, #007cba);
}

/* --- Items Container (Grid & List) --- */
.klete-items-container {
    padding: 0;
}

.klete-no-results {
    padding: 20px;
    text-align: center;
    color: #555;
    grid-column: 1 / -1;
}

/* --- Grid Layout --- */
.klete-layout-grid .klete-items-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--items-gap, 25px);
}

.klete-layout-grid .klete-cart-item.klete-grid-card-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: none;
    box-shadow: none;
    background: none;
    height: 100%;
}

/* --- Grid Card --- */
.klete-grid-card {
    border: 1px solid #f3f3f3;
    background: var(--e-global-color-background, #fff);
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    display: flex;
    flex-direction: column;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background 0.2s, border 0.2s;
}

.klete-grid-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    background: #fef6ec;
    border-color: #ffab4d;
    cursor: pointer;
}

/* --- List Layout --- */
.klete-layout-list .klete-items-container {
    display: flex;
    flex-direction: column;
    gap: var(--items-gap, 15px);
}

/* --- Layout Toggle Visibility (v1.32.1) --- */
/* Hide list items when in grid mode */
.klete-layout-grid .klete-cart-item-list {
    display: none !important;
}

/* Hide grid items when in list mode */
.klete-layout-list .klete-grid-card-wrapper {
    display: none !important;
}

/* Show list items when in list mode */
.klete-layout-list .klete-cart-item-list {
    display: block !important;
}

/* --- Filtering: Hide filtered items (v1.32.4) --- */
.klete-cart-item.klete-filtered-out {
    display: none !important;
}

/* --- Shared Card Styles (Grid & List) --- */
.klete-grid-card .klete-grid-image-wrapper {
    position: relative;
    line-height: 0;
    overflow: hidden;
}

.klete-grid-main-image,
.klete-list-main-image {
    background-color: transparent;
    line-height: 0;
}

.klete-grid-main-image img,
.klete-list-main-image img,
.klete-grid-main-image .swiper-slide img,
.klete-list-main-image .swiper-slide img,
.klete-grid-main-image > a > img,
.klete-list-main-image > a > img,
.klete-carousel-slide .klete-slide-image img {
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: opacity 0.2s linear;
    z-index: 1;
}

.klete-cart-item-grid .klete-cart-image a,
.klete-cart-item-list .klete-list-image a,
.klete-carousel-slide .klete-slide-image a,
.klete-cart-teaser-widget .klete-teaser-main-image a,
.klete-cart-teaser-widget .klete-teaser-main-image .swiper-slide a {
    display: block;
}

.klete-grid-gallery-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 39, 42, 0.6);
    padding: 8px;
    box-sizing: border-box;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.klete-grid-gallery-bar::-webkit-scrollbar {
    display: none;
}

.klete-grid-card:hover .klete-grid-gallery-bar {
    transform: translateY(0);
}

.klete-grid-gallery-thumb,
.klete-grid-video-thumb {
    width: 50px;
    height: 50px;
    border: 1px solid #fff; /* Match grid */
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, border-color 0.2s;
    flex-shrink: 0;
    object-fit: cover;
}

.klete-grid-video-thumb {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.klete-grid-video-thumb .klete-video-play-svg {
    width: 60%;
    height: 60%;
}

.klete-grid-video-thumb .klete-video-play-svg path {
    fill: #ffab4d;
}

.klete-grid-gallery-thumb:hover,
.klete-grid-video-thumb:hover {
    opacity: 1;
    border: 1px solid var(--e-global-color-primary, #ffab4d);
}

.klete-grid-gallery-thumb.active {
    opacity: 1;
    border: 1px solid var(--e-global-color-primary, #ffab4d);
}


.klete-grid-color-swatches,
.klete-list-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.klete-grid-color-swatches {
    padding: 10px 15px 0;
}

.klete-grid-swatch,
.klete-list-swatch {
    width: 18px;
    height: 18px;
    border-radius: 0;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: border-color 0.2s, outline-color 0.2s;
    background-size: cover;
    background-position: center;
    outline: 1px solid transparent;
    outline-offset: 1px;
}

.klete-grid-swatch:hover,
.klete-list-swatch:hover {
    border-color: #aaa;
    outline-color: #aaa;
}

.klete-grid-swatch.active,
.klete-list-swatch.active {
    border-color: #555;
    outline-color: #555;
}

.klete-grid-content-wrapper,
.klete-cart-item-grid .klete-cart-item-inner,
.klete-carousel-slide .klete-slide-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.klete-grid-title,
.klete-cart-item-grid .klete-cart-title,
.klete-carousel-slide .klete-slide-title {
    margin: 0 0 10px;
    font-size: 1.5em;
    font-weight: 600;
    font-family: var(--e-global-typography-primary-font-family, sans-serif);
    line-height: 1.3;
}

.klete-grid-title a,
.klete-cart-item-grid .klete-cart-title a,
.klete-carousel-slide .klete-slide-title a {
    color: inherit;
    text-decoration: none;
}

.klete-grid-title a:hover,
.klete-cart-item-grid .klete-cart-title a:hover,
.klete-carousel-slide .klete-slide-title a:hover {
    text-decoration: underline;
}

.klete-grid-description {
    font-size: 0.9em;
    line-height: 1.6;
    color: #555;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    margin-bottom: 15px;
    font-size: 0.7rem;
}

.klete-grid-meta {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.klete-grid-meta-item,
.klete-cart-item-grid .klete-cart-year-model {
    font-size: 0.9em;
    margin-bottom: 8px;
    color: #333;
}

.klete-grid-meta-item strong,
.klete-cart-item-grid .klete-cart-year-model {
    font-weight: 600;
    margin-right: 5px;
    display: inline-block;
    min-width: 80px;
    text-transform: uppercase;
    color: #000;
}

.klete-cart-item-grid .klete-cart-year {
    margin-right: 5px;
}

.klete-grid-pricing,
.klete-cart-item-grid .klete-cart-pricing {
    font-weight: 600;
}

.klete-grid-pricing .klete-grid-price,
.klete-cart-item-grid .klete-cart-price,
.klete-carousel-slide .klete-slide-price {
    font-size: 1.2em;
    color: var(--e-global-color-accent, #005f99);
    display: block;
    margin-bottom: 5px;
}

.klete-grid-pricing .klete-grid-monthly,
.klete-cart-item-grid .klete-cart-savings {
    font-size: 0.9em;
    color: #43aebc;
    display: block;
    margin-bottom: 5px;
}

.klete-grid-price-unavailable {
    font-weight: bold;
    color: #555;
    font-size: 1.2em;
    margin-bottom: 15px;
    display: block;
}

.klete-grid-actions,
.klete-cart-item-grid .klete-cart-actions {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.klete-grid-actions-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.klete-grid-test-drive.elementor-button,
.klete-grid-details.elementor-button,
.klete-cart-item-grid .klete-cart-actions .elementor-button {
    flex-grow: 1;
    margin: 0 !important;
    padding: 10px 15px;
    text-align: center;
    font-weight: 600;
}

.klete-grid-icon-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.klete-grid-icon-buttons button,
.klete-cart-item-grid .klete-cart-actions .klete-grid-finance-trigger,
.klete-cart-item-grid .klete-cart-actions .klete-grid-inquiry-trigger,
.klete-cart-item-grid .klete-cart-actions .klete-share-trigger {
    background: none;
    border: 1px solid #ccc;
    color: #555;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    overflow: hidden;
}

.klete-grid-icon-buttons button:hover,
.klete-cart-item-grid .klete-cart-actions .klete-grid-finance-trigger:hover,
.klete-cart-item-grid .klete-cart-actions .klete-grid-inquiry-trigger:hover,
.klete-cart-item-grid .klete-cart-actions .klete-share-trigger:hover {
    background-color: #eee;
    color: #000;
    border-color: #aaa;
}

.klete-grid-icon-buttons button svg {
    width: 60%;
    height: 60%;
}

.klete-grid-icon-buttons .klete-pdf-svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.klete-grid-icon-buttons .klete-finance-svg,
.klete-grid-icon-buttons .klete-share-svg {
    fill: currentColor;
    stroke: currentColor;
}

/* --- New List View Styles (v1.31.25) --- */
.klete-layout-list .klete-cart-item-list {
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-family: var(--e-global-typography-text-font-family, sans-serif);
}

.klete-layout-list .klete-cart-item-inner {
    display: flex;
    flex-direction: row;
}

/* Col 1: Image */
.klete-list-image-wrapper {
    flex-basis: 34%;
    min-width: 280px;
    flex-shrink: 0;
    position: relative;
    background: #fdfdfd;
    overflow: hidden; /* FIX for mobile overlap */
}
.klete-list-main-image {
    line-height: 0;
}
.klete-list-main-image img,
.klete-list-main-image .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3; /* Match grid */
    object-fit: cover;
    padding: 0;
    box-sizing: border-box;
    z-index: 1;
}

.klete-list-gallery-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 39, 42, 0.6); /* Slightly darker maybe? */
    padding: 8px;
    box-sizing: border-box;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    z-index: 99;
}
.klete-list-gallery-bar::-webkit-scrollbar { display: none; }

/* FIX: Show bar on *card* hover, not just image wrapper */
.klete-cart-item-list:hover .klete-list-gallery-bar {
    transform: translateY(0);
    opacity: 1;
}

.klete-list-gallery-thumb,
.klete-list-video-thumb {
    width: 50px;
    height: 50px;
    border: 1px solid #fff; /* Match grid */
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s, border-color 0.2s;
    flex-shrink: 0;
    object-fit: cover;
}
.klete-list-video-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}
.klete-list-video-thumb .klete-video-play-svg {
    width: 50%;
    height: 50%;
}
.klete-list-video-thumb .klete-video-play-svg path {
    fill: #ffab4d;
}
.klete-list-gallery-thumb:hover,
.klete-list-video-thumb:hover,
.klete-list-gallery-thumb.active {
    opacity: 1;
    border: 1px solid var(--e-global-color-primary, #ffab4d);
}

/* Col 2: Content */
.klete-list-content-wrapper {
    flex: 1 1 40%;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-left: 1px solid #f0f0f0;
    min-height: 0; /* Prevent flex item content overflow issues */
}
.klete-list-color-swatches {
    gap: 6px;
    margin-bottom: 12px;
}
.klete-list-swatch {
    width: 22px; /* Keep larger size for list */
    height: 22px; /* Keep larger size for list */
    border-radius: 50%; /* Keep from mockup */
    border: 1px solid #ccc; /* TWEAK: Match grid */
    cursor: pointer;
    transition: border-color 0.2s, outline-color 0.2s;
    background-size: cover;
    background-position: center;
    outline: 1px solid transparent; /* TWEAK: Match grid */
    outline-offset: 1px; /* TWEAK: Match grid */
}
.klete-list-swatch:hover {
    border-color: #aaa; /* TWEAK: Match grid */
    outline-color: #aaa; /* TWEAK: Match grid */
}
.klete-list-swatch.active {
    border-color: #555; /* TWEAK: Match grid */
    outline-color: #555; /* TWEAK: Match grid */
}

.klete-list-title {
    margin: 0 0 10px;
    font-size: 1.7em;
    font-weight: 600;
    line-height: 1.3;
    font-family: var(--e-global-typography-primary-font-family, sans-serif);
}
.klete-list-title a {
    color: inherit;
    text-decoration: none;
}
.klete-list-title a:hover {
    color: #ffab4d;
}
.klete-list-meta {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #555;
}
.klete-list-meta-item {
    margin-bottom: 5px;
}
.klete-list-meta-item strong {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.klete-list-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
    margin-top: 10px;
    flex-grow: 1; /* Pushes meta to top */
}

/* Col 3: Actions */
.klete-list-actions-wrapper {
    flex-basis: 26%;
    min-width: 240px;
    flex-shrink: 0;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #f0f0f0;
    background: #fdfdfd;
    min-height: 0; /* Prevent flex item content overflow issues */
}
.klete-list-pricing {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}
.klete-list-price-label {
    font-size: 0.9em;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.klete-list-price {
    font-size: 1.8em;
    /* Using Elementor global color */
    color: var(--e-global-color-accent, #0d6efd);
    font-weight: 700;
    display: block;
    line-height: 1.2;
}
.klete-list-monthly {
    font-size: 0.9em;
    color: var(--e-global-color-accent, #0d6efd);
    font-weight: 400;
    display: block;
    margin-top: 5px;
}
.klete-list-price-unavailable {
    font-weight: bold;
    color: #555;
    font-size: 1.2em;
}

.klete-list-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.klete-list-test-drive.elementor-button {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    font-weight: 700;
    background-color: #ffab4d;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}
.klete-list-test-drive.elementor-button:hover {
    background-color: #f59e31;
}
.klete-list-icon-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: flex-start;
    margin-top: auto; /* Push to bottom */
    padding-top: 15px; /* Add some space above */
    flex-wrap: nowrap; /* Prevent buttons from wrapping */
    align-items: center; /* Vertically align items if height differs */
}
.klete-list-icon-buttons button.klete-teaser-pdf-button {
    display: inline-flex !important; /* Force display for testing */
    align-items: center;
    justify-content: center;
}
.klete-list-icon-buttons .klete-teaser-pdf-button {
    /* This rule is just to confirm selection, specific styles below */
    display: inline-flex; /* Ensure it tries to display */
}
.klete-list-icon-buttons button {
    width: 38px;
    height: 38px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #f8f8f8;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.klete-list-icon-buttons button:hover {
    background-color: #eee;
    color: #000;
    border-color: #aaa;
}
.klete-list-icon-buttons button svg {
    width: 18px;
    height: 18px;
}
.klete-list-icon-buttons .klete-pdf-svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}
.klete-list-icon-buttons .klete-finance-svg,
.klete-list-icon-buttons .klete-share-svg {
    fill: currentColor;
    stroke: none;
}
/* --- End List View --- */


/* --- Trigger Buttons (Common) --- */
.klete-360-trigger,
.klete-share-trigger,
.klete-grid-finance-trigger,
.klete-grid-inquiry-trigger {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    position: absolute;
    transition: background-color 0.2s;
    z-index: 5;
}

.klete-360-trigger:hover,
.klete-share-trigger:hover,
.klete-grid-finance-trigger:hover,
.klete-grid-inquiry-trigger:hover {
    background: rgba(0,0,0,0.8);
}

.klete-cart-item-grid .klete-cart-image .klete-360-trigger {
    top: 10px;
    right: 10px;
}

.klete-cart-item-grid .klete-cart-actions .klete-grid-finance-trigger,
.klete-cart-item-grid .klete-cart-actions .klete-grid-inquiry-trigger,
.klete-cart-item-grid .klete-cart-actions .klete-share-trigger {
    position: static;
}

/* --- Swiper Styles (Grid & List) --- */
.klete-grid-main-image.swiper-container,
.klete-list-main-image.swiper-container,
.klete-teaser-main-image.swiper-container {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.klete-grid-main-image .swiper-slide,
.klete-list-main-image .swiper-slide,
.klete-teaser-main-image .swiper-slide {
    text-align: center;
    line-height: 0;
}

.klete-grid-main-image .swiper-slide img,
.klete-list-main-image .swiper-slide img,
.klete-teaser-main-image .swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.klete-grid-main-image .klete-grid-swiper-prev,
.klete-grid-main-image .klete-grid-swiper-next,
.klete-list-main-image .klete-list-swiper-prev,
.klete-list-main-image .klete-list-swiper-next,
.klete-teaser-main-image .klete-main-swiper-prev,
.klete-teaser-main-image .klete-main-swiper-next {
    --swiper-navigation-size: 24px;
    --swiper-navigation-color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-top: -17.5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.klete-grid-image-wrapper:hover .klete-grid-swiper-prev,
.klete-grid-image-wrapper:hover .klete-grid-swiper-next,
.klete-list-image-wrapper:hover .klete-list-swiper-prev,
.klete-teaser-image-column:hover .klete-main-swiper-prev,
.klete-teaser-image-column:hover .klete-main-swiper-next {
    opacity: 1;
}

/* FIX: List view hover was missing */
.klete-list-image-wrapper:hover .klete-list-swiper-next {
    opacity: 1;
}


.klete-grid-main-image .klete-grid-swiper-prev,
.klete-list-main-image .klete-list-swiper-prev,
.klete-teaser-main-image .klete-main-swiper-prev {
    left: 10px;
}

.klete-grid-main-image .klete-grid-swiper-next,
.klete-list-main-image .klete-list-swiper-next,
.klete-teaser-main-image .klete-main-swiper-next {
    right: 10px;
}

/* --- Carousel Styles --- */
.klete-carts-carousel-widget {
    position: relative;
    overflow: hidden;
}

/* ... (Existing carousel styles - no changes) ... */
.klete-carts-carousel-widget .swiper-container {
    width: 100%;
    padding: 10px 0 40px;
    overflow: hidden;
    position: relative;
}

.klete-carousel-slide {
    height: auto;
    box-sizing: border-box;
}

.klete-carousel-slide-inner {
    border: 1px solid var(--e-global-color-text, #ddd);
    background: var(--e-global-color-background, #fff);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.2s;
}

.klete-carousel-slide-inner:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.klete-carousel-slide .klete-slide-content {
    padding: 15px;
    text-align: center;
}

.klete-carousel-slide .klete-slide-button {
    margin-top: auto;
    display: inline-block;
    padding: 8px 15px;
    font-size: 0.9em;
}

.klete-carts-carousel-widget .swiper-button-prev,
.klete-carts-carousel-widget .swiper-button-next {
    color: var(--e-global-color-primary, #007cba);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: background-color 0.2s, color 0.2s;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -35px;
}

.klete-carts-carousel-widget .swiper-button-prev:hover,
.klete-carts-carousel-widget .swiper-button-next:hover {
    background-color: var(--e-global-color-primary, #007cba);
    color: white;
}

.klete-carts-carousel-widget .swiper-button-prev::after,
.klete-carts-carousel-widget .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.klete-carts-carousel-widget .swiper-button-prev {
    left: 10px;
}

.klete-carts-carousel-widget .swiper-button-next {
    right: 10px;
}

.klete-carts-carousel-widget .swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.klete-carts-carousel-widget .swiper-pagination {
    bottom: 10px;
    position: absolute;
    width: 100%;
}

.klete-carts-carousel-widget .swiper-pagination-bullet {
    background-color: #ccc;
    opacity: 0.7;
    transition: background-color 0.2s, opacity 0.2s;
    margin: 0 4px !important;
}

.klete-carts-carousel-widget .swiper-pagination-bullet-active {
    background-color: var(--e-global-color-primary, #007cba);
    opacity: 1;
}

/* --- Single Cart --- */
/* ... (Existing single cart styles - no changes) ... */
.klete-single-cart-content,
.klete-single-cart-gallery {
    margin-bottom: 20px;
}

.klete-main-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.klete-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.klete-thumbnails img {
    max-width: 60px;
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 3px;
    transition: border-color 0.2s ease, opacity 0.2s;
    opacity: 0.7;
}

.klete-thumbnails img:hover,
.klete-thumbnails img.active {
    border-color: var(--e-global-color-primary, #007cba);
    opacity: 1.0;
}

.klete-carousel-nav {
    display: flex;
    justify-content: space-between;
    margin-top: -30px;
    position: relative;
    padding: 0 10px;
    pointer-events: none;
}

.klete-carousel-nav button {
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.klete-carousel-nav button:hover {
    opacity: 1.0;
}

.klete-color-selector {
    margin: 15px 0;
}

.klete-color-selector label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.klete-color-swatch {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0 8px 8px 0;
    cursor: pointer;
    border: 3px solid #ccc;
    border-radius: 50%;
    transition: border-color 0.2s ease, box-shadow 0.2s;
    background-size: cover;
    background-position: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    vertical-align: middle;
}

.klete-color-swatch:hover {
    border-color: #999;
}

.klete-color-swatch.active {
    border-color: var(--e-global-color-primary, #007cba);
    box-shadow: 0 0 5px var(--e-global-color-primary, #007cba);
}

.klete-wrap-selector select {
    margin: 10px 0;
    width: 100%;
    max-width: 300px;
    padding: 8px 12px;
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    border-radius: 4px;
    border: 1px solid #ccc;
}

.klete-single-cart .klete-cart-pricing {
    margin-bottom: 15px;
}

.klete-single-cart .klete-cart-price {
    font-size: 1.5em;
}

.klete-single-cart .klete-cart-monthly {
    font-size: 0.9em;
    font-weight: normal;
    color: #555;
    display: inline-block;
    margin-left: 10px;
}

.klete-single-cart .klete-quick-specs {
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
    font-size: 0.9em;
    color: #333;
    line-height: 1.7;
}

.klete-single-cart .klete-quick-specs .spec-item {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 5px;
}

.klete-single-cart .klete-quick-specs .spec-item strong {
    margin-right: 5px;
    color: #000;
}

.klete-single-cart .klete-cart-description,
.klete-single-cart .klete-cart-specifications {
    margin: 25px 0;
}

.klete-single-cart .klete-cart-specifications h2,
.klete-single-cart .klete-cart-description h2,
.klete-single-cart .klete-cart-videos h2 {
    margin-bottom: 15px;
    font-family: var(--e-global-typography-primary-font-family, sans-serif);
}

.klete-single-cart .klete-cart-specifications dl {
    display: grid;
    grid-template-columns: minmax(120px, auto) 1fr;
    gap: 8px 15px;
}

.klete-single-cart .klete-cart-specifications dt {
    font-weight: bold;
    color: #000;
    padding-right: 10px;
}

.klete-single-cart .klete-cart-specifications dd {
    margin: 0;
}

.klete-single-cart .klete-cart-videos .klete-video-embed {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.klete-single-cart .klete-cart-videos .klete-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Teaser Widget --- */
/* ... (Existing teaser styles - no changes) ... */
.klete-cart-teaser-inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--content-gap, 30px);
    align-items: flex-start;
}

.klete-teaser-image-right .klete-cart-teaser-inner {
    flex-direction: row-reverse;
}

.klete-teaser-image-column,
.klete-teaser-content-column {
    flex: 1 1 40%;
    min-width: 250px;
}

.klete-teaser-main-image {
    margin-bottom: 15px;
    line-height: 0;
}

.klete-teaser-main-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.klete-teaser-gallery-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.klete-teaser-gallery-scroll img {
    width: 50px;
    height: 38px;
    object-fit: cover;
    margin-right: 5px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0;
    opacity: 0.8;
    transition: border-color 0.2s, opacity 0.2s;
}

.klete-teaser-gallery-scroll img:hover {
    opacity: 1.0;
    border-color: #aaa;
}

.klete-teaser-gallery-scroll img.active {
    opacity: 1.0;
    border-color: var(--e-global-color-primary, #007cba);
}

.klete-teaser-colors {
    margin-top: 0;
    text-align: left;
}

.klete-teaser-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px 5px 0;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 0;
    transition: border-color 0.2s, outline-color 0.2s;
    background-size: cover;
    background-position: center;
    outline: 1px solid transparent;
    outline-offset: 1px;
    vertical-align: middle;
}

.klete-teaser-swatch:hover {
    border-color: #aaa;
    outline-color: #aaa;
}

.klete-teaser-swatch.active {
    border-color: #555;
    outline-color: #555;
}

.klete-cart-teaser-widget .klete-teaser-pdf-button,
.klete-cart-teaser-widget .klete-teaser-video-button {
    background: none;
    border: 1px solid #ccc;
    color: #555;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
    width: var(--icon-button-size, 36px);
    height: var(--icon-button-size, 36px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    overflow: hidden;
}

.klete-cart-teaser-widget .klete-teaser-pdf-button:hover,
.klete-cart-teaser-widget .klete-teaser-video-button:hover {
    background-color: #eee;
    color: #000;
    border-color: #aaa;
}

.klete-video-play-svg,
.klete-pdf-svg {
    width: 60%;
    height: 60%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.klete-teaser-title {
    margin: 0 0 15px;
    font-size: 1.4em;
    font-family: var(--e-global-typography-primary-font-family, sans-serif);
    text-transform: uppercase;
}

.klete-teaser-description {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.klete-teaser-description br {
    display: block;
    content: "";
    margin-top: 0.5em;
}

.klete-teaser-great-for,
.klete-teaser-seating {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 8px;
}

.klete-teaser-great-for strong,
.klete-teaser-seating strong {
    color: #000;
    font-weight: 600;
    margin-right: 5px;
    display: inline-block;
    min-width: 80px;
    text-transform: uppercase;
}

.klete-teaser-pricing {
    margin: 20px 0;
    padding: 0;
    text-align: left;
    font-size: 0.9em;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.klete-teaser-pricing span,
.klete-teaser-pricing button {
    margin: 0 5px 0 0;
    line-height: 1.4;
    white-space: nowrap;
}

.klete-teaser-pricing br {
    display: none;
}

.klete-teaser-price-label {
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
}

.klete-teaser-price {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--e-global-color-accent, #005f99);
}

.klete-teaser-savings {
    display: none !important;
}

.klete-teaser-monthly {
    font-size: 0.9em;
    color: #444;
    margin-left: 5px;
}

.klete-teaser-price-unavailable {
    font-weight: bold;
    color: #555;
}

.klete-teaser-finance-trigger {
    display: none !important;
}

.klete-teaser-finance-trigger-icon {
    background: none;
    border: none;
    padding: 0;
    margin: 0 0.3em;
    line-height: 1;
    height: 1em;
    width: 1em;
    display: inline-block;
    vertical-align: baseline;
    position: relative;
    top: 0.1em;
    cursor: pointer;
    color: inherit;
}

.klete-teaser-finance-trigger-icon:hover {
    opacity: 0.7;
}

.klete-price-calculator-icon-svg {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    vertical-align: baseline;
}

.klete-teaser-actions {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.klete-teaser-actions-left {
    display: flex;
    align-items: center;
    gap: var(--buttons-gap, 10px);
}

.klete-teaser-actions-right {
    display: flex;
    align-items: center;
    gap: var(--buttons-gap, 10px);
}

.klete-teaser-actions .elementor-button {
    flex-grow: 0;
    margin: 0 !important;
}

.klete-teaser-test-drive.elementor-button {
    background-color: #F8B334;
    color: #333;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.klete-teaser-test-drive.elementor-button:hover {
    background-color: #e0a02d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.klete-teaser-pdf-button i {
    display: none;
}

/* --- Modals & Popups --- */
/* ... (Existing modal styles - no changes) ... */
.klete-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    cursor: pointer;
    display: none;
}

.klete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.klete-modal-content {
    position: relative;
    background: var(--e-global-color-background, #fff);
    padding: 25px 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    width: auto;
    max-width: 700px;
    border-radius: 8px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    text-align: left;
}

.klete-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.7em;
    font-weight: bold;
    line-height: 0.7;
    cursor: pointer;
    color: #aaa;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.2s, background-color 0.2s;
    z-index: 1003;
}

.klete-modal-close:hover {
    color: #000;
    background-color: #8C532B;
}

.klete-modal-title {
    margin: 0 0 20px;
    text-align: center;
    font-family: var(--e-global-typography-primary-font-family, sans-serif);
    font-size: 1.4em;
    color: var(--e-global-color-primary);
}

#klete-360-modal .klete-modal-content {
    max-width: 800px;
    background-color: #f8f8f8;
}

.klete-modal-360-viewer {
    background-color: #e9e9e9;
    width: 100%;
    padding-top: 66.66%;
    cursor: grab;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #ccc;
    position: relative;
}

.klete-modal-360-viewer .klete-360-instructions {
    opacity: 0.8;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 3px 8px;
    font-size: 0.8em;
    border-radius: 3px;
    pointer-events: none;
}

.klete-modal-loader {
    display: none;
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #555;
}

#klete-share-modal .klete-modal-content {
    max-width: 450px;
}

.klete-share-links p {
    margin: 15px 0 5px;
    font-weight: bold;
}

.klete-share-links hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #eee;
}

.klete-share-links .klete-share-link {
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    color: #fff !important;
}

.klete-share-links .klete-share-email {
    background-color: #777;
}

.klete-share-links .klete-share-facebook {
    background-color: #3b5998;
}

.klete-share-links .klete-share-twitter {
    background-color: #1da1f2;
}

.klete-share-links .klete-share-link:hover {
    opacity: 0.9;
}

.klete-share-links .klete-share-url {
    width: calc(100% - 105px);
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 0.9em;
    box-sizing: border-box;
}

.klete-share-links .klete-copy-url {
    width: 90px;
    padding: 6px 10px;
    font-size: 0.9em;
    cursor: pointer;
    background-color: var(--e-global-color-secondary);
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    vertical-align: middle;
}

.klete-share-links .klete-copy-url:hover {
    background-color: #ddd;
}

#klete-inquiry-popup .klete-modal-content,
#klete-finance-popup .klete-modal-content {
    width: 90vw;
    max-width: 450px !important;
}

#klete-finance-popup .klete-modal-content {
    max-width: 800px !important;
}

.klete-calculator-body {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.klete-finance-inputs {
    flex: 1 1 50%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.klete-finance-results {
    flex: 1 1 40%;
    min-width: 280px;
    background-color: #43aebc;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.klete-form-group {
    margin-bottom: 0;
}

.klete-form-group label {
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.klete-form-group input[type="number"],
.klete-form-group input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.1em;
    box-sizing: border-box;
}

.klete-form-group small {
    font-size: 0.8em;
    color: #777;
    margin-top: 5px;
    display: block;
}

.klete-slider-group .klete-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.klete-slider-group input[type="range"] {
    flex-grow: 1;
    cursor: pointer;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

.klete-slider-group input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    background: #FF9800;
    border-radius: 5px;
}

.klete-slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #FF9800;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.klete-slider-group input[type="range"]::-moz-range-track {
    height: 8px;
    background: #FF9800;
    border-radius: 5px;
    border: none;
}

.klete-slider-group input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 2px solid #FF9800;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.klete-slider-group .klete-slider-value {
    flex-shrink: 0;
    font-weight: bold;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
    min-width: 70px;
    text-align: center;
    font-size: 0.9em;
}

.klete-slider-group .klete-slider-value output {
    display: inline;
}

.klete-finance-results h4 {
    margin: 0 0 10px;
    font-size: 1.1em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.klete-finance-results .klete-result-value {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
}

.klete-finance-results small {
    font-size: 0.8em;
    opacity: 0.8;
    display: block;
    margin-bottom: 20px;
}

.klete-finance-results hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 25px 0;
}

.klete-finance-results .klete-result-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.klete-finance-results .klete-result-detail span:last-child {
    font-weight: bold;
}

.klete-finance-results .klete-result-pre-calc,
.klete-finance-results .klete-result-trade {
    font-size: 0.95em;
    opacity: 0.9;
    margin-bottom: 8px;
}

.klete-finance-results .klete-result-pre-calc span:last-child,
.klete-finance-results .klete-result-trade span:last-child {
    font-weight: normal;
}

.klete-finance-results .klete-result-principal,
.klete-finance-results .klete-result-trade-equity {
    margin-top: 8px;
    font-size: 1.0em;
    font-weight: bold;
}

.klete-finance-results .klete-result-principal strong,
.klete-finance-results .klete-result-trade-equity strong {
    font-weight: bold;
}

.klete-finance-results hr.klete-result-divider-1 {
    margin: 15px 0;
}

.klete-finance-results p {
    font-size: 0.9em;
    line-height: 1.6;
    margin-top: 20px;
    opacity: 0.9;
}

.klete-finance-results #klete-finance-get-started {
    margin-top: 25px;
    background-color: #FF9800;
    color: #fff;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.klete-finance-results #klete-finance-get-started:hover {
    background-color: #f57c00;
}

.klete-form-group.klete-switch-group {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.klete-form-group.klete-switch-group label {
    margin-bottom: 0;
}

.klete-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.klete-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.klete-switch .klete-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 28px;
}

.klete-switch .klete-switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.klete-switch input:checked + .klete-switch-slider {
    background-color: var(--e-global-color-primary, #007cba);
}

.klete-switch input:checked + .klete-switch-slider:before {
    transform: translateX(22px);
}

.klete-finance-trade-fields {
    display: none;
    padding: 15px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    margin-top: 10px;
    flex-direction: column;
    gap: 15px;
}

#klete-inquiry-popup form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#klete-inquiry-popup label {
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 3px;
    display: block;
}

#klete-inquiry-popup input[type="text"],
#klete-inquiry-popup input[type="email"],
#klete-inquiry-popup input[type="tel"],
#klete-inquiry-popup select,
#klete-inquiry-popup textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--e-global-typography-text-font-family, sans-serif);
    box-sizing: border-box;
}

#klete-inquiry-popup textarea {
    min-height: 80px;
}

#klete-inquiry-popup button[type="submit"] {
    background: var(--e-global-color-primary, #007cba);
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-family: var(--e-global-typography-primary-font-family, sans-serif);
    font-size: 1em;
    transition: background-color 0.2s;
}

#klete-inquiry-popup button[type="submit"]:hover {
    background: var(--e-global-color-accent, #005f99);
}

#klete-inquiry-popup .popup-links {
    margin-top: 15px;
    text-align: center;
    font-size: 0.85em;
    display: none;
}

#klete-video-modal .klete-modal-content {
    width: 90vw;
    max-width: 900px;
    padding: 15px;
    background-color: #000;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

#klete-video-modal .klete-modal-close {
    color: #fff;
    opacity: 0.7;
    z-index: 1005;
    font-size: 2.5em;
    top: 5px;
    right: 10px;
}

#klete-video-modal .klete-modal-close:hover {
    opacity: 1.0;
    color: #fff;
}

.klete-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
    width: 100%;
}

.klete-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.klete-cart-360 {
    width: 100%;
    padding-top: 66.66%;
    height: 0;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: grab;
    border: 1px solid var(--e-global-color-text, #ddd);
    position: relative;
    margin-bottom: 15px;
}

.klete-cart-360:active {
    cursor: grabbing;
}

.klete-360-instructions {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 3px 8px;
    font-size: 0.8em;
    border-radius: 3px;
    pointer-events: none;
}

.klete-image-lightbox .klete-image-lightbox-content {
    max-width: 90vw;
    width: auto;
    max-height: 90vh;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    line-height: 0;
    position: relative;
}

.klete-image-lightbox .klete-image-lightbox-image-wrapper img {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 20px);
    width: auto;
    height: auto;
    margin: 0 auto;
}

.klete-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 60px;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 1002;
    opacity: 0.7;
    transition: background-color 0.2s, opacity 0.2s;
    display: none;
}

.klete-lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.klete-lightbox-prev {
    left: 15px;
}

.klete-lightbox-next {
    right: 15px;
}

.klete-image-lightbox.has-multiple-images .klete-image-lightbox-content:hover .klete-lightbox-nav {
    display: block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    /* --- NEW LIST VIEW (Tablet) --- */
    .klete-layout-list .klete-cart-item-inner {
        flex-direction: column;
    }
    .klete-list-image-wrapper {
        flex-basis: auto;
        width: 100%;
        min-width: unset;
    }
    .klete-list-content-wrapper {
        flex-basis: auto;
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f0f0;
    }
    .klete-list-actions-wrapper {
        flex-basis: auto;
        width: 100%;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        align-items: center; /* Center content on tablet stack */
    }
    .klete-list-pricing {
        text-align: center;
    }
    .klete-list-actions {
        max-width: 300px; /* Constrain button width */
    }
    .klete-list-icon-buttons {
        justify-content: center; /* Center icons */
        margin-top: 0;
    }
    /* --- End List View (Tablet) --- */


    .klete-modal-content {
        max-width: 90%;
    }
    #klete-360-modal .klete-modal-content { max-width: 700px; }
    #klete-share-modal .klete-modal-content,
    #klete-inquiry-popup .klete-modal-content { max-width: 400px; }
    #klete-finance-popup .klete-modal-content { max-width: 800px; }
    .klete-single-cart .klete-cart-specifications dl {
        grid-template-columns: 120px 1fr;
    }

    /* --- Deprecated List View (v1.31.23) --- */
    /*
    .klete-cart-item-list .klete-list-image-wrapper,
    .klete-cart-item-list .klete-list-actions-wrapper {
        flex-basis: 180px;
    }
    .klete-grid-card,
    .klete-cart-item-list {
        flex-direction: column;
    }
    .klete-grid-content-wrapper,
    .klete-list-content-wrapper {
        padding: 15px;
    }
    */
    /* --- End Deprecated --- */
}

@media (max-width: 767px) {
    .klete-layout-grid .klete-items-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* --- List View (Mobile) --- */
    .klete-list-content-wrapper,
    .klete-list-actions-wrapper {
        padding: 20px;
    }
    .klete-list-title {
        font-size: 1.5em;
    }
    .klete-list-price {
        font-size: 1.6em;
    }
    .klete-layout-list .klete-cart-item-inner {
        flex-direction: column;
    }
    .klete-list-image-wrapper {
        flex-basis: auto;
        width: 100%;
        min-width: unset;
        /* Ensure height doesn't collapse if image fails */
        min-height: 150px;
    }
    .klete-list-content-wrapper {
        padding: 20px;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        padding-bottom: 20px; /* Add explicit bottom padding */
    }
    .klete-list-actions-wrapper {
        padding: 20px;
        border-left: none;
        border-top: 1px solid #f0f0f0;
        align-items: center; /* Center content on mobile stack */
    }
    .klete-list-icon-buttons {
        justify-content: center; /* Center on mobile */
        padding-top: 10px; /* Adjust mobile spacing */
        margin-top: 15px; /* Ensure margin from action button */
    }
    /* --- End List View (Mobile) --- */


    /* --- Deprecated List View (v1.31.23) --- */
    /*
    .klete-cart-item-list {
        flex-direction: column;
    }
    .klete-cart-item-list .klete-list-image-wrapper {
        flex-basis: auto;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .klete-cart-item-list .klete-list-content-wrapper {
        padding: 15px;
        border: none;
    }
    .klete-cart-item-list .klete-list-actions-wrapper {
        flex-basis: auto;
        border-left: none;
        border-top: 1px solid #eee;
        padding: 15px;
        flex-direction: row;
        justify-content: space-around;
    }
    .klete-cart-item-list .klete-list-actions {
        margin-top: 0;
        flex-direction: column;
        align-items: flex-end;
    }
    .klete-cart-item-list .klete-list-actions .elementor-button {
        width: auto;
        margin: 0 0 5px 0 !important;
    }
    .klete-cart-item-list .klete-list-icon-buttons {
        margin-top: 5px;
    }
    */
    /* --- End Deprecated --- */


    .klete-filters {
        flex-direction: column;
        gap: 10px;
    }
    .klete-filters select {
        width: 100%;
        max-width: none;
    }
    .klete-filters .klete-filter-sort {
        margin-left: 0;
    }
    .klete-modal {
        padding: 15px;
        align-items: flex-start;
    }
    .klete-modal-content {
        width: 95%;
        padding: 20px;
        max-height: calc(100vh - 30px);
        margin: 0 auto;
    }
    .klete-modal-title {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    .klete-modal-close {
        font-size: 1.6em;
        top: 8px;
        right: 10px;
    }
    .klete-share-links .klete-share-url {
        width: calc(100% - 100px);
    }
    .klete-share-links .klete-copy-url {
        width: 90px;
    }
    .klete-calculator-body {
        flex-direction: column;
        gap: 30px;
    }
    .klete-finance-inputs,
    .klete-finance-results {
        flex-basis: auto;
        width: 100%;
    }
    .klete-single-cart .klete-cart-specifications dl {
        grid-template-columns: 100px 1fr;
    }
    .klete-carts-carousel-widget .swiper-button-prev,
    .klete-carts-carousel-widget .swiper-button-next {
        display: none;
    }
    .klete-carts-carousel-widget .swiper-container {
        padding-bottom: 30px;
    }
    .klete-cart-teaser-inner {
        flex-direction: column !important;
    }
    .klete-teaser-image-column,
    .klete-teaser-content-column {
        flex-basis: auto !important;
        width: 100%;
    }
    .klete-teaser-content-column {
        padding-top: var(--content-gap, 20px);
    }

    /* --- Deprecated Grid View (v1.31.23) --- */
    /*
    .klete-teaser-video-button {
        width: 50px;
        height: 50px;
    }
    .klete-grid-main-image img,
    .klete-list-main-image img {
        height: 150px;
    }
    .klete-grid-gallery-bar,
    .klete-list-gallery-bar {
        padding: 5px;
    }
    .klete-grid-gallery-thumb,
    .klete-list-gallery-thumb,
    .klete-grid-video-thumb,
    .klete-list-video-thumb {
        width: 40px;
        height: 30px;
    }
    .klete-grid-swatch,
    .klete-list-swatch {
        width: 16px;
        height: 16px;
    }
    */
    /* --- End Deprecated --- */
}

/* --- New Filter Bar & Drawer Styles (v1.31.28 - Refined) --- */

.klete-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px; /* Reduced padding */
    background-color: #ffffff; /* White background */
    border: 1px solid #E0E0E0; /* Lighter border */
    border-radius: 10px; /* More rounded corners */
    margin-bottom: 25px;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07); /* Subtle shadow like mockup */
    position: relative; /* Positioning context for absolute drawer */
    z-index: 99;
}

.klete-filters-bar-left,
.klete-filters-bar-center,
.klete-filters-bar-right {
    display: flex;
    align-items: center;
    gap: 8px; /* Slightly reduced gap */
}

.klete-filters-bar-center {
    flex-grow: 1;
    justify-content: center; /* Center search form */
    padding: 0 15px; /* Add some horizontal padding */
}

/* Filter/Sort Buttons */
.klete-bar-button {
    background-color: #eae0da !important; /* Light gray background */
    border: 1px solid #2e272a; /* Gray border */
    border-radius: 6px;
    padding: 8px 12px; /* Adjusted padding */
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    color: #2e272a !important; /* Darker text */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.klete-bar-button i {
    font-size: 1.1em;
    line-height: 1;
    color: #777; /* Icon color */
}

.klete-bar-button:hover {
    background-color: #2e272a !important;
    border-color: #2e272a;
    color: #eae0da !important;
}

/* Active/Open State for Filter/Sort Toggle */
.klete-bar-button.klete-drawer-toggle-active { /* Class to be added by JS */
    background-color: #2e272a !important;
    border-color: #F59E31; /* Darker orange border */
    color: #eae0da !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.klete-bar-button.klete-drawer-toggle-active i {
    color: #fff; /* White icon */
}

/* Search Form */
.klete-search-form {
    display: flex;
    align-items: center;
    background-color: #F8F8F8; /* Light gray background */
    border: 1px solid #D8D8D8; /* Gray border */
    border-radius: 6px;
    overflow: hidden;
    max-width: 350px; /* Adjusted max width */
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.klete-search-form:focus-within { /* Style when input has focus */
    border-color: #FFAB4D;
    box-shadow: 0 0 0 2px rgba(255, 171, 77, 0.3);
}

.klete-search-input {
    border: none;
    padding: 8px 12px; /* Match button padding */
    font-size: 0.9em;
    flex-grow: 1;
    min-width: 80px;
    background-color: transparent; /* Inherit from form */
    outline: none;
    color: #333;
}
.klete-search-input::placeholder {
    color: #999;
}

.klete-search-submit {
    background-color: transparent; /* Inherit from form */
    border: none;
    border-left: 1px solid #D8D8D8; /* Separator */
    padding: 8px 10px;
    cursor: pointer;
    color: #FFAB4D; /* Orange icon */
    line-height: 1;
    transition: background-color 0.2s;
}
.klete-search-submit i {
    font-size: 1em;
    display: block; /* Fix potential alignment issue */
}
.klete-search-submit:hover {
    background-color: #EFEFEF;
}

/* Layout Toggle */
.klete-layout-toggle {
    display: flex;
    align-items: center;
    background-color: #F8F8F8; /* Match buttons */
    border: 1px solid #D8D8D8; /* Match buttons */
    border-radius: 6px;
    overflow: hidden;
}

.klete-layout-toggle .klete-toggle-btn {
    background-color: transparent; /* Inherit */
    border: none;
    padding: 8px 10px; /* Match other buttons */
    cursor: pointer;
    line-height: 1;
    font-size: 1.1em;
    color: #777; /* Default icon color */
    transition: background-color 0.2s, color 0.2s;
}

.klete-layout-toggle .klete-toggle-btn + .klete-toggle-btn {
    border-left: 1px solid #D8D8D8; /* Use same border color */
}

.klete-layout-toggle .klete-toggle-btn:hover {
    background-color: #EFEFEF;
    color: #333;
}

.klete-layout-toggle .klete-toggle-btn.active {
    background-color: #555; /* Dark background for active toggle */
    color: #fff; /* White icon */
    cursor: default;
}

/* Filter/Sort Drawers (Common Styles) - v1.32.4 Smooth Animation */
.klete-filter-drawer,
.klete-sort-drawer {
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    color: #fff;
    padding: 0 30px; /* No top/bottom padding when closed */
    margin-top: -10px; /* Slight overlap with bar */
    margin-bottom: 25px;
    border-radius: 0 0 12px 12px;
    position: relative;
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    margin-top: -35px; /* No gap when open */
    max-width: 1600px; /* Or your desired max width */
    width: 98%;       /* Ensures it's responsive */
    margin-left: auto;  /* Automatically calculates left margin */
    margin-right: auto; /* Automatically calculates right margin */
    margin-bottom: 40px;
    transition: opacity 0.4s ease, max-height 0.5s ease, padding 0.4s ease, margin-top 0.4s ease;
    z-index: 10;
}

.klete-filter-drawer.klete-is-open,
.klete-sort-drawer.klete-is-open {
    opacity: 1;
    max-height: 1000px; /* Increased for more content */
    padding: 25px 30px; /* Full padding when open */

    pointer-events: auto; /* <-- ADDED this (allows interaction) */
}

.klete-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}

.klete-drawer-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.klete-drawer-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 2em;
    line-height: 0.5;
    padding: 0 5px;
    cursor: pointer;
}
.klete-drawer-close:hover {
    color: #fff;
}

.klete-drawer-content {
    /* Specific styles below */
}

.klete-drawer-footer {
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #555;
    gap: 10px; /* Add gap between footer buttons */
}

.klete-drawer-footer button {
    background-color: #555;
    color: #fff;
    border: 1px solid #777;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}
.klete-drawer-footer button:hover {
    background-color: #666;
    border-color: #888;
}

/* Style Reset button differently */
.klete-drawer-footer .klete-filter-reset-drawer {
    background-color: transparent;
    border: none;
    color: #ccc;
    margin-right: auto; /* Push reset button to the left */
    padding: 8px 0; /* Adjust padding */
}
.klete-drawer-footer .klete-filter-reset-drawer:hover {
    color: #fff;
    background-color: transparent; /* Ensure no background on hover */
}

.klete-drawer-footer .klete-apply-filters { /* Only needed if JS uses it */
    background-color: #FFAB4D;
    border-color: #F59E31;
    color: #fff; /* Ensure text is visible */
}
.klete-drawer-footer .klete-apply-filters:hover {
    background-color: #F59E31;
    border-color: #E08E1D;
}


/* Filter Drawer Specifics - v1.32.0 Enhanced */
.klete-filter-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns like mockup */
    gap: 25px 30px;
}

.klete-filter-group {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.klete-filter-group h4 {
    margin: 0 0 12px;
    font-size: 0.95em;
    font-weight: 700;
    color: #fff; /* White heading for better contrast */
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.klete-filter-list {
    list-style: none;
    padding: 15px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.08); /* Subtle white background */
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px); /* Glassmorphism effect */
}

.klete-filter-list li {
    margin-bottom: 6px;
}
.klete-filter-list li:last-child {
    margin-bottom: 0;
}

.klete-filter-list label {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    color: #eee;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}
.klete-filter-list label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}
.klete-filter-list input[type="checkbox"] {
    display: none; /* Hide checkbox, rely on label style */
}
/* Style label when checkbox is checked */
.klete-filter-list input[type="checkbox"]:checked + span {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #FFAB4D 0%, #ff8c1a 100%); /* Gradient highlight */
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(255, 171, 77, 0.4);
}


/* Sort Drawer Specifics - v1.32.0 Enhanced */
.klete-sort-options ul {
    list-style: none;
    padding: 15px;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    max-width: 400px; /* Constrain width for better UX */
}

.klete-sort-options li {
    margin-bottom: 4px;
}
.klete-sort-options li:last-child {
    margin-bottom: 0;
}

.klete-sort-options label {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.95em;
    color: #eee;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.klete-sort-options label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}
.klete-sort-options input[type="radio"] {
    margin-right: 10px;
    accent-color: #FFAB4D;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
/* Style label when radio is checked */
.klete-sort-options input[type="radio"]:checked + span {
    color: #FFAB4D;
    font-weight: 600;
}
/* Add background highlight to selected item */
.klete-sort-options li:has(input[type="radio"]:checked) > label {
    background: linear-gradient(90deg, rgba(255, 171, 77, 0.15) 0%, rgba(255, 171, 77, 0.05) 100%);
    border-left: 3px solid #FFAB4D;
    padding-left: 11px; /* Adjust for border */
}


/* Responsive Adjustments for Filter Bar */
@media (max-width: 991px) {
    .klete-filters-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 10px; /* Adjust padding */
    }
    .klete-filters-bar-left,
    .klete-filters-bar-right {
        justify-content: space-between;
        width: 100%;
    }
    .klete-filters-bar-center {
        width: 100%;
        max-width: none;
        order: 3;
        padding: 0; /* Remove side padding */
    }
    .klete-search-form {
        max-width: none;
    }
    .klete-filter-options {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
        gap: 20px;
    }
    .klete-filter-drawer.klete-is-open,
    .klete-sort-drawer.klete-is-open {
        max-height: 1200px; /* Increase for mobile stacking */
    }
}

@media (max-width: 767px) {
    .klete-filters-bar {
        gap: 10px;
    }
    .klete-bar-button {
        padding: 8px 10px; /* Slightly more padding */
        font-size: 0.85em;
    }
    .klete-search-input {
        padding: 8px 10px;
        font-size: 0.85em;
    }
    .klete-search-submit {
        padding: 8px;
    }
    .klete-layout-toggle .klete-toggle-btn {
        padding: 8px;
        font-size: 1em;
    }
    .klete-filter-options {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 15px;
    }
    .klete-filter-drawer.klete-is-open,
    .klete-sort-drawer.klete-is-open {
        max-height: 1600px; /* Even more space for single column */
    }
    .klete-drawer-footer {
        flex-direction: column; /* Stack footer buttons */
        align-items: stretch; /* Make buttons full width */
    }
    .klete-drawer-footer .klete-filter-reset-drawer {
        margin-right: 0; /* Remove auto margin */
        text-align: center; /* Center reset text */
        margin-bottom: 5px;
    }
}

/* --- End Filter Bar & Drawer Styles --- */