/* ── Yotism Cart Page Styles ── */

/* Suppress all default WooCommerce notices on the cart page */
.woocommerce-notices-wrapper,
.woocommerce-notices-wrapper * {
  display: none !important;
}

.yot-cart-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  font-family: 'Poppins', sans-serif;
}

/* ── Progress bar ── */
.yot-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
}
.yot-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.yot-step__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8dff0;
  color: #aaa;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.yot-step__label {
  font-size: 12px;
  font-weight: 500;
  color: #bbb;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.yot-step--active .yot-step__dot {
  background: #764979;
  color: #fff;
}
.yot-step--active .yot-step__label {
  color: #764979;
  font-weight: 600;
}
.yot-progress__line {
  flex: 1;
  max-width: 120px;
  height: 2px;
  background: #e8dff0;
  margin: 0 12px;
  margin-bottom: 24px;
}

/* ── Section heading ── */
.yot-cart-heading {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2D1F2E;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0e8f5;
}

/* ── Two-column layout ── */
.yot-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* ── Cart item card ── */
.yot-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 16px rgba(92,57,96,0.07);
  transition: box-shadow 0.25s ease;
}
.yot-item:hover {
  box-shadow: 0 6px 28px rgba(92,57,96,0.12);
}
.yot-item__img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5eaf9;
}
.yot-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yot-item__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.yot-item__info {
  flex: 1;
}
.yot-item__name {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #2D1F2E;
  line-height: 1.3;
  margin-bottom: 6px;
}
.yot-item__name a {
  color: #2D1F2E;
  text-decoration: none;
}
.yot-item__name a:hover {
  color: #764979;
}
.yot-item__meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}
.yot-item__qty {
  font-size: 12px;
  color: #aaa;
}
.yot-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}
.yot-item__price {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #764979;
}
.yot-item__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5eaf9;
  color: #c576ae;
  font-size: 11px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.yot-item__remove:hover {
  background: #764979;
  color: #fff;
}

/* ── Continue link ── */
.yot-continue,
.yot-continue:hover,
.yot-continue:focus {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #764979;
  text-decoration: none !important;
  font-weight: 500;
}

/* ── Order summary panel ── */
.yot-summary {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(92,57,96,0.07);
  position: sticky;
  top: 100px;
}
.yot-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #5A5A78;
  padding: 10px 0;
  border-bottom: 1px solid #f5eaf9;
}
.yot-summary__row--discount {
  color: #5C3960;
}
.yot-summary__row--discount em {
  font-style: normal;
  font-size: 11px;
  color: #aaa;
}
.yot-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2D1F2E;
  padding: 16px 0 20px;
}

/* ── Buttons ── */
.yot-cart-wrap a.yot-btn,
.yot-cart-wrap a.yot-btn:link,
.yot-cart-wrap a.yot-btn:visited,
.yot-cart-wrap a.yot-btn:hover,
.yot-cart-wrap a.yot-btn:focus {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 20px 0px 20px 0px;
  background: #764979;
  color: #fff !important;
  text-decoration: none !important;
  transition: background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.yot-cart-wrap a.yot-btn:hover {
  background: #c471ad !important;
  transform: translateY(-2px);
}
.yot-cart-wrap a.yot-btn--full {
  display: block !important;
  text-align: center;
  width: 100%;
  padding: 14px !important;
  font-size: 15px !important;
  margin-bottom: 16px;
  box-sizing: border-box;
}

/* ── Quantity controls ── */
.yot-cart-wrap .yot-qty {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0 !important;
  border: 1.5px solid #e0d0ea !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  width: fit-content !important;
  max-width: 112px !important;
  margin-top: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.yot-cart-wrap .yot-qty__btn {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  background: #f5eaf9 !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  font-size: 18px !important;
  line-height: 1 !important;
  color: #764979 !important;
  font-weight: 700 !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  outline: none !important;
}
.yot-cart-wrap .yot-qty__btn:hover {
  background: #e8d5f0 !important;
}
.yot-cart-wrap .yot-qty__input {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 32px !important;
  border: none !important;
  border-left: 1.5px solid #e0d0ea !important;
  border-right: 1.5px solid #e0d0ea !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-family: 'Quicksand', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #2D1F2E !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  -moz-appearance: textfield !important;
  flex-shrink: 0 !important;
}
.yot-cart-wrap .yot-qty__input::-webkit-inner-spin-button,
.yot-cart-wrap .yot-qty__input::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.yot-cart-wrap .yot-qty__update {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* ── Trust badge ── */
.yot-trust {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  font-weight: 500;
}

/* ── Empty cart ── */
.yot-cart-empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.yot-cart-empty__icon {
  font-size: 56px;
  margin-bottom: 20px;
}
.yot-cart-empty__title {
  font-family: 'Quicksand', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #2D1F2E;
  margin-bottom: 12px;
}
.yot-cart-empty__sub {
  font-size: 14px;
  color: #5A5A78;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .yot-cart-layout {
    grid-template-columns: 1fr;
  }
  .yot-summary {
    position: static;
  }
  .yot-progress__line {
    max-width: 60px;
  }
}
@media (max-width: 560px) {
  .yot-cart-wrap {
    padding: 32px 16px 60px;
  }
  .yot-item {
    flex-wrap: wrap;
    gap: 14px;
  }
  .yot-item__right {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  .yot-progress {
    margin-bottom: 36px;
  }
  .yot-step__label {
    font-size: 10px;
  }
}
