:root{
  --merch-glow: 0 24px 80px rgba(var(--accent-rgb), .10), 0 18px 58px rgba(var(--accent-2-rgb), .10);
}

.merch-header-icons{
  display: flex;
  align-items: center;
  gap: 8px;
}

.merch-header-icon-btn{
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color .16s ease, transform .16s ease, border-color .16s ease;
}

.merch-header-icon-btn:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.14);
  color: #fff;
  transform: translateY(-1px);
}

.merch-header-icon-btn.is-active{
  background: rgba(var(--accent-rgb), .18);
  border-color: rgba(var(--accent-rgb), .35);
  color: var(--accent);
}

.merch-header-icon-badge{
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b0f14;
  font-size: .65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

.merch-wrap{
  padding-bottom: 24px;
}

.merch-hero{
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04) inset;
  margin-top: 14px;
  min-height: clamp(240px, 36vw, 360px);
  isolation: isolate;
}

.merch-hero-accent{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  opacity: .95;
}

.merch-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 28%;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.08);
  transition: transform 10s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference){
  .merch-hero:hover .merch-hero-bg{
    transform: scale(1.08);
  }
}

.merch-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1000px 520px at 8% 18%, rgba(var(--accent-2-rgb), .32), transparent 58%),
    radial-gradient(900px 480px at 96% 8%, rgba(var(--accent-rgb), .22), transparent 55%),
    linear-gradient(105deg, rgba(7,10,18,.82) 0%, rgba(7,10,18,.42) 48%, rgba(7,10,18,.55) 100%),
    radial-gradient(120% 90% at 50% 100%, rgba(7,10,18,.55), transparent 72%);
  box-shadow: inset 0 0 120px rgba(0,0,0,.35);
}

.merch-hero-inner{
  position: relative;
  z-index: 2;
  padding: clamp(22px, 4vw, 40px) clamp(18px, 3vw, 32px) clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: inherit;
  gap: clamp(18px, 3vw, 28px);
}

.merch-hero-layout{
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

@media (min-width: 768px){
  .merch-hero-layout{
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    align-items: center;
  }
}

.merch-hero-copy{
  min-width: 0;
}

.merch-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(234,240,255,.88);
  font-weight: 800;
  width: fit-content;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.merch-eyebrow i{
  font-size: 1rem;
  color: rgba(var(--accent-rgb), .95);
}

.merch-title{
  font-weight: 900;
  letter-spacing: -0.045em;
  margin: 10px 0 12px;
  font-size: clamp(2.35rem, 5.5vw, 3.35rem);
  line-height: 1.05;
  filter: drop-shadow(0 3px 22px rgba(0,0,0,.45));
}

.merch-sub{
  max-width: 52ch;
  color: rgba(234,240,255,.78);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.55;
  margin: 0 0 16px;
  font-weight: 500;
}

.merch-hero-meta{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.merch-hero-meta li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 700;
  color: rgba(234,240,255,.72);
}

.merch-hero-meta i{
  color: rgba(var(--accent-2-rgb), .92);
  font-size: 1rem;
}

.merch-hero-panel{
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(14,23,48,.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px 18px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.05) inset;
}

.merch-hero-panel-label{
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(234,240,255,.52);
  margin-bottom: 12px;
}

.merch-hero-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 576px) and (max-width: 767.98px){
  .merch-hero-actions{
    flex-direction: row;
    flex-wrap: wrap;
  }
  .merch-hero-actions .btn{
    flex: 1 1 auto;
    min-width: 140px;
  }
}

@media (min-width: 768px){
  .merch-hero-actions{
    flex-direction: column;
  }
}

.merch-hero-cta-primary{
  font-weight: 800;
  letter-spacing: -0.02em;
}

.merch-hero-cta-secondary{
  font-weight: 800;
  border-width: 1px;
}

.merch-hero-tabs-bar{
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(7,10,18,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 12px 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}

.merch-hero-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mhtab{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(234,240,255,.82);
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.mhtab i{ font-size: 1.05rem; }
.mhtab:hover{ transform: translateY(-2px); background: rgba(255,255,255,.08); color: #fff; }
.mhtab.is-active{
  border-color: rgba(var(--accent-rgb), .35);
  box-shadow: var(--merch-glow);
  background: rgba(var(--accent-rgb), .12);
  color: #fff;
}

.merch-side{
  position: sticky;
  top: 92px;
}

.merch-badge{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06) !important;
  color: rgba(234,240,255,.84) !important;
  border-radius: 999px;
  padding: .45rem .75rem;
}

.merch-menu{
  display: grid;
  gap: 8px;
}

.merch-link{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.84);
  text-decoration: none;
  font-weight: 800;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.merch-link-icon{
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: rgba(234,240,255,.78);
}

.merch-link-icon svg{
  width: 18px;
  height: 18px;
  display: block;
}

.merch-link.is-active .merch-link-icon,
.merch-link[aria-current="page"] .merch-link-icon{
  color: rgba(var(--accent-rgb), .95);
}

.merch-link:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}

.merch-mini{
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 14px;
}

.merch-mini-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.merch-mini-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mchip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.78);
  text-decoration: none;
  font-weight: 800;
}

.mchip:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

.spotlight-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow: hidden;
}

.spotlight-media{
  height: 170px;
  overflow: hidden;
}
.spotlight-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.06);
  transform: scale(1.03);
}

.spotlight-body{
  padding: 14px 14px 16px;
}

.spotlight-avatar{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 34px rgba(0,0,0,.30);
}

.spotlight-title{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.spotlight-pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featured-product{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.featured-product:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}

.featured-media{
  position: relative;
  height: 140px;
}
.featured-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-body{
  padding: 14px 14px 14px 0;
}
.featured-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.featured-meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.deal-list{
  display: grid;
  gap: 10px;
}
.deal-list{
  align-content: start;
}
.deal-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.deal-item:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
}
.deal-item img{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.12);
}
.deal-title{ font-weight: 900; letter-spacing: -0.02em; }
.deal-sub{ color: rgba(234,240,255,.70); font-weight: 800; font-size: .92rem; }
.deal-price{ font-weight: 900; letter-spacing: -0.02em; }
.deal-was{ color: rgba(234,240,255,.55); text-decoration: line-through; font-weight: 800; margin-left: 6px; }
.deal-rev{ color: rgba(234,240,255,.62); font-size: .9rem; font-weight: 700; }

.merch-category-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.cstrip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.80);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.cstrip:hover{ background: rgba(255,255,255,.06); color: #fff; }
.cstrip.is-active{
  border-color: rgba(var(--accent-2-rgb), .35);
  background: rgba(var(--accent-2-rgb), .12);
  color: #fff;
  box-shadow: var(--merch-glow);
}

.pcard-grid{
  min-width: auto;
  max-width: none;
  width: 100%;
  height: 100%;
}
.merch-grid .col{ display: flex; }
.pcard-grid{
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(480px 240px at 10% 0%, rgba(var(--accent-2-rgb), .10), transparent 60%),
    radial-gradient(520px 260px at 100% 0%, rgba(var(--accent-rgb), .08), transparent 62%),
    rgba(255,255,255,.03);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.pcard-grid:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 22px 60px rgba(0,0,0,.30), var(--merch-glow);
  background-color: rgba(255,255,255,.05);
}
.pcard-grid:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(var(--accent-rgb), .18), 0 26px 76px rgba(0,0,0,.34);
}

.pcard-grid .pcard-media{
  height: 210px;
  position: relative;
}
.pcard-grid .pcard-media::after{
  content:"";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(7,10,18,.55) 100%);
  opacity: .85;
  pointer-events: none;
}
.pcard-grid .pcard-media img{
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.06);
}
.pcard-grid:hover .pcard-media img{
  transform: scale(1.10);
}

.pcard-grid .pcard-body{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 12px;
  flex: 1 1 auto;
}
.pcard-grid .pcard-title{
  font-size: .98rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  min-height: 2.6em;
}
.pcard-grid .pcard-bottom{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pcard-grid .pcard-price{
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.2;
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  row-gap: 2px;
  white-space: normal;
  color: #fff;
}

.pcard-grid .pcard-price-now{
  white-space: nowrap;
}

.pcard-grid .pcard-price:has(.pcard-price-was){
  flex-direction: column;
  align-items: flex-start;
  row-gap: 1px;
}

.pcard-grid .pcard-price-was{
  margin-left: 0;
  font-size: .82rem;
  white-space: nowrap;
  text-decoration: line-through;
}

.pcard-grid .pcard-reviews{
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: .74rem;
  line-height: 1.2;
  color: rgba(234,240,255,.52);
  white-space: nowrap;
}

.pcard-grid{
  text-decoration: none;
  color: inherit;
}
.pcard-media-shell{
  position: relative;
  flex-shrink: 0;
}

.pcard-media-link{
  display: block;
  text-decoration: none;
  color: inherit;
}
.pcard-body-link{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}
.pcard-media-link:focus-visible,
.pcard-body-link:focus-visible{
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(var(--accent-rgb), .45);
}

.pcard-grid .pcard-media-actions{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.pcard-media-action{
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(7,10,18,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  font-size: .88rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.pcard-media-action:hover{
  transform: translateY(-1px);
  background: rgba(7,10,18,.78);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.pcard-media-action:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(var(--accent-rgb), .22), 0 8px 22px rgba(0,0,0,.28);
}
.pcard-media-action.is-active{
  border-color: rgba(255, 105, 135, .55);
  background: rgba(255, 105, 135, .22);
  color: #ffb8c9;
}

.pcard-foot{
  padding: 0 12px 12px;
  margin-top: auto;
}

.pcard-add-cart{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(var(--accent-2-rgb), .32);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(var(--accent-2-rgb), .24), rgba(var(--accent-rgb), .14));
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: -.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.pcard-add-cart i{
  font-size: .95rem;
}
.pcard-add-cart:hover{
  transform: translateY(-1px);
  border-color: rgba(var(--accent-2-rgb), .48);
  background:
    linear-gradient(135deg, rgba(var(--accent-2-rgb), .32), rgba(var(--accent-rgb), .22));
  box-shadow: 0 14px 30px rgba(0,0,0,.26), 0 0 0 1px rgba(var(--accent-rgb), .12);
}
.pcard-add-cart:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .22rem rgba(var(--accent-rgb), .24), 0 14px 30px rgba(0,0,0,.26);
}
.pcard-add-cart.is-added,
.pcard-add-cart:disabled{
  border-color: rgba(34,197,94,.38);
  background: rgba(34,197,94,.16);
  color: rgba(220,252,231,.98);
  transform: none;
  cursor: default;
}

.merch-toast{
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  z-index: 1080;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,16,28,.92);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.merch-toast.is-visible{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.merch-pagination .page-link{
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.84);
  font-weight: 900;
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.20);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.merch-pagination{
  gap: 10px;
  margin-bottom: 0;
}
.merch-pagination .page-item{ margin: 0; }
.merch-pagination .page-link:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.merch-pagination .page-link:focus{
  box-shadow: 0 0 0 .25rem rgba(var(--accent-rgb), .18), 0 18px 40px rgba(0,0,0,.28);
}
.merch-pagination .page-item.active .page-link{
  border-color: rgba(var(--accent-rgb), .38);
  background: rgba(var(--accent-rgb), .14);
  color: #fff;
  box-shadow: var(--merch-glow);
}
.merch-pagination .page-item.active .page-link{
  background-image: linear-gradient(135deg, rgba(var(--accent-2-rgb), .18), rgba(var(--accent-rgb), .16));
}

.merch-pagination .page-link-nav{
  min-width: 110px;
  justify-content: center;
  gap: 2px;
}
.merch-pagination .page-link-nav i{
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 575.98px){
  .merch-pagination{
    gap: 8px;
    flex-wrap: wrap;
  }
  .merch-pagination .page-link-nav{
    min-width: 48%;
  }
}

.merch-offcanvas{
  background: rgba(7,10,18,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-right: 1px solid rgba(255,255,255,.10);
  color: var(--text);
}

/* Inner pages (categories, products) */
.merch-page-hero{
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  margin-top: 14px;
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 28px);
  background:
    radial-gradient(720px 320px at 12% 0%, rgba(var(--accent-2-rgb), .18), transparent 58%),
    radial-gradient(680px 300px at 100% 0%, rgba(var(--accent-rgb), .14), transparent 55%),
    rgba(14,23,48,.55);
  box-shadow: var(--shadow-sm);
}

.merch-breadcrumb{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: .875rem;
  font-weight: 700;
  color: rgba(234,240,255,.55);
}

.merch-breadcrumb a{
  color: rgba(234,240,255,.72);
  text-decoration: none;
  transition: color .18s ease;
}

.merch-breadcrumb a:hover{ color: #fff; }

.merch-breadcrumb li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.merch-breadcrumb li + li::before{
  content: "/";
  color: rgba(234,240,255,.35);
  font-weight: 600;
}

.merch-page-title{
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  margin: 0 0 8px;
  line-height: 1.1;
}

.merch-page-sub{
  margin: 0;
  max-width: 58ch;
  color: rgba(234,240,255,.72);
  font-weight: 500;
  line-height: 1.5;
}

.merch-link.is-active,
.merch-link[aria-current="page"]{
  border-color: rgba(var(--accent-rgb), .32);
  background: rgba(var(--accent-rgb), .10);
  color: #fff;
  box-shadow: var(--merch-glow);
}

.cat-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 576px){
  .cat-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px){
  .cat-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.cat-card{
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.03);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.cat-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 22px 60px rgba(0,0,0,.32), var(--merch-glow);
  color: inherit;
}

.cat-card-media{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform .35s ease;
}

.cat-card:hover .cat-card-media{
  transform: scale(1.08);
}

.cat-card-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,10,18,.15) 0%, rgba(7,10,18,.78) 72%, rgba(7,10,18,.92) 100%);
}

.cat-card-body{
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cat-card-icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: rgba(var(--accent-rgb), .95);
  font-size: 1.1rem;
}

.cat-card-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.cat-card-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .875rem;
  font-weight: 700;
  color: rgba(234,240,255,.68);
}

.cat-card-count{
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(234,240,255,.78);
  font-size: .8rem;
}

.cat-card-arrow{
  color: rgba(var(--accent-rgb), .95);
  font-size: 1.1rem;
  transition: transform .2s ease;
}

.cat-card:hover .cat-card-arrow{
  transform: translateX(4px);
}

.merch-toolbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.merch-result-count{
  font-weight: 800;
  color: rgba(234,240,255,.72);
  font-size: .9rem;
}

.merch-toolbar-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.merch-filter-panel{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 14px;
  margin-bottom: 16px;
}

.merch-filter-label{
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(234,240,255,.52);
  margin-bottom: 8px;
}

.merch-filter-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Product detail page */
.merch-pdetail-gallery{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.merch-pdetail-main{
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(520px 260px at 10% 0%, rgba(var(--accent-2-rgb), .12), transparent 58%),
    rgba(255,255,255,.03);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
}

.merch-pdetail-main img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.merch-pdetail-main .pcard-sale,
.merch-pdetail-main .pcard-tag{
  top: 14px;
  left: 14px;
}

.merch-pdetail-thumbs{
  display: flex;
  gap: 10px;
}

.merch-pdetail-thumb{
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.merch-pdetail-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.merch-pdetail-thumb:hover,
.merch-pdetail-thumb.is-active{
  border-color: rgba(var(--accent-rgb), .42);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .18);
  transform: translateY(-2px);
}

.merch-pdetail-cat{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.78);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.merch-pdetail-cat:hover{
  color: #fff;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
}

.merch-pdetail-title{
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.merch-pdetail-meta-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.merch-pdetail-rating,
.merch-pdetail-stock{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 700;
  color: rgba(234,240,255,.68);
}
.merch-pdetail-rating i{
  color: rgba(var(--accent-2-rgb), .95);
  font-size: .9rem;
}
.merch-pdetail-stock i{
  color: rgba(34,197,94,.9);
  font-size: .9rem;
}

.merch-pdetail-price{
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: #fff;
}

.merch-pdetail-tabs-wrap{
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.merch-pdetail-tabs{
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.merch-pdetail-tabs::-webkit-scrollbar{
  display: none;
}

.merch-pdetail-tab{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.78);
  font-weight: 800;
  font-size: .84rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.merch-pdetail-tab:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  color: #fff;
}
.merch-pdetail-tab.is-active{
  border-color: rgba(var(--accent-rgb), .38);
  background: rgba(var(--accent-rgb), .12);
  color: #fff;
  box-shadow: var(--merch-glow);
}
.merch-pdetail-tab:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .22rem rgba(var(--accent-rgb), .24);
}

.merch-pdetail-panel{
  color: rgba(234,240,255,.76);
  font-weight: 500;
  line-height: 1.65;
}
.merch-pdetail-panel p{
  margin: 0 0 12px;
}
.merch-pdetail-panel p:last-child{
  margin-bottom: 0;
}

.merch-desc-panel{
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 120px;
}

.merch-desc-body{
  flex: 1 1 auto;
}

.merch-desc-lead{
  margin-bottom: 10px !important;
  font-weight: 800;
  color: #fff;
}

.merch-report-btn{
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #de4e7c;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: opacity .16s ease, transform .16s ease;
}
.merch-report-btn:hover{
  opacity: .88;
  transform: translateY(-1px);
  color: #f06b94;
}
.merch-report-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(222, 78, 124, .28);
  border-radius: 8px;
}

.merch-report-icon{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #de4e7c;
  color: #fff;
  font-size: .82rem;
  line-height: 1;
}

.merch-report-modal .modal-content{
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}

.merch-report-modal .modal-header{
  padding: 18px 20px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.merch-report-modal .modal-title{
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.merch-report-modal .btn-close{
  opacity: .45;
}

.merch-report-modal .modal-body{
  padding: 18px 20px 8px;
}

.merch-report-modal .form-label{
  margin-bottom: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: #374151;
}

.merch-report-modal .form-select,
.merch-report-modal .form-control{
  border-color: #d1d5db;
  background: #fff;
  color: #111827;
  border-radius: 2px;
  font-size: .92rem;
}
.merch-report-modal .form-select{
  background-color: #f3f4f6;
}

.merch-report-modal .form-select:focus,
.merch-report-modal .form-control:focus{
  border-color: #60a5fa;
  box-shadow: 0 0 0 .2rem rgba(59, 130, 246, .15);
}

.merch-report-modal .modal-footer{
  justify-content: flex-start;
  padding: 8px 20px 20px;
  border-top: 0;
}

.merch-report-submit{
  min-width: 108px;
  padding: 9px 22px;
  border: 0;
  border-radius: 3px;
  background: #2f9df4;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background-color .16s ease, transform .16s ease;
}
.merch-report-submit:hover{
  background: #1d8ce0;
  color: #fff;
  transform: translateY(-1px);
}

.merch-pdetail-specs{
  display: grid;
  gap: 0;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  overflow: hidden;
}
.merch-pdetail-specs dt,
.merch-pdetail-specs dd{
  margin: 0;
  padding: 12px 14px;
}
.merch-pdetail-specs dt{
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(234,240,255,.52);
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.merch-pdetail-specs dd{
  font-weight: 700;
  color: rgba(234,240,255,.88);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.merch-pdetail-specs > div:last-child dt,
.merch-pdetail-specs > div:last-child dd{
  border-bottom: 0;
}
.merch-pdetail-specs > div{
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
}
@media (max-width: 575.98px){
  .merch-pdetail-specs > div{
    grid-template-columns: 1fr;
  }
  .merch-pdetail-specs dt{
    border-bottom: 0;
    padding-bottom: 4px;
  }
  .merch-pdetail-specs dd{
    padding-top: 0;
  }
}

.merch-review-summary{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
@media (max-width: 767.98px){
  .merch-review-summary{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.merch-review-score{
  text-align: center;
}
.merch-review-score strong{
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}
.merch-review-score span{
  display: block;
  margin-top: 6px;
  font-size: .84rem;
  font-weight: 700;
  color: rgba(234,240,255,.58);
}
.merch-review-stars{
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
  color: rgba(var(--accent-2-rgb), .95);
  font-size: 1rem;
}

.merch-review-bars{
  display: grid;
  gap: 8px;
}
.merch-review-bar-row{
  display: grid;
  grid-template-columns: 42px 1fr 36px;
  gap: 10px;
  align-items: center;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(234,240,255,.62);
}
.merch-review-bar-track{
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.merch-review-bar-fill{
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--accent-2-rgb), .85), rgba(var(--accent-rgb), .75));
}

.merch-review-empty{
  padding: 22px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.14);
  background: rgba(255,255,255,.02);
  text-align: center;
  color: rgba(234,240,255,.58);
  font-weight: 600;
}

.merch-return-list{
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.merch-return-list li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.merch-return-list i{
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), .12);
  color: rgba(var(--accent-rgb), .95);
  font-size: .95rem;
}
.merch-return-list strong{
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 800;
}
.merch-return-list span{
  color: rgba(234,240,255,.68);
  font-size: .88rem;
  line-height: 1.5;
}

.merch-pdetail-option{
  margin-bottom: 18px;
}

.merch-pdetail-label{
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(234,240,255,.52);
  margin-bottom: 8px;
}

.merch-size-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.merch-size-chip{
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.86);
  font-weight: 800;
  font-size: .82rem;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.merch-size-chip:hover{
  border-color: rgba(255,255,255,.24);
  color: #fff;
}
.merch-size-chip.is-active{
  border-color: rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .12);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .14);
}

.merch-qty-control{
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.merch-qty-btn{
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(234,240,255,.86);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.merch-qty-btn:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

.merch-qty-input{
  width: 52px;
  height: 40px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.10);
  border-right: 1px solid rgba(255,255,255,.10);
  background: transparent;
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: .9rem;
  -moz-appearance: textfield;
}
.merch-qty-input::-webkit-outer-spin-button,
.merch-qty-input::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

.merch-pdetail-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.merch-pdetail-cart{
  flex: 1 1 auto;
  min-height: 46px;
  border-radius: 14px;
  font-size: .9rem;
}

.merch-pdetail-icon-btn{
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.88);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.merch-pdetail-icon-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.merch-pdetail-icon-btn.is-active{
  border-color: rgba(255, 105, 135, .55);
  background: rgba(255, 105, 135, .18);
  color: #ffb8c9;
}

.merch-pdetail-facts{
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.merch-pdetail-facts li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .86rem;
}
.merch-pdetail-facts span{
  color: rgba(234,240,255,.52);
  font-weight: 700;
}
.merch-pdetail-facts strong{
  color: rgba(234,240,255,.88);
  font-weight: 800;
}

.merch-related-grid .pcard-grid{
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.merch-related-grid .pcard-grid:hover{
  transform: translateY(-3px);
}

@media (max-width: 575.98px){
  .merch-hero{
    min-height: 0;
  }
  .merch-hero-inner{
    padding: 20px 14px 18px;
    min-height: 0;
  }
  .merch-hero-actions{
    flex-direction: row;
  }
  .merch-hero-actions .btn{
    flex: 1 1 0;
    min-width: 0;
  }
  .merch-hero-tabs-bar{
    padding: 10px;
  }
  .spotlight-media{ height: 150px; }
  .featured-product{ grid-template-columns: 120px 1fr; }
  .featured-media{ height: 120px; }
  .pcard-grid .pcard-media{ height: 175px; }
  .pcard-grid .pcard-title{
    font-size: .9rem;
    min-height: 2.5em;
  }
  .pcard-grid .pcard-body{
    padding: 12px 12px 10px;
  }
  .pcard-foot{
    padding: 0 10px 10px;
  }
  .pcard-add-cart{
    min-height: 36px;
    font-size: .76rem;
    border-radius: 10px;
  }
  .pcard-media-action{
    width: 30px;
    height: 30px;
    font-size: .82rem;
  }
  .merch-pdetail-tab{
    font-size: .78rem;
    padding: 9px 13px;
  }
  .merch-pdetail-tabs-wrap{
    margin-top: 22px;
    padding-top: 18px;
  }
  .merch-profile-head{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .merch-profile-actions{
    flex-wrap: wrap;
  }
}

/* My Profile page */
.merch-profile-panel{
  padding: clamp(18px, 3vw, 28px);
}

.merch-profile-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.merch-profile-title{
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}

.merch-profile-actions{
  display: flex;
  align-items: center;
  gap: 8px;
}

.merch-profile-action,
.merch-profile-share{
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease;
}
.merch-profile-action:hover,
.merch-profile-share:hover{
  transform: translateY(-1px);
  opacity: .92;
}

.merch-profile-action.is-copy{
  background: rgba(47, 157, 244, .18);
  color: #5eb8ff;
  border: 1px solid rgba(47, 157, 244, .28);
}
.merch-profile-action.is-store{
  background: rgba(47, 157, 244, .12);
  color: #7ec8ff;
  border: 1px solid rgba(47, 157, 244, .22);
}

.merch-profile-share{
  border-radius: 50%;
  color: #fff;
  font-size: .92rem;
}
.merch-profile-share.is-facebook{ background: #1877f2; }
.merch-profile-share.is-messenger{ background: #00b2ff; }
.merch-profile-share.is-twitter{ background: #1d9bf0; }
.merch-profile-share.is-whatsapp{ background: #25d366; }

.merch-profile-label{
  display: block;
  margin-bottom: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(234,240,255,.78);
}

.merch-profile-input{
  min-height: 44px;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: .9rem;
}
.merch-profile-input::placeholder{
  color: rgba(234,240,255,.42);
}
.merch-profile-input:focus{
  border-color: rgba(var(--accent-rgb), .42) !important;
  box-shadow: 0 0 0 .2rem rgba(var(--accent-rgb), .16) !important;
  background: rgba(255,255,255,.06) !important;
}

.merch-profile-date-wrap{
  position: relative;
}
.merch-profile-date-wrap .merch-profile-input{
  padding-right: 40px;
}
.merch-profile-date-icon{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(234,240,255,.52);
  pointer-events: none;
  font-size: .95rem;
}

.merch-profile-submit-wrap{
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.merch-profile-submit{
  min-width: 140px;
  padding: 10px 28px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(47, 157, 244, .22);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.merch-profile-submit:hover{
  transform: translateY(-1px);
  background: linear-gradient(135deg, #3aa8ff, #2488e0);
  color: #fff;
  box-shadow: 0 16px 34px rgba(47, 157, 244, .28);
}

.merch-profile-divider{
  height: 1px;
  margin: 28px 0 22px;
  background: rgba(255,255,255,.10);
}

.merch-profile-section-title{
  margin: 0 0 18px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.merch-profile-address-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.merch-profile-add-btn{
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: rgba(234,240,255,.88);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.merch-profile-add-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

.merch-address-list{
  display: grid;
  gap: 12px;
}

.merch-address-card{
  position: relative;
  padding: 16px 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}

.merch-address-card-actions{
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
}

.merch-address-icon{
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: .95rem;
  transition: background-color .16s ease, transform .16s ease;
}
.merch-address-icon.is-edit{
  color: #5eb8ff;
}
.merch-address-icon.is-delete{
  color: #de4e7c;
}
.merch-address-icon:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
}

.merch-address-name{
  margin: 0 80px 6px 0;
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
}

.merch-address-line{
  margin: 0;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(234,240,255,.62);
  line-height: 1.5;
}

.merch-address-modal .modal-content{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(520px 240px at 10% 0%, rgba(var(--accent-2-rgb), .10), transparent 58%),
    rgba(14,23,48,.96);
  color: var(--text);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}

.merch-address-modal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.merch-address-modal .modal-title{
  font-weight: 800;
  color: #fff;
}

/* My Earnings page */
.merch-earnings-panel{
  padding: clamp(18px, 3vw, 28px);
}

.merch-earnings-title{
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}

.merch-earnings-commission{
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: rgba(234,240,255,.88);
}
.merch-earnings-commission strong{
  font-weight: 900;
  color: #fff;
}

.merch-earnings-divider{
  height: 1px;
  margin: 18px 0 20px;
  background: rgba(255,255,255,.10);
}

.merch-earnings-toolbar{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  margin-bottom: 22px;
}

.merch-earnings-filters{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.merch-earnings-dates{
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 36px;
}

.merch-earnings-input{
  min-width: 132px;
  min-height: 40px;
  border-radius: 6px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  font-size: .86rem;
  font-weight: 600;
}
.merch-earnings-input:focus{
  border-color: rgba(var(--accent-rgb), .42) !important;
  box-shadow: 0 0 0 .2rem rgba(var(--accent-rgb), .14) !important;
}

.merch-earnings-dates-sep{
  color: rgba(234,240,255,.45);
  font-weight: 700;
}

.merch-earnings-calendar-icon{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(234,240,255,.52);
  pointer-events: none;
  font-size: .95rem;
}

.merch-earnings-estimate{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(47, 157, 244, .22);
  transition: transform .16s ease, box-shadow .16s ease;
}
.merch-earnings-estimate:hover{
  transform: translateY(-1px);
  color: #fff;
  background: linear-gradient(135deg, #3aa8ff, #2488e0);
  box-shadow: 0 14px 30px rgba(47, 157, 244, .28);
}

.merch-earnings-periods{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.merch-earnings-period{
  min-width: 88px;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease;
}
.merch-earnings-period:hover{
  transform: translateY(-1px);
  opacity: .94;
}
.merch-earnings-period.is-today{
  background: #2f9df4;
}
.merch-earnings-period.is-weekly{
  background: #4b5563;
}
.merch-earnings-period.is-monthly{
  background: #2f7a4f;
}
.merch-earnings-period.is-active{
  box-shadow: 0 0 0 2px rgba(255,255,255,.22), 0 10px 24px rgba(0,0,0,.24);
}

.merch-earnings-grid{
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 576px){
  .merch-earnings-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px){
  .merch-earnings-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.merch-earnings-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 108px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 245, .22);
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}
.merch-earnings-card:hover{
  transform: translateY(-2px);
  border-color: rgba(0, 212, 245, .34);
  background: rgba(255,255,255,.05);
}

.merch-earnings-card-body{
  min-width: 0;
}

.merch-earnings-card-label{
  margin-bottom: 8px;
  font-size: .84rem;
  font-weight: 700;
  color: rgba(234,240,255,.68);
  line-height: 1.3;
}

.merch-earnings-card-value{
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}

.merch-earnings-card-icon{
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.merch-earnings-icon-glow{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: .9;
}
.merch-earnings-card-icon i{
  position: relative;
  z-index: 1;
}

.merch-earnings-card-icon.is-red .merch-earnings-icon-glow{
  background: radial-gradient(circle, rgba(239, 68, 68, .28) 0%, rgba(239, 68, 68, .08) 68%, transparent 100%);
}
.merch-earnings-card-icon.is-red i{ color: #ef4444; }

.merch-earnings-card-icon.is-orange .merch-earnings-icon-glow{
  background: radial-gradient(circle, rgba(249, 115, 22, .30) 0%, rgba(249, 115, 22, .08) 68%, transparent 100%);
}
.merch-earnings-card-icon.is-orange i{ color: #f97316; }

.merch-earnings-card-icon.is-purple .merch-earnings-icon-glow{
  background: radial-gradient(circle, rgba(168, 85, 247, .30) 0%, rgba(168, 85, 247, .08) 68%, transparent 100%);
}
.merch-earnings-card-icon.is-purple i{ color: #a855f7; }

/* Orders Received page */
.merch-received-panel{
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.merch-received-title{
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #fff;
}

.merch-received-divider{
  height: 1px;
  background: rgba(255,255,255,.10);
}

.merch-received-tabs{
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.merch-received-tab{
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 10px 12px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: rgba(234,240,255,.78);
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: color .16s ease;
}
.merch-received-tab:last-child{
  border-right: 0;
}
.merch-received-tab:hover{ color: #fff; }
.merch-received-tab.is-active{
  color: #fff;
  font-weight: 800;
  position: relative;
}
.merch-received-tab.is-active::after{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -1px;
  height: 2px;
  background: #2f9df4;
}

.merch-received-toolbar{
  display: flex;
  justify-content: flex-end;
  padding: 16px 0 12px;
}

.merch-received-search{
  display: flex;
  align-items: stretch;
  max-width: 320px;
  width: 100%;
}

.merch-received-search-input{
  min-height: 40px;
  border-radius: 6px 0 0 6px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-right: 0 !important;
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  font-size: .86rem;
}
.merch-received-search-input:focus{
  box-shadow: none !important;
  border-color: rgba(47, 157, 244, .45) !important;
}

.merch-received-search-btn{
  width: 44px;
  padding: 0;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: #2f9df4;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.merch-received-search-btn:hover{
  background: #2488e0;
  color: #fff;
}

.merch-received-table-wrap{
  min-width: 0;
  width: 100%;
}

.merch-received-table-card{
  border: 1px solid rgba(0, 212, 245, .14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.merch-received-table-card--empty .merch-received-table{
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.merch-received-table{
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.merch-received-table--received{
  min-width: 760px;
}

.merch-received-table--delivered,
.merch-received-table--cancelled,
.merch-received-table--returns{
  min-width: 620px;
}

.merch-received-col-toggle{ width: 44px; }
.merch-received-col-image{ width: 72px; }
.merch-received-col-name{ width: 24%; }
.merch-received-col-date{ width: 92px; }
.merch-received-col-qty{ width: 64px; }
.merch-received-col-status{ width: 118px; }
.merch-received-col-action{ width: 84px; }

.merch-received-table thead th{
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: rgba(234,240,255,.68);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: left;
  white-space: normal;
  line-height: 1.3;
  word-break: break-word;
  hyphens: auto;
}
.merch-received-table thead th:first-child{
  text-align: center;
}
.merch-received-table--received thead th:nth-child(5),
.merch-received-table--received thead th:nth-child(6),
.merch-received-table--received thead th:nth-child(7),
.merch-received-table--received thead th:nth-child(8),
.merch-received-table thead th:nth-child(2){
  text-align: center;
}
.merch-received-table--delivered thead th:nth-child(5),
.merch-received-table--delivered thead th:nth-child(6){
  text-align: center;
}
.merch-received-table:not(.merch-received-table--received) thead th:last-child{
  text-align: center;
}

.merch-received-row td{
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: middle;
  color: rgba(234,240,255,.82);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.35;
  background: transparent;
  transition: background-color .16s ease;
}
.merch-received-row:hover td{
  background: rgba(255,255,255,.025);
}
.merch-received-row.is-expanded td{
  background: rgba(47, 157, 244, .06);
  border-bottom-color: transparent;
}
.merch-received-row.is-expanded td:first-child{
  box-shadow: inset 3px 0 0 #2f9df4;
}
.merch-received-row.is-expanded:hover td{
  background: rgba(47, 157, 244, .09);
}

.merch-received-cell-toggle{
  text-align: center;
}

.merch-received-toggle{
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(47, 157, 244, .22);
  border-radius: 8px;
  background: rgba(47, 157, 244, .08);
  color: #5eb8ff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.merch-received-row.is-expanded .merch-received-toggle{
  background: rgba(47, 157, 244, .18);
  border-color: rgba(47, 157, 244, .42);
  color: #fff;
}
.merch-received-toggle:hover{
  background: rgba(47, 157, 244, .16);
  transform: translateY(-1px);
}

.merch-received-cell-image{
  text-align: center;
}

.merch-received-thumb-wrap{
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.merch-received-thumb{
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.merch-received-cell-name{
  font-weight: 700;
  color: #fff;
  padding-right: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.merch-received-cell-date,
.merch-received-cell-qty,
.merch-received-cell-status,
.merch-received-cell-action{
  text-align: center;
}

.merch-received-cell-qty{
  font-weight: 800;
  color: #fff;
}

.merch-received-pack{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
.merch-received-pack.is-packed{
  background: rgba(34, 197, 94, .18);
  color: #dcfce7;
  border: 1px solid rgba(34, 197, 94, .32);
}
.merch-received-pack.is-pending{
  background: rgba(249, 115, 22, .16);
  color: #ffedd5;
  border: 1px solid rgba(249, 115, 22, .30);
}

.merch-received-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  max-width: 72px;
  min-height: 28px;
  padding: 4px 6px;
  border: 1px solid rgba(47, 157, 244, .24);
  border-radius: 6px;
  background: rgba(47, 157, 244, .08);
  color: #5eb8ff;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.merch-received-link:hover{
  background: rgba(47, 157, 244, .16);
  border-color: rgba(47, 157, 244, .38);
  color: #fff;
  transform: translateY(-1px);
}

.merch-received-details-row{
  display: none;
}
.merch-received-details-row.is-open{
  display: table-row;
}

.merch-received-details-row td{
  padding: 0 !important;
  background: rgba(0,0,0,.14);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: none;
}

.merch-received-details{
  padding: 20px 22px 22px;
}

.merch-received-details-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
  table-layout: fixed;
}
.merch-received-details-table th,
.merch-received-details-table td{
  padding: 16px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .86rem;
  vertical-align: middle;
  line-height: 1.55;
}
.merch-received-details-table tr:nth-child(even) th{
  background: rgba(255,255,255,.04);
}
.merch-received-details-table tr:nth-child(even) td{
  background: rgba(255,255,255,.02);
}
.merch-received-details-table tr:nth-child(odd) th{
  background: rgba(255,255,255,.03);
}
.merch-received-details-table tr:nth-child(odd) td{
  background: transparent;
}
.merch-received-details-table th{
  width: 210px;
  padding-left: 22px;
  color: rgba(234,240,255,.62);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.merch-received-details-table td{
  padding-right: 22px;
  color: rgba(234,240,255,.92);
  font-weight: 600;
  word-break: break-word;
}
.merch-received-details-table tr:last-child th,
.merch-received-details-table tr:last-child td{
  border-bottom: 0;
  padding-top: 18px;
  padding-bottom: 18px;
}
.merch-received-details-table tr:last-child td strong{
  color: #fff;
  font-size: .95rem;
}
.merch-received-price-main{
  display: block;
  line-height: 1.5;
}
.merch-received-sub{
  display: block;
  margin-top: 8px;
  font-size: .8rem;
  line-height: 1.5;
  color: rgba(234,240,255,.52);
  font-weight: 600;
}

.merch-received-table-empty{
  padding: 56px 16px 64px;
  background: rgba(255,255,255,.015);
}

.merch-received-empty{
  text-align: center;
  color: rgba(234,240,255,.42);
}
.merch-received-empty i{
  display: block;
  font-size: 2.4rem;
  margin-bottom: 10px;
}
.merch-received-empty p{
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
}

.merch-received-pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.merch-received-page,
.merch-received-page-nav{
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.78);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.merch-received-page:hover,
.merch-received-page-nav:hover:not(.is-disabled):not(:disabled){
  background: rgba(255,255,255,.07);
  color: #fff;
}
.merch-received-page.is-active{
  background: #2f9df4;
  border-color: #2f9df4;
  color: #fff;
}
.merch-received-page-nav.is-disabled,
.merch-received-page-nav:disabled{
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 767.98px){
  .merch-received-toolbar{
    justify-content: stretch;
  }
  .merch-received-search{
    max-width: none;
  }
  .merch-received-tab{
    flex: 1 1 50%;
    font-size: .78rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .merch-received-table--received{
    min-width: 680px;
  }
  .merch-received-details{
    padding: 16px 14px 18px;
  }
  .merch-received-details-table th,
  .merch-received-details-table td{
    padding: 14px 16px;
  }
  .merch-received-details-table th{
    width: 132px;
    padding-left: 16px;
    white-space: normal;
  }
  .merch-received-details-table td{
    padding-right: 16px;
  }
}

/* My Orders page */
.merch-orders-panel{
  padding: clamp(18px, 3vw, 28px);
}

.merch-orders-title{
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}

.merch-orders-divider{
  height: 1px;
  margin-bottom: 0;
  background: rgba(255,255,255,.10);
}

.merch-orders-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.merch-orders-tab{
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 12px 12px;
  border: 0;
  background: transparent;
  color: rgba(234,240,255,.78);
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: color .16s ease;
}
.merch-orders-tab:hover{
  color: #fff;
}
.merch-orders-tab.is-active{
  color: #fff;
  font-weight: 800;
}
.merch-orders-tab.is-active::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: #2f9df4;
}
.merch-orders-tab:focus-visible{
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(var(--accent-rgb), .35);
}

.merch-orders-content{
  min-height: 360px;
  padding: 28px 12px 24px;
}

.merch-orders-empty{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  padding: 24px 16px;
}

.merch-orders-empty-art{
  position: relative;
  width: 148px;
  height: 118px;
  margin-bottom: 18px;
}

.merch-orders-empty-bubble{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 28px;
  border-radius: 14px;
  border: 2px solid rgba(234,240,255,.18);
  background: rgba(255,255,255,.03);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.merch-orders-empty-bubble::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid rgba(234,240,255,.18);
  border-bottom: 2px solid rgba(234,240,255,.18);
  background: rgba(255,255,255,.03);
}
.merch-orders-empty-bubble span{
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(234,240,255,.28);
}

.merch-orders-empty-box{
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 108px;
  height: 72px;
  border: 2px solid rgba(234,240,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.02);
}

.merch-orders-empty-flap{
  position: absolute;
  left: -2px;
  right: -2px;
  top: -18px;
  height: 24px;
  border: 2px solid rgba(234,240,255,.18);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(255,255,255,.02);
  transform: perspective(120px) rotateX(28deg);
  transform-origin: bottom center;
}

.merch-orders-empty-doc{
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 42px;
  height: 34px;
  border-radius: 4px;
  border: 2px solid rgba(234,240,255,.16);
  background: rgba(255,255,255,.04);
}
.merch-orders-empty-doc::before,
.merch-orders-empty-doc::after{
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(234,240,255,.14);
}
.merch-orders-empty-doc::before{ top: 10px; }
.merch-orders-empty-doc::after{ top: 18px; width: 60%; }

.merch-orders-empty-text{
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(234,240,255,.48);
}

.merch-order-list{
  display: grid;
  gap: 14px;
}

.merch-order-card{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.merch-order-thumb{
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.10);
}
.merch-order-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.merch-order-title{
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
}
.merch-order-status{
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: capitalize;
}
.merch-order-status.is-open{
  background: rgba(47, 157, 244, .14);
  color: #8ecfff;
}
.merch-order-status.is-delivered{
  background: rgba(34, 197, 94, .14);
  color: #bbf7d0;
}
.merch-order-status.is-cancelled{
  background: rgba(239, 68, 68, .14);
  color: #fecaca;
}
.merch-order-meta{
  margin: 0 0 10px;
  font-size: .82rem;
  color: rgba(234,240,255,.55);
}
.merch-order-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.merch-order-price{
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}

@media (max-width: 575.98px){
  .merch-orders-tab{
    flex: 1 1 50%;
    font-size: .8rem;
    padding: 12px 8px 10px;
  }
  .merch-orders-tab.is-active::after{
    left: 8px;
    right: 8px;
  }
  .merch-order-card{
    grid-template-columns: 60px 1fr;
  }
  .merch-order-thumb{
    width: 60px;
    height: 60px;
  }
}

/* Notifications page */
.merch-notify-panel{
  padding: clamp(18px, 3vw, 28px);
}

.merch-notify-eyebrow{
  margin: 0 0 6px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(234,240,255,.52);
}

.merch-notify-section-title{
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.merch-notify-card{
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
}

.merch-notify-list{
  margin: 0;
}

.merch-notify-item{
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color .16s ease;
}
.merch-notify-item:last-child{
  border-bottom: 0;
}
.merch-notify-item:hover{
  background: rgba(255,255,255,.03);
}
.merch-notify-item.is-read{
  opacity: .72;
}
.merch-notify-item.is-read .merch-notify-text{
  color: rgba(234,240,255,.58);
}

.merch-notify-thumb{
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.merch-notify-content{
  min-width: 0;
  padding-top: 2px;
}

.merch-notify-text{
  margin: 0 0 8px;
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(234,240,255,.78);
}

.merch-notify-time{
  display: block;
  font-size: .84rem;
  font-weight: 800;
  color: #fff;
  font-style: normal;
}

.merch-notify-menu{
  margin-top: 2px;
}

.merch-notify-menu-btn{
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(234,240,255,.62);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.merch-notify-menu-btn:hover,
.merch-notify-menu-btn.show{
  background: rgba(255,255,255,.06);
  color: #fff;
}
.merch-notify-menu-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(var(--accent-rgb), .22);
}

.merch-notify-more-wrap{
  display: flex;
  justify-content: center;
  padding: 18px 16px 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.merch-notify-more{
  min-width: 148px;
  padding: 9px 22px;
  border: 1px solid rgba(47, 157, 244, .55);
  border-radius: 6px;
  background: transparent;
  color: #5eb8ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.merch-notify-more:hover{
  background: rgba(47, 157, 244, .10);
  border-color: rgba(47, 157, 244, .75);
  color: #8ecfff;
  transform: translateY(-1px);
}

@media (max-width: 575.98px){
  .merch-notify-item{
    grid-template-columns: 48px 1fr auto;
    gap: 10px;
    padding: 14px 12px;
  }
  .merch-notify-thumb{
    width: 48px;
    height: 48px;
  }
  .merch-notify-text{
    font-size: .86rem;
  }
}

@media (max-width: 575.98px){
  .merch-earnings-toolbar{
    flex-direction: column;
    align-items: stretch;
  }
  .merch-earnings-filters{
    width: 100%;
  }
  .merch-earnings-dates{
    width: 100%;
    flex-wrap: wrap;
    padding-right: 0;
  }
  .merch-earnings-input{
    flex: 1 1 calc(50% - 20px);
    min-width: 0;
  }
  .merch-earnings-calendar-icon{
    position: static;
    transform: none;
    margin-left: auto;
  }
  .merch-earnings-estimate{
    width: 100%;
    justify-content: center;
  }
  .merch-earnings-periods{
    width: 100%;
  }
  .merch-earnings-period{
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Product Management */
.merch-pm-panel,
.merch-add-panel{
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.merch-pm-head,
.merch-add-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.merch-pm-title,
.merch-add-title{
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #fff;
}

.merch-pm-create{
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5eb8ff;
  text-decoration: none;
  transition: color .16s ease;
}
.merch-pm-create:hover{
  color: #9ed4ff;
}

.merch-add-back{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: rgba(234,240,255,.62);
  text-decoration: none;
}
.merch-add-back:hover{ color: #fff; }

.merch-pm-table-wrap{
  min-width: 0;
  width: 100%;
}

.merch-pm-table-card{
  border: 1px solid rgba(0, 212, 245, .14);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.merch-pm-table{
  width: 100%;
  min-width: 920px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.merch-pm-table thead th{
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: rgba(234,240,255,.68);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.merch-pm-table thead th:nth-child(1),
.merch-pm-table thead th:nth-child(7),
.merch-pm-table thead th:nth-child(8){
  text-align: center;
}

.merch-pm-row td{
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: middle;
  color: rgba(234,240,255,.84);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.4;
}
.merch-pm-row:nth-child(even) td{
  background: rgba(255,255,255,.02);
}
.merch-pm-row:hover td{
  background: rgba(255,255,255,.04);
}
.merch-pm-row:last-child td{
  border-bottom: 0;
}

.merch-pm-col-thumb{ width: 72px; }
.merch-pm-col-name{ width: 28%; }
.merch-pm-col-price{ width: 10%; }
.merch-pm-col-special{ width: 11%; }
.merch-pm-col-brand{ width: 16%; }
.merch-pm-col-qty{ width: 9%; }
.merch-pm-col-active{ width: 8%; }
.merch-pm-col-actions{ width: 120px; }

.merch-pm-cell-thumb{
  text-align: center;
}
.merch-pm-thumb{
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.10);
  display: block;
  margin: 0 auto;
}

.merch-pm-cell-name{
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

.merch-pm-cell-active{
  text-align: center;
}
.merch-pm-active{
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .18);
  color: #86efac;
  font-size: 1rem;
}
.merch-pm-active.is-inactive{
  background: rgba(255,255,255,.06);
  color: rgba(234,240,255,.35);
}

.merch-pm-cell-actions{
  text-align: center;
}
.merch-pm-actions{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.merch-pm-action{
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.82);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.merch-pm-action:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
}
.merch-pm-action.is-edit:hover{
  border-color: rgba(47, 157, 244, .35);
  color: #5eb8ff;
}
.merch-pm-action.is-delete{
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
.merch-pm-action.is-delete:hover{
  background: #ef4444;
  border-color: #ef4444;
}
.merch-pm-action.is-assign:hover{
  border-color: rgba(168, 85, 247, .35);
  color: #c084fc;
}
a.merch-pm-action{
  text-decoration: none;
}

/* Add Product */
.merch-add-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 0;
}

.merch-add-tab{
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 10px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.62);
  font-size: .76rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}
.merch-add-tab:last-child{ border-right: 0; }
.merch-add-tab:hover{ color: #fff; }
.merch-add-tab.is-active{
  background: rgba(255,255,255,.07);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 -2px 0 #2f9df4;
}

.merch-add-card{
  border: 1px solid rgba(255,255,255,.10);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: rgba(255,255,255,.025);
  padding: clamp(18px, 3vw, 24px);
}

.merch-add-pane[hidden]{ display: none !important; }

.merch-add-section-title{
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.merch-add-section-title--sub{
  margin-top: 24px;
}

.merch-add-label{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: .86rem;
  font-weight: 700;
  color: rgba(234,240,255,.78);
}
.merch-add-label-row{
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.merch-add-label-actions{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.merch-add-required{
  color: #f87171;
}

.merch-add-input{
  min-height: 44px;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: .88rem;
}
.merch-add-input::placeholder{
  color: rgba(234,240,255,.38);
}
.merch-add-input:focus{
  border-color: rgba(47, 157, 244, .42) !important;
  box-shadow: 0 0 0 .2rem rgba(47, 157, 244, .14) !important;
  background: rgba(255,255,255,.06) !important;
}

.merch-add-textarea{
  min-height: 120px;
  resize: vertical;
}

.merch-add-link{
  padding: 0;
  border: 0;
  background: transparent;
  color: #5eb8ff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.merch-add-link:hover{ color: #9ed4ff; }

.merch-add-info{
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5eb8ff;
  font-size: .9rem;
  cursor: pointer;
}

.merch-add-upload{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  max-width: 160px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.55);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.merch-add-upload:hover{
  border-color: rgba(47, 157, 244, .35);
  background: rgba(47, 157, 244, .06);
  color: #fff;
}
.merch-add-upload i{
  font-size: 1.2rem;
}

.merch-add-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(234,240,255,.78);
  cursor: pointer;
}
.merch-add-check input{
  width: 18px;
  height: 18px;
  accent-color: #2f9df4;
}

.merch-add-actions{
  margin-top: 24px;
}
.merch-add-actions--split{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.merch-add-btn-primary{
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(47, 157, 244, .2);
  transition: transform .16s ease, box-shadow .16s ease;
}
.merch-add-btn-primary:hover{
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 14px 28px rgba(47, 157, 244, .26);
}

.merch-add-btn-ghost{
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: transparent;
  color: rgba(234,240,255,.78);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.merch-add-btn-ghost:hover{
  background: rgba(255,255,255,.05);
  color: #fff;
}

.merch-add-spec-block{
  margin-top: 22px;
}
.merch-add-spec-title{
  margin: 0 0 12px;
  font-size: .95rem;
  font-weight: 800;
  color: #fff;
}
.merch-add-spec-row{
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}
.merch-add-spec-remove{
  width: 36px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.7);
  cursor: pointer;
}
.merch-add-spec-remove:hover{
  background: rgba(239, 68, 68, .12);
  color: #fca5a5;
}

.merch-add-muted{
  margin: 0 0 16px;
  color: rgba(234,240,255,.52);
  font-size: .88rem;
}

.merch-add-variant-list{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  min-height: 120px;
  padding: 16px;
  margin-bottom: 8px;
}
.merch-add-variant-empty{
  text-align: center;
  color: rgba(234,240,255,.45);
  padding: 24px 12px;
}
.merch-add-variant-empty i{
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
}
.merch-add-variant-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  margin-bottom: 10px;
}
.merch-add-variant-item:last-child{ margin-bottom: 0; }
.merch-add-variant-item strong{
  color: #fff;
  font-size: .9rem;
}
.merch-add-variant-item span{
  color: rgba(234,240,255,.58);
  font-size: .82rem;
}

.merch-add-value-row{
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.merch-add-value-add{
  width: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}
.merch-add-value-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.merch-add-value-tag{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 157, 244, .14);
  border: 1px solid rgba(47, 157, 244, .24);
  color: #9ed4ff;
  font-size: .78rem;
  font-weight: 700;
}

.merch-add-category-search{
  position: relative;
}
.merch-add-category-search i{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(234,240,255,.45);
  pointer-events: none;
}
.merch-add-category-search .merch-add-input{
  padding-right: 40px;
}
.merch-add-category-list{
  margin-top: 10px;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(0,0,0,.12);
  padding: 8px;
}
.merch-add-category-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(234,240,255,.78);
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
}
.merch-add-category-item:hover{
  background: rgba(255,255,255,.04);
}
.merch-add-category-item input{
  accent-color: #2f9df4;
}

/* Product Management modals */
.merch-pm-modal .modal-content{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #121a2b;
  color: rgba(234,240,255,.88);
}
.merch-pm-modal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding: 16px 20px;
}
.merch-pm-modal .modal-title{
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}
.merch-pm-modal .btn-close{
  filter: invert(1) grayscale(1);
  opacity: .7;
}
.merch-pm-modal .modal-body{
  padding: 18px 20px;
}
.merch-pm-modal .modal-footer{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 14px 20px;
}

.merch-pm-modal-body p{
  margin-bottom: 12px;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(234,240,255,.78);
}

.merch-pm-breakdown{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  padding: 14px;
}
.merch-pm-breakdown h6{
  margin: 0 0 12px;
  font-size: .88rem;
  font-weight: 800;
  color: #fff;
}
.merch-pm-breakdown-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: .86rem;
  color: rgba(234,240,255,.78);
}
.merch-pm-breakdown-row.is-total{
  font-weight: 800;
  color: #fff;
}
.merch-pm-breakdown-divider{
  height: 1px;
  margin: 8px 0;
  border-top: 1px dashed rgba(255,255,255,.18);
}

/* Promoter assignment pages */
.merch-promoter-panel{
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.merch-promoter-page-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.merch-promoter-page-title{
  margin: 10px 0 6px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #fff;
}
.merch-promoter-product{
  margin: 0;
  font-size: .86rem;
  font-weight: 600;
  color: rgba(234,240,255,.52);
}
.merch-promoter-add-btn{
  padding: 0;
  border: 0;
  background: transparent;
  color: #5eb8ff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.merch-promoter-add-btn:hover{
  color: #9ed4ff;
}

.merch-promoter-tabs{
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 16px;
}
.merch-promoter-tab{
  padding: 14px 18px 12px;
  border: 0;
  background: transparent;
  color: rgba(234,240,255,.62);
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: color .16s ease;
}
.merch-promoter-tab:hover{ color: #fff; }
.merch-promoter-tab.is-active{
  color: #fff;
  font-weight: 800;
}
.merch-promoter-tab.is-active::after{
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: #2f9df4;
}

.merch-promoter-toolbar{
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}
.merch-promoter-search{
  display: flex;
  align-items: stretch;
  max-width: 320px;
  width: 100%;
}
.merch-promoter-search-input{
  min-height: 40px;
  border-radius: 8px 0 0 8px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-right: 0 !important;
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  font-size: .84rem;
}
.merch-promoter-search-input:focus{
  box-shadow: none !important;
  border-color: rgba(47, 157, 244, .45) !important;
}
.merch-promoter-search-btn{
  width: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.7);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.merch-promoter-search-btn:hover{
  background: rgba(255,255,255,.07);
  color: #fff;
}

.merch-promoter-table-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255,255,255,.02);
}
.merch-promoter-table{
  width: 100%;
  min-width: 480px;
  margin: 0;
  border-collapse: collapse;
}
.merch-promoter-table thead th{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: rgba(234,240,255,.65);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}
.merch-promoter-table tbody td{
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: center;
  vertical-align: middle;
  color: rgba(234,240,255,.88);
  font-size: .88rem;
  font-weight: 700;
}
.merch-promoter-table tbody tr:nth-child(even) td{
  background: rgba(255,255,255,.025);
}
.merch-promoter-table tbody tr:last-child td{
  border-bottom: 0;
}
.merch-promoter-table .merch-promoter-check{
  width: 18px;
  height: 18px;
  accent-color: #2f9df4;
  cursor: pointer;
}
.merch-promoter-col-select{ width: 90px; }
.merch-promoter-col-name{ width: 34%; }
.merch-promoter-col-email{ width: auto; }
.merch-promoter-col-action{ width: 220px; }

.merch-promoter-row-actions{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.merch-promoter-resend{
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.merch-promoter-resend:hover{
  color: #fff;
  filter: brightness(1.06);
}
.merch-promoter-delete{
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #dc2626;
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.merch-promoter-delete:hover{
  background: #ef4444;
}

.merch-promoter-page-footer{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.merch-promoter-page-footer.is-hidden{
  display: none;
}

.merch-add-promoter-panel .merch-add-back{
  display: inline-flex;
  margin-bottom: 8px;
}
.merch-add-promoter-form{
  max-width: 520px;
  margin-top: 8px;
}
.merch-add-promoter-page-footer{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.merch-add-promoter-close{
  color: rgba(234,240,255,.78);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.merch-add-promoter-close:hover{
  color: #fff;
}

.merch-promoter-action-btn{
  min-width: 120px;
  padding: 11px 22px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.merch-promoter-action-btn:hover{
  color: #fff;
  filter: brightness(1.06);
}

.merch-promoter-empty{
  padding: 40px 16px;
  text-align: center;
  color: rgba(234,240,255,.45);
  font-size: .9rem;
  font-weight: 600;
}

@media (max-width: 767.98px){
  .merch-promoter-page-head{
    flex-direction: column;
    align-items: flex-start;
  }
  .merch-promoter-toolbar{
    justify-content: stretch;
  }
  .merch-promoter-search{
    max-width: none;
  }
  .merch-promoter-tab{
    flex: 1 1 0;
    padding-inline: 10px;
    font-size: .78rem;
  }
  .merch-add-promoter-page-footer .merch-promoter-action-btn{
    width: 100%;
  }
}

@media (max-width: 767.98px){
  .merch-pm-head,
  .merch-add-head{
    flex-direction: column;
    align-items: flex-start;
  }
  .merch-add-tab{
    flex: 1 1 50%;
    font-size: .7rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .merch-add-spec-row{
    grid-template-columns: 1fr;
  }
  .merch-add-actions--split .merch-add-btn-primary,
  .merch-add-actions--split .merch-add-btn-ghost{
    width: 100%;
  }
}

/* Promo Codes */
.merch-promo-panel{
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.merch-promo-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.merch-promo-title{
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #fff;
}

.merch-promo-add{
  padding: 0;
  border: 0;
  background: transparent;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5eb8ff;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.merch-promo-add:hover{
  color: #9ed4ff;
}

.merch-promo-table-wrap{
  min-width: 0;
  width: 100%;
}

.merch-promo-table-card{
  border: 1px solid rgba(0, 212, 245, .14);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.merch-promo-table-card--empty{
  padding: 48px 16px;
}

.merch-promo-empty{
  text-align: center;
  color: rgba(234,240,255,.45);
  font-size: .9rem;
  font-weight: 600;
}

.merch-promo-table{
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.merch-promo-col-code{ width: 18%; }
.merch-promo-col-type{ width: 14%; }
.merch-promo-col-discount{ width: 16%; }
.merch-promo-col-min{ width: 14%; }
.merch-promo-col-expiry{ width: 16%; }
.merch-promo-col-actions{ width: 110px; }

.merch-promo-table thead th{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: rgba(234,240,255,.68);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.merch-promo-row td{
  padding: 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: middle;
  text-align: center;
  color: rgba(234,240,255,.86);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.4;
}
.merch-promo-row:nth-child(even) td{
  background: rgba(255,255,255,.025);
}
.merch-promo-row:hover td{
  background: rgba(255,255,255,.04);
}
.merch-promo-row:last-child td{
  border-bottom: 0;
}

.merch-promo-cell-code{
  font-weight: 800;
  color: #fff;
  letter-spacing: .04em;
}

.merch-promo-cell-actions{
  text-align: center;
}

.merch-promo-actions{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.merch-promo-action{
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.82);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.merch-promo-action:hover{
  color: #fff;
}
.merch-promo-action.is-edit{
  background: rgba(47, 157, 244, .12);
  border-color: rgba(47, 157, 244, .28);
  color: #5eb8ff;
}
.merch-promo-action.is-edit:hover{
  background: rgba(47, 157, 244, .2);
  color: #fff;
}
.merch-promo-action.is-delete{
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
.merch-promo-action.is-delete:hover{
  background: #ef4444;
  border-color: #ef4444;
}

.merch-promo-pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.merch-promo-page,
.merch-promo-page-nav{
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.78);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.merch-promo-page:hover,
.merch-promo-page-nav:hover:not(.is-disabled):not(:disabled){
  background: rgba(255,255,255,.07);
  color: #fff;
}
.merch-promo-page.is-active{
  background: transparent;
  border-color: #2f9df4;
  color: #fff;
}
.merch-promo-page-nav.is-disabled,
.merch-promo-page-nav:disabled{
  opacity: .45;
  cursor: not-allowed;
}

.merch-add-promo-panel{
  max-width: 640px;
}

/* Add Promo Code modal */
.merch-promo-modal .modal-content{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #121a2b;
  color: rgba(234,240,255,.88);
}
.merch-promo-modal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding: 16px 20px;
}
.merch-promo-modal .modal-body{
  padding: 20px;
}
.merch-promo-modal .modal-footer{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 14px 20px;
}
.merch-promo-modal .btn-close{
  filter: invert(1) grayscale(1);
  opacity: .7;
}

.merch-add-promo-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.merch-add-promo-title{
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.merch-add-promo-close-icon{
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: rgba(234,240,255,.62);
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.merch-add-promo-close-icon:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

.merch-add-promo-divider{
  height: 1px;
  margin: 16px 0 22px;
  background: rgba(255,255,255,.10);
}

.merch-add-promo-form{
  margin-top: 0;
  max-width: none;
}

.merch-add-promo-field{
  margin-bottom: 22px;
}
.merch-add-promo-field:last-of-type{
  margin-bottom: 0;
}

.merch-add-promo-label{
  display: block;
  margin-bottom: 10px;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
}

.merch-add-promo-input{
  min-height: 46px;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.05) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: .9rem;
}
.merch-add-promo-input::placeholder{
  color: rgba(234,240,255,.38);
  font-weight: 500;
}
.merch-add-promo-input:focus{
  border-color: rgba(47, 157, 244, .42) !important;
  box-shadow: 0 0 0 .2rem rgba(47, 157, 244, .14) !important;
  background: rgba(255,255,255,.07) !important;
}

.merch-add-promo-radios{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.merch-add-promo-radio{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(234,240,255,.82);
  cursor: pointer;
}
.merch-add-promo-radio input{
  width: 18px;
  height: 18px;
  accent-color: #2f9df4;
  cursor: pointer;
}

.merch-add-promo-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: .9rem;
  font-weight: 700;
  color: rgba(234,240,255,.82);
  cursor: pointer;
}
.merch-add-promo-check input{
  width: 18px;
  height: 18px;
  accent-color: #2f9df4;
}

.merch-add-promo-min-wrap{
  margin-top: 12px;
}

.merch-add-promo-date-wrap{
  position: relative;
}
.merch-add-promo-date-wrap .merch-add-promo-input{
  padding-right: 12px;
}
.merch-add-promo-date-wrap .merch-add-promo-input::-webkit-calendar-picker-indicator{
  cursor: pointer;
  opacity: .75;
  filter: invert(1);
}

.merch-add-promo-footer{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 0;
  padding-top: 4px;
  flex-wrap: wrap;
}

.merch-add-promo-close{
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(234,240,255,.82);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
}
.merch-add-promo-close:hover{
  color: #fff;
}

.merch-add-promo-submit{
  min-width: 160px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.merch-add-promo-submit:hover{
  transform: translateY(-1px);
  background: #f1f5f9;
  color: #0f172a;
  box-shadow: 0 10px 24px rgba(255,255,255,.12);
}

@media (max-width: 767.98px){
  .merch-add-promo-footer{
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .merch-add-promo-close{
    text-align: center;
  }
  .merch-add-promo-submit{
    width: 100%;
  }
}

/* Wishlist page */
.merch-wishlist-panel{
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.merch-wishlist-title{
  margin: 0 0 22px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #fff;
}

.merch-wishlist-list{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  overflow: hidden;
}

.merch-wishlist-item{
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 16px 20px;
  align-items: start;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.merch-wishlist-item:last-child{
  border-bottom: 0;
}

.merch-wishlist-thumb-wrap{
  flex-shrink: 0;
  display: block;
  width: 88px;
  height: 88px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
  text-decoration: none;
  line-height: 0;
}
.merch-wishlist-thumb{
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: rgba(255,255,255,.06);
}

.merch-wishlist-body{
  min-width: 0;
  padding-top: 2px;
}

.merch-wishlist-name{
  margin: 0 0 6px;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.35;
}
.merch-wishlist-name a{
  color: #fff;
  text-decoration: none;
}
.merch-wishlist-name a:hover{
  color: #9ed4ff;
}

.merch-wishlist-vendor{
  margin: 0 0 14px;
  font-size: .86rem;
  font-weight: 600;
  color: rgba(234,240,255,.62);
}
.merch-wishlist-vendor a{
  color: #5eb8ff;
  text-decoration: none;
}
.merch-wishlist-vendor a:hover{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.merch-wishlist-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.merch-wishlist-cart{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(47, 157, 244, .35);
  border-radius: 8px;
  background: rgba(47, 157, 244, .08);
  color: #5eb8ff;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.merch-wishlist-cart:hover{
  background: rgba(47, 157, 244, .16);
  color: #fff;
}

.merch-wishlist-remove{
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.72);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.merch-wishlist-remove:hover{
  background: rgba(255,255,255,.07);
  color: #fff;
}

.merch-wishlist-date{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  padding-top: 4px;
  color: rgba(234,240,255,.55);
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
}
.merch-wishlist-date i{
  font-size: .95rem;
}

.merch-wishlist-empty{
  padding: 56px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  color: rgba(234,240,255,.45);
}
.merch-wishlist-empty i{
  display: block;
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.merch-wishlist-empty p{
  margin: 0 0 14px;
  font-size: .95rem;
  font-weight: 600;
}
.merch-wishlist-shop{
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.merch-wishlist-shop:hover{
  color: #fff;
  filter: brightness(1.06);
}

@media (max-width: 767.98px){
  .merch-wishlist-item{
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      "thumb body"
      "date date";
    gap: 14px 16px;
  }
  .merch-wishlist-thumb-wrap{
    grid-area: thumb;
    width: 80px;
    height: 80px;
  }
  .merch-wishlist-body{ grid-area: body; }
  .merch-wishlist-date{
    grid-area: date;
    justify-content: flex-end;
    padding-top: 0;
  }
}

/* Promoter Earning page */
.merch-promo-earn-panel{
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.merch-promo-earn-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.merch-promo-earn-title{
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: #fff;
}

.merch-promo-earn-wallet{
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(47, 157, 244, .22);
  transition: transform .16s ease, box-shadow .16s ease;
}
.merch-promo-earn-wallet:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 157, 244, .28);
}

.merch-promo-earn-summary{
  margin: 20px 0 22px;
}

.merch-promo-earn-summary-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px){
  .merch-promo-earn-summary-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.merch-promo-earn-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 212, 245, .18);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
}

.merch-promo-earn-card-label{
  margin-bottom: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(234,240,255,.62);
  line-height: 1.35;
}

.merch-promo-earn-card-value{
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.merch-promo-earn-card-icon{
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.merch-promo-earn-table-wrap{
  min-width: 0;
  width: 100%;
}

.merch-promo-earn-table-card{
  border: 1px solid rgba(0, 212, 245, .14);
  border-radius: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255,255,255,.02);
}

.merch-promo-earn-table{
  width: 100%;
  min-width: 640px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.merch-promo-earn-col-image{ width: 88px; }
.merch-promo-earn-col-name{ width: auto; }
.merch-promo-earn-col-orders{ width: 100px; }
.merch-promo-earn-col-earning{ width: 160px; }

.merch-promo-earn-table thead th{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(47, 157, 244, .12);
  color: rgba(234,240,255,.78);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}
.merch-promo-earn-table thead th:nth-child(2){
  text-align: left;
}

.merch-promo-earn-row td{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: middle;
  color: rgba(234,240,255,.88);
  font-size: .88rem;
  font-weight: 700;
  text-align: center;
}
.merch-promo-earn-row:nth-child(even) td{
  background: rgba(255,255,255,.02);
}
.merch-promo-earn-row:last-child td{
  border-bottom: 0;
}

.merch-promo-earn-cell-image{
  text-align: center;
}
.merch-promo-earn-thumb-wrap{
  display: inline-flex;
  width: 52px;
  height: 52px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
.merch-promo-earn-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  display: block;
}

.merch-promo-earn-cell-name{
  text-align: center;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

.merch-promo-earn-cell-orders,
.merch-promo-earn-cell-earning{
  font-weight: 800;
  color: #fff;
}

/* Wallet modal */
.merch-promo-wallet-modal .modal-content{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: #121a2b;
  color: rgba(234,240,255,.88);
}
.merch-promo-wallet-modal .modal-header,
.merch-promo-wallet-modal .modal-footer{
  border-color: rgba(255,255,255,.10);
}
.merch-promo-wallet-modal .btn-close{
  filter: invert(1) grayscale(1);
  opacity: .7;
}

.merch-promo-wallet-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
}
.merch-promo-wallet-head .modal-title{
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.merch-promo-wallet-balance{
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(234,240,255,.78);
}

.merch-promo-wallet-modal .modal-body{
  padding: 20px;
}

.merch-promo-wallet-label{
  display: block;
  margin-bottom: 10px;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
}

.merch-promo-wallet-input{
  min-height: 46px;
  border-radius: 8px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.05) !important;
  color: #fff !important;
  font-weight: 600;
}
.merch-promo-wallet-input:focus{
  border-color: rgba(47, 157, 244, .42) !important;
  box-shadow: 0 0 0 .2rem rgba(47, 157, 244, .14) !important;
}

.merch-promo-wallet-footer{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 20px;
}

.merch-promo-wallet-btn{
  min-width: 100px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.88);
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.merch-promo-wallet-btn:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
}

@media (max-width: 767.98px){
  .merch-promo-earn-head{
    flex-direction: column;
    align-items: flex-start;
  }
  .merch-promo-earn-wallet{
    width: 100%;
    text-align: center;
  }
}

/* Update Seller Information page */
.merch-seller-panel{
  padding: 0;
  overflow: hidden;
}

.merch-seller-head{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.merch-seller-close{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: rgba(234,240,255,.72);
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.merch-seller-close:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

.merch-seller-title{
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
  color: #fff;
}

.merch-seller-form{
  padding: 22px 22px 0;
}

.merch-seller-select{
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b8c5dc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
}

.merch-seller-footer{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.merch-seller-cancel{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.88);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.merch-seller-cancel:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
}

.merch-seller-submit{
  min-width: 100px;
  min-height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(47, 157, 244, .22);
}
.merch-seller-submit:hover{
  color: #fff;
  filter: brightness(1.06);
}

@media (max-width: 767.98px){
  .merch-seller-form{
    padding: 18px 16px 0;
  }
  .merch-seller-footer{
    padding: 16px;
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .merch-seller-cancel,
  .merch-seller-submit{
    width: 100%;
  }
}

/* Cart */
.merch-cart-panel{
  padding: clamp(18px, 3vw, 28px) 0 clamp(28px, 4vw, 40px);
  min-width: 0;
}

.merch-cart-title{
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #fff;
}

.merch-cart-title-accent{
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 3px solid #00d4f5;
}

.merch-cart-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.merch-cart-back{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.88);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
}
.merch-cart-back:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
}

.merch-cart-clear{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
}
.merch-cart-clear:disabled{
  opacity: .45;
  cursor: not-allowed;
}
.merch-cart-clear:hover:not(:disabled){
  filter: brightness(1.06);
}

.merch-cart-items{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.merch-cart-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  overflow: hidden;
}

.merch-cart-item{
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto auto;
  gap: 16px 20px;
  align-items: center;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.merch-cart-card:not(:has(.merch-cart-promo-block)) .merch-cart-item{
  border-bottom: 0;
}

.merch-cart-promo-block{
  padding: 16px 20px 20px;
}

.merch-cart-promo-head{
  margin: 0 0 4px;
  font-size: .92rem;
  font-weight: 800;
  color: #fff;
}

.merch-cart-promo-hint{
  margin: 0 0 14px;
  font-size: .76rem;
  color: rgba(234,240,255,.48);
}

.merch-cart-promo-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.merch-cart-promo-card{
  border-radius: 10px;
  border: 1px solid rgba(47, 157, 244, .32);
  background: rgba(47, 157, 244, .05);
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.merch-cart-promo-card:hover{
  border-color: rgba(47, 157, 244, .45);
  background: rgba(47, 157, 244, .08);
}

.merch-cart-promo-card.is-selected{
  background: rgba(47, 157, 244, .14);
  border-color: #2f9df4;
  box-shadow: 0 0 0 1px rgba(47, 157, 244, .15) inset;
}

.merch-cart-promo-code{
  display: block;
  font-size: .84rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.merch-cart-promo-desc{
  display: block;
  font-size: .74rem;
  color: rgba(234,240,255,.65);
  line-height: 1.35;
  margin-bottom: 6px;
}

.merch-cart-promo-exp{
  display: block;
  font-size: .7rem;
  color: rgba(234,240,255,.45);
}

.merch-cart-thumb-wrap{
  display: block;
  width: 88px;
  height: 88px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
  text-decoration: none;
}
.merch-cart-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.merch-cart-item-title{
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}
.merch-cart-item-title a{
  color: #fff;
  text-decoration: none;
}
.merch-cart-item-title a:hover{
  color: #9ed4ff;
}

.merch-cart-item-vendor{
  margin: 0 0 4px;
  font-size: .86rem;
  font-weight: 600;
  color: rgba(234,240,255,.62);
}
.merch-cart-item-vendor a{
  color: #5eb8ff;
  text-decoration: none;
}
.merch-cart-item-vendor a:hover{
  text-decoration: underline;
}

.merch-cart-item-size{
  margin: 0;
  font-size: .84rem;
  font-weight: 600;
  color: #5eb8ff;
}

.merch-cart-field-label{
  display: block;
  margin-bottom: 8px;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(234,240,255,.55);
}

.merch-cart-qty{
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}

.merch-cart-qty-btn{
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(234,240,255,.88);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
.merch-cart-qty-btn:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

.merch-cart-qty-value{
  min-width: 36px;
  padding: 0 8px;
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,.10);
  border-right: 1px solid rgba(255,255,255,.10);
}

.merch-cart-price{
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

.merch-cart-remove{
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(244, 114, 182, .12);
  color: #f472b6;
  font-size: 1rem;
  cursor: pointer;
}
.merch-cart-remove:hover{
  background: rgba(244, 114, 182, .2);
  color: #fb7185;
}

.merch-cart-summary{
  padding: 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

.merch-cart-summary-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(234,240,255,.78);
}
.merch-cart-summary-row.is-promo span:last-child{
  color: #5eb8ff;
  font-weight: 700;
}

.merch-cart-summary-row.is-total{
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.merch-cart-summary-divider{
  height: 1px;
  margin: 14px 0;
  background: rgba(255,255,255,.10);
}

.merch-cart-fee-label{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.merch-cart-fee-info{
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(234,240,255,.55);
  font-size: .9rem;
  cursor: help;
}

.merch-cart-checkout{
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 157, 244, .22);
}
.merch-cart-checkout:hover{
  filter: brightness(1.06);
}

.merch-cart-continue{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 1px solid rgba(47, 157, 244, .35);
  border-radius: 8px;
  background: rgba(255,255,255,.03);
  color: #5eb8ff;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.merch-cart-continue:hover{
  background: rgba(47, 157, 244, .08);
  color: #fff;
}

.merch-cart-empty{
  padding: 56px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  color: rgba(234,240,255,.5);
}
.merch-cart-empty i{
  display: block;
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.merch-cart-empty p{
  margin: 0 0 14px;
  font-size: .95rem;
  font-weight: 600;
}
.merch-cart-empty-shop{
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991.98px){
  .merch-cart-item{
    grid-template-columns: 88px minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb body remove"
      "qty price price";
  }
  .merch-cart-thumb-wrap{ grid-area: thumb; }
  .merch-cart-item-body{ grid-area: body; }
  .merch-cart-remove{ grid-area: remove; justify-self: end; }
  .merch-cart-qty-block{ grid-area: qty; }
  .merch-cart-price-block{ grid-area: price; justify-self: end; text-align: right; }
}

@media (max-width: 575.98px){
  .merch-cart-promo-grid{
    grid-template-columns: 1fr;
  }
  .merch-cart-toolbar{
    flex-direction: column;
    align-items: stretch;
  }
  .merch-cart-clear,
  .merch-cart-back{
    width: 100%;
    justify-content: center;
  }
}

/* My Promotions */
.merch-my-promotions-panel{
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.merch-my-promotions-title{
  margin: 0 0 22px;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: #fff;
}

.pcard-promo .pcard-body{
  gap: 10px;
}

.pcard-promo .pcard-promo-label{
  font-size: .86rem;
  font-weight: 700;
  color: #5eb8ff;
  line-height: 1.2;
}

.pcard-promo .pcard-price{
  margin-top: 2px;
}

.pcard-promo .pcard-stars{
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .78rem;
  line-height: 1;
  color: #fbbf24;
}

.pcard-promo .pcard-reviews{
  margin-left: 0;
  margin-top: 2px;
  font-size: .78rem;
}

/* Raised Tickets */
.merch-tickets-panel,
.merch-ticket-detail-panel{
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.merch-tickets-page-title{
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  color: #fff;
}

.merch-tickets-page-desc{
  margin: 0 0 22px;
  max-width: 720px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(234,240,255,.62);
  line-height: 1.55;
}

.merch-tickets-card{
  border: 1px solid rgba(0, 212, 245, .14);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  overflow: hidden;
}

.merch-tickets-card-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.merch-tickets-card-title{
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.merch-tickets-search{
  display: flex;
  align-items: stretch;
  max-width: 320px;
  width: 100%;
}

.merch-tickets-search-input{
  min-height: 40px;
  border-radius: 6px 0 0 6px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-right: 0 !important;
  background: rgba(255,255,255,.04) !important;
  color: #fff !important;
  font-size: .86rem;
}
.merch-tickets-search-input:focus{
  box-shadow: none !important;
  border-color: rgba(47, 157, 244, .45) !important;
}

.merch-tickets-search-btn{
  width: 44px;
  padding: 0;
  border: 0;
  border-radius: 0 6px 6px 0;
  background: #2f9df4;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.merch-tickets-search-btn:hover{
  background: #2488e0;
  color: #fff;
}

.merch-tickets-table-wrap{
  min-width: 0;
  width: 100%;
}

.merch-tickets-table-card{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.merch-tickets-table-card--empty{
  padding: 48px 20px;
  text-align: center;
}

.merch-tickets-empty{
  margin: 0;
  color: rgba(234,240,255,.5);
  font-size: .92rem;
  font-weight: 600;
}

.merch-tickets-table{
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.merch-tickets-col-id{ width: 24%; }
.merch-tickets-col-subject{ width: 22%; }
.merch-tickets-col-date{ width: 22%; }
.merch-tickets-col-status{ width: 18%; }
.merch-tickets-col-action{ width: 14%; }

.merch-tickets-table thead th{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(234,240,255,.62);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
}

.merch-tickets-row td{
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: middle;
  color: rgba(234,240,255,.88);
  font-size: .86rem;
  font-weight: 600;
}
.merch-tickets-row:last-child td{
  border-bottom: 0;
}
.merch-tickets-row:nth-child(even) td{
  background: rgba(255,255,255,.02);
}

.merch-tickets-cell-id{
  font-weight: 700;
  color: rgba(234,240,255,.72);
  word-break: break-all;
}
.merch-tickets-cell-subject{
  font-weight: 700;
  color: #fff;
}
.merch-tickets-cell-date{
  color: rgba(234,240,255,.72);
  white-space: nowrap;
}

.merch-tickets-status{
  display: inline-block;
  font-size: .84rem;
  font-weight: 700;
  color: rgba(234,240,255,.88);
}
.merch-tickets-status.is-resolved{ color: #4ade80; }
.merch-tickets-status.is-awaiting{ color: #fbbf24; }
.merch-tickets-status.is-replied{ color: #5eb8ff; }

.merch-tickets-cell-action{
  text-align: right;
}

.merch-tickets-view{
  color: #5eb8ff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
}
.merch-tickets-view:hover{
  color: #9ed4ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Ticket detail */
.merch-ticket-back{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(234,240,255,.72);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.merch-ticket-back:hover{
  color: #fff;
}

.merch-ticket-order-meta{
  margin-bottom: 16px;
}
.merch-ticket-order-line{
  margin: 0 0 4px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(234,240,255,.72);
}

.merch-ticket-product-card{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}

.merch-ticket-product-thumb-wrap{
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}
.merch-ticket-product-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.merch-ticket-product-details li{
  margin-bottom: 6px;
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
}
.merch-ticket-product-details li:last-child{
  margin-bottom: 0;
}
.merch-ticket-product-details span{
  color: rgba(234,240,255,.62);
  font-weight: 600;
  margin-right: 4px;
}

.merch-ticket-subject{
  margin: 0 0 6px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
  color: #fff;
}
.merch-ticket-id{
  margin: 0 0 14px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(234,240,255,.62);
}

.merch-ticket-info-divider{
  height: 1px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.10);
}

.merch-ticket-info-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 24px;
}

.merch-ticket-badge{
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: lowercase;
  color: #fff;
  background: #2f9df4;
}
.merch-ticket-badge.is-resolved{ background: #2f9df4; }
.merch-ticket-badge.is-awaiting{ background: #d97706; }
.merch-ticket-badge.is-replied{ background: #2563eb; }

.merch-ticket-info-item{
  font-size: .84rem;
  font-weight: 600;
  color: rgba(234,240,255,.72);
}
.merch-ticket-info-item strong{
  color: rgba(234,240,255,.88);
  font-weight: 700;
}

.merch-ticket-thread{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.merch-ticket-msg{
  position: relative;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  overflow: hidden;
}

.merch-ticket-msg-role{
  display: inline-block;
  margin: 12px 0 0 14px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: #2f9df4;
}
.merch-ticket-msg.is-vendor .merch-ticket-msg-role{
  background: rgba(255,255,255,.14);
  color: rgba(234,240,255,.88);
}
.merch-ticket-msg.is-customer .merch-ticket-msg-role{
  background: #2f9df4;
  color: #fff;
}
.merch-ticket-msg.is-seller .merch-ticket-msg-role{
  background: rgba(255,255,255,.14);
  color: rgba(234,240,255,.88);
}

.merch-ticket-info-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin-bottom: 24px;
}
.merch-ticket-info-block{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.merch-ticket-info-label{
  font-size: .78rem;
  font-weight: 700;
  color: rgba(234,240,255,.55);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.merch-ticket-info-value{
  font-size: .84rem;
  font-weight: 600;
  color: rgba(234,240,255,.78);
}

.merch-ticket-msg-body{
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1px minmax(0, 1fr);
  gap: 0 18px;
  padding: 14px 18px 18px;
  align-items: start;
}

.merch-ticket-msg-meta{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.merch-ticket-msg-datetime{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(234,240,255,.62);
  white-space: nowrap;
}
.merch-ticket-msg-datetime i{
  font-size: .9rem;
  color: rgba(234,240,255,.45);
}

.merch-ticket-msg-divider{
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,.10);
}

.merch-ticket-msg-text{
  margin: 0;
  padding-top: 4px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(234,240,255,.88);
  line-height: 1.55;
}

.merch-ticket-not-found{
  padding: 56px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  color: rgba(234,240,255,.5);
}
.merch-ticket-not-found i{
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}
.merch-ticket-not-found p{
  margin: 0 0 14px;
  font-size: .95rem;
  font-weight: 600;
}
.merch-ticket-back-link{
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.merch-ticket-back-link:hover{
  color: #fff;
  filter: brightness(1.06);
}

@media (max-width: 767.98px){
  .merch-tickets-card-head{
    flex-direction: column;
    align-items: stretch;
  }
  .merch-tickets-search{
    max-width: none;
  }
  .merch-ticket-product-card{
    flex-direction: column;
    align-items: flex-start;
  }
  .merch-ticket-msg-body{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .merch-ticket-msg-divider{
    display: none;
  }
  .merch-ticket-info-row{
    flex-direction: column;
    align-items: flex-start;
  }
  .merch-ticket-info-grid{
    grid-template-columns: 1fr;
  }
}

/* Checkout */
.merch-checkout-panel{
  padding: clamp(18px, 3vw, 28px) 0 clamp(32px, 5vw, 48px);
  min-width: 0;
}

.merch-checkout-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.merch-checkout-title{
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #fff;
}

.merch-checkout-title-accent{
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 3px solid #00d4f5;
}

.merch-checkout-back{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(234,240,255,.88);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.merch-checkout-back:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}

.merch-checkout-stepper-wrap{
  margin-bottom: 24px;
  padding: 20px clamp(16px, 3vw, 28px);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 14px 40px rgba(0,0,0,.2);
  position: relative;
  overflow: hidden;
}

.merch-checkout-stepper-wrap::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.merch-checkout-stepper{
  max-width: 720px;
  margin: 0 auto;
}

.merch-checkout-stepper-list{
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.merch-checkout-step{
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  position: relative;
}

.merch-checkout-step:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 20px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: rgba(255,255,255,.10);
  z-index: 0;
}

.merch-checkout-step.is-done:not(:last-child)::after{
  background: linear-gradient(90deg, #2f9df4, rgba(47, 157, 244, .35));
}

.merch-checkout-step.is-active:not(:last-child)::after{
  background: linear-gradient(90deg, #2f9df4 0%, rgba(255,255,255,.10) 100%);
}

.merch-checkout-step-dot{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .92rem;
  font-weight: 800;
  border: 2px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.45);
  position: relative;
  z-index: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.merch-checkout-step.is-active .merch-checkout-step-dot{
  border-color: #2f9df4;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 157, 244, .28);
}

.merch-checkout-step.is-done .merch-checkout-step-dot{
  border-color: #2f9df4;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
}

.merch-checkout-step-label{
  font-size: .76rem;
  font-weight: 700;
  color: rgba(234,240,255,.45);
  text-align: center;
  line-height: 1.25;
  letter-spacing: .01em;
}

.merch-checkout-step.is-active .merch-checkout-step-label{
  color: #fff;
}

.merch-checkout-step.is-done .merch-checkout-step-label{
  color: rgba(234,240,255,.82);
}

.merch-checkout-shell{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow: 0 14px 40px rgba(0,0,0,.2);
  padding: clamp(20px, 2.8vw, 28px);
}

.merch-checkout-section{
  padding: 2px 0;
}

.merch-checkout-section-head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.merch-checkout-section-divider{
  height: 1px;
  margin: 22px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

.merch-checkout-card-title{
  margin: 0 0 4px;
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.merch-checkout-card-title i{
  color: #5eb8ff;
  font-size: 1rem;
}

.merch-checkout-card-sub{
  margin: 0;
  font-size: .86rem;
  color: rgba(234,240,255,.55);
}

.merch-checkout-summary-sticky{
  position: sticky;
  top: 92px;
}

.merch-checkout-summary{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  padding: 22px 20px 20px;
}

.merch-checkout-summary-accent{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.merch-checkout-summary-title{
  margin: 0 0 16px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.merch-checkout-summary-title i{
  color: #5eb8ff;
}

.merch-checkout-summary-product{
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
}

.merch-checkout-summary-thumb{
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.10);
}

.merch-checkout-summary-product-meta{
  min-width: 0;
  font-size: .82rem;
  color: rgba(234,240,255,.62);
  line-height: 1.4;
}

.merch-checkout-summary-product-meta strong{
  display: block;
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.merch-checkout-summary-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(234,240,255,.78);
}

.merch-checkout-summary-row.is-discount span:last-child{
  color: #5eb8ff;
  font-weight: 700;
}

.merch-checkout-summary-row.is-total{
  margin-bottom: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
}

.merch-checkout-summary-divider{
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 14px 0;
}

.merch-checkout-fee-label{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.merch-checkout-fee-info{
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.merch-checkout-address-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 6px;
}

.merch-checkout-address-card{
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.merch-checkout-address-card:hover{
  border-color: rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
}

.merch-checkout-address-card.is-selected{
  border-color: rgba(47, 157, 244, .45);
  background: rgba(47, 157, 244, .06);
  box-shadow: 0 0 0 1px rgba(47, 157, 244, .12) inset, 0 10px 28px rgba(0,0,0,.16);
}

.merch-checkout-address-radio{
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.2);
  position: relative;
  flex-shrink: 0;
}

.merch-checkout-address-radio.is-checked{
  border-color: #2f9df4;
}

.merch-checkout-address-radio.is-checked::after{
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #2f9df4;
}

.merch-checkout-address-name{
  margin: 0 0 8px;
  font-weight: 800;
  color: #fff;
  font-size: .95rem;
}

.merch-checkout-address-lines{
  margin: 0 0 12px;
  font-size: .84rem;
  color: rgba(234,240,255,.62);
  line-height: 1.5;
}

.merch-checkout-address-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.merch-checkout-deliver-btn{
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(47, 157, 244, .45);
  background: rgba(47, 157, 244, .08);
  color: #5eb8ff;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.merch-checkout-deliver-btn:hover{
  background: rgba(47, 157, 244, .16);
  border-color: rgba(47, 157, 244, .6);
  color: #fff;
}

.merch-checkout-billing-check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  margin: 0;
  cursor: pointer;
}

.merch-checkout-billing-check input{
  accent-color: var(--accent);
}

.merch-checkout-address-toolbar{
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.merch-checkout-tool-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
}

.merch-checkout-tool-btn.is-edit{
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 157, 244, .22);
}

.merch-checkout-tool-btn.is-delete{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(234,240,255,.88);
}

.merch-checkout-tool-btn:hover{
  filter: brightness(1.06);
}

.merch-checkout-form-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.merch-checkout-form-grid .form-label{
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin-bottom: 6px;
}

.merch-checkout-form-grid .form-label .req{
  color: #ff6b8a;
}

.merch-checkout-form-grid .form-control,
.merch-checkout-form-grid .form-select{
  background: rgba(0,0,0,.22);
  border-color: rgba(255,255,255,.12);
  color: #fff;
  font-size: .88rem;
}

.merch-checkout-form-grid .form-control:focus,
.merch-checkout-form-grid .form-select:focus{
  background: rgba(0,0,0,.28);
  border-color: rgba(var(--accent-rgb), .45);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12);
}

.merch-checkout-form-hint{
  grid-column: 1 / -1;
  font-size: .76rem;
  color: rgba(255,255,255,.45);
  margin-top: -4px;
}

.merch-checkout-nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.merch-checkout-btn-prev{
  min-width: 132px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(47, 157, 244, .4);
  background: rgba(255,255,255,.03);
  color: #5eb8ff;
  font-size: .86rem;
  font-weight: 700;
  padding: 0 20px;
  transition: background .15s ease, border-color .15s ease;
}

.merch-checkout-btn-prev:hover{
  background: rgba(47, 157, 244, .1);
  border-color: rgba(47, 157, 244, .55);
  color: #fff;
}

.merch-checkout-btn-next{
  min-width: 132px;
  min-height: 44px;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(135deg, #2f9df4, #1d7fd4);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 0 22px;
  box-shadow: 0 10px 24px rgba(47, 157, 244, .24);
  transition: filter .15s ease;
}

.merch-checkout-btn-next:hover{
  filter: brightness(1.06);
  color: #fff;
}

.merch-checkout-shipping-count{
  font-size: .8rem;
  font-weight: 600;
  color: rgba(234,240,255,.5);
  white-space: nowrap;
}

.merch-checkout-shipping-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.merch-checkout-shipping-card{
  width: 100%;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  padding: 16px 16px 14px;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.merch-checkout-shipping-card:hover{
  border-color: rgba(255,255,255,.16);
}

.merch-checkout-shipping-card.is-selected{
  border-color: rgba(47, 157, 244, .45);
  background: rgba(47, 157, 244, .06);
  box-shadow: 0 0 0 1px rgba(47, 157, 244, .12) inset;
}

.merch-checkout-shipping-top-end{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.merch-checkout-shipping-check{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  color: transparent;
  flex-shrink: 0;
}

.merch-checkout-shipping-card.is-selected .merch-checkout-shipping-check{
  border-color: #2f9df4;
  background: #2f9df4;
  color: #fff;
}

.merch-checkout-shipping-card-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.merch-checkout-carrier{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: #fff;
  color: #1a3c8a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.merch-checkout-shipping-price{
  font-weight: 700;
  color: #fff;
  font-size: .92rem;
  white-space: nowrap;
}

.merch-checkout-shipping-name{
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
}

.merch-checkout-shipping-eta{
  margin: 4px 0 0;
  font-size: .8rem;
  color: #ff6b8a;
}

.merch-checkout-line-items{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.merch-checkout-line-item{
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto auto;
  gap: 16px 20px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  background: rgba(0,0,0,.14);
}

.merch-checkout-line-thumb-wrap{
  width: 88px;
  height: 88px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  overflow: hidden;
}

.merch-checkout-line-thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.merch-checkout-line-title{
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.merch-checkout-line-vendor{
  margin: 0 0 4px;
  font-size: .82rem;
  color: rgba(234,240,255,.62);
}

.merch-checkout-line-vendor a{
  color: #5eb8ff;
  text-decoration: none;
}

.merch-checkout-line-attr{
  margin: 0;
  font-size: .8rem;
  color: #5eb8ff;
  font-weight: 600;
}

.merch-checkout-line-label{
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(234,240,255,.5);
  margin-bottom: 4px;
}

.merch-checkout-line-qty strong,
.merch-checkout-line-price{
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.merch-checkout-line-price-block{
  text-align: right;
}

.merch-checkout-line-remove{
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(244, 114, 182, .12);
  color: #fb7185;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}

.merch-checkout-line-remove:hover{
  background: rgba(244, 114, 182, .2);
  color: #fb7185;
}

.merch-checkout-promo-block{
  padding: 14px 0 4px;
  border-top: 1px dashed rgba(255,255,255,.1);
  margin-top: 4px;
}

.merch-checkout-promo-head{
  margin: 0 0 4px;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
}

.merch-checkout-promo-hint{
  margin: 0 0 12px;
  font-size: .76rem;
  color: rgba(255,255,255,.45);
}

.merch-checkout-promo-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.merch-checkout-promo-card{
  border-radius: 10px;
  border: 1px solid rgba(47, 157, 244, .32);
  background: rgba(47, 157, 244, .05);
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.merch-checkout-promo-card:hover{
  border-color: rgba(47, 157, 244, .45);
}

.merch-checkout-promo-card.is-selected{
  background: rgba(47, 157, 244, .14);
  border-color: #2f9df4;
  box-shadow: 0 0 0 1px rgba(47, 157, 244, .15) inset;
}

.merch-checkout-promo-code{
  display: block;
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.merch-checkout-promo-desc{
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  line-height: 1.35;
  margin-bottom: 6px;
}

.merch-checkout-promo-exp{
  display: block;
  font-size: .68rem;
  color: rgba(255,255,255,.45);
}

.merch-checkout-payment-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merch-checkout-payment-option{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  margin: 0;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.merch-checkout-payment-option:hover{
  border-color: rgba(255,255,255,.16);
}

.merch-checkout-payment-option.is-selected{
  border-color: rgba(47, 157, 244, .45);
  background: rgba(47, 157, 244, .07);
  box-shadow: 0 0 0 1px rgba(47, 157, 244, .1) inset;
}

.merch-checkout-payment-option input{
  accent-color: var(--accent);
  flex-shrink: 0;
}

.merch-checkout-payment-body{
  flex: 1;
  min-width: 0;
  font-size: .86rem;
  color: rgba(255,255,255,.78);
}

.merch-checkout-payment-body strong{
  color: #fff;
}

.merch-checkout-card-brands{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.merch-checkout-card-brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  padding: 0 6px;
  border-radius: 4px;
  background: #fff;
  color: #1a1a2e;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.merch-checkout-card-brand.is-visa{ color: #1a1f71; }
.merch-checkout-card-brand.is-mc{ color: #eb001b; }
.merch-checkout-card-brand.is-amex{ color: #006fcf; }

.merch-checkout-billing-box{
  padding: 2px 0;
}

.merch-checkout-billing-text{
  margin: 10px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.14);
  font-size: .86rem;
  color: rgba(234,240,255,.68);
  line-height: 1.55;
  white-space: pre-line;
}

.merch-checkout-signin-card{
  text-align: center;
  padding: 36px 24px 28px;
}

.merch-checkout-signin-avatar{
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(47, 157, 244, .25), rgba(29, 127, 212, .12));
  border: 2px solid rgba(47, 157, 244, .35);
  box-shadow: 0 12px 32px rgba(47, 157, 244, .18);
}

.merch-checkout-signin-label{
  margin: 0 0 6px;
  color: rgba(234,240,255,.62);
  font-size: .9rem;
}

.merch-checkout-signin-name{
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.merch-checkout-signin-email{
  margin: 0 0 18px;
  color: rgba(234,240,255,.5);
  font-size: .86rem;
}

.merch-checkout-signin-switch{
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #5eb8ff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}

.merch-checkout-signin-switch:hover{
  background: rgba(255,255,255,.08);
  color: #fff;
}

.merch-checkout-empty{
  text-align: center;
  padding: 40px 20px;
  color: rgba(255,255,255,.65);
}

.merch-checkout-empty a{
  color: var(--accent);
}

@media (max-width: 991.98px){
  .merch-checkout-summary-sticky{
    position: static;
  }
}

@media (max-width: 767.98px){
  .merch-checkout-head{
    flex-direction: column;
    align-items: stretch;
  }
  .merch-checkout-back{
    justify-content: center;
  }
  .merch-checkout-form-grid{
    grid-template-columns: 1fr;
  }
  .merch-checkout-promo-grid,
  .merch-checkout-shipping-grid{
    grid-template-columns: 1fr;
  }
  .merch-checkout-line-item{
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb body remove"
      "thumb qty price";
    padding: 14px;
  }
  .merch-checkout-line-thumb-wrap{
    grid-area: thumb;
    width: 72px;
    height: 72px;
  }
  .merch-checkout-line-body{ grid-area: body; }
  .merch-checkout-line-qty{ grid-area: qty; }
  .merch-checkout-line-price-block{ grid-area: price; text-align: left; }
  .merch-checkout-line-remove{ grid-area: remove; }
  .merch-checkout-address-card{
    grid-template-columns: 1fr;
  }
  .merch-checkout-address-radio{
    display: none;
  }
  .merch-checkout-step-label{
    font-size: .64rem;
  }
  .merch-checkout-nav{
    flex-direction: column-reverse;
  }
  .merch-checkout-btn-prev,
  .merch-checkout-btn-next{
    width: 100%;
  }
}

