/* ===================================
   Product Detail Page Styles
   =================================== */
.navbar {
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(44, 62, 80, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}


/* Breadcrumb Section */
.breadcrumb-section {
    padding-top: 100px;
    padding-bottom: 20px;
    background: var(--bg-light);
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-base);
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-light);
}

/* Product Detail Section */
.product-detail-section {
    background: white;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-gallery {
    margin-top: 1rem;
}

.thumbnail {
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition-base);
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 1;
    border-color: var(--accent-color);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

/* Product Info */
.product-detail-info {
    padding-left: 2rem;
}

.product-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.designer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.designer-info i {
    font-size: 1.5rem;
}

.product-description {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.product-description p {
    margin-bottom: 1rem;
}

/* Pricing Section */
.product-pricing {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.price-section {
    margin-bottom: 1.5rem;
}

.current-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-note {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Specifications Section */
.specifications-section {
    background: var(--bg-light);
}

.spec-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.spec-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec-title i {
    color: var(--accent-color);
    font-size: 2rem;
}

.dimension-info {
    color: var(--text-dark);
}

.dimension-item {
    margin-bottom: 1.5rem;
}

.dimension-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.dimension-item ul {
    list-style: none;
    padding-left: 0;
}

.dimension-item ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.dimension-item ul li:last-child {
    border-bottom: none;
}

.dimension-diagrams {
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.diagram-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.diagram-box:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.diagram-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.diagram-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.diagram-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Finishes Section */
.finishes-section {
    background: white;
}

.finish-category {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-title i {
    color: var(--accent-color);
}

.finish-swatch {
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.finish-swatch:hover {
    transform: translateY(-5px);
}

.swatch-color {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 0.8rem;
    border: 3px solid white;
    transition: var(--transition-base);
}

.finish-swatch:hover .swatch-color {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.swatch-name {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
    font-size: 0.9rem;
}

/* Download Section */
.download-section {
    background: var(--bg-light);
}

.download-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: var(--transition-base);
    height: 100%;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.download-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.download-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Related Products */
.related-products-section {
    background: white;
}

/* Responsive Design */
@media (max-width: 991px) {
    .product-detail-info {
        padding-left: 0;
        margin-top: 2rem;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .breadcrumb-section {
        padding-top: 80px;
    }

    .product-title {
        font-size: 2rem;
    }

    .current-price {
        font-size: 2rem;
    }

    .spec-card {
        padding: 1.5rem;
    }

    .finish-category {
        padding: 1.5rem;
    }

    .download-card {
        padding: 1.5rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-detail-info,
.product-gallery,
.spec-card,
.finish-category,
.download-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-gallery {
    animation-delay: 0.1s;
}

.product-detail-info {
    animation-delay: 0.2s;
}