/* ================================================================
   Mighzal Curated Bundles — Frontend Styles v1.0.1
   Brand accent: #C4A882 (warm gold)
   ================================================================ */

.mcb-bundles-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  color: #1a1a1a;
}

/* ── Page header ──────────────────────────────────────────────── */
.mcb-page-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.mcb-eyebrow,
.mcb-bundle-eyebrow,
.mcb-sidebar-eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #C4A882;
  display: block;
  margin-bottom: 0.5rem;
}
.mcb-page-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.mcb-page-subtitle {
  font-size: 14px;
  color: #7a7470;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Bundle list ──────────────────────────────────────────────── */
.mcb-bundles-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ── Bundle card ──────────────────────────────────────────────── */
.mcb-bundle-card {
  background: #fff;
  border: 0.5px solid #e8e4de;
  border-radius: 24px;
  overflow: hidden;
}
.mcb-bundle-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
}

/* ── Products column ──────────────────────────────────────────── */
.mcb-bundle-products-col {
  padding: 2rem;
  border-right: 0.5px solid #f0ece6;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mcb-bundle-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mcb-bundle-title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0;
}
.mcb-bundle-desc {
  font-size: 13px;
  color: #7a7470;
  line-height: 1.6;
  margin: 0;
}

/* ── Items row ────────────────────────────────────────────────── */
.mcb-items-row {
  display: flex;
  align-items: stretch;
}

/* ── Item card ────────────────────────────────────────────────── */
.mcb-item-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 0.5px solid #e8e4de;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.mcb-item-img-link {
  display: block;
  text-decoration: none;
}
.mcb-item-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f3f0;
}
.mcb-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mcb-item-card:hover .mcb-item-img-wrap img {
  transform: scale(1.03);
}
.mcb-item-type-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px 5px;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.mcb-item-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mcb-item-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.4;
}
.mcb-item-name:hover {
  color: #C4A882;
}
.mcb-item-price {
  font-size: 12px;
  color: #a09a92;
}

/* ── + Connector ──────────────────────────────────────────────── */
.mcb-plus-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 8px;
  position: relative;
}
.mcb-plus-line {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0.5px;
  background: #e8e4de;
}
.mcb-plus-circle {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 0.5px solid #ddd8d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mcb-plus-circle span {
  font-size: 16px;
  color: #C4A882;
  font-weight: 400;
  line-height: 1;
  -webkit-user-select: none;
  user-select: none;
}

/* ── Variation selectors ──────────────────────────────────────── */
.mcb-variation-selectors {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mcb-variation-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mcb-variation-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a09a92;
}
.mcb-attribute-select {
  width: 100%;
  border: 0.5px solid #ddd8d0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  background: #faf8f5;
  color: #1a1a1a;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.mcb-attribute-select:focus {
  border-color: #C4A882;
}
.mcb-attribute-select.mcb-select-error {
  border-color: #c0392b;
  background: #fff8f7;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.mcb-bundle-sidebar {
  background: #faf8f5;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mcb-sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mcb-sidebar-title {
  font-size: 17px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 0;
}

/* ── Includes box ─────────────────────────────────────────────── */
.mcb-includes-box {
  background: #fff;
  border: 0.5px solid #e8e4de;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mcb-includes-label {
  font-size: 11px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.mcb-include-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mcb-include-thumb {
  flex-shrink: 0;
  display: block;
}
.mcb-include-thumb img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  border: 0.5px solid #e8e4de;
  display: block;
}
.mcb-include-name {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #5a5450;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mcb-include-name a {
  color: inherit;
  text-decoration: none;
}
.mcb-include-name a:hover {
  color: #C4A882;
}
.mcb-include-price {
  font-size: 11px;
  color: #a09a92;
  flex-shrink: 0;
}

/* ── Price breakdown ──────────────────────────────────────────── */
.mcb-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 1rem;
  border-top: 0.5px solid #e8e4de;
}
.mcb-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.mcb-price-original span:first-child {
  color: #a09a92;
}
.mcb-strikethrough {
  text-decoration: line-through;
  color: #c0bbb5;
  font-size: 13px;
}
.mcb-price-bundle span:first-child {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 14px;
}
.mcb-bundle-price-value {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
}
.mcb-saving-badge {
  font-size: 12px;
  font-weight: 500;
  color: #3B6D11;
  background: #EAF3DE;
  border: 0.5px solid #C0DD97;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ── Validation message ───────────────────────────────────────── */
.mcb-validation-msg {
  font-size: 12px;
  color: #b35a00;
  background: #fff8f0;
  border: 0.5px solid #f0c080;
  border-radius: 8px;
  padding: 8px 12px;
  line-height: 1.5;
}
.mcb-ajax-error {
  font-size: 12px;
  color: #c0392b;
  margin: 4px 0 0;
}

/* ── Add to cart button ───────────────────────────────────────── */
.mcb-add-to-cart-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s;
}
.mcb-add-to-cart-btn:hover {
  background: #333;
}
.mcb-add-to-cart-btn:disabled {
  background: #d4d0ca;
  color: #a09a92;
  cursor: not-allowed;
}

/* ── Currency note ────────────────────────────────────────────── */
.mcb-currency-note {
  font-size: 11px;
  color: #c0bbb5;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* ── Trust strip ──────────────────────────────────────────────── */
.mcb-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 0.5px solid #e8e4de;
}
.mcb-trust-item {
  background: #fff;
  border: 0.5px solid #e8e4de;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mcb-trust-icon {
  font-size: 18px;
  color: #C4A882;
  display: block;
}
.mcb-trust-item strong {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
}
.mcb-trust-item p {
  font-size: 12px;
  color: #a09a92;
  line-height: 1.6;
  margin: 0;
}

/* ── No bundles ───────────────────────────────────────────────── */
.mcb-no-bundles {
  text-align: center;
  color: #a09a92;
  padding: 3rem 0;
  font-size: 14px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .mcb-bundle-inner {
    grid-template-columns: 1fr;
  }
  .mcb-bundle-products-col {
    border-right: none;
    border-bottom: 0.5px solid #f0ece6;
  }
  .mcb-trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mcb-bundles-page {
    padding: 2rem 1rem 3rem;
  }
  .mcb-bundle-products-col,
  .mcb-bundle-sidebar {
    padding: 1.5rem 1.25rem;
  }
  .mcb-items-row {
    flex-direction: column;
  }
  .mcb-plus-connector {
    flex-direction: row;
    padding: 8px 0;
    min-height: 36px;
  }
  .mcb-plus-line {
    top: 50%;
    bottom: auto;
    left: 8%;
    right: 8%;
    width: auto;
    height: 0.5px;
    -webkit-transform: none;
    transform: none;
  }
  .mcb-item-img-wrap {
    aspect-ratio: 3 / 2;
  }
}

/* ── Single-bundle shortcode embed ───────────────────────────── */
.mcb-bundle-shortcode-wrap {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.mcb-shortcode-editor-notice {
  font-size: 14px;
  color: #646970;
  margin: 1rem 0;
  padding: 12px 14px;
  background: #f6f7f7;
  border-left: 4px solid #dba617;
}
