/*
 Theme Name:   eStore Theme Child
 Theme URI:    https://cathyzhahg.ca/sample
 Description:  Child theme of eStore Parent Theme
 Author:       Cathy Zhang
 Author URI:   https://cathyzhang.ca
 Template:     estore
 Version:      1.0.0
 Text Domain:  estore-child
*/

/* Import parent theme styles */
@import url("../estore/style.css");

a:hover,
a:focus,
a:active {
    text-decoration: none;
    color: #7f19e5;
    transition: all 2500ms ease;
}

a {
    text-decoration: none !important;
}

.featured-hover-block a {
    border-color: white!important;
}

.collection-thumb-block .collection-thumb-hover,
.hot-product-content-wrapper .hot-img .cart-price-wrapper,
.featured-slider li .featured-img .featured-hover-wrapper,
.widget_vertical_promo .slider-title,
.woocommerce-page ul.products li.product .products-img .products-hover-wrapper,
.lmp-load-more {
    background: rgba(127, 25, 229, 0.5) none repeat scroll 0 0;
}

.has-post-thumbnail .entry-thumbnail .posted-on:hover,
.widget_featured_posts_block .entry-thumbnail .posted-on:hover {
    background: rgba(127, 25, 229, 0.5) none repeat scroll 0 0;
    cursor: pointer;
    transition: all 2500ms ease;
}

/* Add your custom CSS below  primary color: #7f19e5  127, 25, 229 */
/*  ------------------------------ MAIN MENU ------------------------------  */
li.current-menu-item,
.is-active {
    background-color: #7f19e5;
    border-radius: 8px;
    color: white !important;
    padding-left: 6px;
    padding-right: 6px;
}

li.is-active, 
.is-active {
    background-color: #7f19e5;
}

li.is-active a,
.is-active a {
    color: white !important;
}

li.current-menu-item a {
    color: white !important;
}

#header-menu {
    margin-top: 8px;
}

img.custom-logo {
    border-radius: 30%;
    border: 3px solid #7f19e5;
}

/*  ------------------------------ HEADER LOGO ------------------------------  */
h1#site-title a,
h3#site-title a,
p#site-description,
.left-header-block,
.right-top-header a,
.right-top-header .top-header-menu-wrapper ul li a {
    color: #7f19e5;
}

.right-header-block {
    margin-top: 8px;
}

.site-title-wrapper {
    align-self: center;
}

p#site-description {
    text-align: center;
}

.single_image_with_link img {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    border-radius: 8px;
    margin-top: 10px;
}

.slider-caption-wrapper .slider-title a,
.slider-caption-wrapper .slider-content p {
    text-shadow: 3px 3px 2px rgba(127, 25, 229, 1);
}

.slider-caption-wrapper .slider-btn:hover,
.add_to_wishlist:hover,
.woocommerce-Button:hover,
#place_order:hover,
a.wc-forward:hover,
.lmp-load-more:hover,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover,
button[name="apply_coupon"]:hover,
button[name="update_cart"]:hover,
a.checkout-button:hover {
    background-color: white !important;
    color: #7f19e5!important;
    transition: all 2500ms ease!important;
    border: purple solid 1px !important;
}

.slider-caption-wrapper .slider-btn:hover i,
.add_to_wishlist:hover i {
    background-color: white !important;
    color: #7f19e5;
    transition: all 2500ms ease;
}

.add_to_wishlist:hover span {
    color: #7f19e5;
    transition: all 2500ms ease;
}

.slider-caption-wrapper i:hover,
.add_to_wishlist i:hover {
    background-color: white !important;
    color: #7f19e5;
    transition: all 2500ms ease;
}

/*  ------------------------------ WOOCOMMERCE ------------------------------  */
.sales-tag {
    background-color: #7f19e5;
}

.sales-tag:before,
.sales-tag:after {
    border-right: 10px solid #7f19e5;
}

.woocommerce-Button:hover {}

/*  ------------------------------ contact-form.php ------------------------------  */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
}

.error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.submit-btn {
    background: #0073aa;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.submit-btn:hover {
    background: #005177;
}

.widget-collection .cart-wishlist-btn a.add_to_wishlist:hover {
    border: none !important;
}

.widget-collection .cart-wishlist-btn a.add_to_wishlist i:hover {
    color: red !important;
    transition: all 2500ms ease;
}

/* =============================== VIDEO PLUGIN =============================== */
/* Video Player Styles */
#player-container {
    margin: 20px 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

#player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.video-btn {
    padding: 10px 15px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.video-btn:hover {
    background: #cc0000;
}

.video-btn.active {
    background: #990000;
    box-shadow: 0 0 0 2px #000;
}

.desktop-list {
    height: 300px!important;
}

.play-icon  {
    background: rgba(0, 0, 0, 0);
