/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/**
 * Code Written by Mahmud
 * Begin
 */

/** Sigle product page */

.bc-share-btn-wrapper {
	margin-top: 8px;
}

.bc-share-btn-wrapper p{
	padding: 0;
	margin: 0;
	margin-left: 50px;
	color: #000;
}

.bc-share-btn-wrapper .bc-share-button {
	background: #20a922;
	color: #FFF;
	padding: 8px 12px;
	border-radius: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
}

.bc-share-btn-wrapper .bc-share-button svg{
	width: auto;
	height: 20px;
	margin-right: 6px;
}


.mobile_hide .bc-share-button {
	margin-left: 70px;
}
.mobile_show .bc-share-btn-wrapper {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.mobile_show .bc-share-btn-wrapper p {
	margin-left: 0;
	text-align: center;
}

@keyframes moveRight {
	0% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(6px);
	}
	100% {
		transform: translateX(0);
	}
}

.bc-animated-arrow {
	animation: moveRight 2s ease-in-out infinite;
	width: 16px;
	height: 16px;
}
.mobile_show .bc-animated-arrow {
	display: none;
}

/** Checkout Page */
.woocommerce-billing-fields > h3 {
  display: none !important;
}

p#billing_first_name_field {
  position: relative;
}
p#billing_first_name_field:before {
  content: "Contactgegevens";
  position: absolute;
  top: -50px;
  font-weight: 500;
  font-size: 24px;
}

p#billing_country_field {
  position: relative;
  padding-top: 70px;
}

p#billing_country_field:before {
  content: "Verzendgegevens";
  position: absolute;
  top: 10px;
  font-weight: 500;
  font-size: 24px;
}
.woocommerce-billing-fields__field-wrapper #kl_newsletter_checkbox_field,
.woocommerce-billing-fields__field-wrapper #omnisend_newsletter_checkbox_field{
	display: none;
}

/** Hide checkout page coupon form */
#acfw-checkout-ui-block {
	display: none;	
}

/** Cart Page */
span.woocommerce-Price-amount.amount bdi{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

body.woocommerce-cart .woocommerce-cart-form [name="update_cart"] {
  display: none;
}
.bc-container .bc-quantity,
.bc-container .bc-column-2 {
  display: none;
}
[class*="ct-woocommerce"] .shop_table .remove:hover svg path {
  fill: #691833;
}
td.coupon-heading {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
td.coupon-heading h3 {
  margin-bottom: 0;
  font-weight: 600;
}
[class*="ct-woocommerce"] .shop_table tr > [class*="product-remove"] {
  width: 70px !important;
  text-align: center !important;
}
.br-coupon-heading-line-break {
		display: none;
	}
@media (max-width: 999.98px) {
  .bc-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-around;
    align-items: stretch;
    justify-content: space-between;
    height: 100%;
    max-width: 100% !important;
  }
  .bc-container .bc-column-1 {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
  }
  .bc-container .bc-column-1 .bc-quantity {
    display: block;
  }

  .bc-container .bc-column-2 {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
  }
  .bc-container .bc-quantity,
  .bc-container .bc-subtotal {
    font-weight: 800;
    color: #691833;
  }
	
	.br-coupon-heading-line-break {
		display: block;
	}
}
/**
 * Code Written by Mahmud
 * End
 */

* {
  font-family: "DicSans", Sans-serif !important;
}
table.shop_table thead th {
  font-weight: 600;
}
table.shop_table td.product-quantity {
  font-weight: 800;
}
table.shop_table td.product-subtotal span.woocommerce-Price-amount.amount {
  font-weight: 800;
  color: #691833;
}
.ct-woocommerce-cart-form .cart_totals {
  background: rgba(218, 222, 228, 0.3);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px !important;
  border: none !important;
  padding: 30px 25px 40px;
}
.ct-woocommerce-cart-form .cart_totals h2 {
  font-size: 16px;
}
.cart_totals table .order-total th {
  font-weight: 700;
}
.ct-woocommerce-cart-form .cart_totals table .order-total td {
  color: #691833;
}
.shop_table .cart-subtotal th {
  font-weight: 500;
  padding: 10px 0 20px;
  border-bottom: 1px solid #c8d9e3;
}
.shop_table .cart-subtotal td {
  font-weight: 700;
  color: #691833;
  padding: 10px 0 20px;
  border-bottom: 1px solid #c8d9e3;
}
.ct-woocommerce-cart-form .cart_totals .shipping-calculator-button {
  color: #691833;
}
.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout {
  display: flex;
  justify-content: center;
  /* margin: 0 !important; */
}
.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout a {
  width: fit-content !important;
  font-size: 22px;
  font-weight: 600;
  background: #691833;
  padding: 10px 40px;
}
.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout a br {
  display: none !important;
}
.ct-woocommerce-cart-form .cart_totals .wc-proceed-to-checkout {
  margin-top: 0;
}
.shop_table.shop_table_responsive {
  margin-bottom: 0 !important;
}

.ct-header-cart:hover [data-placement] {
  opacity: 0 !important;
  visibility: hidden !important;
}
.ct-header-cart.active [data-placement] {
  opacity: 1 !important;
  visibility: visible !important;
}
.ct-cart-content {
  width: 500px !important;
  position: fixed !important;
  right: 0 !important;
  top: 0 !important;
  height: 100% !important;
  background: #fff !important;
  padding: 0 !important;
  overflow-y: auto !important;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1) !important;
  z-index: 999999 !important;
}
/* .ct-cart-content.active,
.ct-header-cart.active [data-placement]{
    opacity: 1 !important;
    visibility: visible !important;
} */
a.button.wc-forward {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}
a.button.checkout.wc-forward {
  background: #691833 !important;
}

/* ======= MINI CART REDESIGN - HIGH SPECIFICITY ======= */
body .ct-cart-content .woocommerce-mini-cart.cart_list.product_list_widget {
  list-style: none !important;
  margin: 0 !important;
  padding: 18px 28px 0 !important;
  overflow-y: visible !important;
  max-height: initial !important;
  border-bottom: 1px solid #eee !important;
}

body .ct-cart-content .woocommerce-mini-cart-item.mini_cart_item {
  display: flex !important;
  align-items: flex-start !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid #eee !important;
  position: relative !important;
  margin: 0 !important;
  list-style: none !important;
}

body
  .ct-cart-content
  .woocommerce-mini-cart-item
  .remove.remove_from_cart_button {
  position: absolute !important;
  top: 5px !important;
  right: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: none !important;
  padding: 5px !important;
  width: auto !important;
  height: auto !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .remove svg,
body .ct-cart-content .woocommerce-mini-cart-item .remove .ct-icon {
  width: 12px !important;
  height: 12px !important;
  fill: #999 !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .remove:hover svg,
body .ct-cart-content .woocommerce-mini-cart-item .remove:hover .ct-icon {
  fill: #691833 !important;
}

body .ct-cart-content .woocommerce-mini-cart-item img,
body .ct-cart-content .woocommerce-mini-cart-item a img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  margin-right: 15px !important;
  border-radius: 5px !important;
  flex-shrink: 0 !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-data {
  flex: 1 !important;
  padding-right: 20px !important;
}

/* ======= MINI CART PRODUCT CARD CONTROLS ======= */
body .ct-cart-content .woocommerce-mini-cart-item .product-card-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px !important;
  margin-top: 20px !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-add-to-cart {
  width: 35px !important;
  height: 35px !important;
  background: #691833 !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-add-to-cart:hover {
  background: #5a1429 !important;
  transform: translateY(-1px) !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-add-to-cart svg {
  width: 16px !important;
  height: 18px !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-title {
  font-weight: 600 !important;
  font-size: 18px !important;
  display: block !important;
  line-height: 20px !important;
  color: #333 !important;
  text-decoration: none !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-title:hover {
  color: #691833 !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .quantity-controls {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: #fff !important;
  width: fit-content !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .quantity-controls button {
  width: 35px !important;
  height: 35px !important;
  border: 1px solid #666 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #666 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.2s ease !important;
}

body
  .ct-cart-content
  .woocommerce-mini-cart-item
  .quantity-controls
  button:hover {
  background: #f5f5f5 !important;
  color: #333 !important;
}

body
  .ct-cart-content
  .woocommerce-mini-cart-item
  .quantity-controls
  .quantity-number {
  width: 45px !important;
  height: 35px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #333 !important;
  background: #fff !important;
  border: none !important;
  border: 1px solid #666 !important;
  border-radius: 6px !important;
  margin: 0 !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
}

/* Loading state for quantity controls */
body
  .ct-cart-content
  .woocommerce-mini-cart-item
  .quantity-controls[style*="opacity: 0.7"] {
  position: relative !important;
}

body
  .ct-cart-content
  .woocommerce-mini-cart-item
  .quantity-controls[style*="opacity: 0.7"]::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 16px !important;
  height: 16px !important;
  margin: -8px 0 0 -8px !important;
  border: 2px solid #691833 !important;
  border-radius: 50% !important;
  border-top-color: transparent !important;
  animation: spin 0.8s linear infinite !important;
  z-index: 10 !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body .ct-cart-content .woocommerce-mini-cart-item .product-price {
  font-weight: 700 !important;
  color: #691833 !important;
  margin-top: 5px !important;
  line-height: 1;
}
body .ct-cart-content .woocommerce-mini-cart-item .product-price span {
  font-weight: 700 !important;
}

/* Hide default quantity display */
body .ct-cart-content .woocommerce-mini-cart-item .quantity {
  display: none !important;
}

/* ======= RECOMMENDATIONS SECTION ======= */
body .ct-cart-content .mini-cart-recommendations {
  padding: 28px 64px 50px !important;
  border-bottom: 1px solid #eee !important;
  margin-bottom: 0 !important;
}

body .ct-cart-content .mini-cart-recommendations h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 25px !important;
  color: #333 !important;
  text-align: center !important;
}

body .ct-cart-content .recommendation-item {
  display: flex !important;
  align-items: center !important;
  padding: 15px 0 !important;
  margin-bottom: 15px !important;
}

body .ct-cart-content .recommendation-image {
  width: 140px !important;
  height: 140px !important;
  margin-right: 20px !important;
  flex-shrink: 0 !important;
  background: #f5f5f5 !important;
  border-radius: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body .ct-cart-content .recommendation-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 5px !important;
}

/* Fallback for missing images */
body .ct-cart-content .recommendation-image img[src*="picks.jpg"]:not([src]),
body .ct-cart-content .recommendation-image img[src*="cable.jpg"]:not([src]) {
  display: none !important;
}

body .ct-cart-content .recommendation-image:empty::before,
body .ct-cart-content .recommendation-image img[src=""]:after {
  content: "📦" !important;
  font-size: 20px !important;
  color: #999 !important;
}

body .ct-cart-content .recommendation-content {
  flex: 1 !important;
}

body .ct-cart-content .recommendation-content h4 a {
  display: block;
  font-size: 19px !important;
  font-weight: 500 !important;
  margin-bottom: 25px !important;
  line-height: 1.4 !important;
  color: #333 !important;
}

body .ct-cart-content .recommendation-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 10px;
}

body .ct-cart-content .add-button {
  background: #f0a500 !important;
  color: #fff !important;
  border: none !important;
  padding: 8px 18px 7px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-size: 20px !important;
  line-height: 1;
  text-transform: uppercase !important;
  transition: background-color 0.3s ease !important;
}

body .ct-cart-content .add-button:hover {
  background: #d88f00 !important;
}

body .ct-cart-content .recommendation-price {
  font-weight: 700 !important;
  color: #691833 !important;
  font-size: 24px !important;
}

/* ======= SUBTOTAL SECTION ======= */
body .ct-cart-content .mini-cart-subtotal {
  padding: 28px 28px 25px !important;
  line-height: 1;
  text-align: right !important;
  border-bottom: 1px solid #eee !important;
  margin-bottom: 0 !important;
}

body .ct-cart-content .mini-cart-subtotal strong {
  display: flex;
  justify-content: space-between;
  font-size: 24px !important;
  color: #691833 !important;
  font-weight: 700 !important;
}

/* ======= BUTTONS STYLING ======= */
body .ct-cart-content .woocommerce-mini-cart__buttons.buttons {
  text-align: center !important;
  padding: 35px 28px !important;
}

body .ct-cart-content .woocommerce-mini-cart__buttons .button {
  display: block !important;
  width: 100% !important;
  margin-bottom: 10px !important;
  padding: 12px 20px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  border-radius: 5px !important;
}

/* Hide default WooCommerce total section since we have custom subtotal */
body .ct-cart-content .woocommerce-mini-cart__total.total {
  display: none !important;
}

/* Override any flex container issues */
body .ct-cart-content .woocommerce-mini-cart-item > * {
  flex-shrink: 0 !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-data {
  flex-shrink: 1 !important;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 5px;
}

body .ct-cart-content .woocommerce-mini-cart-item .product-card-header > div {
  cursor: pointer;
}
body
  .ct-cart-content
  .woocommerce-mini-cart-item
  .product-card-header
  > div:hover
  svg
  path {
  fill: #691833;
}

/* Additional Blocksy overrides */
body
  .ct-offcanvas
  .ct-cart-content
  .woocommerce-mini-cart.cart_list.product_list_widget {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px 0 !important;
}

body .ct-offcanvas .ct-cart-content .woocommerce-mini-cart-item.mini_cart_item {
  display: flex !important;
  align-items: flex-start !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid #eee !important;
  position: relative !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Force override for Blocksy theme specific containers */
.ct-header
  [data-id="cart"]
  .ct-cart-content
  .woocommerce-mini-cart-item.mini_cart_item {
  display: flex !important;
  align-items: flex-start !important;
  padding: 15px 0 !important;
  border-bottom: 1px solid #eee !important;
  position: relative !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Additional high-specificity overrides for stubborn Blocksy styles */
.ct-header
  .ct-cart-content
  .woocommerce-mini-cart.cart_list.product_list_widget
  li.woocommerce-mini-cart-item.mini_cart_item {
  display: flex !important;
  align-items: flex-start !important;
  padding: 15px 0 !important;
  border-bottom: 0 !important;
  position: relative !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Ensure cart images display correctly */
.ct-cart-content .woocommerce-mini-cart-item [class*="ct-media-container"] {
  width: 120px !important;
  height: 120px !important;
  margin-right: 20px !important;
  flex-shrink: 0 !important;
}

.ct-cart-content .woocommerce-mini-cart-item [class*="ct-media-container"] img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
}

/* ======= MINI CART CLOSE BUTTON ======= */
body .ct-cart-content .mini-cart-close-button {
  display: flex;
  margin: 28px 28px 0;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
}

body .ct-cart-content .mini-cart-close-button svg {
  width: 44px !important;
  height: 44px !important;
}

/* ======= CART ITEM ANIMATIONS ======= */
body .ct-cart-content .woocommerce-mini-cart-item {
  transition: opacity 0.3s ease, height 0.3s ease, padding 0.3s ease,
    transform 0.3s ease, margin 0.3s ease !important;
  overflow: hidden !important;
}

/* Smooth removal animation */
body .ct-cart-content .woocommerce-mini-cart-item[style*="opacity: 0"] {
  pointer-events: none !important;
}

body .ct-cart-content .woocommerce-mini-cart-item[style*="height: 0"] {
  border-bottom: none !important;
}

/* ======= EMPTY CART MESSAGE ======= */
body .ct-cart-content .empty-cart-message {
  text-align: center !important;
  padding: 40px 20px !important;
  color: #666 !important;
  font-style: italic !important;
  list-style: none !important;
}

/* ======= REMOVE BUTTON FIX ======= */
body
  .ct-cart-content
  .woocommerce-mini-cart-item
  button.remove.remove_from_cart_button {
  position: absolute !important;
  top: 5px !important;
  right: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: none !important;
  padding: 5px !important;
  width: auto !important;
  height: auto !important;
  cursor: pointer !important;
}

body .ct-cart-content .woocommerce-mini-cart-item button.remove svg,
body .ct-cart-content .woocommerce-mini-cart-item button.remove .ct-icon {
  width: 12px !important;
  height: 12px !important;
  fill: #999 !important;
}

body .ct-cart-content .woocommerce-mini-cart-item button.remove:hover svg,
body .ct-cart-content .woocommerce-mini-cart-item button.remove:hover .ct-icon {
  fill: #691833 !important;
}

/* ======= PRODUCT PAGE ======= */

main.product-page {
  max-width: 1250px;
  margin: 0 auto;
  padding: 75px 0 90px;
}

/* ======= VARIABLE PRODUCT STYLES ======= */
.variations_form {
  width: 100%;
  margin-top: 30px;
}

.variations_form .variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px !important;
}

.variations_form .variations th {
  text-align: left;
  padding: 10px 0;
  font-weight: 600;
  font-size: 18px;
  color: #333;
  width: 30%;
  vertical-align: top;
}

.variations_form .variations td {
  padding: 10px 0;
  vertical-align: top;
}

.variations_form .variations select {
  width: 100%;
  max-width: 300px;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.variations_form .variations select:focus {
  outline: none;
  border-color: #691833;
}

.variations_form .variations select option {
  padding: 10px;
}

.single_variation_wrap {
  margin-top: 20px;
}

.single_variation .woocommerce-variation-price {
  font-size: 28px;
  font-weight: 700;
  color: #691833;
  margin-bottom: 10px;
}

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

.single_variation .stock {
  font-weight: 600;
  font-size: 16px;
}

.single_variation .stock.in-stock {
  color: #28a745;
}

.single_variation .stock.out-of-stock {
  color: #dc3545;
}

.variations_form .cart .quantity {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
}

.variations_form .cart .quantity input {
  width: 80px;
  height: 50px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
}

.variations_form .cart .quantity .qty-btn {
  width: 40px;
  height: 50px;
  border: 2px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.variations_form .cart .quantity .qty-btn:hover {
  background: #f5f5f5;
  color: #333;
}

.variations_form .single_add_to_cart_button {
  background: #691833 !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 40px !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
  text-transform: uppercase !important;
  min-width: 200px !important;
}

.variations_form .single_add_to_cart_button:hover {
  background: #5a1429 !important;
}

.variations_form .single_add_to_cart_button:disabled {
  background: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* Loading state for variations */
.variations_form .single_variation_wrap.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Reset button styles in variations form */
.variations_form .reset_variations {
  color: #691833;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-left: 10px;
  padding: 0;
}

.variations_form .reset_variations:hover {
  color: #5a1429;
}

/* Hide default WooCommerce variation styles that might conflict */
.variations_form .woocommerce-variation-description {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* Simple product button styling */
.add-to-cart-btn.simple-product {
  display: inline-block;
  text-decoration: none;
}
.product-layout {
  display: flex;
  gap: 132px;
}
.product-gallery {
  position: relative;
  width: 506px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 57px;
}
.product-gallery-container {
  position: relative;
  width: 100%;
}
.swiper {
  width: 100%;
  height: 690px;
  position: relative;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
}
.gallery-thumbs {
  /* display: grid; */
  /* grid-template-columns: repeat(3, 1fr); */
  /* gap: 22px; */
  margin-top: 15px;
  height: 200px;
}
.gallery-thumbs img {
  width: 100%;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.2s;
}
.gallery-thumbs img.active {
  border: 2px solid #222;
}
/* Swiper arrows */
.product-gallery-controls .swiper-button-prev,
.product-gallery-controls .swiper-button-next {
  position: absolute !important;
  width: 57px !important;
  height: 57px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 17px;
  border: none;
  background: #371803;
}
.product-gallery-controls .swiper-button-prev {
  left: -30px !important;
}
.product-gallery-controls .swiper-button-next {
  right: -30px !important;
}
.product-gallery-controls .swiper-button-prev svg,
.product-gallery-controls .swiper-button-next svg {
  width: 23px !important;
  height: 39px !important;
}
.product-gallery-controls .swiper-button-prev:after,
.product-gallery-controls .swiper-button-next:after {
  display: none;
}
.product-gallery-controls .swiper-pagination {
  position: initial;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: auto;
}

.product-gallery-controls .swiper-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #797979;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-gallery-controls .swiper-pagination .swiper-pagination-bullet:hover {
  background: #5a5a5a;
  transform: scale(1.1);
}

.product-gallery-controls .swiper-pagination .swiper-pagination-bullet-active {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.25);
  background: #371803;
}

/* Custom Pagination Styles - Hidden on desktop */
.custom-pagination-container {
  display: none; /* Hide on desktop by default */
}

.product-details {
  position: sticky;
  top: 20px;
  height: max-content;
}
.product-title {
  font-weight: 800;
  font-size: 45px;
  line-height: 50px;
  color: #000;
}
.product-rating-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 19px;
}
.product-rating-row > span:first-child {
  font-weight: 500;
  font-size: 19px;
  line-height: 19px;
  color: #371803;
}
.product-rating-stars {
  display: flex;
  margin-top: -7px;
}
.product-rating-count {
  font-weight: 300;
  font-size: 16px;
  line-height: 39px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #000;
}
.product-discount-badge {
  position: absolute;
  right: -135px;
  margin-top: 10px;
  border-radius: 42px;
  background: #e94f44;
  padding: 4px 16px 2px;
  font-weight: 700;
  font-size: 18px;
  line-height: 25px;
  color: #fff;
}
.product-price-row {
  position: relative;
  width: max-content;
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
}
.product-price-row > div {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.product-price {
  font-weight: 700;
  font-size: 47px;
  line-height: 47px;
  color: #13100f;
}
.product-old-price {
  position: relative;
  width: max-content;
  font-weight: 700;
  font-size: 26px;
  line-height: 26px;
  color: #b8b8b8;
}
.product-old-price::before {
  position: absolute;
  content: "";
  left: -4px;
  top: 9px;
  width: calc(100% + 8px);
  height: 1.81px;
  background: #e94f44;
}
.add-to-cart-btn {
  width: 390px;
  background: #691833;
  margin-top: 30px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 34px;
  color: #fff;
  text-align: center;
}
.stock-status {
  margin-top: 19px;
  margin-left: 127px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stock-status img {
  animation: pulse 1.5s infinite;
  transform-origin: center;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(0.8);
  }
}
.stock-status .stock-text {
  font-weight: 600;
  font-size: 17px;
  line-height: 35px;
  color: #666;
}
.meta-info {
  margin-top: 24px;
}
.meta-info .meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 21px;
}
.meta-info .meta-item:last-child {
  margin-bottom: 0;
}
.meta-info .meta-item .meta-icon {
  width: 36px;
}
.meta-info .meta-item span {
  font-weight: 400;
  font-size: 18px;
  line-height: 37px;
  color: #371803;
}
.meta-info .meta-item span div {
  display: inline;
}
.product-guarantees {
  max-width: 440px;
  margin-top: 50px;
  background: #f5f5f5;
  padding: 23px 30px;
}
.product-guarantees .guarantee-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding-left: 0;
}
.product-guarantees .guarantee-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-guarantees .guarantee-list li span {
  font-weight: 400;
  font-size: 19px;
  line-height: 19px;
  color: #000;
}
/* Section styles */
.product-section {
  width: 577px;
  padding: 27px 0;
  border-bottom: 0.5px solid #cebfad;
}
.product-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.product-section-head > span {
  font-weight: 600;
  font-size: 42px;
  line-height: 40px;
  color: #691833;
}
.product-section.checked .product-section-head > span {
  color: #13100f;
}
.product-section-icon img {
  display: none;
}
.product-section-icon img.plus {
  display: block;
}
.product-section.checked .product-section-icon img.plus {
  display: none;
}
.product-section.checked .product-section-icon img.minus {
  display: block;
}
.product-section-body {
  display: none;
  margin-top: 27px;
}
.product-section.checked .product-section-body {
  display: block;
}
.product-description {
  border-top: 0.5px solid #cebfad;
}
.product-description .product-section-body > p {
  margin-bottom: 13px;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  color: #13100f;
}
.product-description .product-section-body > ul {
  padding-left: 0;
  margin-left: 40px;
  margin-bottom: 14px;
}
.product-description .product-section-body > ul > li {
  font-weight: 300;
  font-size: 18px;
  line-height: 33px;
  color: #13100f;
}

.product-specifications .specs-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 30px;
}
.product-specifications .specs-table .specs-row {
  display: flex;
}
.product-specifications .specs-table .specs-row span {
  width: 50%;
}
.product-specifications .specs-table .specs-row span:first-child {
  position: relative;
  padding-left: 7px;
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
  color: #666;
}
.product-specifications .specs-table .specs-row span:first-child::before {
  position: absolute;
  content: "";
  left: 0;
  top: 2px;
  width: 3px;
  height: 17px;
  background: #f59f4b;
}
.product-specifications .specs-table .specs-row span:last-child {
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  color: #000;
}

/* .product-reviews .customer-reviews {
    font-weight: 500;
    font-size: 24px;
    line-height: 25px;
    color: #13100f;
} */
.product-reviews .review-items {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.product-reviews .review-items .reviews-gallery {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.product-reviews .review-items .reviews-gallery .gallery-item {
  display: flex;
}
.product-reviews .review-items .review-item > div {
  display: flex;
  align-items: center;
  gap: 18px;
}
.product-reviews .review-items .review-item > div .rating-stars {
  display: flex;
}
.product-reviews .review-items .review-item > p {
  margin-top: 16px;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #13100f;
}

.product-faq .faq-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.product-faq .faq-items .faq-item {
  padding-left: 10px;
}
.product-faq .faq-items .faq-item .question {
  position: relative;
  margin-bottom: 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 25px;
  color: #691833;
}
.product-faq .faq-items .faq-item .question::before {
  position: absolute;
  content: "";
  left: -10px;
  top: 2px;
  width: 4px;
  height: 17px;
  background: #f59f4b;
}
.product-faq .faq-items .faq-item .answer {
  margin-top: 4px;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #13100f;
}
.product-faq .faq-items .faq-item .answer strong {
  font-weight: 500;
}

.video-section {
  position: relative;
  width: 560px;
  height: 360px;
  margin-top: 37px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}
.video-section img {
  width: 100%;
}
.video-section svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.why-choose-us {
  max-width: 517px;
  margin-top: 64px;
}
.why-choose-us > span {
  font-weight: 800;
  font-size: 42px;
  line-height: 25px;
  color: #000;
}
.why-choose-us-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 39px 44px;
  margin-top: 46px;
}
.why-choose-us-item span {
  display: block;
  margin-top: 10px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 22px;
  color: #000;
}
.why-choose-us-item p {
  margin-top: 16px;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #13100f;
}
.guitar-checkup {
  max-width: 690px;
  margin-top: 86px;
}
.checkup-title {
  margin-bottom: 0;
  font-weight: 800;
  font-size: 42px;
  line-height: 54px;
  text-transform: capitalize;
  color: #000;
}
.checkup-title img {
  margin-top: -7px;
}
.checkup-box {
  max-width: 513px;
  margin-top: 44px;
  background: #f5f5f5;
  padding: 30px 22px 30px 35px;
}
.checkup-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
}
.checkup-list li {
  display: flex;
  align-items: center;
  gap: 17px;
}
.checkup-list li span {
  font-weight: 400;
  font-size: 22px;
  line-height: 31px;
  /* line-height: 17px; */
  color: #000;
}
.related-products-section {
  margin-top: 86px;
}
.related-title {
  font-weight: 800;
  font-size: 42px;
  line-height: 25px;
  color: #000;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-top: 50px;
}
.related-card {
  position: relative;
}
.related-card-thumb img {
  width: 100%;
  aspect-ratio: 4 / 6;
  object-fit: cover;
}
.related-card-title {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  font-size: 23px;
  line-height: 33px;
  color: #000 !important;
}
.related-card-prices {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.related-card-price {
  font-weight: 500;
  font-size: 20px;
  line-height: 33px;
  color: #691833;
}
.related-card-old-price {
  text-decoration: line-through;
  font-weight: 500;
  font-size: 16px;
  line-height: 33px;
  color: #666;
}
.related-card .add-to-cart {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 53px;
  height: 53px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e94f44;
}

/* Checkout Product Images Styling */
.woocommerce-checkout-review-order-table .checkout-product-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.woocommerce-checkout-review-order-table .checkout-product-image {
  flex-shrink: 0;
}

.woocommerce-checkout-review-order-table .checkout-product-image img {
  width: 84px !important;
  height: 84px !important;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
}

.woocommerce-checkout-review-order-table .checkout-product-details {
  flex: 1;
  min-width: 0;
}

.woocommerce-checkout-review-order-table .checkout-product-name {
  font-weight: 600;
  margin-bottom: 8px;
}

.woocommerce-checkout-review-order-table .checkout-product-name a {
  color: #333;
  text-decoration: none;
}

.woocommerce-checkout-review-order-table .checkout-product-name a:hover {
  color: #691833;
}

.woocommerce-checkout-review-order-table .checkout-product-quantity {
  display: none !important;
  /* color: #666; */
  /* font-size: 14px; */
}

/* Responsive for checkout product images */
@media (max-width: 768px) {
  .woocommerce-checkout-review-order-table .checkout-product-item {
    gap: 10px;
  }

  .woocommerce-checkout-review-order-table .checkout-product-image img {
    width: 60px !important;
    height: 60px !important;
  }
}

.ct-order-review {
  background: rgba(236, 240, 241, 0.7);
  border: none !important;
}
#payment ul.wc_payment_methods {
  border: 1px solid #b8b8b8;
  border-radius: 7px;
  padding: 30px 25px 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#payment .payment_methods li.wc_payment_method,
#payment .payment_methods li.woocommerce-PaymentMethod {
  border: none !important;
}
#payment .payment_methods > .wc_payment_method > label {
  gap: 13px !important;
  padding: 0 !important;
  line-height: 13px;
}
.checkout .woocommerce-shipping-methods input[type="radio"],
.wc_payment_method > input[type="radio"],
.payment_methods > .wc_payment_method > label:before,
.cart_totals .woocommerce-shipping-methods input[type="radio"] {
  top: 6px !important;
  width: 23px !important;
  min-width: 23px !important;
  height: 23px !important;
  border-radius: 5px !important;
  margin-right: 12px !important;
  background: #cebfad !important;
  border: none !important;
}
.payment_methods > .wc_payment_method > label:before {
  margin: 0 !important;
}
.checkout .woocommerce-shipping-methods input[type="radio"]:checked,
.wc_payment_method > input[type="radio"]:checked,
.wc_payment_method > input[type="radio"]:checked ~ label:before,
.cart_totals .woocommerce-shipping-methods input[type="radio"]:checked {
  background: #e94f44 !important;
}
.checkout .woocommerce-shipping-methods input[type="radio"]:checked::before,
.wc_payment_method > input[type="radio"]:checked::before,
.cart_totals .woocommerce-shipping-methods input[type="radio"]:checked::before {
  background-image: url('data:image/svg+xml;utf8,<svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.6895 0L5.88192 8.97522L1.85714 4.95335L0 6.81049L6.18951 13L14.8571 1.85714L12.6895 0Z" fill="white" /></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: transparent;
  width: 15px;
  height: 13px;
}
.wc_payment_method > input[type="radio"]:checked ~ label:before {
  content: url('data:image/svg+xml;utf8,<svg width="15" height="13" viewBox="0 0 15 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.6895 0L5.88192 8.97522L1.85714 4.95335L0 6.81049L6.18951 13L14.8571 1.85714L12.6895 0Z" fill="white" /></svg>') !important;
  display: flex;
  justify-content: center;
  width: 15px;
  height: 13px;
  padding-top: 5px;
}
#payment .payment_methods .payment_box {
  padding: 0 !important;
  margin-top: 14px;
  border-top: none !important;
}
.woocommerce-input-wrapper .input-text {
  resize: none;
}
.product-total .woocommerce-Price-amount {
  font-weight: 800;
  font-size: 16px;
  line-height: 24px;
  color: #691833;
}
.shop_table .cart-subtotal th {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #000;
  border-bottom: none;
}
.shop_table .cart-subtotal td {
  font-weight: 800;
  font-size: 16px;
  line-height: 24px;
  border-bottom: none;
}
.shop_table .order-total th {
  padding: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #000;
}
.shop_table .order-total td {
  padding: 0;
  font-size: 16px;
  line-height: 24px;
  color: #691833;
}
.shop_table .order-total td strong {
  font-weight: 800;
}
.woocommerce-privacy-policy-text p {
  line-height: 25px;
  color: #000;
}
.woocommerce-privacy-policy-text p .woocommerce-privacy-policy-link {
  color: #000;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}
.woocommerce-checkout-payment .place-order button[type="submit"] {
  background: #691833 !important;
  border-radius: 5px;
  padding: 18px 80px 20px;
  width: auto !important;
  display: block;
  margin: 0 auto;
  font-weight: 600;
  font-size: 22px;
  line-height: 25px;
}
.woocommerce-checkout-review-order-table .checkout-product-name a {
  font-size: 16px;
  line-height: 20px;
  color: #000 !important;
}

/* ======= PRODUCT CARD DESIGN (matching the photo) ======= */
.product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.product-card-image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.product-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card-title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: #333;
  margin: 0;
}

.product-card-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.product-quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  /* border: 2px solid #ddd; */
  background: #fff;
}

.product-quantity-controls button {
  width: 40px !important;
  height: 40px !important;
  border: none !important;
  background: #fff !important;
  color: #666 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.product-quantity-controls button:hover {
  background: #f5f5f5 !important;
  color: #333 !important;
}

.product-quantity-controls .quantity-display {
  width: 50px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #333 !important;
  background: #fff !important;
  border: none !important;
  border-left: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
  margin: 0 !important;
}

.product-card-price {
  font-weight: 700 !important;
  font-size: 24px !important;
  color: #691833 !important;
  margin: 0 !important;
}

.product-add-to-cart {
  width: 44px !important;
  height: 44px !important;
  background: #691833 !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-add-to-cart:hover {
  background: #5a1429 !important;
  transform: translateY(-1px) !important;
}

.product-add-to-cart svg {
  width: 20px !important;
  height: 22px !important;
}
.checkout-section-cards {
  display: flex;
  justify-content: center;
}
.sale-price del .woocommerce-Price-amount.amount {
  display: none !important;
}

/* ======= MINI CART OVERLAY ======= */
.mini-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
}

/* Show overlay when cart is active */
.mini-cart-overlay.active {
  opacity: 1;
  visibility: visible;
}
[class*="ct-woocommerce"] .shop_table .product-quantity br {
  display: none !important;
}
