/* Mobile-First Product Page CSS - Amazon Style Layout with Like Button */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafbfc;
    color: #1a1d29;
    line-height: 1.6;
}

/* Header Styles - Compact */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/* Main Content */
.main-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: white;
    min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: 13px;
    color: #6b7280;
    background: #f9fafb;
    border-bottom: 1px solid #f3f4f6;
}

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

.breadcrumb .separator {
    color: #d1d5db;
}

.breadcrumb .current {
    font-weight: 500;
    color: #1f2937;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Product Layout - Mobile First */
.product-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Product Images Section */
.product-images-section {
    position: relative;
    background: white;
}

.product-images {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
    padding: 16px;
}

/* Thumbnails - Hidden on mobile, shown on desktop */
.thumbs-vertical {
    display: none;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;
    padding-right: 8px;
    flex-shrink: 0;
    width: 90px;
}

.thumbs-vertical::-webkit-scrollbar {
    width: 4px;
}

.thumbs-vertical::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 2px;
}

.thumbs-vertical::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.thumbs-vertical img.thumb {
   
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    
    aspect-ratio: 1 / 1;
    object-fit: fill;
    display: block;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;

}

.thumbs-vertical img.thumb:hover,
.thumbs-vertical img.thumb.active {
    border-color: #667eea;
}

/* Main image container */
.main-image {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: white;
    border-radius: 12px;
    overflow: visible;
    padding-bottom: 8px;
}

.main-image-wrapper {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

/* Main image */
.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

/* Image Indicators (Mobile) - Outside the image */
.image-indicators {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    gap: 8px;
    z-index: 10;
    justify-content: center;
    padding-top: 12px;
    margin-top: 4px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.indicator.active {
    background: #667eea;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* Product Details Section */
.product-details-section {
    padding: 20px 16px;
    background: white;
}

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

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 12px;
    padding: 2px;
}

/* Rating */
.product-rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: orange;
    font-size: 16px;
    font-weight: 600;
}

.rating-count {
    color: #6b7280;
    font-size: 14px;
}

/* Counts Display - Like and Wishlist */
.counts-display {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

.wishlist-count-display,
.like-count-display {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.count-icon {
    font-size: 14px;
    line-height: 1;
}

.count-number {
    font-size: 12px;
    color: #565959;
    font-weight: 500;
    line-height: 1;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .product-rating {
        gap: 8px;
    }
    
    .counts-display {
        gap: 5px;
    }
    
    .wishlist-count-display,
    .like-count-display {
        padding: 3px 8px;
    }
    
    .count-icon {
        font-size: 12px;
    }
    
    .count-number {
        font-size: 11px;
    }
}

/* Price Section */
.price-section {
    margin-bottom: 20px;
}

.current-price {
    font-size: 24px;
    
    font-weight: 700;
    color: Black;
    line-height: 1;
}

/* Store Info */
.store-info {
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    margin-bottom: 16px;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-label {
    font-size: 14px;
    color: #0369a1;
    font-weight: 600;
}

.store-name {
    font-size: 15px;
    color: #0c4a6e;
    font-weight: 700;
    text-transform: capitalize;
}

/* Delivery Info */
.delivery-info {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.delivery-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.buy-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.secondary-actions {
    display: flex;
    gap: 12px;
}

/* Like Button - Similar to listing page */
.like-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: #ffffff;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.like-btn:hover {
    background: #f3e8ff;
    border-color: #8b5cf6;
    color: #8b5cf6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.like-btn.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    border: 2px solid #8b5cf6;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
    animation: heartPulse 0.6s ease;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.like-icon {
    font-size: 18px;
    transition: transform 0.2s ease;
    line-height: 1;
}

.like-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.like-btn.active .like-icon {
    animation: heartBeat 1s ease infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
}

/* Wishlist Button */
.wishlist-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: #ffffff;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-btn:hover {
    background: #f9fafb;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-btn.active {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.wishlist-btn.active:hover {
    background: #fecaca;
    border-color: #dc2626;
    color: #dc2626;
}

.gift-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.wishlist-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    background: #ffffff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 100px;
}

.share-btn:hover {
    background: #f9fafb;
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Disabled state */
.wishlist-btn:disabled,
.like-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Product Description */
.product-info {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.description-container {
    position: relative;
}

.description-text {
    color: #4b5563;
    line-height: 1.6;
    font-size: 14px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.description-text.truncated {
    position: relative;
}

.see-more-btn {
    display: inline-block;
    background: none;
    border: none;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.see-more-btn:hover {
    color: #5b68e6;
}

/* Specifications Table Styling */
.specifications-table-wrapper {
    overflow-x: auto;
    margin-top: 0;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.specifications-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.specifications-table tbody tr:last-child {
    border-bottom: none;
}

.specifications-table tbody tr:hover {
    background: #fafbfc;
}

.specifications-table td {
    padding: 14px 16px;
    font-size: 14px;
    vertical-align: middle;
}

.spec-label {
    font-weight: 700;
    color: #1f2937;
    width: 45%;
    background: transparent;
    text-align: left;
}

.spec-value {
    color: #4b5563;
    width: 55%;
    word-break: break-word;
    text-align: left;
    font-weight: 500;
}

/* Mobile responsive for specs table */
@media (max-width: 480px) {
    .specifications-table td {
        padding: 12px;
        font-size: 13px;
    }
    
    .spec-label {
        width: 42%;
        font-size: 13px;
    }
    
    .spec-value {
        width: 58%;
        font-size: 13px;
    }
}

/* Additional Info Section */
.additional-info {
    margin-top: 32px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-tabs {
    border-radius: 12px;
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.tab-btn {
    flex: 1;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
    transition: all 0.3s ease;
    border-right: 1px solid #e5e7eb;
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    position: relative;
}

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

.tab-btn:hover:not(.active) {
    background: #f3f4f6;
    color: #374151;
}

.tab-content {
    background: white;
}

.tab-panel {
    display: none;
    padding: 24px;
}

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

/* Details Grid */
.details-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 16px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    min-width: 110px;
    flex-shrink: 0;
}

.detail-value {
    color: #6b7280;
    text-transform: capitalize;
    font-size: 14px;
    text-align: right;
    word-break: break-word;
    line-height: 1.5;
    flex: 1;
}

/* Enhanced styling for comma-separated values (occasions and categories) */
.detail-row .detail-value {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

/* Optional: Style for individual items in comma-separated list */
@media (min-width: 768px) {
    .detail-value {
        max-width: 60%;
    }
}

/* Reviews Section */
.reviews-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rating-overview {
    text-align: center;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
}

.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.score {
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
}

.stars-display {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 20px;
}

.star.filled {
    color: #fbbf24;
}

.star.half {
    color: #fbbf24;
    position: relative;
}

.star.empty {
    color: #d1d5db;
}

.rating-text {
    color: #6b7280;
    font-size: 14px;
    margin-top: 4px;
}

.review-note {
    padding: 20px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    color: #92400e;
    font-size: 14px;
    text-align: center;
}

/* Description Modal for Mobile */
.description-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90%;
    max-height: 80%;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-body p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.share-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.share-modal-close:hover {
    background: #f3f4f6;
}

.share-options {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
}

.share-option:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-icon.whatsapp {
    background: #25d366;
    color: white;
}

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

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

.share-icon.copy {
    background: #6b7280;
    color: white;
}

.share-option:hover .share-icon {
    transform: scale(1.1);
}

/* Product Not Found */
.product-not-found {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    text-align: center;
    padding: 20px;
}

.not-found-content {
    max-width: 400px;
    padding: 40px 20px;
}

.not-found-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.not-found-content p {
    color: #6b7280;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 16px;
}

.back-to-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.back-to-products:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* User Profile and Navigation */
.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.welcome-text {
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    display: none;
}

/* Mobile Responsive Adjustments */
@media (min-width: 360px) {
    .welcome-text {
        display: block;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 767px) {
    /* Sticky Action Buttons - Mobile Only */
    .action-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        background: white;
        padding: 12px 16px;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e5e7eb;
        margin-bottom: 0;
    }
    
    /* Add padding to product-details-section to prevent content from being hidden behind sticky buttons */
    .product-details-section {
        padding-bottom: 200px; /* Increased for 3 buttons */
    }
    
    /* Make buttons more compact for sticky footer */
    .buy-now-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .like-btn,
    .wishlist-btn,
    .share-btn {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .like-icon {
        font-size: 16px;
    }
    
    .like-text {
        font-size: 13px;
    }
    
    /* Adjust secondary actions spacing */
    .secondary-actions {
        gap: 10px;
    }
}

@media (min-width: 480px) {
    .main-image-wrapper {
        height: 400px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .current-price {
        font-size: 26px;
    }
    
    .welcome-text {
        max-width: 120px;
    }
    
    .modal-content, .share-modal-content {
        max-width: 500px;
    }
    
    .share-options {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .main-content {
        max-width: 1400px;
        margin: 20px auto;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
    
    .product-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .product-images {
        flex-direction: row;
        gap: 20px;
        padding: 40px;
    }
    
    /* Show thumbnails on desktop */
    .thumbs-vertical {
        display: flex;
    }
    
    /* Hide mobile indicators on desktop */
    .image-indicators {
        display: none;
    }
    
    .main-image {
        padding-bottom: 0;
    }
    
    .main-image-wrapper {
        height: 600px;
    }
    
    .main-image-wrapper img {
        max-height: 600px;
    }
    
    .product-details-section {
        padding: 60px 60px 60px 0;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .breadcrumb {
        padding: 16px 40px;
    }
    
    .welcome-text {
        display: block;
        max-width: none;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    /* Desktop action buttons layout */
    .secondary-actions {
        flex-direction: row;
    }
    
    .like-btn {
        flex: 1;
    }
    
    .wishlist-btn {
        flex: 1.5;
    }
    
    .share-btn {
        flex: 0.8;
    }
    
    /* Better detail row layout on desktop */
    .detail-row {
        flex-direction: row;
        align-items: center;
    }
    
    .detail-label {
        min-width: 140px;
    }
}

@media (min-width: 1024px) {
    .product-layout {
        gap: 80px;
    }
    
    .main-image-wrapper {
        height: 700px;
    }
    
    .main-image-wrapper img {
        max-height: 700px;
    }
    
    .product-images {
        padding: 60px;
    }
    
    .product-details-section {
        padding: 60px 60px 60px 0;
    }
}

/* Loading states */
.product-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.wishlist-btn.loading,
.like-btn.loading {
    position: relative;
    color: transparent !important;
}

.wishlist-btn.loading::after,
.like-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .like-btn,
    .wishlist-btn,
    .share-btn {
        transition: none;
        animation: none !important;
    }
    
    .like-icon {
        animation: none !important;
    }
}

.product-card:focus-within {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.like-btn:focus,
.wishlist-btn:focus,
.share-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}