@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #2d3748;
}

/* Card Styles */
.product-card {
    background: white;
    border: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    display: block;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.product-img-wrapper {
    height: 200px;
    background: #f7fafc;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-body {
    padding: 1rem;
}

.product-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: #2d3748;
}

/* PDP Styles */
.pdp-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
}

.gallery-main {
    height: 400px;
    background: #f7fafc;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

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

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumb-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    object-fit: cover;
    background: #f7fafc;
}

.thumb-img:hover,
.thumb-img.active {
    border-color: #3182ce;
}

.product-details h1 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rating-badge {
    background: #fff5f5;
    color: #c53030;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 1rem 0;
}

.badge-stock {
    background: #c6f6d5;
    color: #22543d;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-low-stock {
    background: #feebc8;
    color: #744210;
}

.meta-info {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}