/* Product Page Styles */

.breadcrumb {
    padding: 15px 0;
    background: var(--surface);
    font-size: 14px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--ink);
}

.breadcrumb span {
    color: var(--muted);
}

/* Product Page Layout */
.product-page {
    padding: 40px 0 80px;
    background: var(--paper);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    aspect-ratio: 1;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: var(--ink);
}

.thumbnail.active {
    border-color: var(--ink);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

/* Product Info */
.product-info {
    max-width: 600px;
}

.product-header {
    margin-bottom: 30px;
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 18px;
    color: var(--muted);
}

/* Price Section */
.product-price-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--ink);
}

.old-price {
    font-size: 24px;
    color: var(--muted);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--bf-orange);
    color: var(--paper);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
}

/* Product Description */
.product-description {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

/* Size Selector */
.size-selector {
    margin-bottom: 40px;
}

.size-label {
    display: block;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.size-btn {
    padding: 15px;
    border: 2px solid #e5e5e5;
    background: var(--paper);
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 4px;
}

.size-btn:hover {
    border-color: var(--ink);
}

.size-btn.active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.size-guide {
    color: var(--muted);
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s;
}

.size-guide:hover {
    color: var(--ink);
}

/* Add to Cart Section */
.add-to-cart-section {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.add-to-cart-main {
    flex: 1;
    background: var(--ink);
    color: var(--paper);
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.add-to-cart-main:hover {
    background: var(--bf-orange);
}

.favorite-btn {
    width: 56px;
    height: 56px;
    border: 2px solid #e5e5e5;
    background: var(--paper);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 4px;
}

.favorite-btn:hover {
    border-color: var(--ink);
    color: var(--bf-orange);
}

/* Product Details */
.product-details {
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.detail-item {
    margin-bottom: 25px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.detail-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Product Specs */
.product-specs {
    margin-bottom: 40px;
}

.product-specs h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-specs ul {
    list-style: none;
    padding: 0;
}

.product-specs li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    color: var(--muted);
    font-size: 14px;
}

.product-specs li:last-child {
    border-bottom: none;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background: var(--surface);
}

.related-products .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.related-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-products .product-card {
    background: var(--paper);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.related-products .product-image {
    width: 100%;
    height: 300px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.related-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.related-products .product-info {
    padding: 20px;
    text-align: center;
}

.related-products .product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.related-products .product-prices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-images {
        position: static;
    }

    .thumbnail-images {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 28px;
    }

    .current-price {
        font-size: 28px;
    }

    .old-price {
        font-size: 20px;
    }

    .size-options {
        grid-template-columns: repeat(4, 1fr);
    }

    .thumbnail-images {
        grid-template-columns: repeat(4, 1fr);
    }

    .add-to-cart-section {
        flex-direction: column;
    }

    .favorite-btn {
        width: 100%;
    }
}



