/* 1. CZ: Velmi široké obrazovky / EN: Ultra wide screens */
@media (max-width: 1658px) {
    .text-info h2 {
        font-size: 40px;
        margin-bottom: 40px;

    }

    .text-info p {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .logo-header {
        margin-top: -16px;
        width: 96px;
        height: 96px;
    }

    .lg-h1 {
        font-size: 48px;
    }

    .lg-p {
        font-size: 24px;
    }
}

/* 2. CZ: Široké obrazovky / EN: Wide screens */
@media (max-width: 1568px) {
    .nav-side a {
        margin-top: -4px;
        font-size: 20px;
    }

    .logo-header {
        margin-top: -32px;
        width: 64px;
        height: 64px;
    }

    footer .inner {
        max-width: 1280px;
    }

    .logo-wrapper {
        width: 96px;
        height: 96px;
    }

    .logo-footer {
        width: 96px;
        height: 96px;
    }

    .icons-left, .icons-right {
        gap: 80px;
    }

    .icons-left { left: -224px; }
    .icons-right { right: -224px; }

    .gallery-prev { left: 16px; }
    .gallery-next { right: 16px; }

    .reg-auth-forgot-container {
        padding: 32px 24px;
        margin-top: 32px;
    }

    .switch-forms {
        gap: 8px;
    }

    .switch-forms input {
        padding: 10px 10px 10px 48px;
    }

    .forgot-reset-forms input {
        padding: 10px 10px 10px 48px;
    }
}

/* 3. CZ: Velké obrazovky / EN: Large laptops */
@media (max-width: 1440px) {
    .nav-side a {
        margin-top: -6px;
        font-size: 18px;
    }

    .logo-header {
        margin-top: -32px;
        width: 80px;
        height: 80px;
    }

    footer .inner {
        max-width: 1024px;
    }

    .icons-left, .icons-right {
        gap: 64px;
    }

    .carousel-title {
        width: 768px;
    }

    .icons-left { left: -192px; }
    .icons-right { right: -192px; }

    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }

    .spec-title {
        font-size: 24px;
    }

    .spec-value {
        font-size: 32px;
    }

    .text-info h2 {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .text-info p {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .rotate-hint {
        bottom: 4px;
    }

    .lg-h1 {
        font-size: 48px;
    }

    .lg-p {
        font-size: 24px;
    }

    .profile-tab {
        padding: 10px 20px;
    }

}

/* 4. CZ: Menší desktop / EN: Small desktops */
@media (max-width: 1280px) {

    .logo-header {
        margin-top: -40px;
        width: 64px;
        height: 64px;
    }

    .header-icons {
        top: 24px;
        right: 24px;
    }

    .service-icons img {
        width: 24px;
        height: 24px;
    }

    .lang-switch {
        width: 40px;
        height: 20px;
    }

    .lang-slider:before {
        height: 20px;
        width: 20px;
    }

    .lang-switch input:checked + .lang-slider:before {
        transform: translateX(20px);
    }

    .controller-icon {
        width: 32px;
        height: 32px;
    }

    .controller-icon img {
        width: 20px;
        height: 20px;
    }

    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }

    .order-info-container {
        width: 70%;
    }

    .order-card {
        width: 90%;
    }

    .text-info h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

}

/* 5. CZ: Tablety horizontálně / EN: Tablets landscape */
@media (max-width: 1024px) {

    .logo-header {
        margin-top: -64px;
    }

    .nav-side a {
        margin-top: -10px;
        font-size: 16px;
    }

    footer .inner {
        max-width: 768px;
    }

    .footer-left a, .footer-right a {
        font-size: 24px;
    }

    .icons-left, .icons-right {
        gap: 32px;
        opacity: 1;
    }

    .carousel-title {
        width: 512px;
    }

    .icons-left { left: -128px; }
    .icons-right { right: -128px; }

    .gallery-prev { left: 8px; }
    .gallery-next { right: 8px; }

    .gallery-prev, .gallery-next {
        font-size: 32px;
    }

    .spec-title {
        font-size: 20px;
    }

    .spec-value {
        font-size: 24px;
    }

    .text-info h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .text-info p {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .order-buttons {
        width: 70%;
    }

    .option-order-title {
        font-size: 16px;
    }

    .option-order-price {
        font-size: 18px;
    }

    .order-total-price {
        font-size: 20px;
    }

    .profile-tab {
        padding: 8px 16px;
    }

    .profile-tabs {
        gap: 4px;
    }
}

/* 6. CZ: Tablety vertikálně / EN: Tablets portrait */
@media (max-width: 768px) {

    .nav-side a {
        margin-top: -12px;
        font-size: 14px;
    }

    .logo-header {
        margin-top: -72px;
        width: 48px;
        height: 48px;
    }

    .footer-left a, .footer-right a {
        font-size: 20px;
    }

    .icons-left, .icons-right {
        gap: 48px;
    }

    .carousel-title {
        width: 512px;
    }

    .icons-left { left: -128px; }
    .icons-right { right: -128px; }

    .gallery-prev, .gallery-next {
        font-size: 24px;
    }

    .lang-switch {
        width: 32px;
        height: 16px;
    }

    .lang-slider:before {
        height: 16px;
        width: 16px;
    }

    .lang-switch input:checked + .lang-slider:before {
        transform: translateX(16px);
    }

    .controller-icon {
        width: 24px;
        height: 24px;
    }

    .controller-icon img {
        width: 16px;
        height: 16px;
    }

    .order-steps {
        width: 80%;
    }

    .threeD-card-container {
        flex-direction: column;
        height: 300vh;
        justify-content: center;
    }

    .threeD-card-container::before {
        height: 300vh;
    }

    .threeD-card {
        width: 80%;
        height: 100%;
        margin-bottom: 128px;
    }

    .scroll-indicators {
        display: none;
    }

    .cards-section {
        flex-direction: column;
        height: 300vh;
    }

    .order-status-select {
        padding: 2px 4px;
    }

    .config-panel {
        width: 384px;
    }

    .option-price {
        font-size: 12px;
    }

    .option-text {
        font-size: 16px;
    }

    .color-option {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .panel-model-card {
        width: 96px;
        height: 96px;
        border-radius: 12px;
    }

    .panel-model-card::after {
        width: 96px;
        height: 96px;
    }

    .panel-model-name {
        font-size: 18px;
    }

    .panel-button {
        font-size: 18px;
        padding: 12px 24px;
    }

    .text-info {
        width: 50%;
        padding: 0 24px 0 24px;
    }

    .text-info h2 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .text-info p {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .info-image {
        width: 50%;
    }

    .info-block {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .model-overlay {
        margin-top: 32px;
        flex-direction: column;
        height: 90%;
    }

    .card-of-model {
        width: 80%;
        height: 30%;
    }

    .card-of-model:hover {
        transform: scale(1.1);
    }

}


/* 7. CZ: Malé obrazovky / EN: Small screens */
@media (max-width: 480px) {

    .nav-side a {
        display: none;
    }

    .nav-side img {
        width: 20px;
        height: 20px;
    }

    .logo-header {
        margin-top: -80px;
        width: 40px;
        height: 40px;
    }

    .footer-left a, .footer-right a {
        font-size: 16px;
    }

    .icons-left, .icons-right {
        gap: 32px;
    }

    .logo-wrapper {
        width: 64px;
        height: 64px;
    }

    .logo-footer {
        width: 64px;
        height: 64px;
    }

    .carousel-title {
        width: 256px;
    }

    .icons-left { left: -80px; }
    .icons-right { right: -80px; }

    .gallery-prev, .gallery-next {
        font-size: 24px;
    }

    .icons-left a img, .icons-right a img {
        width: 24px;
        height: 24px;
    }

    .lang-switch-fixed {
        top: 16px;
        left: 16px;
        flex-direction: column;
    }

    .lang-text {
        font-size: 14px;
    }

    .lang-switch {
        width: 12px;
        height: 24px;
    }

    .lang-slider:before {
        height: 12px;
        width: 12px;
    }

    .lang-switch input:checked + .lang-slider:before {
        transform: translateY(12px);
    }

    .gallery-prev { left: 2px; }
    .gallery-next { right: 2px; }

    .controller-icon {
        width: 18px;
        height: 18px;
    }

    .controller-icon img {
        width: 12px;
        height: 12px;
    }

    .spec-title {
        font-size: 16px;
    }

    .spec-value {
        font-size: 20px;
    }

    .text-info h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .text-info p {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .profile-orders-table th, .profile-orders-table td {
        padding: 6px 8px;
        font-size: 12px;
    }

    .profile-orders-table {
        width: 100%;
    }

    .profile-tab-content {
        width: 90%;
    }

    .order-table {
        width: 100%;
    }

    .order-page-wrapper {
        padding: 40px 0;
    }

    .order-card {
        width: 95%;
        padding: 32px;
    }

    .order-btn {
        padding: 8px 16px;
    }

    .profile-tab {
        padding: 4px 8px;
        font-size: 12px;
    }

    .order-steps {
        font-size: 12px;
    }

    .option-order-title {
        font-size: 12px;
    }

    .option-order-price {
        font-size: 16px;
    }

    .order-total-price {
        font-size: 20px;
    }

    .order-buttons {
        width: 90%;
    }

    .order-buttons button {
        padding: 8px 24px;
    }

    .order-info-container {
        margin-top: 64px;
        width: 90%;
    }

    .info-block {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .info-order-options, .info-order-colors, .info-address {
        width: 80%;
    }

    .config-panel {
        width: 100%;
    }

    header svg {
        width: 140%;
    }

    .nav-wrapper {
        width: 70%;
    }

    .nav-side img {
        display: flex;
    }

    .hint-text {
        font-size: 20px;
    }

    .hint-arrow {
        font-size: 20px;
    }

    .pagination button {
        padding: 6px 12px;
    }
}

/* 8. CZ: Velmi Malé obrazovky / EN: Ultra Small screens */
@media (max-width: 360px) {

    header svg {
        width: 160%;
    }

    .nav-wrapper {
        width: 80%;
    }

    .spec-title {
        font-size: 14px;
    }

    .spec-value {
        font-size: 18px;
    }

    .text-info h2 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .text-info p {
        font-size: 8px;
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .logo-header {
        margin-top: -88px;
    }

    .footer-left a, .footer-right a {
        font-size: 14px;
    }

    .icons-left, .icons-right {
        gap: 16px;
    }

    .icons-left { left: -48px; }
    .icons-right { right: -48px; }

    .icons-left a img,
    .icons-right a img {
        width: 16px;
        height: 16px;
    }

    .logo-wrapper {
        width: 48px;
        height: 48px;
    }

    .logo-footer {
        width: 48px;
        height: 48px;
    }

    .nav-side img {
        width: 16px;
        height: 16px;
    }

    .lg-h1 {
        font-size: 24px;
    }

    .lg-p {
        font-size: 18px;
    }

    .switch-forms input {
        font-size: 12px;
    }

    .profile-tab {
        padding: 4px 4px;
        font-size: 10px;
    }

    .profile-orders-table th, .profile-orders-table td {
        padding: 2px 4px;
        font-size: 10px;
    }
} 
