/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Hide default text and style arrows like Figma */
.woocommerce-product-gallery .flex-direction-nav a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    cursor: pointer;
    text-indent: -9999px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.woocommerce-product-gallery .flex-direction-nav a:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Position arrows on left and right */
.woocommerce-product-gallery .flex-direction-nav a.flex-prev {
    left: 15px;
}

.woocommerce-product-gallery .flex-direction-nav a.flex-next {
    right: 15px;
}

/* Add arrow icons using Font Awesome or Unicode */
.woocommerce-product-gallery .flex-direction-nav a::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #333;
    text-indent: 0;
    font-weight: bold;
}

.woocommerce-product-gallery .flex-direction-nav a.flex-prev::before {
    content: '←';  /* Left arrow */
}

.woocommerce-product-gallery .flex-direction-nav a.flex-next::before {
    content: '→';  /* Right arrow */
}

/* Ensure container has proper positioning */
.woocommerce-product-gallery {
    position: relative;
}

ul.flex-direction-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

ul.flex-direction-nav li {
    pointer-events: auto;
}



/* Style RadiusTheme Variation Swatches with prices */
.rtwpvs-button-term,
.rtwpvs-term {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 10px !important;
    min-height: 85px !important;
    gap: 6px !important;
    text-align: center !important;
    border: 1.5px solid #ddd !important;
    border-radius: 6px !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
}

/* Hover effect */
.rtwpvs-button-term:hover,
.rtwpvs-term:hover {
    border-color: #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px);
}

/* Selected state */
.rtwpvs-button-term.selected,
.rtwpvs-term.selected {
    border-color: #000 !important;
    border-width: 2px !important;
    background: #f9f9f9 !important;
}

/* Price styling */
.rtwpvs-button-term .variation-price,
.rtwpvs-term .variation-price {
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-top: 4px !important;
}

/* Grid layout for swatches */
.rtwpvs-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    max-width: 600px;
}

/* Responsive */
@media (max-width: 768px) {
    .rtwpvs-wrapper {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .rtwpvs-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Hide main product price range */
.single-product .product .summary > .price {
    display: none !important;
}

/* Show only variation price when selected */
.single-product .woocommerce-variation-price .price {
    display: block !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 10px 0 !important;
}

/* Position variation price nicely */
.single_variation_wrap .woocommerce-variation {
    display: flex;
    flex-direction: column;
}

.single_variation_wrap .woocommerce-variation-price {
    order: -1; /* Move price above add to cart */
    margin-bottom: 15px;
}

/* Main product price styling - like Figma */
.single-product .product .summary .price {
    display: flex !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 15px 0 !important;
    line-height: 1.2;
}
p.price ins {
    order: 1;
}
/* Hide the variation price that appears below */
.single_variation_wrap .woocommerce-variation-price {
    display: none !important;
}

/* Remove sale price strikethrough if not needed */
.single-product .product .summary .price del {
    opacity: 0.5;
    margin-right: 8px;
    text-decoration: none !important;
}
.single-product .product .summary .price del bdi {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}
/* Make sure current price is prominent */
.single-product .product .summary .price ins {
    text-decoration: none;
    font-weight: 700;
}


a[href="#tab-964"] {
    display: none !important;
}


.size-guide-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999999;
}

.size-guide-modal.active{
    opacity: 1;
    visibility: visible;
}

.size-guide-modal-content{
    background: #fff;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow: auto;
    padding: 25px;
    border-radius: 12px;
    position: relative;
}

.size-guide-close{
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 26px;
    cursor: pointer;
}

.custom-size-guide-link{
    margin-left: 10px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.woocommerce-product-attributes th {
    font-weight: 700;
    width: 220px;
}

.woocommerce-product-attributes td {
    line-height: 1.6;
}




//css for additional information

.custom-additional-info h3 {
    font-weight: 700;
    font-size: 20px;
    margin-top: 30px;
}

.custom-additional-info ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.custom-additional-info li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.custom-additional-info p {
    line-height: 1.7;
    margin-bottom: 15px;
}
