/* Product Detail Page Styles */

/* Breadcrumb */
.breadcrumb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 20px;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #777;
}

.breadcrumb a {
    color: #777;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb span {
    margin: 0 8px;
}

.breadcrumb .current {
    color: #000;
}

/* Main Product Section */
.product-detail-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Image Gallery */
.product-gallery {
    display: flex;
    gap: 20px;
}

.thumbnail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

.thumbnail {
    width: 80px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
}

.thumbnail.active {
    border-color: #000;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image {
    flex: 1;
    min-height: 500px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
}

/* Product Info */
.product-info {
    font-family: 'Urbanist', sans-serif;
}

.product-header {
    margin-bottom: 15px;
}

.product-collection {
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #555;
}

.product-name {
    font-family: 'Italiana', serif;
    font-size: 32px;
    font-weight: 400;
    margin: 0 0 15px 0;
    display: inline-block;
}

.stock-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    letter-spacing: 1px;
    margin-left: 15px;
    vertical-align: middle;
}

.product-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

.product-meta .separator {
    margin: 0 10px;
}

.product-pricing {
    margin-bottom: 25px;
}

.original-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.sale-price {
    font-size: 22px;
    font-weight: 600;
    color: #000;
}

.price {
    font-size: 22px;
    font-weight: 600;
    color: #000;
}

.sale-badge {
    display: inline-block;
    border: 1px solid #000;
    font-size: 11px;
    padding: 3px 8px;
    margin-left: 10px;
    letter-spacing: 1px;
}

.tax-note {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
}

.product-description {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* Purchase Section */
.purchase-section {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #ccc;
    height: 48px;
}

.qty-btn {
    width: 48px;
    background: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #555;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-family: 'Urbanist', sans-serif;
}

.add-to-cart-btn {
    flex: 1;
    height: 48px;
    background: #fff;
    border: 1px solid #000;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}

.add-to-cart-btn:hover {
    background: #000;
    color: #fff;
}

.buy-now-btn {
    width: 100%;
    height: 48px;
    background: #000;
    color: #fff;
    border: none;
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background 0.2s;
}

.buy-now-btn:hover {
    background: #333;
}

.gift-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    font-size: 13px;
    color: #555;
}

.gift-icon {
    font-size: 16px;
}

/* Product Tabs */
.product-tabs-section {
    margin-bottom: 60px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
}

.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e5e5e5;
}

.tab-btn {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    background: none;
    border: none;
    padding: 20px 0;
    cursor: pointer;
    color: #999;
    position: relative;
    flex: 1;
    text-align: center;
    letter-spacing: 0.5px;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

.tab-content {
    font-family: 'Urbanist', sans-serif;
    padding: 30px 0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block !important;
}

.notes-section {
    margin-bottom: 20px;
}

.notes-section h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

.notes-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* Product Story Section */
.product-story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    border: 1px solid #e5e5e5;
    padding: 40px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    font-family: 'Urbanist', sans-serif;
}

.story-text {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 30px;
}

.story-meta {
    margin-bottom: 20px;
}

.meta-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    color: #000;
}

.meta-value {
    font-size: 14px;
    color: #555;
}

/* Related Products */
.related-products-section {
    text-align: center;
    margin-top: 60px;
}

.section-title {
    font-family: 'Italiana', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-family: 'Urbanist', sans-serif;
    font-size: 13px;
    color: #777;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.related-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-product-card {
    text-align: center;
    font-family: 'Urbanist', sans-serif;
}

.related-product-card a {
    text-decoration: none;
    color: inherit;
}

.related-product-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 20px;
}

.related-name {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.related-collection {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-description {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    padding: 0 10px;
}

.related-price {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-story-section {
        grid-template-columns: 1fr;
    }
    
    .related-products {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .breadcrumb {
        padding: 100px 20px 20px;
    }
    
    .product-detail-page {
        padding: 0 20px 40px;
    }
    
    .product-gallery {
        flex-direction: column-reverse;
    }
    
    .thumbnail-list {
        flex-direction: row;
        overflow-x: auto;
    }
    
    .purchase-section {
        flex-direction: column;
    }
    
    .related-products {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        gap: 0;
    }
    
    .tab-btn {
        font-size: 11px;
        padding: 15px 5px;
    }
}
