/* Workshop Booking Checkout Styling med högre specificitet */
body .wp-block-woocommerce-checkout {
  background-color: var(--backgroundColor) !important;
  font-family: CustomContentFont, sans-serif !important;
  margin: 4rem 5rem;
}

@media (max-width: 768px) {
  body .wp-block-woocommerce-checkout {
    margin: 0rem !important;
  }
}
s

/* Checkout Header med högre specificitet */
body .wp-block-woocommerce-checkout h3,
body .wc-block-components-title {
  font-family: CustomHeadingFont, sans-serif !important;
  color: var(--accentColor) !important;
  text-transform: uppercase !important;
  margin-bottom: 1.5rem !important;
}

/* Rename "Billing Details" to "Booking Information" med högre specificitet */
body
  .wc-block-components-checkout-step--shipping-address
  .wc-block-components-checkout-step__title,
body
  .wc-block-components-checkout-step--billing
  .wc-block-components-checkout-step__title {
  display: none !important;
}

body .wc-block-components-checkout-step--billing::before {
  content: "Bokningsinformation" !important;
  font-family: CustomHeadingFont, sans-serif !important;
  font-size: 1.5rem !important;
  color: var(--accentColor) !important;
  display: block !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase !important;
}

/* Rename "Your Order" to "Din bokning" med högre specificitet */
body
  .wc-block-components-order-summary-item__header
  .wc-block-components-order-summary__title {
  display: none !important;
}

body .wc-block-components-order-summary::before {
  content: "Din bokning" !important;
  font-family: CustomHeadingFont, sans-serif !important;
  font-size: 1.5rem !important;
  color: var(--accentColor) !important;
  display: block !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase !important;
}

/* Form Fields med högre specificitet */
body .wp-block-woocommerce-checkout input[type="text"],
body .wp-block-woocommerce-checkout input[type="tel"],
body .wp-block-woocommerce-checkout input[type="email"],
body .wp-block-woocommerce-checkout select,
body .wp-block-woocommerce-checkout textarea,
body .wc-block-components-text-input input,
body .wc-block-components-select select {
  background-color: var(--backgroundColor) !important;
  border: none !important;
  padding: 0.75rem !important;
  width: 100% !important;
  transition: border-color 0.3s !important;
}

body .wp-block-woocommerce-checkout input:focus,
body .wp-block-woocommerce-checkout select:focus,
body .wp-block-woocommerce-checkout textarea:focus,
body .wc-block-components-text-input input:focus,
body .wc-block-components-select select:focus {
  border-color: var(--accentColor) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(120, 45, 39, 0.1) !important;
}

/* Order Summary Table med högre specificitet */
body .wc-block-components-order-summary,
body .wc-block-components-order-summary-item {
  background-color: var(--backgroundColorDark) !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
}

/* Product Name - Show Variations Clearly med högre specificitet */
body .wc-block-components-order-summary-item__title {
  font-weight: 600 !important;
  color: var(--accentColor) !important;
}

/* Display Variations as a List med högre specificitet */
body .wc-block-components-order-summary-item__variation {
  margin-top: 0.5rem !important;
  font-size: 0.9rem !important;
}

body .wc-block-components-order-summary-item__variation dt {
  font-weight: normal !important;
  color: var(--textColor) !important;
  display: inline-block !important;
  margin-right: 0.25rem !important;
}

body .wc-block-components-order-summary-item__variation dd {
  font-weight: 600 !important;
  display: inline-block !important;
  margin: 0 !important;
}

body .wc-block-components-order-summary-item__variation dd:after {
  content: "" !important;
  display: block !important;
  margin-bottom: 0.5rem !important;
}

/* Payment Methods med högre specificitet */
body .wc-block-components-checkout-payment-methods {
  background-color: var(--backgroundColorDark) !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
}

body .wc-block-components-radio-control__option {
  padding: 0.75rem 0 !important;
}

body .wc-block-components-radio-control__label {
  font-weight: 600 !important;
  cursor: pointer !important;
}

/* Place Order Button med högre specificitet */
body .wc-block-components-checkout-place-order-button {
  background-color: var(--accentColor2) !important;
  color: white !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0.75rem 2rem !important;
  font-family: CustomHeadingFont, sans-serif !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.3s !important;
  width: 100% !important;
  margin-top: 1rem !important;
}

body .wc-block-components-checkout-place-order-button:hover {
  background-color: var(--accentColor4) !important;
}

/* Booking Summary Box med högre specificitet */
body .booking-summary-box {
  background-color: var(--backgroundColorDark) !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
}

body .booking-summary-box h4 {
  color: var(--accentColor) !important;
  margin-bottom: 1rem !important;
  font-size: 1.1rem !important;
}

body .booking-detail {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body .booking-detail:last-child {
  border-bottom: none !important;
}

body .booking-label {
  color: var(--textColor) !important;
}

body .booking-value {
  font-weight: 600 !important;
}

.wp-block-woocommerce-checkout-order-summary-block {
  background-color: var(--backgroundColorDark) !important;
  border: 0 !important;
}

/* Workshop Cart Styling med högre specificitet */
body .wp-block-woocommerce-cart {
  background-color: var(--backgroundColor) !important;
  font-family: CustomContentFont, sans-serif !important;
  margin: 2rem 5rem !important;
  padding: 2rem !important;
  border-radius: 1rem !important;
}

/* Cart Header med högre specificitet */
body .wp-block-woocommerce-cart h2,
body .wc-block-components-title {
  font-family: CustomHeadingFont, sans-serif !important;
  color: var(--accentColor) !important;
  text-transform: uppercase !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.5rem !important;
}

/* Rename "Shopping Cart" to "Din varukorg" med högre specificitet */
body .wc-block-components-title:contains("Shopping Cart"),
body .wc-block-components-title:contains("Cart") {
  display: none !important;
}

body .wp-block-woocommerce-cart-items-block::before {
  content: "Din varukorg" !important;
  font-family: CustomHeadingFont, sans-serif !important;
  font-size: 1.5rem !important;
  color: var(--accentColor) !important;
  display: block !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase !important;
}

/* Cart Table med högre specificitet */
body .wc-block-cart-items {
  background-color: var(--backgroundColorDark) !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
}

/* Cart Table Headers med högre specificitet */
body .wc-block-cart-items__header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding-bottom: 1rem !important;
}

body .wc-block-cart-items__header-image,
body .wc-block-cart-items__header-product,
body .wc-block-cart-items__header-quantity,
body .wc-block-cart-items__header-total {
  font-family: CustomHeadingFont, sans-serif !important;
  color: var(--accentColor) !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
}

/* Cart Items med högre specificitet */
body .wc-block-cart-items__row {
  padding: 1.5rem 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body .wc-block-cart-items__row:last-child {
  border-bottom: none !important;
}

/* Product Name med högre specificitet */
body .wc-block-components-product-name {
  font-weight: 600 !important;
  color: var(--accentColor) !important;
  font-size: 1.1rem !important;
}

/* Product Metadata (variations) med högre specificitet */
body .wc-block-components-product-metadata {
  margin-top: 0.5rem !important;
  font-size: 0.9rem !important;
}

body .wc-block-components-product-metadata dt {
  font-weight: normal !important;
  color: var(--textColor) !important;
  display: inline-block !important;
  margin-right: 0.25rem !important;
}

body .wc-block-components-product-metadata dd {
  font-weight: 600 !important;
  display: inline-block !important;
  margin: 0 !important;
}

/* Quantity Input med högre specificitet */
body .wc-block-components-quantity-selector {
  background-color: white !important;
  border: 1px solid #ddd !important;
  border-radius: 0.5rem !important;
  padding: 0.25rem !important;
  width: 100% !important;
  max-width: 120px !important;
  margin: 0 auto !important;
}

body .wc-block-components-quantity-selector__button {
  background-color: transparent !important;
  border: none !important;
  color: var(--accentColor) !important;
  font-weight: 600 !important;
}

body .wc-block-components-quantity-selector__button:hover {
  background-color: rgba(120, 45, 39, 0.1) !important;
}

body .wc-block-components-quantity-selector__input {
  font-weight: 600 !important;
  color: var(--textColor) !important;
}

/* Remove Item Button med högre specificitet */
body .wc-block-cart-item__remove-link {
  color: #ffff !important;
  font-size: 0.8rem !important;
  text-decoration: none !important;
  margin-top: 0.5rem !important;
  display: inline-block !important;
}

body .wc-block-cart-item__remove-link:hover {
  text-decoration: underline !important;
}

/* Cart Totals med högre specificitet */
body .wc-block-components-totals-wrapper {
  background-color: var(--backgroundColorDark) !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
}

/* Subtotal, Tax, Total med högre specificitet */
body .wc-block-components-totals-item {
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body .wc-block-components-totals-item:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

body .wc-block-components-totals-item__label {
  font-weight: normal !important;
  color: var(--textColor) !important;
}

body .wc-block-components-totals-item__value {
  font-weight: 600 !important;
  color: var(--textColor) !important;
}

body
  .wc-block-components-totals-footer-item
  .wc-block-components-totals-item__label,
body
  .wc-block-components-totals-footer-item
  .wc-block-components-totals-item__value {
  font-weight: 600 !important;
  color: var(--accentColor) !important;
  font-size: 1.2rem !important;
}

/* Coupon Form med högre specificitet */
body .wc-block-components-totals-coupon__form {
  margin-bottom: 1.5rem !important;
}

body .wc-block-components-totals-coupon__input {
  background-color: white !important;
  border: 1px solid #ddd !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem !important;
  width: 100% !important;
  transition: border-color 0.3s !important;
}

body .wc-block-components-totals-coupon__input:focus {
  border-color: var(--accentColor) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(120, 45, 39, 0.1) !important;
}

body .wc-block-components-totals-coupon__button {
  background-color: var(--accentColor) !important;
  color: white !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.5rem !important;
  font-family: CustomHeadingFont, sans-serif !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.3s !important;
}

body .wc-block-components-totals-coupon__button:hover {
  background-color: var(--accentColor2) !important;
}

/* Proceed to Checkout Button med högre specificitet */
body .wc-block-cart__submit-container {
  margin-top: 2rem !important;
}

body .wc-block-cart__submit-button {
  background-color: var(--accentColor4) !important;
  color: white !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0.75rem 2rem !important;
  font-family: CustomHeadingFont, sans-serif !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.3s !important;
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 auto !important;
  display: block !important;
}

body .wc-block-cart__submit-button:hover {
  background-color: var(--accentColor2) !important;
}

/* Empty Cart med högre specificitet */
body .wc-block-components-empty-cart {
  background-color: var(--backgroundColorDark) !important;
  border-radius: 0.75rem !important;
  padding: 3rem 1.5rem !important;
  text-align: center !important;
}

body .wc-block-components-empty-cart__title {
  font-family: CustomHeadingFont, sans-serif !important;
  color: var(--accentColor) !important;
  text-transform: uppercase !important;
  margin-bottom: 1rem !important;
}

body .wc-block-components-empty-cart__message {
  font-size: 1.1rem !important;
  margin-bottom: 2rem !important;
}

body .wc-block-components-empty-cart__button {
  background-color: var(--accentColor2) !important;
  color: white !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0.75rem 2rem !important;
  font-family: CustomHeadingFont, sans-serif !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.3s !important;
}

body .wc-block-components-empty-cart__button:hover {
  background-color: var(--accentColor) !important;
}

/* Responsive Styling med högre specificitet */
@media (max-width: 768px) {
  body .wp-block-woocommerce-cart {
    margin: 1rem !important;
    padding: 1rem !important;
  }

  body .wc-block-cart-items__header {
    display: none !important;
  }

  body .wc-block-cart-items__row {
    flex-direction: column !important;
    padding: 1rem 0 !important;
  }

  body .wc-block-components-product-image {
    margin-bottom: 1rem !important;
    text-align: center !important;
  }

  body .wc-block-components-product-name {
    text-align: center !important;
  }

  body .wc-block-components-product-metadata {
    text-align: center !important;
  }

  body .wc-block-components-product-price {
    text-align: center !important;
    margin: 0.5rem 0 !important;
  }

  body .wc-block-components-quantity-selector {
    margin: 0.5rem auto !important;
  }

  body .wc-block-cart-item__remove-link {
    text-align: center !important;
    display: block !important;
  }
}

/* Rename "Proceed to Checkout" to "Gå till kassan" med JavaScript */
body .wc-block-cart__submit-button {
  font-size: 0 !important;
}

body .wc-block-cart__submit-button::after {
  content: "Gå till kassan" !important;
  font-size: 1rem !important;
}

.wc-block-components-totals-wrapper:empty {
  display: none !important;
}

.wp-block-woocommerce-cart-order-summary-totals-block {
  border: 0 !important;
}

.wc-block-components-checkout-order-summary__title-text {
  display: none !important;
}

.wc-block-components-form
  .wc-block-checkout__order-notes.wc-block-components-checkout-step {
  display: none;
}

.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {
  font-size: 14px !important;
}

.wc-block-components-checkout-return-to-cart-button {
  display: none !important;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
  background: var(--backgroundColorDark) !important;
  padding: 2rem !important;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .wc-block-components-sidebar-layout .wc-block-components-main {
    padding: 1rem !important;
  }
}

.wc-block-components-order-summary-item__image {
  display: none !important;m run
}
