/* ===========================================
   DESKTOP STYLES - NOWOCZESNY DESIGN
   =========================================== */

/* --- PODSTAWOWE USTAWIENIA DESKTOP --- */
@media screen and (min-width: 1024px) {
	/* Kontener główny */
	body {
		padding-top: 80px; /* Wyższy header na desktop */
	}

	/* --- NAGŁÓWEK DESKTOP --- */
	#main-header {
		height: 80px;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(20px);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	}

	.header-content {
		padding: var(--spacing-m) var(--spacing-xxl);
		max-width: 1400px;
	}

	.logo {
		height: 60px;
	}

	#sticky-title {
		font-size: 1.8em;
		font-weight: 600;
	}

	/* --- EKRAN POWITALNY DESKTOP --- */
	.welcome-screen {
		min-height: 95vh;
		padding: 0;
		display: flex;
		align-items: center;
		background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	}

	.screen-content.welcome-hero {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 60px; /* Zmniejszony gap dla węższych ekranów */
		align-items: stretch;
		max-width: 1400px;
		margin: 0 auto;
		padding: 0 var(--spacing-xxl);
		width: 100%;
	}

	.hero-column {
		position: relative;
		display: flex;
		align-items: center; /* Wyśrodkowanie obrazka w pionie */
	}

	.hero-image {
		width: 100%;
		height: 75vh;
		object-fit: cover;
		border-radius: 20px;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
		transition: transform 0.3s ease;
	}

	.hero-image:hover {
		transform: scale(1.02);
	}

	.content-column {
		padding: 0; /* Usunięte dodatkowe padding */
		display: flex;
		flex-direction: column;
		justify-content: space-between; Rozłożenie elementów na całą wysokość
		min-height: 70vh;  Dopasowanie do wysokości obrazka
        align-items: stretch
	}
    .content-column.welcome-content h1 {
       paddsing:100px;
    }

	.promo-info {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		margin: 10px 0;
	}

	.info-box {
		/* Ramka na dole - wyrównana z dołem obrazka */
		flex-shrink: 0;
		padding: 40px;
		border-radius: 20px;
		background: rgba(255, 255, 255, 0.9);
		backdrop-filter: blur(10px);
		box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
		border: 1px solid rgba(255, 255, 255, 0.2);
	}

	.offer-header-text h1 {
		font-size: 4.5em;
		margin-bottom: 20px;
		background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
	}

	.valid-date {
		font-size: 1.2em;
		color: var(--color-text-muted);
		margin-bottom: 20px;
	}

	.promo-info .subtitle {
		font-size: 2.2em;
		margin-bottom: 40px;
		line-height: 1.3;
	}

	/* --- RESPONSIVE DESKTOP - węższe ekrany desktop --- */
	@media screen and (min-width: 1024px) and (max-width: 1439px) {
		.screen-content.welcome-hero {
			gap: 40px; /* Mniejszy gap */
			padding: 0 var(--spacing-xl); /* Mniejszy padding */
		}

		.offer-header-text h1 {
			font-size: 3.5em; /* Mniejszy tytuł */
		}

		.promo-info .subtitle {
			font-size: 1.8em; /* Mniejszy podtytuł */
		}

		.info-box {
			padding: 30px; /* Mniejszy padding w ramce */
		}

		.hero-image {
			height: 60vh; /* Niższy obrazek */
		}

		.content-column {
			min-height: 60vh; /* Dopasowanie do nowej wysokości obrazka */
		}
	}

	/* --- BARDZO WĄSKIE EKRANY DESKTOP (1024-1199px) --- */
	@media screen and (min-width: 1024px) and (max-width: 1199px) {
		.screen-content.welcome-hero {
			gap: 30px; /* Jeszcze mniejszy gap */
			padding: 0 var(--spacing-l); /* Jeszcze mniejszy padding */
		}

		.offer-header-text h1 {
			font-size: 3em; /* Jeszcze mniejszy tytuł */
		}

		.promo-info .subtitle {
			font-size: 1.6em; /* Jeszcze mniejszy podtytuł */
		}

		.info-box {
			padding: 25px; /* Jeszcze mniejszy padding w ramce */
		}

		.hero-image {
			height: 50vh; /* Jeszcze niższy obrazek */
		}

		.content-column {
			min-height: 50vh; /* Dopasowanie do nowej wysokości obrazka */
		}

		.valid-date {
			font-size: 1em; /* Mniejsza data ważności */
		}
	}

	/* --- EKRANY MARKI I SERII DESKTOP --- */
	.brand-screen .screen-content,
	.series-screen .screen-content {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 80px;
		align-items: center;
		max-width: 1400px;
		margin: 0 auto;
		padding: var(--spacing-xxl);
		min-height: 100vh;
		background: var(--color-white);
		border-radius: 0;
		box-shadow: none;
	}

	.brand-screen h2,
	.series-screen h2 {
		font-size: 3.5em;
		grid-column: 1;
		margin-bottom: 30px;
	}

	.brand-screen img,
	.series-screen img {
		width: 100%;
		height: 60vh;
		grid-column: 2;
		grid-row: 1 / 3;
		border-radius: 20px;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
		object-fit: cover;
		object-position: center;
	}

	.brand-details,
	.series-details {
		grid-column: 1;
		font-size: 1.2em;
		line-height: 1.8;
		align-self: start;
		margin-top: 20px;
	}

	/* Usunięcie rozwijania na desktop */
	.expandable-content .content-preview {
		display: none !important;
	}

	.expandable-content .content-full {
		display: block !important;
	}

	.read-more-btn,
	.read-less-btn {
		display: none !important;
	}

	/* --- EKRANY PRODUKTÓW DESKTOP --- */
	.product-screen .screen-content {
		max-width: 1600px;
		margin: 0 auto;
		padding: 40px;
		min-height: auto;
		background: var(--color-white);
		border-radius: 0;
		box-shadow: none;
	}

	.product-header {
		width: 100%;
		height: 500px;
		border-radius: 20px;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
		margin-bottom: 60px;
		object-fit: contain;
		object-position: center;
		padding: 40px 0;
	}

	.product-title {
		text-align: center;
		margin-bottom: 30px;
	}

	.product-title h2 {
		font-size: 4em;
		margin-bottom: 15px;
	}

	.product-title .series {
		font-size: 1.5em;
		margin-bottom: 0;
	}

	/* --- ZAKŁADKI DESKTOP --- */
	.tabs-container {
		margin-top: 40px;
	}

	.tabs-nav {
		display: flex;
		justify-content: center;
		gap: 0;
		margin-bottom: 40px;
		background: var(--color-background);
		border-radius: 15px;
		padding: 8px;
		box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	}

	.tab-link {
		padding: 20px 30px;
		font-size: 1.1em;
		border-radius: 10px;
		background: transparent;
		border: none;
		transition: all 0.3s ease;
		position: relative;
		overflow: hidden;
	}

	.tab-link::before {
		content: '';
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
		transition: left 0.5s;
	}

	.tab-link:hover::before {
		left: 100%;
	}

	.tab-link.active {
		background: var(--color-white);
		color: var(--color-primary);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
		transform: translateY(-2px);
	}

	.tab-content {
		padding: 40px;
		background: var(--color-white);
		border-radius: 20px;
		box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
		border: 1px solid var(--color-border);
	}

	/* Dwukolumnowy layout tylko dla opisu produktu */
	.tab-content .product-description {
		columns: 2;
		column-gap: 40px;
		column-rule: 1px solid var(--color-border);
		text-align: justify;
	}

	/* --- LISTY I SIATKI DESKTOP --- */
	.spec-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		border-radius: 15px;
		overflow: hidden;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
		border: 1px solid var(--color-border);
	}

	.spec-list li {
		padding: 20px 25px;
		border-bottom: 1px solid var(--color-border);
		border-right: 1px solid var(--color-border);
		transition: all 0.3s ease;
		display: flex;
		justify-content: space-between;
		background-color: var(--color-white);
	}

	/* Usunięcie border z ostatniego rzędu */
	.spec-list li:last-child,
	.spec-list li:nth-last-child(2) {
		border-bottom: none;
	}

	/* Usunięcie border z prawej kolumny */
	.spec-list li:nth-child(even) {
		border-right: none;
	}

	/* Delikatne alternating rows dla czytelności */
	.spec-list li:nth-child(odd) {
		background-color: rgba(var(--color-primary-rgb), 0.02);
	}

	/* Hover effect - jednolity dla wszystkich */
	.spec-list li:hover {
		background-color: rgba(var(--color-secondary-rgb), 0.08);
		transform: translateX(3px);
	}

	/* Jednolite style dla nazw i wartości */
	.spec-list li span:first-child {
		font-weight: 600;
		color: var(--color-text);
	}

	.spec-list li span:last-child {
		font-weight: 500;
		color: var(--color-text);
	}

	.jet-list,
	.accessory-list,
	.option-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
		gap: 30px;
	}

	.jet-list li,
	.accessory-list li,
	.option-list li {
		padding: 30px;
		border-radius: 15px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
		transition: all 0.3s ease;
		border: 1px solid var(--color-border);
	}

	.jet-list li:hover,
	.accessory-list li:hover,
	.option-list li:hover {
		transform: translateY(-5px);
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
	}

	.jet-list img,
	.accessory-list img,
	.option-list img {
		width: 100px;
		height: 100px;
		border-radius: 12px;
	}

	/* --- SIATKA KOLORÓW DESKTOP --- */
	.color-grid {
		grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
		gap: 25px;
		margin: 30px 0;
	}

	.color-item {
		transition: all 0.3s ease;
		cursor: pointer;
	}

	.color-item:hover {
		transform: translateY(-5px);
	}

	.color-item img {
		border-radius: 12px;
		transition: all 0.3s ease;
		box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	}

	.color-item:hover img {
		box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
	}

	.color-item.selected img {
		border-color: var(--color-primary);
		box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.3);
	}

	/* --- NOWA GALERIA PRODUKTU - DESKTOP --- */
	.product-gallery {
		margin-bottom: 30px;
		max-width: 900px;
		margin-left: auto;
		margin-right: auto;
	}

	.main-gallery-image {
		margin-bottom: 20px;
	}

	.main-gallery-image img {
		width: 100%;
		height: 500px;
		border-radius: 20px;
		box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
		transition: transform 0.3s ease;
		object-fit: cover;
		object-position: center;
	}

	.main-gallery-image img:hover {
		transform: scale(1.02);
	}

	.gallery-thumbnails {
		display: flex;
		gap: 15px;
		justify-content: center;
		flex-wrap: wrap;
	}

	.thumbnail-item {
		width: 100px;
		height: 100px;
		border-radius: 12px;
		overflow: hidden;
		cursor: pointer;
		border: 3px solid transparent;
		transition: all 0.3s ease;
		position: relative;
	}

	.thumbnail-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.thumbnail-item.active {
		border-color: var(--color-primary);
		transform: scale(1.1);
		box-shadow: 0 6px 20px rgba(0, 95, 135, 0.3);
	}

	.thumbnail-item:hover {
		border-color: var(--color-secondary);
		transform: scale(1.1);
		box-shadow: 0 6px 20px rgba(0, 169, 224, 0.3);
	}

	.video-thumbnail {
		position: relative;
	}

	.video-overlay {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		background: rgba(0, 0, 0, 0.8);
		color: white;
		width: 45px;
		height: 45px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 20px;
		transition: all 0.3s ease;
	}

	.video-thumbnail:hover .video-overlay {
		background: var(--color-secondary);
		transform: translate(-50%, -50%) scale(1.1);
	}

	/* Style dla iframe video w galerii - DESKTOP */
	.video-iframe {
		width: 100%;
		height: 400px;
		border: none;
		border-radius: 20px;
		box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
		aspect-ratio: 16/9; /* Naprawia problem z pionowym układem filmu */
		object-fit: cover;
	}

	/* Lightbox - DESKTOP */
	.lightbox-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.9);
		z-index: 10000;
		justify-content: center;
		align-items: center;
	}

	.lightbox-content {
		position: relative;
		max-width: 90%;
		max-height: 90%;
	}

	.lightbox-content img {
		width: 100%;
		height: 90vh;
		object-fit: contain;
		border-radius: 12px;
		background: #000;
	}

	.lightbox-close {
		position: absolute;
		top: -50px;
		right: 0;
		background: none;
		border: none;
		color: white;
		font-size: 40px;
		cursor: pointer;
		padding: 10px;
		transition: all 0.3s ease;
	}

	.lightbox-close:hover {
		color: var(--color-secondary);
		transform: scale(1.1);
	}

	/* --- STARA GALERIA W ZAKŁADKACH - DESKTOP --- */
	.gallery-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 30px;
		margin-top: 40px;
	}

	.gallery-item {
		border-radius: 15px;
		overflow: hidden;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
		transition: all 0.3s ease;
	}

	.gallery-item:hover {
		transform: translateY(-8px) scale(1.02);
		box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
	}

	.gallery-item img {
		height: 200px;
		transition: all 0.3s ease;
	}

	.gallery-item:hover img {
		transform: scale(1.1);
	}

	.video-item .video-container {
		height: 200px;
	}

	/* --- CENNIK DESKTOP --- */
	.price-amount {
		font-size: 3em;
		text-align: center;
		margin: 40px 0;
		padding: 30px;
		background: linear-gradient(135deg, var(--color-background), var(--color-white));
		border-radius: 20px;
		border: 2px solid var(--color-border);
	}

	/* Nowe style dla lepszej prezentacji cen - DESKTOP */
	.original-price-section {
		margin-bottom: 40px;
		text-align: center;
	}

	.price-label {
		font-size: 1.4em;
		font-weight: bold;
		color: var(--color-text-muted);
		margin-bottom: 15px;
		text-transform: uppercase;
		letter-spacing: 2px;
	}

	.price-amount.original {
		font-size: 3.5em;
		font-weight: bold;
		color: #999;
		text-decoration: line-through;
		text-decoration-thickness: 4px;
		text-decoration-color: #ff6b6b;
		background: linear-gradient(135deg, #f8f9fa, #e9ecef);
		border: 2px solid #ddd;
	}

	.discount-info {
		display: flex;
		flex-direction: column;
		gap: 8px;
		margin-top: 20px;
		text-align: center;
	}

	.discount-amount {
		font-size: 1.6em;
		font-weight: bold;
		color: #28a745;
	}

	.discount-percentage {
		font-size: 1.3em;
		color: var(--color-secondary);
		font-weight: bold;
	}

	.includes-list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 15px;
		margin-top: 30px;
	}

	.includes-list li {
		padding: 15px 20px;
		background: var(--color-background);
		border-radius: 10px;
		transition: all 0.3s ease;
	}

	.includes-list li:hover {
		background: rgba(var(--color-primary-rgb), 0.05);
		transform: translateX(5px);
	}

	/* --- AKCESORIA I OPCJE DESKTOP --- */
	.accessories-section,
	.options-section {
		padding: 80px var(--spacing-xxl);
		max-width: 1600px;
		margin: 0 auto;
	}

	.accessories-section h2,
	.options-section h2 {
		font-size: 3.5em;
		text-align: center;
		margin-bottom: 60px;
		background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
	}

	.accessories-container h3 {
		font-size: 2em;
		margin: 60px 0 30px 0;
		color: var(--color-primary);
		border-bottom: 3px solid var(--color-secondary);
		padding-bottom: 10px;
		display: inline-block;
	}

	/* --- ANIMACJE I EFEKTY --- */
	.screen {
		animation: slideInUp 0.8s ease-out;
	}

	@keyframes slideInUp {
		from {
			opacity: 0;
			transform: translateY(50px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	/* Efekt paralaksy dla obrazów */
	.hero-image,
	.brand-screen img,
	.series-screen img,
	.product-header {
		position: relative;
		overflow: hidden;
	}

	.hero-image::before,
	.brand-screen img::before,
	.series-screen img::before,
	.product-header::before {
		content: '';
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
		transition: left 0.6s;
		z-index: 1;
	}

	.hero-image:hover::before,
	.brand-screen img:hover::before,
	.series-screen img:hover::before,
	.product-header:hover::before {
		left: 100%;
	}

	/* --- FOOTER DESKTOP --- */
	footer {
		margin-top: 80px;
		padding: 60px 0;
		background: linear-gradient(135deg, var(--color-background), var(--color-white));
	}

	.footer-content {
		max-width: 1400px;
		padding: 0 var(--spacing-xxl);
	}

	.footer-main {
		flex: 2;
	}

	.footer-partners {
		flex: 1;
		align-items: flex-end;
	}

	.partners-logos {
		display: flex;
		gap: 30px;
		margin-bottom: 30px;
	}

	.partner-logo {
		max-height: 50px;
		max-width: 180px;
		width: auto;
		height: auto;
		object-fit: contain;
		transition: all 0.3s ease;
	}

	.partner-logo:hover {
		transform: scale(1.1);
	}

	.social-icons {
		gap: 20px;
	}

	.social-icons img {
		width: 40px;
		height: 40px;
		transition: all 0.3s ease;
	}

	.social-icons img:hover {
		transform: scale(1.2) rotate(5deg);
	}

	.footer-legal {
		max-width: 1400px;
		padding: 40px var(--spacing-xxl);
		font-size: 0.9em;
	}

	/* ===========================================
	   KOLOROWE PRZYCISKI ZAKŁADEK - DESKTOP
	   =========================================== */

	/* Desktop rozszerza mobile styles - tylko border-radius */
	.tab-link[data-tab="info"],
	.tab-link[data-tab="specs"],
	.tab-link[data-tab="jets"],
	.tab-link[data-tab="colors"],
	.tab-link[data-tab="3d"],
	.tab-link[data-tab="gallery"] {
		border-radius: 10px;
	}

	.tab-link[data-tab="price"] {
		border-radius: 10px;
	}

	/* Desktop rozszerza mobile hover effects - tylko transform i box-shadow */
	.tab-link[data-tab="info"]:hover:not(.active),
	.tab-link[data-tab="specs"]:hover:not(.active),
	.tab-link[data-tab="jets"]:hover:not(.active),
	.tab-link[data-tab="colors"]:hover:not(.active),
	.tab-link[data-tab="3d"]:hover:not(.active),
	.tab-link[data-tab="gallery"]:hover:not(.active) {
		transform: translateY(-3px) scale(1.02);
	}

	.tab-link[data-tab="price"]:hover:not(.active) {
		transform: scale(1.1) translateY(-3px);
	}

	/* Desktop rozszerza mobile active effects */
	.tab-link.active[data-tab="info"],
	.tab-link.active[data-tab="specs"],
	.tab-link.active[data-tab="jets"],
	.tab-link.active[data-tab="colors"],
	.tab-link.active[data-tab="3d"],
	.tab-link.active[data-tab="gallery"] {
		transform: translateY(-4px) scale(1.05);
	}

	.tab-link.active[data-tab="price"] {
		transform: scale(1.15) translateY(-4px);
	}
}

/* --- BARDZO DUŻE EKRANY (4K+) --- */
@media screen and (min-width: 1920px) {
	.header-content,
	.screen-content.welcome-hero,
	.brand-screen .screen-content,
	.series-screen .screen-content,
	.product-screen .screen-content,
	.accessories-section,
	.options-section,
	.footer-content,
	.footer-legal {
		max-width: 1800px;
	}

	.offer-header-text h1 {
		font-size: 5.5em;
	}

	.product-title h2 {
		font-size: 5em;
	}

	.brand-screen h2,
	.series-screen h2,
	.accessories-section h2,
	.options-section h2 {
		font-size: 4.5em;
	}
}