/* Theme Name: CXG Theme
Author: Webolute
Author URI: https://webolute.com
Description: A custom theme for CXG.
Version: 1.0
*/
.static-page-content {
  color: #000;
}
.static-page-content h2 {
  margin-top: 25px;
  color: #000;
}
.static-page-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000;
}
.static-page-content h4 {
  margin-top: 15px;
  color: #000;
}
.static-page-content p {
  margin-bottom: 20px;
  color: #000;
}

.wpcf7-email {
  flex: 1;
  width: 100%;
  height: 56px;
  background: #070707;
  border: 1px solid #ffffff4d;
  border-right: none;
  font-family: "TT Chocolates", sans-serif;
  font-size: 17px;
  line-height: 1;
  color: #fff;
  font-weight: 500;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

#wpcf7-f160-o1 .wpcf7-submit {
  width: 58px;
  height: 56px;
  background-color: #bd161c;
  /* background-image: url("https://stg.dcodified.com/cxg/wp-content/themes/cxg-theme/images/arrow-up-sharp.png"); */
  background-image: url("../../../wp-content/themes/cxg-theme/images/arrow-up-sharp.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 24px auto;
  color: transparent;
  text-indent: -9999px;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  float: right;
  top: -3.5rem;
  position: relative;
}
.woocommerce .quantity .plus,
.woocommerce .quantity .minus {
  background: #eee;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  font-size: 16px;
}

#wpcf7-f160-o2 .wpcf7-submit {
  width: 58px;
  height: 56px;
  background-color: #bd161c;
  /* background-image: url("https://stg.dcodified.com/cxg/wp-content/themes/cxg-theme/images/arrow-up-sharp.png"); */
  background-image: url("../../../wp-content/themes/cxg-theme/images/arrow-up-sharp.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 24px auto;
  color: transparent;
  text-indent: -9999px;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  float: right;
  top: -3.5rem;
  position: relative;
}

.wpcf7 input.submit-btn img {
  width: 32px;
  height: auto;
  display: block;
}

.wpcf7-email::placeholder {
  color: #fff;
  opacity: 0.4;
}

.wpcf7-email:focus,
.wpcf7-email:active {
  color: #fff;
  background: transparent;
  border-color: #fff !important;
  box-shadow: none;
}

.wpcf7-response-output {
  color: #fff;
}

.icon-block > .d-flex:first-child {
  width: 100%;
  justify-content: space-between;
}

.load-more-block {
  margin-top: 20px;
  margin-bottom: 20px;
}

.btn-dark {
  background-color: #000;
  border-color: #000;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
}

.btn-dark .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
  margin-right: 8px;
  vertical-align: middle;
}

.btn-dark .text-light {
  vertical-align: middle;
}

/* Wishlist Styles */
.wishlist-link {
  position: relative;
  display: inline-block;
}

.wishlist-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #ff0000;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
}

.heart-btn.active i {
  color: #ff0000;
}

/* Ensure wishlist page uses same slider styles */
.wishlist-section .ttpSlider {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.add-to-cart-button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.add-to-cart-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.color-options li {
  cursor: pointer;
  padding: 5px 10px;
  margin: 5px;
  display: inline-block;
}

.color-options li.active {
  background-color: #f0f0f0;
  font-weight: bold;
}

.review-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.review-modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
}

.review-modal .modal-content .submit-review {
  display: inline-block;
  font-family: "TT Chocolates";
  font-size: 16px !important;
  line-height: 1;
  color: #fff !important;
  font-weight: 500 !important;
  margin: 0;
  padding: 16px 35px;
  background: #bd161c !important;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  box-shadow: none;
  outline: none;
  border: none;
  transition: all 0.3s ease-in-out;
  margin-top: 2rem !important;
}

.close-modal {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  background: #ebf264;
  border-radius: 30px;
  width: 35px;
  height: 35px;
  justify-content: center;
  display: flex;
  font-weight: 200;
  color: #000000;
}

.review-head {
  font-weight: 400;
  font-size: 30px;
  line-height: 100%;
  color: #000000;
}

.comment-form-rating select {
  width: 100%;
  padding: 8px;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 8px;
  height: 100px;
  border: 1px solid #e3e3e3;
}

.comment-form-author input,
.comment-form-email input {
  width: 100%;
  padding: 8px;
  border: 1px solid #e3e3e3;
}

.comment-form-comment {
  color: #000;
}

.comment-form-author {
  color: #000;
}

.comment-form-email {
  color: #000;
}

.comment-form-cookies-consent {
  display: none;
}

#review-form-wrapper .form-submit {
  margin-top: 1rem;
}

.comment-form-rating {
  color: #000;
}

.review-message.review-success {
  color: #000;
}

.rt-ex-lb {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.comment-form-rating .stars {
  margin-bottom: 1rem;
}

.comment-form-comment label {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.comment-form-author label {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.comment-form-email label {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.count-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.count-box .btn {
  background: #f0f0f0;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}
.count-box .countDisplay {
  width: 37px;
  text-align: center;
  border: 1px solid #ddd;
  padding: 5px;
  margin-right: -7px;
}
.desc-block .remove img {
  width: 20px;
  height: 20px;
}

.count-box .countDisplay {
  border: none;
  text-align: center;
}

.color-list .filter-color {
  align-items: center;
  display: flex !important;
}

.icon.color-circle {
  height: 20px;
  width: 20px;
  border-radius: 30px;
}

.color-circle.all-color {
  transform: rotate(180deg);
}

.woocommerce p.stars a::before {
  color: #000 !important;
}

.review-field .btn-field p {
  flex: 1;
  font-size: 15px;
  margin: 0;
  padding: 0 0 0 35px;
  color: #000 !important;
}

.review-field .star-rating span {
  font-family: WooCommerce !important;
  font-size: unset !important;
}

.no-rt-rw {
  flex: 1;

  margin: 0;
  padding: 0 0 0 35px;
  color: black;
}

#review-display p.rt-rw-cl {
  flex: 1 !important;
  margin: 0 !important;
  padding: 0 0 0 35px !important;
  color: black !important;
}

.cmr-element .cst-rw-mn {
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.cart-count {
  position: relative;
  top: -14px;
  right: 9px;
  background-color: #ff0000;
  color: #fff;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1;
}

/* .cart-section .container {
      margin: 0;
    padding: 0;
    max-width: 100%;
} */

.cart-collaterals .checkout-button {
  display: none !important;
}

.cart-prd-title a {
  color: #000;
}

.cart-element .countBtnMinus {
  padding: 8px;
}

.cart-element .countBtnPlus {
  padding: 8px;
}

.cart-element .count-box {
  gap: 0;
}

.woocommerce-checkout .form-box input[type="text"],
.woocommerce-checkout .form-box input[type="email"],
.woocommerce-checkout .form-box input[type="tel"],
.woocommerce-checkout .form-box input[type="number"],
.woocommerce-checkout .form-box select {
  border: 1px solid #555;
  border-radius: 6px;
  box-shadow: none;
  outline: none;
  width: 100%;
  height: 52px;
  background: #fff;
  font-family: "TT Chocolates";
  font-size: 15px;
  line-height: 1;
  color: #141414;
  font-weight: 500;
}

.woocommerce-checkout .select2-selection {
  height: 52px;
  align-items: center;
  display: flex;
  border: 1px solid #555;
  border-radius: 6px;
}

.woocommerce-checkout .woocommerce form .form-row-first {
  width: 100%;
}

.woocommerce-checkout .woocommerce form .form-row-last {
  width: 100%;
}

.woocommerce-checkout #customer_details p {
  padding-bottom: 0px;
}

.woocommerce-checkout #customer_details .row {
  padding: 0 0 30px;
}

.woocommerce-checkout #customer_details .payment-dt-rw {
  padding: 0px;
}

.woocommerce-checkout #customer_details .payment-dtfrm {
  padding: 0px;
}

.woocommerce-privacy-policy-text p {
  color: #000;
}

.cart-element .block .lt-sec .table-bottom table tbody tr td {
  padding-top: 13px !important;
  padding-bottom: 13px !important;
}

/* Center the filter-loader */

/* .filter-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px; 
    width: 100%;
    position: relative;
    display: none;
} */

/* .filter-loader.active {
    display: flex;
} */

/* .filter-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #007bff; 
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
} */

/* .load-more-block {
  margin: 20px 0;
  text-align: center;
}
.load-more-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}
.load-more-btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}
.load-more-btn .spinner.active {
  display: inline-block;
} */

/* Spinner Animation */
/* @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#product-list {
    min-height: 100vh; 
} */

#product-list {
  position: relative;
  min-height: 400px;
  overflow: hidden; /* Prevent excessive height */
}
.filter-loader {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;

  z-index: 10;
}
.filter-loader.active {
  display: block;
}
.filter-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: block;
}
.load-more-block {
  margin: 20px 0;
  text-align: center;
}
.load-more-btn {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}
.load-more-btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}
.load-more-btn .spinner.active {
  display: inline-block;
}

/* Spinner Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.filter-sec {
  position: sticky;
  top: 20px; /* Adjust as needed /    z-index: 5;    max-height: calc(100vh - 40px); / Limit height to viewport /    overflow-y: auto; / Allow scrolling within filter panel */
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#product-list .no-products {
  color: black;
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100%;
}

.cart-element .coupon {
  display: flex;
  flex-direction: column;
}

.cart-element .coupon input[name="coupon_code"] {
  height: 40px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.checkout-section .woocommerce-column--1 {
  display: none;
}

.checkout-section .product-name a {
  color: #000;
  font-weight: bold;
}

.checkout-section .product-total span {
  font-weight: bold;
}

.checkout-section .woocommerce-order-details__title {
  margin-bottom: 2rem;
}

.checkout-section .woocommerce-column__title {
  margin-bottom: 2rem;
}

.empty-cart-message p {
  font-size: 20px;
  color: black;
}

.cart-element .block .lt-sec .empty-cart-message .empty-crt-shp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.cart-empty .cart-element .empty-shop-title {
  padding-bottom: 0;
}

/* For color filter highlight */
.filter-color.active .color-circle {
  border: 2px solid #bd161c;
  box-sizing: border-box;
}

/* For size filter highlight */
.shop-element
  .filter-sec
  .accordion
  .accordion-body
  .checkbox-list
  .form-check
  .form-check-input:checked[type="checkbox"] {
  border: 1px solid red;
}

.account-section {
  margin-top: 12rem;
}
.attribute-field {
  margin-bottom: 20px;
}
.attribute-field label {
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}
.attribute-options {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.attribute-options li {
  padding: 10px 15px;
  border: 1px solid #ddd;
  cursor: pointer;

  color: #000;
  border-radius: 4px;
}
.attribute-options li.selected {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.attribute-options li.selected:hover {
  background-color: #000;
  border-color: #333;
}

/* Hover effect for unselected buttons */

.attribute-options li:not(.selected):hover {
  background-color: #f5f5f5;
  border-color: #ddd;
}

.wishlist-section {
  padding-top: 150px !important;
}

.woocommerce-billing-fields__field-wrapper label {
  color: #000; /* or color: black; */
}

.checkout.woocommerce-checkout {
  display: flex;
  margin-top: 80px;
  margin-bottom: 60px;
}
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
  margin-top:20px;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
  width: 100%;
}

.checkout_coupon.woocommerce-form-coupon {
  display: none !important;
  margin: 0 !important;
  background: #fff;
}

.woocommerce-billing-fields {
  padding-top: 3rem;
}

#order_review_heading {
  display: none;
}

.woocommerce-checkout-review-order {
  padding-top: 3rem;
  padding-left: 5rem;
}

.woocommerce-checkout-payment p {
  color: #000;
}

.woocommerce-checkout-payment label {
  color: #000 !important;
}
.p-FieldLabel.Label.Label--empty {
  color: #000 !important;
}

.cart-section .btn-block a {
  text-align: center;
}

.attribute-field span {
  text-transform: capitalize;
}

.cart-error-message {
  color: #a00;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

#wpcf7-f5199-o1 .wpcf7-response-output {
  color: #000;
}

.load-more-btn .spinner {
  display: none;
  margin-right: 8px;
}

.load-more-btn.loading .spinner {
  display: inline-block;
}

.fa-spinner.fa-spin {
  animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

/* Media Query */

@media screen and (min-width: 320px) and (max-width: 767px) {
  .cart-element .block .lt-sec .table-field table tbody tr td:first-child {
    padding-left: 10px !important;
  }

  td[data-label="PRODUCT"]::before {
    display: none !important;
    content: none !important;
  }

  .checkout.woocommerce-checkout {
    display: grid;
  }

  .woocommerce-checkout-review-order {
    padding-left: 0;
  }
}
@media screen and (max-width: 575px) {
  .cart-element .block .lt-sec .btn-field .ghostbtn {
    text-align: center;
  }
}

@media screen and (min-width: 767px) and (max-width: 991px) {
  .checkout-element .container .row {
    display: flex;
    flex-direction: column;
  }

  .checkout-element .container .row .col-md-7 {
    width: 100%;
  }
  .checkout-element .container .row .col-md-5 {
    width: 100%;
  }

  .checkout-element .container .row .col-md-6 {
    width: 100%;
  }

  .checkout.woocommerce-checkout {
    display: grid;
  }

  .woocommerce-checkout-review-order {
    padding-left: 0;
  }
}
