/* Enhanced Single Product Page Styles */
/* Maintains original structure with improved visual design */

/* Product Page Container */
.single-product .page-wrapper {
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 50%, #f0f4ff 100%);
    min-height: 100vh;
}
.youtube-embed {max-width:1200px!important;}
.price product-page-price {padding-left:20px!important;font-size:22px!important;}

/* Breadcrumb Styling */
.single-product .breadcrumb-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 183, 245, 0.1);
    padding: 15px 0;
    margin-bottom: 30px;
}

.single-product .breadcrumb {
    font-size: 0.9em;
    color: #7f8c8d;
}

.single-product .breadcrumb a {
    color: #00b7f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-product .breadcrumb a:hover {
    color: #0088cc;
}

/* Main Product Container */
.single-product .product {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Product Images Section */
.single-product .product-images {
    position: relative;
    background: #fafbfc;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.single-product .woocommerce-product-gallery {
    margin: 0;
    padding: 0px;
}

.single-product .woocommerce-product-gallery__wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.single-product .woocommerce-product-gallery__wrapper:hover {
    transform: translateY(-2px);
}

.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.single-product .woocommerce-product-gallery__image:hover img {
    transform: scale(1.02);
}

/* Product Gallery Thumbnails */
.single-product .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.single-product .woocommerce-product-gallery__trigger:hover {
    background: #00b7f5;
    color: white;
    transform: scale(1.1);
}

/* Product Summary Section */
.single-product .summary {
    padding: 40px;
    position: relative;
}

.single-product .summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00b7f5, #0088cc);
}

/* Product Title */
.single-product .product_title {
    font-size: 2.2em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Product Rating */
.single-product .woocommerce-product-rating {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.single-product .star-rating {
    color: #f39c12;
    font-size: 1.1em;
}

.single-product .woocommerce-review-link {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.single-product .woocommerce-review-link:hover {
    color: #00b7f5;
}

/* Product Price */
.single-product .price {
    font-size: 3em!important;
    font-weight: 700;
    color: black;
    margin-bottom: 25px;
    padding-left: 0px;
    padding-top:0px!important;
    padding-bottom:15px!important;
    background-color:transparent!important;
    background:transparent!important;
    
    display: inline-block;
}

.single-product .price del {
    color: #95a5a6;
    font-weight: 400;
    margin-right: 10px;
}

.single-product .price ins {
    text-decoration: none;
    color: #e74c3c;
}

/* Product Excerpt/Short Description */
.single-product .woocommerce-product-details__short-description {
    font-size: 1.1em;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #00b7f5;
}

/* Product Variations */
.single-product .variations {
    margin-bottom: 30px;
}

.single-product .variations td {
    padding: 10px 0;
    border: none;
    vertical-align: middle;
}

.single-product .variations .label {
    font-weight: 600;
    color: #2c3e50;
    width: 120px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
}

.single-product .variations select {
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    background: white;
    color: #2c3e50;
    font-size: 1em;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.single-product .variations select:focus {
    outline: none;
    border-color: #00b7f5;
    box-shadow: 0 0 0 3px rgba(0, 183, 245, 0.1);
}

/* Quantity and Add to Cart */
.single-product .cart {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.single-product .quantity {
    position: relative;
}

.single-product .quantity input[type="number"] {
    width: 80px;
    height: 50px;
    padding: 0 15px;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.single-product .quantity input[type="number"]:focus {
    outline: none;
    border-color: #00b7f5;
    box-shadow: 0 0 0 3px rgba(0, 183, 245, 0.1);
}

.single-product .single_add_to_cart_button {
    background: linear-gradient(135deg, #00b7f5 0%, #0088cc 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 183, 245, 0.3);
    position: relative;
    overflow: hidden;
}

.single-product .single_add_to_cart_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.single-product .single_add_to_cart_button:hover::before {
    left: 100%;
}

.single-product .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 183, 245, 0.4);
}

.single-product .single_add_to_cart_button:active {
    transform: translateY(0);
}

/* Product Meta */
.single-product .product_meta {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.single-product .product_meta > span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #5a6c7d;
}

.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in,
.single-product .product_meta .tagged_as {
    font-weight: 500;
}

.single-product .product_meta a {
    color: #00b7f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-product .product_meta a:hover {
    color: #0088cc;
}

/* Product Tabs */
.single-product .woocommerce-tabs {
    margin-top: 50px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.single-product .woocommerce-tabs ul.tabs {
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    list-style: none;
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 20px 25px;
    color: #5a6c7d;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9em;
    transition: all 0.3s ease;
    position: relative;
}

.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: #00b7f5;
    background: white;
}

.single-product .woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #00b7f5;
}

.single-product .woocommerce-tabs .panel {
    padding: 30px;
    background: white;
}

.single-product .woocommerce-tabs .panel h2 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 600;
}

.single-product .woocommerce-tabs .panel p {
    line-height: 1.7;
    color: #5a6c7d;
    margin-bottom: 15px;
}

/* Reviews Section */
.single-product #reviews {
    padding: 0;
}

.single-product #reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-product #reviews .commentlist li {
    padding: 20px;
    border-bottom: 1px solid #f0f1f3;
    margin-bottom: 20px;
    background: #fafbfc;
    border-radius: 8px;
}

.single-product #reviews .comment_container {
    display: flex;
    gap: 15px;
}

.single-product #reviews .comment-text {
    flex: 1;
}

.single-product #reviews .star-rating {
    color: #f39c12;
    margin-bottom: 10px;
}

.single-product #reviews .meta {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.single-product #reviews .description p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Related Products */
.single-product .related.products {
    margin-top: 60px;
    padding: 40px 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.single-product .related.products h2 {
    text-align: center;
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 600;
}

.single-product .related.products .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 30px;
}

.single-product .related.products .product {
    background: #fafbfc;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #f0f1f3;
}

.single-product .related.products .product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Stock Status */
.single-product .stock {
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85em;
    margin-bottom: 20px;
    display: inline-block;
}

.single-product .stock.in-stock {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.single-product .stock.out-of-stock {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Sale Badge */
.single-product .onsale {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

/* Warning Block (Custom) */
.single-product .warning-block {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-left: 4px solid #f39c12;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.single-product .warning-block h5 {
    color: #e67e22;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-product .warning-block p {
    color: #d35400;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .single-product .product {
        margin: 20px 10px;
        border-radius: 10px;
    }
    
    .single-product .summary {
        padding: 25px 20px;
    }
    
    .single-product .product_title {
        font-size: 1.8em;
    }
    
    .single-product .price {
        font-size: 1.5em;
        padding: 12px 15px;
    }
    
    .single-product .cart {
        flex-direction: column;
        align-items: stretch;
    }
    
    .single-product .single_add_to_cart_button {
        width: 100%;
        padding: 18px;
    }
    
    .single-product .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }
    
    .single-product .woocommerce-tabs ul.tabs li a {
        padding: 15px 20px;
    }
    
    .single-product .related.products .products {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .single-product .summary {
        padding: 20px 15px;
    }
    
    .single-product .product_title {
        font-size: 1.5em;
    }
    
    .single-product .price {
        font-size: 1.3em;
    }
    
    .single-product .variations select {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .single-product .woocommerce-tabs .panel {
        padding: 20px 15px;
    }
}

/* Additional Enhancements */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.single-product .woocommerce-message {
    background: rgba(39, 174, 96, 0.1);
    border-left-color: #27ae60;
    color: #27ae60;
}

.single-product .woocommerce-info {
    background: rgba(52, 152, 219, 0.1);
    border-left-color: #3498db;
    color: #2980b9;
}

.single-product .woocommerce-error {
    background: rgba(231, 76, 60, 0.1);
    border-left-color: #e74c3c;
    color: #c0392b;
}

/* Loading States */
.single-product .loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.single-product .loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #00b7f5;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Accessibility Improvements */
.single-product *:focus {
    outline: 2px solid #00b7f5;
    outline-offset: 2px;
}

.single-product .screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Print Styles */
@media print {
    .single-product .woocommerce-tabs,
    .single-product .related.products,
    .single-product .cart,
    .single-product .single_add_to_cart_button {
        display: none;
    }
    
    .single-product .product {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

.single-product .container {max-width:1200px!important;}

.single-product .woocommerce-Reviews {max-width:1600px!important;margin-left:auto;margin-right:auto;padding: 0px 20px!important;}

