/* Product Page Styles */

.product-page {
    background-color: #F1F2FF;
}

.product-page .header-top-logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.product-page .header-top-logo a {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2D37EE;
    text-decoration: none;
    line-height: 1.2;
}

.product-page .logo-subtitle {
    font-size: 0.65rem;
    color: #666;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-main .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.product-page .breadcrumbs {
    margin-bottom: 2rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    font-size: 1rem !important;
}

.product-page .breadcrumb-link,
.product-page .breadcrumb-link:link,
.product-page .breadcrumb-link:visited,
.product-page .breadcrumb-link:hover,
.product-page .breadcrumb-link:focus,
.product-page .breadcrumb-link:active {
    text-decoration: auto;
    color: #999 !important;
}

.product-page .breadcrumb-link:hover {
    color: #2D37EE !important;
}

.product-page .breadcrumb-current,
.product-page span.breadcrumb-current {
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
}

.product-page .breadcrumb-current a,
.product-page .breadcrumb-current a:link,
.product-page .breadcrumb-current a:visited,
.product-page .breadcrumb-current a:hover,
.product-page .breadcrumb-current a:focus,
.product-page .breadcrumb-current a:active {
    color: #999 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.product-main {
    padding: 2.5rem 0 4rem;
    background-color: #F1F2FF;
}

.product-container {
    display: grid;
    grid-template-columns: 100px 1fr 601px;
    gap: 1.5rem 2rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Без изображений — только блок с информацией на всю ширину */
.product-container--no-images {
    grid-template-columns: 1fr;
}

/* Left Column - Thumbnails */
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.thumbnail-item {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-color: #f8f8f8;
    flex-shrink: 0;
}

.thumbnail-item:hover {
    border-color: #2D37EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.thumbnail-item.active {
    border-color: #2D37EE;
    border-width: 3px;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.08);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Center Column - Main Image */
.product-image-main {
    width: 100%;
    max-width: 600px;
    position: static;
    align-self: start;
}

.main-image-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.image-label {
    display: none;
}

/* Right Column - Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
    align-self: start;
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
}

/* Price */
.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.8px;
}

/* Title */
.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* Article */
.product-article {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Description */
.product-description {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Short Description */
.product-short-description {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
    margin: 0.75rem 0;
}

/* Product Features */
.product-features {
    margin-top: 0.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.features-list li {
    list-style: disc;
    list-style-position: outside;
    font-size: 0.875rem;
    color: #333;
    line-height: 1.65;
    padding-left: 1rem;
    margin-left: 1rem;
}


/* Product Options */
.product-option-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

.option-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.2px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.color-option {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-option.active {
    border-color: #2D37EE;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12), 0 4px 12px rgba(0, 102, 204, 0.25);
}

/* Size Options */
.product-info .size-options {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.size-option {
    min-width: 56px;
    height: 50px;
    padding: 0.625rem 1rem;
    background-color: #F1F2FF;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.size-option:hover {
    border-color: #2D37EE;
    color: #2D37EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.15);
}

.size-option.active {
    background-color: #2D37EE;
    color: #fff;
    border-color: #2D37EE;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
    transform: translateY(-2px);
}

.size-option:not(.active):hover {
    background-color: #e8e9ff;
}

.size-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Additional Options */
.additional-options-group {
    display: flex;
    flex-direction: row;
    gap: 0.875rem;
    align-items: stretch;
}

.additional-option-wrapper {
    position: relative;
    flex: 1;
}

.additional-option-btn {
    flex: 1;
    padding: 1rem 1.25rem;
    background-color: #F1F2FF;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 100%;
}

.additional-option-btn:hover {
    border-color: #2D37EE;
    color: #2D37EE;
    background-color: #e8e9ff;
    transform: translateX(2px);
}

.additional-option-btn.active {
    border-color: #2D37EE;
    background-color: #e8e9ff;
}

.additional-option-btn svg {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: #888;
}

.additional-option-btn:hover svg,
.additional-option-btn.active svg {
    color: #2D37EE;
}

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

.additional-option-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.additional-option-dropdown.active {
    display: block;
}

.additional-option-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.additional-option-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.9375rem;
    color: #333;
}

.additional-option-item:hover {
    background-color: #F1F2FF;
}

.additional-option-item.selected {
    background-color: #E8E9FF;
    color: #2D37EE;
}

/* Поле для ввода текста печати на форме */
.print-text-wrapper {
    flex: 1;
}

.print-text-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #F1F2FF;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.print-text-input::placeholder {
    color: #999;
    font-weight: 400;
}

.print-text-input:focus {
    outline: none;
    border-color: #2D37EE;
    background-color: #e8e9ff;
    color: #2D37EE;
}

.print-text-input:hover {
    border-color: #2D37EE;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background-color: #2D37EE;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    letter-spacing: 0.2px;
}

.btn-add-to-cart:hover {
    background-color: #2D37EE;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.btn-add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-container {
        grid-template-columns: 90px 1fr 420px;
        gap: 1.25rem 1.75rem;
    }

    .thumbnail-item {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 80px 1fr 380px;
        gap: 1rem 1.5rem;
    }

    .product-thumbnails {
        gap: 0.875rem;
    }

    .thumbnail-item {
        width: 80px;
        height: 80px;
    }

    .product-image-main {
        position: static;
    }

    .product-info {
        top: 90px;
        gap: 1.75rem;
    }

    .product-price {
        font-size: 2.25rem;
    }

    .product-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .product-main {
        padding: 1.5rem 0 2.5rem;
    }

    .product-page .breadcrumbs {
        margin-bottom: 2rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        font-size: 1rem !important;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.875rem;
        padding: 0.5rem 0 1.25rem;
        order: 2;
        -webkit-overflow-scrolling: touch;
    }

    .product-thumbnails::-webkit-scrollbar {
        height: 4px;
    }

    .product-thumbnails::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 2px;
    }

    .thumbnail-item {
        width: 75px;
        height: 75px;
        flex-shrink: 0;
    }

    .product-image-main {
        max-width: 100%;
        position: static;
        order: 1;
    }

    .main-image-placeholder {
        aspect-ratio: 2/3;
        border-radius: 12px;
    }

    .product-info {
        position: static;
        gap: 1.75rem;
        order: 3;
    }

    .product-price {
        font-size: 2rem;
    }

    .product-title {
        font-size: 1.625rem;
    }

    .product-option-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
    }
    
    .option-label {
        margin-bottom: 0.5rem;
    }

    .color-options {
        gap: 0.875rem;
    }

    .color-option {
        width: 42px;
        height: 42px;
    }

    .size-options {
        gap: 0.625rem;
    }

    .size-option {
        min-width: 52px;
        height: 46px;
        font-size: 0.875rem;
        padding: 0.5rem 0.875rem;
    }

    .btn-add-to-cart {
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
    }
}


.product-page {
    background-color: #F1F2FF;
}

.product-page .header-top-logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.product-page .header-top-logo a {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2D37EE;
    text-decoration: none;
    line-height: 1.2;
}

.product-page .logo-subtitle {
    font-size: 0.65rem;
    color: #666;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-main .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.product-page .breadcrumbs {
    margin-bottom: 2rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    font-size: 1rem !important;
}

.product-page .breadcrumb-link,
.product-page .breadcrumb-link:link,
.product-page .breadcrumb-link:visited,
.product-page .breadcrumb-link:hover,
.product-page .breadcrumb-link:focus,
.product-page .breadcrumb-link:active {
    text-decoration: auto;
    color: #999 !important;
}

.product-page .breadcrumb-link:hover {
    color: #2D37EE !important;
}

.product-page .breadcrumb-current,
.product-page span.breadcrumb-current {
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
}

.product-page .breadcrumb-current a,
.product-page .breadcrumb-current a:link,
.product-page .breadcrumb-current a:visited,
.product-page .breadcrumb-current a:hover,
.product-page .breadcrumb-current a:focus,
.product-page .breadcrumb-current a:active {
    color: #999 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.product-main {
    padding: 2.5rem 0 4rem;
    background-color: #F1F2FF;
}

.product-container {
    display: grid;
    grid-template-columns: 100px 1fr 601px;
    gap: 1.5rem 2rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Без изображений — только блок с информацией на всю ширину */
.product-container--no-images {
    grid-template-columns: 1fr;
}

/* Left Column - Thumbnails */
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.thumbnail-item {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-color: #f8f8f8;
    flex-shrink: 0;
}

.thumbnail-item:hover {
    border-color: #2D37EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.thumbnail-item.active {
    border-color: #2D37EE;
    border-width: 3px;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.08);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Center Column - Main Image */
.product-image-main {
    width: 100%;
    max-width: 600px;
    position: static;
    align-self: start;
}

.main-image-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.image-label {
    display: none;
}

/* Right Column - Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 100px;
    align-self: start;
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
}

/* Price */
.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.8px;
}

/* Title */
.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

/* Article */
.product-article {
    font-size: 0.875rem;
    color: #666;
    margin: 0.5rem 0 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Description */
.product-description {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Short Description */
.product-short-description {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.7;
    margin: 0.75rem 0;
}

/* Product Features */
.product-features {
    margin-top: 0.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.features-list li {
    list-style: disc;
    list-style-position: outside;
    font-size: 0.875rem;
    color: #333;
    line-height: 1.65;
    padding-left: 1rem;
    margin-left: 1rem;
}


/* Product Options */
.product-option-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
}

.option-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.2px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.color-option {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-option.active {
    border-color: #2D37EE;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12), 0 4px 12px rgba(0, 102, 204, 0.25);
}

/* Size Options */
.product-info .size-options {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.size-option {
    min-width: 56px;
    height: 50px;
    padding: 0.625rem 1rem;
    background-color: #F1F2FF;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.size-option:hover {
    border-color: #2D37EE;
    color: #2D37EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.15);
}

.size-option.active {
    background-color: #2D37EE;
    color: #fff;
    border-color: #2D37EE;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
    transform: translateY(-2px);
}

.size-option:not(.active):hover {
    background-color: #e8e9ff;
}

.size-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Additional Options */
.additional-options-group {
    display: flex;
    flex-direction: row;
    gap: 0.875rem;
    align-items: stretch;
}

.additional-option-wrapper {
    position: relative;
    flex: 1;
}

.additional-option-btn {
    flex: 1;
    padding: 1rem 1.25rem;
    background-color: #F1F2FF;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 100%;
}

.additional-option-btn:hover {
    border-color: #2D37EE;
    color: #2D37EE;
    background-color: #e8e9ff;
    transform: translateX(2px);
}

.additional-option-btn.active {
    border-color: #2D37EE;
    background-color: #e8e9ff;
}

.additional-option-btn svg {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    color: #888;
}

.additional-option-btn:hover svg,
.additional-option-btn.active svg {
    color: #2D37EE;
}

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

.additional-option-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.additional-option-dropdown.active {
    display: block;
}

.additional-option-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.additional-option-item {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.9375rem;
    color: #333;
}

.additional-option-item:hover {
    background-color: #F1F2FF;
}

.additional-option-item.selected {
    background-color: #E8E9FF;
    color: #2D37EE;
}

/* Поле для ввода текста печати на форме */
.print-text-wrapper {
    flex: 1;
}

.print-text-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #F1F2FF;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.print-text-input::placeholder {
    color: #999;
    font-weight: 400;
}

.print-text-input:focus {
    outline: none;
    border-color: #2D37EE;
    background-color: #e8e9ff;
    color: #2D37EE;
}

.print-text-input:hover {
    border-color: #2D37EE;
}

/* Add to Cart Button */
.btn-add-to-cart {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background-color: #2D37EE;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    letter-spacing: 0.2px;
}

.btn-add-to-cart:hover {
    background-color: #2D37EE;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.btn-add-to-cart:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-container {
        grid-template-columns: 90px 1fr 420px;
        gap: 1.25rem 1.75rem;
    }

    .thumbnail-item {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 80px 1fr 380px;
        gap: 1rem 1.5rem;
    }

    .product-thumbnails {
        gap: 0.875rem;
    }

    .thumbnail-item {
        width: 80px;
        height: 80px;
    }

    .product-image-main {
        position: static;
    }

    .product-info {
        top: 90px;
        gap: 1.75rem;
    }

    .product-price {
        font-size: 2.25rem;
    }

    .product-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .product-main {
        padding-left: 1rem;
        padding-right: 1rem;
        /*padding: 1.5rem 0 2.5rem;*/
    }

    .product-page .breadcrumbs {
        margin-bottom: 2rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
        font-size: 1rem !important;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.875rem;
        padding: 0.5rem 0 1.25rem;
        order: 2;
        -webkit-overflow-scrolling: touch;
    }

    .product-thumbnails::-webkit-scrollbar {
        height: 4px;
    }

    .product-thumbnails::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 2px;
    }

    .thumbnail-item {
        width: 75px;
        height: 75px;
        flex-shrink: 0;
    }

    .product-image-main {
        max-width: 100%;
        position: static;
        order: 1;
    }

    .main-image-placeholder {
        aspect-ratio: 2/3;
        border-radius: 12px;
    }

    .product-info {
        position: static;
        gap: 1.75rem;
        order: 3;
    }

    .product-price {
        font-size: 2rem;
    }

    .product-title {
        font-size: 1.625rem;
    }

    .product-option-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
    }
    
    .option-label {
        margin-bottom: 0.5rem;
    }

    .color-options {
        gap: 0.875rem;
    }

    .color-option {
        width: 42px;
        height: 42px;
    }

    .size-options {
        gap: 0.625rem;
    }

    .size-option {
        min-width: 52px;
        height: 46px;
        font-size: 0.875rem;
        padding: 0.5rem 0.875rem;
    }

    .btn-add-to-cart {
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
    }
}



/* Related Products Section */
.related-products-section {
    margin-top: 4rem;
    padding: 2rem 0;
}

.related-products-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-products-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: left;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-products-grid .product-card-catalog {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: visible;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.related-products-grid .product-image-catalog {
    position: relative;
    width: 100%;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f8f8f8;
    overflow: visible;
    border-radius: 10px 10px 0 0;
}

.related-products-grid .product-image-catalog a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-indent: -9999px;
    overflow: hidden;
}

@media (max-width: 1400px) {
    .related-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products-section {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    
    .related-products-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}
