/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://yourwebsite.com/
 Description:  A child theme for Hello Elementor
 Author:       Your Name
 Author URI:   https://yourwebsite.com/
 Template:     hello-elementor
 Version:      1.0.0
*/


/* Donation Section Container */
#donation_field {
    padding: 20px;
    background-color: #1f1f1f;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #ebc35c;
}

/* Headings */
#donation_field .donation-headings h2 {
    margin: 0;
    color: #ebc35c;
    font-size: 24px;
}

#donation_field .donation-headings p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'TM Jost', sans-serif;
    margin: 10px 0 20px;
}

/* Donation Options Container */
#donation_options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Individual Option */
.donation-option {
    background-color: #333;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    border: 1px solid transparent;
}

.donation-option:hover {
    background-color: #ebc35c;
    color: #000;
}

.donation-option.selected {
    background-color: #ebc35c;
    color: #000;
    font-weight: bold;
    border: 1px solid #ebc35c;
}

/* Custom Input */
#custom_donation_amount {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Update Button */
#update_donation {
    margin-top: 20px;
    padding: 10px 25px;
    background-color: #ebc35c;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#update_donation:hover {
    background-color: #d4aa3c;
}

/* Import parent theme styles */
@import url("../hello-elementor/style.css");
@font-face {
    font-family: 'Britannic T Light';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Britannic-T-Ligh.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Britannic T Bold';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Britannic-T-Bold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Britannic T Medium';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Britannic-T-Medium.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Britannic D Ultra';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Britannic-D-Ultra.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Britannic D Extra Light';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Britannic-D-Extra-Light.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Britannic Bold T';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Britannic-Bold-T.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Britannic Regular';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Britannic.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Jost Regular';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Jost-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Jost Bold';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Jost-Bold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Jost SemiBold';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Jost-SemiBold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Jost Medium';
    src: url('https://tmcacao.com/wp-content/uploads/2025/04/Jost-Medium.ttf') format('truetype');
    font-display: swap;
}


.woocommerce .star-rating .average-rating {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.woocommerce .star-rating {
    float: left !important;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
    font-size: 18px !important;
	color: wheat !important;
}


//Custom Review System
/* Review Form Container */
#crs-rating-form {
  background: #f9f9f9;
  padding: 1.5em;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  max-width: 500px;
  margin-bottom: 1.5em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Paragraphs in Form */
#crs-rating-form p {
  margin-bottom: 1em;
}

/* Dropdown Styling */
#crs-rating-form select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1em;
  background-color: #fff;
}

/* Submit Button */
#crs-rating-form button {
  background-color: #ed6464;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#crs-rating-form button:hover {
  background-color: #d85454;
}

/* Success Message */
#crs-rating-form p {
  color: #fff;
  font-weight: bold;
}

/* Review Summary Box */
.crs-summary {
  background: #fffbe6;
  border-left: 4px solid #ffd24d;
  padding: 1em;
  border-radius: 8px;
  max-width: 500px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* Optional Star Style */
.crs-stars {
  color: #f73171;
  margin-left: 8px;
}

// like button css code
.like-button-wrapper {
    margin-top: 15px;
}

.like-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    transition: color 0.3s;
}

.like-btn.liked {
    color: #000000;
	  border-radius: 5px!important;
	font-family: 'TM Bold';
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
    border-left: 4px solid #ffd24d !important;
    border-radius: 8px!important;
}

.like-btn:disabled {
    cursor: default;
    opacity: 0.7;
	font-family: 'TM Bold';
	background: #fffbe6 !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
    border-left: 4px solid #ffd24d !important;
    border-radius: 8px!important;
}
button.like-btn {
    background: #ebe7d3 !important;
	font-family: 'TM Bold';
    border-radius: 5px !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
    border-left: 4px solid #bfb584 !important;
    border-radius: 8px!important;
}
@media (max-width: 480px) {
    .like-btn .like-label {
        display: inline;
        font-size: 24px;
        color: #000;
        white-space: nowrap;
    }
}

//font awesome and half review
.crs-summary .fas.fa-star {
    color: #FFD700; /* Full star color */
}

.crs-summary .fas.fa-star-half-alt {
    color: #FFD700; /* Half star color */
}

.crs-summary .far.fa-star {
    color: #ccc; /* Empty star color */
}

/* custom cart design start here*/
.custom-cart-icon {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.bag-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url('https://tmcacao.com/wp-content/uploads/2025/05/tmc-bags.webp'); /* Replace with your icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #e60023;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .bag-icon {
        width: 24px;
        height: 24px;
    }

    .cart-count {
        font-size: 11px;
        min-width: 16px;
        padding: 1px 5px;
    }
}

/* custom cart design End here*/

/*Floating button for mobile only start here*/
/* Floating Cart Button */
#tmc-floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#tmc-cart-icon {
    width: 60px;
    height: 60px;
    background-color: #000;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 100001;
}

#tmc-lottie-cart {
    width: 40px;
    height: 40px;
}

#tmc-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slide-in Cart Panel */
#tmc-cart-popup {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 350px;
    max-width: 100%;
    background: #000;
    color: #fff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 100000;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    padding: 20px;
}

#tmc-cart-popup.tmc-show {
    transform: translateX(0);
}

#tmc-cart-popup a {
    color: #EFC65D !important;
}

#tmc-cart-popup .button {
    background-color: #EFC65D;
    color: #000;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 480px) {
    #tmc-cart-popup {
        width: 90vw;
        border-radius: 0;
    }
}
/* Cart Header */
.tmc-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.tmc-cart-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

/* Close Button Style */
#tmc-close-cart {
    background: #fff;
    color: red;
    font-size: 20px;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Divider */
.tmc-divider {
    border: 0;
    height: 1px;
    background: #444;
    margin: 0 0 15px 0;
}
#tmc-lottie-cart {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}
/*Floating button for mobile only End here*/