/**
 * WooCommerce Custom Styles
 * Compatible with all WooCommerce versions
 */

/*woocommerce*/
.woocommerce-breadcrumb a {
    color: #464644;
}

.woocommerce-breadcrumb a:hover {
    color: #0e59f2;
}

.woocommerce div.product .product_title {
    border-radius: 25px;
    background: #f4f5f7;
    padding: 10px !important;
    font-size: 20px;
    font-weight: 400;
    color: #5e5858;
    line-height: 2;
    width: 100% !important;
}

.woocommerce-product-rating {
    display: inline-block !important;
    background: #f4f5f7;
    padding: 0 10px 10px 5px !important;
    border-radius: 15px;
    float: right;
}

.woocommerce .star-rating span::before, .woocommerce p.stars a::before {
    color: #ffc312;
}

.price {
    text-decoration: none;
    font-weight: 800 !important;
    font-size: 20px;
    text-align: center !important;
}

.price del {
    color: #0e59f2;
    font-size: 14px;
}

.price ins {
    text-decoration: none;
    font-weight: 800 !important;
    font-size: 20px;
}

span.woocommerce-Price-amount.amount, span.woocommerce-Price-currencySymbol {
    color: #0e59f2 !important;
}

.woocommerce-product-details__short-description h3, .woocommerce-product-details__short-description ul li {
    list-style: circle;
    line-height: 2;
}

.quantity {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
}

.quantity:hover {
    border: 1px solid #0e59f2;
}

.woocommerce .quantity .qty {
    border: none !important;
}

button.single_add_to_cart_button {
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
    background: #fff !important;
    color: #464644 !important;
    padding: 15px !important;
}

button.single_add_to_cart_button:hover {
    border: 1px solid #0e59f2 !important;
    color: #0e59f2 !important;
}

.woocommerce span.onsale {
    background-color: #0e59f2 !important;
}

.woocommerce-Tabs-panel p {
    line-height: 2;
}

ul.tabs.wc-tabs {
    background: #f4f5f7;
    border-radius: 12px;
    padding: 10px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    display: none !important;
}

ul.tabs.wc-tabs li {
    border: none !important;
    background-color: unset !important;
    margin-right: 10px !important;
}

ul.tabs.wc-tabs li a {
    color: #464644 !important;
}

ul.tabs.wc-tabs li.active {
    background-color: #fff !important;
    border-radius: 15px !important;
}

ul.tabs.wc-tabs li.active a {
    color: #0e59f2 !important;
}

ul.tabs.wc-tabs li::before {
    display: none !important;
}

ul.tabs.wc-tabs li::after {
    display: none !important;
}

.commentlist li {
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
    padding: 10px !important;
    margin: 20px 0 !important;
}

.commentlist .children li {
    border: none !important;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    margin: 10px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 3px solid #007bff !important;
    object-fit: cover !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    background: unset !important;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
}

.products li {
    width: 30.75% !important;
    margin: 0 0 2.992em 1.8% !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
    padding: 10px !important;
    overflow: hidden !important;
    float: right !important;
    position: relative !important;
    min-height: 445px;
}

.products li .button {
    display: block !important;
    text-align: center !important;
    border-radius: 30px !important;
    position: absolute !important;
    background-color: #ddd !important;
    color: #5e5858 !important;
    border: 1px solid #ddd !important;
    bottom: -35px;
    left: 0 !important;
    right: 0 !important;
    width: 76%;
    margin: auto !important;
}

.products li:hover a.button {
    bottom: 10px;
}

.products li .button:hover {
    color: #007bff !important;
}

.products li a.button.added {
    width: 85%;
}

.products li:hover a.button.added {
    bottom: -35px;
}

.products li a {
    color: #5e5858;
}

.page-numbers {
    border: 1px solid #ddd !important;
    border-radius: 40px !important;
    padding: 5px 20px !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: unset !important;
    color: #007bff !important;
}

.page-numbers li {
    border: none !important;
}

.page-numbers span {
    background: #f3f3f3ab !important;
    padding: 5px 14px !important;
    border-radius: 50%;
    border: none !important;
    color: #464644 !important;
}

.page-numbers a {
    border: none !important;
    color: #464644 !important;
}

.products li h2.woocommerce-loop-product__title {
    margin-bottom: 10px !important;
    text-align: center !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 44px;
}

a.added_to_cart.wc-forward {
    display: block !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 15px;
    padding: 0 0 9px 0;
    margin: 20px 0;
}

a.added_to_cart.wc-forward:hover {
    color: #007bff;
    border: 1px solid #007bff !important;
}

.page-title {
    border: 1px solid #ddddddc4;
    padding: 5px 20px;
    border-radius: 40px;
    display: inline-block;
    font-size: 18px;
    font-weight: 400;
}

.woocommerce .products .star-rating {
    margin: 10px auto !important;
}

.woocommerce-variation-price {
    margin-bottom: 15px;
}

.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin-bottom: 60px;
}

.woocommerce ul.products li.product .onsale {
    top: 9px !important;
    left: 9px !important;
}

.woocommerce-message, .woocommerce-info {
    border-top-color: #0e59f2 !important;
    border-radius: 40px !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.woocommerce-message::before {
    color: #0e59f2 !important;
}

a.button.wc-forward {
    border-radius: 15px !important;
    background: #efe5fa !important;
    color: #464644 !important;
    border: 1px solid #ddd !important;
}

a.button.wc-forward:hover {
    color: #0e59f2 !important;
    border: 1px solid #0e59f2 !important;
}

.wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 10px;
}

table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block:last-child {
    border-bottom: none !important;
}

button.wc-block-cart-item__remove-link {
    text-decoration: none !important;
    border: 1px solid #ddd !important;
    border-radius: 15px !important;
    padding: 10px !important;
}

button.wc-block-cart-item__remove-link:hover {
    border: 1px solid #0e59f2 !important;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    border: 1px solid #ddd;
    border-radius: 15px;
    margin-top: 15px;
}

a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
    border: 1px solid #0e59f2;
}

.wc-block-components-order-summary-item {
    flex-direction: column;
}

.woocommerce ul.order_details {
    padding: 0 !important;
}

.woocommerce ul.order_details li {
    margin-left: 1em !important;
}

.woocommerce-MyAccount-content {
    margin-bottom: 50px !important;
}

.woocommerce-MyAccount-navigation ul {
    width: 100%;
    overflow-x: auto;
}

.woocommerce-MyAccount-navigation ul li {
    margin-left: 10px;
}
/*end woocommerce*/

/*my account woocommerce*/
.account-summary-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.account-avatar img {
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.account-summary-card h3 {
    margin: 15px 0 5px;
    font-size: 1.4em;
    color: #2d3748;
}

.woocommerce-MyAccount-navigation {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    justify-content: space-around;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    color: #464644;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #0e59f2;
}

.account-avatar img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
}
/*end my account woocommerce*/

/* Product Gallery Zoom Fix - Added to existing styles */
.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery__image {
    position: relative;
    overflow: hidden;
}

/* Zoom functionality */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.woocommerce-product-gallery__trigger:hover {
    background: rgba(255, 255, 255, 1);
    color: #0e59f2;
}

/* Ensure zoom works properly */
.woocommerce-product-gallery__image img {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.woocommerce-product-gallery__image:hover img {
    transform: scale(1.05);
}

/* Flexslider compatibility */
.woocommerce-product-gallery .flex-viewport {
    overflow: hidden;
}

.woocommerce-product-gallery .flex-control-nav {
    margin-top: 10px;
}

.woocommerce-product-gallery .flex-control-nav li {
    margin: 0 5px;
}

.woocommerce-product-gallery .flex-control-nav img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.woocommerce-product-gallery .flex-control-nav img:hover {
    opacity: 0.8;
}