:root {
  --tgr-blue: #0062ea;
  --tgr-red: #ff32d4;
  --tgr-orange: #ef5c05;
  --tgr-green: #55f5fb;
  --tgr-black: #000000;
  --tgr-white: #ffffff;

  --tgr-bg: #f4f5f7;
  --tgr-bg-dark: #e9ebef;
  --tgr-border: #d6d8dd;
  --tgr-muted: #555;
  --tgr-soft: #eef0f4;

  --tgr-danger-bg: #fff4f4;
  --tgr-danger-border: #ffb4b4;
  --tgr-danger-text: #8a1f1f;

  --tgr-success-bg: #f0fff4;
  --tgr-success-border: #a6e3b8;
  --tgr-success-text: #146c2e;

  --tgr-shadow: 0 18px 50px rgba(0,0,0,.06);
  --tgr-shadow-hover: 0 16px 38px rgba(0,0,0,.1);
  --tgr-radius: 28px;
  --tgr-radius-card: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--tgr-bg);
  color: var(--tgr-black);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER / NAV */

.topbar {
  height: 72px;
  border-bottom: 1px solid var(--tgr-border);
  background: var(--tgr-white);
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 24px;
}

.mark,
.footer-logo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.mark {
  width: 34px;
  height: 34px;
}

.footer-logo {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;

}

.mark span,
.footer-logo span {
  background: var(--tgr-black);
  border-radius: 3px;
}

.mark span:nth-child(1),
.footer-logo span:nth-child(1) {
  background: var(--tgr-orange);
}

.mark span:nth-child(2),
.footer-logo span:nth-child(2) {
  background: var(--tgr-green);
}

.mark span:nth-child(3),
.footer-logo span:nth-child(3),
.footer-logo .blue {
  background: var(--tgr-blue);
}

.mark span:nth-child(5) {
  background: var(--tgr-red);
}

.navlinks {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tgr-muted);
}

.navlinks a:hover {
  color: var(--tgr-black);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tgr-border);
  background: var(--tgr-white);
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
}

/* GENERAL TYPOGRAPHY */

.eyebrow,
.product-kicker,
.shop-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tgr-blue);
  margin-bottom: 16px;
}

h1,
.page-title,
.products-title,
.product-title,
.shop-title,
.tag-title,
.dash-title,
.seller-title,
.form-title,
.titlex {
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .9;
  letter-spacing: -0.08em;
}

.lead,
.products-lead,
.product-description,
.shop-desc,
.leadx {
  color: var(--tgr-muted);
  line-height: 1.6;
}

.lead {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: 19px;
}

.products-lead,
.product-description,
.shop-desc {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: 18px;
}

/* GENERAL CARDS / GRID */

.grid,
.shop-grid {
  display: grid;
  gap: 18px;
}

.grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 60px;
}

.shop-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.shop-card,
.info-box,
.dash-card,
.seller-card,
.form-card,
.auth-card,
.checkout-card,
.cardx,
.products-hero,
.shop-hero,
.dash-hero,
.seller-hero,
.product-info,
.product-cover-card {
  background: var(--tgr-white);
  border: 1px solid var(--tgr-border);
  
}

.card,
.shop-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover,
.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tgr-shadow-hover);
}

.thumb,
.cover,
.product-cover {
    width: 100%;
    aspect-ratio: 1 / 1.35;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

body {
  background: #f6f7fb;
  color: var(--tgr-black);
  position: relative;
}

/*
 * Tagular rotating background images.
 * The layers are created and switched by tagular_bg.js.
 */
body::before {
  content: none;
}

#tgr-bg-container {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--tgr-bg);
}

.tgr-bg-layer {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.tgr-bg-layer.active {
  opacity: 1;
}

.topbar,
.card,
.shop-card,
.info-box,
.dash-card,
.seller-card,
.form-card,
.auth-card,
.checkout-card,
.cardx,
.products-hero,
.shop-hero,
.dash-hero,
.seller-hero,
.product-info,
.product-cover-card {
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.82);
}

.title,
.shop-name {
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.price,
.pricex,
.meta-pill,
.shop-pill,
.products-pill,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.price {
  background: var(--tgr-soft);
  padding: 6px 10px;
}

.pricex,
.meta-pill.price-pill,
.shop-pill.main,
.products-pill.main,
.pill.main {
  background: var(--tgr-black);
  color: var(--tgr-white);
  border-color: var(--tgr-black);
}

.meta-pill,
.shop-pill,
.products-pill,
.pill {
  padding: 8px 12px;
  background: var(--tgr-soft);
  border: 1px solid var(--tgr-border);
  color: #444;
  margin: 5px;
}

/* BUTTONS */

.btn,
.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--tgr-blue);
  color: var(--tgr-white);
  font-weight: 900;
  cursor: pointer;
  font: inherit;
}

.btn:hover,
.action-btn:hover {
  background: #2859bb;
}

.btn-secondary,
.btn.secondary,
.action-btn.secondary {
  background: var(--tgr-white);
  color: var(--tgr-black);
  border-color: var(--tgr-border);
}

.btn-secondary:hover,
.btn.secondary:hover,
.action-btn.secondary:hover {
  background: var(--tgr-soft);
}

.btn.danger {
  background: var(--tgr-red);
}

.actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ALERTS / EMPTY */

.empty,
.error,
.error-box,
.success-box,
.notice,
.product-error,
.tag-error,
.shop-error,
.products-error {
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 60px;
}

.empty {
  background: var(--tgr-white);
  border: 1px solid var(--tgr-border);
  color: var(--tgr-muted);
}

.error,
.error-box {
  background: var(--tgr-danger-bg);
  border: 1px solid var(--tgr-danger-border);
  color: var(--tgr-danger-text);
}

.success-box,
.notice {
  background: var(--tgr-success-bg);
  border: 1px solid var(--tgr-success-border);
  color: var(--tgr-success-text);
}

.product-error,
.tag-error,
.shop-error,
.products-error {
  background: var(--tgr-white);
  border: 1px solid var(--tgr-border);
  margin: 60px 0;
}

/* INDEX / HERO */

.hero {
  padding: 74px 0 54px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.stack {
  background: var(--tgr-white);
  border: 1px solid var(--tgr-border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.tile {
  aspect-ratio: 1;
  background: var(--tgr-black);
  border-radius: 10px;
}

.tile.blue { background: var(--tgr-blue); }
.tile.red { background: var(--tgr-red); }
.tile.orange { background: var(--tgr-orange); }
.tile.green { background: var(--tgr-green); }

.tile.light {
  background: var(--tgr-soft);
  border: 1px solid var(--tgr-border);
}

.section-head,
.shop-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 20px 0 18px;
}

.section-head h2,
.shop-section-head h2,
.info-box h2,
.dash-card h2,
.seller-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.section-head h2,
.shop-section-head h2 {
  font-size: 28px;
}

.section-head p,
.shop-section-head p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* PRODUCT PAGE */

.product-page,
.products-page,
.shop-page,
.tags-page,
.shops-page,
.dash-page,
.seller-page,
.form-page,
.page,
.checkout-page {
  padding: 58px 0 40px;
}

.product-hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.product-cover-card,
.product-info {
  border-radius: 26px;
  box-shadow: var(--tgr-shadow);
}

.product-cover-card {
  padding: 18px;
   display: flex;
    flex-direction: column;
}

.product-cover {
  border-radius: 18px;
      width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 18px;
}

.product-info {
  padding: 30px;
}

.product-dot,
.shop-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
}

.product-dot {
  background: var(--tgr-green);
}

.shop-dot {
  background: var(--tgr-orange);
}

.product-meta,
.shop-meta,
.products-meta,
.dash-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.product-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.info-box {
  border-radius: var(--tgr-radius-card);
  padding: 22px;
}

.info-box p,
.info-box li {
  color: var(--tgr-muted);
  line-height: 1.6;
  font-size: 15px;
}

.info-box ul {
  margin: 0;
  padding-left: 18px;
}

/* PRODUCTS / EXPLORE */

.products-hero {
  border-radius: var(--tgr-radius);
  padding: 34px;
  box-shadow: var(--tgr-shadow);
  margin-bottom: 30px;
}

.filter-shell {
  background: var(--tgr-white);
  border: 1px solid var(--tgr-border);
  border-radius: var(--tgr-radius-card);
  padding: 16px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.search-input {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--tgr-border);
  background: var(--tgr-bg);
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.search-input:focus {
  border-color: var(--tgr-blue);
  background: var(--tgr-white);
}

.filter-note {
  color: #666;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* TAGS */

.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--tgr-white);
  border: 1px solid var(--tgr-border);
  font-weight: 800;
  font-size: 14px;
  transition: .15s;
}

.tag-pill:hover {
  background: var(--tgr-blue);
  color: var(--tgr-white);
  border-color: var(--tgr-blue);
}

.tag-count {
  margin-left: 8px;
  font-size: 12px;
  opacity: .6;
}

.tag-meta {
  margin-top: 16px;
  font-size: 15px;
  color: var(--tgr-muted);
}

.tag-meta strong {
  color: var(--tgr-black);
}

/* SHOPS */

.shop-hero {
  border-radius: var(--tgr-radius);
  overflow: hidden;
  box-shadow: var(--tgr-shadow);
}

.shop-cover {
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(51,102,204,.95), rgba(0,153,51,.8)),
    var(--tgr-blue);
  position: relative;
}

.shop-cover.has-image {
  background-size: cover;
  background-position: center;
}

.shop-cover.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.25));
}

.shop-info {
  padding: 0 28px 28px;
  margin-top: -52px;
  position: relative;
  z-index: 2;
}

.shop-logo {
  width: 130px;
  height: 130px;
  border-radius: 24px;
  object-fit: cover;
  background: var(--tgr-white);
  border: 5px solid var(--tgr-white);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  display: block;
  margin-bottom: 18px;
}

.shop-card {
  padding: 20px;
}

.shop-name {
  font-size: 20px;
  margin-bottom: 6px;
}

.shop-meta {
  font-size: 13px;
  color: var(--tgr-muted);
}

/* AUTH */

.auth-wrap {
  padding: 70px 16px;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  border-radius: 24px;
  padding: 32px;
  background: var(--tgr-white);
  border: 1px solid var(--tgr-border);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.auth-title {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.05em;
}

.auth-sub {
  font-size: 14px;
  color: var(--tgr-muted);
  margin-bottom: 24px;
}

.auth-card form {
  width: 100%;
}

.form-group,
.field {
  margin-bottom: 16px;
}

.input,
.search-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--tgr-border);
  border-radius: 14px;
  background: var(--tgr-bg);
  color: var(--tgr-black);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  box-sizing: border-box;
}

.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
select {
  height: 52px;
  padding: 0 14px;
  line-height: normal;
}

textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
  line-height: 1.5;
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
  color: #777;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.input:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--tgr-blue);
  background: var(--tgr-white);
}

.auth-card .btn {
  width: 100%;
  height: 52px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
}

.auth-footer {
  margin-top: 16px;
  font-size: 14px;
  color: #fff;
  text-align: center;
}

.auth-footer a {
  color: var(--tgr-blue);
  font-weight: 900;
}

/* Browser autofill fix */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--tgr-black);
  box-shadow: 0 0 0 1000px var(--tgr-bg) inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* ACCOUNT / DASHBOARD */

.dash-hero,
.seller-hero {
  border-radius: var(--tgr-radius);
  padding: 34px;
  margin-bottom: 24px;
  box-shadow: var(--tgr-shadow);
}

.dash-grid {
  column-count: 2;
  column-gap: 24px;
}

.dash-grid > .dash-card {
  display: block;
  margin-bottom: 24px;

  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.seller-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.dash-card,
.seller-card,
.cardx {
  border-radius: var(--tgr-radius-card);
  padding: 22px;
}

.item,
.file-row {
  border-top: 1px solid var(--tgr-border);
  padding: 12px 0;
  color: var(--tgr-muted);
  font-size: 14px;
  line-height: 1.5;
}

.item strong,
.file-row strong {
  color: var(--tgr-black);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.stat {
  background: var(--tgr-soft);
  border: 1px solid var(--tgr-border);
  border-radius: 18px;
  padding: 18px;
}

.stat-number {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.stat-label {
  margin-top: 4px;
  color: var(--tgr-muted);
  font-size: 13px;
  font-weight: 800;
}

/* FILES / DOWNLOADS */

.cardx {
  border-radius: var(--tgr-radius);
  padding: 30px;
  box-shadow: var(--tgr-shadow);
  margin-bottom: 20px;
}

.file-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

/* CHECKOUT */

.checkout-card {
  max-width: 780px;
  border-radius: var(--tgr-radius);
  padding: 30px;
  box-shadow: var(--tgr-shadow);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
}

.cover {
  width: 160px;
  border-radius: 18px;
}

.pricex {
  margin-top: 18px;
  padding: 8px 12px;
  font-weight: 900;
}

.note {
  margin-top: 16px;
  color: var(--tgr-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* FOOTER */

.footer {
  margin-top: 80px;
  background:
    radial-gradient(circle at 12% 20%, rgba(0,191,255,.30), transparent 32%),
    radial-gradient(circle at 88% 15%, rgba(255,190,0,.18), transparent 28%),
    linear-gradient(120deg, #061f4f 0%, #16072f 42%, #4a073b 72%, #073b56 100%);
  border-top: 1px solid var(--tgr-border);
  color: #fff;
}

.footer-inner {
  padding: 48px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  margin-bottom: 28px;
}

.footer-brand {
  max-width: 360px;
}

.footer-title {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-head {
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: var(--tgr-black);
}

.footer-bottom {
  border-top: 1px solid var(--tgr-border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #fff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero,
  .product-hero,
  .product-sections,
  .shop-hero,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

    .dash-grid {
    column-count: 1;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-grid,
  .seller-grid {
    grid-template-columns: 1fr;
  }
 

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .cover {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: relative;
  }

  .navlinks {
    display: none;
    position: absolute;
    top: 58px;
    right: 0;
    width: min(260px, calc(100vw - 32px));
    background: var(--tgr-white);
    border: 1px solid var(--tgr-border);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    z-index: 50;
  }

  body.menu-open .navlinks {
    display: grid;
    gap: 4px;
  }

  .navlinks a {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .navlinks a:hover {
    background: var(--tgr-soft);
  }

  .row,
  .filter-shell {
    grid-template-columns: 1fr;
  }

  .filter-note {
    white-space: normal;
  }

  .shop-info,
  .product-info,
  .products-hero,
  .seller-hero,
  .dash-hero,
  .form-card,
  .cardx,
  .checkout-card {
    padding: 24px;
  }

  .shop-logo {
    width: 130px;
    height: 130px;
    border-radius: 20px;
  }

  .shop-section-head {
    align-items: start;
    flex-direction: column;
  }

  .file-row {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 48px 0 36px;
  }

  .product-page,
  .products-page,
  .shop-page,
  .tags-page,
  .shops-page,
  .dash-page,
  .seller-page,
  .form-page,
  .page,
  .checkout-page {
    padding-top: 34px;
  }

  .grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .dash-grid {
    columns: 1;
  }

  .product-actions .btn,
  .actions .btn,
  .actions .action-btn {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}


    .shop-cover {
      position: relative;
      overflow: hidden;
      border-radius: var(--tgr-radius-card);
      min-height: 280px;
      background:
        linear-gradient(135deg, rgba(51,102,204,.96), rgba(0,153,51,.8)),
        var(--tgr-blue);
      background-size: cover;
      background-position: center;
      border: 1px solid var(--tgr-border);
      box-shadow: var(--tgr-shadow);
    }

    .shop-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(
          to top,
          rgba(0,0,0,.65),
          rgba(0,0,0,.25),
          rgba(0,0,0,.08)
        );
    }

    .shop-head {
      position: relative;
      z-index: 2;
      padding: 36px;
      display: flex;
      gap: 28px;
      align-items: end;
      min-height: 280px;
    }

    .shop-logo {
      width: 130px;
      height: 130px;
      border-radius: 28px;
      overflow: hidden;
      flex-shrink: 0;
      border: 5px solid rgba(255,255,255,.95);
      background: rgba(255,255,255,.95);
      box-shadow: 0 18px 40px rgba(0,0,0,.28);
    }

    .shop-logo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .shop-title {
      color: #fff;
      margin: 0;
      font-size: clamp(36px, 5vw, 58px);
      line-height: .95;
      letter-spacing: -0.05em;
    }

    .shop-description {
      margin-top: 14px;
      max-width: 760px;
      color: rgba(255,255,255,.92);
      line-height: 1.7;
      font-size: 17px;
    }

    .shop-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
      margin-top: 28px;
    }

    .shop-card {
      background: var(--tgr-white);
      border-radius: var(--tgr-radius-card);
      border: 1px solid var(--tgr-border);
      overflow: hidden;
      box-shadow: var(--tgr-shadow);
      transition: transform .18s ease;
    }

    .shop-card:hover {
      transform: translateY(-4px);
    }

    .shop-card-cover {
      aspect-ratio: 16/10;
      background:
        linear-gradient(135deg, rgba(51,102,204,.95), rgba(255,137,0,.85)),
        var(--tgr-blue);
      background-size: cover;
      background-position: center;
    }

    .shop-card-body {
      padding: 22px;
    }

    .shop-card-title {
      margin: 0 0 10px;
      font-size: 24px;
      line-height: 1.15;
      letter-spacing: -0.04em;
    }

    .shop-card-desc {
      color: var(--tgr-muted);
      line-height: 1.6;
      margin: 0 0 18px;
    }

    .shop-card-meta {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .shop-card-meta span {
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(51,102,204,.08);
      color: var(--tgr-blue);
      font-size: 13px;
      font-weight: 600;
    }

    .shop-section {
      margin-top: 44px;
    }

    .shop-section h2 {
      margin-bottom: 20px;
      font-size: 36px;
      letter-spacing: -0.05em;
    }

    @media (max-width: 1000px) {
      .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 760px) {

      .shop-grid {
        grid-template-columns: 1fr;
      }

      .shop-head {
        flex-direction: column;
        align-items: start;
      }

      .shop-logo {
        width: 110px;
        height: 110px;
      }

      .shop-title {
        font-size: 42px;
      }
    }

/* Keep the mobile navigation above discovery sliders and product cards.
   The header itself needs a stacking level because its backdrop-filter
   creates a stacking context. */
.topbar {
  position: relative;
  z-index: 10000;
}

@media (max-width: 700px) {
  .topbar .navlinks {
    z-index: 10001;
  }
}

/* TAGULAR COLOR THEMES - appended after existing styles to preserve layout */
:root {
  --tgr-surface-glass: rgba(255,255,255,.82);
  --tgr-surface-solid: #fff;
  --tgr-text: #101116;
  --tgr-input: #f4f5f7;
}
html[data-theme="dark"] {
  --tgr-bg: #10131e;
  --tgr-bg-dark: #171b2a;
  --tgr-white: #202638;
  --tgr-black: #f4f6ff;
  --tgr-border: #3b455c;
  --tgr-muted: #bac4d5;
  --tgr-soft: #30394e;
  --tgr-surface-glass: rgba(23,29,44,.88);
  --tgr-surface-solid: #202638;
  --tgr-text: #f4f6ff;
  --tgr-input: #252d40;
  --tgr-shadow: 0 18px 50px rgba(0,0,0,.26);
  --tgr-shadow-hover: 0 16px 38px rgba(0,0,0,.38);
  --tgr-danger-bg: #40252d;
  --tgr-danger-border: #a35d67;
  --tgr-danger-text: #ffbfc7;
  --tgr-success-bg: #19382d;
  --tgr-success-border: #4d9674;
  --tgr-success-text: #a5e9be;
}
html[data-theme="dark"] body {background:#10131e;color:var(--tgr-text)}
html[data-theme="dark"] #tgr-bg-container {background:#10131e}
html[data-theme="dark"] .tgr-bg-layer {filter:brightness(.33) saturate(.8)}
html[data-theme="dark"] .topbar,
html[data-theme="dark"] .card,
html[data-theme="dark"] .shop-card,
html[data-theme="dark"] .info-box,
html[data-theme="dark"] .dash-card,
html[data-theme="dark"] .seller-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .checkout-card,
html[data-theme="dark"] .cardx,
html[data-theme="dark"] .products-hero,
html[data-theme="dark"] .shop-hero,
html[data-theme="dark"] .dash-hero,
html[data-theme="dark"] .seller-hero,
html[data-theme="dark"] .product-info,
html[data-theme="dark"] .product-cover-card {
  background:var(--tgr-surface-glass);
  color:var(--tgr-text);
  border-color:var(--tgr-border);
}
html[data-theme="dark"] .filter-shell,
html[data-theme="dark"] .tag-pill,
html[data-theme="dark"] .stack,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .plan-box,
html[data-theme="dark"] .plan-stat,
html[data-theme="dark"] .plan-app,
html[data-theme="dark"] .account-avatar {
  background:var(--tgr-surface-glass);
  color:var(--tgr-text);
  border-color:var(--tgr-border);
}
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .filter-note,
html[data-theme="dark"] .meta-pill,
html[data-theme="dark"] .shop-pill,
html[data-theme="dark"] .products-pill,
html[data-theme="dark"] .pill {color:var(--tgr-muted)}
html[data-theme="dark"] .search-input,
html[data-theme="dark"] .input,
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
 background:var(--tgr-input); color:var(--tgr-text);border-color:var(--tgr-border);
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {color:#abb6c9}
html[data-theme="dark"] .auth-footer {color:var(--tgr-muted)}
html[data-theme="dark"] .navlinks a:hover {color:#fff}
html[data-theme="dark"] .btn.secondary,
html[data-theme="dark"] .btn-secondary,
html[data-theme="dark"] .action-btn.secondary {color:var(--tgr-text)}
.tgr-theme-toggle {
 border:1px solid var(--tgr-border);background:var(--tgr-soft);
 color:var(--tgr-black);border-radius:12px;min-width:38px;height:38px;
 font-size:20px;cursor:pointer;display:inline-grid;place-items:center;
}
.tgr-theme-toggle:hover {filter:brightness(.92)}
.tgr-appearance-settings {margin-top:24px}
.tgr-appearance-settings select {max-width:250px;margin-top:8px}
.tgr-theme-hint {color:var(--tgr-muted);font-size:13px}

/* Appearance settings spacing */
.tgr-appearance-settings {margin-top:32px; padding:26px;}
.tgr-appearance-settings h2 {margin:0 0 16px;}
.tgr-appearance-settings > p {margin:0 0 20px;line-height:1.5;}
.tgr-theme-field {display:flex;flex-direction:column;gap:12px;max-width:320px;margin-bottom:24px;}
.tgr-theme-field label {font-weight:750;}
.tgr-appearance-settings .tgr-theme-field select {max-width:320px;margin:0;}
.tgr-theme-actions {display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:20px;}
.tgr-theme-actions .btn {min-width:165px;}
#tgr-theme-save-status {color:var(--tgr-muted);font-size:14px;}
.tgr-appearance-settings .tgr-theme-hint {margin:0;color:var(--tgr-muted);font-size:13px;}

/* v3: ensure spacing between account dashboard and appearance */
.dash-page > .account-dashboard + .tgr-appearance-settings { margin-top: 28px !important; }
