/* Product Detail Page */
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #1a1a1a;
}

/* Main Content Layout */
.product-detail-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Image */
.product-image-container {
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-detail-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product-image-container:hover .product-detail-image {
    transform: scale(1.02);
}

/* Product Info */
.product-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0.5rem;
    animation: fadeInRight 0.6s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-title {
    font-size: 2.25rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Product Meta */
.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #ffd700;
    font-size: 1.25rem;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}



/* Product Status */
.product-status {
    display: flex;
    gap: 2rem;
    margin: -0.5rem 0 0.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.status-item svg {
    color: #34a853;
}

/* Size Selector */
.size-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.size-selector label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 1rem;
}

.size-options {
    display: flex;
    gap: 0.75rem;
}

.size-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
}

.size-btn:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.size-btn.active {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Price Section */
.product-detail-container .product-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: -0.5rem;
    align-self: flex-start;
    width: 100%;
    justify-content: flex-start;
    font-size: 2.5rem;
}

.product-detail-container .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.product-detail-container .old-price {
    font-size: 1.125rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.25rem;
}

/* Product Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Count Selector */

.quantity-selector label {
    font-size: 1rem;
    color: #666;
    min-width: 60px;
}

/* Color Options */
.color-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.color-selector label {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1a1a1a;
}

.color-options {
    display: flex;
    gap: 1rem;
}

.color-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
}

.color-btn.purple::after { background-color: #9c27b0; }
.color-btn.red::after { background-color: #e74c3c; }
.color-btn.pink::after { background-color: #ff69b4; }
.color-btn.yellow::after { background-color: #ffd700; }

.color-btn:hover {
    transform: scale(1.15);
}

.color-btn.active {
    border-color: #1a1a1a;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

/* Callback Button Wrapper */
.callback-button-wrapper {
    margin-top: 1rem;
    width: 100%;
}

.callback-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid #1a1a1a;
    border-radius: 8px;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.callback-btn:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.callback-btn:active {
    transform: translateY(0);
}

.callback-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.callback-btn:hover svg {
    transform: rotate(15deg);
}

/* Order Button */
/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.order-btn {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.order-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.order-btn:active {
    transform: translateY(0);
}

.order-btn svg {
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.order-btn:hover svg {
    transform: scale(1.1);
}

.action-buttons .favorite-btn:hover svg {
    stroke: white;
}

.action-buttons .checkout-btn {
    background-color: #ff69b4;
    color: white;
    border: 2px solid #ff69b4;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.action-buttons .checkout-btn:hover {
    background-color: #ff1493;
    border-color: #ff1493;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.action-buttons .checkout-btn svg {
    stroke: white;
    transition: transform 0.3s ease;
}

.action-buttons .checkout-btn:hover svg {
    transform: scale(1.1);
}

/* Benefits Section */
.details-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.benefits {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #666;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    background: #f8f8f8;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    animation: fadeInUp 0.5s ease-out both;
    min-width: 120px;
    max-width: 140px;
    text-align: center;
    flex: 1;
}

.benefit-item:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.3s;
}

.benefit-item:hover {
    transform: translateY(-4px);
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefit-item span {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.3;
}

.benefit-item svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.benefit-icon.personalized {
    stroke: #e74c3c;
}

.benefit-icon.design {
    stroke: #9333ea;
}

.benefit-icon.value {
    stroke: #34a853;
}

.benefit-item:hover svg {
    transform: scale(1.15);
}

/* Responsive Design */
@media (max-width: 968px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .current-price {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .product-detail-container {
        padding: 1rem;
    }

    .product-image-container {
        padding: 0;
    }

    .product-options {
        gap: 1.5rem;
    }

    .benefits {
        flex-direction: column;
    }

    .benefit-item {
        max-width: 100%;
        min-width: auto;
    }

    .details-section {
        display: none;
    }
}

/* Hide benefits section on mobile, show on desktop */
@media (max-width: 968px) {
    .details-section {
        display: none;
    }
}