/* === RESPONSIVE === */

/* TikTok Icon Color */
.social-icon.tiktok {
    color: #fff;
}

.social-icon.tiktok:hover {
    color: #fe2c55;
}

/* Nav accent link */
.nav-link-accent {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    position: relative;
}

.nav-link-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    opacity: 0.4;
}

/* Mobile social in menu */
.mobile-social {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.mobile-social-link {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mobile-social-link:hover {
    color: var(--text-primary);
}

/* === DELIVERY SECTION === */
.delivery-section {
    padding: var(--space-20) 0;
    background: var(--grey-900);
}

.delivery-section .section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.delivery-section .section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.delivery-section .section-subtitle {
    font-size: var(--text-base);
    color: var(--text-muted);
}

.delivery-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    max-width: 700px;
    margin: 0 auto var(--space-10);
}

.delivery-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: var(--transition-normal);
}

.delivery-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.delivery-card-icon {
    font-size: 40px;
    margin-bottom: var(--space-4);
}

.delivery-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.delivery-price {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.delivery-price .price-rub {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-muted);
}

.delivery-time {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.delivery-region {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.delivery-contact {
    text-align: center;
}

.delivery-contact p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.delivery-contact .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-normal);
    text-decoration: none;
    cursor: pointer;
}

.delivery-contact .btn-primary:hover {
    background: var(--grey-200);
    transform: translateY(-2px);
}

/* === PRODUCT VIEWER MODAL === */
.viewer-content {
    max-width: 720px;
    width: 95%;
    background: var(--grey-900);
    border: 1px solid var(--grey-700);
    padding: var(--space-8);
}

.viewer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.viewer-main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--grey-800);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    min-height: 350px;
}

.viewer-main-image {
    max-width: 100%;
    max-height: 450px;
    object-fit: contain;
    transition: opacity 0.3s;
}

.viewer-thumbnails {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.viewer-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-dark);
    background: var(--grey-800);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 4px;
}

.viewer-thumb:hover {
    border-color: var(--grey-500);
}

.viewer-thumb.active {
    border-color: var(--color-white);
}

.viewer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.viewer-hint {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-align: center;
}

/* Checkbox styling */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin: var(--space-4) 0;
}

.form-checkbox input {
    margin-top: 3px;
    accent-color: white;
}

.form-checkbox label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ─── Tablet ─── */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .product-info-card {
        max-width: 100%;
    }

    .product-hero-image {
        max-width: 360px;
    }

    .product-image-wrapper {
        order: -1;
    }

    .size-options {
        justify-content: center;
    }

    .qty-controls {
        margin: 0 auto;
    }

    .product-price-block {
        justify-content: center;
    }

    .gallery-item {
        width: 260px;
        height: 340px;
    }

    .delivery-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .burger-menu {
        display: flex !important;
    }

    .social-icons {
        display: none;
    }

    .hero-product-section {
        padding-top: 110px;
        padding-bottom: var(--space-8);
        min-height: auto;
    }

    .product-layout {
        gap: var(--space-6);
    }

    .product-hero-image {
        max-width: 340px;
    }

    .product-image-wrapper {
        min-height: 420px;
    }

    .product-name {
        font-size: var(--text-3xl);
    }

    .price-main {
        font-size: var(--text-2xl);
    }

    .product-desc {
        font-size: var(--text-sm);
    }

    .contacts-grid {
        gap: var(--space-4);
    }

    .contact-card {
        padding: var(--space-4) var(--space-6);
        min-width: 120px;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-4);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cart-panel {
        width: 100%;
    }

    .checkout-content {
        padding: var(--space-6);
    }

    .online-indicator {
        bottom: var(--space-4);
        left: var(--space-4);
        font-size: 11px;
        padding: var(--space-1) var(--space-3);
    }

    .delivery-cards {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .gallery-item {
        width: 240px;
        height: 300px;
    }

    .gallery-item:first-child {
        margin-left: var(--space-4);
    }

    .gallery-item:last-child {
        margin-right: var(--space-4);
    }

    .gallery-nav {
        display: none;
    }

    .gallery-section {
        padding: var(--space-12) 0;
    }

    .gallery-section .section-title {
        font-size: var(--text-2xl);
    }

    .delivery-section {
        padding: var(--space-12) 0;
    }

    .delivery-section .section-title {
        font-size: var(--text-2xl);
    }

    /* Viewer mobile */
    .viewer-content {
        max-width: 100%;
        border-radius: var(--radius-lg);
        padding: var(--space-4);
    }

    .viewer-main {
        min-height: 250px;
        padding: var(--space-4);
    }

    .viewer-main-image {
        max-height: 300px;
    }

    .viewer-thumb {
        width: 56px;
        height: 56px;
    }
}

/* ─── Small Mobile ─── */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }

    .section {
        padding: var(--space-10) 0;
    }

    .product-hero-image {
        max-width: 220px;
    }

    .product-name {
        font-size: var(--text-2xl);
    }

    .limited-badge {
        font-size: 10px;
        padding: var(--space-1) var(--space-3);
    }

    .size-btn {
        width: 44px;
        height: 44px;
    }

    .buy-now-btn {
        padding: var(--space-4) var(--space-6);
        font-size: var(--text-sm);
    }

    .header-container {
        padding: 0 var(--space-3);
    }

    .logo-image {
        height: 56px;
    }

    .lang-toggle {
        padding: var(--space-1) var(--space-2);
        font-size: 12px;
    }

    .cart-btn {
        width: 36px;
        height: 36px;
    }

    .delivery-card {
        padding: var(--space-6);
    }

    .delivery-price {
        font-size: var(--text-xl);
    }
}

/* ─── Very Small ─── */
@media (max-width: 360px) {
    .product-hero-image {
        max-width: 180px;
    }

    .product-name {
        font-size: var(--text-xl);
    }

    .logo-image {
        height: 44px;
    }
}

/* Checkbox mobile — bigger touch target */
@media (max-width: 768px) {
    .form-checkbox {
        padding: 14px 12px;
        gap: 12px;
    }

    .form-checkbox input[type="checkbox"] {
        width: 24px;
        height: 24px;
        min-width: 24px;
        accent-color: #d4a853;
    }

    .form-checkbox label {
        font-size: 14px;
        line-height: 1.4;
    }
}