

/* Start:/bitrix/templates/modern_market/components/bitrix/catalog.element/product_detail/style.css?177078339119358*/
/* Premium Product Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #C21F39;
    --primary-hover: #a51a30;
    --primary-dark: #871527;
    --text-color: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Page wrapper ===== */
.product-detail-page {
    padding: 1.5rem 0 3rem;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-white);
}

.product-detail-page * {
    font-family: var(--font-family);
}

.product-detail-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== Main grid ===== */
.product-main-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .product-main-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .product-main-wrapper {
        grid-template-columns: 1.3fr 1fr;
        gap: 3rem;
    }
}

/* ===== Gallery ===== */
.product-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .product-gallery {
        flex-direction: row;
        align-items: flex-start;
    }
}

/* Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.product-thumbnails::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .product-thumbnails {
        flex-direction: column;
        width: 76px;
        min-width: 76px;
        max-height: 520px;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.thumbnail-item {
    width: 68px;
    height: 68px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    overflow: hidden;
    opacity: 0.5;
    transition: all var(--transition-base);
    flex-shrink: 0;
    background: var(--bg-light);
}

.thumbnail-item:hover {
    opacity: 0.85;
    border-color: var(--border-color);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(194, 31, 57, 0.12);
}

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

/* Main image wrapper (for zoom positioning) */
.product-main-image-wrapper {
    flex-grow: 1;
    position: relative;
    min-width: 0;
}

.product-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-color);
    position: relative;
    cursor: default;
}

@media (min-width: 1200px) {
    .product-main-image {
        cursor: crosshair;
    }
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity var(--transition-base);
    display: block;
}

/* Zoom result panel */
.zoom-result {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 1rem);
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background-repeat: no-repeat;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-xl);
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.zoom-result.active {
    display: block;
    opacity: 1;
}

@media (max-width: 1199px) {
    .zoom-result {
        display: none !important;
    }
}

/* ===== Product Info ===== */
.product-info {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .product-info {
        position: sticky;
        top: 100px;
        align-self: flex-start;
    }
}

/* Title row + Favorites */
.product-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    flex: 1;
    margin: 0;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .product-title {
        font-size: 1.875rem;
    }
}

/* Favorites button (override absolute positioning from product cards) */
.product-title-row .favorite-btn {
    position: relative;
    top: auto;
    right: auto;
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex-shrink: 0;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-light);
    padding: 0;
}

.product-title-row .favorite-btn:hover {
    color: var(--danger-color);
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.25);
    transform: scale(1.08);
}

.product-title-row .favorite-btn.active {
    color: var(--danger-color);
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
}

.product-title-row .favorite-btn svg {
    width: 22px;
    height: 22px;
}

/* Article */
.product-art {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0 0 1.25rem 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== Price block ===== */
.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.product-current-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.product-current-price--request {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.product-price-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.product-old-price {
    font-size: 1.0625rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.1875rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.product-installment-price {
    display: inline-block;
    margin-top: 0.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #8a93a3;
}

/* ===== Availability ===== */
.product-availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--success-color);
    font-weight: 500;
    margin: 0 0 1.5rem 0;
}

.product-availability::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    flex-shrink: 0;
}

.product-availability.out-of-stock {
    color: var(--danger-color);
}

/* ===== Actions ===== */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.add-to-cart-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .add-to-cart-form {
        flex-direction: row;
        align-items: flex-end;
        gap: 0.75rem;
    }
}

/* Quantity selector */
.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.quantity-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 50px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--bg-white);
}

.quantity-controls:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(194, 31, 57, 0.1);
}

.quantity-btn {
    width: 44px;
    height: 100%;
    background: var(--bg-light);
    border: none;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-color);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
}

.quantity-btn:hover {
    background: #e2e8f0;
}

.quantity-btn:active {
    transform: scale(0.92);
}

.quantity-input {
    width: 52px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-color);
    background: transparent;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to cart button */
.btn-add-to-cart,
.product-actions .btn-add-to-cart,
.product-actions .btn.btn-add-to-cart {
    flex-grow: 1;
    background: linear-gradient(135deg, #C21F39, #a51a30) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    padding: 0 1.75rem;
    height: 50px !important;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(194, 31, 57, 0.3) !important;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart:hover,
.product-actions .btn-add-to-cart:hover,
.product-actions .btn.btn-add-to-cart:hover {
    background: linear-gradient(135deg, #a51a30, #871527) !important;
    box-shadow: 0 6px 20px rgba(194, 31, 57, 0.4) !important;
    transform: translateY(-1px);
}

.btn-add-to-cart:active,
.product-actions .btn-add-to-cart:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(194, 31, 57, 0.25) !important;
}

.btn-add-to-cart svg {
    flex-shrink: 0;
}

/* Button states */
.btn-add-to-cart.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-add-to-cart.btn-loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
    margin-left: 0.5rem;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

.btn-add-to-cart.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
}

/* Out of stock button */
.btn-out-of-stock {
    width: 100%;
    height: 50px;
    background: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Sticky Cart Bar ===== */
.sticky-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 0.75rem 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-base);
    will-change: transform;
}

.sticky-cart-bar.visible {
    transform: translateY(0);
}

.sticky-cart-bar__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sticky-cart-bar__info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.sticky-cart-bar__name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.sticky-cart-bar__price {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text-color);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.sticky-cart-bar__btn {
    background: linear-gradient(135deg, #C21F39, #a51a30) !important;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(194, 31, 57, 0.25);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sticky-cart-bar__btn:hover {
    box-shadow: 0 4px 12px rgba(194, 31, 57, 0.35);
    transform: translateY(-1px);
}

.sticky-cart-bar__btn:active {
    transform: translateY(0) scale(0.98);
}

.sticky-cart-bar__btn svg {
    flex-shrink: 0;
}

/* ===== Tabs ===== */
.product-tabs-container {
    margin-top: 2.5rem;
    padding-top: 1rem;
}

.product-tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.tab-button:hover {
    color: var(--text-color);
}

.tab-button.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform var(--transition-base);
    transform-origin: center;
}

.tab-button.active::after {
    transform: scaleX(1);
}

/* Tab panels */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: tabFadeIn 0.3s ease forwards;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Description content */
.product-description-html {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-color);
}

.product-description-html p {
    margin-bottom: 1rem;
}

/* Properties table */
.product-properties-table {
    width: 100%;
    border-collapse: collapse;
}

.product-properties-table tr {
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
}

.product-properties-table tr:hover {
    background: var(--bg-light);
}

.product-properties-table tr:last-child {
    border-bottom: none;
}

.product-properties-table td {
    padding: 0.875rem 0.5rem;
    font-size: 0.9375rem;
}

.property-name {
    color: var(--text-secondary);
    width: 40%;
    font-weight: 500;
}

.property-value {
    color: var(--text-color);
    font-weight: 400;
}

/* ===== Mobile responsive ===== */
@media (max-width: 767px) {
    .product-main-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .product-thumbnails {
        flex-direction: row;
    }

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

    .product-main-image {
        border-radius: var(--radius-lg);
    }

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

    .product-current-price {
        font-size: 1.75rem;
    }

    .product-price-block {
        padding: 1rem;
    }

    .add-to-cart-form {
        flex-direction: column;
    }

    .btn-add-to-cart {
        width: 100%;
        height: 48px;
        font-size: 0.9375rem;
    }

    .quantity-controls {
        width: 100%;
        justify-content: center;
        height: 46px;
    }

    .quantity-btn {
        flex: 1;
    }

    .quantity-input {
        flex: 1;
    }

    .product-title-row .favorite-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .product-title-row .favorite-btn svg {
        width: 20px;
        height: 20px;
    }

    .sticky-cart-bar {
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }

    .sticky-cart-bar__name {
        display: none;
    }

    .tab-button {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }

    .product-tabs-container {
        margin-top: 2rem;
    }

    .product-properties-table td {
        padding: 0.75rem 0.25rem;
        font-size: 0.875rem;
    }

    .property-name {
        width: 45%;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .product-main-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* ===== Breadcrumbs (scoped to product page) ===== */
.breadcrumb-nav {
    margin-bottom: 1.5rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin: 0 0.25rem;
}

.breadcrumb-current {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Related products section ===== */
.related-products-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.related-products-section .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* End */


/* Start:/bitrix/templates/modern_market/components/bitrix/catalog.section/main_products_grid/style.css?17707840535896*/
/* Modern Product Card Styles */
:root {
    --primary-color: #C21F39;
    --primary-hover: #a51a30;
    --text-color: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --radius-md: 0.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.product-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

.favorite-btn:hover {
    background: #fff;
    color: var(--danger-color);
    transform: scale(1.1);
}

.favorite-btn.active {
    color: var(--danger-color);
}

.product-image-link {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: transparent;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    background-color: #f3f4f6;
}

/* Заглушка для отсутствующих изображений */
.product-image--placeholder {
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image--placeholder::before {
    content: "";
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    flex-grow: 1;
}

.product-name a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-price {
    margin-top: auto;
    margin-bottom: 1rem;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
}

.price-old {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.price-installment {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: #9aa1ad;
    line-height: 1.2;
}

.price-request {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.btn-cart {
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: none;
    position: relative;
}

.btn-cart:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(194, 31, 57, 0.25);
    transform: translateY(-1px);
}

.btn-cart:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(194, 31, 57, 0.2);
}

.btn-cart svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-cart:disabled,
.btn-cart.btn-cart--in-basket {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border-color: var(--success-color);
    cursor: default;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.btn-cart:disabled:hover,
.btn-cart.btn-cart--in-basket:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.product-status {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background-color: var(--bg-light);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Pagination */
.catalog-pagination-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}
/* End */
/* /bitrix/templates/modern_market/components/bitrix/catalog.element/product_detail/style.css?177078339119358 */
/* /bitrix/templates/modern_market/components/bitrix/catalog.section/main_products_grid/style.css?17707840535896 */
