/* Marina Smirnova Fashion - Style */

/* Kolory marki */
:root {
    --color-white: #FFFFFF;
    --color-gray: #808080;
    --color-black: #000000;
    --color-powder-pink: #F8BBD9;
    --color-light-powder-pink: #FCE4EC;
    --color-powder-pink-dark: #E91E63;
    --color-silver: #C0C0C0;
}

/* Ogólne style */
body {
    font-family: 'Playfair Display', Georgia, serif;
    background-color: var(--color-light-powder-pink);
    margin: 0;
    padding: 0;
    color: var(--color-black);
    overflow-x: hidden; /* Zapobiegnij scrollowi w poziomie */
}

/* ===== NAGŁÓWEK - KOMPLETNY Z STICKY ===== */
.main-header {
    background: linear-gradient(135deg, var(--color-black) 0%, #333333 100%);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-powder-pink);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 1rem 0;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-content {
    margin-top: 140px;
    padding: 0;
    min-height: calc(100vh - 140px - 100px);
}

.home-page .main-content {
    margin-top: 0 !important;
}

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
    transition: all 0.3s ease;
    line-height: 1.1;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.logo-link:hover .logo {
    color: var(--color-powder-pink);
    transform: scale(1.05);
}

.main-nav {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--color-powder-pink);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ===== HERO VIDEO SECTION ===== */
.hero-video-section {
    position: relative;
    width: 100%; /* ← Szerokość strony (nie viewport) */
    height: auto; /* ← Wysokość automatyczna */
    margin-top: 140px; /* ← Zaczyna się POD headerem */
    margin-left: 0;
    margin-right: 0;
    background: var(--color-black);
    overflow: visible; /* ← Pozwól na pełną wysokość */
}

.hero-video {
    width: 100%; /* ← Pełna szerokość kontenera */
    height: auto; /* ← Proporcjonalna wysokość */
    display: block;
    object-fit: none; /* ← Bez skalowania/przycinania */
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--color-black) 0%, 
        #2c2c2c 25%,
        #666666 50%,
        var(--color-powder-pink) 75%,
        #E91E63 100%);
    position: relative;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* ← Pokryje całe video */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-content {
    text-align: center;
    color: white !important;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    background: transparent;
    position: relative;
}

.hero-title {
    font-size: 4rem !important;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    color: white !important;
}

.hero-subtitle {
    font-size: 1.5rem !important;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-style: italic;
    color: white !important;
}

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STRONA GŁÓWNA ===== */
.hero-section {
    background: var(--color-white);
    padding: 4rem 0;
    text-align: center;
}

/* ===== PRODUKTY ===== */
.products-section {
    padding: 4rem 0;
    background: var(--color-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-black);
    margin-bottom: 3rem;
}

.product-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(248, 187, 217, 0.3);
}



.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-powder-pink);
    margin-bottom: 1rem;
}

.btn-luxury {
    background: linear-gradient(135deg, var(--color-powder-pink) 0%, #E91E63 100%);
    color: var(--color-white);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 187, 217, 0.4);
    color: var(--color-white);
}

/* ===== STOPKA ===== */
.main-footer {
    background: var(--color-black);
    color: var(--color-powder-pink);
    padding: 2rem 0;
    text-align: center;
}

/* ===== ULEPSZENIA SZCZEGÓŁÓW PRODUKTU ===== */
.product-detail-section {
    background: white;
    padding: 3rem 0;
    font-family: 'Georgia', serif;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.product-description {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.1);
}

.product-gallery {
    position: relative;
}

/* Gallery container w szczegółach produktu */
.main-image-container {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    background: transparent !important;
}

.main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    background-color: transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.main-image:hover {
    transform: scale(1.01);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav:hover {
    background: var(--color-powder-pink);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

/* Thumbnail gallery - poziomy scroll */
.thumbnail-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: var(--color-powder-pink);
    border-radius: 4px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: var(--color-powder-pink);
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--color-powder-pink);
    box-shadow: 0 0 10px rgba(248, 187, 217, 0.5);
}

.product-variants {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--color-powder-pink);
}

.variant-section h4 {
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.1);
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 10px 15px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
    color: #333;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.1);
}

.size-option:hover {
    border-color: var(--color-powder-pink);
    background: var(--color-light-powder-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(248, 187, 217, 0.3);
}

.size-option.selected {
    border-color: var(--color-powder-pink);
    background: var(--color-powder-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(248, 187, 217, 0.4);
}

.size-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f1f1;
    color: #999;
}

.product-details {
    border-top: 2px solid #eee;
    padding-top: 2rem;
    margin-top: 2rem;
}

.product-details h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.1);
}

.detail-item {
    margin-bottom: 0.8rem;
    color: #333;
    font-weight: 500;
    text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.05);
}

.detail-item strong {
    color: #000;
    font-weight: 700;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255,255,255,0.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.lightbox-close:hover {
    color: var(--color-powder-pink);
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.badge-new {
    background: #28a745;
    color: white;
}

.badge-sale {
    background: #dc3545;
    color: white;
}

.breadcrumb-item a {
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #E91E63 !important;
    transform: translateX(2px);
}

.breadcrumb-item.active {
    color: #666 !important;
    font-weight: 600;
}

/* ===== WYSZUKIWARKA I KOSZYK ===== */
.search-container {
    position: relative;
}

.search-form {
    margin: 0;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    box-shadow: 0 4px 15px rgba(248, 187, 217, 0.4);
    transform: translateY(-1px);
}

.search-input {
    border: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    background: transparent;
    outline: none;
    width: 200px;
    color: #333;
}

.search-input::placeholder {
    color: #999;
    font-style: italic;
}

.search-btn {
    background: var(--color-powder-pink);
    border: none;
    padding: 10px 15px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #E91E63;
}

.cart-link {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-powder-pink) !important;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 25px;
    border: 2px solid var(--color-powder-pink);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cart-link:hover {
    background: var(--color-powder-pink);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 187, 217, 0.4);
}

.cart-counter {
    background: #E91E63;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
    animation: pulse 2s infinite;
    transition: transform 0.2s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.toast-notification {
    position: fixed;
    top: 140px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    font-weight: 600;
    max-width: 350px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.error {
    background: #dc3545;
}

.toast-notification.warning {
    background: #ffc107;
    color: #000;
}

.wishlist-link {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-powder-pink) !important;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 25px;
    border: 2px solid #E91E63;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wishlist-link:hover {
    background: #E91E63;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu-container {
    position: relative;
    display: inline-block;
}

.dropdown-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid var(--color-powder-pink);
    color: var(--color-powder-pink);
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
    white-space: nowrap;
}

.dropdown-toggle-btn:hover {
    background: var(--color-powder-pink);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 187, 217, 0.4);
}

.dropdown-toggle-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 187, 217, 0.3);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.dropdown-toggle-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(248, 187, 217, 0.2);
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-menu-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
    font-family: 'Playfair Display', serif;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:hover {
    background: var(--color-light-powder-pink);
    color: var(--color-black);
    padding-left: 22px;
}

/* ===== RESPONSYWNOŚĆ ===== */
@media (max-width: 768px) {
    .main-header {
        height: 160px;
        padding: 1rem 0;
    }
    
    .main-content {
        margin-top: 160px;
    }
    
    .home-page .main-content {
        margin-top: 0 !important;
    }
    
    .hero-video-section {
    margin-top: 160px; /* ← Pod mobile headerem */
    width: 100%;
}
}
    
    .logo {
        font-size: 2.2rem;
    }
    
    .main-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .product-image {
        height: 250px;
    }
    
    .search-container {
        margin: 0.5rem 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .search-input {
        width: 180px;
    }
    
    .cart-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .toast-notification {
        right: 10px;
        max-width: calc(100% - 20px);
        top: 160px;
    }
    
    .product-info {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .main-image {
        height: 350px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .size-options {
        justify-content: center;
    }
    
    .product-variants {
        padding: 1rem;
    }
    
    .dropdown-menu-content {
        min-width: 200px;
        left: 0;
        transform: translateX(0) translateY(-15px);
    }
    
    .dropdown-menu-content.show {
        transform: translateX(0) translateY(0);
    }
    
    .nav-text {
        display: none;
    }

@media (max-width: 576px) {
    .logo {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .main-image {
        height: 280px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
    }
    
    .dropdown-toggle-btn {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
    
    .dropdown-item {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .dropdown-menu-content {
        min-width: 180px;
    }
}

/* ===== MOBILE HEADER FIXES ===== */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .brand-text {
        font-size: 1.2rem !important;
    }
    
    .search-toggle {
        padding: 0.5rem;
        color: var(--color-black) !important;
    }
    
    .cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
        background: var(--color-black);
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== MOBILE HEADER FIXES ===== */
@media (max-width: 991px) {
    /* UKRYJ DESKTOP HEADER NA MOBILE */
    .main-header .d-none.d-lg-flex {
        display: none !important;
    }
    
    /* MOBILE HEADER CONTAINER */
    .main-header {
        height: auto !important;
        min-height: 100px; /* Zmniejszone z 120px */
        padding: 0.6rem 0; /* Zmniejszone z 0.8rem */
    }
    
    .mobile-header {
        width: 100%;
    }
    
    /* PIERWSZY RZĄD MOBILE - zmniejszone elementy */
    .mobile-row-1 {
        align-items: center;
        margin: 0;
        min-height: 50px; /* Zmniejszone z 60px */
    }
    
    /* Menu hamburger - mniejszy */
    .mobile-menu-btn {
        padding: 6px 8px; /* Zmniejszone z 8px 10px */
        font-size: 0.9rem; /* Zmniejszone z 1.1rem */
        border: 2px solid var(--color-powder-pink);
        background: transparent;
        color: var(--color-powder-pink);
        border-radius: 6px;
        min-width: 34px; /* Zmniejszone z 40px */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-btn:hover {
        background: var(--color-powder-pink);
        color: white;
    }
    
    /* Logo - zmniejszony o 25% */
    .mobile-header .logo {
        font-size: 1.2rem !important; /* Zmniejszone z 1.6rem (25% mniej) */
        margin: 0;
        line-height: 1.1;
    }
    
    /* Ikony użytkownika - mniejsze */
    .mobile-icons {
        gap: 0.2rem; /* Zmniejszone z 0.3rem */
    }
    
    .login-link-mobile,
    .user-link-mobile,
    .wishlist-link-mobile,
    .cart-link-mobile {
        padding: 6px 8px; /* Zmniejszone z 8px 10px */
        font-size: 0.8rem; /* Zmniejszone z 1rem */
        color: var(--color-powder-pink);
        border: 2px solid var(--color-powder-pink);
        background: transparent;
        border-radius: 6px;
        min-width: 34px; /* Zmniejszone z 40px */
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .login-link-mobile:hover,
    .user-link-mobile:hover,
    .wishlist-link-mobile:hover,
    .cart-link-mobile:hover {
        background: var(--color-powder-pink);
        color: white !important;
        text-decoration: none;
    }
    
    /* DRUGI RZĄD MOBILE - Wyszukiwarka (ZAWSZE WIDOCZNA) */
    .mobile-row-2 {
        margin: 0;
        padding-top: 0.6rem; /* Zmniejszone z 0.8rem */
        border-top: 1px solid rgba(248, 187, 217, 0.2);
    }
    
    .search-container-mobile {
        width: 100%;
        max-width: 240px; /* Zmniejszone z 280px */
    }
    
    .search-container-mobile .search-input-group {
        width: 100%;
        border-radius: 20px; /* Mniejszy border-radius */
    }
    
    .search-container-mobile .search-input {
        width: 100%;
        flex: 1;
        padding: 8px 12px; /* Zmniejszone z 10px 15px */
        font-size: 0.85rem; /* Zmniejszone z 1rem */
    }
    
    .search-container-mobile .search-btn {
        padding: 8px 12px; /* Zmniejszone z 10px 15px */
    }
    
    /* Cart counter dla mobile - mniejszy */
    #cartCounterMobile {
        position: absolute;
        top: -6px; /* Zmniejszone z -8px */
        right: -6px; /* Zmniejszone z -8px */
        background: #E91E63;
        color: white;
        border-radius: 50%;
        width: 16px; /* Zmniejszone z 18px */
        height: 16px; /* Zmniejszone z 18px */
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.6rem; /* Zmniejszone z 0.7rem */
        font-weight: 700;
    }
    
    /* Dropdown menu adjustments */
    .dropdown-menu-content {
        min-width: 160px; /* Zmniejszone z 180px */
        left: 0;
    }
    
    /* Margin adjustments */
    .main-content {
        margin-top: 120px; /* Dostosowane do mniejszego header */
    }
    
    .hero-video-section {
        margin-top: 120px;
    }
    
    .toast-notification {
        right: 10px;
        max-width: calc(100% - 20px);
        top: 120px;
    }
}

/* BARDZO MAŁE EKRANY (portrait) */
@media (max-width: 576px) {
    .main-header {
        min-height: 90px; /* Jeszcze mniejsze */
        padding: 0.5rem 0;
    }
    
    .mobile-header .logo {
        font-size: 1.1rem !important; /* Jeszcze mniejsze logo */
    }
    
    .mobile-menu-btn,
    .login-link-mobile,
    .user-link-mobile,
    .wishlist-link-mobile,
    .cart-link-mobile {
        padding: 5px 7px; /* Jeszcze mniejsze */
        font-size: 0.75rem;
        min-width: 30px;
    }
    
    .search-container-mobile {
        max-width: 200px; /* Jeszcze mniejsza wyszukiwarka */
    }
    
    .search-container-mobile .search-input {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .main-content,
    .hero-video-section {
        margin-top: 110px;
    }
    
    .toast-notification {
        top: 110px;
    }
}

/* LANDSCAPE MODE na małych urządzeniach */
@media (max-width: 926px) and (orientation: landscape) and (max-height: 500px) {
    .main-header {
        min-height: 70px; /* Bardzo małe w landscape */
        padding: 0.3rem 0;
    }
    
    .mobile-header .logo {
        font-size: 1rem !important;
    }
    
    .mobile-row-1 {
        min-height: 35px;
    }
    
    .mobile-row-2 {
        padding-top: 0.4rem;
    }
    
    .mobile-menu-btn,
    .login-link-mobile,
    .user-link-mobile,
    .wishlist-link-mobile,
    .cart-link-mobile {
        padding: 4px 6px;
        font-size: 0.7rem;
        min-width: 28px;
    }
    
    .search-container-mobile {
        max-width: 180px;
    }
    
    .search-container-mobile .search-input {
        padding: 5px 8px;
        font-size: 0.75rem;
    }
    
    .main-content,
    .hero-video-section {
        margin-top: 90px;
    }
}

/* RESPONSIVE ZDJĘCIA */
@media (max-width: 768px) {
    .product-image {
        height: 350px;
    }
    
    .main-image,
    .product-detail-image {
        height: 500px;
        height: auto; /* Automatyczna wysokość */

    }
    
    .product-thumbnail,
    .thumbnail {
        width: 60px;
        height: 90px;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 300px;
    }
    
    .main-image,
    .product-detail-image {
        height: 400px;
        height: auto;

    }
    
    .product-thumbnail,
    .thumbnail {
        width: 50px;
        height: 75px;
    }
}

/* ===== USUWANIE BIAŁEGO TŁA Z PRODUKTÓW ===== */

/* Główny kontener szczegółów produktu */
.product-detail-section {
    background: var(--color-light-powder-pink) !important;
    padding: 3rem 0;
    font-family: 'Georgia', serif;
}

.main-content {
    background: var(--color-light-powder-pink) !important;
    min-height: calc(100vh - 200px);
}

/* Usuń białe tła z wszystkich kontenerów */
.container,
.container-fluid,
.row,
.col,
[class*="col-"],
.product-detail-container,
.product-detail-wrapper,
.product-images-section,
.product-info-section,
.product-gallery,
.thumbnail-gallery {
    background: transparent !important;
}

.product-info {
    background: transparent !important;
    padding: 1.5rem 0;
}

/* Poprawki dla zdjęć produktów */
.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    background-color: transparent;
    border-radius: 8px 8px 0 0;
    display: block;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.02);
}

.thumbnail {
    width: 80px;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    background-color: transparent;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--color-powder-pink);
    transform: scale(1.05);
}