body { font-family: 'Montserrat', sans-serif; font-weight: 300; overflow-x: hidden; }

:root {
    --accent: #d9a653;
    --accent-light: rgba(217, 166, 83, 0.08);
    --accent-dark: #b8893f;
    
    /* Bootstrap primary override */
    --bs-primary: #d9a653;
    --bs-primary-rgb: 217, 166, 83;
    --bs-link-color: #d9a653;
    --bs-link-hover-color: #b8893f;
}

/* Bootstrap button overrides */
.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}
.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Text and background utilities */
.text-primary { color: var(--accent) !important; }
.bg-primary { background-color: var(--accent) !important; }

/* Links */
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

/* ===== HEADER ===== */
#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
/* Non-hero pages: sticky instead of fixed */
body:not(:has(.hero-slide)) #mainHeader {
    position: sticky;
    background: #fff;
    border-bottom-color: #eee;
}
.header-nav { max-width: 1200px; margin: 0 auto; }
.header-link, .header-icon { transition: color 0.3s; }
#headerLogo { height: 40px; transition: filter 0.3s; }
#mobileLogoHeader { height: 24px; }
.mobile-hamburger { font-size: 28px; }
.chevron-sm { font-size: 10px; }

/* Search placeholder colors */
.placeholder-light::placeholder { color: rgba(255,255,255,0.6); }
.placeholder-dark::placeholder { color: rgba(0,0,0,0.4); }

/* Search box animation */
#searchBox {
    max-width: 0;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease;
}
#searchInput {
    border: none;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: inherit;
    width: 200px;
    box-shadow: none;
}

/* PVS Dropdown */
.pvs-dropdown { width: 500px; }
.pvs-icon-box { width: 32px; height: 32px; }
.pvs-tagline { font-size: 11px; }

/* Mobile offcanvas header */
.mobile-header { height: 64px; min-height: 64px; }

/* ===== HERO ===== */
.hero-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.z-1 { z-index: 1; }
.hero-content { max-width: 800px; }

/* Hero Carousel Indicators - Dikdörtgen stil */
.hero-indicator {
    width: 28px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background: rgba(255,255,255,0.4) !important;
    opacity: 1 !important;
    margin: 0 4px !important;
    border: none !important;
    transition: all 0.3s ease;
}
.hero-indicator.active {
    background: #fff !important;
    width: 40px !important;
}
#heroCarousel .carousel-indicators,
[id^="heroCarousel-"] .carousel-indicators {
    bottom: 25px;
    margin-bottom: 0;
}

/* Hero Carousel Mobil Ayarları */
@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 70vh;
    }
    .hero-content {
        max-width: 100%;
        padding: 0 15px;
    }
    .hero-content h1 {
        font-size: 1.75rem !important;
    }
    .hero-content p.text-uppercase {
        font-size: 10px !important;
    }
    .hero-indicator {
        width: 20px !important;
        height: 3px !important;
    }
    .hero-indicator.active {
        width: 28px !important;
    }
    #heroCarousel .carousel-indicators,
    [id^="heroCarousel-"] .carousel-indicators {
        bottom: 15px;
    }
}

/* ===== BUTTONS ===== */
.btn-square { border-radius: 0; white-space: nowrap; }

/* ===== SECTION HELPERS ===== */
.section-line { width: 1px; height: 20px; background: #999; }
.section-line-white { width: 1px; height: 20px; background: rgba(255,255,255,0.6); }
.section-line-tall { height: 32px; }
.section-subtitle { font-size: 11px; letter-spacing: 2px; }
.max-w-800 { max-width: 800px; }
.max-w-750 { max-width: 750px; }
.max-w-1400 { max-width: 1200px; }
.mw-680 { max-width: 680px; }

/* ===== IWO CARDS ===== */
.iwo-card { aspect-ratio: 3/4; }
.iwo-overlay { background: rgba(0,0,0,0.55); transition: background 0.3s; }
a:hover .iwo-overlay { background: rgba(0,0,0,0.7); }
.iwo-img { transition: transform 0.5s; }
a:hover .iwo-img { transform: scale(1.05); }
.iwo-cta { opacity: 1; font-size: 11px; letter-spacing: 1px; }
.iwo-line { width: 1px; height: 90px; background: rgba(255,255,255,0.5); }

/* IWO Cards Mobil */
@media (max-width: 575.98px) {
    .iwo-card { aspect-ratio: 1/1.2; }
    .iwo-cta { font-size: 10px; }
    .iwo-line { height: 50px; }
    .iwo-overlay h5 { font-size: 1rem; }
}

/* ===== SOLUTIONS CARDS ===== */
.solution-card-desktop { min-height: 420px; }
.solution-card-desktop .solution-card-inner { min-height: 420px; padding-top: 60px !important; }
.solution-card-mobile-img { height: 200px; }
.solution-cta { color: var(--accent); }
.solution-cta i { font-size: 11px; }

/* ===== TESTIMONIAL ===== */
.testimonial-section { min-height: 60vh; }
.testimonial-slide {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
}
.testimonial-nav { width: 60px; }

/* Testimonial Mobil */
@media (max-width: 767.98px) {
    .testimonial-section { min-height: 50vh; }
    .testimonial-slide { min-height: 50vh; }
    .testimonial-slide h2 { font-size: 1.25rem !important; }
}

/* ===== NEWSLETTER ===== */
.newsletter-input-desktop {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
}
.newsletter-input-mobile {
    border: 1px solid #ccc;
    border-bottom: none;
    border-radius: 0;
}
.newsletter-btn-mobile {
    border-radius: 0;
    background: #1a1a1a;
    border: 1px solid #1a1a1a;
}

/* ===== NEWS CARDS ===== */
.news-card-img { height: 250px; background-size: cover; background-position: center; }

/* News Cards Mobil */
@media (max-width: 575.98px) {
    .news-card-img { height: 180px; }
}

/* ===== SUPPORT BANNER ===== */
.support-banner {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
}

/* Support Banner Mobil */
@media (max-width: 767.98px) {
    .support-banner { min-height: 40vh; }
    .support-banner h2 { font-size: 1.25rem !important; }
}

/* ===== PAGE HERO ===== */
.page-hero {
    min-height: 50vh;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== FOOTER ===== */
footer { background-color: #f5f5f5; }
footer a:hover { color: #1a1a1a !important; }
.footer-logo { height: 24px; }

/* ===== MEGA MENU ===== */
#megaMenu {
    position: fixed;
    z-index: 1035;
    display: none;
    max-height: 70vh;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    left: 50%;
    max-width: 1320px;
    width: calc(100% - 40px);
    translate: -50% 0;
}
.mega-menu-inner { height: calc(70vh - 32px); }
.mega-left { overflow-y: auto; padding: 24px 24px 24px 32px; }
.mega-right { overflow-y: auto; padding: 24px 32px; }
.mega-close { top: 16px; right: 24px; z-index: 3; }
.mega-cat-link.fw-bold { color: var(--accent) !important; }

#megaBackdrop {
    position: fixed;
    z-index: 1034;
    display: none;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

/* ===== SCROLL TO TOP ===== */
#scrollTop {
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* ===== FOOTER ===== */
footer { background-color: #f5f5f5; }
footer a:hover { color: #1a1a1a !important; }

/* Mobile footer accordion transparent */
@media (max-width: 767.98px) {
    footer .accordion-item { background-color: transparent !important; }
    footer .accordion { background-color: transparent !important; }
    footer .accordion-button { background-color: transparent !important; }
    footer .accordion-body { background-color: transparent !important; }
    footer .accordion-collapse { background-color: transparent !important; }
}

/* ===== MOBILE MENU ===== */
#mobileMenuContainer { position: relative; min-height: 100%; }
.mobile-panel { width: 100%; }

/* ===== AUDIO CONFIGURATOR ===== */
.configurator-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

/* Steps */
.cfg-step-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cfg-step-icon-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #555;
}
.cfg-step-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 2px;
}

/* Configurator Wrappers */
.configurator-wrapper {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
@media (max-width: 575.98px) {
    .configurator-wrapper {
        padding: 24px 12px 20px;
        border-radius: 16px;
    }
}
.configurator-results-wrapper {
    padding: 0;
}

/* Section layout */
.cfg-section {
    text-align: center;
}
.cfg-label {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}
.cfg-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 16px 0;
}

/* Segmented control (Apple style) */
.cfg-segmented {
    display: inline-flex;
    background: #f5f5f7;
    border-radius: 980px;
    padding: 3px;
    gap: 2px;
}
/* Application grid (icon top, text bottom) */
.cfg-app-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    text-align: center;
}
@media (max-width: 991.98px) {
    .cfg-app-grid {
        gap: 2px;
    }
}
@media (max-width: 575.98px) {
    .cfg-app-grid {
        gap: 2px;
    }
}
.cfg-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 4px;
    border-radius: 8px;
    transition: opacity 0.2s;
    cursor: pointer;
}
.cfg-app-item.disabled {
    opacity: 0.3;
    pointer-events: none;
}
.cfg-app-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ddd;
    border-radius: 2px;
    font-size: 28px;
    color: #bbb;
    transition: color 0.2s, border-color 0.2s;
}
.cfg-app-item:hover .cfg-app-icon {
    color: var(--accent);
    border-color: var(--accent);
}
.cfg-app-item.active .cfg-app-icon {
    color: var(--accent);
    border-color: var(--accent);
}
.cfg-app-text {
    font-size: 10px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    max-width: 76px;
    transition: color 0.2s;
}
.cfg-app-item:hover .cfg-app-text {
    color: var(--accent);
}
.cfg-app-item.active .cfg-app-text {
    color: var(--accent);
    font-weight: 600;
}

.cfg-segmented-wide {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
.cfg-segmented-3 {
    width: 100%;
}
.cfg-segmented-3 .cfg-seg-btn {
    padding: 8px 12px;
    font-size: 11px;
}
@media (max-width: 575.98px) {
    .cfg-segmented-3 .cfg-seg-btn {
        padding: 8px 8px;
        font-size: 10px;
    }
    .cfg-segmented-3 .cfg-seg-btn i {
        display: none;
    }
}
.cfg-seg-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
    color: #1d1d1f;
    text-align: center;
    white-space: nowrap;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.cfg-seg-btn i {
    font-size: 14px;
    opacity: 0.6;
}
.cfg-seg-btn:hover {
    color: #1d1d1f;
    background: rgba(0,0,0,0.04);
}
.cfg-seg-btn.active {
    background: #fff;
    color: #1d1d1f;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 0 1px rgba(0,0,0,0.08);
}
.cfg-seg-btn.active i {
    opacity: 1;
}
.cfg-seg-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
    background: transparent !important;
    box-shadow: none !important;
    color: #aaa !important;
}
.cfg-seg-btn.disabled i {
    opacity: 0.4;
}

/* Check icon on active pills */
.cfg-seg-btn.active::after {
    content: '\f272';
    font-family: 'bootstrap-icons';
    font-size: 13px;
    font-weight: bold;
    margin-left: 5px;
}

/* Custom Slider - AUDAC style (dual range) */
.cfg-slider-wrap {
    padding: 12px 0 4px;
    position: relative;
}
.cfg-range-track {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
}
.cfg-range-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #d1d1d1;
    transform: translateY(-50%);
    border-radius: 1px;
}
.cfg-range-fill {
    position: absolute;
    top: 50%;
    height: 2px;
    background: var(--accent);
    transform: translateY(-50%);
    border-radius: 1px;
    pointer-events: none;
}
.cfg-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 28px;
    background: transparent;
    outline: none;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 3;
}
.cfg-slider-min {
    z-index: 4;
}
.cfg-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #fff;
    border: 1.5px solid #d1d1d1;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.cfg-slider::-webkit-slider-thumb:hover {
    border-color: #999;
    box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}
.cfg-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #fff;
    border: 1.5px solid #d1d1d1;
    cursor: pointer;
    pointer-events: all;
}
.cfg-slider::-moz-range-track {
    background: transparent;
    border: none;
    height: 0;
}
.cfg-slider-labels {
    position: relative;
    margin-top: 12px;
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
}
.cfg-slider-labels span {
    position: absolute;
    top: 0;
    font-size: 11px;
    font-weight: 500;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    text-align: center;
    transform: translateX(-50%);
    white-space: normal;
    max-width: 80px;
    line-height: 1.2;
}
.cfg-slider-labels span:first-child {
    left: 0;
    transform: none;
    text-align: left;
}
.cfg-slider-labels span:last-child {
    left: auto;
    right: 0;
    transform: none;
    text-align: right;
}
.cfg-slider-labels span::before {
    display: none;
}
.cfg-slider-labels span.active {
    color: #1d1d1f;
    font-weight: 600;
}
@media (max-width: 767.98px) {
    .cfg-slider-labels span {
        font-size: 9px;
        max-width: 60px;
    }
}
@media (max-width: 575.98px) {
    .cfg-slider-labels span {
        font-size: 8px;
        max-width: 50px;
    }
}
/* Position middle labels via nth-child depending on count */
.cfg-slider-labels[data-count="5"] span:nth-child(2) { left: 25%; }
.cfg-slider-labels[data-count="5"] span:nth-child(3) { left: 50%; }
.cfg-slider-labels[data-count="5"] span:nth-child(4) { left: 75%; }
.cfg-slider-labels[data-count="3"] span:nth-child(2) { left: 50%; }
/* Tick marks positioned on track */
.cfg-range-ticks {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.cfg-range-ticks span {
    width: 1px;
    height: 8px;
    background: #d1d1d1;
    margin-top: -4px;
}

/* Configurator Product Cards */
.cfg-product-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow 0.25s, transform 0.2s;
    height: 100%;
}
.cfg-product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.cfg-product-img {
    position: relative;
    background: #f5f5f7;
    padding: 16px;
    text-align: center;
}
.cfg-product-img img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}
@media (min-width: 768px) {
    .cfg-product-img img {
        height: 200px;
    }
}
.cfg-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cfg-product-info {
    padding: 14px 16px;
}
.cfg-product-name {
    font-size: 13px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
}
.cfg-product-desc {
    font-size: 11px;
    color: #86868b;
    margin-bottom: 0;
    line-height: 1.4;
}


/* Scroll progress circle */
.scroll-progress-circle {
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.1s;
    stroke: var(--accent);
}


/* ===== CATEGORY DETAIL PAGE ===== */

/* Breadcrumb */
.cat-breadcrumb {
    font-size: 12px;
}
.cat-breadcrumb a {
    transition: color 0.2s;
}
.cat-breadcrumb a:hover {
    color: var(--accent) !important;
}

/* Category Hero */
.cat-hero {
    height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Solution Hero - taller version */
.solution-hero {
    height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.solution-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.30);
}

@media (max-width: 767.98px) {
    .cat-hero {
        height: 300px;
    }
    .solution-hero {
        height: 380px;
    }
}

/* Sub-category tabs */
.cat-tabs {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }

/* Sub-category slider */
.cat-swiper {
    overflow: hidden;
}
.swiper-nav-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: opacity 0.2s, box-shadow 0.2s;
}
.swiper-nav-btn:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
.swiper-nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}
.cat-swiper-prev {
    left: -18px;
}
.cat-swiper-next {
    right: -18px;
}
@media (max-width: 767.98px) {
    .cat-swiper-prev { left: -4px; }
    .cat-swiper-next { right: -4px; }
    .swiper-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}
.cat-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 140px;
    user-select: none;
    -webkit-user-drag: none;
    outline: none;
}
.cat-slide-img {
    width: 140px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f7;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.cat-slide:hover .cat-slide-img,
.cat-slide.active .cat-slide-img {
    border-color: var(--accent);
}
.cat-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
.cat-slide-label {
    font-size: 11px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
}

/* Sticky section nav */
.cat-sticky-nav {
    position: sticky;
    top: 73px;
    z-index: 1020;
    background: #f5f5f7;
    border-bottom: 1px solid #e5e5e5;
}
@media (max-width: 767.98px) {
    .cat-sticky-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
    }
}
.cat-nav-mobile {
    border: none;
    background-color: transparent;
    font-size: 13px;
    font-weight: 500;
    box-shadow: none;
    padding-left: 0;
    outline: none;
}
.cat-nav-mobile:focus {
    box-shadow: none;
    outline: none;
    border: none;
    background-color: transparent;
}
.cat-nav-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    position: relative;
}
.cat-nav-scroll::-webkit-scrollbar { display: none; }
.cat-nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #86868b;
    white-space: nowrap;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s;
}
.cat-nav-link:hover {
    color: var(--accent);
}
.cat-nav-link.active {
    color: var(--accent);
    border-bottom-color: transparent;
}
/* Sliding indicator */
.cat-nav-indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Series image */
.cat-series-img {
    height: 320px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f7;
}
@media (max-width: 767.98px) {
    .cat-series-img {
        height: 200px;
    }
}

/* Product cards */
.cat-product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.cat-product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.cat-product-img {
    background: #f5f5f7;
    padding: 20px;
    text-align: center;
}
.cat-product-img img {
    width: 100%;
    height: 160px;
    object-fit: contain;
}
.cat-product-info {
    padding: 16px;
    flex: 1;
}
.cat-product-name {
    font-size: 14px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 4px;
}
.cat-product-desc {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 0;
}
.cat-product-actions {
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    cursor: pointer;
}
.cat-product-actions:hover {
    background: #fafafa;
}

/* Category filter tags */
.cat-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 980px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.cat-filter-tag:hover {
    border-color: #999;
}
.cat-filter-tag.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
}
.cat-filter-tag.active i {
    color: #fff;
}

/* Filter option labels */
.filter-option {
    cursor: pointer;
    transition: background 0.15s;
    padding: 4px 8px;
    margin: 0 -8px;
    border-radius: 4px;
}
.filter-option:hover {
    background: #f5f5f5;
}
.cursor-pointer {
    cursor: pointer;
}

.dropdown-menu-center {
    min-width: 160px;
    padding-top: 0;
    padding-bottom: 0;
}

/* Compare bar */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
@media (max-width: 767.98px) {
    .compare-bar {
        padding: 10px 0;
    }
    .compare-bar .btn {
        font-size: 11px;
        padding: 6px 12px;
    }
    .compare-chips-scroll {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .compare-chips-scroll::-webkit-scrollbar { display: none; }
    .compare-actions {
        width: 100%;
    }
}
.compare-item-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f5f5f7;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 500;
    color: #1d1d1f;
    white-space: nowrap;
}
@media (max-width: 767.98px) {
    .compare-item-chip {
        font-size: 10px;
        padding: 3px 8px;
    }
}
.compare-item-chip .bi-x {
    cursor: pointer;
    opacity: 0.5;
}
.compare-item-chip .bi-x:hover {
    opacity: 1;
}

/* Compare button states */
.cat-compare-btn {
    font-size: 13px;
    transition: color 0.2s, background 0.2s;
}
.cat-compare-btn.active {
    color: var(--accent) !important;
    background: var(--accent-light);
}
.cat-compare-btn.active .text-muted {
    color: var(--accent) !important;
}
.cat-compare-btn.active .bi-square::before {
    content: '\f272';
}

/* Mobile fixed nav spacer */
@media (max-width: 767.98px) {
    body:has(.cat-sticky-nav) .cat-hero {
        margin-top: 44px;
    }
}

/* IWO Card landscape variant */
.iwo-card-landscape { aspect-ratio: 16/7; }
.iwo-line-h { width: 90px; height: 1px; background: rgba(255,255,255,0.5); }

/* IWO icon images */
.iwo-icon-img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ===== CASE STUDIES PAGE ===== */

/* Type radio buttons (horizontal pills) */
.cs-type-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.cs-type-btn:hover {
    border-color: #999;
    color: #1d1d1f;
}
.cs-type-btn.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

/* Application icon slides (case studies) */
.cs-app-slide {
    width: 100px;
    gap: 8px;
    padding: 8px 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
    user-select: none;
    -webkit-user-drag: none;
}
.cs-app-slide:hover,
.cs-app-slide.active {
    border-bottom-color: var(--accent);
}
.cs-app-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #888;
}
.cs-app-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: opacity 0.2s;
}
.cs-app-slide:hover .cs-app-icon img,
.cs-app-slide.active .cs-app-icon img {
    opacity: 1;
}
.cs-app-slide.active .cs-app-icon {
    color: #1d1d1f;
}
.cs-app-label {
    font-size: 9px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    transition: color 0.2s;
}
.cs-app-slide:hover .cs-app-label,
.cs-app-slide.active .cs-app-label {
    color: #1d1d1f;
}

/* Case study cards */
.cs-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.25s, transform 0.2s;
    height: 100%;
}
.cs-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.cs-card-img {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f7;
}
.cs-card-body {
    padding: 20px;
}
.cs-card-type {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #86868b;
    margin-bottom: 8px;
}
.cs-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.cs-card-desc {
    font-size: 13px;
    color: #86868b;
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cs-card-location {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 0;
}
.cs-card-location i {
    color: var(--accent);
    font-size: 11px;
}

/* ===== CASE STUDY DETAIL - Gallery ===== */
.cs-gallery-swiper {
    overflow: hidden;
    padding-bottom: 40px;
}
.cs-gallery-swiper .swiper-slide {
    height: 560px !important;
    overflow: hidden;
}
.cs-slide-square {
    height: 100%;
    overflow: hidden;
    border-radius: 0.375rem;
}
.cs-slide-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cs-slide-stacked {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    overflow: hidden;
}
.cs-slide-stacked img {
    width: 100%;
    height: calc(50% - 8px);
    object-fit: cover;
    display: block;
    border-radius: 0.375rem;
}
.cs-slide-stacked img:first-child {
    margin-bottom: 16px;
}
.cs-slide-landscape {
    height: 100%;
    overflow: hidden;
    border-radius: 0.375rem;
}
.cs-slide-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 767.98px) {
    .cs-gallery-swiper .swiper-slide {
        height: 300px !important;
    }
}
.cs-gallery-swiper .swiper-button-prev,
.cs-gallery-swiper .swiper-button-next {
    color: #1d1d1f;
    background: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cs-gallery-swiper .swiper-button-prev::after,
.cs-gallery-swiper .swiper-button-next::after {
    font-size: 14px;
    font-weight: bold;
}
/* ===== Case Study Tabs ===== */
#tabOverview .nav-tabs,
.tab-content .nav-tabs {
    border-bottom: none;
}
.nav-tabs .nav-link {
    color: #1d1d1f;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.5rem 1rem;
}
.nav-tabs .nav-link:hover {
    color: var(--accent);
    border-color: transparent;
}
.nav-tabs .nav-link.active {
    color: var(--accent);
    border-color: transparent;
    border-bottom: 2px solid var(--accent);
    background: transparent;
}

/* ===== Solutions Used List ===== */
.cs-solution-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 0;
    transition: background 0.2s;
    gap: 20px;
}
.cs-solution-item:hover {
    background: #fafafa;
}
.cs-solution-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cs-solution-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cs-solution-info h6 {
    color: #1d1d1f;
    font-size: 0.95rem;
}
.cs-solution-qty {
    flex-shrink: 0;
    background: #f5f5f7;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

/* ===== Lightbox ===== */
.cs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.cs-lightbox.active {
    opacity: 1;
    pointer-events: all;
}
.cs-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}
.cs-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
}
.cs-lightbox-prev,
.cs-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.cs-lightbox-prev:hover,
.cs-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}
.cs-lightbox-prev { left: 20px; }
.cs-lightbox-next { right: 20px; }

/* ===== Contact Form ===== */
.contact-input {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 10px 0;
    background: transparent;
    font-size: 0.9rem;
}
.contact-input:focus {
    box-shadow: none;
    border-bottom-color: var(--accent);
    background: transparent;
}
.contact-input::placeholder {
    color: #999;
}
select.contact-input {
    padding: 10px 0;
    color: #999;
}
select.contact-input:focus {
    color: #1d1d1f;
}
.contact-textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    font-size: 0.9rem;
    resize: vertical;
}
.contact-textarea:focus {
    box-shadow: none;
    border-color: var(--accent);
}

/* ===== News Page ===== */
.news-tab-link {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    position: relative;
}
.news-tab-link:hover {
    color: var(--accent);
}
.news-tab-link.active {
    color: var(--accent);
}
.news-tab-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}
.news-tabs-swiper {
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
.news-tabs-swiper .swiper-wrapper {
    display: flex;
}
.news-tabs-prev,
.news-tabs-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}
.news-tabs-prev { left: -14px; }
.news-tabs-next { right: -14px; }

/* News Card Items */
.news-card-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card-item-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.news-card-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card-item-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card-category {
    color: var(--accent);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}
.news-card-item-body h5 {
    font-size: 1.1rem;
}
.news-card-read {
    color: var(--accent);
    margin-top: auto;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}
.news-card-read:hover {
    color: #cc2e02;
}

.news-cards-swiper {
    overflow: hidden;
}
.news-cards-swiper .swiper-wrapper {
    align-items: stretch;
}
.news-cards-swiper .swiper-slide {
    height: auto;
}
.news-swiper-prev,
.news-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
}
.news-swiper-prev:hover,
.news-swiper-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.news-swiper-prev { left: -18px; }
.news-swiper-next { right: -18px; }

/* Press Table */
.press-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 700px;
}
.press-table thead th {
    border-bottom: 2px solid #1d1d1f;
    padding: 12px 8px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.press-table tbody td {
    padding: 14px 8px;
    border-bottom: 1px solid #eee;
    font-size: 0.875rem;
    vertical-align: middle;
}
.press-download-btn {
    border-color: var(--accent);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 16px;
}
.press-download-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pagination .page-item.active .page-link {
    background-color: #1d1d1f;
    border-color: #1d1d1f;
    color: #fff;
}
.pagination .page-link {
    color: #1d1d1f;
    border-color: #ddd;
}

/* News page filter tag override */
.press-table-wrapper .cat-filter-tag,
section .d-flex .dropdown .cat-filter-tag {
    border-radius: 4px;
}

.press-filter-tag {
    border-radius: 8px !important;
    padding: 7px 16px !important;
}

/* ===== Soveno Products Slider ===== */
.soveno-product-img-box {
    background: #f0f0f2;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
}
.soveno-product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.soveno-products-swiper {
    overflow: hidden;
}
.soveno-swiper-prev,
.soveno-swiper-next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.2s;
}
.soveno-swiper-prev:hover,
.soveno-swiper-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.soveno-swiper-prev { left: -18px; }
.soveno-swiper-next { right: -18px; }

/* ===== Utility Classes (replacing inline styles) ===== */
.mw-600 { max-width: 600px; }
.mw-720 { max-width: 720px; }
.mw-800 { max-width: 800px; }
.soveno-icon { width: 160px; height: 160px; object-fit: contain; }
.soveno-feature-img { height: 450px; object-fit: cover; }
.soveno-banner { height: 450px; }
.accent-link { color: var(--accent); }
.accent-link:hover { color: #cc2e02; }

/* ===== Download Cards ===== */
.download-card-item {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.download-card-item-img {
    width: 100%;
    height: 240px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.download-card-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.download-card-item-body {
    padding: 24px;
    flex: 1;
}
.download-card-item-footer {
    padding: 0 24px 24px;
}
.download-cards-swiper {
    overflow: hidden;
}
.download-cards-swiper .swiper-wrapper {
    align-items: stretch;
}
.download-cards-swiper .swiper-slide {
    height: auto;
}
.download-card {
    transition: box-shadow 0.2s;
}
.download-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.download-card-img {
    width: 200px;
    flex-shrink: 0;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.download-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
@media (max-width: 575.98px) {
    .download-card {
        flex-direction: column;
    }
    .download-card-img {
        width: 100%;
        height: 180px;
    }
}

/* ===== Enthusiast Timeline Slider ===== */
.enthusiast-timeline {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
}
.enthusiast-timeline::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
}
.enthusiast-tabs-swiper {
    overflow: visible;
}
.enthusiast-tab {
    background: none;
    border: none;
    padding: 10px 40px 36px;
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}
.enthusiast-tab::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: #fff;
    transition: all 0.2s;
    z-index: 2;
}
.enthusiast-tab.active {
    color: #1d1d1f;
    font-weight: 700;
}
.enthusiast-tab.active::after {
    border-color: var(--accent);
    background: var(--accent);
    width: 24px;
    height: 24px;
    bottom: -1px;
}
.enthusiast-tab:hover {
    color: var(--accent);
}
.enthusiast-swiper {
    overflow: hidden;
}
.enthusiast-swiper .col-md-5,
.about-timeline-swiper .col-md-5 {
    aspect-ratio: 1;
    overflow: hidden;
}
.enthusiast-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.soveno-icon-sm { width: 120px; height: 120px; object-fit: contain; }

/* ===== Product Accessories Slider ===== */
.accessory-img {
    aspect-ratio: 4/3 !important;
    object-fit: contain !important;
    background: #f5f5f7;
    border-radius: 8px;
    padding: 16px;
}
.accessory-img-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.accessory-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.accessories-pagination.swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 1rem;
}
.accessories-pagination .swiper-pagination-bullet-active {
    background: #1d1d1f;
}

/* ===== Product Image Slider ===== */
.product-img-swiper {
    overflow: hidden;
}
.product-img-pagination .swiper-pagination-bullet {
    width: 24px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background: #ccc !important;
    opacity: 1 !important;
    margin: 0 4px !important;
}
.product-img-pagination .swiper-pagination-bullet-active {
    background: var(--accent) !important;
    width: 32px !important;
}

/* ===== Product Hotspots ===== */
.product-hotspot {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: rgba(255, 57, 2, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.product-hotspot::after {
    content: '\002B';
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.product-hotspot:hover {
    background: var(--accent);
    transform: scale(1.2);
}
.product-hotspot:hover::after {
    color: #fff;
}
.product-hotspot:nth-child(2) { top: 5%; left: 30%; }
.product-hotspot:nth-child(3) { top: 5%; right: 32%; }
.product-hotspot:nth-child(4) { top: 18%; right: 28%; }
.product-hotspot:nth-child(5) { top: 38%; left: 42%; }

.mt-10 { margin-top: 5rem !important; }


/* ===== Application Detail Page ===== */
.app-hero-title { max-width: 700px; }
.app-full-bleed { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.app-testimonial-swiper { height: 420px; }
.app-testimonial-content { max-width: 800px; }
.app-testimonial-subtitle { letter-spacing: 2px; font-size: 11px; }
.app-testimonial-quote { font-size: 1.8rem; }
.app-testimonial-source { letter-spacing: 1px; font-size: 10px; }
.app-cta-btn { letter-spacing: 1px; font-size: 11px; }
.app-usp-img { height: 120px; object-fit: contain; }
.cs-testimonial-nav {
    background: rgba(255,255,255,0.2) !important;
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
}
.cs-testimonial-nav:hover {
    background: rgba(255,255,255,0.4) !important;
}
.cs-testimonial-prev { left: 20px; top: 50%; transform: translateY(-50%); position: absolute; z-index: 10; }
.cs-testimonial-next { right: 20px; top: 50%; transform: translateY(-50%); position: absolute; z-index: 10; }

.app-touch-img { max-width: 900px; }
.app-touch-os-img { max-width: 320px; }

.app-solutions-swiper { overflow: hidden; }
.app-solutions-prev { left: -18px; top: 50%; transform: translateY(-50%); position: absolute; }
.app-solutions-next { right: -18px; top: 50%; transform: translateY(-50%); position: absolute; }

.app-more-solutions-swiper { overflow: hidden; }
.app-more-prev { left: -18px; top: 50%; transform: translateY(-50%); position: absolute; }
.app-more-next { right: -18px; top: 50%; transform: translateY(-50%); position: absolute; }
.app-more-img { height: 180px; object-fit: cover; }


/* Application detail tabs - mobile fit */
@media (max-width: 575.98px) {
    .app-detail-tabs .nav-link {
        font-size: 12px;
        padding: 0.5rem 0.6rem;
    }
    .app-detail-tabs .nav-item {
        flex: 1;
        text-align: center;
    }
    .app-detail-tabs {
        display: flex;
        width: 100%;
    }
}


/* Application detail image map hotspots */
.app-hotspot-1 { top: 25% !important; left: 20% !important; }
.app-hotspot-2 { top: 33% !important; left: 37% !important; }
.app-hotspot-3 { top: 46% !important; left: 23% !important; }
.app-hotspot-4 { top: 53% !important; left: 31% !important; }
.app-hotspot-5 { top: 45% !important; left: 52% !important; }
.app-hotspot-6 { top: 50% !important; left: 66% !important; }
.app-hotspot-7 { top: 50% !important; left: 90% !important; }

.tooltip-inner { max-width: 360px; }


/* ===== APPLICATION DETAIL - IMAGEMAP ===== */
.imagemap-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.imagemap-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-dot {
    display: block;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #FF3902;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: transform 0.2s;
}

.hotspot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 57, 2, 0.3);
    border-radius: 50%;
    animation: hotspot-pulse 2s infinite;
    z-index: 1;
}

@keyframes hotspot-pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.imagemap-hotspot:hover .hotspot-dot {
    transform: scale(1.2);
    background: #FF3902;
}

.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 160px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 20;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
}

.imagemap-hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
}

.hotspot-product-img {
    width: 80px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

/* ===== APPLICATION DETAIL - SET SOLUTIONS ===== */
.set-solution-card {
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.set-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ===== APPLICATION DETAIL - TABS ===== */
.app-detail-tabs {
    border-bottom: 2px solid #eee;
    gap: 0.5rem;
}

.app-detail-tabs .nav-link {
    color: #666;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 0.75rem 1.25rem;
    transition: color 0.2s, border-color 0.2s;
}

.app-detail-tabs .nav-link:hover {
    color: #222;
    border-bottom-color: #ccc;
}

.app-detail-tabs .nav-link.active {
    color: #222;
    border-bottom-color: #FF3902;
    background: transparent;
}

@media (max-width: 768px) {
    .app-detail-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .app-detail-tabs .nav-link {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}


/* ===== SET SOLUTION DETAIL PAGE ===== */
.set-product-card {
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.set-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: #ddd;
}
a.set-product-card:hover {
    border-color: var(--accent);
}
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ===== PRODUCT IMAGEMAP HOTSPOTS ===== */
.hotspot-image {
    position: relative;
    display: block;
    width: 100%;
}

.hotspot-image img {
    display: block;
    width: 100%;
}

.hotspot-item {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hotspot-dot {
    display: block;
    width: 16px;
    height: 16px;
    background: var(--accent, #FF3902);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.hotspot-item:hover .hotspot-dot {
    transform: scale(1.3);
}

/* Pulse animation */
.hotspot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--accent, #FF3902);
    border-radius: 50%;
    animation: hotspotPulse 2s infinite;
    pointer-events: none;
}

@keyframes hotspotPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Custom Tooltip */
.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 250px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 100;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.hotspot-item:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hotspot-dot {
        width: 14px;
        height: 14px;
    }
    
    .hotspot-pulse {
        width: 14px;
        height: 14px;
    }
    
    .hotspot-tooltip {
        max-width: 180px;
        font-size: 12px;
    }
}
