/**
 * Product Card Styles - S13.0
 * Карточка кондиционера v1
 */

/* ==========================================================================
   Mobile Breadcrumbs (compact, single line)
   ========================================================================== */

/* Mobile: Compact breadcrumbs without product name */
@media (max-width: 767px) {
    .sh-product-topbar {
        display: block;
        margin-bottom: 12px;
    }

    .sh-product-topbar .sh-breadcrumb {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
    }

    .sh-product-topbar .sh-breadcrumb a {
        color: #6b7280;
        text-decoration: none;
        flex-shrink: 0;
    }

    .sh-product-topbar .sh-breadcrumb a:hover {
        color: #f97316;
    }

    .sh-product-topbar .sh-breadcrumb__sep {
        margin: 0 6px;
        color: #d1d5db;
        flex-shrink: 0;
    }

    /* Hide product name on mobile */
    .sh-product-topbar .sh-breadcrumb__product {
        display: none;
    }

    /* Hide actions on mobile (they exist elsewhere) */
    .sh-product-topbar__actions {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
    }
}

/* Desktop: Full breadcrumbs with product name */
@media (min-width: 768px) {
    .sh-product-topbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.25rem;
    }

    .sh-product-topbar .sh-breadcrumb__product {
        display: inline;
    }

    .sh-product-topbar__actions {
        display: flex;
    }
}

/* ==========================================================================
   Product Detail Layout
   ========================================================================== */

.sh-product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Prevent grid items from overflowing on mobile */
@media (max-width: 767px) {
    .sh-product-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .sh-product-detail > * {
        min-width: 0;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .sh-product-detail {
        grid-template-columns: 48% 52%;
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .sh-product-detail {
        grid-template-columns: 45% 55%;
    }
}

/* ==========================================================================
   Product Gallery
   ========================================================================== */

.sh-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sh-product-gallery__main {
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.02);
    padding: 20px;
    max-height: 420px;
}

.sh-product-gallery__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sh-product-gallery__main:hover .sh-product-gallery__img {
    transform: scale(1.02);
}

.sh-product-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sh-product-gallery__thumb {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sh-product-gallery__thumb:hover {
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.12);
}

.sh-product-gallery__thumb.active {
    border-color: var(--sh-primary, #f97316);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.sh-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

/* ==========================================================================
   Mobile Product Gallery
   ========================================================================== */

@media (max-width: 767px) {
    .sh-product-gallery {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .sh-product-gallery__main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        aspect-ratio: 4 / 3;
        max-height: 260px;
        padding: 12px;
    }

    .sh-product-gallery__img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .sh-product-gallery__thumbs {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .sh-product-gallery__thumbs::-webkit-scrollbar {
        display: none;
    }

    .sh-product-gallery__thumb {
        width: 50px;
        height: 50px;
        min-width: 50px;
        flex-shrink: 0;
        padding: 5px;
    }

    .sh-product-gallery__thumb:hover {
        transform: none;
    }
}

/* ==========================================================================
   Mobile Product Info Block (S45.2)
   ========================================================================== */

@media (max-width: 767px) {
    /* Title: 4px smaller (16px → 12px = 0.75rem) */
    .sh-product-info__title,
    h1.sh-product-info__title,
    [data-page="shop"] h1.sh-product-info__title {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* Fix payment methods - MOBILE: collapsible */
    .sh-purchase-block__row2-wrap {
        padding: 0;
    }

    .sh-purchase-block__row2-title {
        display: none; /* Hide static title on mobile */
    }

    .sh-payment-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.75rem;
        background: transparent;
        border: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .sh-payment-toggle__icon {
        width: 16px;
        height: 16px;
        stroke: #9ca3af;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .sh-payment-toggle[aria-expanded="true"] .sh-payment-toggle__icon {
        transform: rotate(180deg);
    }

    .sh-payment-toggle:active {
        background: rgba(16,185,129,0.04);
    }

    .sh-purchase-block__row2-content {
        display: none !important;
        padding: 0 0.75rem 0.75rem;
    }

    .sh-purchase-block__row2-content:not([hidden]) {
        display: block !important;
    }

    .sh-purchase-block__row2-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }

    .sh-purchase-block__payments {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
    }

    .sh-purchase-block__finance {
        margin-left: 0;
        flex-wrap: wrap;
        gap: 0.375rem;
    }

    .sh-pb-payment {
        font-size: 0.6875rem;
    }

    .sh-pb-pill {
        padding: 0.3125rem 0.625rem;
        font-size: 0.6875rem;
    }
}

/* ==========================================================================
   S25.4: Product Features Badges (под галереей)
   ========================================================================== */

.sh-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
}

.sh-product-features__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    background: #f3f4f6;
    border-radius: 6px;
    white-space: nowrap;
}

.sh-product-features__badge svg {
    flex-shrink: 0;
    color: #6b7280;
}

.sh-product-features__badge--inverter {
    background: #ecfdf5;
    color: #047857;
}

.sh-product-features__badge--inverter svg {
    color: #10b981;
}

.sh-product-features__badge--energy {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

.sh-product-features__badge--delivery {
    background: #eff6ff;
    color: #1d4ed8;
}

.sh-product-features__badge--delivery svg {
    color: #3b82f6;
}

.sh-product-features__badge--install {
    background: #fef2f2;
    color: #b91c1c;
}

.sh-product-features__badge--install svg {
    color: #ef4444;
}

/* S50.0 - Dynamic feature badge icon styling */
.sh-product-features__icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* S50.0 - Additional feature badges */
.sh-product-features__badge--area {
    background: #fef3c7;
    color: #92400e;
}

.sh-product-features__badge--quiet {
    background: #d1fae5;
    color: #065f46;
}

.sh-product-features__badge--wifi {
    background: #ede9fe;
    color: #5b21b6;
}

.sh-product-features__badge--self_clean {
    background: #fce7f3;
    color: #9d174d;
}

.sh-product-features__badge--smart_home {
    background: #cffafe;
    color: #0e7490;
}

.sh-product-features__badge--energy_class {
    background: #fef9c3;
    color: #854d0e;
    font-weight: 600;
}

.sh-product-features__badge--cooling_energy_class {
    background: #e0f2fe;
    color: #0369a1;
}

.sh-product-features__badge--ionizer {
    background: #fae8ff;
    color: #86198f;
}

.sh-product-features__badge--air_purifier {
    background: #ecfccb;
    color: #3f6212;
}

.sh-product-features__badge--pump {
    background: #dbeafe;
    color: #1e40af;
}

.sh-product-features__badge--dehumidify {
    background: #f0fdfa;
    color: #0f766e;
}

.sh-product-features__badge--night_mode {
    background: #eef2ff;
    color: #4338ca;
}

.sh-product-features__badge--plasma {
    background: #fffbeb;
    color: #b45309;
}

.sh-product-features__badge--i_feel {
    background: #fef2f2;
    color: #b91c1c;
}

.sh-product-features__badge--4d_flow {
    background: #fff7ed;
    color: #c2410c;
}

/* ==========================================================================
   Gallery Navigation Arrows
   ========================================================================== */

.sh-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    opacity: 0;
}

.sh-product-gallery__main:hover .sh-gallery-nav {
    opacity: 1;
}

.sh-gallery-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.sh-gallery-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.sh-gallery-nav--prev {
    left: 16px;
}

.sh-gallery-nav--next {
    right: 16px;
}

.sh-gallery-nav svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Mobile navigation arrows - visible by default */
@media (max-width: 767px) {
    .sh-gallery-nav {
        width: 32px;
        height: 32px;
        opacity: 1;
    }

    .sh-gallery-nav--prev {
        left: 4px;
    }

    .sh-gallery-nav--next {
        right: 4px;
    }

    .sh-gallery-nav svg {
        width: 16px;
        height: 16px;
    }
}

/* ==========================================================================
   Product Badges
   ========================================================================== */

.sh-product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    z-index: 10;
}

/* Gallery Quick Actions */
.sh-gallery-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.sh-gallery-actions__btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #374151;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sh-gallery-actions__btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
}

.sh-gallery-actions__btn svg {
    flex-shrink: 0;
    color: #6b7280;
}

.sh-gallery-actions__btn[data-action="favorite"].active {
    color: #ef4444;
}

.sh-gallery-actions__btn[data-action="favorite"].active svg {
    fill: #ef4444;
    color: #ef4444;
}

.sh-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.sh-badge--sale {
    background: linear-gradient(135deg, rgba(239,68,68,0.9), rgba(220,38,38,0.9));
    color: #fff;
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}

.sh-badge--inverter {
    background: linear-gradient(135deg, rgba(16,185,129,0.9), rgba(5,150,105,0.9));
    color: #fff;
    box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}

.sh-badge--feature {
    background: rgba(255,255,255,0.7);
    color: #475569;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    gap: 3px;
}

.sh-badge--feature svg {
    color: #10b981;
    width: 10px;
    height: 10px;
}

.sh-badge--area {
    background: rgba(99,102,241,0.12);
    color: #6366f1;
    border: 1px solid rgba(99,102,241,0.25);
    box-shadow: 0 2px 6px rgba(99,102,241,0.1);
    gap: 3px;
}

.sh-badge--area svg {
    width: 10px;
    height: 10px;
    color: #6366f1;
}

.sh-badge--energy {
    background: #3b82f6;
    color: #fff;
}

.sh-badge--new {
    background: #8b5cf6;
    color: #fff;
}

/* ==========================================================================
   Product Info
   ========================================================================== */

.sh-product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sh-product-info__title,
h1.sh-product-info__title,
[data-page="shop"] h1.sh-product-info__title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    margin: 0;
    margin-bottom: 0;
    word-break: break-word;
    hyphens: auto;
}

@media (min-width: 768px) {
    .sh-product-info__title,
    h1.sh-product-info__title,
    [data-page="shop"] h1.sh-product-info__title {
        font-size: 1.1875rem;
    }
}

@media (min-width: 1024px) {
    .sh-product-info__title,
    h1.sh-product-info__title,
    [data-page="shop"] h1.sh-product-info__title {
        font-size: 1.1875rem;
    }
}

.sh-product-info__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 6px;
}

.sh-product-info__brand {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sh-product-info__sku {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 400;
}

/* Product Quick Actions */
.sh-product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.sh-product-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sh-product-actions__btn:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Favorite button - rose/red theme */
.sh-product-actions__btn[data-action="favorite"] {
    border-color: #fecdd3;
    background: linear-gradient(135deg, #fff5f5 0%, #fff1f2 100%);
}

.sh-product-actions__btn[data-action="favorite"]:hover {
    border-color: #fda4af;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
}

.sh-product-actions__btn[data-action="favorite"] svg {
    color: #e11d48;
}

.sh-product-actions__btn[data-action="favorite"].is-active {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    border-color: #fb7185;
    color: #be123c;
}

.sh-product-actions__btn[data-action="favorite"].is-active svg {
    fill: #e11d48;
    color: #e11d48;
}

/* Compare button - blue theme */
.sh-product-actions__btn[data-action="compare"] {
    border-color: #bfdbfe;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.sh-product-actions__btn[data-action="compare"]:hover {
    border-color: #93c5fd;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}

.sh-product-actions__btn[data-action="compare"] svg {
    color: #2563eb;
}

.sh-product-actions__btn[data-action="compare"].is-active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #60a5fa;
    color: #1d4ed8;
}

.sh-product-actions__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sh-product-actions__btn span {
    white-space: nowrap;
}

.sh-product-info__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.sh-product-info__status {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.status-in-stock {
    background: #d1fae5;
    color: #059669;
}

.status-pre-order {
    background: #fef3c7;
    color: #d97706;
}

.status-no-supply {
    background: #fee2e2;
    color: #dc2626;
}

.sh-product-info__desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Key Specs Strip — Premium SaaS 2025
   Inspired by Stripe/Linear/Framer
   ========================================================================== */

.pdp-specs-strip {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fafbfc 0%, #f4f5f7 100%);
    border: 1px solid #e8eaed;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.pdp-specs-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
}

.pdp-specs-strip__metrics {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pdp-specs-strip__divider {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent 0%, #d1d5db 50%, transparent 100%);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .pdp-specs-strip__divider { display: none; }
    .pdp-specs-strip__metrics { gap: 12px 20px; }
}

.pdp-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pdp-metric__label {
    font-size: 10px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pdp-metric__value {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}

.pdp-metric__unit {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
}

.pdp-specs-strip__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pdp-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.pdp-badge-pill svg {
    flex-shrink: 0;
}

.pdp-badge-pill--delivery {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #047857;
    border: 1px solid #a7f3d0;
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.08);
}

.pdp-badge-pill--delivery:hover {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.pdp-badge-pill--delivery svg {
    stroke: #10b981;
}

.pdp-badge-pill--gost {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    color: #4338ca;
    border: 1px solid #c7d2fe;
    box-shadow: 0 1px 2px rgba(99, 102, 241, 0.08);
}

.pdp-badge-pill--gost:hover {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.pdp-badge-pill--gost svg {
    stroke: #6366f1;
}

/* Old sh-key-specs kept for backwards compatibility */

.sh-key-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.625rem 0.875rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.sh-key-specs__item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.sh-key-specs__label {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sh-key-specs__value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.sh-key-specs__item--badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    background: #ecfdf5;
    border-radius: 4px;
    border: 1px solid #a7f3d0;
}

.sh-key-specs__item--badge svg {
    color: #10b981;
    flex-shrink: 0;
}

.sh-key-specs__item--badge span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #047857;
}

/* ==========================================================================
   Price Block
   ========================================================================== */

/* ==========================================================================
   Purchase Block (Price + CTA)
   ========================================================================== */

.sh-product-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.sh-product-purchase__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.sh-price--current {
    font-size: 1.375rem;
    font-weight: 600;
    color: #374151;
}

.sh-price--old {
    font-size: 0.9375rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.sh-product-purchase__actions {
    display: flex;
    gap: 0.5rem;
}

/* Purchase Buttons */
.sh-purchase-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sh-purchase-btn svg {
    flex-shrink: 0;
}

.sh-purchase-btn--buy {
    background: #fff;
    border-color: #16a34a;
    color: #16a34a;
}

.sh-purchase-btn--buy:hover {
    background: #f0fdf4;
    border-color: #15803d;
    color: #15803d;
}

.sh-purchase-btn--quote {
    background: #fff;
    border-color: #8b5cf6;
    color: #7c3aed;
}

.sh-purchase-btn--quote:hover {
    background: #faf5ff;
    border-color: #7c3aed;
    color: #6d28d9;
}

/* Finance row */
.sh-product-finance {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.sh-finance-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.sh-finance-link:hover {
    color: #374151;
}

.sh-finance-link svg {
    flex-shrink: 0;
    color: #9ca3af;
}

.sh-finance-link:hover svg {
    color: #6b7280;
}

/* Payment Methods */
.sh-payment-methods {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.sh-payment-methods__title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.625rem;
}

.sh-payment-methods__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.sh-payment-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #6b7280;
}

.sh-payment-item svg {
    color: #9ca3af;
    flex-shrink: 0;
}

/* Service Buttons */
.sh-service-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sh-service-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.sh-service-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.sh-service-btn svg {
    color: #6b7280;
    flex-shrink: 0;
}

.sh-service-btn:hover svg {
    color: #374151;
}

.sh-service-btn__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sh-service-btn__title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}

.sh-service-btn__badge {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {
    .sh-service-buttons {
        flex-direction: column;
    }
}

/* Specialist Contact Block */
.sh-specialist {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-top: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    flex-wrap: wrap;
}

.sh-specialist__person {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.sh-specialist__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: #6b7280;
}

.sh-specialist__info {
    display: flex;
    flex-direction: column;
}

.sh-specialist__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.sh-specialist__role {
    font-size: 0.6875rem;
    color: #6b7280;
}

.sh-specialist__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sh-specialist__phone:hover {
    color: #f97316;
}

.sh-specialist__phone svg {
    color: #6b7280;
}

.sh-specialist__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.sh-specialist__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sh-specialist__btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.sh-specialist__btn--tg {
    color: #0088cc;
}

.sh-specialist__btn--tg:hover {
    background: #e6f4fa;
    border-color: #0088cc;
}

.sh-specialist__callback {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sh-specialist__input {
    width: 80px;
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease;
}

.sh-specialist__input:focus {
    border-color: #f97316;
}

.sh-specialist__send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f97316;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.sh-specialist__send:hover {
    background: #ea580c;
}

@media (max-width: 640px) {
    .sh-specialist {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .sh-specialist__actions {
        margin-left: 0;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .sh-specialist__callback {
        flex: 1;
        min-width: 120px;
    }
    
    .sh-specialist__input {
        flex: 1;
    }
}

@media (max-width: 560px) {
    .sh-product-purchase {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .sh-product-purchase__actions {
        width: 100%;
    }
    
    .sh-purchase-btn {
        flex: 1;
        justify-content: center;
    }
    
    .sh-product-finance {
        gap: 1rem;
    }
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.sh-product-tabs {
    margin-top: 4rem;
}

.sh-product-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sh-product-tabs__nav::-webkit-scrollbar {
    display: none;
}

.sh-product-tabs__btn {
    flex-shrink: 0;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.sh-product-tabs__btn:hover {
    color: #111827;
}

.sh-product-tabs__btn.active {
    color: var(--sh-primary, #f97316);
    border-bottom-color: var(--sh-primary, #f97316);
}

.sh-product-tabs__content {
    padding-top: 1.5rem;
}

.sh-product-tabs__pane {
    display: none;
}

.sh-product-tabs__pane.active {
    display: block;
}

/* ==========================================================================
   Specs Table
   ========================================================================== */

.sh-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.sh-specs-table tr:nth-child(even) {
    background: #f9fafb;
}

.sh-specs-table th,
.sh-specs-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.sh-specs-table th {
    font-weight: 500;
    color: #6b7280;
    width: 40%;
}

.sh-specs-table td {
    font-weight: 600;
    color: #111827;
}

/* Specs wrapper with collapse */
.sh-specs-wrapper {
    position: relative;
}

.sh-specs-wrapper[data-collapsed="true"] .sh-specs-table tr:nth-child(n+8) {
    display: none;
}

.sh-specs-wrapper[data-collapsed="true"]::after {
    content: '';
    position: absolute;
    bottom: 44px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
}

.sh-specs-wrapper[data-collapsed="false"] .sh-specs-toggle__icon {
    transform: rotate(180deg);
}

.sh-specs-wrapper[data-collapsed="false"] .sh-specs-toggle__text::before {
    content: 'Скрыть';
}

.sh-specs-wrapper[data-collapsed="false"] .sh-specs-toggle__text {
    font-size: 0;
}

.sh-specs-wrapper[data-collapsed="false"] .sh-specs-toggle__text::before {
    font-size: 0.875rem;
}

.sh-specs-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #10b981;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sh-specs-toggle:hover {
    background: #f0fdf4;
    border-color: #10b981;
}

.sh-specs-toggle__icon {
    transition: transform 0.2s ease;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.sh-empty-text {
    color: #9ca3af;
    font-style: italic;
    padding: 1rem 0;
}

/* ==========================================================================
   Info Block (for Delivery & Installation tabs)
   ========================================================================== */

.sh-info-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sh-info-block__item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.sh-info-block__item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.sh-info-block__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    flex-shrink: 0;
    color: #6b7280;
}

.sh-info-block__content {
    flex: 1;
    min-width: 0;
}

.sh-info-block__content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem;
}

.sh-info-block__content p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Related Products Section
   ========================================================================== */

.sh-section--gray {
    background: #f9fafb;
    padding: 2rem 0;
    margin: 2rem -1rem -2rem;
}

@media (min-width: 768px) {
    .sh-section--gray {
        margin: 3rem calc(-50vw + 50%) -3rem;
        padding: 3rem calc(50vw - 50%);
    }
}

/* ==========================================================================
   Product Card Badge Position
   ========================================================================== */

.sh-product-card__image {
    position: relative;
}

.sh-product-card__image .sh-badge {
    position: absolute;
    top: 8px;
    left: 8px;
}

/* ==========================================================================
   UNIFIED PURCHASE BLOCK — Premium SaaS 2025
   ========================================================================== */

.sh-purchase-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(165deg, 
        #f1f5f9 0%, 
        #e2e8f0 40%,
        #cbd5e1 100%);
    border: 1px solid rgba(148,163,184,0.3);
    border-radius: 18px;
    box-shadow: 
        0 2px 8px rgba(0,0,0,0.06),
        0 8px 32px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.6);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.sh-purchase-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    border-radius: 18px 18px 0 0;
}

/* Row 1: Price + Buttons */
.sh-purchase-block__row1 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .sh-purchase-block__row1 {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.sh-purchase-block__price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.sh-purchase-block__price {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.sh-purchase-block__brand {
    width: 100%;
    max-width: 100px;
}

.sh-purchase-block__brand-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
    margin-top: 0.5rem;
}

.sh-purchase-block__brand img {
    max-width: 80px;
    max-height: 28px;
    object-fit: contain;
}

/* S45 - Series with truncation (max ~20 chars visible, tooltip on hover) */
.sh-purchase-block__series {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #f97316;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
    position: relative;
}

/* S45 - Series tooltip styling */
.sh-purchase-block__series[title] {
    cursor: help;
}

/* Series above title - hidden on desktop, shown on mobile */
.sh-purchase-block__series--top {
    display: none;
}

/* Meta row (series + brand + sku) - hidden on desktop */
.sh-purchase-block__meta-top {
    display: none;
}

.sh-purchase-block__meta-top-right {
    display: none;
}

.sh-purchase-block__sku {
    font-size: 0.6875rem;
    color: #94a3b8;
    white-space: nowrap;
}

/* Mobile: Compact price + brand row (S45.2) */
@media (max-width: 767px) {
    .sh-purchase-block__price-col {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .sh-purchase-block__price {
        flex-shrink: 0;
    }

    /* Hide brand-row on mobile - info is in meta-top */
    .sh-purchase-block__brand-row {
        display: none;
    }

    .sh-purchase-block__brand {
        flex-shrink: 0;
        max-width: 50px;
        width: auto;
    }

    .sh-purchase-block__brand img {
        max-width: 50px;
        max-height: 18px;
    }

    .sh-purchase-block__series {
        max-width: 90px;
        font-size: 0.5625rem;
        padding: 0.0625rem 0.375rem;
    }

    .sh-purchase-block__sku {
        font-size: 0.8125rem;
    }

    /* Price: 2px smaller (20px → 18px = 1.125rem) */
    .sh-purchase-block__price .sh-price--current {
        font-size: 1.125rem;
    }

    /* Series above title - visible on mobile, up to 40 chars */
    .sh-purchase-block__series--top {
        display: inline-block;
        max-width: 240px;
    }

    /* Top meta row with series, brand, sku */
    .sh-purchase-block__meta-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 0.25rem;
    }

    .sh-purchase-block__meta-top-right {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .sh-purchase-block__meta-top .sh-purchase-block__brand {
        max-width: 50px;
    }

    .sh-purchase-block__meta-top .sh-purchase-block__brand img {
        max-width: 50px;
        max-height: 18px;
    }

    .sh-purchase-block__meta-top .sh-purchase-block__sku {
        font-size: 0.8125rem;
    }
}

.sh-purchase-block__price .sh-price--old {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
    white-space: nowrap;
}

.sh-purchase-block__price .sh-price--current {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    line-height: 1.2;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

/* Price on request styling */
.sh-purchase-block__price--request {
    gap: 0.5rem;
}

.sh-price--request {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #fcd34d;
    white-space: nowrap;
}

/* Quote primary button (replaces buy button when no price) */
.sh-pb-btn--quote-primary {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fbbf24;
    font-weight: 600;
}

.sh-pb-btn--quote-primary:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    border-color: #f59e0b;
    color: #78350f;
}

/* ==========================================================================
   Personal Discount Price Display (РЦ + Ваша цена) - Product Page
   ========================================================================== */
.sh-purchase-block__price--personal {
    gap: 0.25rem;
}

.sh-price-rc {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.sh-price-rc__label {
    font-weight: 500;
}

.sh-price-rc__value {
    /* Не зачёркиваем РЦ - просто показываем для сравнения */
}

.sh-price-personal {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.sh-price-personal__label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sh-price-personal__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #059669;
    white-space: nowrap;
    line-height: 1.1;
}

.sh-price-personal__value .sh-price__rub {
    font-size: 0.7em;
}

.sh-price__rub {
    font-size: 0.75em;
    font-weight: 500;
    margin-left: 0.125rem;
}

.sh-purchase-block__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    background: rgba(255,255,255,0.5);
    padding: 0.875rem;
    border-radius: 14px;
    border: 1px solid rgba(16,185,129,0.2);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.5) inset,
        0 0 20px rgba(16,185,129,0.08),
        0 0 40px rgba(16,185,129,0.04);
}

@media (min-width: 768px) {
    .sh-purchase-block__buttons {
        min-width: 340px;
    }
}

.sh-purchase-block__col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sh-purchase-block__col .sh-pb-btn {
    flex: 1;
    height: 52px;
}

/* Button base */
.sh-pb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    min-height: 44px;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.sh-pb-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.sh-pb-btn svg {
    flex-shrink: 0;
    color: #64748b;
}

/* Service button style */
.sh-pb-btn--service {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    justify-content: center;
    background: #fff;
}

.sh-pb-btn--service:hover {
    background: #f8fafc;
}

.sh-pb-btn__badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    margin-left: auto;
}

.sh-pb-btn--surveyor {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    padding: 0.375rem 0.75rem;
}

.sh-pb-btn__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.sh-pb-btn__badge--center {
    margin-left: 0;
    text-align: center;
}

/* Buy button — Soft green */
.sh-pb-btn--buy {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-weight: 600;
}

.sh-pb-btn--buy:hover {
    background: #d1fae5;
    border-color: #6ee7b7;
}

.sh-pb-btn--buy svg {
    color: #10b981;
}

/* Buy button — In cart state */
.sh-pb-btn--buy.is-in-cart {
    background: #059669;
    border-color: #059669;
    color: #ffffff;
}

.sh-pb-btn--buy.is-in-cart:hover {
    background: #047857;
    border-color: #047857;
}

.sh-pb-btn--buy.is-in-cart svg {
    color: #ffffff;
}

/* Quote button — Soft slate */
.sh-pb-btn--quote {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 600;
}

.sh-pb-btn--quote:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.sh-pb-btn--quote svg {
    color: #64748b;
}

/* Row 2: Payments + Finance */
.sh-purchase-block__row2 {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.sh-purchase-block__row2-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: rgba(255,255,255,0.5);
    border-radius: 14px;
    border: 1px solid rgba(16,185,129,0.2);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.5) inset,
        0 0 20px rgba(16,185,129,0.08),
        0 0 40px rgba(16,185,129,0.04);
    overflow: hidden;
}

/* Payment Toggle Button - DESKTOP: hidden, MOBILE: visible */
.sh-payment-toggle {
    display: none; /* Hidden on desktop */
}

.sh-payment-toggle__text {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sh-payment-toggle__icon {
    color: #9ca3af;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.sh-payment-toggle[aria-expanded="true"] .sh-payment-toggle__icon {
    transform: rotate(180deg);
}

/* Desktop: Static title (min-width: 768px only) */
@media (min-width: 768px) {
    .sh-purchase-block__row2-title {
        display: block;
        font-size: 0.6875rem;
        font-weight: 500;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        padding: 0.75rem 0.875rem 0.5rem;
    }
}

/* Desktop: Content always visible (min-width: 768px only) */
@media (min-width: 768px) {
    .sh-purchase-block__row2-content {
        display: block !important;
        padding: 0 0.875rem 0.875rem !important;
    }

    .sh-purchase-block__row2-content[hidden] {
        display: block !important;
    }
}

.sh-purchase-block__row2-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sh-purchase-block__payments {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}

.sh-purchase-block__finance {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.sh-pb-payment {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
}

.sh-pb-payment svg {
    color: #9ca3af;
}

.sh-purchase-block__finance {
    display: flex;
    gap: 0.5rem;
}

.sh-pb-pill {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.sh-pb-pill:hover {
    color: #1e293b;
    background: #fff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* Row 3: Series Area Switcher */
.sh-purchase-block__row3 {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* Row 4: Specialist Contact */
.sh-purchase-block__row4 {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.sh-pb-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(255,255,255,0.5);
    padding: 0.875rem;
    border-radius: 14px;
    border: 1px solid rgba(16,185,129,0.2);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.5) inset,
        0 0 20px rgba(16,185,129,0.08),
        0 0 40px rgba(16,185,129,0.04);
}

@media (min-width: 768px) {
    .sh-pb-contact {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.sh-pb-contact__person {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1;
}

.sh-pb-contact__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 50%;
    color: #6b7280;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.sh-pb-contact__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sh-pb-contact__info {
    display: flex;
    flex-direction: column;
}

.sh-pb-contact__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.sh-pb-contact__role {
    font-size: 0.6875rem;
    color: #6b7280;
}

.sh-pb-contact__phone {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    white-space: nowrap;
}

.sh-pb-contact__phone:hover {
    color: var(--sh-primary, #f97316);
}

.sh-pb-contact__phone-prefix {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
}

.sh-pb-contact__phone-main {
    font-size: 0.875rem;
    font-weight: 600;
}

.sh-pb-contact__phone svg {
    color: #6b7280;
}

.sh-pb-contact__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: auto;
    align-items: stretch;
    min-width: 180px;
}

.sh-pb-contact__actions-row {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 767px) {
    .sh-pb-contact__actions {
        margin-left: 0;
        min-width: auto;
    }
}

.sh-pb-contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    flex: 1;
}

.sh-pb-contact__btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.sh-pb-contact__btn--tg {
    border-color: #0088cc;
    color: #0088cc;
}

.sh-pb-contact__btn--tg:hover {
    background: #e6f3fa;
    border-color: #0077b5;
    color: #0077b5;
}

.sh-pb-contact__btn--chat {
    border-color: #16a34a;
    color: #16a34a;
}

.sh-pb-contact__btn--chat:hover {
    background: #f0fdf4;
    border-color: #15803d;
    color: #15803d;
}

.sh-pb-contact__callback {
    display: flex;
    gap: 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.8);
}

.sh-pb-contact__input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    border: none;
    outline: none;
    background: transparent;
    color: #334155;
}

.sh-pb-contact__input:focus {
    background: rgba(255,255,255,0.5);
}

.sh-pb-contact__input::placeholder {
    color: #94a3b8;
}

.sh-pb-contact__send {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sh-pb-contact__send:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateX(2px);
}

.sh-pb-contact__send svg {
    width: 14px;
    height: 14px;
}

/* Quick callback loading state */
.sh-pb-contact__send--loading {
    opacity: 0.7;
    cursor: wait;
}

.sh-pb-contact__send--loading svg {
    animation: sh-spin 1s linear infinite;
}

@keyframes sh-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Quick callback feedback messages */
.sh-pb-contact__feedback {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 0.5rem);
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
    text-align: center;
    animation: sh-fadeIn 0.2s ease;
    z-index: 10;
}

.sh-pb-contact__feedback--success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sh-pb-contact__feedback--error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.sh-pb-contact__feedback--fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes sh-fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Make callback container relative for feedback positioning */
.sh-pb-contact__callback {
    position: relative;
}

/* ==========================================================================
   SERIES AREA SWITCHER — Same model, different power/area
   ========================================================================== */

.sh-series-switcher {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    background: rgba(255,255,255,0.5);
    border-radius: 12px;
    border: 1px solid rgba(16,185,129,0.2);
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.5) inset,
        0 0 20px rgba(16,185,129,0.08),
        0 0 40px rgba(16,185,129,0.04);
}

@media (min-width: 480px) {
    .sh-series-switcher {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.sh-series-switcher__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
}

.sh-series-switcher__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sh-series-switcher__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    min-width: 60px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sh-series-switcher__pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.sh-series-switcher__pill--active {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
    cursor: default;
}

.sh-series-switcher__pill--active:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
}

/* ==========================================================================
   Product Benefits (HAIER)
   ========================================================================== */

.sh-product-benefits {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.sh-product-benefits__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.25rem;
}

.sh-product-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.sh-product-benefit {
    display: flex;
    gap: 0.875rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sh-product-benefit:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sh-product-benefit__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sh-product-benefit__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sh-product-benefit__icon--default {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: #c7d2fe;
    color: #6366f1;
}

.sh-product-benefit__content {
    flex: 1;
    min-width: 0;
}

.sh-product-benefit__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.sh-product-benefit__value {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   S51.2 - Product Features (УТП) - S58.0 Compact Chips
   ========================================================================== */

.sh-product-features {
    margin-bottom: 1.5rem;
}

.sh-product-features__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.sh-product-features__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sh-product-features__item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 0.8125rem;
    color: #166534;
    line-height: 1.3;
    max-width: 100%;
}

.sh-product-features__item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

@media (max-width: 767px) {
    .sh-product-features__item span {
        white-space: normal;
        max-width: 100%;
    }
}

.sh-product-features__icon {
    flex-shrink: 0;
    color: #22c55e;
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Description Benefits (compact chips in description tab) - S58.0
   ========================================================================== */

.sh-desc-benefits {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.sh-desc-benefits__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.625rem;
}

.sh-desc-benefits__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sh-desc-benefits__item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 0.8125rem;
    line-height: 1.3;
    color: #166534;
    max-width: 100%;
}

.sh-desc-benefits__icon {
    flex-shrink: 0;
    color: #22c55e;
    width: 14px;
    height: 14px;
}

.sh-desc-benefits__content {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.sh-desc-benefits__content strong {
    font-weight: 500;
    color: #166534;
}

.sh-desc-benefits__value {
    color: #15803d;
    margin-left: 0.25rem;
}

/* Remove raw HTML tags display */
.sh-desc-benefits__value p {
    display: inline;
    margin: 0;
    padding: 0;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .sh-desc-benefits {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .sh-desc-benefits__title {
        font-size: 0.875rem;
    }
    
    .sh-desc-benefits__item {
        font-size: 0.8125rem;
    }
    
    .sh-desc-benefits__content {
        white-space: normal;
        max-width: 100%;
    }
}

/* ==========================================================================
   Product Documents (HAIER)
   ========================================================================== */

.sh-product-documents {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.sh-product-documents__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.sh-product-documents__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sh-product-document {
    display: inline-block;
}

.sh-product-document__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sh-product-document__link:hover {
    background: #f8fafc;
    border-color: #6366f1;
    color: #6366f1;
}

.sh-product-document__link svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.sh-product-document__link:hover svg {
    opacity: 1;
}

/* ==========================================================================
   S54 - Related Products Compact Cards
   ========================================================================== */

.sh-related-products {
    padding: 2.5rem 0;
}

.sh-related-products__header {
    margin-bottom: 1.5rem;
}

.sh-related-products__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.sh-related-products__subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.sh-related-products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .sh-related-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .sh-related-products__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Compact Card */
.sh-card-compact {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}

.sh-card-compact:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Compact Card Image */
.sh-card-compact__image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    overflow: hidden;
    padding: 12px;
}

.sh-card-compact__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sh-card-compact:hover .sh-card-compact__image img {
    transform: scale(1.03);
}

/* Compact Card Badge */
.sh-card-compact__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 4px;
    line-height: 1;
}

/* Compact Card Body */
.sh-card-compact__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px;
    gap: 8px;
}

/* Compact Card Title */
.sh-card-compact__title {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    color: #111827;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(10px * 1.3 * 2);
}

.sh-card-compact__title a {
    color: inherit;
    text-decoration: none;
}

.sh-card-compact__title a:hover {
    color: #f97316;
}

@media (min-width: 768px) {
    .sh-card-compact__title {
        font-size: 10px;
        min-height: calc(10px * 1.3 * 2);
    }
}

@media (min-width: 1024px) {
    .sh-card-compact__title {
        font-size: 11px;
        min-height: calc(11px * 1.3 * 2);
    }
}

/* Compact Card Price */
.sh-card-compact__price {
    margin-top: auto;
}

.sh-card-compact__price-current {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.sh-card-compact__price-old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 6px;
}

.sh-card-compact__price-request {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

/* Personal price in compact card */
.sh-card-compact__price .cc-price--personal {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.sh-card-compact__price .cc-price--personal-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: #059669;
}

.sh-card-compact__price .cc-price--personal-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #059669;
}

.sh-card-compact__price .cc-price--rc {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 0.6875rem;
    color: #9ca3af;
}

.sh-card-compact__price .cc-price--current,
.sh-card-compact__price .cc-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.sh-card-compact__price .cc-price--old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Compact Card Button */
.sh-card-compact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sh-card-compact__btn:hover {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
}

/* Area/Power Badge */
.sh-card-compact__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.sh-card-compact__spec {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6875rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.sh-card-compact__spec svg {
    width: 10px;
    height: 10px;
    opacity: 0.7;
}
