/* ============================================================
   TRYKER · Home page
   ============================================================ */

/* ============ SEASON BANNER (in-grid) ============ */
.season-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.season-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .25), transparent 60%);
  pointer-events: none;
}

.season-banner .sb-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 1
}

.season-banner .sb-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  opacity: .9
}

.season-banner .sb-title {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.15
}

.season-banner .sb-sub {
  font-size: 12px;
  opacity: .95
}

.season-banner .sb-cta {
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, .22);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(4px);
}

@media (min-width:768px) {
  .season-banner {
    padding: 24px 28px
  }

  .season-banner .sb-title {
    font-size: 24px
  }

  .season-banner .sb-sub {
    font-size: 13px
  }
}

/* ============ HERO ============ */
.hero .container {
  padding: 0
}

.carousel{
  position:relative;
  overflow:hidden;
  box-shadow:var(--shadow-md);
  background:#2A0A4A;
}
.slides{
  display:flex;
  transition:transform .55s cubic-bezier(.65,0,.35,1);
  will-change:transform;
}
.slide{
  flex:0 0 100%;
  position:relative;
}
.slide picture,
.slide a{
  display:block;
}
.slide img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 2/1;
  object-fit:cover;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05)
}

.arrow svg {
  width: 22px;
  height: 22px
}

.arrow.prev {
  left: 18px
}

.arrow.next {
  right: 18px
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  transition: all .3s;
  border: none;
  cursor: pointer;
}

.dot.active {
  width: 24px;
  background: #FF69B4
}

@media (min-width: 768px) {
  .hero {
    padding: 24px 0 0
  }

  .hero .container {
    padding-left: 32px;
    padding-right: 32px
  }

  .carousel {
    border-radius: var(--radius-lg)
  }

  .arrow {
    display: flex
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 36px 0 0
  }

  .slide img {
    max-height: 560px
  }
}

/* ============ CATEGORY TABS ============ */
.cat-tabs {
  padding: 9px 0 7px;
  position: sticky;
  top: var(--topbar-h, 112px);
  z-index: 9;
  background: #fff;
}

.cat-tabs-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cat-tabs-inner::-webkit-scrollbar {
  display: none
}

.cat-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  padding: 3px 7px;
  cursor: pointer;
}

.cat-thumb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
  transition: border-color .2s;
}

.search-thumb {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff7fb, #f4ecfb);
  color: var(--purple);
}

.search-thumb svg {
  width: 20px;
  height: 20px
}

.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}
.cat-thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

.cat-tab.active .cat-thumb {
  border-color: var(--purple);
  box-shadow: 0 0 0 2.5px rgba(106, 13, 173, .2)
}

.cat-tab span {
  font-size: 7px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 3px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all .2s;
}

.cat-tab.active span {
  background: var(--purple);
  color: #fff
}

@media(min-width:768px) {
  .cat-tabs {
    padding: 14px 0 12px
  }

  .cat-tabs-inner {
    padding: 0 32px;
    justify-content: space-between;
    overflow-x: visible;
  }

  .cat-tab {
    flex: 1;
    padding: 3px 5px
  }

  .cat-thumb {
    width: 60px;
    height: 60px
  }

  .cat-tab span {
    font-size: 9px
  }
}

@media(min-width:1024px) {
  .cat-tabs-inner {
    padding: 0 48px;
    margin-top: 70px
  }

  .cat-thumb {
    width: 68px;
    height: 68px
  }

  .cat-tab span {
    font-size: 10px;
    padding: 3px 10px
  }
}

/* ============ FEATURE TICKER ============ */
.feature-ticker {
  background: linear-gradient(90deg, var(--purple-deep) 0%, var(--purple) 50%, var(--purple-deep) 100%);
  overflow: hidden;
  height: 22px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.silai-ticker {
  background: linear-gradient(90deg, #FFB6C1 0%, #E75480 50%, #FFB6C1 100%);
  border-top: none;
  height: 22px;
}

.ticker-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ticker-slide {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s;
}

.ticker-slide svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0
}

.silai-ticker .ticker-slide {
  color: #fff
}

.silai-ticker .ticker-slide svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0.9
}

@keyframes tickerIn {
  from {
    transform: translateX(100%);
    opacity: 0
  }

  to {
    transform: translateX(0);
    opacity: 1
  }
}

@keyframes tickerOut {
  from {
    transform: translateX(0);
    opacity: 1
  }

  to {
    transform: translateX(-100%);
    opacity: 0
  }
}

/* ============ CURATED BENTO ============ */
.curated-bento {
  padding: 18px 0 8px;
  background: #fff;
}

/* Bento is a tablet/desktop feature — hidden on phones (owner request). */
@media (max-width: 767px) {
  .curated-bento { display: none; }
}

/* ============ SHOP BY CATEGORY ============
   One calm 2×2 container per category (4 newest sarees). Clean, airy. */
.shop-by-cat { padding: 20px 0 2px; }
.shop-by-cat-head { margin-bottom: 16px; }
.shop-by-cat-head strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; color: var(--ink);
}
.shop-by-cat-head span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.sbc-cat { margin: 0 0 26px; }
.sbc-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.sbc-head h3 {
  margin: 0; font-family: var(--font-serif);
  font-size: 17px; font-weight: 700; color: var(--ink);
}
.sbc-head a { font-size: 12px; font-weight: 700; color: var(--purple); white-space: nowrap; }
.sbc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sbc-card {
  display: block; overflow: hidden;
  /* Brand silhouette — matches .product-card (top-right + bottom-left swept). */
  border-radius: var(--tryker-corner-sm, 6px) var(--tryker-corner, 34px) var(--tryker-corner-sm, 6px) var(--tryker-corner, 34px);
  background: #fff; box-shadow: var(--shadow-soft);
  transition: transform .18s var(--ease);
}
.sbc-card:active { transform: scale(.98); }
.sbc-img {
  display: block; aspect-ratio: 3/4; overflow: hidden;
  background: linear-gradient(135deg, var(--fallback-c1, #eee), var(--fallback-c2, #ddd));
}
.sbc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sbc-copy { display: block; padding: 8px 10px 10px; }
.sbc-copy strong {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sbc-copy span { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
@media (min-width: 768px) {
  .sbc-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sbc-head h3 { font-size: 20px; }
}

.curated-bento .container {
  padding-left: 14px;
  padding-right: 14px
}

.curated-bento-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.curated-bento-head strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.curated-bento-head span {
  max-width: 240px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-align: right;
}

.curated-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(168px, auto);
  gap: 10px;
}

.curated-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 168px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  background: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}

.curated-card--hero {
  grid-column: 1 / -1;
  min-height: 260px;
}

.curated-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.02);
  transition: transform .35s ease;
  filter: brightness(1.08) saturate(1.15);
}

.curated-card--hero img {
  object-position: center 66%;
}

.curated-card--wide img {
  object-position: center 74%;
}

.curated-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(26, 5, 42, .02) 0%, rgba(26, 5, 42, .22) 42%, rgba(26, 5, 42, .8) 100%);
}

.curated-card-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding: 15px;
}

.curated-card-copy span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .7px;
  line-height: 1.15;
  text-transform: uppercase;
}

.curated-card-copy strong {
  max-width: 14rem;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.08;
}

.curated-card-copy em {
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.curated-card:focus-visible {
  outline: 3px solid var(--purple-100);
  outline-offset: 3px;
}

@media (hover: hover) {
  .curated-card:hover img {
    transform: scale(1.08)
  }
}

@media (min-width: 768px) {
  .curated-bento {
    padding: 28px 0 12px
  }

  .curated-bento .container {
    padding-left: 32px;
    padding-right: 32px
  }

  .curated-bento-head {
    margin-bottom: 18px
  }

  .curated-bento-head strong {
    font-size: 20px
  }

  .curated-bento-head span {
    max-width: 360px;
    font-size: 13px
  }

  .curated-bento-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 178px;
    gap: 12px;
  }

  .curated-card--hero {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 368px;
  }

  .curated-card--wide {
    grid-column: span 2;
  }

  .curated-card-copy {
    padding: 18px
  }

  .curated-card-copy strong {
    font-size: 17px
  }
}

@media (min-width: 1024px) {
  .curated-bento {
    padding: 34px 0 10px
  }

  .curated-bento-grid {
    grid-auto-rows: 198px;
    gap: 14px;
  }

  .curated-card--hero {
    min-height: 410px
  }

  .curated-card-copy {
    padding: 22px
  }

  .curated-card-copy span {
    font-size: 11px
  }

  .curated-card-copy strong {
    font-size: 20px
  }

  .curated-card:not(.curated-card--hero) .curated-card-copy strong {
    font-size: 17px
  }
}

/* ============ COLLECTION ============ */
.collection {
  padding: 22px 0 14px
}

.collection .container {
  padding-left: 14px;
  padding-right: 14px
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.collection-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.collection-copy span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.view-all.compact {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--purple);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .collection {
    padding: 28px 0 24px
  }

  .collection .container {
    padding-left: 32px;
    padding-right: 32px
  }

  .collection-toolbar {
    margin-bottom: 18px
  }

  .collection-copy strong {
    font-size: 18px
  }

  .collection-copy span {
    font-size: 13px
  }

  .view-all.compact {
    padding: 8px 14px;
    font-size: 12px
  }
}

@media (min-width: 1024px) {
  .collection {
    padding: 34px 0 32px
  }
}

/* ============ TRUST STRIP ============ */
.trust-section {
  padding: 14px 0
}

.trust-section .container {
  padding-left: 14px;
  padding-right: 14px
}

.trust-strip {
  padding: 14px 12px;
  background: linear-gradient(180deg, #F4ECFB, #FFFFFF);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 10px;
  border: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--purple);
  flex-shrink: 0
}

.trust-item strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 1px
}

.trust-item span {
  display: block
}

@media (min-width: 460px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr)
  }
}

@media (min-width: 768px) {
  .trust-section {
    padding: 32px 0
  }

  .trust-section .container {
    padding-left: 32px;
    padding-right: 32px
  }

  .trust-strip {
    padding: 28px;
    gap: 24px;
    border-radius: 20px
  }

  .trust-item {
    font-size: 13px
  }

  .trust-item strong {
    font-size: 15px
  }

  .trust-item svg {
    width: 32px;
    height: 32px
  }
}

/* ============ NOTIFY BANNER ============ */
.notify-section {
  padding: 14px 0
}

.notify-section .container {
  padding-left: 14px;
  padding-right: 14px
}

.notify-banner {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 105, 180, .25), transparent 50%),
    linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
  border-radius: 18px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.notify-banner::before {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
}

.notify-left {
  position: relative;
  z-index: 1;
  margin-bottom: 8px
}

.notify-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .15);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.notify-icon svg {
  width: 16px;
  height: 16px
}

.notify-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
  font-weight: 800;
  letter-spacing: -0.2px
}

.notify-text span {
  display: block;
  font-size: 11px;
  opacity: .9;
  line-height: 1.35
}

.notify-form {
  display: flex;
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 10px;
  padding: 3px;
}

.notify-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 8px 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.notify-form input::placeholder {
  color: #A8A0B5
}

.notify-form .btn-pink {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11px;
  margin: 0;
  flex-shrink: 0;
}

.seller-lead-form input {
  min-width: 0
}

.notify-success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, .12);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  position: relative;
  z-index: 1;
}

.notify-success[hidden] {
  display: none !important;
}

.notify-success svg {
  width: 15px;
  height: 15px;
  color: #80FFC4;
  flex-shrink: 0;
  margin-top: 1px
}

@media (min-width: 768px) {
  .notify-section {
    padding: 32px 0
  }

  .notify-section .container {
    padding-left: 32px;
    padding-right: 32px
  }

  .notify-banner {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-radius: 22px;
  }

  .notify-left {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 18px
  }

  .notify-icon {
    margin-bottom: 0;
    width: 40px;
    height: 40px
  }

  .notify-icon svg {
    width: 22px;
    height: 22px
  }

  .notify-text strong {
    font-size: 17px
  }

  .notify-text span {
    font-size: 12px
  }

  .notify-form {
    min-width: 300px;
    padding: 4px;
    border-radius: 12px
  }

  .notify-form input {
    padding: 10px 12px 10px 14px;
    font-size: 13px
  }

  .notify-form .btn-pink {
    padding: 10px 14px;
    font-size: 12px;
    border-radius: 10px
  }
}

/* ============================================================
   HEADER ENHANCEMENTS
   ============================================================ */

/* ── 60 min delivery tag ──────────────────────────────────── */
.d-sixty {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 11.5px;
  color: var(--purple);
  opacity: 0.72;
  letter-spacing: 0.2px;
  margin-left: 7px;
  align-self: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.m-topbar .d-sixty {
  color: rgba(255, 255, 255, 0.82);
  font-size: 10.5px;
  margin-left: 6px;
}

/* ── Shared dropdown panel ───────────────────────────────── */
.hdr-dropdown {
  position: fixed;
  top: 58px;
  left: 0;
  width: min(320px, 96vw);
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .15), 0 2px 8px rgba(0, 0, 0, .06);
  border: 1px solid var(--line);
  border-top: none;
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease;
  max-height: 80vh;
  overflow-y: auto;
  padding: 16px;
}

.hdr-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hdr-dropdown--right {
  left: auto;
  right: 0;
}

@media (max-width: 767px) {
  .hdr-dropdown {
    top: var(--topbar-h);
    width: 100%;
    border-radius: 0 0 18px 18px;
  }
}

/* ── Pin dropdown → bottom sheet (slides up from bottom) ── */
#pinDropdown {
  top: auto !important;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  transform: translateY(100%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
  box-shadow: 0 -10px 32px rgba(0, 0, 0, .18);
  padding: 18px 16px max(20px, env(safe-area-inset-bottom));
}

#pinDropdown.open {
  transform: translateY(0);
}

#pinDropdown::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #E5E7EB;
  margin: 0 auto 14px;
}

.pin-status-strip {
  margin: 10px 0 4px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: #F3F4F6;
  color: #374151;
}

.pin-status-strip[data-state="ok"] {
  background: #DCFCE7;
  color: #15803D
}

.pin-status-strip[data-state="err"] {
  background: #FEE2E2;
  color: #B91C1C
}

@media (min-width:768px) {
  #pinDropdown {
    max-width: 420px;
  }
}

/* ── Dropdown shared inner elements ─────────────────────── */
.hdr-dp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hdr-dp-head span {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  flex: 1;
}

.hdr-dp-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
}

.hdr-dp-close:hover {
  background: var(--bg-soft);
}

.hdr-dp-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 12px 0 8px;
}

.hdr-dp-section {
  margin-top: 4px;
}

.hdr-dp-err {
  font-size: 12px;
  color: #DC2626;
  min-height: 14px;
  margin: 4px 0 0;
}

/* ── Pincode dropdown ────────────────────────────────────── */
.hdr-dp-pin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 14px;
}

.hdr-dp-pin-row span {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 1px;
}

.hdr-dp-edit-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  background: none;
  border: 1.5px solid var(--purple);
  border-radius: 20px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background .15s;
}

.hdr-dp-edit-btn:hover {
  background: var(--purple-50);
}

.hdr-dp-pin-edit {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hdr-dp-pin-edit input {
  flex: 1;
  min-width: 120px;
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.hdr-dp-pin-edit input:focus {
  border-color: var(--purple);
}

.hdr-dp-pin-edit button {
  padding: 9px 16px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

#pinDpResult {
  width: 100%;
  font-size: 12px;
  min-height: 14px;
  margin: 0;
}

#pinDpResult.ok {
  color: #16a34a;
}

#pinDpResult.err {
  color: #DC2626;
}

.hdr-dp-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}

.hdr-dp-addr-item:last-child {
  border-bottom: none;
}

.hdr-dp-addr-item svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--muted);
}

.hdr-dp-addr-pin {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.hdr-dp-empty {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 12px 0;
}

/* ── Profile dropdown ────────────────────────────────────── */
.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 8px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  font-family: inherit;
}

.profile-btn:hover {
  background: var(--bg-soft);
  border-color: var(--purple-200, #d8b4fe);
}

.profile-btn svg {
  color: var(--muted);
}

.profile-btn-sm {
  padding: 5px 7px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  justify-content: center;
}

.profile-btn-sm:hover {
  background: rgba(255, 255, 255, 0.28);
}

.prof-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.prof-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #FF69B4);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prof-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.prof-phone-display {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 0;
}

.prof-stats {
  display: flex;
  gap: 0;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.prof-stat {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-right: 1px solid var(--line);
}

.prof-stat:last-child {
  border-right: none;
}

.prof-stat span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--purple);
  line-height: 1.1;
}

.prof-stat label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}

.prof-mode-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--bg-soft);
  border-radius: 10px;
  margin-bottom: 4px;
}

.prof-mode-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--purple);
  color: #fff;
}

.prof-mode-badge.buy {
  background: #f59e0b;
}

.prof-mode-desc {
  font-size: 12px;
  color: var(--muted);
}

.prof-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.prof-order-item:last-child {
  border-bottom: none;
}

.prof-order-id {
  font-weight: 600;
  color: var(--ink);
}

.prof-order-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.prof-order-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--bg-soft);
  color: var(--muted);
}

.prof-order-status.completed {
  background: #dcfce7;
  color: #16a34a;
}

.prof-order-status.in_trial {
  background: #ede9fe;
  color: var(--purple);
}

.prof-order-status.pending {
  background: #fef9c3;
  color: #a16207;
}

.prof-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.prof-footer-link {
  font-size: 12px;
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.prof-footer-link:hover {
  text-decoration: underline;
}

.prof-footer-link.danger {
  color: #DC2626;
}

.hdr-dp-phone-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.hdr-dp-phone-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.hdr-dp-phone-row input:focus {
  border-color: var(--purple);
}

.hdr-dp-phone-row button {
  padding: 10px 18px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* Overlay to catch outside clicks */
.hdr-overlay {
  position: fixed;
  inset: 0;
  z-index: 249;
  display: none;
}

.hdr-overlay.active {
  display: block;
}

/* ── Header layout fixes (keeps original slim height) ──────── */

/* Desktop: logo image + "60 min" text inline on same row */
.d-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.d-logo picture,
.brand picture {
  display: block;
  flex: 0 0 auto;
}

/* Desktop profile btn — compact, no thick border, matches pin-badge feel */
.d-header-cta .profile-btn {
  padding: 3px 10px 3px 7px;
  border-width: 1px;
  font-size: 12px;
  gap: 5px;
  height: auto;
}

/* Mobile: logo + "60 min" on same row, tagline wraps below */
.brand {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.brand .d-sixty {
  margin-left: 5px;
  line-height: 1;
  flex-shrink: 0;
}

.brand-tagline-wrap {
  flex-basis: 100%;
  margin-top: 1px;
  height: 13px;
}

/* Mobile right-side buttons wrapper */
.m-topbar-btns {
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  flex-shrink: 0;
}

/* profile-btn-sm stays circular and matches topbar height */
.m-topbar-btns .profile-btn-sm {
  width: 28px;
  height: 28px;
  padding: 0;
}

/* ── Product availability badges ── */
.badge-avail {
  display: inline-block;
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  pointer-events: none;
}

.badge-trial {
  background: #fff3cd;
  color: #8a6d00;
}

.badge-oos {
  background: #f1f1f1;
  color: #888;
}

.badge-preorder {
  background: #fef3c7;
  color: #92400e;
}

.try-btn.is-disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ── Skeleton loading ── */
.skeleton-card {
  background: linear-gradient(90deg, #f0f0f0 0, #e8e8e8 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  animation: skeleton-sweep 1.3s ease-in-out infinite;
  border-radius: 14px;
  height: 280px;
}

@keyframes skeleton-sweep {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

/* ── Unserviceable empty state ── */
.unserviceable {
  grid-column: 1/-1;
  text-align: center;
  padding: 56px 16px;
  color: #6b7280;
}

.unserviceable strong {
  display: block;
  font-size: 18px;
  color: #222;
  margin-bottom: 8px;
}

.unserviceable p {
  font-size: 14px;
  margin: 0;
}

/* ── Slim seller strip ── */
.seller-slim-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .12);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.seller-slim-btn {
  flex-shrink: 0;
  padding: 7px 14px;
  background: #fff;
  color: #6A0DAD;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* ============ LEGAL DROPDOWN (header) ============ */
.d-nav-legal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: inherit;
  font-weight: 600;
  color: var(--ink-2, #2B2435);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.d-nav-legal:hover {
  color: var(--purple);
}

.legal-dropdown {
  padding: 14px;
}

.legal-dp-links {
  display: grid;
  gap: 2px;
}

.legal-dp-links a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #111);
  transition: background .15s ease, color .15s ease;
}

.legal-dp-links a:hover {
  background: var(--purple-50, #F4ECFB);
  color: var(--purple);
}

/* ============ LEGAL FOOTER COLUMN / MOBILE ACCORDION ============ */
/* Legal column stays visible on mobile (other footer cols are hidden < 768px) */
.footer-col-legal {
  display: block;
}

.footer-legal-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-legal-toggle svg {
  display: none;
}

.footer-legal-list {
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .footer-col-legal .footer-legal-toggle {
    cursor: pointer;
    justify-content: space-between;
  }

  .footer-col-legal .footer-legal-toggle svg {
    display: block;
    transition: transform .2s ease;
  }

  .footer-col-legal .footer-legal-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .footer-legal-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }

  .footer-legal-list.open {
    max-height: 320px;
  }
}
