/* Make accepted page sides black */
body.accepted {
    background: #000;
}

/* Legacy mode overrides page background */
body.legacy-mode {
    background: #f5f7fa !important;
}

/* Order Summary */
.order-summary {
    padding: 24px 0 32px;
    color: #111;
    font-size: 13.5px;
    background: #000;
}

.order-summary .container {
    max-width: 1020px;
    margin: 0 auto;
}

.order-summary .order-card {
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.order-summary .order-summary-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px 18px 20px;
}

.order-summary .order-extras {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
    align-items: start;
}

.order-summary .order-lines {
    width: 100%;
    border-collapse: collapse;
    color: #111;
    font-size: 13.5px;
    table-layout: fixed;
}

.order-summary .order-lines th.thumb,
.order-summary .order-lines td.thumb {
    width: 136px; /* 65% of 210px */
}

.order-summary .order-lines th.desc,
.order-summary .order-lines td.desc {
    width: 58%;
}

.order-summary .order-lines th.unit,
.order-summary .order-lines td.unit {
    width: 12%;
}

.order-summary .order-lines th.discount,
.order-summary .order-lines td.discount {
    width: 8%;
}

.order-summary .order-lines th.qty,
.order-summary .order-lines td.qty {
    width: 6%;
}

.order-summary .order-lines th.total,
.order-summary .order-lines td.total {
    width: 16%;
}

.order-summary .order-lines th,
.order-summary .order-lines td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    color: #111;
}

.order-summary .order-lines th {
    text-align: left;
    color: #111;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.2px;
}

.order-summary .order-lines td.numeric,
.order-summary .order-lines th.numeric {
    text-align: right;
}

/* Ensure discount column keeps a fixed width even when toggled visible */
.order-summary .order-lines th.discount-col,
.order-summary .order-lines td.discount-col {
    width: 8%;
}

/* When discount column is disabled, collapse it without reflowing widths */
.order-summary .order-lines.no-discount th.discount-col,
.order-summary .order-lines.no-discount td.discount-col {
    visibility: collapse;
}

.order-summary .order-lines td.desc {
    line-height: 1.35;
}

.order-summary .order-lines td.thumb {
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
    vertical-align: middle;
}

.order-summary .order-lines td.thumb .li-thumb {
    width: 125px; /* ~65% of 192px */
    height: 94px; /* ~65% of 144px */
    object-fit: cover;
    border-radius: 4px;
    display: inline-block;
    background: #f6f6f6;
    border: none;
}

@media (max-width: 768px) {

    .order-summary .order-lines th.thumb,
    .order-summary .order-lines td.thumb {
        width: 96px;
    }

    .order-summary .order-lines td.thumb .li-thumb {
        width: 88px;
        height: 66px;
    }
}

.order-summary .order-lines tbody tr:last-child td {
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

.order-summary .order-totals {
    margin-left: auto;
    width: 100%;
    max-width: 320px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
    color: #111;
}

.order-summary .order-totals .totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.order-summary .order-totals .totals-row.grand {
    border-top: 1px dashed rgba(0, 0, 0, 0.15);
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
}

/* (removed heading) */
.order-summary .order-meta {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 12px 20px;
    color: #111;
    margin: 10px 0 10px;
    font-size: 13px;
    align-items: start;
}

.order-summary .order-meta-left .order-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.1;
}

.order-summary .order-meta-left .order-subtitle {
    margin-top: 4px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.order-summary .order-meta-left .order-note {
    margin-top: 6px;
    font-size: 12px;
    color: #111;
}

.order-summary .order-meta-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: right;
}

.order-summary .order-meta .meta-item {
    line-height: 1.25;
}

.order-summary .order-meta .meta-item strong {
    font-weight: 700;
}

.order-summary .order-meta .meta-sep {
    display: none;
}

@media (max-width: 720px) {
    .order-summary .order-meta {
        grid-template-columns: 1fr;
    }
}

.order-summary .acceptance-box {
    background: #fff; /* Body of the box is white */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
    color: #111; /* Dark text on white */
}

.order-summary .acceptance-box h3 {
    margin: 0 0 8px;
    font-size: 14px;
    background: var(--jd3-purple, #5E3099); /* Keep header strip purple */
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
}

.order-summary .acceptance-box p {
    margin: 6px 0;
}

.order-summary .acceptance-box .no-change-note {
    font-weight: 600;
    margin-top: 10px;
}

.order-summary .acceptance-box .signature-label {
    margin-top: 10px;
    font-weight: 700;
}

.order-summary .signature-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: end;
    margin-top: 8px;
}

.order-summary .signature-image {
    height: 64px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2); /* Dark divider on white body */
}

.order-summary .signature-name {
    font-weight: 600;
}

@media (max-width: 900px) {
    .order-summary .order-extras {
        grid-template-columns: 1fr;
    }

    .order-summary .order-summary-body {
        padding: 14px;
    }
}

@media (min-width: 900px) {
    .order-summary {
        font-size: 14px;
    }

    .order-summary .order-lines {
        font-size: 14px;
    }

    .order-summary .order-lines th {
        font-size: 13px;
    }
}

/* Visual Slider Styles */
.visual_slider {
    width: 100%;
    height: var(--slider-height, 85vh);
    max-height: 850px;
    min-height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-slider {
    width: calc(var(--slider-height, 85vh) * 1.59);
    /* Maintain 1.59 aspect ratio */
    max-width: calc(850px * 1.59);
    /* Max width based on max height */
    max-width: min(calc(850px * 1.59), 90vw);
    /* Don't exceed 90% viewport width */
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #000;
    border-radius: 12px;
    overflow: hidden;

}

/* Thumbnail Section - Above the main slider */
.slider-thumbnails {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.slider-main {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    /* Ensure track stays below nav buttons when transformed */
    position: relative;
    z-index: 1;
}

.slider-track:active {
    cursor: grabbing;
}

.slider-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to contain */
    background: #000;
    display: block;
    /* Keep images below nav */
    position: relative;
    z-index: 1;
    pointer-events: none;
    /* allow drag gestures on track beneath */
}

.outline-slider .slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to contain */
    background: #fff;
    display: block;
}


.laser-pill {

    background: #808080;
    display: inline-block;
    padding: 5px;
    vertical-align: middle;
    margin-bottom: 2px;
    border-radius: 8px;
}


.slide-error {
    background: #1a1a1a;
    color: #fff;
}

/* Legacy accepted card styles */
.accepted-legacy { padding: 48px 0 64px; }
.accepted-legacy .legacy-wrap {
    max-width: 1020px;
    margin: 0 auto;
}
.accepted-legacy .legacy-card {
    width: 420px;
    max-width: 90vw;
    margin: 18vh auto 14vh; /* roughly center vertically */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    padding: 28px 24px 26px;
    text-align: center;
    color: #222;
}
.accepted-legacy .legacy-check { margin-bottom: 10px; }
.accepted-legacy h2 {
    margin: 6px 0 10px;
    font-size: 22px;
    font-weight: 700;
}
.accepted-legacy .legacy-muted {
    color: #6b7280; /* grey-500 */
    margin: 6px 0 2px;
}
.accepted-legacy .legacy-strong {
    font-weight: 700;
}

.slide-error-content {
    text-align: center;
    padding: 40px;
}

.slide-error-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ff6b6b;
}

.slide-error-content p {
    color: #999;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 50;
    /* above track and images */
    backdrop-filter: blur(10px);
    -webkit-transform: translateY(-50%) translateZ(0);
    transform: translateY(-50%) translateZ(0);
    /* promote to own layer */
    pointer-events: auto;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-nav-prev {
    left: 20px;
}

.slider-nav-next {
    right: 20px;
}

/* Controls Section - Now only contains play/pause */
.slider-controls {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the play/pause button */
    backdrop-filter: blur(10px);
}

.play-pause-btn {
    background: none;
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.play-pause-btn:hover {
    transform: scale(1.1);
}

.play-pause-btn:hover .progress-bar {
    stroke: #ffdd44;
}

/* Progress Circle */
.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    transform: rotate(-90deg);
}

.progress-bg {
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 2;
}

.progress-bar {
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke 0.3s ease;
    stroke-dasharray: 125.66;
    /* 2 * π * 20 */
    stroke-dashoffset: 125.66;
}

/* Play/Pause Icons Container */
.play-pause-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon,
.pause-icon {
    width: 16px;
    height: 16px;
}

.pause-icon {
    display: none;
}

/* Thumbnail Container - Now in its own section above slider */
.thumbnail-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    /* Center the thumbnails */
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

.thumbnail-container::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    flex: 0 0 auto;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    overflow: hidden;
}

.thumbnail:hover {
    border-color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
}

.thumbnail.active {
    border-color: #fff;
    opacity: 1;
}

.thumbnail img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    display: block;
}

.thumbnail-error {
    width: 60px;
    height: 40px;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Mobile Pill Thumbnails */
.thumbnail-pill {
    width: 30px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
}

.thumbnail-pill.active {
    background: #fff;
}

.thumbnail-pill:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Placeholder Styles */
.visual-slider-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.placeholder-content {
    text-align: center;
    color: #999;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Static Image Display (for single items) */
.static-image-wrapper {
    background: black;

    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: black;
}

.static-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.static-image-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    color: #999;
    font-size: 18px;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .visual_slider {
        /* On mobile, allow full width but maintain reasonable height */
        width: 100%;
        min-height: 300px;
        height: var(--slider-height, 60vh);
        max-height: 60vh;
    }

    .visual-slider {
        /* On mobile, use full width of container */
        width: 100%;
        max-width: 100vw;
    }

    .slider-thumbnails {
        padding: 12px 15px;
        /* Hide thumbnails completely on mobile */
        display: none;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.8);
    }

    .slider-nav-prev {
        left: 10px;
    }

    .slider-nav-next {
        right: 10px;
    }

    .slider-controls {
        padding: 12px 15px;
    }

    .play-pause-btn {
        width: 38px;
        height: 38px;
    }

    .progress-circle {
        width: 38px;
        height: 38px;
    }

    .play-icon,
    .pause-icon {
        width: 14px;
        height: 14px;
    }

    .thumbnail-container {
        gap: 8px;
        justify-content: flex-start;
        /* On mobile, start from left for scrolling */
        /* Hide thumbnail container on mobile */
        display: none;
    }

    /* Hide thumbnail pills on mobile */
    .thumbnail-pill {
        display: none;
    }

    /* On mobile, arrows can overlap image slightly */
    .slider-nav {
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
    }

    .outline_slider {
        padding: 0;
    }

    .outline-slider {
        max-width: 100vw;
        max-height: 500px;
        min-height: 400px;
    }

    /* Hide thumbnails on mobile for outline slider */
    .outline-slider .slider-thumbnails {
        display: none;
    }

    /* Position navigation arrows same as visual slider on mobile */
    .outline-slider .slider-nav-prev {
        left: 10px;
    }

    .outline-slider .slider-nav-next {
        right: 10px;
    }

    .outline-slider .slider-nav {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        color: black;
    }

    .outline-slider .slider-nav:hover {
        background: rgba(255, 255, 255, 1);
    }
}

@media (max-width: 480px) {
    .visual_slider {
        min-height: 250px;
        /* Ensure full width on small screens */
        width: 100vw;
        max-width: 100vw;
    }

    .visual-slider {
        width: 100%;
        max-width: 100vw;
    }

    .slider-thumbnails {
        padding: 10px 12px;
        /* Keep thumbnails hidden on small screens */
        display: none;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.9);
        color: black;
    }

    .slider-nav-prev {
        left: 5px;
    }

    .slider-nav-next {
        right: 5px;
    }

    .slider-controls {
        padding: 10px 12px;
    }

    .play-pause-btn {
        width: 36px;
        height: 36px;
    }

    .progress-circle {
        width: 36px;
        height: 36px;
    }

    .play-icon,
    .pause-icon {
        width: 12px;
        height: 12px;
    }

    .outline-slider .slide-caption-container {
        width: 95%;
        max-width: calc(100% - 20px);
        bottom: 15px;
    }

    .outline-slider .slide-caption.product-group {
        font-size: 11px;
        padding: 6px 12px;
        letter-spacing: 0.3px;
        line-height: 1.3;
    }

    .outline-slider .slide-caption.dimensions {
        font-size: 16px;
        padding: 6px 12px;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }

    /* Move navigation arrows back inside on mobile */
    .outline-slider .slider-nav-prev {
        left: 10px;
    }

    .outline-slider .slider-nav-next {
        right: 10px;
    }

    .outline_slider {
        padding: 0;
    }

    .outline-slider {
        min-height: 300px;
    }

    /* Position navigation arrows same as visual slider on mobile */
    .outline-slider .slider-nav-prev {
        left: 5px;
    }

    .outline-slider .slider-nav-next {
        right: 5px;
    }

    .outline-slider .slider-nav {
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.9);
        color: black;
    }

    .outline-slider .slider-nav:hover {
        background: rgba(255, 255, 255, 1);
    }
}

/* Tablet adjustments for outline slider navigation */
@media (min-width: 769px) and (max-width: 1024px) {
    .thumbnail img {
        width: 50px;
        height: 35px;
    }

    .thumbnail-error {
        width: 50px;
        height: 35px;
    }

    .outline-slider .slider-nav-prev {
        left: -60px;
    }

    .outline-slider .slider-nav-next {
        right: -60px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .slider-nav,
    .play-pause-btn {
        backdrop-filter: blur(20px);
    }
}

/* Focus Styles for Accessibility */
.slider-nav:focus,
.play-pause-btn:focus,
.thumbnail:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Animation States */
.visual-slider.loading .slider-slide {
    background: #1a1a1a;
}

.visual-slider.loading .slider-slide::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Outline Slider Styles */
.outline_slider {
    width: 100%;
    /* height: 700px;
    Fixed height for outline slider */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
}

.outline-slider {
    width: 1029px;
    /* Fixed width for 1.47 aspect ratio (1029/700 = 1.47) */
    max-width: 90vw;
    /* Don't exceed 90% viewport width */
    height: 700px;
    /* Fixed height */
    display: flex;
    flex-direction: column;
    /* Normal column direction - thumbnails will be below main slider */
    background: #fff;
    /* White background for outline slider */
    border-radius: 12px;
    overflow: hidden;
}

.outline-slider .slider-thumbnails {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.outline-slider .slider-main {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.outline-slider .slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    position: relative;
    z-index: 1;
}

.outline-slider .slider-track:active {
    cursor: grabbing;
}

.outline-slider .slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

.outline-slider .slider-slide img {
    max-width: 100%;
    max-height: 70%;
    object-fit: contain;
    display: block;
}

.outline-slider .slide-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    z-index: 2;
}

.outline-slider .slide-caption-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    z-index: 2;
    width: 90%;
    max-width: calc(100% - 40px);
}

.outline-slider .slide-caption-container .slide-caption {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 0;
}

.outline-slider .slide-caption.dimensions {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 18px;
    font-weight: 600;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%;
}

.outline-slider .slide-caption.product-group {
    background: rgba(94, 48, 153, 0.9);
    /* JD3 purple with transparency */
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%;
}

.outline-slider .slide-error {
    background: #333;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.outline-slider .slide-error-content {
    text-align: center;
    padding: 20px;
}

.outline-slider .slide-error-content h4 {
    margin: 0 0 10px 0;
    color: #666;
}

/* Outline Slider Navigation */
.outline-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: black;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 50;
    -webkit-transform: translateY(-50%) translateZ(0);
    transform: translateY(-50%) translateZ(0);
}

.outline-slider .slider-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.outline-slider .slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.outline-slider .slider-nav-prev {
    left: -70px;
}

.outline-slider .slider-nav-next {
    right: -70px;
}

/* Outline Slider Controls */
.outline-slider .slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: none;
}

.outline-slider .play-pause-btn {
    display: none;
    /* Hide play/pause button on outline slider */
}

.outline-slider .play-pause-btn:hover {
    display: none;
    /* Keep hidden on hover */
}

/* Outline Slider Thumbnails */
.outline-slider .thumbnail-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.outline-slider .thumbnail {
    width: 60px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #333;
    position: relative;
}

.outline-slider .thumbnail:hover {
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}

.outline-slider .thumbnail.active {
    border-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.outline-slider .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Inverted outline slider styling */
.outline-slider.invert {
    background: #fff;
    color: #000;
    flex-direction: column;

    /* Normal column direction for correct thumbnail placement */
}

.outline-slider.invert .slider-thumbnails {
    background: rgba(255, 255, 255, 0.9);
    /* Border on bottom since thumbnails are below */
    border-top: none;
}

/* Individual slide styling for inverted theme */
.outline-slider .slider-slide.invert {
    background: #fff;
    color: #000;
}

.outline-slider .slider-slide.invert .slide-caption {
    background: rgba(255, 255, 255, 0.9);
    color: #000;

}

.outline-slider.invert .thumbnail {
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.outline-slider.invert .thumbnail:hover {
    border-color: rgba(0, 0, 0, 0.7);
}

.outline-slider.invert .thumbnail.active {
    border-color: #000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.outline-slider.invert .slider-nav {
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

.outline-slider.invert .slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.outline-slider.invert .play-pause-btn {
    display: none;
    /* Hide play/pause button on inverted outline slider */
}

.outline-slider.invert .play-pause-btn:hover {
    display: none;
    /* Keep hidden on hover for inverted theme */
}

.outline-slider.invert .slide-caption {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    backdrop-filter: blur(10px);
}

/* Progress circle styling for inverted theme */
.outline-slider.invert .progress-bg {
    stroke: rgba(0, 0, 0, 0.2);
}

.outline-slider.invert .progress-bar {
    stroke: #000;
}

/* Static image styling for outline container */
.outline_slider .static-image-wrapper {
    background: #fff;
    height: 550px;

}

.outline_slider .static-image-placeholder {
    background: #fff;
    color: #666;


}

.outline_slider .slide-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 22px;
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 80%;
    word-break: break-word;
    /*border: 1px solid #ddd;*/
}