/* Product Details Page */
.breadcrumbs {
    padding: 0.75rem 1rem;
    margin: 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs .back-link {
    color: var(--theme-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.25rem;
    margin: -0.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.breadcrumbs .back-link:hover {
    background: rgba(var(--theme-color-rgb), 0.1);
}

.back-arrow {
    font-size: 1.5rem;
    line-height: 1;
}

[dir="rtl"] .back-arrow {
    transform: scaleX(-1);
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #cbd5e1;
    font-size: 1.2rem;
    line-height: 1;
}

.breadcrumbs .current {
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    margin: 0;
    max-width: var(--content-width);
    background: white;
}

.product-gallery {
    position: relative;
    padding: 0;
    background: white;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.thumbnail-button {
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.25rem;
    background: #f8fafc;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.thumbnail-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    border-color: var(--theme-color);
}

.thumbnail-button.active {
    opacity: 1;
    border-color: var(--theme-color);
    transform: translateY(-1px);
}

.thumbnail-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

}

.thumbnail-button:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 1rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
    line-height: 1.2;
    text-align: left;
}

.product-price-wrapper {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.product-price.original {
    font-size: 1rem;
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.8;
    margin-bottom: 0;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-color);
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0;
}

.currency {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
}

.product-description-box {
    color: #1e293b;
    line-height: 1.8;
    padding: 1rem;
    margin: 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid #e2e8f0;
    background: white;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.buy-now-button,
.add-to-cart-button {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.buy-now-button {
    background: #f59e0b;
    color: white;
}

.add-to-cart-button {
    background: var(--theme-color);
    color: white;
}

.buy-now-button:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.add-to-cart-button:hover {
    filter: brightness(110%);
    transform: translateY(-2px);
}

.add-to-cart-button.success {
    background: #10b981;
@media (max-width: 768px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        padding: 0;
    }

    .main-image-container {
        aspect-ratio: 1;
        background: white;
        margin: 0;
    }

    .product-title {
        font-size: 1.25rem;
        margin: 0 0 0.5rem;
        padding: 0;
    }

    .product-price {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }

    .product-price-wrapper {
        padding: 0;
        margin-bottom: 1rem;
    }

    .product-info {
        padding: 1rem;
        background: transparent;
    }

    .product-description-box {
        padding: 1rem;
        margin: 0;
        font-size: 0.9375rem;
        line-height: 1.7;
        background: white;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .breadcrumbs {
        padding: 0.75rem 1rem;
        margin: 0;
        font-size: 0.875rem;
        background: white;
        border-radius: 0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .buy-now-button,
    .add-to-cart-button {
        padding: 0.875rem;
        font-size: 0.9375rem;
        border-radius: 0.75rem;
        font-weight: 700;
    }

    .thumbnail-grid {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .thumbnail-button {
        padding: 0.25rem;
    }

    /* Add padding to account for fixed action buttons */
    .store-section {
        padding-bottom: 8.5rem;
    }