.yl-product-context-menu {
  position: fixed;
  z-index: 4600;
  width: min(292px, calc(100vw - 24px));
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 54px rgba(15, 23, 42, .24);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(6px) scale(.98);
  transform-origin: top left;
  transition: opacity .14s ease, transform .14s ease;
}

.yl-product-context-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.yl-product-context-menu__title {
  overflow: hidden;
  padding: 7px 10px 9px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.yl-product-context-menu__item {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color .14s ease, color .14s ease, transform .14s ease;
}

.yl-product-context-menu__item:hover,
.yl-product-context-menu__item:focus-visible {
  outline: 0;
  background: rgba(var(--yl-theme-primary-rgb, 31, 41, 55), .09);
  color: var(--yl-theme-primary-dark, #111827);
  transform: translateX(2px);
}

.yl-product-context-menu__item--cart {
  background: linear-gradient(135deg, var(--yl-theme-primary-dark, #111827), var(--yl-theme-primary, #1f2937));
  color: #fff;
}

.yl-product-context-menu__item--cart:hover,
.yl-product-context-menu__item--cart:focus-visible {
  background: linear-gradient(135deg, var(--yl-theme-primary-dark, #111827), var(--yl-theme-primary, #1f2937));
  color: #fff;
  filter: brightness(1.08);
}

.yl-product-context-menu__icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(148, 163, 184, .14);
  font-size: 14px;
}

.yl-product-context-menu__item--cart .yl-product-context-menu__icon {
  background: rgba(255, 255, 255, .15);
}

.yl-product-context-menu__separator {
  height: 1px;
  margin: 6px 8px;
  background: rgba(148, 163, 184, .22);
}

.yl-product-context-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 4700;
  max-width: min(360px, calc(100vw - 36px));
  padding: 11px 14px;
  border-radius: 12px;
  background: #111827;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .26);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.yl-product-context-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767.98px), (hover: none), (pointer: coarse) {
  .yl-product-context-menu {
    display: none !important;
  }
}

body.yl-home-compare-open {
  overflow: hidden;
}

.yl-home-compare-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4650;
  background: rgba(15, 23, 42, .52);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .22s ease;
}

.yl-home-compare-backdrop.is-open {
  opacity: 1;
}

.yl-home-compare-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 4660;
  width: min(560px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  box-shadow: -20px 0 55px rgba(15, 23, 42, .22);
  transform: translateX(102%);
  transition: transform .26s ease;
}

.yl-home-compare-drawer.is-open {
  transform: translateX(0);
}

.yl-home-compare-drawer__header {
  padding: 28px 28px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.yl-home-compare-drawer__header small {
  display: block;
  margin-bottom: 7px;
  color: #168454;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.yl-home-compare-drawer__header h3 {
  margin: 0;
  color: #101827;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.08;
}

.yl-home-compare-drawer__header p {
  margin: 9px 0 0;
  color: #64748b;
  font-size: 14px;
}

.yl-home-compare-drawer__header button {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 0;
  border-radius: 50%;
  background: #f8fafc;
  color: #475569;
  font-size: 20px;
}

.yl-home-compare-drawer__status {
  margin: 14px 24px 0;
  padding: 10px 13px;
  border-radius: 10px;
  background: #dcfce7;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
}

.yl-home-compare-drawer__status.is-error {
  background: #fee2e2;
  color: #991b1b;
}

.yl-home-compare-drawer__body {
  overflow-y: auto;
  padding: 22px 24px 32px;
}

.yl-home-compare-drawer__body section + section {
  margin-top: 26px;
}

.yl-home-compare-drawer__section-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.yl-home-compare-drawer__section-head h4 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.yl-home-compare-drawer__section-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.yl-home-compare-drawer__list {
  display: grid;
  gap: 10px;
}

.yl-home-compare-item {
  min-width: 0;
  padding: 13px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 13px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
}

.yl-home-compare-item.is-current {
  border-color: rgba(22, 132, 84, .28);
}

.yl-home-compare-item__thumb {
  width: 68px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f5f9;
}

.yl-home-compare-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yl-home-compare-item__name {
  display: block;
  overflow: hidden;
  color: #172033;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.yl-home-compare-item__meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.yl-home-compare-item > button {
  width: 42px;
  height: 42px;
  border: 1px solid #bbf7d0;
  border-radius: 13px;
  background: #f0fdf4;
  color: #168454;
}

.yl-home-compare-item > button.is-remove {
  border-color: #fecaca;
  background: #fff7f7;
  color: #ef4444;
}

.yl-home-compare-item > button:disabled {
  opacity: .45;
}

.yl-home-compare-drawer__actions {
  margin-top: 13px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.yl-home-compare-drawer__actions button,
.yl-home-compare-drawer__actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 11px;
  background: #fff;
  color: #111827;
  font-weight: 800;
  text-decoration: none;
}

.yl-home-compare-drawer__actions a {
  border-color: #168454;
  background: #168454;
  color: #fff;
}

.yl-home-compare-drawer__actions .is-disabled {
  opacity: .45;
  pointer-events: none;
}

.yl-home-compare-drawer__search {
  min-height: 46px;
  margin-bottom: 13px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  color: #94a3b8;
}

.yl-home-compare-drawer__search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.yl-home-compare-empty {
  padding: 20px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: #64748b;
  text-align: center;
}

.yl-home-share-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.yl-home-campaign-modal .modal-content { border-radius: 22px; overflow: hidden; box-shadow: 0 28px 80px rgba(15, 23, 42, .28); }
.yl-home-campaign-modal .modal-header { padding: 22px 26px; align-items: flex-start; color: #fff; border: 0; background: linear-gradient(135deg, #111827 0%, #173a58 58%, #168454 100%); }
.yl-home-campaign-modal .modal-header .btn-close { margin-top: 4px; filter: invert(1) brightness(2); }
.yl-home-campaign-modal__eyebrow { display: block; margin-bottom: 4px; color: #86efac; font-size: .7rem; font-weight: 900; letter-spacing: .14em; }
.yl-home-campaign-modal .modal-title { color: #fff; font-size: 1.35rem; font-weight: 900; }
.yl-home-campaign-modal .modal-header p { margin: 5px 0 0; color: rgba(255,255,255,.75); font-size: .86rem; }
.yl-home-campaign-modal .modal-body { padding: 24px; background: #f4f7fb; }
.yl-home-campaign-modal__state, .yl-home-campaign-empty { padding: 24px; border: 1px dashed #cbd5e1; border-radius: 16px; background: #fff; color: #64748b; text-align: center; font-weight: 700; }
.yl-home-campaign-modal__grid { display: grid; gap: 14px; }
.yl-home-campaign-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 17px; border: 1px solid #dbe4ee; border-radius: 17px; background: #fff; box-shadow: 0 8px 22px rgba(15, 23, 42, .06); }
.yl-home-campaign-card__icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: #e8f8ef; color: #168454; font-size: 1.2rem; }
.yl-home-campaign-card__kind { color: #168454; font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.yl-home-campaign-card h6 { margin: 2px 0 5px; color: #0f172a; font-weight: 900; }
.yl-home-campaign-card p { margin: 0; color: #526176; font-size: .88rem; line-height: 1.45; }
.yl-home-campaign-card__benefit { margin-top: 8px; display: flex; gap: 6px; align-items: center; color: #64748b; font-size: .76rem; font-weight: 700; }
.yl-home-campaign-card > button { min-height: 42px; padding: 0 15px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 12px; background: #111827; color: #fff; font-weight: 800; }
.yl-home-campaign-selection { margin-top: 20px; padding-top: 20px; border-top: 1px solid #d9e2ec; }
.yl-home-campaign-selection__head { margin-bottom: 12px; display: flex; align-items: end; justify-content: space-between; gap: 15px; }
.yl-home-campaign-selection__head small { color: #168454; font-weight: 900; letter-spacing: .08em; }
.yl-home-campaign-selection__head h6 { margin: 3px 0 0; font-weight: 900; }
.yl-home-campaign-selection__head > span { color: #64748b; font-size: .78rem; }
.yl-home-campaign-selection__list { display: grid; gap: 10px; }
.yl-home-campaign-detail { padding: 16px; border: 1px solid #dbe4ee; border-radius: 16px; background: linear-gradient(145deg, #fff 0%, #f7fafc 100%); }
.yl-home-campaign-detail__copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.yl-home-campaign-detail__copy > div { padding: 12px 14px; border-radius: 12px; background: #f1f5f9; }
.yl-home-campaign-detail__copy span, .yl-home-campaign-detail__prices span { display: block; margin-bottom: 4px; color: #64748b; font-size: .67rem; font-weight: 900; letter-spacing: .08em; }
.yl-home-campaign-detail__copy p { margin: 0; color: #273449; font-size: .84rem; line-height: 1.5; }
.yl-home-campaign-detail__prices { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.yl-home-campaign-detail__prices > div { padding: 12px 14px; border: 1px solid #dbe4ee; border-radius: 12px; background: #fff; }
.yl-home-campaign-detail__prices strong { color: #172033; font-size: 1rem; }
.yl-home-campaign-detail__prices strong.is-discount { color: #dc2626; }
.yl-home-campaign-detail__prices .is-final { border-color: #a7e2c3; background: #ecfdf5; }
.yl-home-campaign-detail__prices .is-final strong { color: #168454; font-size: 1.08rem; }
.yl-home-campaign-detail__pending { margin-top: 12px; padding: 12px 14px; display: flex; gap: 9px; align-items: center; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: .82rem; font-weight: 750; }
.yl-home-campaign-detail > small { margin-top: 11px; display: flex; align-items: center; gap: 6px; color: #64748b; font-size: .72rem; font-weight: 700; }
.yl-home-campaign-candidate { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px; border: 1px solid #dbe4ee; border-radius: 14px; background: #fff; }
.yl-home-campaign-candidate__thumb { width: 64px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 10px; overflow: hidden; background: #f8fafc; }
.yl-home-campaign-candidate__thumb img { width: 100%; height: 100%; object-fit: contain; }
.yl-home-campaign-candidate__name { color: #172033; font-weight: 850; text-decoration: none; }
.yl-home-campaign-candidate__meta { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 6px; }
.yl-home-campaign-candidate__meta span { padding: 3px 7px; border-radius: 999px; background: #eef4fa; color: #526176; font-size: .7rem; font-weight: 800; }
.yl-home-campaign-candidate > button { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 11px; background: #168454; color: #fff; font-weight: 850; }

@media (max-width: 575.98px) {
  .yl-home-campaign-modal .modal-body { padding: 15px; }
  .yl-home-campaign-card { grid-template-columns: 42px minmax(0, 1fr); }
  .yl-home-campaign-card__icon { width: 42px; height: 42px; }
  .yl-home-campaign-card > button { grid-column: 1 / -1; justify-content: center; }
  .yl-home-campaign-selection__head { align-items: flex-start; flex-direction: column; }
  .yl-home-campaign-detail__copy, .yl-home-campaign-detail__prices { grid-template-columns: 1fr; }
  .yl-home-campaign-candidate { grid-template-columns: 54px minmax(0, 1fr); }
  .yl-home-campaign-candidate__thumb { width: 54px; height: 50px; }
  .yl-home-campaign-candidate > button { grid-column: 1 / -1; justify-content: center; }
  .yl-home-compare-drawer__header {
    padding: 20px 18px 16px;
  }

  .yl-home-compare-drawer__body {
    padding: 18px 14px 26px;
  }

  .yl-home-compare-item {
    grid-template-columns: 58px minmax(0, 1fr) 40px;
    gap: 9px;
    padding: 10px;
  }

  .yl-home-compare-item__thumb {
    width: 58px;
    height: 54px;
  }
}
