/* Reset standard layouts for fullscreen feed */
html,
body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100dvh !important;
    width: 100vw !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
    font-family: 'Inter', sans-serif;
}

/* Hide footer and standard floating triggers on fullscreen feed */
.footer-modern,
.back-to-top {
    display: none !important;
}

/* Position mobile-cart at bottom-right on feed */
.mobile-cart {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;
    z-index: 1050 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4) !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-cart:hover {
    transform: scale(1.1) translateY(-2px) !important;
    background: #0d9e6e !important;
    box-shadow: 0 14px 32px rgba(16, 185, 129, 0.5) !important;
}

.mobile-cart i {
    font-size: 1.5rem !important;
    color: #fff !important;
}

.mobile-cart .badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: #ef4444 !important;
    color: #fff !important;
    border-radius: 50% !important;
    padding: 4px 8px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4) !important;
    border: 2px solid #10b981 !important;
}

/* Floating Controls (frosted glass) */
.btn-hamburger {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hamburger:hover {
    transform: translateX(-50%) scale(1.1);
    background: #fff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.btn-close-feed {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-close-feed:hover {
    transform: scale(1.1);
    background: #fff;
    color: #10b981;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

/* Feed Wrapper and Scroller */
.plugins-feed-wrapper {
    position: relative;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
}

.plugins-feed-scroller {
    height: 100dvh;
    width: 100vw;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    outline: none;
}

.plugins-feed-scroller::-webkit-scrollbar {
    display: none;
}

.plugins-feed-slide {
    position: relative;
    height: 100dvh;
    width: 100vw;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Immersive Soft Aura Background */
.plugins-feed-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(45px) saturate(180%) brightness(1.2);
    opacity: 0.22;
    z-index: 1;
    transform: translate3d(0, 0, 0);
}

.plugins-feed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    z-index: 2;
}

/* Glassmorphism Navigation Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.btn-close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-close-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    color: #fff;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.menu-link {
    font-size: 1.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s;
}

.menu-link:hover {
    color: #10b981;
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.menu-link.btn-kundenbereich {
    font-size: 1.1rem;
    padding: 12px 36px;
    border-radius: 50px;
    background: #10b981;
    color: #fff;
    font-weight: 700;
    margin-top: 15px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.menu-link.btn-kundenbereich:hover {
    background: #0d9e6e;
    color: #fff;
    transform: scale(1.05);
}

/* Card layout configuration (Full height/width on mobile by default) */
.plugins-feed-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
    padding: 80px 20px 24px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

/* Centered media container with automatic scaling */
.plugins-feed-media {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 10px 0 !important;
    max-height: 48% !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.plugins-feed-img {
    max-width: 82% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    /* Keep only hover transitions, no snap load transition */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.plugins-feed-img:hover {
    transform: scale(1.04) translateY(-4px) !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12) !important;
}

/* Info block flows naturally below the media box and wraps text safely */
.plugins-feed-info {
    position: static !important;
    width: 100% !important;
    padding-right: 70px !important;
    /* Avoid overlap with actions sidebar on mobile */
    margin-top: auto !important;
    margin-bottom: 50px !important;
    /* Push block up by 50px */
    text-align: left !important;
}

.plugins-feed-title {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.5px !important;
}

.plugins-feed-title a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.plugins-feed-title a:hover {
    color: #10b981 !important;
}

.plugins-feed-desc {
    font-size: 0.88rem !important;
    color: #475569 !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    font-weight: 450 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.plugins-feed-price-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.plugins-feed-price {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #10b981 !important;
}

.plugins-feed-price-old {
    font-size: 1.05rem !important;
    text-decoration: line-through !important;
    color: #94a3b8 !important;
}

.plugins-feed-badges .badge {
    padding: 5px 10px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    margin-right: 5px !important;
}

.plugins-feed-badges .bg-danger {
    background-color: #ef4444 !important;
    color: #fff !important;
}

.plugins-feed-badges .bg-success {
    background-color: #d1fae5 !important;
    color: #065f46 !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}

/* Actions sidebar floating inside the card on mobile */
.plugins-feed-actions {
    position: absolute !important;
    right: 16px !important;
    bottom: 70px !important;
    /* Pushed up by 50px to align with info block */
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    z-index: 10 !important;
}

.plugins-feed-action-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
}

.plugins-feed-action-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.plugins-feed-action-btn:hover {
    transform: scale(1.1) translateY(-2px) !important;
    background: #fff !important;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08) !important;
}

.plugins-feed-action-btn:active {
    transform: scale(0.95) !important;
}

.plugins-feed-action-btn.btn-cart {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25) !important;
}

.plugins-feed-action-btn.btn-cart:hover {
    background: #0d9e6e !important;
    border-color: #0d9e6e !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35) !important;
}

.plugins-feed-action-btn.btn-details {
    background: rgba(59, 130, 246, 0.08) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
    color: #3b82f6 !important;
}

.plugins-feed-action-btn.btn-details:hover {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.3) !important;
}

.plugins-feed-action-btn.btn-share {
    background: rgba(71, 85, 105, 0.06) !important;
    border-color: rgba(71, 85, 105, 0.15) !important;
    color: #475569 !important;
}

.plugins-feed-action-btn.btn-share:hover {
    background: #475569 !important;
    border-color: #475569 !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(71, 85, 105, 0.3) !important;
}

.plugins-feed-action-label {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Interstitial styling overrides (Light Theme) */
.interstitial-slide .plugins-feed-content {
    background: rgba(255, 255, 255, 0.85) !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    max-width: 420px !important;
    height: 88dvh !important;
    padding: 24px 20px 20px !important;
    color: #0f172a !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: hidden !important;
}

.interstitial-slide .text-muted,
.interstitial-slide .text-white-50,
.interstitial-slide .text-light-50 {
    color: #475569 !important;
}

.interstitial-slide h2 {
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
}

/* Testserver components styling */
.mc-address-container {
    width: 100% !important;
}

.mc-label-text {
    color: #475569 !important;
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 0.82rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 6px !important;
    text-shadow: none !important;
    font-weight: 600 !important;
}

.mc-input-black-v2 {
    background: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    padding: 12px 16px !important;
    color: #38bdf8 !important;
    /* Cyber cyan text */
    font-family: 'Courier New', Courier, monospace !important;
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 12px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s !important;
}

.mc-input-black-v2:hover {
    border-color: #38bdf8 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 10px rgba(56, 189, 248, 0.15) !important;
}

.host-info-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 0.8rem !important;
    color: #475569 !important;
    text-decoration: none !important;
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    margin-top: 12px !important;
    transition: all 0.2s !important;
}

.host-info-link:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #0f172a !important;
    text-decoration: none !important;
}

.host-logo {
    width: 20px !important;
    height: 20px !important;
    border-radius: 4px !important;
}

/* Reviews List scroll area styling */
.reviews-list-container {
    flex: 1 1 auto !important;
    max-height: 435px !important;
    min-height: 80px !important;
    overflow-y: auto !important;
    padding-right: 6px !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent !important;
}

.reviews-list-container::-webkit-scrollbar {
    width: 5px !important;
}

.reviews-list-container::-webkit-scrollbar-track {
    background: transparent !important;
}

.reviews-list-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
}

.reviews-list-container .card {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
}

.reviews-list-container .card p {
    color: #475569 !important;
}

.reviews-list-container .card span.text-white {
    color: #0f172a !important;
}

.reviews-list-container .card div {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* No inner scrollbars inside about/reasons cards – content uses full height */
.interstitial-slide div.text-start:not(.reviews-list-container) {
    overflow: visible !important;
    flex: 1 1 auto !important;
}

.interstitial-slide div.text-start h5 {
    color: #0f172a !important;
}

.interstitial-slide div.text-start p {
    color: #475569 !important;
}

/* Desktop layout centering aspect ratio (9:16 layout) */
@media (min-width: 768px) {
    .plugins-feed-slide::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.05);
        z-index: 1;
    }

    .plugins-feed-content {
        max-width: 430px !important;
        height: 82dvh !important;
        border-radius: 28px !important;
        background: rgba(255, 255, 255, 0.85) !important;
        box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.7) !important;
        margin: auto !important;
        z-index: 5 !important;
        overflow: visible !important;
        position: relative !important;
        padding: 30px 24px 24px !important;
    }

    .plugins-feed-media {
        max-height: 44% !important;
        margin: 15px 0 !important;
        overflow: hidden !important;
    }

    .plugins-feed-img {
        max-width: 80% !important;
        max-height: 100% !important;
    }

    .plugins-feed-bg {
        filter: blur(40px) saturate(180%) brightness(1.15);
        opacity: 0.25;
        z-index: 0;
    }

    .interstitial-slide .plugins-feed-content {
        max-width: 430px !important;
        height: 82dvh !important;
        justify-content: flex-start !important;
        padding: 36px 28px 28px !important;
    }
}

/* Floating Filter Button */
.mobile-filter {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed !important;
    right: 24px !important;
    bottom: 96px !important;
    /* Positioned directly above the cart button */
    left: auto !important;
    z-index: 1050 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05) !important;
    cursor: pointer !important;
    padding: 0 !important;
    color: #0f172a !important;
    font-size: 1.4rem !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mobile-filter:hover {
    transform: scale(1.1) translateY(-2px) !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1) !important;
}

.mobile-filter:active {
    transform: scale(0.95) !important;
}

.mobile-filter.active-filter {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3) !important;
}

/* Floating Filter Panel */
.filter-panel {
    position: fixed !important;
    right: 24px !important;
    bottom: 172px !important;
    /* Rises above the filter button */
    z-index: 1060 !important;
    width: 240px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1) !important;
    padding: 18px !important;
    display: none !important;
    /* Hide by default */
    flex-direction: column !important;
    gap: 6px !important;
}

.filter-panel.active {
    display: flex !important;
    /* Show instantly */
}

.filter-panel-header {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.filter-panel-option {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    border: none !important;
    background: transparent !important;
    font-size: 0.85rem !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
}

.filter-panel-option:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #10b981 !important;
    text-decoration: none !important;
}

.filter-panel-option.active {
    background: #10b981 !important;
    color: #fff !important;
}

.filter-panel-option.active:hover {
    color: #fff !important;
    background: #0d9e6e !important;
}

/* Keep background visible on Testserver slide */
.interstitial-slide[data-id="testserver"] .plugins-feed-bg {
    filter: brightness(0.4) blur(0px) !important;
    opacity: 0.85 !important;
}

/* Scroll hint indicator at the bottom center */
.scroll-hint-indicator {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    pointer-events: none !important;
}

.scroll-hint-text {
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.45) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.scroll-hint-icon {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    animation: bounceChevron 1.8s infinite ease-in-out !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

@keyframes bounceChevron {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}