/* WooCommerce Combo Pack Builder 2.0.2 - storefront UI */
.wcpb-combo-offers {
  --wcpb-green: #176b45;
  --wcpb-green-dark: #105436;
  --wcpb-green-pale: #edf7f0;
  --wcpb-ink: #26332c;
  --wcpb-muted: #68736c;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px !important;
  margin: 24px 0 40px !important;
  padding: 0 !important;
  list-style: none !important;
}
.wcpb-combo-offers.columns-1 { grid-template-columns: minmax(0, 1fr); }
.wcpb-combo-offers.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wcpb-combo-offers.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wcpb-combo-offers.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wcpb-combo-offers::before, .wcpb-combo-offers::after { display: none !important; content: none !important; }
.wcpb-combo-offers .wcpb-combo-card {
  display: flex !important; flex-direction: column; min-width: 0; margin: 0 !important;
  padding: 0 0 20px !important; overflow: hidden; background: #fff;
  border: 1px solid #e2eae4; border-radius: 18px;
  box-shadow: 0 5px 20px rgba(25,55,37,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.wcpb-combo-offers .wcpb-combo-card:hover { transform: translateY(-4px); border-color: #c6dfce; box-shadow: 0 14px 30px rgba(25,55,37,.13); }
.wcpb-combo-offers .wcpb-combo-card-link {
  display: flex !important; flex: 1 1 auto; flex-direction: column; color: var(--wcpb-ink) !important;
  text-decoration: none !important; box-shadow: none !important;
}
/* Listing image uses the full available card width, with no badge or inner padding. */
.wcpb-combo-offers .wcpb-combo-image {
  display: block; width: 100%; margin: 0; padding: 0; overflow: hidden;
  background: #f4f8f4; line-height: 0;
}
.wcpb-combo-offers .wcpb-combo-image img {
  display: block; width: 100% !important; max-width: 100%; height: auto !important;
  max-height: none !important; margin: 0 !important; object-fit: contain;
  transition: transform .25s ease;
}
.wcpb-combo-offers .wcpb-combo-card:hover .wcpb-combo-image img { transform: scale(1.025); }
.wcpb-combo-offers .wcpb-combo-card-content {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px 8px;
}
.wcpb-combo-offers .woocommerce-loop-product__title {
  margin: 0 !important; padding: 0 !important; color: var(--wcpb-ink);
  font-size: clamp(18px, 1.5vw, 22px) !important; font-weight: 800 !important; line-height: 1.3 !important;
}
.wcpb-combo-offers .price {
  display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0 !important;
  color: var(--wcpb-green) !important; font-size: 22px !important; font-weight: 800 !important;
}
.wcpb-combo-offers .price del { color: #89928c !important; font-size: 14px !important; font-weight: 500; opacity: 1 !important; }
.wcpb-combo-offers .price ins { color: var(--wcpb-green) !important; text-decoration: none !important; }
.wcpb-combo-offers .wcpb-combo-savings {
  display: inline-flex; align-items: center; padding: 7px 11px; color: #155d39;
  background: var(--wcpb-green-pale); border-radius: 8px; font-size: 13px; font-weight: 800;
}
.wcpb-combo-offers .wcpb-view-combo-button {
  display: flex !important; align-items: center; justify-content: center; min-height: 50px;
  margin: 16px 22px 0 !important; padding: 13px 18px !important; color: #fff !important;
  background: var(--wcpb-green) !important; border: 1px solid var(--wcpb-green) !important;
  border-radius: 10px !important; font-size: 15px !important; font-weight: 800 !important;
  line-height: 1.2; text-align: center; text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.wcpb-combo-offers .wcpb-view-combo-button:hover,
.wcpb-combo-offers .wcpb-view-combo-button:focus {
  color: #fff !important; background: var(--wcpb-green-dark) !important;
  border-color: var(--wcpb-green-dark) !important; transform: translateY(-1px);
}

/* Combo detail: featured image on the left, complete offer information on the right. */
.wcpb-single-offer {
  --wcpb-green: #176b45; --wcpb-green-dark: #105436; --wcpb-green-pale: #edf7f0;
  --wcpb-ink: #26332c; --wcpb-muted: #68736c;
  box-sizing: border-box; width: min(1200px, calc(100% - 40px)); max-width: 1200px;
  margin: 36px auto !important; padding: clamp(22px, 3.5vw, 42px) !important;
  background: #fff; border: 1px solid #e5ebe6; border-radius: 22px;
  box-shadow: 0 10px 36px rgba(25,55,37,.07);
}
.wcpb-single-offer .wcpb-offer-layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start; gap: clamp(26px, 4vw, 52px);
}
.wcpb-single-offer .wcpb-offer-image {
  min-width: 0; margin: 0 !important; padding: 12px; overflow: hidden;
  background: #f3f7f3; border: 1px solid #e8eee9; border-radius: 17px;
}
.wcpb-single-offer .wcpb-offer-image img {
  display: block; width: 100%; height: auto; max-height: 680px; margin: 0;
  object-fit: contain; border-radius: 10px;
}
.wcpb-single-offer .wcpb-offer-details { min-width: 0; }
.wcpb-single-offer .product_title {
  margin: 0 0 18px !important; color: var(--wcpb-ink);
  font-size: clamp(27px, 3vw, 39px) !important; font-weight: 850 !important; line-height: 1.16 !important;
}
.wcpb-single-offer .wcpb-offer-description { margin: 0 0 22px; color: #536057; font-size: 15px; line-height: 1.75; }
.wcpb-single-offer .wcpb-offer-details h2 {
  margin: 22px 0 12px !important; color: var(--wcpb-ink); font-size: 21px !important; font-weight: 800 !important;
}
.wcpb-single-offer .wcpb-offer-components {
  margin: 0 !important; padding: 0 !important; list-style: none !important;
  border-top: 1px solid #e6ece7;
}
.wcpb-single-offer .wcpb-offer-components li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center;
  gap: 12px; margin: 0 !important; padding: 13px 2px; border-bottom: 1px solid #e6ece7;
  color: var(--wcpb-ink); font-size: 14px; line-height: 1.45;
}
.wcpb-single-offer .wcpb-offer-components li a { color: var(--wcpb-ink); font-weight: 650; text-decoration: none; }
.wcpb-single-offer .wcpb-offer-components li a:hover { color: var(--wcpb-green); text-decoration: underline; }
.wcpb-single-offer .wcpb-offer-components li .wcpb-component-qty { color: var(--wcpb-muted); white-space: nowrap; }
.wcpb-single-offer .wcpb-offer-components li .wcpb-component-price { color: var(--wcpb-ink); white-space: nowrap; }
.wcpb-single-offer .wcpb-offer-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px;
  margin: 22px 0 !important; padding: 18px 20px; background: var(--wcpb-green-pale); border-radius: 13px;
}
.wcpb-single-offer .wcpb-offer-price del { color: #78827b; font-size: 16px; }
.wcpb-single-offer .wcpb-offer-price strong { color: var(--wcpb-green); font-size: clamp(27px, 3vw, 35px); font-weight: 850; }
.wcpb-single-offer .wcpb-offer-price p { flex-basis: 100%; margin: -3px 0 0; color: var(--wcpb-green-dark); font-weight: 800; }
.wcpb-single-offer .wcpb-offer-cart { margin: 0 !important; }
.wcpb-single-offer .single_add_to_cart_button {
  display: inline-flex !important; align-items: center; justify-content: center; width: 100%; min-height: 54px;
  padding: 15px 24px !important; color: #fff !important; background: var(--wcpb-green) !important;
  border: 1px solid var(--wcpb-green) !important; border-radius: 10px !important;
  font-size: 16px !important; font-weight: 800 !important; transition: background .2s ease, transform .2s ease;
}
.wcpb-single-offer .single_add_to_cart_button:hover { color: #fff !important; background: var(--wcpb-green-dark) !important; transform: translateY(-1px); }
@media (max-width: 900px) {
  .wcpb-combo-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px !important; }
  .wcpb-single-offer .wcpb-offer-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .wcpb-combo-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
  .wcpb-combo-offers .wcpb-combo-card { border-radius: 12px; padding-bottom: 12px !important; }
  .wcpb-combo-offers .wcpb-combo-card-content { gap: 8px; padding: 12px 12px 5px; }
  .wcpb-combo-offers .woocommerce-loop-product__title { font-size: 15px !important; }
  .wcpb-combo-offers .price { gap: 4px; font-size: 17px !important; }
  .wcpb-combo-offers .price del { font-size: 12px !important; }
  .wcpb-combo-offers .wcpb-combo-savings { padding: 5px 7px; font-size: 10px; }
  .wcpb-combo-offers .wcpb-view-combo-button { min-height: 40px; margin: 10px 10px 0 !important; padding: 10px 8px !important; font-size: 12px !important; }
  .wcpb-single-offer { width: calc(100% - 24px); margin: 16px auto !important; padding: 16px !important; border-radius: 14px; }
  .wcpb-single-offer .wcpb-offer-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wcpb-single-offer .wcpb-offer-image { padding: 8px; }
  .wcpb-single-offer .product_title { font-size: 27px !important; }
  .wcpb-single-offer .wcpb-offer-components li { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; font-size: 13px; }
  .wcpb-single-offer .wcpb-offer-components li .wcpb-component-price { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .wcpb-combo-offers .wcpb-combo-card, .wcpb-combo-offers .wcpb-combo-image img,
  .wcpb-combo-offers .wcpb-view-combo-button, .wcpb-single-offer .single_add_to_cart_button { transition: none; }
}
