/**
 * Main Stylesheet - Jackpro WooCommerce
 *
 * @package Jackpro_WooCommerce
 */

/* ============================================================
   FKCart Shortcode
   ============================================================ */
.fkcart-shortcode-container .fkcart-shortcode-count {
  background-color: #e6007d !important;
}

/* ============================================================
   Topbar
   ============================================================ */
.topbar ul.elementor-icon-list-items.elementor-inline-items {
  display: flex;
  justify-content: space-evenly;
}

.red {
  color: red;
}

/* ============================================================
   Elementor & Jet Listing Grid
   ============================================================ */
.elementor-14
  .elementor-element.elementor-element-a691644
  .jet-listing-grid__slider
  .jet-slick-dots
  li {
  z-index: 1;
  margin-top: -60px;
}

.jet-listing-grid__slider .jet-slick-dots {
  margin: 0;
}

@media only screen and (max-width: 1360px) and (min-width: 1024px) {
  .box1 {
    width: 100% !important;
    padding: 0 50px !important;
    box-sizing: border-box;
  }
}

.filter .jet-listing-grid > .jet-listing-grid__items {
  display: flex !important;
}

.elementor-widget-shortcode {
  width: 100%;
}

@media (max-width: 1024px) and (min-width: 767px) {
  .jet-listing-grid__item.jet-listing-dynamic-post-610.jet-equal-columns {
    display: none;
  }
}

/* ============================================================
   Dynamic Pricing - Pricing Tiers (Skrobber-style layout)
   ============================================================ */
.jackpro-pricing-tiers {
  width: 100%;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.jackpro-tier {
  position: relative;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 15px;
}

.jackpro-tier:hover {
  border-color: #c0c0c0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.jackpro-tier.selected {
  background: #6e34ea08;
  border-color: #c0c0c0;
}

/* Radio indicator - Links */
.jackpro-tier::before {
  content: "";
  position: absolute;
  top: calc(50% - 12px) !important;
  left: 20px;
  width: 24px;
  height: 24px;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: #ffffff;
  flex-shrink: 0;
}

.jackpro-tier.selected::before {
  background: #6e34ea;
  border-color: #c0c0c0;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.jackpro-tier-best.selected::before {
  background: #6e34ea;
  border-color: #c0c0c0;
}

/* Title - Midden */
.jackpro-tier-title {
  font-size: 16px;
  font-weight: 700;
  color: #333333;
  padding-left: 40px; /* Ruimte voor radio button */
}

/* Badge - Midden */
.jackpro-badge {
  position: absolute;
  top: -12px;
  right: 0;
  transform: translateX(-50%);
  background: #6e34ea;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(46, 134, 193, 0.4);
  white-space: nowrap;
}

/* Free Badge - Midden */
.jackpro-free-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F10000;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(46, 134, 193, 0.3);
  white-space: nowrap;
}

/* Price section - Rechts uitgelijnd */
.jackpro-tier-price-row {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
  align-items: end;
}

.jackpro-tier-original {
  font-size: 14px;
  color: #999999;
  text-decoration: line-through;
}

.jackpro-tier-price {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.jackpro-tier-price-only {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  flex: 1;
  text-align: end;
}

/* Featured Tier - 2+1 */
.jackpro-tier-featured {
  border-color: #6e34ea;
}

.jackpro-tier-featured.selected {
  border-color: #6e34ea;
}

/* Best Tier - 4+2 */
.jackpro-tier-best {
  border-color: #6e34ea;
}

.jackpro-tier-best.selected {
  border-color: #6e34ea;
}

.jackpro-tier-best .jackpro-tier-price {
  color: #333;
}

.jackpro-tier-best .jackpro-tier-price-only {
  color: #e67e22;
}

.jackpro-tier-best .jackpro-free-badge {
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

/* Add to Cart Form */
.jackpro-add-to-cart-form {
  margin-top: 25px;
  width: 100%;
}

.jackpro-add-to-cart-form button {
  background-color: #0daa68 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 50px !important;
  width: 100% !important;
  padding: 15px 25px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  line-height: 26px !important;
}

.jackpro-add-to-cart-form button:hover {
  background-color: #0c965d;
  transform: translateY(-2px);
}

.jackpro-add-to-cart-form button:active {
  transform: translateY(0);
}

.jackpro-add-to-cart-form button.loading {
  opacity: 0.7;
  cursor: wait;
}

/* Duplicate radio indicator removed - already defined correctly above */

/* Responsive - Mobile */
@media (max-width: 767px) {
  .jackpro-pricing-tiers {
    gap: 12px;
    margin: 20px 0;
  }

  .jackpro-tier {
    padding: 16px;
    flex-wrap: wrap;
  }

  .jackpro-tier::before {
    top: calc(50% - 12px) !important;
    left: 16px;
    width: 20px;
    height: 20px;
  }

  .jackpro-tier-title {
    padding-left: 40px;
    font-size: 14px;
  }

  .jackpro-badge {
    font-size: 10px;
    padding: 4px 10px;
    top: -10px;
  }

  .jackpro-tier-price,
  .jackpro-tier-price-only {
    font-size: 18px;
  }

  .jackpro-tier-original {
    font-size: 12px;
  }

  .jackpro-free-badge {
    font-size: 10px;
    padding: 4px 10px;
  }

  .jackpro-add-to-cart-form button {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* ============================================================
   Old Dynamic Pricing Buttons (legacy support)
   ============================================================ */
.hoeveelheid-optie {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.hoeveelheid-optie .optie {
  display: inline-block;
  text-align: center;
  width: calc(100% / 3 - 10px);
  position: relative;
}

.hoeveelheid-optie .optie:nth-child(1) {
  padding-top: 9px;
}

.hoeveelheid-optie button {
  display: block;
  width: 100%;
  height: auto;
  min-height: 90px;
  font-size: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: white;
  color: black;
  cursor: pointer;
  text-align: center;
}

/* Hover - Desktop */
@media (min-width: 768px) {
  .hoeveelheid-optie button:hover {
    background-color: #f8f5fe;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #fff;
  }

  [type="button"]:focus,
  [type="button"]:hover,
  [type="submit"]:focus,
  [type="submit"]:hover,
  button:focus,
  button:hover {
    background: #000 !important;
  }
}

/* Hover - Mobile */
@media (max-width: 767px) {
  .hoeveelheid-optie button:hover {
    background-color: #e6007d;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #fff;
  }
}

.quantity-font {
  font-size: 22px;
  font-weight: bold;
}

.prices {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
}

.hoeveelheid-optie button br {
  display: block;
}

/* Oude prijs styling */
.old-price {
  text-decoration: line-through;
  text-decoration-color: red;
  font-size: 11px;
}

/* Nieuwe prijs styling */
.new-price,
.price-display {
  font-size: 13px;
  font-weight: bold;
}

/* Discount info onder de knop */
.discount-info {
  font-size: 12px;
  color: #2e2e2e;
  text-align: center;
  font-weight: 200;
  text-wrap: nowrap;
}

/* Badge Styling */
.badge {
  background: #e6007d !important;
  border-radius: 10px 10px 0 0;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 0;
  text-align: center;
  position: relative;
}

/* Best option styling */
.best-option button.set-quantity-button {
  border: 1px solid #e6007d;
  border-radius: 0 0 10px 10px;
}

/* Middle option styling */
.middle-option {
  border-color: #000 !important;
}

.middle-option .badge {
  background-color: #000 !important;
}

.middle-option button.set-quantity-button {
  border: 1px solid #000;
  border-radius: 0 0 10px 10px;
}

.middle-option .set-quantity-button.active,
.middle-option button.set-quantity-button:hover,
.middle-option button.set-quantity-button:active,
.middle-option button.set-quantity-button:focus {
  background: #000 !important;
}

/* Active state for quantity buttons */
.set-quantity-button.active {
  border: 1px solid #333333;
  background-color: #000;
  color: white;
}

/* First option active state override */
.hoeveelheid-optie .optie:nth-child(1) .set-quantity-button.active {
  background-color: #0daa68;
  border-color: #0daa68;
}

/* Add to cart button */
#add-to-cart-form button {
  background-color: #0daa68;
  color: #fff;
  border: 0;
  border-radius: 50px;
  width: 100%;
  padding: 15px 25px;
  margin-top: 20px;
}

/* ============================================================
   Cross-sell Products
   ============================================================ */
.crosssell-product-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.crosssell-product {
  display: flex;
  background-color: #fff;
  cursor: pointer;
  text-align: center;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 15px;
  transition: all 0.3s ease;
  gap: 20px;
}

.crosssell-product div {
  align-content: center;
  text-align: left;
}

.crosssell-product:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.crosssell-title {
  font-size: 13px;
  color: #6e34ea;
  line-height: 23px;
}

.crosssell-text {
  font-size: 13px;
  color: #000;
}

.crosssell-quote {
  line-height: 10px;
  color: #0daa66;
  font-size: 14px;
  font-style: italic;
}

/* ============================================================
   Gallery
   ============================================================ */
div#gallery-1 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .elementor-image-gallery .gallery-columns-2 .gallery-item {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  div#gallery-1 {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
}

.elementor-image-gallery .gallery-item img {
  border-radius: 20px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer-links a {
  color: #fff;
}

.footer-links a:hover {
  color: #0daa66;
}

/* ============================================================
   Product Bundles
   ============================================================ */
label.bundled_product_optional_checkbox span.woocommerce-Price-amount.amount {
  color: black;
}

.bundled_product_summary
  .bundled_product_title
  a.bundled_product_permalink:before {
  color: black;
}

.bundled_product_excerpt.product_excerpt {
  display: none;
}

.bundled_product_summary .bundled_product_images img {
  border-radius: 20px;
}

.bundle_error {
  display: none !important;
}

.bundle_button {
  display: flex;
  margin-bottom: -20px;
}

.bundel-repeater .jet-listing-dynamic-repeater__items {
  display: flex;
  flex-direction: column;
}

.bundel-repeater .jet-listing-dynamic-repeater__items ul {
  margin-left: -20px;
}

.bundel-repeater .jet-listing-dynamic-repeater__items a {
  color: #000;
}

.bundel-repeater .jet-listing-dynamic-repeater__items a:hover {
  color: #6e34ea;
}

.bundel-inhoud {
  font-weight: bold;
}

a.dynamic-link[href="%product_bundel_item_url%"] {
  pointer-events: none;
}

/* Product bundle mobile */
@media (max-width: 767px) {
  div.bundled_product_summary,
  .woocommerce div.product.bundled_product_summary {
    padding-bottom: 0px !important;
    border-bottom: 0px !important;
    margin-bottom: 10px !important;
  }

  h4.bundled_product_title {
    font-size: 18px;
  }

  .woocommerce div.product form.cart .variations td.label {
    font-size: 12px;
  }

  select#kleurcombinaties_11 {
    font-size: 10px;
  }
}

/* ============================================================
   WooCommerce Forms & Buttons
   ============================================================ */
.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.woocommerce div.product form.cart div.quantity {
  width: 19%;
}

.woocommerce .quantity .qty {
  width: 100%;
  padding: 15px 10px;
  border-radius: 30px;
}

.woocommerce div.product form.cart .button {
  padding: 20px;
  border-radius: 30px;
  width: 80%;
  background-color: #0daa68;
}

.cart.cart_group {
  display: flex;
  flex-direction: column;
}

form.variations_form.cart {
  display: flex;
  flex-direction: column;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled,
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled {
  display: flex;
}

/* ============================================================
   WooCommerce Checkout & My Account
   ============================================================ */
#wfacp-e-form
  .wfacp-coupon-section
  .wfacp-coupon-page
  .wfacp-coupon-field-btn:hover {
  background-color: #6e34ea !important;
  color: #fff !important;
}

.wfacp_woocommerce_form_coupon .wfacp-coupon-section .wfacp-coupon-field-btn {
  background: #f8f5fe !important;
  color: #000 !important;
}

.e-my-account-tab .woocommerce .woocommerce-MyAccount-navigation ul li a:hover {
  color: #fff !important;
}

.e-my-account-tab
  .woocommerce
  .woocommerce-MyAccount-navigation
  ul
  li.is-active
  a {
  color: #fff !important;
}

.elementor-widget-woocommerce-my-account
  .e-my-account-tab:not(.e-my-account-tab__dashboard--custom)
  .woocommerce
  a {
  color: #6e34ea !important;
}

.elementor-widget-woocommerce-my-account
  .e-my-account-tab:not(.e-my-account-tab__dashboard--custom)
  .woocommerce
  .shop_table
  .button {
  border-color: #6e34ea !important;
}

.woocommerce-info {
  border-top-color: #6e34ea !important;
  border-radius: 20px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.woocommerce-info::before {
  color: #6e34ea !important;
}

.elementor-widget-woocommerce-my-account
  .e-my-account-tab:not(.e-my-account-tab__dashboard--custom)
  .woocommerce-EditAccountForm
  .button,
.elementor-widget-woocommerce-my-account
  .e-my-account-tab:not(.e-my-account-tab__dashboard--custom)
  .woocommerce-address-fields
  .button {
  background: #6e34ea !important;
}

/* ============================================================
   Category Slider / Combined Categories
   ============================================================ */
ul.combined-categories-list {
  gap: 20px;
  list-style: none;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.combined-categories-list li {
  background-color: #fff;
  border-radius: 20px;
  padding: 10px 0;
  text-align: center;
  width: fit-content !important;
}

.combined-categories-list li:hover {
  background-color: #fff5f4;
}

.combined-categories-list li a {
  color: #000;
  font-family: "General sans";
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px 10px 20px;
}

.combined-categories-list.slick-slider li {
  width: auto;
}

li.slick-slide.slick-current.slick-active,
.combined-categories-list.slick-slider li {
  margin-right: 15px;
}

/* ============================================================
   Swiper / Mobile Product Slider
   ============================================================ */
@media (max-width: 767px) {
  .swiper-container {
    width: 100% !important;
    overflow: hidden !important;
    position: relative;
    clip-path: inset(0 0 0 0);
  }

  .swiper-slide.mobile-product {
    padding: 20px;
    width: 100% !important;
    transform: translate3d(0, 0, 0);
    box-sizing: border-box;
  }

  .swiper-slide.mobile-product img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    flex-shrink: 0;
    overflow: hidden;
  }

  .elementor-99
    .elementor-element.elementor-element-791a840
    .elementor-icon-list-items.elementor-inline-items {
    gap: 20px;
  }
}

/* ============================================================
   Ad Banner
   ============================================================ */
.ad-banner {
  width: 100%;
  position: relative;
  text-align: center;
  display: inline-block;
}

img.ad-banner-img {
  width: 100%;
  border-radius: 20px !important;
  height: 520px !important;
  object-fit: cover;
}

@media (max-width: 767px) {
  img.ad-banner-img {
    width: 100%;
    height: 300px !important;
    border-radius: 20px !important;
    object-fit: cover;
  }
}

p.ad-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  font-family: "General Sans";
  font-weight: bold;
}

/* Ad banner visibility based on switcher */
.hide-ad-banner .jet-listing-grid__item[class*="colspan-2-"] {
  display: none;
}

.show-ad-banner .jet-listing-grid__item[class*="colspan-2-"] {
  display: block;
}

/* ============================================================
   Swatches - Variable Products
   ============================================================ */
.swatch-label {
  display: inline-block;
  cursor: pointer;
  margin: 5px;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 5px;
}

.swatch-label.active {
  border-color: #333 !important;
}

.swatch-image {
  display: block;
  width: 50px;
  height: 50px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
}

.swatch-container {
  align-self: flex-start;
  padding-bottom: 20px;
}

/* Hide swatches in FKCart modal */
#fkcart-modal .swatch-container {
  display: none !important;
}

#fkcart-modal .fkcart-quick-view-drawer .fkcart-product-form-wrap table tr {
  flex-wrap: wrap;
}

/* Hide variation dropdown on product page */
.product .variations_form .variations {
  display: none !important;
}

/* ============================================================
   Extra Tags & Product Tags
   ============================================================ */
.extra-terms-container,
.product-tags-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 0px;
}

.extra-term {
  border-radius: 20px;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center;
  white-space: nowrap;
  border: 1px solid;
  padding: 5px;
  margin: 5px;
  display: inline-block;
  color: #FFF !important;
  font-family: "General Sans", Sans-serif;
}

.product-tag {
  border-radius: 20px;
  font-size: 10px;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  border: 1px solid;
  padding: 6px 12px;
  margin: 2px;
  display: inline-block;
}

@media (max-width: 767px) {
  .extra-term {
    font-size: 11px;
    border-width: 0.2px !important;
  }

  .product-tag {
    font-size: 6px;
    border-width: 0.2px !important;
  }
}

/* ============================================================
   Stock Status
   ============================================================ */
p.stock.in-stock {
  display: none;
}

/* ============================================================
   Menu Combi Deals
   ============================================================ */
div#e-n-menu-title-1182 {
  background: #6e34ea;
  border-radius: 20px;
}

div#e-n-menu-title-1182 span.e-n-menu-title-text {
  color: white;
}

div#e-n-menu-title-1182:hover {
  opacity: 0.9;
}

/* ============================================================
   Extra Opties
   ============================================================ */
.extra-optie {
  display: flex;
  align-items: center;
}
