/* Product Page Specific Styles */

/* Breadcrumb */
.breadcrumb {
    background: #f8fafc;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.breadcrumb span {
    color: #64748b;
}

/* Product Hero Section */
.product-hero {
    padding: 3rem 0;
    background: white;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 968px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Product Image Section */
.product-image-section {
    position: sticky;
    top: 100px;
}

.product-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    background: #f8fafc;
    padding: 2rem;
}

/* Product Details Section */
.product-details-section {
    padding: 1rem 0;
}

.product-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-page-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-price-section {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-page-price {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
}

.price-label {
    color: #64748b;
    font-size: 0.95rem;
}

/* Buy Buttons */
.buy-now-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: #2563eb;
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.buy-now-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.add-to-cart-button {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 1.25rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.add-to-cart-button:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.checkout-note {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0;
}


/* Email Signup Box (Soft Gate) */
.email-signup-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.signup-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.gift-icon {
    font-size: 2rem;
}

.signup-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.signup-description {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.email-signup-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .email-signup-form {
        flex-direction: column;
    }
}

.email-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    outline: none;
    transition: all 0.3s;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.signup-button {
    padding: 0.875rem 2rem;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.signup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.signup-note {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

/* Product Features */
.product-features {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.product-features h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

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

.product-features li {
    padding: 0.5rem 0;
    color: #475569;
    font-size: 1rem;
}

/* Upsell Section */
.upsell-section {
    padding: 4rem 0;
    background: #f8fafc;
}

/* Pricing Banner */
.pricing-banner {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.banner-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Pricing Display */
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.old-price {
    font-size: 1.75rem;
    color: #ef4444;
    text-decoration: line-through;
    font-weight: 600;
    position: relative;
}

.old-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #ef4444;
    transform: translateY(-50%);
}

.new-price {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
}

.upsell-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.upsell-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: #2563eb;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-badge {
    display: inline-block;
    background: #e2e8f0;
    color: #475569;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-badge.popular {
    background: #2563eb;
    color: white;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    color: #475569;
    font-size: 0.95rem;
}

.pricing-button {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Browse Category Section */
.browse-category {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.category-description {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

.category-cta {
    margin-top: 2rem;
}

.cta-button-large {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button-large:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-page-title {
        font-size: 2rem;
    }
    
    .product-page-price {
        font-size: 2.5rem;
    }
    
    .upsell-title {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}
