/* Main Content Styles */
.main-content {
    background-color: #ffffff;
    min-height: 80vh;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 14px;
    box-sizing: border-box;
}

/* Product Page Layout */
.product-page {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Image Block (Left Column) */
.image-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.main-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #333;
    position: relative;
    border: 1px solid #e9ecef;
}

.image-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.developer-avatar {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.developer-info {
    text-align: center;
}

.developer-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #495057;
}

.developer-title {
    font-size: 16px;
    opacity: 0.7;
    color: #6c757d;
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #ffffff;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #495057;
}

.thumbnail:hover {
    border-color: #495057;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.thumbnail-selected {
    border-color: #495057;
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumb-icon {
    font-size: 20px;
    margin-bottom: 2px;
    opacity: 0.8;
}

.thumb-label {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    color: #6c757d;
}

/* Product Details (Center Column) */
.product-details {
    padding: 0 20px;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f1111;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Rating and Reviews */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffa41c;
    font-size: 16px;
}

.star--filled {
    color: #ffa41c;
}

.rating-link {
    color: #007185;
    text-decoration: none;
    font-size: 14px;
}

.rating-link:hover {
    color: #c7511f;
    text-decoration: underline;
}

.rating-count {
    font-size: 14px;
}

.rating-count-link {
    color: #007185;
    text-decoration: none;
}

.rating-count-link:hover {
    color: #c7511f;
    text-decoration: underline;
}

/* Price */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 16px;
}

.price-symbol {
    font-size: 16px;
    color: #0f1111;
    vertical-align: top;
}

.price-whole {
    font-size: 28px;
    font-weight: 400;
    color: #0f1111;
}

.price-fraction {
    font-size: 16px;
    color: #0f1111;
    vertical-align: top;
}

.price-period {
    font-size: 16px;
    color: #565959;
    margin-left: 4px;
}

/* Shipping Info */
.shipping-info {
    font-size: 14px;
    color: #0f1111;
    margin-bottom: 20px;
}

.shipping-link {
    color: #007185;
    text-decoration: none;
}

.shipping-link:hover {
    color: #c7511f;
    text-decoration: underline;
}

/* Key Features */
.product-features {
    margin-bottom: 0px;
}

.features-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f1111;
    margin: 0 0 12px 0;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #0f1111;
}

.feature-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-text {
    line-height: 1.4;
}

/* About Section */
.product-about {
    margin-bottom: 24px;
}

.about-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f1111;
    margin: 15px 0px; 
}

.about-content {
    font-size: 14px;
    color: #0f1111;
    line-height: 1.5;
}

.about-content p {
    margin: 0 0 12px 0;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Skills Tags */
.product-tags {
    margin-bottom: 8px;
}

.tags-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f1111;
    margin: 0 0 8px 0;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #f0f2f2;
    color: #0f1111;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #d5d9d9;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.tag:hover {
    background-color: #e3e6e6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-page {
        grid-template-columns: 1fr 1.5fr 1fr;
        gap: 20px;
    }
    
    .container {
        padding: 16px 10px;
    }
}

@media (max-width: 768px) {
    .product-page {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .image-block {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-details {
        order: 2;
        padding: 0;
    }
    
    .buy-box {
        order: 3;
    }
    
    .thumbnail-gallery {
        justify-content: center;
    }
    
    .product-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px 8px;
    }
    
    .main-image-container {
        aspect-ratio: 4/3;
    }
    
    .developer-avatar {
        font-size: 48px;
    }
    
    .developer-name {
        font-size: 20px;
    }
    
    .developer-title {
        font-size: 14px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .price-whole {
        font-size: 24px;
    }
    
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    
    .thumb-icon {
        font-size: 16px;
    }
    
    .thumb-label {
        font-size: 9px;
    }
}

/* Image Gallery Views - Minimalist Design */
.portfolio-image {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.tech-image {
    background: #ffffff;
    border: 1px solid #e9ecef;
}

.projects-image {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.experience-image {
    background: #ffffff;
    border: 1px solid #e9ecef;
}

.achievements-image {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

/* Keep all emojis the same neutral color */
.tech-image .developer-avatar,
.projects-image .developer-avatar,
.experience-image .developer-avatar,
.achievements-image .developer-avatar {
    color: #333;
}

/* Animation for view switching */
.main-image {
    transition: all 0.3s ease;
}

.main-image.changing {
    opacity: 0.9;
    transform: scale(0.99);
}
