/* ========================================
   RESPONSIVE STYLES - ReifenDirekt
   Unified mobile-first responsive design
   ======================================== */

/* ========== BASE RESPONSIVE ========== */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html:not(.i18n-ready) body * {
    color: transparent !important;
    text-shadow: none !important;
}

html:not(.i18n-ready) body input::placeholder,
html:not(.i18n-ready) body textarea::placeholder {
    color: transparent !important;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== CONTAINER ========== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* ========== HEADER NAV Z-INDEX FIX ========== */
/* i18n.js sets .top-bar to position:relative; z-index:9999,
   which can create a stacking context above the nav.
   Fix: ensure .main-header is above .top-bar so dropdown hover works. */
.main-header {
    position: relative;
    z-index: 10001;
}

.header-nav {
    overflow: visible !important;
}

.header-nav .dropdown-menu {
    z-index: 10002;
}

/* ========== HEADER RESPONSIVE ========== */
@media (max-width: 1200px) {
    .header-nav .nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .logo-tagline {
        display: none;
    }
}

@media (max-width: 992px) {
    /* Hide desktop navigation */
    .header-nav,
    .rd-header-nav {
        display: none !important;
    }
    
    .logo-tagline,
    .rd-logo-tagline {
        display: none !important;
    }
    
    /* Hide old mobile menu button, use mobile-lang-selector instead */
    .mobile-menu-btn {
        display: none !important;
    }
    
    .header-content,
    .rd-header-content {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    /* Hide top bar on mobile */
    .top-bar-left,
    .rd-top-bar-left {
        display: none !important;
    }
    
    /* Hide language selector in top bar on mobile (use mobile version instead) */
    .top-bar .lang-selector,
    .top-bar-right .lang-selector {
        display: none !important;
    }
    
    .top-bar-content,
    .rd-top-bar-content {
        justify-content: flex-end;
    }
    
    .main-header,
    .rd-main-header {
        padding: 12px 0;
    }
    
    .logo h1,
    .rd-logo h1 {
        font-size: 22px !important;
    }
    
    /* Cart button - icon only */
    .cart-btn,
    .rd-cart-btn {
        padding: 10px 15px !important;
    }
    
    .cart-btn span,
    .rd-cart-btn span {
        display: none;
    }
    
    .cart-btn i,
    .rd-cart-btn i {
        font-size: 18px;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .top-bar,
    .rd-top-bar {
        font-size: 11px;
        padding: 6px 0;
    }
    
    .logo h1,
    .rd-logo h1 {
        font-size: 20px !important;
    }
}

@media (max-width: 360px) {
    .logo h1,
    .rd-logo h1 {
        font-size: 18px !important;
    }
}

/* ========== SIDEBAR RESPONSIVE ========== */
@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr !important;
    }
    
    .sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--white, #fff);
        z-index: 1001;
        overflow-y: auto;
        padding: 20px;
        padding-top: 60px;
    }
    
    .sidebar.active {
        display: block;
    }
    
    .mobile-filter-toggle {
        display: flex !important;
        position: sticky;
        top: 0;
        z-index: 100;
        width: 100%;
        padding: 12px 20px;
        background: var(--primary, #003366);
        color: white;
        border: none;
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .mobile-filter-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: var(--bg, #f4f4f4);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 993px) {
    .mobile-filter-toggle,
    .mobile-filter-close {
        display: none !important;
    }
}

/* ========== PRODUCTS GRID RESPONSIVE ========== */
@media (max-width: 1200px) {
    .products-list {
        gap: 15px;
    }
    
    .product-item {
        padding: 15px;
    }
    
    .product-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 992px) {
    .product-item {
        padding: 12px;
    }
    
    .product-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    /* Mobile product card - stacked layout */
    .product-item {
        display: grid !important;
        grid-template-columns: 90px 1fr;
        grid-template-rows: auto auto;
        gap: 10px 12px;
        padding: 12px;
    }
    
    .product-image {
        width: 90px !important;
        height: 90px !important;
        grid-row: 1;
        grid-column: 1;
    }
    
    .product-details {
        grid-row: 1;
        grid-column: 2;
        min-width: 0;
    }
    
    .product-name {
        font-size: 14px !important;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    
    .product-variant {
        font-size: 12px !important;
    }
    
    .product-brand {
        display: none !important;
    }
    
    .product-price-col {
        grid-row: 2;
        grid-column: 1 / -1;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }
    
    .btn-details {
        display: block !important;
    }
    
    .btn-cart {
        padding: 10px 14px !important;
        font-size: 12px !important;
    }
    
    .price-main {
        font-size: 22px !important;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .sort-group {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-item {
        padding: 10px;
        grid-template-columns: 70px 1fr;
        gap: 8px 10px;
    }
    
    .product-image {
        width: 70px !important;
        height: 70px !important;
    }
    
    .product-name {
        font-size: 13px !important;
    }
    
    .price-main {
        font-size: 18px !important;
    }
    
    .btn-cart {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    
    .btn-cart i {
        display: none;
    }
}

/* ========== SEARCH BOX RESPONSIVE ========== */
@media (max-width: 768px) {
    .search-box,
    .search-container {
        max-width: 100%;
    }
    
    .search-content {
        padding: 20px 15px;
    }
    
    .search-content h2 {
        font-size: 18px;
    }
    
    .size-selectors {
        grid-template-columns: 1fr !important;
    }
    
    .season-options {
        flex-wrap: wrap;
    }
    
    .season-option {
        flex: 1 1 45%;
    }
}

@media (max-width: 480px) {
    .search-tabs .tab-btn {
        padding: 12px 10px;
        font-size: 12px;
    }
    
    .search-content {
        padding: 15px 12px;
    }
    
    .search-content h2 {
        font-size: 16px;
    }
    
    .season-options {
        gap: 8px;
    }
    
    .season-option label {
        padding: 12px 8px;
    }
    
    .season-option label i {
        font-size: 20px;
    }
    
    .season-option label span {
        font-size: 11px;
    }
    
    .btn-search {
        padding: 14px;
        font-size: 14px;
    }
}

/* ========== HERO SECTION RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .search-box {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 32px !important;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 26px !important;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ========== PRODUCT PAGE RESPONSIVE ========== */
@media (max-width: 992px) {
    .product-page-layout {
        grid-template-columns: 1fr !important;
    }
    
    .product-gallery {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .product-main-info {
        padding: 20px 15px;
    }
    
    .product-page-title {
        font-size: 20px !important;
    }
    
    .product-gallery {
        max-width: 100%;
    }
    
    .gallery-thumbnails {
        gap: 8px;
    }
    
    .gallery-thumb {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .product-page-title {
        font-size: 18px !important;
    }
    
    .product-price-block .price-main {
        font-size: 28px !important;
    }
    
    .add-to-cart-btn {
        width: 100%;
        padding: 14px;
    }
}

/* ========== FOOTER RESPONSIVE ========== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 35px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .footer-col h4 {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .footer-col a {
        font-size: 13px;
        padding: 5px 0;
    }
    
    .footer-col p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .footer-bottom {
        font-size: 12px;
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 25px 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-col a {
        font-size: 13px;
        padding: 6px 0;
        display: inline-block;
    }
    
    .footer-col p {
        font-size: 12px;
        line-height: 1.7;
    }
    
    .footer-bottom {
        font-size: 11px;
    }
}

/* ========== BREADCRUMB RESPONSIVE ========== */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 10px 0;
    }
    
    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }
}

/* ========== PAGE HEADER RESPONSIVE ========== */
@media (max-width: 768px) {
    .page-header {
        padding: 20px 0;
    }
    
    .page-header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .page-title {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 15px 0;
    }
    
    .page-title {
        font-size: 18px !important;
    }
}

/* ========== CATEGORY TABS RESPONSIVE ========== */
@media (max-width: 768px) {
    .category-tabs {
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-tab {
        padding: 12px 15px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* ========== PAGINATION RESPONSIVE ========== */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* ========== FORMS RESPONSIVE ========== */
@media (max-width: 768px) {
    .filter-select,
    .selector-group select,
    select {
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 12px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important;
    }
}

/* ========== FEATURES GRID RESPONSIVE ========== */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-card i {
        font-size: 32px;
    }
    
    .feature-card h3 {
        font-size: 14px;
    }
    
    .feature-card p {
        font-size: 12px;
    }
}

/* ========== INFO CARDS RESPONSIVE ========== */
@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== MODAL RESPONSIVE ========== */
@media (max-width: 768px) {
    .modal-content,
    .cart-modal-content {
        width: 95%;
        max-width: 100%;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ========== CART RESPONSIVE ========== */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-details {
        width: 100%;
    }
    
    .cart-summary {
        padding: 15px;
    }
}

/* ========== MOBILE ACCORDION RESPONSIVE ========== */
@media (max-width: 992px) {
    .mobile-cats-accordion {
        display: block !important;
    }
    
    .desktop-categories {
        display: none !important;
    }
    
    .mobile-cats-accordion .cat-item {
        font-size: 13px !important;
        word-break: break-word !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    .mobile-cats-accordion .panel-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        padding: 10px 8px !important;
    }
}

@media (max-width: 768px) {
    .mobile-cats-accordion .panel-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
        padding: 8px 6px !important;
    }
    
    .mobile-cats-accordion .cat-item {
        font-size: 12px !important;
        padding: 8px 6px !important;
        gap: 6px !important;
    }
    
    .mobile-cats-accordion .cat-item i {
        width: 16px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 480px) {
    .mobile-cats-accordion .panel-grid {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
        padding: 6px !important;
    }
    
    .mobile-cats-accordion .cat-item {
        font-size: 13px !important;
        padding: 10px 8px !important;
    }
}

@media (min-width: 993px) {
    .mobile-cats-accordion {
        display: none !important;
    }
}

/* ========== TOUCH DEVICE OPTIMIZATIONS ========== */
@media (hover: none) {
    /* Larger touch targets */
    .btn-cart,
    .add-to-cart-btn,
    .btn-search {
        min-height: 44px;
    }
    
    select,
    .filter-select,
    .selector-group select {
        font-size: 16px;
    }
    
    /* Remove hover effects for touch */
    .product-item:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
}

/* ========== LANDSCAPE PHONE ========== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
    }
    
    .hero-content {
        padding: 20px 0;
    }
    
    .modal-content {
        max-height: 95vh;
    }
}

/* ========== TABLET PORTRAIT ========== */
@media (min-width: 768px) and (max-width: 992px) {
    .content-layout {
        grid-template-columns: 250px 1fr;
    }
    
    .sidebar {
        width: 250px;
    }
}

/* ========== UTILITY CLASSES ========== */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .show-mobile-only {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .hide-tablet {
        display: none !important;
    }
}

@media (min-width: 993px) {
    .show-tablet-only {
        display: none !important;
    }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-btn {
    display: none;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border, #ddd);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.mobile-menu-btn:hover {
    border-color: var(--primary, #003366);
    background: rgba(0, 51, 102, 0.05);
}

.mobile-menu-flag {
    font-size: 24px;
    line-height: 1;
}

/* ========== MOBILE LANGUAGE SELECTOR ========== */
.mobile-lang-selector {
    position: relative;
    display: none;
    z-index: 1000;
}

@media (max-width: 992px) {
    .mobile-lang-selector {
        display: block;
    }
}

.mobile-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 60px;
    height: 44px;
    padding: 0 12px;
    background: transparent;
    border: 2px solid var(--border, #ddd);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-lang-btn:hover {
    border-color: var(--primary, #003366);
    background: rgba(0, 51, 102, 0.05);
}

.mobile-lang-btn i {
    font-size: 10px;
    color: var(--text-light, #666);
    transition: transform 0.2s;
}

.mobile-lang-selector.open .mobile-lang-btn i {
    transform: rotate(180deg);
}

.mobile-lang-flag {
    font-size: 24px;
    line-height: 1;
}

.mobile-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    overflow: hidden;
    z-index: 9999;
}

.mobile-lang-selector.open .mobile-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.mobile-lang-option:hover {
    background: #f5f5f5;
}

.mobile-lang-option .lang-flag {
    font-size: 20px;
}

.mobile-lang-option .lang-name {
    font-weight: 500;
}

/* ========== SUPPORT HOTLINE BANNER ========== */
.support-hotline {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    border-radius: 12px;
    padding: 12px 20px;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    border: 1px solid rgba(0, 51, 102, 0.1);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    filter: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

html:not(.i18n-ready) .support-hotline,
html:not(.i18n-ready) .support-hotline.support-hotline-side,
html:not(.i18n-ready) .support-hotline .support-hotline-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

html.i18n-ready .support-hotline,
html.i18n-ready .support-hotline.support-hotline-side,
html.i18n-ready .support-hotline .support-hotline-badge {
    visibility: visible !important;
    opacity: 1 !important;
}

.support-hotline:hover {
    box-shadow: 0 4px 16px rgba(0, 51, 102, 0.12);
    transform: translateY(-1px);
}

.support-hotline-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary, #003366);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-hotline-icon i {
    color: #fff;
    font-size: 18px;
}

.support-hotline-body {
    flex: 1;
    min-width: 0;
}

.support-hotline-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.support-hotline-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary, #003366);
    letter-spacing: 0.5px;
}

.support-hotline-hours {
    font-size: 11px;
    color: var(--text-light, #666);
    margin-top: 1px;
}

.support-hotline-badge {
    background: #28a745;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 1;
    visibility: visible;
}

.support-hotline.support-hotline-side {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 360px;
    width: 100%;
    background: #ffffff;
    border-color: rgba(0, 51, 102, 0.14);
}

@media (min-width: 993px) {
    .support-hotline.support-hotline-side {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .support-hotline.support-hotline-side .support-hotline-badge {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .hero-grid .hero-right {
        align-self: stretch;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        overflow: visible;
        pointer-events: none;
    }

    .hero-grid .hero-right .support-hotline.support-hotline-side {
        position: relative;
        margin-bottom: 8px;
        margin-left: 0;
        margin-right: 0;
        max-width: 340px;
        background: #fff;
        z-index: 4;
        pointer-events: auto;
    }
}

/* Safety fallback: complete-wheels dropdown labels must stay visible */
.header-nav .dropdown-menu.wide.felgen-menu .menu-title {
    display: block !important;
    color: var(--text, #333) !important;
    -webkit-text-fill-color: var(--text, #333) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.header-nav .dropdown-menu.wide.felgen-menu .felgen-item {
    color: var(--text, #333) !important;
    -webkit-text-fill-color: var(--text, #333) !important;
}

.header-nav .dropdown-menu.wide.felgen-menu .felgen-item span {
    display: inline-block !important;
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 600px) {
    .support-hotline {
        padding: 10px 14px;
        gap: 10px;
    }

    .support-hotline-icon {
        width: 38px;
        height: 38px;
    }

    .support-hotline-icon i {
        font-size: 15px;
    }

    .support-hotline-number {
        font-size: 17px;
    }

    .support-hotline-label {
        font-size: 11px;
    }

    .support-hotline-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

@media (max-width: 992px) {
    .support-hotline.support-hotline-side {
        margin-top: 12px;
        margin-left: auto;
        margin-right: auto;
        max-width: 700px;
        position: static;
    }
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary, #003366) 0%, var(--primary-dark, #002244) 100%);
    color: white;
    flex-shrink: 0;
}

.mobile-menu-logo {
    font-size: 20px;
    font-weight: 800;
}

.mobile-menu-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(255,255,255,0.3);
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-section {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text, #333);
    transition: background 0.2s;
}

.mobile-menu-section-title:hover {
    background: #f8f9fa;
}

.mobile-menu-section-title span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-section-title span i {
    width: 20px;
    color: var(--primary, #003366);
}

.mobile-menu-section-title > i {
    transition: transform 0.2s;
    color: #999;
}

.mobile-menu-section.active .mobile-menu-section-title > i {
    transform: rotate(180deg);
}

.mobile-menu-links {
    display: none;
    flex-direction: column;
    background: #f8f9fa;
    padding: 10px 20px;
}

.mobile-menu-section.active .mobile-menu-links {
    display: flex;
}

.mobile-menu-links a {
    padding: 12px 15px;
    color: var(--text, #333);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-links a:hover {
    background: #e9ecef;
}

.mobile-menu-links a i {
    width: 20px;
    color: var(--primary, #003366);
    text-align: center;
}

.mobile-menu-divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}

.mobile-menu-link-single {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--text, #333);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.mobile-menu-link-single:hover {
    background: #f8f9fa;
}

.mobile-menu-link-single i {
    width: 20px;
    color: var(--primary, #003366);
    text-align: center;
}

.mobile-menu-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    background: white;
}

.mobile-menu-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--accent, #ff6600);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    justify-content: center;
    font-weight: 600;
    transition: background 0.2s;
}

.mobile-menu-footer a:hover {
    background: var(--accent-hover, #e55a00);
}

.mobile-cart-badge {
    background: white;
    color: var(--accent, #ff6600);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 992px) {
    .mobile-lang-selector {
        display: block !important;
    }
    .mobile-menu-btn {
        display: none !important;
    }
}

@media (min-width: 993px) {
    .mobile-lang-selector,
    .mobile-menu-btn,
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* ========== PRICE SLIDER RESPONSIVE ========== */
@media (max-width: 768px) {
    .slider-holder {
        padding: 15px 10px;
    }
    
    .ui-slider {
        margin: 15px 15px 25px 15px;
        height: 8px;
    }
    
    .ui-slider-handle {
        width: 24px;
        height: 24px;
        border-width: 3px;
    }
    
    .slider-price-wrapper {
        padding: 0 10px;
    }
    
    .slider-price-wrapper div {
        font-size: 15px;
    }
}

/* ========== FILTER SIDEBAR MOBILE ========== */
@media (max-width: 992px) {
    .filter-section {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .filter-label {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .filter-select {
        padding: 14px 12px;
        font-size: 16px !important;
    }
    
    .filter-checkbox {
        padding: 10px 0;
    }
    
    .filter-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
}

/* ========== BRANDS SLIDER RESPONSIVE ========== */
@media (max-width: 768px) {
    .brands-slider {
        justify-content: flex-start;
        gap: 15px;
        padding: 10px 0;
    }
    
    .brand-item {
        min-width: 100px;
        padding: 10px;
    }
    
    .brand-item img {
        max-height: 30px;
    }
}

/* ========== NOTIFICATION / TOAST RESPONSIVE ========== */
@media (max-width: 768px) {
    .notification,
    .toast {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        width: auto;
    }
}

/* ========== QUICK ACTIONS / FLOATING BUTTONS ========== */
@media (max-width: 768px) {
    .quick-cart-btn,
    .scroll-to-top {
        bottom: 70px;
    }
}

/* ========== EU LABELS RESPONSIVE ========== */
@media (max-width: 480px) {
    .eu-label {
        gap: 4px;
    }
    
    .label-item {
        font-size: 10px;
        padding: 2px;
    }
    
    .label-value {
        font-size: 9px;
        padding: 1px 3px;
    }
}

/* ========== TABLE RESPONSIVE ========== */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .specs-table,
    .product-specs-table {
        font-size: 13px;
    }
    
    .specs-table td,
    .specs-table th,
    .product-specs-table td,
    .product-specs-table th {
        padding: 10px 8px;
    }
}

/* ========== QUANTITY SELECTOR RESPONSIVE ========== */
@media (max-width: 480px) {
    .quantity-selector {
        min-width: 100px;
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
    }
    
    .quantity-input {
        width: 40px;
        font-size: 14px;
    }
}

/* ========== LOADING SPINNER RESPONSIVE ========== */
@media (max-width: 768px) {
    #loading,
    .loading-spinner {
        padding: 30px;
    }
    
    .loading-spinner::after {
        width: 40px;
        height: 40px;
    }
}

/* ========== EMPTY STATE RESPONSIVE ========== */
@media (max-width: 768px) {
    .no-products-found,
    .empty-state {
        padding: 30px 20px;
    }
    
    .no-products-found h2,
    .no-products-found h3,
    .empty-state h3 {
        font-size: 18px;
    }
    
    .no-products-found p,
    .empty-state p {
        font-size: 14px;
    }
}

/* ========== SEO CONTENT RESPONSIVE ========== */
@media (max-width: 768px) {
    .seo-content-section {
        padding: 40px 0;
    }
    
    .seo-content h2 {
        font-size: 22px;
    }
    
    .seo-content h3 {
        font-size: 18px;
    }
    
    .seo-content p,
    .seo-content li {
        font-size: 14px;
    }
}

/* ========== NEWSLETTER RESPONSIVE ========== */
@media (max-width: 768px) {
    .newsletter-box {
        padding: 25px;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== PRODUKT.HTML - PRODUCT DETAIL PAGE RESPONSIVE ========== */
/* Tablet breakpoint */
@media (max-width: 1024px) {
    .product-page .product-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    
    .product-page .product-price-col {
        grid-column: 1 / -1 !important;
        border-left: none !important;
        border-top: 3px solid var(--accent, #ff6600) !important;
        margin-top: 10px;
    }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
    .product-page {
        padding: 15px 0 100px !important;
    }
    
    .product-page .product-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    
    .product-page .product-image-col {
        order: 1;
    }
    
    .product-page .product-info-col {
        order: 2;
        padding: 0 !important;
    }
    
    .product-page .product-price-col {
        order: 3;
        grid-column: 1 !important;
        padding: 20px 15px !important;
    }
    
    /* Main Image */
    .product-page .main-image-container {
        min-height: 250px !important;
        padding: 15px !important;
    }
    
    .product-page .main-image {
        max-height: 250px !important;
    }
    
    /* Thumbnails */
    .product-page .thumb-list {
        gap: 6px !important;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-page .thumb {
        width: 55px !important;
        height: 55px !important;
        padding: 3px !important;
    }
    
    .product-page .image-note {
        font-size: 10px !important;
        padding: 8px !important;
    }
    
    /* Product Title */
    .product-page .product-title {
        font-size: 18px !important;
        line-height: 1.3;
    }
    
    .product-page .product-variant {
        font-size: 15px !important;
        margin-bottom: 15px !important;
    }
    
    .product-page .brand-logo {
        max-height: 28px !important;
        margin-bottom: 10px !important;
    }
    
    /* Specs Table */
    .product-page .specs-table td {
        padding: 10px 6px !important;
        font-size: 13px !important;
    }
    
    .product-page .specs-table td:first-child {
        width: 45% !important;
    }
    
    /* EU Labels */
    .product-page .eu-labels {
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 12px !important;
    }
    
    .product-page .eu-label-item {
        gap: 6px !important;
    }
    
    .product-page .eu-label-item i {
        font-size: 16px !important;
    }
    
    .product-page .eu-label-value {
        padding: 2px 6px !important;
        font-size: 12px !important;
    }
    
    /* Rating */
    .product-page .rating-row {
        flex-wrap: wrap;
        gap: 8px !important;
    }
    
    .product-page .stars {
        font-size: 14px !important;
    }
    
    .product-page .rating-text {
        font-size: 12px !important;
    }
    
    /* Price Area */
    .product-page .price-value {
        font-size: 32px !important;
    }
    
    .product-page .price-value sup {
        font-size: 16px !important;
    }
    
    .product-page .price-old {
        font-size: 16px !important;
    }
    
    .product-page .discount-badge {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
    
    /* Qty & Cart */
    .product-page .qty-row {
        padding: 12px !important;
        margin: 15px 0 !important;
    }
    
    .product-page .qty-label {
        font-size: 13px !important;
    }
    
    .product-page .qty-select {
        padding: 10px !important;
        font-size: 14px !important;
    }
    
    .product-page .total-price {
        padding: 12px !important;
        font-size: 13px !important;
    }
    
    .product-page .btn-cart {
        padding: 14px !important;
        font-size: 15px !important;
    }
    
    /* Advantages */
    .product-page .advantages {
        margin-top: 20px !important;
        padding-top: 15px !important;
    }
    
    .product-page .advantages-title {
        font-size: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .product-page .adv-item {
        font-size: 12px !important;
        margin: 8px 0 !important;
    }
    
    /* Tabs Section */
    .product-page .tabs-section {
        margin-top: 20px !important;
    }
    
    .product-page .tabs-nav {
        flex-wrap: wrap !important;
        gap: 0 !important;
    }
    
    .product-page .tab-btn {
        flex: 1 1 50% !important;
        padding: 12px 8px !important;
        font-size: 11px !important;
        white-space: nowrap;
        text-align: center;
        box-sizing: border-box;
        border-bottom: 2px solid rgba(255,255,255,0.1) !important;
    }
    
    .product-page .tab-btn.active {
        border-bottom-color: var(--accent, #ff6600) !important;
    }
    
    .product-page .tab-content {
        padding: 15px !important;
    }
    
    .product-page .tab-content h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
    }
    
    .product-page .tab-content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    /* Hide desktop cart button, show sticky bar on mobile */
    .product-page .product-price-col .btn-cart {
        display: none !important;
    }
}

/* Small mobile breakpoint */
@media (max-width: 480px) {
    .product-page {
        padding: 10px 0 90px !important;
    }
    
    .product-page .product-grid {
        padding: 12px !important;
        gap: 12px !important;
    }
    
    .product-page .main-image-container {
        min-height: 200px !important;
        padding: 10px !important;
    }
    
    .product-page .main-image {
        max-height: 200px !important;
    }
    
    .product-page .thumb {
        width: 48px !important;
        height: 48px !important;
    }
    
    .product-page .product-title {
        font-size: 16px !important;
    }
    
    .product-page .product-variant {
        font-size: 14px !important;
    }
    
    .product-page .specs-table td {
        padding: 8px 5px !important;
        font-size: 12px !important;
    }
    
    .product-page .eu-labels {
        justify-content: center;
    }
    
    .product-page .price-value {
        font-size: 28px !important;
    }
    
    .product-page .tab-btn {
        padding: 10px 12px !important;
        font-size: 11px !important;
    }
    
    .product-page .tab-content {
        padding: 12px !important;
    }
    
    .product-page .tab-content h3 {
        font-size: 15px !important;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .product-page .product-title {
        font-size: 15px !important;
    }
    
    .product-page .product-variant {
        font-size: 13px !important;
    }
    
    .product-page .price-value {
        font-size: 26px !important;
    }
    
    .product-page .thumb {
        width: 42px !important;
        height: 42px !important;
    }
}

/* =========================================================
   SMALL / FOLD DEVICES
   Pagination + layout fixes
   Breakpoint: <= 400px
   ========================================================= */
@media (max-width: 400px) {

    /* ---------- PAGINATION ---------- */
    #pagination,
    .pagination {
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        gap: 6px;
        padding: 15px 0;
        width: 100%;
    }

    .pagination a,
    .pagination span {
        min-width: 32px;
        height: 32px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        border-radius: 6px;
        line-height: 1;
    }

    /* стрелки */
    .pagination .prev,
    .pagination .next {
        font-size: 16px;
        min-width: 34px;
    }

    /* активная страница */
    .pagination .active {
        font-weight: 700;
    }

    /* скрываем троеточие */
    .pagination .dots,
    .pagination .ellipsis {
        display: none !important;
    }

    /* ---------- PRODUCT CARD COMPRESSION ---------- */
    .product-item {
        grid-template-columns: 70px 1fr !important;
        gap: 8px 10px;
        padding: 10px;
    }

    .product-image {
        width: 70px;
        height: 70px;
    }

    .product-name {
        font-size: 13px;
        line-height: 1.25;
    }

    .product-variant {
        font-size: 11px;
    }

    .product-price-col {
        flex-direction: column !important;
        align-items: stretch;
        gap: 6px;
    }

    .price-main {
        font-size: 18px;
    }

    .btn-cart {
        width: 100%;
        padding: 10px;
        font-size: 12px;
    }

    /* ---------- GLOBAL SAFETY ---------- */
    * {
        min-width: 0;
    }

    body {
        overflow-x: hidden;
    }
}

/* =========================================================
   SAMSUNG GALAXY FOLD & ULTRA NARROW DEVICES
   Width: 280–320px (folded state)
   ========================================================= */
@media (max-width: 320px) {
    /* ---------- GLOBAL ---------- */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    * {
        min-width: 0 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .container {
        padding: 0 8px !important;
        max-width: 100% !important;
    }
    
    /* ---------- HEADER ---------- */
    .top-bar {
        display: none !important;
    }
    
    .main-header,
    .rd-main-header {
        padding: 8px 0 !important;
    }
    
    .header-content,
    .rd-header-content {
        gap: 6px !important;
    }
    
    .logo h1,
    .rd-logo h1 {
        font-size: 15px !important;
        letter-spacing: -0.5px;
    }
    
    .cart-btn,
    .rd-cart-btn {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
    
    .cart-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
    }
    
    /* ---------- BREADCRUMB ---------- */
    .breadcrumb-section {
        padding: 6px 0 !important;
    }
    
    .breadcrumb {
        font-size: 10px !important;
        gap: 4px !important;
    }
    
    /* ---------- PAGE HEADER ---------- */
    .page-header {
        padding: 12px 0 !important;
    }
    
    .page-title {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }
    
    .results-count {
        font-size: 11px !important;
    }
    
    /* ---------- PRODUCTS LIST (produkte.html, motorrad_ergebnisse.html) ---------- */
    .results-header {
        padding: 10px !important;
        gap: 10px !important;
    }
    
    .sort-group {
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .sort-group select {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }
    
    .product-item {
        grid-template-columns: 60px 1fr !important;
        gap: 6px 8px !important;
        padding: 8px !important;
        margin-bottom: 8px !important;
    }
    
    .product-image {
        width: 60px !important;
        height: 60px !important;
    }
    
    .product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
    
    .product-details {
        min-width: 0 !important;
    }
    
    .product-name {
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-variant {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }
    
    .product-labels {
        gap: 2px !important;
        flex-wrap: wrap !important;
    }
    
    .eu-label {
        gap: 2px !important;
    }
    
    .label-item {
        font-size: 8px !important;
        padding: 1px 3px !important;
    }
    
    .label-value {
        font-size: 7px !important;
        padding: 1px 2px !important;
    }
    
    .product-rating {
        font-size: 9px !important;
    }
    
    .product-price-col {
        padding-top: 6px !important;
        margin-top: 6px !important;
        gap: 4px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .price-info {
        gap: 2px !important;
    }
    
    .price-main {
        font-size: 16px !important;
    }
    
    .price-cents {
        font-size: 10px !important;
    }
    
    .price-old {
        font-size: 10px !important;
    }
    
    .discount-badge {
        font-size: 8px !important;
        padding: 2px 4px !important;
    }
    
    .price-per {
        font-size: 9px !important;
    }
    
    .btn-cart {
        padding: 8px 10px !important;
        font-size: 10px !important;
        min-width: 70px !important;
    }
    
    .btn-cart i {
        display: none !important;
    }
    
    .btn-details {
        display: block !important;
    }
    
    /* ---------- PRODUCT PAGE (produkt.html, motorrad_produkt.html) ---------- */
    .product-grid {
        padding: 10px !important;
        gap: 12px !important;
    }
    
    .product-gallery,
    .gallery-section {
        max-width: 100% !important;
    }
    
    .main-image {
        max-height: 180px !important;
    }
    
    .main-image img {
        max-height: 180px !important;
    }
    
    .gallery-thumbnails,
    .thumbnails {
        gap: 4px !important;
        justify-content: center !important;
    }
    
    .thumb,
    .gallery-thumb {
        width: 40px !important;
        height: 40px !important;
    }
    
    .product-title,
    .product-page-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
    }
    
    .product-info-section .product-variant {
        font-size: 12px !important;
    }
    
    .specs-table {
        font-size: 11px !important;
    }
    
    .specs-table td,
    .specs-table th {
        padding: 6px 4px !important;
        font-size: 10px !important;
    }
    
    .price-area {
        padding: 12px 0 !important;
    }
    
    .price-old {
        font-size: 14px !important;
    }
    
    .price-value {
        font-size: 24px !important;
    }
    
    .price-value sup {
        font-size: 12px !important;
    }
    
    .discount-badge {
        padding: 4px 8px !important;
        font-size: 10px !important;
    }
    
    .qty-row {
        padding: 8px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .qty-select {
        width: 100% !important;
        padding: 10px !important;
        font-size: 14px !important;
    }
    
    .total-price {
        padding: 10px !important;
        font-size: 12px !important;
    }
    
    .btn-cart,
    .add-to-cart-btn {
        width: 100% !important;
        padding: 12px !important;
        font-size: 13px !important;
    }
    
    .advantages {
        padding-top: 12px !important;
        margin-top: 12px !important;
    }
    
    .adv-item {
        font-size: 11px !important;
        gap: 6px !important;
    }
    
    .adv-item i {
        font-size: 12px !important;
    }
    
    /* EU Labels */
    .eu-labels {
        padding: 8px !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
    
    .eu-label-item {
        flex: 1 1 45% !important;
        min-width: 80px !important;
    }
    
    .eu-label-item i {
        font-size: 12px !important;
    }
    
    .eu-label-value {
        padding: 2px 4px !important;
        font-size: 10px !important;
    }
    
    /* Tabs */
    .tabs-nav {
        flex-wrap: wrap !important;
    }
    
    .tab-btn {
        flex: 1 1 45% !important;
        padding: 8px 6px !important;
        font-size: 10px !important;
        text-align: center !important;
    }
    
    .tab-content {
        padding: 10px !important;
        font-size: 12px !important;
    }
    
    .tab-content h3 {
        font-size: 14px !important;
    }
    
    /* ---------- FELGEN CARDS (felgen_cards.html) ---------- */
    .cards-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .rim-card {
        border-radius: 8px !important;
    }
    
    .rim-card-header {
        padding: 10px 12px !important;
    }
    
    .rim-name {
        font-size: 14px !important;
    }
    
    .rim-brand {
        font-size: 11px !important;
    }
    
    .rim-image {
        padding: 15px 10px !important;
    }
    
    .rim-image img {
        max-width: 140px !important;
        height: 140px !important;
    }
    
    .rim-sizes {
        padding: 10px !important;
    }
    
    .rim-sizes h4 {
        font-size: 11px !important;
        margin-bottom: 8px !important;
    }
    
    .size-options {
        gap: 4px !important;
    }
    
    .size-btn {
        min-width: 36px !important;
        height: 28px !important;
        font-size: 11px !important;
        padding: 0 6px !important;
    }
    
    .rim-variants {
        padding: 10px !important;
    }
    
    .color-option {
        width: 24px !important;
        height: 24px !important;
    }
    
    .rim-footer {
        padding: 12px !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .rim-price {
        text-align: center !important;
    }
    
    .rim-price .price-from {
        font-size: 10px !important;
    }
    
    .rim-price .price-value {
        font-size: 20px !important;
    }
    
    .details-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
    
    /* ---------- KOMPLETTRAD CARDS ---------- */
    .komplettrad-card,
    .wheel-card {
        padding: 10px !important;
    }
    
    .komplettrad-image,
    .wheel-image {
        max-height: 120px !important;
    }
    
    .komplettrad-title,
    .wheel-title {
        font-size: 13px !important;
    }
    
    .komplettrad-price,
    .wheel-price {
        font-size: 18px !important;
    }
    
    /* ---------- MOBILE FILTER TOGGLE ---------- */
    .mobile-filter-toggle {
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
    
    /* ---------- MOBILE ACCORDION ---------- */
    .mobile-cats-accordion .acc-btn {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
    
    .mobile-cats-accordion .panel-grid {
        grid-template-columns: 1fr !important;
        padding: 6px !important;
        gap: 2px !important;
    }
    
    .mobile-cats-accordion .cat-item {
        padding: 10px 8px !important;
        font-size: 13px !important;
        word-break: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.3 !important;
    }
    
    /* ---------- PAGINATION ---------- */
    #pagination,
    .pagination {
        gap: 4px !important;
        padding: 10px 5px !important;
    }
    
    .pagination a,
    .pagination span,
    .pagination-btn {
        min-width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        padding: 0 !important;
    }
    
    .pagination .prev,
    .pagination .next {
        min-width: 30px !important;
    }
    
    .pagination .dots,
    .pagination .ellipsis,
    .pagination-dots {
        display: none !important;
    }
    
    /* ---------- MOBILE STICKY CART ---------- */
    .mobile-sticky-cart {
        padding: 10px 8px !important;
        gap: 8px !important;
    }
    
    .mobile-sticky-cart .cart-price-info {
        min-width: 60px !important;
    }
    
    .mobile-sticky-cart .cart-price-info .price-current {
        font-size: 15px !important;
    }
    
    .mobile-sticky-cart .cart-price-info .price-per {
        font-size: 9px !important;
    }
    
    .mobile-sticky-cart .qty-controls {
        border-radius: 6px !important;
    }
    
    .mobile-sticky-cart .qty-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }
    
    .mobile-sticky-cart .qty-value {
        width: 28px !important;
        font-size: 14px !important;
    }
    
    .mobile-sticky-cart .add-cart-btn {
        max-width: 156px !important;
        min-width: 142px !important;
        height: 40px !important;
        font-size: 12px !important;
        line-height: 1.1 !important;
        gap: 6px !important;
        padding: 0 10px !important;
        white-space: normal !important;
    }

    .mobile-sticky-cart .add-cart-btn i {
        flex-shrink: 0 !important;
    }
    
    /* ---------- FOOTER ---------- */
    .footer {
        padding: 20px 0 12px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        text-align: center !important;
    }
    
    .footer-col h4 {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .footer-col a {
        font-size: 11px !important;
        padding: 4px 0 !important;
    }
    
    .footer-col p {
        font-size: 10px !important;
        line-height: 1.5 !important;
    }
    
    .footer-bottom {
        font-size: 9px !important;
        padding-top: 10px !important;
    }
    
    /* ---------- SEARCH BOX (Hero sections) ---------- */
    .search-box {
        padding: 15px 10px !important;
        border-radius: 10px !important;
    }
    
    .search-header {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }
    
    .search-header i {
        font-size: 20px !important;
    }
    
    .search-header h2 {
        font-size: 15px !important;
    }
    
    .search-header span {
        font-size: 10px !important;
    }
    
    .form-section {
        margin-bottom: 12px !important;
    }
    
    .form-section h3 {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .size-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    
    .size-grid.four {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .size-grid select {
        padding: 10px 6px !important;
        font-size: 12px !important;
    }
    
    .size-grid label {
        font-size: 9px !important;
    }
    
    .filter-row {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    
    .filter-row select {
        padding: 10px 8px !important;
        font-size: 12px !important;
    }
    
    .btn-search {
        padding: 12px !important;
        font-size: 13px !important;
        margin-top: 10px !important;
    }
    
    /* ---------- HERO SECTION ---------- */
    .hero {
        padding: 20px 0 !important;
    }
    
    .hero-badge {
        font-size: 10px !important;
        padding: 5px 10px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-title {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .hero-desc {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .hero-features {
        gap: 8px !important;
    }
    
    .hero-feature {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    
    .hero-feature i {
        font-size: 14px !important;
    }
    
    /* ---------- CATEGORY CARDS ---------- */
    .categories-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    
    .category-card {
        padding: 12px 8px !important;
        border-radius: 8px !important;
    }
    
    .category-card i {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }
    
    .category-card h3 {
        font-size: 11px !important;
    }
    
    .category-card p {
        font-size: 9px !important;
    }
    
    /* ---------- INFO CARDS ---------- */
    .info-cards {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .info-card {
        padding: 15px 10px !important;
    }
    
    .info-card i {
        font-size: 28px !important;
        margin-bottom: 10px !important;
    }
    
    .info-card h3 {
        font-size: 13px !important;
    }
    
    .info-card p {
        font-size: 11px !important;
    }
    
    /* ---------- MODALS / OVERLAYS ---------- */
    .cart-modal,
    .filter-modal {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }
}
