body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}

header {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-selection {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.product-select-header {
    font-family: Montserrat;
    font-size: var(--f_size56);
    font-weight: 700;
    line-height: var(--l_height68);
    text-align: center;
}

.hint-price {
    padding-left: 10px;
    font-size: 12px;
}

.product-option {
    margin: 10px;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.product-option:hover {
    border-color: #00aaff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-option img {
    max-width: 80px;
}

#productDetails {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.product-info {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.product-gallery {
    flex: 1 1 50%;
    text-align: center;
}

.product-gallery img {
    max-width: 100%;
    border-radius: 8px;
}

.product-form {
    flex: 1 1 50%;
    text-align: center;
}

.product-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-form label {
    margin: 10px 0 5px;
}

.product-form select, 
.product-form input[type="file"], 
.product-form textarea, 
.product-form button {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
}

#design {
    padding: 10px;
}

.product-form button {
    background-color: #00aaff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product-form button:hover {
    background-color: #007acc;
}

.font-arial {
    font-family: Arial, sans-serif;
}

.font-times {
    font-family: "Times New Roman", Times, serif;
}

.font-courier {
    font-family: "Courier New", Courier, monospace;
}

.font-georgia {
    font-family: Georgia, serif;
}

.font-verdana {
    font-family: Verdana, Geneva, sans-serif;
}

.font-tahoma {
    font-family: Tahoma, Geneva, sans-serif;
}

.font-trebuchet {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

.font-lucida {
    font-family: "Lucida Console", Monaco, monospace;
}

.font-impact {
    font-family: Impact, Charcoal, sans-serif;
}

.font-comic {
    font-family: "Comic Sans MS", cursive, sans-serif;
}

.order-steps {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.order-steps h2 {
    text-align: center;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-icon {
    flex: 0 0 40px;
    font-size: 24px;
    color: #00aaff;
    margin-right: 20px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 1em;
    color: #666;
}


.hint {
    font-size: 0.9em;
    color: #555;
}

.product-description {
    margin-top: 20px;
}

.faq, .reviews {
    margin-top: 20px;
}

.faq-item, .review-item {
    margin-bottom: 20px;
}

.faq h3, .reviews h3, .product-description h3 {
    margin-bottom: 10px;
}


/*Галерея*/
#product-selection {
    margin: 20px;
}

#productOptions {
    margin-top: 20px;
}

#productGallery {
    margin-top: 40px;
}

#galleryImages .main-image img {
    width: 100%;
    height: auto;
}

#galleryImages .thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#galleryImages .thumbnails img {
    width: 60px;
    height: auto;
    margin: 0 5px;
    cursor: pointer;
}

#galleryImages .thumbnails img:hover {
    border: 2px solid #000;
}

@media (max-width: 768px) {
    .product-info {
        display: block;
    }
    .product-form {
        margin-top: 20px;
    }
    .order-steps {
        padding: 10px;
    }
    
    .order-steps .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }

    .order-steps .step-icon {
        margin-bottom: 5px;
    }

    .order-steps .step-content h3 {
        text-align: center;
    }

    .order-steps .step-content p {
        text-align: center;
    }
    
    .product-option {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 5px;
    }
    
    .product-option img {
        width: 80px;
        height: auto;
    }

    .product-option span {
        text-align: center;
    }

    .product-selection {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px;
    }
    
    .select2-container {
        max-width: 400px;
    }
}

/* Swiper */
.swiper-container {
    width: 100%;
    height: 400px; /* Встановіть потрібну висоту */
    display: flex;
    align-items: center;
}

.swiper-wrapper {
    display: flex;
    align-items: center; /* Центрування слайдів по вертикалі */
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Висота слайда дорівнює висоті контейнера */
}

.swiper-slide img {
    height: 100%; /* Встановіть висоту зображення */
    width: auto; /* Збережіть співвідношення сторін */
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
}

.swiper-pagination-bullet {
    background: #000;
}



/* Стилі для випадаючого списку Select2 */
.select2-container .select2-selection--single {
    height: 38px !important;
    padding: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Додає вирівнювання тексту зліва */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal;
    padding-left: 8px; /* Додає відступ зліва для тексту */
    text-align: left;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ddd !important;
}


/* Стилі для placeholder */
textarea::placeholder {
    color: #d3d3d3; /* Світло сірий колір для placeholder */
}

textarea:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #d3d3d3;
}

textarea::-ms-input-placeholder { /* Microsoft Edge */
    color: #d3d3d3;
}


.tshirt-templates {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.print-templates label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.print-templates label:hover {
    border-color: #007bff;
}

.print-templates input[type="radio"] {
    display: none;
}

.print-templates .checked {
    border: 2px solid #007bff;
}

.print-templates img {
    max-width: 100px;
    margin-bottom: 10px;
}

.print-templates span {
    font-size: 14px;
    text-align: center;
}

.product-price {
    font-size: 28px;
    margin-bottom: 0px;
    line-height: 1.4;
    margin: 0 0 1.5rem
}


.short-description {
    margin-bottom: 1rem !important;
}


.product-title {
    font-family: NeueEinstellung, sans-serif;
    font-size: 1.1875rem;
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 40em) and (max-width:63.9375em) {
    .product-title {
        font-size: 1.1875rem;
        margin-bottom: 1.5rem;
    }
}




