/* ========================================
   RETHEME - SINGLE PRODUCT GLASSMORPHISM
   Clean, Minimal, Modern Approach
   ======================================== */

/* Page container */
.single-product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.7) 100%);
}

/* Product header */
.product-header {
    text-align: center;
    margin-bottom: 48px;
}

.product-header .breadcrumb {
    margin-bottom: 20px;
    color: #6B7280;
    font-size: 0.95rem;
}

.product-header .breadcrumb a {
    color: #4F46E5;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-header .breadcrumb a:hover {
    color: #8B5CF6;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
}

/* Product content wrapper */
.product-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* Product info section - Glass card */
.product-info-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(241, 245, 249, 0.6));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Price badge with gradient */
.price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4F46E5 0%, #8B5CF6 100%);
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    padding: 18px 32px;
    border-radius: 50px;
    margin-bottom: 32px;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
    transition: transform 0.3s ease;
}

.price-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

/* Price and add to cart wrapper */
.price-add-to-cart-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* Quick add to cart button - Missing style */
.quick-add-to-cart-button {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #4F46E5 0%, #8B5CF6 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

.quick-add-to-cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.add-to-cart-button {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #4F46E5 0%, #1E3A8A 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.add-to-cart-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.4);
}

.add-to-cart-button:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Short description */
.product-short-description {
    font-size: 1.15rem;
    color: #6B7280;
    margin-bottom: 40px;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

.product-short-description p {
    margin: 0;
}

/* Long description */
.product-description {
    margin-bottom: 40px;
}

.description-title,
.product-description h2 {
    font-size: 1.75rem;
    color: #1F2937;
    margin-bottom: 24px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.product-description h3 {
    font-size: 1.35rem;
    color: #374151;
    margin: 32px 0 16px 0;
    font-weight: 600;
}

.product-description p {
    font-size: 1.08rem;
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.product-description ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 32px;
}

.product-description li {
    padding: 12px 0 12px 28px;
    position: relative;
    color: #4B5563;
    font-size: 1.08rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.product-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2DD4BF;
    font-weight: bold;
    font-size: 1.15rem;
}

/* Categories */
.product-categories {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid rgba(79, 70, 229, 0.1);
}

.categories-label {
    font-weight: 600;
    color: #4F46E5;
    margin-right: 12px;
    font-size: 0.95rem;
}

.category-separator {
    margin: 0 8px;
    color: #D1D5DB;
    font-size: 0.9rem;
}

.product-categories a {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-categories a:hover {
    color: #8B5CF6;
}

/* Meta items */
.product-meta-item {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1rem;
}

.product-meta-item:last-child {
    border-bottom: none;
}

.meta-label {
    font-weight: 600;
    color: #6B7280;
    width: 100px;
    flex-shrink: 0;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.meta-value {
    color: #1F2937;
    font-weight: 500;
}

/* Stock status - Glass card */
.product-stock-status {
    margin-top: 32px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(34, 211, 238, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 12px;
    display: inline-block;
}

.product-stock-status .stock {
    color: #059669;
    font-weight: 600;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
}

.product-stock-status.in-stock .stock {
    color: #059669;
}

.product-stock-status.out-of-stock .stock {
    color: #DC2626;
}

.product-stock-status.out-of-stock {
    background: linear-gradient(135deg, rgba(254, 202, 202, 0.08), rgba(254, 114, 114, 0.05));
    border-color: rgba(254, 114, 114, 0.2);
}

/* WooCommerce button overrides */
.woocommerce div.product .woocommerce-info,
.woocommerce div.product .woocommerce-message {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: #1F2937;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    border-left: 4px solid #4F46E5;
    font-weight: 500;
}

.woocommerce div.product .woocommerce-info a,
.woocommerce div.product .woocommerce-message a {
    color: #4F46E5;
    font-weight: 600;
}

/* Quantity selector */
.woocommerce #add_to_cart_form .quantity {
    display: inline-block;
    width: 80px;
    margin-right: 20px;
}

.woocommerce #add_to_cart_form input[type="number"] {
    width: 60px;
    padding: 14px 12px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #1F2937;
    transition: all 0.3s ease;
}

.woocommerce #add_to_cart_form input[type="number"]:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.woocommerce #add_to_cart_form input[type="number"]:disabled {
    background: #F3F4F6;
    color: #9CA3AF;
}

.woocommerce #add_to_cart_form button.button {
    background: linear-gradient(135deg, #4F46E5 0%, #1E3A8A 100%);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    margin-top: 0;
}

.woocommerce #add_to_cart_form button.button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.4);
}

.woocommerce #add_to_cart_form button.button:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Sidebar */
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Responsive */
@media (max-width: 968px) {
    .product-title {
        font-size: 2rem;
    }

    .price-badge {
        font-size: 1.75rem;
        padding: 16px 28px;
    }

    .product-info-section {
        padding: 32px 24px;
    }

    .description-title,
    .product-description h2 {
        font-size: 1.5rem;
    }

    .product-description h3 {
        font-size: 1.25rem;
    }

    .price-add-to-cart-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .add-to-cart-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .single-product-container {
        padding: 32px 20px;
    }

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

    .price-badge {
        font-size: 1.5rem;
        padding: 14px 24px;
    }

    .product-info-section {
        padding: 28px 20px;
    }

    .description-title,
    .product-description h2 {
        font-size: 1.4rem;
    }

    .product-description h3 {
        font-size: 1.15rem;
    }

    .product-description p {
        font-size: 1rem;
    }

    .product-description li {
        font-size: 1rem;
    }

    .product-meta-item {
        padding: 12px 0;
    }

    .meta-label {
        width: 80px;
    }

    .product-short-description {
        font-size: 1rem;
    }

    .stock {
        font-size: 1rem;
    }
}