/* ===== PRODUCT PAGE STYLES ===== */

:root {
    --accent: #ff4757;
    --dark: #1a1a1a;
    --mid: #2a2a2a;
    --light-bg: #f2f2f2;
    --border: #e0e0e0;
    --text-muted: #888;
}

body {
    background-color: #f0f0f0;
    font-family: 'Inter', sans-serif;
}

main {
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    gap: 8px;
    align-items: center;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--dark);
}

.breadcrumb span {
    color: var(--dark);
    font-weight: 600;
}

/* ===== PRODUCT DETAIL LAYOUT ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* ===== GALLERY ===== */
.gallery {
    display: flex;
    gap: 16px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.6;
}

.thumb:hover {
    opacity: 0.85;
}

.thumb.active {
    border-color: var(--dark);
    opacity: 1;
}

.main-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
    aspect-ratio: 3/4;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.main-image:hover img {
    transform: scale(1.03);
}

/* ===== PRODUCT INFO ===== */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.product-badge {
    display: inline-block;
    background: var(--dark);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    width: fit-content;
}

.product-detail-info h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    line-height: 1;
    letter-spacing: 2px;
    color: var(--dark);
    margin: 0;
}

.product-price {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.divider {
    height: 1px;
    background: var(--border);
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ===== SIZE SELECTOR ===== */
.size-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 8px;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.size-btn:hover {
    border-color: var(--dark);
}

.size-btn.selected {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

/* ===== CTA BUTTONS ===== */
.cta-group {
    display: flex;
    gap: 12px;
    margin-top: 0.5rem;
}

.btn-primary {
    flex: 1;
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 16px 24px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-tg {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #229ED9;
    color: #fff;
    border: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, transform 0.15s;
    white-space: nowrap;
}

.btn-tg:hover {
    background: #1a8bbf;
    transform: translateY(-2px);
}

/* ===== FEATURES ===== */
.features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1.2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #444;
}

.feature-icon {
    font-size: 1rem;
    width: 24px;
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .gallery {
        flex-direction: column-reverse;
    }

    .thumbnails {
        flex-direction: row;
    }

    .thumb {
        width: 64px;
        height: 64px;
    }

    .main-image {
        aspect-ratio: 4/3;
    }

    .product-detail-info h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 1.5rem 4%;
    }

    .product-price {
        font-size: 1.6rem;
    }

    .cta-group {
        flex-direction: column;
    }
}