/* ==========================================================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ (APPLE DESIGN SYSTEM - ADMIN EXTENDED)
   ========================================================================== */
:root {
    --apple-bg: #f5f5f7;
    --apple-surface: #ffffff;
    --apple-text: #1d1d1f;
    --apple-text-sec: #86868b;
    --apple-text-muted: #6e6e73;
    --apple-green: #607d0b;
    --apple-green-light: #c9e265;
    --apple-green-bg: #eef6d8;
    --apple-dark: #1d1d1f;
    --apple-dark-hover: #000000;
    --grad-berry: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
    --bg-berry-soft: radial-gradient(circle at top right, #fff0f3 0%, #ffffff 100%);
    --border-radius-xl: 24px;
    --border-radius-lg: 18px;
    --border-radius-md: 14px;
    --border-radius-sm: 10px;
    --apple-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    --star-color: #c9e265;
}

*, *::before, *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.apple-product-body {
    background-color: var(--apple-bg) !important;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
    color: var(--apple-text);
    font-size: 15px;
    line-height: 1.5;
}

/* ==========================================================================
   2. БЕГУЩАЯ СТРОКА (MARQUEE)
   ========================================================================== */
.apple-marquee-wrapper {
    width: 100%;
    background: linear-gradient(90deg, #e3f2c1 0%, #c9e265 50%, #e3f2c1 100%);
    overflow: hidden;
    white-space: nowrap;
    padding: 9px 0;
    position: relative;
    z-index: 100;
}

.apple-marquee-content {
    display: inline-block;
    animation: marquee 35s linear infinite;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #000000;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   3. АДМИН-ПАНЕЛЬ (MEDIA STUDIO & DROPZONE)
   ========================================================================== */
.admin-photo-trigger {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(96, 125, 11, 0.4);
    color: var(--apple-text);
    padding: 7px 14px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 15;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.admin-photo-trigger:hover {
    background: #ffffff;
    border-color: var(--apple-green);
    transform: scale(1.04);
}

.admin-photo-trigger svg {
    width: 16px;
    height: 16px;
    stroke: var(--apple-dark);
}

.apple-admin-bar-floater {
    position: absolute;
    top: 60px;
    left: 16px;
    width: 320px;
    max-width: calc(100vw - 32px);
    background: rgba(29, 29, 31, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    color: #ffffff;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    transform: translateY(-8px);
    display: flex;
    flex-direction: column;
    z-index: 40;
}

.apple-admin-bar-floater.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.admin-floater-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-floater-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-badge {
    background: var(--apple-green-light);
    color: #000000;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-cat-info {
    color: #d2d2d7;
    font-size: 13px;
}

.admin-floater-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-url-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    width: 100%;
    box-sizing: border-box;
}

.admin-url-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.admin-btns-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.admin-action-btn,
.admin-upload-btn-main {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 7px 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, background 0.2s;
}

.admin-upload-btn-main {
    background: var(--apple-dark);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.admin-action-btn:hover { opacity: 0.85; }
.admin-upload-btn-main:hover { background: #000000; }

.admin-dropzone-area {
    width: 100%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.admin-dropzone-area:hover,
.admin-dropzone-area.dragover-active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--apple-green-light);
}

.admin-dropzone-area svg {
    width: 28px !important;
    height: 28px !important;
    stroke: #8e8e93;
    margin-bottom: 6px;
    transition: stroke 0.2s;
}

.admin-dropzone-area:hover svg,
.admin-dropzone-area.dragover-active svg {
    stroke: var(--apple-green-light);
}

.admin-dropzone-area span {
    font-size: 12px;
    color: #d2d2d7;
    line-height: 1.35;
    pointer-events: none;
}

.admin-clear-btn {
    background: transparent;
    color: #ff453a;
    border: 1px solid rgba(255, 69, 58, 0.3);
    padding: 7px 0;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.admin-clear-btn:hover {
    background: rgba(255, 69, 58, 0.1);
}

.admin-upload-progress-container {
    width: 100%;
    display: none;
    margin-top: 4px;
}

.admin-upload-progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.admin-upload-progress-bar {
    height: 100%;
    background: var(--apple-green-light);
    width: 0%;
    transition: width 0.2s ease;
}

.admin-upload-status-text {
    font-size: 11px;
    color: #8e8e93;
    text-align: center;
}

.admin-current-photos {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-photo-item {
    position: relative;
    flex: 0 0 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: grab;
    transition: transform 0.2s, opacity 0.2s;
    background: #000000;
}

.admin-photo-item:active { cursor: grabbing; }

.admin-photo-item.dragging {
    opacity: 0.4;
    transform: scale(0.95);
    border: 2px dashed var(--apple-green-light);
}

.admin-photo-item.drag-over {
    border: 2px solid var(--apple-green-light);
    transform: scale(1.05);
}

.admin-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-photo-del {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255, 59, 48, 0.9);
    color: #ffffff;
    border: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s;
}

.admin-photo-del:hover {
    transform: scale(1.2);
}

/* ==========================================================================
   3.1. СПЕЦИФИЧНЫЕ ДЛЯ АДМИНА JSON-БЕЙДЖИ И ВЫДЕЛЕНИЯ
   ========================================================================== */
.apple-admin-json-badge {
    background: #1d1d1f !important;
    color: #c9e265 !important;
    padding: 4px 12px !important;
    border-radius: 980px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
    border: 1px solid rgba(201, 226, 101, 0.4) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.apple-admin-json-badge span {
    font-size: 12px;
}

.spec-bento-card.spec-json-highlight {
    border-color: rgba(96, 125, 11, 0.3) !important;
    background: #fbfdf7 !important;
    position: relative;
}

.spec-bento-card.spec-json-highlight::after {
    content: 'JSON';
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 8px;
    font-weight: 800;
    color: var(--apple-green);
    background: var(--apple-green-bg);
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   4. СТРАНИЦА И ХЛЕБНЫЕ КРОШКИ
   ========================================================================== */
.apple-product-page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 32px 80px;
    box-sizing: border-box;
}

.apple-breadcrumb {
    margin-bottom: 24px;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.breadcrumb-item a {
    color: var(--apple-text-sec);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

.breadcrumb-item a:hover {
    color: var(--apple-dark);
}

.breadcrumb-item.active {
    color: var(--apple-text);
    font-weight: 500;
}

.breadcrumb-sep {
    color: #c7c7cc;
    font-size: 11px;
}

.apple-product-hero-3col {
    display: grid;
    grid-template-columns: minmax(360px, 1.15fr) minmax(380px, 1.25fr) 360px;
    gap: 36px;
    align-items: start;
    width: 100%;
}

/* ==========================================================================
   5. ГАЛЕРЕЯ ТОВАРА (ВЕРХНЯЯ)
   ========================================================================== */
.hero-col-gallery {
    position: sticky;
    top: 24px;
}

.apple-main-image-wrapper {
    background: var(--apple-surface);
    border-radius: var(--border-radius-xl);
    padding: 16px;
    box-shadow: var(--apple-shadow);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
    cursor: zoom-in;
}

.apple-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    transition: opacity 0.15s ease;
}

.lazy-blur-img {
    filter: blur(10px);
    transform: scale(1.02);
    transition: filter 0.4s ease, transform 0.4s ease, opacity 0.15s ease;
}

.apple-main-image:not(.lazy-blur-img) {
    filter: blur(0);
    transform: scale(1);
}

.apple-modern-zoom-pill {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    color: var(--apple-dark);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.apple-modern-zoom-pill:hover {
    background: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.apple-modern-zoom-pill svg {
    width: 18px;
    height: 18px;
    stroke: var(--apple-dark);
}

.apple-thumbnails-bento {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.apple-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    background: var(--apple-surface);
    box-shadow: var(--apple-shadow);
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.55;
}

.apple-thumb.active,
.apple-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.apple-thumb.active {
    border-color: var(--apple-dark);
}

/* ==========================================================================
   6. ХАРАКТЕРИСТИКИ ТОВАРА
   ========================================================================== */
.info-header-block {
    margin-bottom: 24px;
}

.apple-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apple-text-sec);
    margin-bottom: 8px;
}

.apple-product-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin: 0;
    color: var(--apple-text);
}

.apple-specs-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.spec-bento-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    min-height: 74px;
    justify-content: center;
}

.spec-bento-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--apple-text-sec);
}

.spec-bento-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--apple-text);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.berry-desc-block {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.berry-desc-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--apple-text-sec);
    margin: 0 0 12px 0;
}

.berry-desc-content {
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    color: #1d1d1f;
    max-height: 2000px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.berry-desc-content.collapsed {
    max-height: 115px;
}

.berry-desc-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
}

.berry-desc-more {
    background: transparent;
    border: none;
    color: var(--apple-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 12px 0 0 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.berry-desc-more:hover {
    opacity: 0.7;
}

.berry-desc-more span {
    font-size: 10px;
}

/* ==========================================================================
   6.1. КОНТЕКСТНЫЕ ФОТО ИЗ ОБЩИХ ОТЗЫВОВ (APPLE BENTO СУПЕР-МИНИАТЮРЫ)
   ========================================================================== */
.product-context-reviews-wrap {
    margin-top: 24px;
    padding: 22px 24px;
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--apple-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-context-reviews-wrap.ready {
    display: block;
    opacity: 1;
}

.pcr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pcr-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--apple-text-sec);
    display: flex;
    align-items: center;
    gap: 7px;
}

.pcr-title svg {
    width: 16px;
    height: 16px;
    stroke: var(--apple-green);
}

.pcr-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pcr-thumb-item {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    background: #f5f5f7;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    flex-shrink: 0;
}

.pcr-thumb-item:hover {
    transform: scale(1.1) translateY(-2px);
    border-color: var(--apple-dark);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    z-index: 5;
}

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

/* ==========================================================================
   7. ПАНЕЛЬ ПОКУПКИ И ВАРИАЦИИ
   ========================================================================== */
.berry-action-card {
    background: var(--bg-berry-soft);
    border: 1px solid rgba(255, 8, 68, 0.08);
    border-radius: var(--border-radius-xl);
    padding: 26px 22px;
    box-shadow: 0 10px 30px rgba(255, 8, 68, 0.04);
    position: sticky;
    top: 24px;
}

.apple-price-widget {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.price-widget-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--apple-text-sec);
    margin-bottom: 2px;
}

.price-widget-value {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--apple-text);
    line-height: 1;
}

.berry-badge-grad {
    background: var(--grad-berry);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 10px rgba(255, 8, 68, 0.18);
}

.berry-stock-status {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.berry-stock-status.in-stock {
    color: var(--apple-green);
}

.berry-stock-status.out-of-stock {
    color: #ff3b30;
}

.berry-stock-status svg {
    width: 16px;
    height: 16px;
}

.apple-variations-wrapper .wcvc-addon-wrapper {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.apple-variations-wrapper .wcvc-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--apple-text-sec) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 10px !important;
}

.apple-variations-wrapper .wcvc-btn-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

.apple-variations-wrapper .wcvc-addon-btn,
.apple-variations-wrapper .wcvc-btn {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 14px 10px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: var(--apple-text) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 4px !important;
    box-shadow: none !important;
}

.apple-variations-wrapper .wcvc-addon-btn b,
.apple-variations-wrapper .wcvc-btn b {
    font-size: 13px !important;
    color: var(--apple-text-sec) !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    margin-top: 0 !important;
}

.apple-variations-wrapper .wcvc-addon-btn:hover,
.apple-variations-wrapper .wcvc-btn:hover {
    border-color: rgba(0, 0, 0, 0.25) !important;
}

.apple-variations-wrapper .wcvc-addon-btn.active,
.apple-variations-wrapper .wcvc-btn.active {
    background: #ffffff !important;
    border: 2px solid var(--apple-green) !important;
    box-shadow: 0 4px 16px rgba(96, 125, 11, 0.15) !important;
    padding: 13px 9px !important;
    color: var(--apple-text) !important;
}

.apple-variations-wrapper .wcvc-addon-btn.active b,
.apple-variations-wrapper .wcvc-btn.active b {
    color: var(--apple-green) !important;
    font-weight: 700 !important;
}

.apple-buy-button {
    width: 100%;
    background: var(--apple-dark);
    color: #ffffff;
    border: none;
    padding: 16px 20px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.015em;
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.2s ease;
    margin-bottom: 12px;
}

.apple-buy-button:hover {
    background: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.apple-buy-button:active {
    transform: scale(0.98);
}

.apple-delivery-btn {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.2s;
    text-align: left;
}

.apple-delivery-btn:hover {
    border-color: rgba(255, 8, 68, 0.2);
    transform: translateY(-1px);
}

.delivery-btn-icon-berry {
    width: 36px;
    height: 36px;
    background: #fff0f3;
    color: #ff0844;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.delivery-btn-icon-berry svg {
    width: 18px;
    height: 18px;
}

.delivery-btn-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--apple-text);
    margin-bottom: 2px;
}

.delivery-btn-text span {
    font-size: 12px;
    color: var(--apple-text-sec);
    letter-spacing: -0.01em;
}

.apple-delivery-btn .arrow {
    margin-left: auto;
    font-size: 18px;
    color: #ffb199;
}

/* ==========================================================================
   8. ГАЛЕРЕЯ КАТЕГОРИИ (ВНЕШНИЙ ВИД САЖЕНЦЕВ)
   ========================================================================== */
.apple-category-gallery-row {
    width: 100%;
    margin-top: 54px;
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: 28px 32px;
    box-shadow: var(--apple-shadow);
}

.category-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.cat-gallery-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cat-gallery-subtitle {
    font-size: 13px;
    color: var(--apple-text-sec);
    letter-spacing: -0.01em;
    display: block;
    margin-top: 4px;
}

.cat-gallery-controls {
    display: flex;
    gap: 8px;
}

.cat-nav-btn {
    width: 36px;
    height: 36px;
    background: #f5f5f7;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cat-nav-btn:hover {
    background: #e5e5ea;
}

.apple-extra-gallery-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
    justify-content: flex-start;
    align-items: flex-start;
}

.apple-extra-gallery-strip::-webkit-scrollbar {
    display: none;
}

.extra-gallery-item {
    flex: 0 0 240px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    cursor: grab;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    scroll-snap-align: start;
    transition: transform 0.2s, opacity 0.2s;
    position: relative;
}

.extra-gallery-item:active {
    cursor: grabbing;
}

.extra-gallery-item:hover {
    transform: translateY(-3px);
}

.extra-gallery-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    border: 2px dashed var(--apple-green-light);
}

.extra-gallery-item.drag-over {
    border: 2px solid var(--apple-green-light);
    transform: scale(1.05);
}

.extra-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.upload-spinner {
    width: 26px;
    height: 26px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--apple-green-light);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.extra-gallery-placeholder {
    flex: 0 0 240px;
    aspect-ratio: 4 / 3;
    background: #fafafa;
    border: 1px dashed #c7c7cc;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s;
    padding: 16px;
}

.extra-gallery-placeholder:hover,
.extra-gallery-placeholder.dragover-active {
    border-color: var(--apple-green-light);
    background: var(--apple-green-bg);
}

.extra-gallery-placeholder svg {
    width: 32px;
    height: 32px;
    stroke: #8e8e93;
    margin-bottom: 8px;
    transition: stroke 0.2s;
}

.extra-gallery-placeholder:hover svg,
.extra-gallery-placeholder.dragover-active svg {
    stroke: var(--apple-green);
}

.placeholder-text {
    font-size: 11px;
    color: #8e8e93;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    pointer-events: none;
}

.placeholder-hint {
    font-size: 13px;
    font-weight: 600;
    color: var(--apple-dark);
    letter-spacing: -0.01em;
    cursor: pointer;
}

/* ==========================================================================
   9. СЕКЦИЯ 50 НА 50 (ОТЗЫВЫ + РЕКОМЕНДУЕМЫЕ)
   ========================================================================== */
.apple-combined-bottom-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    margin-top: 54px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.apple-reviews-column,
.apple-related-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.apple-section-heading {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 20px 0;
    color: var(--apple-text);
}

/* ОТЗЫВЫ */
.mp-reviews-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    flex-grow: 1;
}

.mp-rating-summary {
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: 22px;
    box-shadow: var(--apple-shadow);
    text-align: center;
}

.mp-rating-score {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--apple-text);
    margin-bottom: 4px;
}

.mp-stars-row {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 6px;
}

.mp-rating-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--apple-text-sec);
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.mp-write-review-btn {
    width: 100%;
    background: #f5f5f7;
    color: var(--apple-text);
    border: none;
    padding: 11px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background 0.2s;
}

.mp-write-review-btn:hover {
    background: #e8e8ed;
}

.mp-reviews-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.mp-review-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 16px;
    box-shadow: var(--apple-shadow);
    transition: all 0.3s ease;
}

.mp-review-card.pending-review-item {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #ffffff !important;
}

.mp-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mp-author-avatar {
    width: 36px;
    height: 36px;
    background: #f0f0f2;
    color: var(--apple-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.mp-author-meta {
    flex-grow: 1;
}

.mp-author-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.015em;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.mp-verified-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--apple-green);
    background: var(--apple-green-bg);
    padding: 2px 6px;
    border-radius: 4px;
}

.mp-order-badge {
    font-size: 10px;
    font-weight: 500;
    color: var(--apple-text-sec);
    background: #f0f0f2;
    padding: 2px 8px;
    border-radius: 4px;
}

.mp-review-date {
    font-size: 11px;
    color: var(--apple-text-sec);
    letter-spacing: -0.01em;
}

.mp-review-stars {
    display: flex;
    gap: 2px;
}

.mp-review-stars svg {
    width: 15px;
    height: 15px;
}

.mp-review-body {
    font-size: 13px;
    line-height: 1.48;
    color: #333336;
    letter-spacing: -0.01em;
}

/* ФОТО ВНУТРИ КАРТОЧКИ ОТЗЫВА */
.mp-review-images-row,
.review-images {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 10px !important;
    font-size: 0 !important;
    color: transparent !important;
    line-height: 0 !important;
    align-items: center !important;
}

.mp-review-photo-thumb {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    background: #f5f5f7 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    line-height: 0 !important;
}

.mp-review-photo-thumb:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

.mp-review-images-row img,
.review-images img,
.mp-review-photo-thumb img,
img[class*="xai-unique-review-image-"] {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
}

/* ЗАГРУЗКА И ПРЕВЬЮ ФОТО К ОТЗЫВУ (NEO-APPLE MODERN PHOTO UPLOADER 2026) */
.mp-modern-uploader {
    width: 100%;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mp-dropzone-box {
    position: relative;
    width: 100%;
    background: #fbfbfd;
    border: 1.5px dashed #d2d2d7;
    border-radius: 18px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    user-select: none;
}

.mp-dropzone-box:hover,
.mp-dropzone-box.dragover-active {
    background: #f2f8e9;
    border-color: var(--apple-green);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(96, 125, 11, 0.08);
}

.mp-dropzone-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apple-dark);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.mp-dropzone-box:hover .mp-dropzone-icon-wrap,
.mp-dropzone-box.dragover-active .mp-dropzone-icon-wrap {
    background: var(--apple-green);
    color: #ffffff;
    border-color: var(--apple-green);
    transform: scale(1.06);
}

.mp-dropzone-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.mp-dropzone-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    min-width: 0;
}

.mp-dropzone-main-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--apple-text);
}

.mp-dropzone-sub-text {
    font-size: 11px;
    color: var(--apple-text-sec);
    letter-spacing: -0.01em;
}

.mp-browse-link {
    color: var(--apple-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mp-dropzone-counter {
    background: #f0f0f5;
    color: #636366;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 980px;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.mp-dropzone-box:hover .mp-dropzone-counter {
    background: #e1f0c4;
    color: #3b5204;
}

.mp-previews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 6px 2px;
}

.mp-preview-item {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    animation: previewPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    flex-shrink: 0;
}

@keyframes previewPopIn {
    0% { opacity: 0; transform: scale(0.7); }
    100% { opacity: 1; transform: scale(1); }
}

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

.mp-preview-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    background: rgba(29, 29, 31, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.mp-preview-remove:hover {
    background: #ff3b30;
    transform: scale(1.15);
}

.mp-add-more-btn {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    border: 1.5px dashed #c7c7cc;
    background: #fafafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    color: var(--apple-text-sec);
    font-size: 10px;
    font-weight: 600;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mp-add-more-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--apple-text-sec);
}

.mp-add-more-btn:hover {
    border-color: var(--apple-green);
    color: var(--apple-green);
    background: #f4faeb;
}

.mp-add-more-btn:hover svg {
    stroke: var(--apple-green);
}

.mp-no-reviews {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 30px 16px;
    text-align: center;
    box-shadow: var(--apple-shadow);
}

.mp-no-reviews-icon svg {
    width: 32px !important;
    height: 32px !important;
    stroke: #86868b;
    margin: 0 auto 8px;
    display: block;
}

.mp-no-reviews strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--apple-text);
    margin-bottom: 2px;
}

.mp-no-reviews p {
    margin: 0;
    font-size: 12px;
    color: var(--apple-text-sec);
    letter-spacing: -0.01em;
}

.mp-add-review-box {
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: 20px;
    box-shadow: var(--apple-shadow);
    margin-top: auto;
}

.mp-add-review-box h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--apple-text);
}

.mp-form-rating-select {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.mp-form-rating-select label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--apple-text);
}

.mp-interactive-stars {
    display: flex;
    gap: 4px;
    cursor: pointer;
}

.star-icon {
    width: 20px;
    height: 20px;
    fill: #e5e5ea;
    stroke: #d2d2d7;
    stroke-width: 1px;
    stroke-linejoin: round;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.star-icon.active {
    fill: var(--star-color);
    stroke: var(--star-color);
}

.star-icon:hover {
    transform: scale(1.15);
}

.mp-form-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.mp-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mp-form-inputs input[type="text"],
.mp-form-inputs input[type="email"],
.mp-form-inputs textarea {
    width: 100%;
    background: #f5f5f7;
    border: 1px solid transparent;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: -0.01em;
    color: var(--apple-text);
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.mp-form-inputs input::placeholder,
.mp-form-inputs textarea::placeholder {
    color: #86868b;
}

.mp-form-inputs input:focus,
.mp-form-inputs textarea:focus {
    background: #ffffff;
    border-color: var(--apple-dark);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
    outline: none;
}

.mp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: -0.01em;
    color: var(--apple-text-sec);
    cursor: pointer;
    user-select: none;
}

.mp-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #c7c7cc;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    margin: 0;
    flex-shrink: 0;
}

.mp-checkbox-label input[type="checkbox"]:checked {
    background: var(--apple-dark);
    border-color: var(--apple-dark);
}

.mp-checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ==========================================================================
   10. СОВРЕМЕННЫЙ СЛАЙДЕР БЕЗОПАСНОСТИ (APPLE NEO-SHIMMER 2026)
   ========================================================================== */
.apple-slider-captcha {
    width: 100%;
    margin: 6px 0 14px 0;
}

.apple-slider-track {
    position: relative;
    width: 100%;
    height: 48px;
    background: #f0f0f4;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 980px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.apple-slider-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #86868b 0%, #1d1d1f 50%, #86868b 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerWave 3.5s infinite linear;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

@keyframes shimmerWave {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.apple-slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #dcf09e 0%, #c9e265 100%);
    border-radius: 980px 0 0 980px;
    pointer-events: none;
    will-change: width;
}

.apple-slider-handle {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 5;
    color: #1d1d1f;
    will-change: transform;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.2s ease;
}

.apple-slider-handle:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.apple-slider-handle:active,
.apple-slider-track.dragging-active .apple-slider-handle {
    cursor: grabbing;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.apple-slider-handle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.apple-slider-track:not(.verified):hover .apple-slider-handle svg {
    transform: translateX(2px);
}

.apple-slider-track.verified {
    background: #eef6d8;
    border-color: #c9e265;
    box-shadow: 0 0 18px rgba(201, 226, 101, 0.25);
}

.apple-slider-track.verified .apple-slider-progress {
    width: 100% !important;
    border-radius: 980px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-slider-track.verified .apple-slider-handle {
    background: #607d0b;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(96, 125, 11, 0.4);
    cursor: default;
    animation: handleSuccessPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes handleSuccessPop {
    0% { transform: scale(0.85); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.apple-slider-track.verified .check-svg path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: drawCheck 0.45s 0.1s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.apple-slider-track.verified .apple-slider-label {
    background: none;
    -webkit-text-fill-color: #435905;
    color: #435905;
    font-weight: 700;
    animation: textSuccessSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 1 !important;
}

@keyframes textSuccessSlide {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.mp-submit-btn {
    background: var(--apple-dark);
    color: #ffffff;
    border: none;
    padding: 14px 22px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.015em;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
    width: 100%;
}

.mp-submit-btn:hover {
    background: #000000;
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   11. РЕКОМЕНДУЕМЫЕ СОРТА (ШИРОКИЕ БАННЕРЫ В 1 СТОЛБИК - БЕЗ КОНФЛИКТОВ)
   ========================================================================== */
.apple-related-column {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.apple-related-column .apple-related-single-column,
.apple-related-column .apple-bento-grid-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

.apple-related-column .bento-grid-item {
    cursor: pointer !important;
    overflow: hidden !important;
    position: relative !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 20px !important;
    color: #1d1d1f !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
    min-height: 154px !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 16px 20px !important;
    gap: 18px !important;
}

.apple-related-column .bento-grid-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.apple-related-column .bento-normal .apple-card-content {
    width: 60% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
}

.apple-related-column .bento-normal .apple-card-img-wrap {
    width: 38% !important;
    min-width: 130px !important;
    max-width: 220px !important;
    height: 100% !important;
    min-height: 122px !important;
    border-radius: 14px !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.02) !important;
    flex-shrink: 0 !important;
}

.apple-related-column .apple-card-info {
    display: flex !important;
    flex-direction: column !important;
}

.apple-special-badge {
    display: inline-flex !important;
    align-items: center !important;
    color: #ffffff !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    width: fit-content !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
    white-space: nowrap !important;
}

.pop-badge {
    background: linear-gradient(135deg, #ff3b30 0%, #ff6b22 100%) !important;
}

.nov-badge {
    background: linear-gradient(135deg, #007aff 0%, #34aadc 100%) !important;
}

.apple-related-column .apple-cat-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 2px !important;
}

.apple-related-column .apple-card-cat {
    color: #86868b !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.apple-related-column h3.apple-card-title {
    margin: 0 !important;
    width: 100% !important;
}

.apple-related-column h3.apple-card-title a {
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #1d1d1f !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    letter-spacing: -0.02em !important;
}

.apple-related-column .apple-stats-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
    align-items: center !important;
}

.apple-related-column .apple-stat-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-weight: 600 !important;
    color: #48484a !important;
    background: #f5f5f7 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
}

.apple-related-column .apple-card-bottom-cluster {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
}

.apple-related-column .apple-card-price-wrap {
    margin-bottom: 0 !important;
}

.apple-related-column .price {
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    color: #1d1d1f !important;
    display: inline-block !important;
}

.apple-related-column .apple-card-action a.button {
    background: #1d1d1f !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap !important;
    min-width: 96px !important;
    height: 34px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    font-size: 13px !important;
}

.apple-related-column .apple-card-action a.button:hover {
    background: #000000 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.apple-related-column .apple-zks-badge {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    color: #1d1d1f !important;
    padding: 2px 6px !important;
    border-radius: 5px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    pointer-events: none !important;
}

.apple-related-column .apple-card-img-wrap a.apple-gallery-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    border-radius: inherit !important;
    overflow: hidden !important;
}

.apple-related-column .apple-card-img-wrap img.apple-gallery-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    position: absolute !important;
    top: 0;
    left: 0;
    transition: transform 0.4s ease !important;
}

.apple-related-column .bento-grid-item:hover .apple-card-img-wrap img.apple-gallery-img {
    transform: scale(1.04) !important;
}

.apple-related-empty {
    padding: 30px;
    text-align: center;
    color: var(--apple-text-sec);
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--apple-shadow);
}

/* ==========================================================================
   12. ИЗБРАННОЕ (FAVORITES & WISHLIST MODAL)
   ========================================================================= */
.apple-fav-container {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 15 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.hero-col-gallery .apple-fav-container {
    top: 16px !important;
    right: 16px !important;
    z-index: 25 !important;
}

.apple-copy-btn,
.apple-fav-btn {
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    flex-shrink: 0 !important;
}

.apple-copy-btn:hover,
.apple-fav-btn:hover {
    transform: scale(1.1) !important;
    background: #ffffff !important;
}

.apple-copy-btn svg {
    width: 15px !important;
    height: 15px !important;
    stroke: #86868b;
    transition: stroke 0.2s !important;
}

.apple-copy-btn:hover svg {
    stroke: #1d1d1f !important;
}

.apple-fav-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: none;
    stroke: #86868b;
    stroke-width: 2.2;
    transition: fill 0.3s, stroke 0.3s !important;
}

.apple-fav-container.active .apple-fav-btn svg {
    fill: #ff3b30 !important;
    stroke: #ff3b30 !important;
}

.apple-fav-view-btn {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 12px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    cursor: pointer !important;
    opacity: 0 !important;
    transform: translateX(10px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.apple-fav-container.active .apple-fav-view-btn {
    opacity: 1 !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

.apple-fav-view-btn:hover {
    background: #ffffff !important;
    transform: scale(1.05) !important;
}

#apple-wishlist-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 100000 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s, visibility 0.3s !important;
}

#apple-wishlist-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.apple-wishlist-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.apple-wishlist-content {
    position: relative !important;
    width: 90% !important;
    max-width: 480px !important;
    max-height: 80vh !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    transform: translateY(20px) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

#apple-wishlist-modal.active .apple-wishlist-content {
    transform: translateY(0) !important;
}

.apple-wishlist-header {
    padding: 18px 22px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
}

.apple-wishlist-header h2 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
}

.apple-wishlist-close {
    background: #f0f0f5 !important;
    border: none !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    font-size: 13px !important;
    font-weight: bold !important;
    color: #86868b !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
}

.apple-wishlist-close:hover {
    background: #e5e5ea !important;
    color: #1d1d1f !important;
}

.apple-wishlist-body {
    padding: 18px 22px !important;
    overflow-y: auto !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.apple-wishlist-empty {
    text-align: center !important;
    color: #86868b !important;
    padding: 36px 0 !important;
    font-size: 15px !important;
}

.apple-wishlist-item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 10px 12px !important;
    background: #f5f5f7 !important;
    border-radius: 14px !important;
    transition: transform 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.apple-wishlist-item:hover {
    transform: scale(1.02) !important;
}

.apple-wishlist-item img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.apple-wishlist-item-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.apple-wishlist-item-info a {
    color: #1d1d1f !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
}

.apple-wishlist-item-price {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
}

.apple-wishlist-item-remove {
    background: #ffe5e5 !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    color: #ff3b30 !important;
    transition: background 0.2s !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.apple-wishlist-item-remove:hover {
    background: #ff3b30 !important;
    color: #ffffff !important;
}

.apple-wishlist-item-remove svg {
    width: 16px !important;
    height: 16px !important;
}

/* ==========================================================================
   13. ЛАЙТБОКСЫ (ФИКС ОДИНАКОВОГО КРУПНОГО РАЗМЕРА ВСЕХ ФОТО)
   ========================================================================== */
.apple-lightbox {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 10000001;
    display: flex;
    align-items: center;
}

.apple-lightbox-close,
.apple-lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-lightbox-close {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 18px;
}

.apple-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 18px;
}

.apple-lightbox-nav.prev {
    left: 32px;
}

.apple-lightbox-nav.next {
    right: 32px;
}

.apple-lightbox-nav svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
}

.apple-lightbox-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: 100vh;
    gap: 28px;
    padding: 0 12vw;
    box-sizing: border-box;
    align-items: center;
    scrollbar-width: none;
}

.apple-lightbox-scroll::-webkit-scrollbar {
    display: none;
}

.apple-lightbox-slide {
    flex: 0 0 auto;
    height: 82vh !important;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apple-lightbox-slide img {
    height: 82vh !important;
    max-height: 82vh !important;
    width: auto !important;
    max-width: 80vw !important;
    object-fit: contain !important;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   14. МОДАЛЬНОЕ ОКНО ДОСТАВКИ
   ========================================================================== */
.apple-info-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.apple-info-modal.show {
    opacity: 1;
}

.apple-info-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.apple-info-modal-dialog {
    position: relative;
    background: #f5f5f7;
    width: 92%;
    max-width: 620px;
    max-height: 88vh;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    z-index: 2;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.apple-info-modal.show .apple-info-modal-dialog {
    transform: scale(1);
}

.modal-top-bar {
    position: sticky;
    top: 0;
    background: rgba(245, 245, 247, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 5;
}

.modal-top-bar h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.apple-info-modal-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #3a3a3c;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.apple-info-modal-close svg {
    width: 24px;
    height: 24px;
}

.apple-info-modal-body {
    padding: 20px 24px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bento-delivery-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.card-head {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.badge.gray { background: #f0f0f2; color: #1d1d1f; }
.badge.orange { background: #fef0e6; color: #f26c0d; }
.badge.green { background: var(--apple-green-bg); color: var(--apple-green); }

.card-sub {
    font-size: 13px;
    color: var(--apple-text-sec);
    letter-spacing: -0.01em;
}

.clean-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.clean-list li {
    font-size: 14px;
    line-height: 1.5;
    color: #2c2c2e;
    position: relative;
    padding-left: 18px;
    letter-spacing: -0.01em;
}

.clean-list .dot {
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: #8e8e93;
    border-radius: 50%;
}

/* ==========================================================================
   15. МОДАЛЬНОЕ ОКНО ПРОСМОТРА ОТЗЫВА (APPLE BENTO MODAL)
   ========================================================================== */
#xai-review-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 10000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#xai-review-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
}

#xai-review-modal .xai-modal-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}

#xai-review-modal .xai-modal-dialog {
    position: relative !important;
    background: #ffffff !important;
    width: 92% !important;
    max-width: 860px !important;
    max-height: 88vh !important;
    border-radius: var(--border-radius-xl) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35) !important;
    overflow: hidden !important;
    z-index: 2 !important;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    flex-direction: column !important;
}

#xai-review-modal.show .xai-modal-dialog {
    transform: scale(1) translateY(0);
}

.xai-modal-header {
    padding: 16px 22px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.xai-modal-header h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    color: var(--apple-text);
}

.xai-modal-close {
    width: 32px !important;
    height: 32px !important;
    background: #f5f5f7 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--apple-dark);
    transition: background 0.2s, transform 0.15s !important;
}

.xai-modal-close:hover {
    background: #e5e5ea !important;
    transform: scale(1.05);
}

#xai-review-modal .xai-modal-body {
    display: grid !important;
    grid-template-columns: 1fr 1.05fr !important;
    padding: 24px !important;
    gap: 24px !important;
    overflow-y: auto !important;
    align-items: start !important;
    box-sizing: border-box !important;
}

.xai-modal-image-wrap {
    position: relative !important;
    background: #f5f5f7 !important;
    border-radius: var(--border-radius-lg) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 1 / 1 !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

#xai-modal-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.xai-modal-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease !important;
    color: var(--apple-dark);
    z-index: 5 !important;
}

.xai-modal-nav-btn:hover {
    background: #ffffff !important;
    transform: scale(1.08);
}

.xai-modal-nav-btn.prev { left: 10px !important; }
.xai-modal-nav-btn.next { right: 10px !important; }

.xai-modal-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.xai-modal-author-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.xai-modal-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: var(--apple-green-bg);
    color: var(--apple-green);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    font-size: 16px !important;
}

.xai-modal-author-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.xai-modal-author-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--apple-text);
    display: flex !important;
    align-items: center !important;
    gap: 6px;
}

.xai-modal-date {
    font-size: 12px !important;
    color: var(--apple-text-sec);
}

.xai-modal-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.xai-modal-rating-row svg {
    width: 16px !important;
    height: 16px !important;
}

.xai-modal-card-quote {
    background: #f5f5f7 !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.xai-modal-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--apple-text);
    white-space: pre-wrap !important;
    max-height: 220px !important;
    overflow-y: auto !important;
}

/* ==========================================================================
   16. АДАПТИВНОСТЬ
   ========================================================================== */
@media (max-width: 1200px) {
    .apple-product-page {
        padding: 20px 16px 60px;
    }
    .apple-product-hero-3col {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .hero-col-action {
        grid-column: span 2;
    }
    .berry-action-card {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: center;
    }
    .apple-combined-bottom-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 850px) {
    .apple-product-hero-3col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-col-action {
        grid-column: span 1;
    }
    .berry-action-card {
        grid-template-columns: 1fr;
    }
    .hero-col-gallery {
        position: relative;
        top: 0;
    }
    .apple-product-title {
        font-size: 28px;
    }
    .apple-specs-bento-grid {
        grid-template-columns: 1fr;
    }
    .apple-combined-bottom-section {
        grid-template-columns: 1fr;
    }
    .apple-related-column .bento-normal {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        max-height: none !important;
        min-height: auto !important;
    }
    .apple-related-column .bento-normal .apple-card-content {
        width: 100% !important;
        order: 2 !important;
    }
    .apple-related-column .bento-normal .apple-card-img-wrap {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 180px !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        order: 1 !important;
        margin-bottom: 12px !important;
    }
    .mp-input-row {
        grid-template-columns: 1fr;
    }
    .admin-photo-trigger {
        display: none !important;
    }
    #xai-review-modal .xai-modal-body {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px !important;
    }
    .xai-modal-image-wrap {
        aspect-ratio: 4 / 3 !important;
        width: 100% !important;
    }
}