

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

.header-main .container {
    overflow: visible;
}

table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .header-main .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .search-form {
        order: 3;
        width: 100%;
        margin: 0;
        max-width: none;
    }

    .slide-content {
        padding: 40px;
        margin-left: 40px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {

    
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    
    .top-bar {
        display: block !important;
        padding: 12px 0;
        font-size: 12px;
        background-color: #1f2937;
        color: white;
    }

    .top-bar .container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 12px;
        padding: 0 15px;
    }

    .top-bar-left {
        width: 100%;
        text-align: left;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .top-bar-left span {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.5;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .top-bar-left .contact-link {
        color: rgba(255, 255, 255, 0.95) !important;
        text-decoration: none !important;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 8px;
        border-radius: 6px;
        transition: all 0.3s ease;
        font-size: 13px;
        white-space: nowrap;
    }

    .top-bar-left .contact-link:hover {
        background: rgba(255, 255, 255, 0.15);
        color: white !important;
        transform: translateY(-1px);
        text-decoration: none !important;
    }

    .top-bar-left .contact-link:visited {
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .top-bar-left .contact-link:active {
        color: white !important;
    }

    .top-bar-left .contact-link i {
        font-size: 12px;
        flex-shrink: 0;
    }

    .top-bar-left .separator {
        color: rgba(255, 255, 255, 0.5);
        font-size: 12px;
    }

    .top-bar-right {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .top-bar-right .language-selector {
        width: auto;
        min-width: 90px;
        flex-shrink: 0;
    }

    .top-bar-right .language-selector select {
        width: 100%;
        padding: 8px 10px;
        font-size: 14px;
        border-radius: 8px;
        background-color: #374151;
        color: white;
        border: 1px solid #4b5563;
        min-height: 38px;
    }

    .top-bar-right a {
        flex: 1;
        min-width: 80px;
        max-width: 120px;
        text-align: center;
        padding: 10px 16px;
        border-radius: 8px;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        border: none;
        font-size: 14px;
        font-weight: 600;
        display: inline-block;
        color: white;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
        min-height: 38px;
        line-height: 1.2;
    }

    .top-bar-right a:hover {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
        color: white;
    }

    .cart-text {
        font-size: 11px !important;
    }

    .cart-total-price {
        font-size: 14px !important;
    }

    .cart-link {
        padding: 8px 12px !important;
        gap: 6px !important;
    }

    .cart-info {
        gap: 1px !important;
    }

    .header-main {
        padding: 10px 0;
    }

    .header-main .container {
        flex-direction: column;
        align-items: stretch;
    }

    .header-left {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        min-width: auto;
        width: 100%;
    }

    .logo {
        min-width: 120px;
        min-height: 40px;
        flex: 1;
    }

    .logo img {
        height: 40px;
        max-width: 150px;
    }

    .search-form {
        margin-bottom: 10px;
        position: relative;
        max-width: 100%;
        order: 2;
    }

    .search-suggestions {
        max-height: 350px;
        z-index: 1003;
        left: 0;
        right: 0;
    }

    .suggestion-item {
        padding: 8px 12px;
        gap: 10px;
    }

    .suggestion-image {
        width: 40px;
        height: 40px;
    }

    .suggestion-name {
        font-size: 12px;
    }

    .suggestion-price {
        font-size: 13px;
    }

    .header-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .header-nav-links {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
        margin-bottom: 0;
        order: 1;
    }

    .header-nav-links a {
        flex: 1;
        min-width: calc(33.333% - 6px);
        justify-content: center;
        padding: 10px 8px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #f9fafb;
        position: relative;
        font-size: 13px;
        text-align: center;
    }

    .header-nav-links a i {
        margin-right: 4px;
    }

    .header-nav-links a span {
        display: inline;
    }

    .header-nav-links .cart-link-header {
        position: relative;
    }

    .header-nav-links .cart-count-badge {
        position: absolute;
        top: 6px;
        right: 6px;
        background: #ef4444;
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 600;
    }

    .cart-link {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        order: 2;
        margin-top: 0;
    }

    
    .main-nav {
        position: relative;
        padding: 0;
        margin-top: 0;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }

    .main-nav .container {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        padding: 10px 15px;
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 2px solid #2563eb;
        border-radius: 8px;
        background: #2563eb;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        z-index: 10012;
        gap: 4px;
        flex-shrink: 0;
    }

    .mobile-menu-toggle span {
        display: block !important;
        width: 22px !important;
        height: 3px !important;
        
        background-color: white !important;
        transition: all 0.3s ease;
        border-radius: 2px;
        flex-shrink: 0 !important;
        min-height: 3px !important;
    }

    .mobile-menu-toggle:hover {
        background: #1d4ed8;
        border-color: #1d4ed8;
        transform: scale(1.05);
    }

    .mobile-menu-toggle.active {
        background: #1d4ed8;
        border-color: #1d4ed8;
    }

    .mobile-menu-toggle.active span {
        background-color: white;
    }

    
    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 0;
        padding-top: 20px;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10010;
        overflow-y: auto;
        align-items: stretch;
        -webkit-overflow-scrolling: touch;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10009;
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

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

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    body.menu-open .header-main {
        z-index: 1000 !important;
    }

    
    body.menu-open .main-header {
        z-index: 1000 !important;
    }

    body.menu-open .header-main {
        z-index: 1000 !important;
    }

    body.menu-open .header-left {
        z-index: 1000 !important;
    }

    body.menu-open .logo {
        z-index: 999 !important;
        position: relative;
    }

    body.menu-open .logo img {
        z-index: 999 !important;
        position: relative;
    }

    body.menu-open .header-center {
        z-index: 1000 !important;
    }

    
    .mobile-menu-header {
        display: block;
        padding: 20px;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: white;
        font-weight: 700;
        font-size: 18px;
        text-align: center;
        position: sticky;
        top: 0;
        z-index: 10011;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin: 0;
        width: 100%;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li {
        width: 100%;
    }

    
    body.menu-open .mobile-auth-links {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        max-height: 100vh;
        padding-top: 60px;
        padding-bottom: 15px;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        border-bottom: 2px solid #e5e7eb;
        z-index: 10011;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .mobile-auth-links {
        display: none;
    }

    .mobile-auth-links a {
        display: flex !important;
        width: calc(100% - 40px);
        margin: 0 20px 10px !important;
        border-radius: 8px !important;
    }

    .mobile-auth-links a:last-child {
        margin-bottom: 0 !important;
    }

    .nav-menu>li:not(.mobile-auth-links)>a {
        padding: 16px 20px;
        border-bottom: 1px solid #f3f4f6;
        width: 100%;
        justify-content: space-between;
        font-size: 15px;
        font-weight: 600;
        color: #1f2937;
        text-transform: none;
        letter-spacing: 0;
    }

    .nav-menu>li:not(.mobile-auth-links)>a:hover {
        background-color: #f8fafc;
        color: #2563eb;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f8fafc;
        margin-left: 0;
        margin-top: 0;
        border-radius: 0;
        display: none;
        width: 100%;
        border-top: 1px solid #e5e7eb;
        padding: 0;
        z-index: 10012;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        font-size: 14px;
        color: #4b5563;
        border-bottom: 1px solid #f3f4f6;
    }

    .dropdown-menu li a:hover {
        background-color: #f1f5f9;
        color: #2563eb;
        padding-left: 45px;
    }

    
    .nav-menu>li:not(.mobile-auth-links) {
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-menu>li:not(.mobile-auth-links)>a i {
        margin-left: auto;
        transition: transform 0.3s ease;
        font-size: 12px;
        color: #6b7280;
    }

    .dropdown.active>a i {
        transform: rotate(180deg);
        color: #2563eb;
    }

    
    .stats-section {
        display: block;
        opacity: 1;
    }

    
    .hero-slider {
        height: 300px;
    }

    .slide-content {
        padding: 20px;
        margin-left: 20px;
        max-width: calc(100% - 40px);
    }

    .slide-content h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .slider-nav {
        bottom: 15px;
    }

    .slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    
    section {
        padding: 40px 0;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .category-card img {
        height: 150px;
    }

    .category-card h3 {
        padding: 15px;
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr !important;
        
        gap: 15px;
        padding: 0 15px;
    }

    
    .products-grid,
    .products-grid-modern,
    .featured-grid,
    .category-grid {
        grid-template-columns: 1fr !important;
        
        gap: 15px;
    }

    .product-card img {
        height: 200px;
        object-fit: cover;
        width: 100%;
    }

    .product-card h3 {
        padding: 15px 15px 8px;
        font-size: 1rem;
    }

    .product-info {
        padding: 0 15px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .price {
        font-size: 1.1rem;
    }

    
    .stats-grid,
    .hero-stats,
    .stats-section {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .stat-item {
        padding: 20px;
        text-align: center;
    }

    
    .category-grid,
    .product-grid,
    .products-grid,
    .products-grid-modern,
    .featured-grid,
    .row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    
    .product-card,
    .product-card-modern,
    .category-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
    }

    
    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-grid,
    .footer-grid.footer-grid--3 {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-social-bar .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-bottom .payment-methods {
        justify-content: center;
    }

    
    .input-group {
        flex-direction: column;
    }

    .input-group input {
        border-radius: 6px;
        border-right: 1px solid #4b5563;
        margin-bottom: 10px;
    }

    .input-group button {
        border-radius: 6px;
    }

    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-actions {
        justify-content: center;
    }

    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    
    .notification {
        left: 10px;
        right: 10px;
        width: auto;
    }

    
    .breadcrumb {
        padding: 12px 0;
    }

    .breadcrumb ol {
        font-size: 12px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .breadcrumb li {
        white-space: nowrap;
    }

    
    table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    table thead,
    table tbody,
    table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    table th,
    table td {
        padding: 8px 6px;
        font-size: 12px;
    }

    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        
        width: 100%;
        box-sizing: border-box;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        width: 100%;
        margin-bottom: 15px;
    }

    
    .btn {
        min-height: 44px;
        
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    
    .modal {
        padding: 20px 15px;
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }

    .modal-header {
        padding: 15px;
        font-size: 18px;
    }

    .modal-body {
        padding: 15px;
        font-size: 14px;
    }

    .modal-footer {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }

    .modal-footer .btn {
        width: 100%;
    }

    
    .card {
        margin-bottom: 20px;
    }

    .card-header {
        padding: 15px;
        font-size: 16px;
    }

    .card-body {
        padding: 15px;
    }

    
    .row {
        flex-direction: column;
        margin: 0;
    }

    .col,
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9,
    .col-10,
    .col-11,
    .col-12 {
        width: 100%;
        padding: 0 10px;
        margin-bottom: 15px;
    }

    
    .filter-sidebar,
    .sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }

    
    .products-grid-modern {
        grid-template-columns: 1fr !important;
        
        gap: 10px !important;
    }

    
    .products-section {
        padding: 30px 0 !important;
    }

    .categories-section {
        padding: 30px 0 !important;
    }

    .hero-section {
        min-height: 450px !important;
        padding: 50px 0 !important;
    }

    .cta-section {
        padding: 30px 0 !important;
    }

    .team-section {
        padding: 30px 0 !important;
    }

    .section-header {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .section-footer {
        padding: 0 15px;
        margin-top: 20px;
    }

    .container {
        padding: 0 15px;
    }

    
    .cart-item {
        flex-direction: column;
        gap: 15px;
    }

    .cart-item-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .cart-item-details {
        width: 100%;
        text-align: center;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: center;
    }

    
    .checkout-form {
        width: 100%;
    }

    .checkout-summary {
        width: 100%;
        margin-top: 30px;
    }

    
    .account-tabs {
        flex-direction: column;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .account-tabs button {
        white-space: nowrap;
        min-width: auto;
    }

    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 40px;
    }

    
    .alert {
        padding: 12px 15px;
        font-size: 14px;
        margin-bottom: 15px;
    }

    
    .badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    
    .tooltip {
        font-size: 12px;
        padding: 6px 10px;
    }

    
    .spinner {
        width: 30px;
        height: 30px;
    }

    
    img {
        max-width: 100%;
        height: auto;
    }

    
    video:not(.hero-video),
    iframe:not(.hero-video-iframe) {
        max-width: 100%;
        height: auto;
    }

    .hero-background .hero-video,
    .hero-background .hero-video-iframe {
        max-width: none !important;
    }

    
    .text-center-mobile {
        text-align: center;
    }

    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }

    .full-width-mobile {
        width: 100% !important;
    }

    
    .auth-section {
        padding: 20px 0;
    }

    .auth-container {
        padding: 0 10px;
    }

    .auth-card {
        padding: 20px 15px;
    }

    .auth-header h1 {
        font-size: 20px;
    }

    .auth-header p {
        font-size: 13px;
    }

    .btn-full {
        padding: 12px 18px;
        font-size: 14px;
    }

    .search-form input {
        font-size: 16px;
        
        padding: 10px 14px;
    }

    .search-form button {
        padding: 10px 14px;
    }

    .search-suggestions {
        max-height: 300px;
    }

    .suggestion-item {
        padding: 8px 12px;
        gap: 8px;
    }

    .suggestion-image {
        width: 40px;
        height: 40px;
    }

    .suggestion-name {
        font-size: 11px;
    }

    .suggestion-sku {
        font-size: 10px;
    }

    .suggestion-price {
        font-size: 12px;
    }

    .header-nav-links a {
        font-size: 13px;
        padding: 10px 14px;
    }

    .mobile-menu-toggle {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    
    .top-bar {
        padding: 8px 0;
        font-size: 11px;
    }

    .top-bar .container {
        padding: 0 12px;
        gap: 8px;
    }

    .top-bar-left span {
        font-size: 11px;
        line-height: 1.4;
    }

    .top-bar-left span i {
        font-size: 10px;
        margin-right: 4px;
    }

    .top-bar-right {
        gap: 6px;
    }

    .top-bar-right .language-selector {
        max-width: 100%;
    }

    .top-bar-right .language-selector select {
        padding: 8px 10px;
        font-size: 13px;
    }

    .top-bar-right a {
        min-width: 60px;
        padding: 6px 10px;
        font-size: 11px;
        flex: 0 0 auto;
    }

    
    .header-nav-links {
        flex-direction: row;
        gap: 6px;
    }

    .header-nav-links a {
        min-width: calc(33.333% - 4px);
        padding: 8px 6px;
        font-size: 12px;
    }

    .header-nav-links a i {
        font-size: 12px;
        margin-right: 3px;
    }

    .header-nav-links a span {
        font-size: 11px;
    }

    
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .mobile-menu-toggle span {
        display: block !important;
        width: 20px !important;
        height: 3px !important;
        background-color: white !important;
        flex-shrink: 0 !important;
        min-height: 3px !important;
    }

    
    .nav-menu {
        width: 90%;
        max-width: 300px;
    }

    .nav-menu>li:not(.mobile-auth-links)>a {
        padding: 14px 18px;
        font-size: 14px;
    }

    .dropdown-menu li a {
        padding: 10px 18px 10px 35px;
        font-size: 13px;
    }

    .search-form input {
        font-size: 16px;
        
    }

    .cart-link {
        padding: 8px 12px;
        font-size: 14px;
    }

    
    .hero-slider {
        height: 250px;
    }

    .slide-content {
        padding: 15px;
        margin-left: 15px;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    
    .category-grid {
        grid-template-columns: 1fr;
        
    }

    .product-grid {
        grid-template-columns: 1fr;
        
        gap: 10px;
    }

    .product-card h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    
    .btn {
        padding: 12px 18px;
        font-size: 15px;
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
    }

    
    button,
    a.btn,
    input[type="button"],
    input[type="submit"] {
        min-height: 44px;
        touch-action: manipulation;
    }

    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
        
        min-height: 44px;
        touch-action: manipulation;
    }

    
    table {
        font-size: 11px;
    }

    table th,
    table td {
        padding: 6px 4px;
    }

    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important;
        
        padding: 12px 14px;
        min-height: 44px;
        touch-action: manipulation;
        width: 100%;
        box-sizing: border-box;
        border-radius: 8px;
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    
    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        font-size: 14px;
    }

    
    .modal {
        margin: 5px;
        padding: 15px 10px;
        max-width: calc(100% - 10px);
    }

    .modal-header {
        padding: 12px;
        font-size: 16px;
    }

    .modal-body {
        padding: 12px;
        font-size: 13px;
    }

    
    .card-header {
        padding: 12px;
        font-size: 15px;
    }

    .card-body {
        padding: 12px;
    }

    
    .products-grid-modern {
        grid-template-columns: 1fr;
        
        gap: 10px;
    }

    
    .social-links a {
        width: 35px;
        height: 35px;
    }

    .footer-bottom .payment-methods img {
        height: 25px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero-slider {
        height: 200px;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

@media print {

    .main-header,
    .main-footer,
    .back-to-top,
    .cookie-banner,
    .notification {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .btn {
        border: 1px solid #000;
        background: transparent;
        color: #000;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-color-scheme: dark) {
    
}

@media (prefers-reduced-motion: no-preference) {
    :focus-visible {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }

    .search-form input:focus-visible,
    .search-field-wrap input:focus-visible {
        outline: none;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    }

    .qty-input-utopya:focus-visible,
    .quantity-input:focus-visible {
        outline: none;
        box-shadow: none;
    }

    .btn:focus-visible {
        outline-offset: 4px;
    }
}

@media (prefers-contrast: high) {
    .btn {
        border: 2px solid;
    }

    .product-card,
    .category-card {
        border: 1px solid;
    }
}

@media (max-width: 768px) {
    .legal-section {
        padding: 30px 0;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h1 {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }

    .legal-content h2 {
        font-size: 1.25rem;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .legal-content h3 {
        font-size: 1.1rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .legal-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .legal-text p {
        margin-bottom: 15px;
    }

    .legal-text ul,
    .legal-text ol {
        padding-left: 20px;
        margin-bottom: 15px;
    }

    .legal-text li {
        margin-bottom: 8px;
    }

    .last-updated {
        font-size: 13px;
        padding: 12px;
    }

    .content-wrapper {
        padding: 30px 20px;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    .content-section h3 {
        font-size: 1.2rem;
        margin-top: 25px;
    }

    .cookie-type {
        padding: 15px;
        margin: 20px 0;
    }

    .cookie-type h4 {
        font-size: 1rem;
    }

    .contact-info-box {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 20px 15px;
    }

    .legal-content h1 {
        font-size: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.15rem;
    }

    .legal-text {
        font-size: 13px;
    }

    .content-wrapper {
        padding: 20px 15px;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    .cookie-type {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 0;
        font-size: 12px;
    }

    .breadcrumb ol {
        flex-wrap: wrap;
        gap: 5px;
    }

    .breadcrumb li {
        font-size: 12px;
    }

    .breadcrumb a {
        font-size: 12px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    
    table {
        max-width: 100%;
    }

    .table-responsive,
    .cart-table,
    .order-table,
    .account-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    
    button,
    .btn,
    a.btn,
    input[type="submit"] {
        min-height: 44px;
    }
}