/* Краса Без Меж - Mobile Landing */

:root {
    --primary: var(--primary);
    --primary-dark: var(--primary-dark);
    --accent: var(--accent);
    --gold: #ffc107;
    --success: #0d8090;
    --dark: #263238;
    --gray: #546e7a;
    --light: #f5f5f5;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--dark);
    background: var(--white);
    max-width: 480px;
    margin: 0 auto;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== HERO SECTION v2 - ЕЛЕГАНТНИЙ ========== */
.hero-v2 {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-dark) 100%);
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.hero-discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent) 100%);
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255,143,0,0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-top {
    padding: 25px 20px 15px;
    text-align: center;
}

.hero-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-brand {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.hero-main-image {
    position: relative;
    margin: 0 15px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.hero-main-image img {
    width: 100%;
    display: block;
}

.hero-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
    display: flex;
    justify-content: space-around;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.hero-info-icon {
    font-size: 18px;
}

.hero-info-text {
    font-size: 13px;
    font-weight: 600;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 15px;
}

.hero-price-block {
    display: flex;
    flex-direction: column;
}

.hero-old-price {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
}

.hero-new-price {
    font-size: 32px;
    font-weight: 800;
    color: #ffc107;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hero-new-price .price-from {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,215,0,0.7);
}

.hero-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(13,110,126,0.4);
    transition: all 0.3s;
    animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
    0%, 100% { box-shadow: 0 8px 25px rgba(13,110,126,0.4); }
    50% { box-shadow: 0 8px 35px rgba(13,110,126,0.6); }
}

.hero-cta-btn:active {
    transform: scale(0.98);
}

.cta-arrow {
    font-size: 20px;
    transition: transform 0.3s;
}

.hero-features {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.hero-feature .feature-icon {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.hero-feature .feature-text {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    margin-top: 10px;
}

.proof-avatars {
    display: flex;
}

.proof-avatars .avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: -8px;
    border: 2px solid var(--primary-dark);
}

.proof-avatars .avatar:first-child {
    margin-left: 0;
}

.proof-text {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.proof-text strong {
    color: #ffc107;
}

/* Старі стилі hero залишаємо для сумісності */
/* ========== HERO SECTION (legacy) ========== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 50%, var(--primary-dark) 100%);
    padding: 0;
    overflow: hidden;
}

.hero-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent);
    color: var(--white);
    padding: 8px 40px;
    font-weight: 800;
    font-size: 14px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(255,87,34,0.5);
    z-index: 10;
}

.hero-content {
    padding: 30px 20px 20px;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-title span {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 15px;
}

.hero-images img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.hero-images img:hover {
    transform: scale(1.02);
}

/* Price Block */
.hero-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 25px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.price-box {
    text-align: center;
}

.price-box.old .amount {
    font-size: 22px;
    text-decoration: line-through;
    opacity: 0.6;
}

.price-box.new .label {
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase;
}

.price-box.new .amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255,215,0,0.5);
}

/* Benefits Strip */
.benefits-strip {
    display: flex;
    background: var(--white);
    padding: 15px 10px;
    gap: 5px;
}

.benefit {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
}

.benefit-icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.benefit-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

/* CTA Button */
.btn-cta {
    display: block;
    margin: 0 15px 20px;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(13,110,126,0.4);
    transition: all 0.3s;
    text-decoration: none;
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(13,110,126,0.4); }
    50% { transform: scale(1.02); box-shadow: 0 10px 30px rgba(13,110,126,0.6); }
}

.btn-cta:active {
    transform: scale(0.98);
}

/* ========== SECTIONS ========== */
.section {
    padding: 30px 15px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title span {
    color: var(--primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========== PRODUCT CARD ========== */
.product-card {
    background: var(--white);
    border-radius: 20px;
    margin: 0 15px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.product-sku {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 20px;
    font-weight: 800;
    margin: 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-rating {
    font-size: 14px;
}

.product-rating .stars {
    color: var(--gold);
}

/* Video Block */
.product-video {
    position: relative;
    background: #000;
}

.product-video video {
    width: 100%;
    display: block;
}

/* Gallery */
.product-gallery {
    position: relative;
    overflow: hidden;
    margin: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
}

.gallery-track img {
    min-width: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Color Variants */
.color-variants {
    padding: 15px;
}

.color-variant {
    padding: 15px;
    margin-bottom: 15px;
    background: var(--light);
    border-radius: 15px;
}

.color-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: var(--light);
    flex-wrap: wrap;
}

.product-price .old {
    font-size: 18px;
    text-decoration: line-through;
    color: var(--gray);
    font-weight: 500;
}

.product-price .discount {
    background: var(--accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.product-price .new-label {
    font-size: 14px;
    color: var(--gray);
    text-align: right;
}

.product-price .new {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-heading);
}

/* Add to Cart Button */
.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 30px);
    margin: 15px;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.btn-add-cart.added {
    background: var(--success);
}

/* ========== INFO BLOCKS ========== */
.info-section {
    background: var(--light);
    padding: 30px 15px;
}

.info-block {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.info-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark);
}

.info-block h3 .icon {
    font-size: 24px;
}

.info-block p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

.info-block .info-text {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.8;
}

.info-block .info-text br {
    display: block;
    content: "";
    margin-bottom: 12px;
}

/* ========== REVIEWS ========== */
.reviews-section {
    padding: 30px 15px;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

/* ========== ORDER FORM ========== */
.order-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 30px 15px;
}

.order-section .section-title {
    color: var(--white);
}

.order-section .section-title span {
    color: var(--white);
    border-bottom: 3px solid var(--gold);
    padding-bottom: 2px;
}

.order-section .section-title::after {
    display: none;
}

/* Form Styles - New Design */
.order-form-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.order-form {
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
}

.form-group {
    margin-bottom: 12px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.5;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    color: #333;
    transition: all 0.3s;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-note-promo {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.promo-count {
    display: inline-block;
    background: #ff5252;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

/* Order Button in Product Card */
.btn-order-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 30px);
    margin: 15px;
    padding: 14px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-order-now:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 15px;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin: 0 10px;
    text-decoration: none;
}

/* ========== MODALS ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    max-width: 320px;
    margin: 20px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-text {
    color: var(--gray);
    margin-bottom: 25px;
}

.modal-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* ========== FLOATING ELEMENTS ========== */
.float-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s;
}

.float-cart:hover {
    transform: scale(1.1);
}

.float-cart .icon {
    font-size: 28px;
    color: var(--white);
}

.float-cart .count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== SELECT MODAL ========== */
.select-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    padding: 25px 20px;
    max-width: 480px;
    margin: 0 auto;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

.select-modal.show {
    transform: translateY(0);
}

.select-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.select-modal-title {
    font-size: 18px;
    font-weight: 700;
}

.select-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.select-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.select-option {
    padding: 12px 20px;
    border: 2px solid var(--light);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.select-option:hover {
    border-color: var(--primary);
}

.select-option.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.color-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-option .swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* Form validation */
.field-error {
    display: block;
    color: #ff5252;
    font-size: 12px;
    margin-top: 5px;
    min-height: 16px;
}

.form-input.error {
    border-color: #ff5252 !important;
    background: rgba(255,82,82,0.1);
}

.form-input.valid {
    border-color: var(--primary) !important;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 15px;
}

/* ========== PRODUCT MODAL ========== */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal.show {
    opacity: 1;
    visibility: visible;
}

.product-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.product-modal .modal-content {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 480px;
    max-height: 95vh;
    border-radius: 25px 25px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-modal.show .modal-content {
    transform: translateY(0);
}

.product-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

/* Галерея в модалці */
.modal-gallery {
    position: relative;
    width: 100%;
    min-height: 350px;
    height: 45vh;
    max-height: 450px;
    background: #f5f5f5;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.modal-gallery-track img {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f9f9f9;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.modal-nav.prev { left: 10px; }
.modal-nav.next { right: 10px; }

.modal-gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.modal-gallery-dots span {
    width: 8px;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-gallery-dots span.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* Інформація в модалці */
.modal-info {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.product-modal .modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.modal-color {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.modal-color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.modal-color-name {
    font-size: 14px;
    color: #666;
}

.product-modal .modal-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: left;
}

.modal-section {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
}

.modal-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.modal-section p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    white-space: pre-line;
}

.modal-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-sizes span {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.modal-add-cart {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

/* Кнопка деталей на картці */
.btn-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    color: #333;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 15px 0;
    transition: all 0.2s;
}

.btn-details:hover,
.btn-details:active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Підказка збільшення на галереї - прибираємо для мобільних */
.gallery-zoom-hint {
    display: none;
}
