

/* Start:/local/templates/silamarket/css/internal.css?1748840053842*/
nav {
    border-radius: 15px !important;
}

.inner-hero {
    background: linear-gradient(135deg, #203E5C 0%, #00092C 100%);
    color: white;
    padding: 40px 0;
    height: 290px;
    border-radius: 15px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}


.inner-hero-content {
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.inner-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.inner-hero p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}
/* End */


/* Start:/local/templates/silamarket/css/catalog/detail.css?175086257819196*/
/* Хлебные крошки */
.breadcrumbs-wrapper {
    margin-bottom: 30px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-item {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #D61A19;
}

.breadcrumb-separator {
    color: #ccc;
    margin: 0 5px;
}

.breadcrumb-current {
    color: #303030;
    font-weight: 500;
}

/* Основной контейнер */
.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Галерея изображений */
.product-gallery {
    height: fit-content;
    position: sticky;
    top: 140px;
}

.breadcrumbs-wrapper {
    margin: 30px 0;
}

.product-slider.splide {
    margin-bottom: 15px;
    background: #fff; /* Заглушка пока грузится */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    width: 600px;
    height: 600px;
    max-width: 100%;
}

/* Модальное окно доставки */
.delivery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.delivery-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #E5E7EB;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
}

.modal-close {
    font-size: 28px;
    color: #9CA3AF;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #6B7280;
}

.modal-body {
    padding: 24px;
}

.delivery-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #D61A19;
}

.delivery-notice {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.delivery-notice p {
    margin: 0 0 8px;
    color: #92400E;
    font-size: 14px;
}

.delivery-notice p:last-child {
    margin-bottom: 0;
}

.delivery-result {
    background: #F0FDF4;
    border: 1px solid #10B981;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.delivery-result h4 {
    margin: 0 0 15px;
    color: #065F46;
    font-size: 16px;
}

.delivery-options-result {
    margin-bottom: 15px;
}

.delivery-option-result {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #D1FAE5;
}

.delivery-option-result:last-child {
    border-bottom: none;
}

.delivery-note {
    margin: 0;
    font-size: 12px;
    color: #065F46;
    font-style: italic;
}

.product-slider .splide__slide {
    position: relative;
    overflow: hidden;
    width: 600px;
    height: 600px;
}

.product-slider .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    background-color: #fff; /* Заглушка пока грузится картинка */
}

/* Предотвращение бага до инициализации слайдера */
.product-slider.splide:not(.is-initialized) .splide__slide {
    display: none;
}

.product-slider.splide:not(.is-initialized) .splide__slide:first-child {
    display: block;
    width: 600px;
    height: 600px;
}

.product-slider.splide:not(.is-initialized) .splide__slide:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-slider .splide__slide:hover img {
    transform: scale(1.05);
}

.image-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(22, 42, 63, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.product-slider .splide__slide:hover .image-zoom {
    opacity: 1;
}

.image-zoom:hover {
    background: rgba(22, 42, 63, 1);
    transform: scale(1.1);
}

#quantity::-webkit-inner-spin-button,
#quantity::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

#quantity {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}

.product-thumbs.splide {
    margin: 0;
}

.product-thumbs .splide__slide {
    opacity: 0.6;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-thumbs .splide__slide:hover {
    opacity: 0.8;
}

.product-thumbs .splide__slide.is-active {
    opacity: 1;
    border: 2px solid #203E5C !important;
}

.product-thumbs .splide__slide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Информация о товаре */
.product-info {
    padding-top: 10px;
}

.product-header {
    margin-bottom: 30px;
}

.product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.badge-original {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 20px;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
}

.product-sku {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    font-size: 14px;
    color: #6B7280;
}

.meta-value {
    font-weight: 600;
    color: #1F2937;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #D1D5DB;
    font-size: 16px;
    transition: color 0.2s ease;
}

.star.active {
    color: #F59E0B;
}

.rating-text {
    font-size: 14px;
    color: #6B7280;
}

/* Блок цен */
.product-price-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-price {
    font-size: 24px;
    font-weight: 800;
    color: #00092C;
    line-height: 1;
}

.old-price {
    font-size: 20px;
    color: #9CA3AF;
    text-decoration: line-through;
}

.discount-badge {
    background: #DC2626;
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.in-stock {
    background: #10B981;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.status-text {
    font-size: 14px;
    font-weight: 600;
    color: #10B981;
}

/* Описание товара */
.product-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #4B5563;
    font-size: 16px;
}

/* Быстрые характеристики */
.quick-specs {
    margin-bottom: 30px;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.quick-specs-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 15px;
}

.quick-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #E5E7EB;
}

.quick-spec-item .spec-name {
    font-size: 12px;
    line-height: 1.5;
    color: #6B7280;
    flex: 2;
}

.quick-spec-item .spec-value {
    font-size: 14px;
    color: #1F2937;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

/* Действия с товаром */
.product-actions {
    margin-bottom: 40px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 600;
    color: #374151;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #F9FAFB;
    color: #374151;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: #E5E7EB;
}

.qty-btn:active {
    transform: scale(0.95);
}

#quantity {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    outline: none;
}

.main-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    min-height: 56px;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: #D61A19;
    color: white;
}

.btn-secondary {
    background: #203E5C;
    color: white;
}

.secondary-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn:hover {
    border-color: #D61A19;
    color: #D61A19;
    background: rgba(214, 26, 25, 0.05);
}

.action-btn.favorite.active {
    background: #D61A19;
    color: white;
    border-color: #D61A19;
}

/* Особенности товара */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #FAFAFA;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #F3F4F6;
    transform: translateY(-2px);
}

.feature-icon {
    color: #D61A19;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* Табы */
.product-tabs {
    margin-bottom: 60px;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #E5E7EB;
    margin-bottom: 30px;
}

.tab-link {
    padding: 15px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #6B7280;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-size: 16px;
}

.tab-link:hover {
    color: #374151;
}

.tab-link.active {
    color: #D61A19;
    border-bottom-color: #D61A19;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-content-wrapper {
    padding: 20px 0;
    line-height: 1.6;
    color: #374151;
}

/* Характеристики в табах */
.specs-group {
    margin-bottom: 40px;
}

.specs-group:last-child {
    margin-bottom: 0;
}

.specs-group-title {
    font-size: 22px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.image-zoom path {
    stroke: #fff;
}

.specs-table {
    background: #FAFAFA;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.spec-row {
    display: flex;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    transition: background-color 0.2s ease;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:hover {
    background: #F3F4F6;
}

.spec-name {
    flex: 1;
    font-weight: 500;
    color: #6B7280;
    padding-right: 20px;
}

.spec-value {
    flex: 1;
    color: #1F2937;
    font-weight: 600;
}

/* Документация */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.doc-item:hover {
    background: #F3F4F6;
    transform: translateY(-2px);
}

.doc-icon {
    font-size: 32px;
}

.doc-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
}

.doc-info p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #6B7280;
}

.doc-link {
    color: #D61A19;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.doc-link:hover {
    text-decoration: underline;
}

/* Отзывы */
.reviews-summary {
    margin-bottom: 30px;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 12px;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avg-rating {
    font-size: 48px;
    font-weight: 800;
    color: #1F2937;
}

.stars-big {
    display: flex;
    gap: 4px;
}

.stars-big .star {
    font-size: 24px;
    color: #D1D5DB;
}

.stars-big .star.active {
    color: #F59E0B;
}

.rating-text {
    font-size: 16px;
    color: #6B7280;
}

/* Доставка и оплата */
.delivery-info {
    display: grid;
    gap: 40px;
}

.delivery-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 15px;
}

.payment-methods {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #F3F4F6;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.payment-icon {
    font-size: 20px;
}

.delivery-options {
    display: grid;
    gap: 20px;
}

.delivery-option {
    padding: 20px;
    background: #F9FAFB;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.delivery-option h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 10px;
}

.delivery-option p {
    margin: 5px 0;
    color: #4B5563;
}

/* Модальное окно изображений */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover {
    color: #ccc;
}

.product-thumbs.splide {
    margin: 0;
    width: 600px;
    max-width: 100%;
}

.product-thumbs .splide__track {
    width: 100%;
}

.product-thumbs .splide__list {
    width: 100%;
}


.copy-sku {
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.copy-icon {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.copy-sku:hover .copy-icon {
    opacity: 1;
}

.copy-feedback {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(22, 42, 63, 0.85) !important;
    box-shadow: 0 8px 32px rgba(0, 9, 44, 0.3);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
}

.hint-icon {
    position: relative;
    display: inline-block;
    margin-left: 5px;
    cursor: help;
    vertical-align: middle;
}

.hint-icon svg {
    width: 16px;
    height: 16px;
    color: #666;
    transition: color 0.2s;
}

.hint-icon:hover svg {
    color: #000;
}

.hint-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hint-icon:hover .hint-tooltip {
    opacity: 1;
    visibility: visible;
}

.hint-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #333;
}
/* End */
/* /local/templates/silamarket/css/internal.css?1748840053842 */
/* /local/templates/silamarket/css/catalog/detail.css?175086257819196 */
