.product-page {
    padding: 2rem 5%;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.thumbnail-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.thumbnail-button {
    width: 80px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease;
    background: none;
}

.thumbnail-button:hover {
    border-color: var(--primary-navy);
}

.thumbnail-button.active {
    border-color: var(--primary-navy);
}

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

.product-details {
    padding: 1rem;
}

.product-details h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.product-details .price {
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.product-description {
    overflow: visible;
    white-space: pre-wrap;
    margin-bottom: 2rem;
}

.product-description p {
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.product-actions {
    margin-bottom: 2rem;
}

.buy-button {
    display: inline-block;
    margin: 0;
    pointer-events: all;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background-color: #f0f0f0;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-navy);
    display: inline-block;
}

.buy-button:hover {
    background-color: var(--primary-yellow);
    transform: translateY(-2px);
}

.qr-code-section {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.qr-code-section h3 {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.qr-code-container {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qr-code {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
}

.qr-code-caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.shipping-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.shipping-info h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-navy);
    font-size: 1.3rem;
    font-weight: 600;
}

.shipping-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.processing-time h4,
.shipping-destinations h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-navy);
    font-size: 1rem;
    font-weight: 600;
}

.processing-time p {
    margin: 0;
    color: #666;
    font-weight: 500;
}

.shipping-destination {
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    margin-bottom: 0.5rem;
}

.destination-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.destination-cost {
    font-weight: 600;
    color: var(--primary-pink);
}

.destination-cost.free-shipping {
    color: #28a745;
}

.delivery-time {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }

    .thumbnail-button {
        width: 60px;
        height: 60px;
    }
    
    .shipping-info {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .destination-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Social Sharing Buttons */
.social-sharing {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.social-sharing h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-navy);
    font-size: 1.1rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pinterest-save-btn {
    background-color: #e60023;
    color: white;
    border-color: #e60023;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(230, 0, 35, 0.3);
    order: -1; /* Always show Pinterest first */
    flex-grow: 1;
    justify-content: center;
    min-width: 200px;
}

.pinterest-save-btn:hover {
    background-color: #bd001e;
    border-color: #bd001e;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 8px rgba(230, 0, 35, 0.4);
}

.facebook-share-btn {
    background-color: #1877f2;
    color: white;
    border-color: #1877f2;
}

.facebook-share-btn:hover {
    background-color: #166fe5;
    border-color: #166fe5;
    transform: translateY(-1px);
    color: white;
}

.twitter-share-btn {
    background-color: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.twitter-share-btn:hover {
    background-color: #0d8bd9;
    border-color: #0d8bd9;
    transform: translateY(-1px);
    color: white;
}

.share-btn i {
    font-size: 1rem;
}

.pinterest-save-btn i {
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
        text-align: center;
    }
} 