/* === Стили страниц: каталог, PDP, продавец, портал, checkout === */
/* =================================================================
   PAGE-SPECIFIC STYLES — Package 1 (listing, seller, shops)
   ================================================================= */

.listing-head { padding: 20px 0 12px; }
  .listing-head .crumbs { margin-bottom: 12px; }
  .listing-head .row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .listing-head h1 { font-size: 24px; }
  @media (min-width: 768px) { .listing-head h1 { font-size: 32px; } }
  .listing-head .count { color: var(--c-n-500); font-size: 14px; }

  .filter-bar {
    position: sticky; top: 56px; z-index: 30;
    padding: 16px 0; background: var(--c-n-50);
    border-bottom: 1px solid var(--c-n-100);
  }
  @media (min-width: 768px) { .filter-bar { top: 78px; } }

  .filter-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-row { scrollbar-width: none; }

  .sale-toggle {
    display: inline-flex; align-items: center; gap: 12px;
    height: 42px; padding: 0 8px 0 16px; border-radius: 999px;
    background: linear-gradient(95deg, var(--c-sale) 0%, var(--c-a-500) 100%);
    color: white; border: 0; font: inherit;
    font-size: 13px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(239,68,68,0.25);
    flex-shrink: 0;
  }
  .sale-toggle .switch {
    width: 32px; height: 20px; border-radius: 10px;
    background: rgba(255,255,255,0.25); padding: 2px; position: relative;
    transition: background .2s;
  }
  .sale-toggle .switch::after {
    content: ''; width: 16px; height: 16px; border-radius: 50%;
    background: white; position: absolute; right: 2px; transition: right .2s;
  }
  .sale-toggle.off .switch { background: rgba(0,0,0,0.2); }
  .sale-toggle.off .switch::after { right: auto; left: 2px; }
  .sale-toggle.off { background: white; color: var(--c-sale); box-shadow: var(--sh-sm); border: 1px solid var(--c-n-200); }

  .filter-pill {
    display: inline-flex; align-items: center; gap: 6px;
    height: 42px; padding: 0 16px; border-radius: 999px;
    background: white; border: 1px solid var(--c-n-200);
    color: var(--c-n-800); font: inherit; font-size: 14px; font-weight: 500;
    flex-shrink: 0; cursor: pointer; transition: all .15s;
  }
  .filter-pill:hover { border-color: var(--c-n-300); }
  .filter-pill.active { background: var(--c-p-600); color: white; border-color: var(--c-p-600); }
  .filter-pill svg { flex-shrink: 0; }

  .view-toggle {
    display: flex; gap: 4px; background: white; padding: 4px;
    border-radius: 10px; border: 1px solid var(--c-n-200); margin-left: auto;
    flex-shrink: 0;
  }
  .view-toggle button {
    width: 34px; height: 34px; border: 0; background: transparent;
    border-radius: 7px; color: var(--c-n-500); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .view-toggle button.active { background: var(--c-p-50); color: var(--c-p-700); }
  @media (max-width: 600px) { .view-toggle { display: none; } }

  .active-tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
  .active-tag {
    display: inline-flex; align-items: center; gap: 6px;
    height: 30px; padding: 0 8px 0 12px; border-radius: 999px;
    background: var(--c-p-600); color: white; font-size: 13px; font-weight: 500;
    border: 0; cursor: pointer; font-family: inherit;
  }
  .active-tag svg { flex-shrink: 0; }
  .clear-all {
    align-self: center; padding: 0 8px;
    font-size: 13px; color: var(--c-b-700); cursor: pointer;
    background: transparent; border: 0; font-weight: 500; font-family: inherit;
  }

  .listing-body { padding: 24px 0; }
  .promo-inline {
    margin: 20px 0; padding: 18px;
    background: linear-gradient(95deg, var(--c-a-100) 0%, var(--c-a-50) 100%);
    border: 1px solid var(--c-a-200); border-radius: var(--r-xl);
    display: flex; align-items: center; gap: 16px;
  }
  @media (max-width: 600px) { .promo-inline { flex-direction: column; align-items: flex-start; gap: 12px; } }
  .promo-inline .logo {
    width: 56px; height: 56px; border-radius: 12px; background: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; color: var(--c-a-700); flex-shrink: 0;
  }
  .promo-inline .text { flex: 1; }
  .promo-inline .eyebrow { font-size: 11px; color: var(--c-a-800); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
  .promo-inline h3 { margin-top: 4px; }
  .promo-inline p { font-size: 13px; color: var(--c-n-600); margin-top: 4px; }

  .mobile-filter-fab {
    position: fixed; bottom: 90px; right: 16px; z-index: 50;
    background: var(--c-p-600); color: white; border: 0;
    padding: 12px 18px; border-radius: 999px; font: inherit;
    font-weight: 600; font-size: 14px;
    box-shadow: 0 8px 24px rgba(5,150,105,0.4);
    display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer;
  }
  @media (min-width: 768px) { .mobile-filter-fab { display: none; } }

  /* Side drawer for filters — desktop slides from right, mobile from bottom */
  .sheet-overlay {
    position: fixed; inset: 0; background: rgba(15,23,42,0.5);
    z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .sheet-overlay.open { opacity: 1; pointer-events: auto; }
  .sheet {
    position: fixed; z-index: 201;
    background: white;
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    display: flex; flex-direction: column;
    transition: transform .3s cubic-bezier(.2,.7,.3,1);
  }
  /* Desktop: right side drawer */
  @media (min-width: 768px) {
    .sheet {
      top: 0; right: 0; bottom: 0;
      width: 420px; max-width: 90vw;
      transform: translateX(100%);
      border-radius: 0;
    }
    .sheet.open { transform: translateX(0); }
  }
  /* Mobile: bottom sheet */
  @media (max-width: 767px) {
    .sheet {
      bottom: 0; left: 0; right: 0;
      max-height: 88vh;
      transform: translateY(100%);
      border-radius: 20px 20px 0 0;
      box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
    }
    .sheet.open { transform: translateY(0); }
  }
  .sheet-handle { width: 40px; height: 4px; background: var(--c-n-300); border-radius: 2px; margin: 12px auto 4px; flex-shrink: 0; }
  @media (min-width: 768px) { .sheet-handle { display: none; } }
  .sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 20px 12px; border-bottom: 1px solid var(--c-n-100);
    flex-shrink: 0;
  }
  @media (min-width: 768px) { .sheet-head { padding: 20px 24px 16px; } }
  .sheet-body { flex: 1; overflow-y: auto; padding: 0 20px; }
  @media (min-width: 768px) { .sheet-body { padding: 0 24px; } }
  .sheet-body .group { padding: 16px 0; border-bottom: 1px solid var(--c-n-100); min-width: 0; }
  .sheet-body .group h4 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .sheet-body .options { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  .sheet-body .input { min-width: 0; }
  .sheet-body .input input { width: 100%; min-width: 0; }
  .sheet-body > * { max-width: 100%; box-sizing: border-box; }
  .sheet-foot {
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--c-n-100);
    display: flex; gap: 10px; flex-shrink: 0;
  }
  @media (min-width: 768px) { .sheet-foot { padding: 16px 24px; } }.seller-cover {
    height: 200px; background: linear-gradient(135deg, #064E3B 0%, #047857 50%, #10B981 100%);
    position: relative; overflow: hidden;
  }
  @media (min-width: 768px) { .seller-cover { height: 240px; } }
  .seller-cover::before { content: ''; position: absolute; top: -40px; right: 80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.08); }
  .seller-cover::after { content: ''; position: absolute; bottom: -60px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(251,191,36,0.18); }
  .seller-cover .badge-row { position: absolute; top: 16px; right: var(--gutter); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); color: white; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; }
  @media (max-width: 600px) { .seller-cover .badge-row { font-size: 10px; padding: 4px 10px; right: var(--gutter); top: auto; bottom: 12px; } }
  .seller-cover .crumbs-top { padding-top: 20px; }
  .seller-cover .crumbs-top a, .seller-cover .crumbs-top span { color: rgba(255,255,255,0.85); }

  .seller-head { margin-top: -60px; position: relative; }
  .seller-head-inner { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
  .seller-logo {
    width: 110px; height: 110px; border-radius: 20px;
    background: white; border: 5px solid white;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; font-weight: 800; color: var(--c-p-700);
    box-shadow: var(--sh-lg); flex-shrink: 0;
  }
  @media (min-width: 768px) { .seller-logo { width: 140px; height: 140px; font-size: 48px; } }
  .seller-info { flex: 1; min-width: 220px; padding-bottom: 8px; }
  .seller-info h1 { font-size: 24px; }
  @media (min-width: 768px) { .seller-info h1 { font-size: 32px; } }
  .seller-meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; color: var(--c-n-600); font-size: 13px; flex-wrap: wrap; }
  .seller-meta strong { color: var(--c-n-900); }
  .seller-actions { display: flex; gap: 10px; padding-bottom: 8px; }
  .seller-desc { margin-top: 20px; font-size: 15px; color: var(--c-n-700); line-height: 1.55; max-width: 820px; }
  @media (min-width: 768px) { .seller-desc { font-size: 16px; } }

  .seller-tabs {
    display: flex; gap: 28px; margin-top: 24px; border-bottom: 1px solid var(--c-n-200);
    overflow-x: auto; scrollbar-width: none;
  }
  .seller-tabs::-webkit-scrollbar { display: none; }
  .seller-tab {
    padding: 14px 0; font-size: 14px; font-weight: 500; color: var(--c-n-500);
    background: transparent; border: 0; border-bottom: 2px solid transparent;
    cursor: pointer; font-family: inherit; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .seller-tab.active { color: var(--c-n-900); font-weight: 600; border-bottom-color: var(--c-p-600); }
  .seller-tab .n { font-size: 12px; color: var(--c-n-400); }

  .seller-subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

  /* Filter sidebar layout — inside default 1200px container */
  .products-layout { display: grid; gap: 20px; margin-top: 20px; }
  @media (min-width: 1024px) { .products-layout { grid-template-columns: 240px 1fr; gap: 24px; } }
  @media (min-width: 1024px) {
    .products-layout .product-grid { grid-template-columns: repeat(4, 1fr); }
  }
  .pf-side { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 18px; align-self: flex-start; min-width: 0; }
  @media (min-width: 1024px) { .pf-side { position: sticky; top: 100px; } }
  .pf-group { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--c-n-100); }
  .pf-group:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
  .pf-group h4 { font-size: 13px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
  .pf-group h4 svg { color: var(--c-n-400); }
  .pf-body { display: flex; flex-direction: column; gap: 10px; }
  .pf-body .checkbox { font-size: 13px; }
  .pf-body .checkbox .ct { color: var(--c-n-400); font-weight: 400; }
  .price-mini { display: flex; gap: 8px; }
  .price-mini .input { flex: 1; min-width: 0; height: 38px; padding: 4px 10px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; }
  .price-mini .input .l { font-size: 10px; color: var(--c-n-500); }
  .price-mini .input input { font-size: 13px; font-weight: 500; height: 16px; width: 100%; min-width: 0; }

  .photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
  @media (min-width: 600px) { .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
  .photo-grid .img { aspect-ratio: 1; border-radius: var(--r-lg); cursor: pointer; font-size: 10px; transition: transform .15s; }
  .photo-grid .img:hover { transform: scale(1.02); }

  .where-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
  @media (min-width: 768px) { .where-grid { grid-template-columns: 1fr 1fr; } }
  .map-mock {
    aspect-ratio: 16/9; border-radius: var(--r-xl);
    background: var(--c-p-50);
    background-image: repeating-linear-gradient(0deg, rgba(5,150,105,0.06) 0 1px, transparent 1px 60px),
                      repeating-linear-gradient(90deg, rgba(5,150,105,0.06) 0 1px, transparent 1px 60px);
    border: 1px solid var(--c-p-100); position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .map-mock .pin {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--c-p-600); color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    border: 3px solid white;
  }
  .contact-card { background: white; border-radius: var(--r-xl); border: 1px solid var(--c-n-100); padding: 24px; }
  .contact-card .row { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; }
  .contact-card .row .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--c-p-50); color: var(--c-p-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .contact-card .t { font-size: 14px; font-weight: 600; }
  .contact-card .s { font-size: 12px; color: var(--c-n-500); margin-top: 2px; }/* Account sub-pages shared styles (orders, favorites, chats, my-ads, bonuses) */
.sub-page { padding: 20px 0 48px; }
.sub-layout { display: grid; gap: 20px; }
@media (min-width: 1024px) { .sub-layout { grid-template-columns: 260px 1fr; gap: 24px; } }

.sub-side { background: white; border-radius: var(--r-lg); border: 1px solid var(--c-n-100); padding: 8px; }
@media (min-width: 1024px) { .sub-side { position: sticky; top: 100px; align-self: flex-start; } }
.sub-side .row {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 8px; cursor: pointer; color: var(--c-n-800);
  font-weight: 500; font-size: 14px; text-decoration: none;
}
.sub-side .row:hover { background: var(--c-n-50); }
.sub-side .row.active { background: var(--c-p-50); color: var(--c-p-800); font-weight: 600; }
.sub-side .row.active svg { color: var(--c-p-700); }
.sub-side .row svg { color: var(--c-n-500); flex-shrink: 0; }
.sub-side .row .n { margin-left: auto; background: var(--c-sale); color: white; font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 700; }
@media (max-width: 1023px) {
  .sub-side { padding: 8px; overflow-x: auto; }
  .sub-side .rows { display: flex; gap: 4px; }
  .sub-side .row { flex-shrink: 0; white-space: nowrap; padding: 8px 12px; }
  .sub-side .row .n { margin-left: 0; }
}
@media (min-width: 1024px) { .sub-side .rows { display: flex; flex-direction: column; } }

.sub-content h1 { margin-bottom: 6px; }
.sub-content .sub-meta { font-size: 14px; color: var(--c-n-500); margin-bottom: 20px; }

/* Info / static page styles */
.info-hero {
  background: linear-gradient(135deg, var(--c-p-700) 0%, var(--c-p-500) 100%);
  color: white; padding: 36px 0 28px; position: relative; overflow: hidden;
}
.info-hero::before { content: ''; position: absolute; top: -40px; right: 80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.info-hero::after { content: ''; position: absolute; bottom: -80px; right: -20px; width: 200px; height: 200px; border-radius: 50%; background: rgba(251,191,36,0.18); }
.info-hero .container { position: relative; }
.info-hero h1 { color: white; font-size: 32px; letter-spacing: -0.025em; }
@media (min-width: 768px) { .info-hero h1 { font-size: 44px; } }
.info-hero p { color: rgba(255,255,255,0.85); margin-top: 10px; font-size: 16px; max-width: 720px; line-height: 1.5; }
.info-hero .crumbs a, .info-hero .crumbs span { color: rgba(255,255,255,0.85); }

.info-page { padding: 32px 0 48px; }
.info-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .info-layout { grid-template-columns: 1fr 280px; gap: 48px; } }

.info-body { font-size: 15px; line-height: 1.7; color: var(--c-n-700); max-width: 760px; }
.info-body p { margin: 0 0 14px; }
.info-body h2 { font-size: 22px; margin: 32px 0 14px; color: var(--c-n-900); }
.info-body h2:first-child { margin-top: 0; }
.info-body h3 { font-size: 17px; margin: 22px 0 10px; color: var(--c-n-900); }
.info-body ul { padding-left: 22px; margin: 12px 0; }
.info-body ul li { margin-bottom: 6px; }
.info-body strong { color: var(--c-n-900); font-weight: 600; }
.info-body a { color: var(--c-p-700); }

.info-toc { background: white; border-radius: var(--r-lg); border: 1px solid var(--c-n-100); padding: 18px; }
@media (min-width: 1024px) { .info-toc { position: sticky; top: 100px; align-self: flex-start; } }
.info-toc h4 { margin-bottom: 12px; font-size: 13px; }
.info-toc a { display: block; padding: 8px 0; font-size: 13px; color: var(--c-n-700); border-bottom: 1px solid var(--c-n-100); }
.info-toc a:last-child { border-bottom: 0; }
.info-toc a:hover { color: var(--c-p-700); }

.faq-item {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-md);
  margin-bottom: 10px; overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; font-size: 15px; font-weight: 600; cursor: pointer;
  background: transparent; border: 0; width: 100%; text-align: left; font-family: inherit;
}
.faq-q svg { color: var(--c-n-400); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--c-p-700); }
.faq-a {
  padding: 0 18px 18px; font-size: 14px; line-height: 1.6; color: var(--c-n-700); display: none;
}
.faq-item.open .faq-a { display: block; }

.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.feature .ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--c-p-100); color: var(--c-p-700);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature h3 { font-size: 16px; }
.feature p { font-size: 13px; color: var(--c-n-600); line-height: 1.45; margin: 0; }

/* Step list */
.steps { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.step-row {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
  padding: 20px; display: flex; gap: 16px; align-items: flex-start;
}
.step-row .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-p-600); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.step-row h3 { font-size: 16px; margin-bottom: 4px; }
.step-row p { font-size: 14px; color: var(--c-n-600); line-height: 1.5; margin: 0; }

/* CTA banner */
.cta-banner {
  margin: 32px 0; padding: 28px;
  background: linear-gradient(95deg, var(--c-p-700) 0%, var(--c-p-500) 100%);
  color: white; border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .cta-banner { padding: 36px 40px; flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-banner::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 35%; background: rgba(251,191,36,0.18); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: white; font-size: 26px; letter-spacing: -0.02em; }
.cta-banner p { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 6px; max-width: 480px; }

/* =================================================================
   EVENTS PAGES
   ================================================================= */

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: var(--r-full);
  background: var(--c-n-100); color: var(--c-n-700);
  font-size: 13px; font-weight: 500; border: 1px solid transparent;
  flex-shrink: 0; cursor: pointer; font-family: inherit; text-decoration: none;
}
.chip:hover { background: var(--c-n-200); }
.chip.active { background: var(--c-p-600); color: white; }
.chip.outline { background: white; border-color: var(--c-n-200); }

.ev-hero {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #8B5CF6 100%);
  padding: 28px 0; color: white; position: relative; overflow: hidden;
}
.ev-hero::before { content: ''; position: absolute; top: -40px; right: 80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.ev-hero::after { content: ''; position: absolute; bottom: -80px; right: -20px; width: 200px; height: 200px; border-radius: 50%; background: rgba(251,191,36,0.18); }
.ev-hero .container { position: relative; }
.ev-hero h1 { color: white; font-size: 32px; margin-top: 8px; letter-spacing: -0.025em; }
@media (min-width: 768px) { .ev-hero h1 { font-size: 44px; } }
.ev-hero p { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 6px; }
.ev-hero .crumbs a, .ev-hero .crumbs span { color: rgba(255,255,255,0.85); }

.ev-toolbar { padding: 16px 0; }
.ev-toolbar .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ev-toolbar .cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.ev-toolbar .cats::-webkit-scrollbar { display: none; }
.view-toggle {
  display: flex; gap: 4px; background: white; padding: 4px;
  border: 1px solid var(--c-n-200); border-radius: 10px;
}
.view-toggle button {
  padding: 8px 14px; border: 0; cursor: pointer; background: transparent;
  border-radius: 7px; color: var(--c-n-600); font: inherit; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.view-toggle button.active { background: var(--c-b-600); color: white; }
.filter-chip-active { background: var(--c-p-50) !important; color: var(--c-p-700) !important; border-color: var(--c-p-300) !important; }

.ev-featured {
  background: white; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--c-n-100); margin: 24px 0;
  transition: all .2s; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
@media (min-width: 768px) {
  .ev-featured { flex-direction: row; }
  .ev-featured .img { flex: 0 0 54%; }
  .ev-featured .body { flex: 1; min-width: 0; }
}
.ev-featured:hover { box-shadow: var(--sh-md); }
.ev-featured .img { aspect-ratio: 16/11; border-radius: 0; font-size: 14px; position: relative; min-height: 220px; overflow: hidden; }
.ev-featured .img img { width: 100%; height: 100%; object-fit: cover; }
.ev-featured .featured-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--c-sale); color: white;
  padding: 6px 14px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  z-index: 2;
}
.ev-featured .body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .ev-featured .body { padding: 28px 32px; } }
.ev-featured h2 { font-size: 22px; margin-top: 12px; line-height: 1.2; }
@media (min-width: 768px) { .ev-featured h2 { font-size: 26px; } }
.ev-featured .lead { font-size: 14px; color: var(--c-n-600); margin-top: 10px; line-height: 1.5; }
.ev-featured .meta-row { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--c-n-700); flex-wrap: wrap; }
.ev-featured .actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.ev-featured .count { font-size: 13px; color: var(--c-n-500); }

.date-section { margin-top: 32px; }
.date-section h3 { padding-bottom: 8px; border-bottom: 1px solid var(--c-n-200); margin-bottom: 14px; }

.ev-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .ev-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .ev-grid { grid-template-columns: repeat(4, 1fr); } }
.ev-card {
  background: white; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-n-100); cursor: pointer; transition: all .2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.ev-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.ev-card .img { aspect-ratio: 3/2; border-radius: 0; position: relative; font-size: 11px; overflow: hidden; }
.ev-card .img img { width: 100%; height: 100%; object-fit: cover; }
.ev-card .date-tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.95); border-radius: 8px; padding: 6px 10px; display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.ev-card .date-tag .d { font-size: 16px; font-weight: 700; color: var(--c-n-900); line-height: 1; }
.ev-card .date-tag .m { font-size: 9px; color: var(--c-n-600); text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.ev-card .free-tag { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.95); color: var(--c-p-700); padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 700; }
.ev-card .b { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ev-card .b .cat { font-size: 10px; color: var(--c-b-700); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.ev-card .b .t { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-card .b .p { font-size: 11px; color: var(--c-n-500); }
.ev-card .b .pr { font-size: 13px; font-weight: 600; margin-top: 4px; }

.pane { display: none; }
.pane.active { display: block; }

.cal-wrap { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 18px; margin: 24px 0; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.cal-head h3 { font-size: 18px; text-transform: capitalize; }
.cal-head .nav { display: flex; gap: 6px; }
.cal-head .nav button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--c-n-200); background: white; cursor: pointer; font-size: 16px; }
.cal-head .nav .today-btn { width: auto; padding: 0 14px; font-size: 13px; font-weight: 500; font-family: inherit; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { padding: 8px 4px; text-align: center; font-size: 11px; color: var(--c-n-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.cal-day {
  min-height: 76px; padding: 6px; border: 1px solid var(--c-n-100); border-radius: 8px;
  display: flex; flex-direction: column; gap: 4px;
  background: white; cursor: pointer; transition: all .15s; min-width: 0;
}
.cal-day:hover { background: var(--c-n-50); border-color: var(--c-n-200); }
.cal-day.empty { border-color: transparent; background: transparent; cursor: default; }
.cal-day.empty:hover { background: transparent; }
.cal-day.today { border-color: var(--c-b-600); border-width: 2px; padding: 5px; background: var(--c-b-50); }
.cal-day .d { font-size: 13px; font-weight: 600; color: var(--c-n-800); }
.cal-day.today .d { color: var(--c-b-800); }
.cal-day .e { font-size: 9px; padding: 2px 4px; border-radius: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
.cal-day .e.con { background: var(--c-warning-bg); color: var(--c-warning); }
.cal-day .e.cul { background: var(--c-b-100); color: var(--c-b-800); }
.cal-day .e.spt { background: var(--c-p-100); color: var(--c-p-800); }
.cal-day .e.kid { background: #EDE9FE; color: #5B21B6; }
.cal-day .e.fes { background: #FCE7F3; color: #9D174D; }
.cal-day .more { font-size: 10px; color: var(--c-n-500); margin-top: auto; }
@media (max-width: 600px) {
  .cal-day { min-height: 50px; padding: 4px; }
  .cal-day .e { display: none; }
  .cal-day.has-ev::after { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--c-b-600); margin: 4px auto 0; }
}

/* -- Event detail page -- */
.ev-page { padding: 16px 0 32px; }
.ev-cover .img {
  aspect-ratio: 21/9; border-radius: var(--r-xl); font-size: 16px;
  position: relative; overflow: hidden; background: var(--c-n-100);
}
.ev-cover .img img { width: 100%; height: 100%; object-fit: cover; }
.ev-cover .badges { position: absolute; top: 20px; left: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.ev-cover .badges > span { padding: 6px 14px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }
.ev-cover .actions { position: absolute; top: 20px; right: 20px; display: flex; gap: 8px; }
.ev-cover .actions .icon-btn { background: rgba(255,255,255,0.92); border: 0; }

.ev-layout { display: grid; gap: 32px; margin-top: 24px; }
@media (min-width: 1024px) { .ev-layout { grid-template-columns: 1fr 360px; gap: 40px; } }

.ev-title { font-size: 28px; line-height: 1.1; letter-spacing: -0.025em; }
@media (min-width: 768px) { .ev-title { font-size: 40px; } }
.ev-lead { font-size: 17px; color: var(--c-n-600); line-height: 1.55; margin-top: 16px; }

.meta-cards { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 600px) { .meta-cards { grid-template-columns: repeat(3, 1fr); } }
.meta-card {
  padding: 14px; background: var(--c-n-50); border-radius: var(--r-md);
  display: flex; align-items: center; gap: 10px;
}
.meta-card .ic {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--c-b-100); color: var(--c-b-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.meta-card .t { font-size: 14px; font-weight: 600; }
.meta-card .s { font-size: 12px; color: var(--c-n-500); margin-top: 2px; }

.programme { display: flex; flex-direction: column; gap: 0; margin-top: 14px; }
.prog-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-n-100); }
.prog-row:last-child { border-bottom: 0; }
.prog-row .time {
  width: 70px; flex-shrink: 0; height: fit-content;
  font-size: 14px; font-weight: 700; color: var(--c-b-700);
  background: var(--c-b-50); padding: 6px 10px; border-radius: 8px; text-align: center;
}
.prog-row h3 { font-size: 16px; }
.prog-row p { font-size: 13px; color: var(--c-n-500); margin-top: 4px; }

.how-grid { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 600px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-row { padding: 14px; background: var(--c-n-50); border-radius: 10px; display: flex; align-items: center; gap: 10px; }
.how-row .em { font-size: 22px; flex-shrink: 0; }
.how-row .t { font-size: 13px; font-weight: 600; }
.how-row .s { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }

.org-card {
  margin-top: 14px; display: flex; gap: 14px; align-items: center;
  padding: 18px; background: var(--c-n-50); border-radius: var(--r-md);
  flex-wrap: wrap;
}
.org-card .logo {
  width: 56px; height: 56px; border-radius: 12px; background: var(--c-b-600);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 20px; flex-shrink: 0;
}

.ev-side { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) { .ev-side { position: sticky; top: 100px; align-self: flex-start; } }
.price-block {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 22px;
}
.price-block .price { font-size: 32px; font-weight: 700; color: var(--c-p-700); letter-spacing: -0.02em; }
.price-block .price-sub { font-size: 13px; color: var(--c-n-500); margin-top: 2px; }
.going-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--c-n-100); }
.going-avs { display: flex; }
.going-avs .av {
  width: 30px; height: 30px; border-radius: 50%; color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px; border: 2px solid white; margin-left: -8px;
}
.going-avs .av:first-child { margin-left: 0; }

.cross-card { background: var(--c-p-50); border-radius: var(--r-lg); padding: 18px; border: 1px solid var(--c-p-100); }
.cross-card .head { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; font-size: 12px; font-weight: 700; color: var(--c-p-800); text-transform: uppercase; letter-spacing: 0.5px; }
.cross-card .items { display: flex; flex-direction: column; gap: 8px; }
.cross-card .item { display: flex; gap: 10px; background: white; padding: 8px; border-radius: 8px; align-items: center; text-decoration: none; color: inherit; }
.cross-card .item .img { width: 40px; height: 40px; font-size: 7px; flex-shrink: 0; }
.cross-card .item .ttl { font-size: 11px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cross-card .item .p { font-size: 13px; font-weight: 700; }
.cross-card .add { width: 28px; height: 28px; border-radius: 50%; background: var(--c-p-600); color: white; border: 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; }

.share-card { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 18px; }
.share-row { display: flex; gap: 8px; margin-top: 12px; }
.share-row button {
  flex: 1; height: 40px; border-radius: 8px; border: 0; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 700; color: white;
}

.similar-row { padding: 32px 0 0; }
.similar-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .similar-grid { grid-template-columns: repeat(4, 1fr); } }
.sim-card {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; transition: all .2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.sim-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.sim-card .img { aspect-ratio: 3/2; border-radius: 0; font-size: 10px; position: relative; overflow: hidden; }
.sim-card .img img { width: 100%; height: 100%; object-fit: cover; }
.sim-card .date-tag { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,0.95); padding: 4px 8px; border-radius: 6px; }
.sim-card .date-tag .d { font-size: 14px; font-weight: 700; line-height: 1; }
.sim-card .date-tag .m { font-size: 9px; text-transform: uppercase; font-weight: 700; margin-top: 1px; }
.sim-card .b { padding: 12px; }
.sim-card .cat { font-size: 10px; color: var(--c-b-700); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.sim-card .t { font-size: 13px; font-weight: 600; margin-top: 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.btn-sec { background: white; color: var(--c-p-700); border-color: var(--c-p-600); }
.btn-sec:hover { background: var(--c-p-50); }
.btn-xl { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }

/* =================================================================
   NEWS & ARTICLE PAGES (from mockups)
   ================================================================= */

/* --- Image placeholders --- */
.img {
  background-color: var(--c-n-100);
  background-image: repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 1px, transparent 1px 12px);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-n-500); font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; text-align: center; position: relative; overflow: hidden;
  border-radius: var(--r-md);
}
.img-warm { background-color: var(--c-a-50); background-image: repeating-linear-gradient(135deg, rgba(217,119,6,0.08) 0 1px, transparent 1px 12px); color: var(--c-a-700); }
.img-cool { background-color: var(--c-b-50); background-image: repeating-linear-gradient(135deg, rgba(37,99,235,0.08) 0 1px, transparent 1px 12px); color: var(--c-b-700); }
.img-green { background-color: var(--c-p-50); background-image: repeating-linear-gradient(135deg, rgba(5,150,105,0.08) 0 1px, transparent 1px 12px); color: var(--c-p-700); }
.img-purple { background-color: #EDE9FE; background-image: repeating-linear-gradient(135deg, rgba(124,58,237,0.08) 0 1px, transparent 1px 12px); color: #5B21B6; }

/* --- News listing --- */
.news-hero {
  background: linear-gradient(180deg, var(--c-b-50) 0%, white 100%);
  border-bottom: 1px solid var(--c-b-100);
  padding: 24px 0 16px;
}
.news-hero .label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: var(--c-b-600); color: white;
  border-radius: 6px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.news-hero h1 { color: var(--c-b-900); margin-top: 14px; }
.news-hero p { color: var(--c-n-600); margin-top: 6px; font-size: 14px; }

.news-cats { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; padding-bottom: 4px; }
.news-cats::-webkit-scrollbar { display: none; }

.news-layout { padding: 24px 0; display: grid; gap: 24px; }
@media (min-width: 1024px) { .news-layout { grid-template-columns: 1fr 320px; } }

.news-main-card {
  background: white; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--c-n-100); margin-bottom: 24px; cursor: pointer;
  transition: all .2s; text-decoration: none; color: inherit; display: block;
}
.news-main-card:hover { box-shadow: var(--sh-md); }
.news-main-card .img {
  aspect-ratio: 21/9; border-radius: 0; font-size: 14px; position: relative;
}
.news-main-card .featured-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--c-sale); color: white;
  padding: 6px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.news-main-card .body { padding: 20px; }
@media (min-width: 768px) { .news-main-card .body { padding: 28px; } }
.news-main-card h2 { margin-top: 10px; }
@media (min-width: 768px) { .news-main-card h2 { font-size: 28px; } }
.news-main-card .lead { font-size: 14px; color: var(--c-n-600); margin-top: 10px; line-height: 1.5; }
@media (min-width: 768px) { .news-main-card .lead { font-size: 16px; } }
.news-main-card .meta { display: flex; gap: 14px; margin-top: 14px; font-size: 12px; color: var(--c-n-500); flex-wrap: wrap; }

.news-grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .news-grid { grid-template-columns: 1fr 1fr; } }

.news-card {
  background: white; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-n-100); cursor: pointer; transition: all .2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.news-card .img { aspect-ratio: 16/9; border-radius: 0; font-size: 11px; }
.news-card .body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card h3 {
  font-size: 15px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .lead {
  font-size: 13px; color: var(--c-n-600); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .meta { display: flex; gap: 12px; margin-top: auto; font-size: 11px; color: var(--c-n-500); }

.news-list-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--c-n-100); cursor: pointer;
  text-decoration: none; color: inherit;
}
@media (min-width: 600px) { .news-list-row { grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; } }
.news-list-row .img { aspect-ratio: 4/3; border-radius: 8px; font-size: 9px; }
.news-list-row h3 { font-size: 16px; line-height: 1.3; margin-top: 6px; }
@media (min-width: 768px) { .news-list-row h3 { font-size: 20px; } }
.news-list-row .lead { font-size: 13px; color: var(--c-n-600); margin-top: 8px; line-height: 1.5; }
.news-list-row .meta { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--c-n-500); flex-wrap: wrap; }

/* Sidebar */
.side-card {
  background: white; border-radius: var(--r-lg); padding: 18px;
  border: 1px solid var(--c-n-100); margin-bottom: 14px;
}
.side-card h3 { font-size: 16px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.side-card h3 a { font-size: 12px; color: var(--c-b-700); font-weight: 500; }

.weather-card {
  background: linear-gradient(135deg, var(--c-b-100) 0%, var(--c-b-50) 100%);
  border-radius: var(--r-xl); padding: 18px; margin-bottom: 14px;
}
.weather-card .row { display: flex; align-items: center; gap: 14px; }
.weather-card .sun {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.5); color: var(--c-a-500);
  display: flex; align-items: center; justify-content: center;
}
.weather-card .temp { font-size: 32px; font-weight: 700; color: var(--c-n-900); letter-spacing: -0.02em; line-height: 1; }
.weather-card .desc { font-size: 12px; color: var(--c-n-600); margin-top: 4px; }
.weather-card .forecast { display: flex; gap: 6px; margin-top: 16px; justify-content: space-between; }
.weather-card .day { text-align: center; flex: 1; }
.weather-card .day .d { font-size: 11px; color: var(--c-n-500); }
.weather-card .day .t { font-size: 14px; font-weight: 600; margin-top: 4px; }

.events-side .ev-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--c-n-100); cursor: pointer; }
.events-side .ev-row:last-child { border-bottom: 0; }
.events-side .ev-date { width: 44px; padding: 4px; border-radius: 8px; background: var(--c-a-100); color: var(--c-a-800); text-align: center; flex-shrink: 0; }
.events-side .ev-date .d { font-size: 16px; font-weight: 700; line-height: 1; }
.events-side .ev-date .m { font-size: 9px; font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.events-side .ev-body { flex: 1; min-width: 0; }
.events-side .ev-title { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.events-side .ev-place { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }

.ads-side .ad-row { padding: 10px 0; border-bottom: 1px solid var(--c-n-100); cursor: pointer; }
.ads-side .ad-row:last-child { border-bottom: 0; }
.ads-side .ad-title { font-size: 13px; font-weight: 500; line-height: 1.3; }
.ads-side .ad-meta { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }

.promo-side {
  background: linear-gradient(135deg, var(--c-p-900) 0%, var(--c-p-700) 100%);
  color: white; border-radius: var(--r-lg); padding: 18px;
  position: relative; overflow: hidden;
}
.promo-side::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(251,191,36,0.18);
}
.promo-side .eyebrow { font-size: 11px; font-weight: 700; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.5px; }
.promo-side h3 { color: white; font-size: 16px; margin-top: 6px; }
.promo-side p { font-size: 12px; color: rgba(255,255,255,0.85); margin-top: 6px; }
.promo-side .btn { margin-top: 12px; background: var(--c-a-500); color: white; border: 0; }
.promo-side .btn:hover { background: var(--c-a-600); }

/* --- Article page --- */
.read-prog {
  position: sticky; top: 56px; z-index: 30;
  height: 3px; background: var(--c-n-100);
}
@media (min-width: 768px) { .read-prog { top: 78px; } }
.read-prog > div { height: 100%; background: var(--c-b-600); width: 0; transition: width .08s; }

.article {
  max-width: 760px; margin: 0 auto; padding: 24px 0;
}
@media (min-width: 768px) { .article { padding: 32px 0; } }
.article-head { padding-bottom: 24px; }
.article-head .crumbs { margin-bottom: 16px; }
.article-head .meta-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.article-head .meta-line .date { font-size: 13px; color: var(--c-n-500); }
.article-head h1 {
  font-size: 28px; line-height: 1.15; letter-spacing: -0.025em;
}
@media (min-width: 768px) { .article-head h1 { font-size: 40px; } }
.article-head .lead {
  font-size: 17px; color: var(--c-n-600); line-height: 1.5; margin-top: 14px;
  text-wrap: pretty;
}
@media (min-width: 768px) { .article-head .lead { font-size: 19px; } }

.author-row {
  display: flex; align-items: center; gap: 14px; margin-top: 24px;
  padding: 14px 0; border-top: 1px solid var(--c-n-100); border-bottom: 1px solid var(--c-n-100);
  flex-wrap: wrap;
}
.author-row .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-b-600); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.author-row .name { font-size: 13px; font-weight: 600; }
.author-row .role { font-size: 11px; color: var(--c-n-500); }
.author-row .stats {
  display: flex; gap: 14px; font-size: 13px; color: var(--c-n-500);
  margin-left: auto;
}
.author-row .actions { display: flex; gap: 6px; }

.article-cover {
  max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter);
}
.article-cover .img { aspect-ratio: 21/9; font-size: 16px; }
.article-cover .caption { font-size: 12px; color: var(--c-n-500); margin-top: 8px; font-style: italic; }

.article-body {
  max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 24px;
  font-size: 16px; line-height: 1.7; color: var(--c-n-800);
}
@media (min-width: 768px) { .article-body { font-size: 17px; } }
.article-body p { margin: 0 0 18px; }
.article-body h2 { font-size: 24px; margin-top: 32px; margin-bottom: 14px; }
@media (min-width: 768px) { .article-body h2 { font-size: 26px; } }
.article-body ul { margin: 14px 0 18px; padding-left: 22px; }
.article-body ul li { margin-bottom: 6px; }
.article-body blockquote {
  margin: 32px 0; padding: 20px 26px;
  border-left: 4px solid var(--c-b-600);
  background: var(--c-b-50); border-radius: 0 12px 12px 0;
  font-size: 18px; line-height: 1.5; font-style: italic;
}
.article-body blockquote footer { font-size: 13px; color: var(--c-n-500); margin-top: 12px; font-style: normal; }

.cross-promo {
  margin: 32px 0; padding: 20px;
  background: var(--c-p-50); border: 1px solid var(--c-p-100);
  border-radius: var(--r-lg);
}
.cross-promo .head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cross-promo .head svg { color: var(--c-p-700); }
.cross-promo .head .t { font-size: 13px; font-weight: 600; color: var(--c-p-900); }
.cross-promo .head .s { font-size: 11px; color: var(--c-p-800); }
.cross-promo .items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cross-promo .item { background: white; border-radius: 10px; padding: 8px; font-size: 12px; }
.cross-promo .item .img { aspect-ratio: 1; font-size: 8px; }
.cross-promo .item .p { font-weight: 700; margin-top: 6px; font-size: 14px; }
.cross-promo .item .n {
  font-size: 11px; color: var(--c-n-600); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.article-tags span {
  font-size: 13px; padding: 5px 12px;
  background: var(--c-n-100); color: var(--c-n-700);
  border-radius: 999px; cursor: pointer;
}

.share-bar {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  background: var(--c-n-50); border-radius: var(--r-lg);
  margin-top: 20px; flex-wrap: wrap;
}
.share-bar .lbl { font-size: 13px; font-weight: 600; flex-shrink: 0; }
.share-bar button {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--c-n-200);
  background: white; cursor: pointer; font-size: 13px; font-family: inherit;
  color: var(--c-n-700); font-weight: 500;
}
.share-bar button:hover { border-color: var(--c-n-300); background: white; }

.comments-section {
  background: var(--c-n-50); padding: 32px 0;
  border-top: 1px solid var(--c-n-100);
}
.comments-section .container { max-width: 760px; }
.comments-section h2 { margin-bottom: 20px; }

.comment-write { display: flex; gap: 12px; margin-bottom: 28px; }
.comment-write .avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--c-b-600); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.comment-write .body { flex: 1; }
.comment-write textarea {
  width: 100%; min-height: 80px; padding: 12px 14px;
  border: 1px solid var(--c-n-200); border-radius: var(--r-md);
  font-family: inherit; font-size: 14px; resize: vertical; background: white;
  transition: border-color .15s;
}
.comment-write textarea:focus { outline: none; /* focus-visible handles keyboard focus */ border-color: var(--c-p-600); }
.comment-write .actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; flex-wrap: wrap; gap: 8px;
}
.comment-write .hint { font-size: 12px; color: var(--c-n-500); }

.comment {
  display: flex; gap: 12px; margin-bottom: 20px;
}
.comment .avatar {
  width: 38px; height: 38px; border-radius: 50%; color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.comment .body { flex: 1; }
.comment .h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.comment .h strong { font-size: 14px; font-weight: 600; }
.comment .h .date { font-size: 12px; color: var(--c-n-500); }
.comment .text { font-size: 14px; line-height: 1.5; color: var(--c-n-800); margin-top: 4px; }
.comment .actions {
  display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--c-n-500);
}
.comment .actions span { cursor: pointer; }
.comment .actions .like { display: inline-flex; align-items: center; gap: 4px; }
.comment .actions .reply-link { color: var(--c-b-700); font-weight: 500; }

/* =================================================================
   PAGE-SPECIFIC STYLES — Cart & Checkout (decoded mockups)
   ================================================================= */

/* ----- Cart ----- */
.cart-page { padding: 20px 0; }
.cart-page h1 { font-size: 24px; }
@media (min-width: 768px) { .cart-page h1 { font-size: 32px; } }

.cart-layout { display: grid; gap: 20px; position: relative; z-index: 1; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 380px; gap: 24px; } }

.seller-group {
  background: white; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-n-100); margin-bottom: 12px;
  position: relative; z-index: 2;
}
.seller-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: var(--c-n-50);
  border-bottom: 1px solid var(--c-n-100);
}
.seller-head .logo {
  width: 36px; height: 36px; border-radius: 8px;
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.seller-head .info { flex: 1; min-width: 0; }
.seller-head .name { font-size: 14px; font-weight: 600; }
.seller-head .meta { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }
.seller-head .meta.free { color: var(--c-success); }
.seller-head a { font-size: 13px; color: var(--c-b-700); font-weight: 500; }
@media (max-width: 600px) { .seller-head a { display: none; } }

.free-prog { padding: 0 18px 12px; }
.free-prog .bar { height: 4px; background: var(--c-n-100); border-radius: 2px; overflow: hidden; }
.free-prog .bar > div { height: 100%; background: var(--c-p-500); transition: width .3s; }

.cart-row {
  display: flex; gap: 12px; padding: 16px 18px;
  border-bottom: 1px solid var(--c-n-100); align-items: flex-start;
  position: relative; z-index: 1;
}
.cart-row:last-child { border-bottom: 0; }
.cart-row .checkbox { margin-top: 4px; }
.cart-row-thumb {
  width: 72px; height: 72px; border-radius: var(--r-md); object-fit: cover;
  flex-shrink: 0; background: var(--c-n-100);
}
@media (min-width: 768px) { .cart-row-thumb { width: 88px; height: 88px; } }
.cart-row .body { flex: 1; min-width: 0; }
.cart-row .title { font-size: 13px; line-height: 1.4; color: var(--c-n-800); margin-bottom: 4px; }
@media (min-width: 768px) { .cart-row .title { font-size: 14px; } }
.cart-row .title a { color: inherit; }
.cart-row .title a:hover { color: var(--c-p-700); }
.cart-row .price-unit { font-size: 11px; color: var(--c-n-500); }
.cart-row .row-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; gap: 12px;
}
.cart-row .row-bottom .right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cart-row .total {
  font-size: 16px; font-weight: 700; color: var(--c-n-900); white-space: nowrap;
}
@media (min-width: 768px) { .cart-row .total { font-size: 18px; } }
.cart-row .actions-col { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.cart-row .actions-col .icon-btn { width: 44px; height: 44px; }
@media (max-width: 600px) { .cart-row .actions-col { display: none; } }

/* Summary card (shared with checkout) */
.summary {
  background: white; border-radius: var(--r-lg);
  border: 1px solid var(--c-n-100); padding: 22px;
  display: flex; flex-direction: column; gap: 0;
}
@media (min-width: 1024px) {
  .summary { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
}
.summary h3 { margin-bottom: 14px; }
.summary .btn-block { margin-top: 20px; position: static; }
.summary .row {
  display: flex; justify-content: space-between; font-size: 14px;
  padding: 5px 0;
}
.summary .row .v { color: var(--c-n-900); }
.summary .row.discount .v { color: var(--c-success); font-weight: 500; }
.summary .row .l { color: var(--c-n-600); }
.summary .total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px; margin-top: 12px; border-top: 1px solid var(--c-n-100);
}
.summary .total-row .l { font-size: 14px; color: var(--c-n-600); }
.summary .total-row .v {
  font-size: 28px; font-weight: 700; color: var(--c-n-900);
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .summary .total-row .v { font-size: 32px; } }

.promo-input { margin-top: 20px; position: static; z-index: auto; }
.promo-input .input { height: 44px; background: white; }
.promo-input .input input { font-size: 14px; }
.promo-input button {
  background: var(--c-p-50); color: var(--c-p-700); border: 0;
  padding: 6px 14px; border-radius: 6px; font-weight: 600;
  font-size: 12px; cursor: pointer; flex-shrink: 0; font-family: inherit;
}
.promo-input button:hover { background: var(--c-p-100); }

.lock-text { font-size: 12px; color: var(--c-n-500); display: flex; align-items: center; gap: 6px; margin-top: 16px; justify-content: center; position: static; z-index: auto; }

.bonus-card {
  background: var(--c-p-50); border-radius: var(--r-lg); padding: 14px;
  border: 1px solid var(--c-p-100); margin-top: 16px;
  display: flex; gap: 10px; position: static; z-index: auto;
}
.bonus-card svg { color: var(--c-p-700); flex-shrink: 0; }
.bonus-card .t { font-size: 13px; font-weight: 600; color: var(--c-p-900); }
.bonus-card .s { font-size: 12px; color: var(--c-p-800); margin-top: 2px; }

/* Empty state */
.empty {
  background: white; border-radius: var(--r-xl); padding: 48px 24px;
  text-align: center; border: 1px solid var(--c-n-100);
}
.empty .icon {
  width: 80px; height: 80px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--c-n-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-n-400);
}
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--c-n-600); margin-bottom: 20px; }

/* ----- Checkout ----- */
.co-page { padding: 20px 0; }
.stepper { display: flex; gap: 8px; align-items: center; margin: 16px 0 24px; flex-wrap: wrap; }
.stepper .step { display: flex; align-items: center; gap: 8px; }
.stepper .dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-n-100); color: var(--c-n-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.stepper .step.done .dot, .stepper .step.active .dot { background: var(--c-p-600); color: white; }
.stepper .step.active .dot { box-shadow: 0 0 0 4px rgba(5,150,105,0.15); }
.stepper .step .lbl { font-size: 13px; font-weight: 500; color: var(--c-n-500); }
.stepper .step.done .lbl, .stepper .step.active .lbl { color: var(--c-n-900); font-weight: 600; }
.stepper .line { flex: 0 0 30px; height: 2px; background: var(--c-n-200); }
.stepper .step.done + .line { background: var(--c-p-300); }
@media (max-width: 600px) { .stepper .line { flex: 0 0 16px; } .stepper .lbl { display:none; } .stepper .step.active .lbl { display:inline; } }

.co-layout { display: grid; gap: 16px; }
@media (min-width: 1024px) { .co-layout { grid-template-columns: 1fr 380px; gap: 24px; } }

.co-card { background: white; border-radius: var(--r-lg); border: 1px solid var(--c-n-100); padding: 20px; margin-bottom: 16px; }
@media (min-width: 768px) { .co-card { padding: 24px; } }
.co-card.active { border: 2px solid var(--c-p-300); }
.co-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.co-card h3 .num { width: 24px; height: 24px; border-radius: 50%; background: var(--c-p-600); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.co-card h3 .done { background: var(--c-success); }

.delivery-opts { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .delivery-opts { grid-template-columns: repeat(3, 1fr); } }
.delivery-opt {
  padding: 14px; border-radius: var(--r-md); cursor: pointer;
  border: 1px solid var(--c-n-200); background: white;
  display: flex; align-items: center; gap: 12px;
  transition: all .15s; position: relative;
}
.delivery-opt:hover { border-color: var(--c-n-300); }
.delivery-opt:has(input:checked) { border-color: var(--c-p-600); border-width: 2px; padding: 13px; background: var(--c-p-50); }
.delivery-opt svg { color: var(--c-n-500); flex-shrink: 0; }
.delivery-opt:has(input:checked) svg { color: var(--c-p-700); }
.delivery-opt .t { font-size: 14px; font-weight: 600; }
.delivery-opt .s { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }
.delivery-opt input { position: absolute; opacity: 0; }

.pickup-info { padding: 14px; background: var(--c-p-50); border-radius: 10px; border: 1px solid var(--c-p-100); margin-top: 12px; }
.pickup-info .t { font-size: 13px; font-weight: 600; color: var(--c-p-900); display:flex; align-items:center; gap: 6px; }
.pickup-info .s { font-size: 12px; color: var(--c-p-800); margin-top: 6px; }

.date-row { display: flex; gap: 8px; flex-wrap: wrap; }
.date-cell { padding: 10px 14px; border: 1px solid var(--c-n-200); border-radius: 10px; cursor: pointer; background: white; position: relative; }
.date-cell:has(input:checked) { border-color: var(--c-p-600); border-width: 2px; padding: 9px 13px; background: var(--c-p-50); color: var(--c-p-800); }
.date-cell .s { font-size: 10px; color: var(--c-n-500); }
.date-cell:has(input:checked) .s { color: var(--c-p-700); }
.date-cell .d { font-size: 14px; font-weight: 600; }
.date-cell input { position: absolute; opacity: 0; }

.slot-row { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
@media (min-width: 600px) { .slot-row { grid-template-columns: repeat(4, 1fr); } }
.slot-cell { padding: 12px 8px; border: 1px solid var(--c-n-200); border-radius: 10px; cursor: pointer; background: white; font-weight: 600; font-size: 13px; text-align: center; transition: all .15s; position: relative; }
.slot-cell:hover { border-color: var(--c-n-300); }
.slot-cell:has(input:checked) { border-color: var(--c-p-600); border-width: 2px; padding: 11px 7px; background: var(--c-p-50); color: var(--c-p-800); }
.slot-cell input { position: absolute; opacity: 0; }

.pay-row { display: flex; flex-direction: column; gap: 10px; }
.pay-row label {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--c-n-50); border-radius: 10px; cursor: pointer;
  border: 2px solid transparent; transition: all .15s;
}
.pay-row label:has(input:checked) { background: var(--c-p-50); border-color: var(--c-p-600); }
.pay-row input { display: none; }
.pay-row .rad {
  width: 20px; height: 20px; border-radius: 50%; background: white;
  border: 1.5px solid var(--c-n-300); transition: all .15s; flex-shrink: 0;
}
.pay-row label:has(input:checked) .rad { border: 6px solid var(--c-p-600); }
.pay-row .ico { width: 40px; height: 28px; border-radius: 5px; background: white; border: 1px solid var(--c-n-200); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.pay-row .t { font-size: 14px; font-weight: 600; }
.pay-row .s { font-size: 12px; color: var(--c-n-500); margin-top: 2px; }

/* Checkout summary overrides/extensions */
.summary .group {
  display: flex; gap: 10px; align-items: center; padding: 10px 12px;
  background: var(--c-n-50); border-radius: 10px; margin-bottom: 8px;
}
.summary .group .logo { width: 28px; height: 28px; border-radius: 7px; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.summary .group .info { flex: 1; font-size: 12px; }
.summary .group .info strong { font-weight: 600; }
.summary .group .info .it { color: var(--c-n-500); }
.summary .sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.summary .sum-row.disc .v { color: var(--c-success); }
.summary .sum-row .l { color: var(--c-n-600); }
.summary .total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px; margin-top: 12px; border-top: 1px solid var(--c-n-100);
}
.summary .total .v { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }

/* =================================================================
   BUYER VIEWS — My Ads, Chats, Support
   ================================================================= */

.tabs-row { display: flex; gap: 8px; margin: 16px 0 20px; overflow-x: auto; padding-bottom: 4px; }
.tabs-row::-webkit-scrollbar { display: none; }
.tabs-row .chip span.cnt { margin-left: 4px; opacity: 0.6; }

.my-ad-card { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 14px; margin-bottom: 12px; display: grid; gap: 14px; grid-template-columns: 100px 1fr; }
@media (min-width: 600px) { .my-ad-card { grid-template-columns: 140px 1fr 180px; gap: 16px; padding: 16px; } }
.my-ad-card .img { aspect-ratio: 4/3; border-radius: 8px; font-size: 10px; }
.my-ad-card .info h3 { font-size: 15px; line-height: 1.3; }
.my-ad-card .info .meta { font-size: 12px; color: var(--c-n-500); margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.my-ad-card .info .stats { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--c-n-600); }
.my-ad-card .info .stats strong { color: var(--c-n-900); }
.my-ad-card .right { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 599px) { .my-ad-card .right { grid-column: 1 / -1; border-top: 1px solid var(--c-n-100); padding-top: 12px; } }
.my-ad-card .price { font-size: 18px; font-weight: 700; }
.my-ad-card .status { font-size: 11px; padding: 3px 8px; border-radius: 5px; font-weight: 700; align-self: flex-start; letter-spacing: 0.3px; }
.my-ad-card .status.active { background: var(--c-success-bg); color: var(--c-success); }
.my-ad-card .status.moderation { background: var(--c-warning-bg); color: var(--c-warning); }
.my-ad-card .status.archived { background: var(--c-n-100); color: var(--c-n-500); }
.my-ad-card .status.rejected { background: var(--c-error-bg); color: var(--c-error); }
.my-ad-card .actions { display: flex; gap: 6px; flex-wrap: wrap; }

.chat-wrap { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1fr; min-height: 620px; }
@media (min-width: 768px) { .chat-wrap { grid-template-columns: 320px 1fr; } }
@media (max-width: 767px) { .chat-wrap.show-chat .chat-list { display: none; } .chat-wrap:not(.show-chat) .chat-view { display: none; } }
.chat-list { border-right: 1px solid var(--c-n-100); display: flex; flex-direction: column; }
.chat-search { padding: 14px; border-bottom: 1px solid var(--c-n-100); }
.chat-items { flex: 1; overflow-y: auto; }
.chat-item { display: flex; gap: 10px; padding: 12px 14px; cursor: pointer; border-bottom: 1px solid var(--c-n-100); align-items: center; text-decoration: none; color: inherit; }
.chat-item:hover, .chat-item.active { background: var(--c-p-50); }
.chat-item .av { width: 40px; height: 40px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; overflow: hidden; }
.chat-item .av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.chat-item .body { flex: 1; min-width: 0; }
.chat-item .top { display: flex; justify-content: space-between; gap: 8px; }
.chat-item .name { font-size: 13px; font-weight: 600; color: var(--c-n-900); }
.chat-item .time { font-size: 10px; color: var(--c-n-500); flex-shrink: 0; }
.chat-item .last { font-size: 12px; color: var(--c-n-600); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.chat-item .unread { background: var(--c-sale); color: white; font-size: 9px; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; font-weight: 700; }

.chat-view { display: flex; flex-direction: column; }
.chat-header { padding: 14px 18px; border-bottom: 1px solid var(--c-n-100); display: flex; gap: 12px; align-items: center; }
.chat-header .back-btn { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--c-n-700); text-decoration: none; border-radius: 8px; transition: background .15s; }
.chat-header .back-btn:hover { background: var(--c-n-100); }
@media (min-width: 768px) { .chat-header .back-btn { display: none; } }
.chat-header .av { width: 38px; height: 38px; border-radius: 50%; background: var(--c-p-600); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; overflow: hidden; }
.chat-header .av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.chat-header .name { font-size: 14px; font-weight: 600; color: var(--c-n-900); }
.chat-header .status { font-size: 11px; color: var(--c-success); }
.chat-msgs { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 400px; max-height: 60vh; background: var(--c-n-50); }
.msg-day { text-align: center; font-size: 11px; color: var(--c-n-500); padding: 6px; }
.msg { max-width: 75%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; position: relative; word-break: break-word; }
.msg.in { background: white; border: 1px solid var(--c-n-100); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--c-n-800); }
.msg.out { background: var(--c-p-600); color: white; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .when { font-size: 10px; opacity: 0.7; margin-top: 4px; }
.msg-product { background: var(--c-n-50); border-radius: 10px; padding: 8px; display: flex; gap: 10px; margin: 4px 0; cursor: pointer; border: 1px solid var(--c-n-100); }
.msg-product .img { width: 50px; height: 50px; font-size: 7px; flex-shrink: 0; }
.msg-product .info .t { font-size: 12px; color: var(--c-n-800); line-height: 1.3; }
.msg-product .info .p { font-size: 14px; font-weight: 700; margin-top: 4px; }

.chat-input { padding: 14px; border-top: 1px solid var(--c-n-100); display: flex; gap: 8px; align-items: center; background: white; }
.chat-input .input { flex: 1; height: 44px; }
.chat-input .send-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--c-p-600); color: white; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.chat-input .send-btn:hover { background: var(--c-p-700); }

/* =================================================================
   BUYER ACCOUNT PAGES
   ================================================================= */

/* Utilities */
.flash { padding: 14px 22px; border-radius: 12px; margin-bottom: 20px; font-size: .88rem; font-weight: 600; animation: fadeUp .3s ease; }
.flash-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.animate-in { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.card {
  background: white; border-radius: var(--r-lg);
  border: 1px solid var(--c-n-100); overflow: hidden;
}
.card-hover { transition: all .2s; cursor: pointer; }
.card-hover:hover { border-color: var(--c-n-200); box-shadow: var(--sh-md); transform: translateY(-2px); }
.divider { height: 1px; background: var(--c-n-100); }

/* Buttons missing variants */
.btn-ghost { background: transparent; color: var(--c-n-700); border: 1px solid transparent; }
.btn-ghost:hover { background: var(--c-n-100); }
/* Button variants */
.btn-danger { background: var(--c-error-bg, #FEE2E2); color: var(--c-error, #DC2626); border: 1px solid transparent; }
.btn-danger:hover { background: #FEE2E2; color: #B91C1C; }
.btn-success { background: var(--c-success-bg, #DCFCE7); color: var(--c-success, #16A34A); border: 1px solid transparent; }
.btn-success:hover { background: #DCFCE7; color: #15803D; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.btn-xl { padding: 16px 32px; font-size: 17px; border-radius: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.btn-soft { background: var(--c-n-100); color: var(--c-n-800); border: 1px solid transparent; }
.btn-soft:hover { background: var(--c-n-200); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-accent { background: var(--c-a-500); color: white; border: 1px solid transparent; }
.btn-accent:hover { background: var(--c-a-600); }
.btn-icon { padding: 10px; }

/* Badges missing variants */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
  padding: 3px 8px; border-radius: 5px; text-transform: uppercase;
}
.badge-local { background: var(--c-p-100); color: var(--c-p-700); }
.badge-farmer { background: var(--c-a-100); color: var(--c-a-800); }
.badge-hit { background: #E11D48; color: white; }
.badge-free { background: var(--c-p-100); color: var(--c-p-700); }
.badge-info { background: var(--c-b-100); color: var(--c-b-800); }
.badge-good {
  background: var(--c-a-500); color: white; font-size: 10px;
  letter-spacing: 0.5px; padding: 3px 7px; border-radius: 5px;
}

/* Table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--c-n-500); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--c-n-100); }
td { padding: 14px 16px; border-bottom: 1px solid var(--c-n-50); font-size: .88rem; }
tr:hover td { background: var(--c-n-50); }

/* Sub-page layout */
.sub-page { padding: 20px 0 48px; }
.sub-layout { display: grid; gap: 20px; }
@media (min-width: 1024px) { .sub-layout { grid-template-columns: 260px 1fr; gap: 24px; } }

.sub-side { background: white; border-radius: var(--r-lg); border: 1px solid var(--c-n-100); padding: 8px; }
@media (min-width: 1024px) { .sub-side { position: sticky; top: 100px; align-self: flex-start; } }
.sub-side .rows { display: flex; flex-direction: column; }
.sub-side .row {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 8px; cursor: pointer; color: var(--c-n-800);
  font-weight: 500; font-size: 14px; text-decoration: none;
}
.sub-side .row:hover { background: var(--c-n-50); }
.sub-side .row.active { background: var(--c-p-50); color: var(--c-p-800); font-weight: 600; }
.sub-side .row.active svg { color: var(--c-p-700); }
.sub-side .row svg { color: var(--c-n-500); flex-shrink: 0; }
.sub-side .row .n { margin-left: auto; background: var(--c-sale); color: white; font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 700; }
@media (max-width: 1023px) {
  .sub-side { padding: 8px; overflow-x: auto; }
  .sub-side .rows { display: flex; gap: 4px; flex-direction: row; }
  .sub-side .row { flex-shrink: 0; white-space: nowrap; padding: 8px 12px; }
  .sub-side .row .n { margin-left: 0; }
}

.sub-content h1 { margin-bottom: 6px; }
.sub-content .sub-meta { font-size: 14px; color: var(--c-n-500); margin-bottom: 20px; }

/* Account dashboard layout */
.acc-page { padding: 20px 0; }
.acc-layout { display: grid; gap: 20px; }
@media (min-width: 1024px) { .acc-layout { grid-template-columns: 260px 1fr; gap: 24px; } }

.acc-side { background: white; border-radius: var(--r-lg); border: 1px solid var(--c-n-100); padding: 8px; }
@media (min-width: 1024px) { .acc-side { position: sticky; top: 100px; align-self: flex-start; } }
.acc-side .rows { display: flex; flex-direction: column; }
.acc-side .row {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 8px; cursor: pointer; color: var(--c-n-800);
  font-weight: 500; font-size: 14px; text-decoration: none;
}
.acc-side .row:hover { background: var(--c-n-50); }
.acc-side .row.active { background: var(--c-p-50); color: var(--c-p-800); font-weight: 600; }
.acc-side .row.active svg { color: var(--c-p-700); }
.acc-side .row svg { color: var(--c-n-500); flex-shrink: 0; }
.acc-side .row .n { margin-left: auto; background: var(--c-sale); color: white; font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 700; }
@media (max-width: 1023px) {
  .acc-side { padding: 8px; overflow-x: auto; }
  .acc-side .rows { display: flex; gap: 4px; flex-direction: row; }
  .acc-side .row { flex-shrink: 0; white-space: nowrap; padding: 8px 12px; }
  .acc-side .row .n { margin-left: 0; }
}

.acc-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.acc-hero .avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-p-600) 0%, var(--c-a-500) 100%);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 24px;
}
@media (min-width: 768px) { .acc-hero .avatar { width: 80px; height: 80px; font-size: 32px; } }
.acc-hero h1 { font-size: 22px; }
@media (min-width: 768px) { .acc-hero h1 { font-size: 28px; } }
.acc-hero .meta { font-size: 13px; color: var(--c-n-500); margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }

.acc-cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 28px; }
@media (min-width: 600px) { .acc-cards { grid-template-columns: repeat(3, 1fr); } }
.acc-card {
  border-radius: var(--r-lg); padding: 18px;
  position: relative; overflow: hidden; min-height: 120px;
  border: 1px solid var(--c-n-100);
}
.acc-card .t { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.85; }
.acc-card .big { font-size: 28px; font-weight: 700; margin-top: 8px; letter-spacing: -0.02em; line-height: 1; }
.acc-card .s { font-size: 12px; margin-top: 8px; opacity: 0.85; }
.acc-card .bar { height: 4px; background: rgba(0,0,0,0.1); border-radius: 2px; margin-top: 12px; overflow: hidden; }
.acc-card .bar > div { height: 100%; background: linear-gradient(90deg, var(--c-p-500) 0%, var(--c-a-500) 100%); }

.acc-card.club { background: linear-gradient(135deg, #FEF3C7 0%, #FCD34D 100%); color: var(--c-a-900); border-color: var(--c-a-200); }
.acc-card.bonus { background: linear-gradient(135deg, #047857 0%, #10B981 100%); color: white; border-color: transparent; }
.acc-card.progress { background: white; color: var(--c-n-900); }

.orders-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .orders-grid { grid-template-columns: repeat(3, 1fr); } }

.quick-actions { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
@media (min-width: 768px) { .quick-actions { grid-template-columns: repeat(4, 1fr); } }
.qa-card {
  background: white; border-radius: var(--r-lg); border: 1px solid var(--c-n-100);
  padding: 14px; display: flex; align-items: center; gap: 10px;
  cursor: pointer; position: relative; transition: all .2s;
  text-decoration: none; color: inherit;
}
.qa-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.qa-card .ic { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qa-card .ic.primary { background: var(--c-p-100); color: var(--c-p-700); }
.qa-card .ic.sale { background: #FEE2E2; color: var(--c-error); }
.qa-card .ic.news { background: var(--c-b-100); color: var(--c-b-700); }
.qa-card .ic.accent { background: var(--c-a-100); color: var(--c-a-800); }
.qa-card .t { font-size: 13px; font-weight: 600; }
.qa-card .s { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }
.qa-card .badge { position: absolute; top: 10px; right: 10px; background: var(--c-sale); color: white; font-size: 10px; padding: 1px 6px; border-radius: 10px; font-weight: 700; }

/* Order cards (list & detail) */
.order-card {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
  padding: 18px; margin-bottom: 14px; cursor: pointer; transition: all .2s;
}
.order-card:hover { box-shadow: var(--sh-md); }
.order-card.active { border: 2px solid var(--c-p-300); padding: 17px; }
.order-card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.order-card .status { font-size: 11px; padding: 4px 10px; border-radius: 5px; font-weight: 700; letter-spacing: 0.4px; }
.order-card .status.primary { background: var(--c-p-600); color: white; }
.order-card .status.warning { background: var(--c-warning-bg); color: var(--c-warning); }
.order-card .status.info { background: #DBEAFE; color: var(--c-b-800); }
.order-card .status.success { background: var(--c-success-bg); color: var(--c-success); }
.order-card .status.error { background: var(--c-error-bg); color: var(--c-error); }
.order-card .meta-id { font-size: 12px; color: var(--c-n-500); }
.order-card h3 { font-size: 17px; }
.order-card .meta { font-size: 13px; color: var(--c-n-600); margin-top: 4px; }
.order-row {
  display: flex; gap: 12px; padding: 12px; background: var(--c-n-50); border-radius: 10px;
  align-items: center; margin-top: 14px;
}
.order-row .imgs { display: flex; gap: 6px; flex-shrink: 0; }
.order-row .imgs .img { width: 56px; height: 56px; font-size: 7px; }
.order-row .info { flex: 1; min-width: 0; }
.order-row .total { font-size: 18px; font-weight: 700; flex-shrink: 0; }
.order-card .ftr { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* Tabs row */
.tabs-row { display: flex; gap: 8px; margin: 16px 0 20px; overflow-x: auto; padding-bottom: 4px; }
.tabs-row::-webkit-scrollbar { display: none; }
.tabs-row .chip span.cnt { margin-left: 4px; opacity: 0.6; }

/* Timeline */
.timeline { display: flex; align-items: flex-start; gap: 0; margin: 20px 0; overflow-x: auto; }
.timeline::-webkit-scrollbar { display: none; }
.tl-step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; min-width: 90px; }
.tl-step .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--c-n-100); color: var(--c-n-500); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.tl-step.done .dot, .tl-step.active .dot { background: var(--c-p-600); color: white; }
.tl-step.active .dot { box-shadow: 0 0 0 5px rgba(5,150,105,0.15); }
.tl-step .lbl { font-size: 11px; font-weight: 600; color: var(--c-n-500); text-align: center; }
.tl-step.done .lbl, .tl-step.active .lbl { color: var(--c-n-900); }
.tl-step .when { font-size: 10px; color: var(--c-n-500); }
.tl-line { flex: 0 0 24px; height: 2px; background: var(--c-n-200); margin-top: 12px; }
.tl-line.done { background: var(--c-p-300); }

/* Bonuses */
.bal-card { background: linear-gradient(135deg, var(--c-p-700) 0%, var(--c-p-500) 100%); color: white; border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden; }
.bal-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(251,191,36,0.18); }
.bal-card .lbl { font-size: 12px; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.bal-card .val { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-top: 12px; }
@media (min-width: 768px) { .bal-card .val { font-size: 72px; } }
.bal-card .sub { font-size: 14px; opacity: 0.85; margin-top: 8px; }
.bal-card .actions { display: flex; gap: 8px; margin-top: 24px; position: relative; flex-wrap: wrap; }
.bal-card .actions .btn { background: rgba(255,255,255,0.18); color: white; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); }
.bal-card .actions .btn-accent { background: var(--c-a-500); border-color: var(--c-a-500); }

.level-card { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 24px; margin-top: 16px; }
.level-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 16px; position: relative; }
.level-cell { padding: 12px 8px; text-align: center; border-radius: 8px; }
.level-cell.done { background: var(--c-p-50); }
.level-cell.current { background: linear-gradient(135deg, var(--c-p-600) 0%, var(--c-a-500) 100%); color: white; }
.level-cell .pct { font-size: 18px; font-weight: 700; }
@media (min-width: 768px) { .level-cell .pct { font-size: 22px; } }
.level-cell .pr { font-size: 11px; opacity: 0.85; margin-top: 2px; }

.bar { height: 6px; background: var(--c-n-100); border-radius: 3px; overflow: hidden; margin-top: 16px; }
.bar > div { height: 100%; background: linear-gradient(90deg, var(--c-p-500) 0%, var(--c-a-500) 100%); }

.history-card { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 0; overflow: hidden; margin-top: 24px; }
.history-card h3 { padding: 18px 20px; border-bottom: 1px solid var(--c-n-100); }
.history-row { display: flex; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--c-n-100); align-items: center; }
.history-row:last-child { border-bottom: 0; }
.history-row .ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.history-row .ic.in { background: var(--c-success-bg); color: var(--c-success); }
.history-row .ic.out { background: var(--c-n-100); color: var(--c-n-700); }
.history-row .info { flex: 1; }
.history-row .t { font-size: 14px; font-weight: 500; }
.history-row .when { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }
.history-row .amt { font-size: 16px; font-weight: 700; }
.history-row .amt.in { color: var(--c-success); }
.history-row .amt.out { color: var(--c-n-700); }

.ref-card { background: linear-gradient(135deg, var(--c-a-100) 0%, var(--c-a-50) 100%); border: 1px solid var(--c-a-200); border-radius: var(--r-lg); padding: 24px; margin-top: 24px; }
.ref-card .eyebrow { font-size: 11px; color: var(--c-a-800); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.ref-card h2 { margin-top: 6px; color: var(--c-a-900); }
.ref-card p { font-size: 14px; color: var(--c-a-800); margin-top: 6px; }
.ref-code { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ref-code .input { flex: 1; min-width: 200px; max-width: 320px; height: 44px; background: white; }
.ref-code .input input { font-weight: 600; letter-spacing: 2px; }

/* Info / static page styles */
.info-hero {
  background: linear-gradient(135deg, var(--c-p-700) 0%, var(--c-p-500) 100%);
  color: white; padding: 36px 0 28px; position: relative; overflow: hidden;
}
.info-hero::before { content: ''; position: absolute; top: -40px; right: 80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.info-hero::after { content: ''; position: absolute; bottom: -80px; right: -20px; width: 200px; height: 200px; border-radius: 50%; background: rgba(251,191,36,0.18); }
.info-hero .container { position: relative; }
.info-hero h1 { color: white; font-size: 32px; letter-spacing: -0.025em; }
@media (min-width: 768px) { .info-hero h1 { font-size: 44px; } }
.info-hero p { color: rgba(255,255,255,0.85); margin-top: 10px; font-size: 16px; max-width: 720px; line-height: 1.5; }
.info-hero .crumbs a, .info-hero .crumbs span { color: rgba(255,255,255,0.85); }

.info-page { padding: 32px 0 48px; }
.info-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .info-layout { grid-template-columns: 1fr 280px; gap: 48px; } }

.info-body { font-size: 15px; line-height: 1.7; color: var(--c-n-700); max-width: 760px; }
.info-body p { margin: 0 0 14px; }
.info-body h2 { font-size: 22px; margin: 32px 0 14px; color: var(--c-n-900); }
.info-body h2:first-child { margin-top: 0; }
.info-body h3 { font-size: 17px; margin: 22px 0 10px; color: var(--c-n-900); }
.info-body ul { padding-left: 22px; margin: 12px 0; }
.info-body ul li { margin-bottom: 6px; }
.info-body strong { color: var(--c-n-900); font-weight: 600; }
.info-body a { color: var(--c-p-700); }

.info-toc { background: white; border-radius: var(--r-lg); border: 1px solid var(--c-n-100); padding: 18px; }
@media (min-width: 1024px) { .info-toc { position: sticky; top: 100px; align-self: flex-start; } }
.info-toc h4 { margin-bottom: 12px; font-size: 13px; }
.info-toc a { display: block; padding: 8px 0; font-size: 13px; color: var(--c-n-700); border-bottom: 1px solid var(--c-n-100); }
.info-toc a:last-child { border-bottom: 0; }
.info-toc a:hover { color: var(--c-p-700); }

.faq-item {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-md);
  margin-bottom: 10px; overflow: hidden;
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; font-size: 15px; font-weight: 600; cursor: pointer;
  background: transparent; border: 0; width: 100%; text-align: left; font-family: inherit;
}
.faq-q svg { color: var(--c-n-400); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--c-p-700); }
.faq-a {
  padding: 0 18px 18px; font-size: 14px; line-height: 1.6; color: var(--c-n-700); display: none;
}
.faq-item.open .faq-a { display: block; }

.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.feature .ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--c-p-100); color: var(--c-p-700);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature h3 { font-size: 16px; }
.feature p { font-size: 13px; color: var(--c-n-600); line-height: 1.45; margin: 0; }

.steps { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.step-row {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
  padding: 20px; display: flex; gap: 16px; align-items: flex-start;
}
.step-row .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-p-600); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.step-row h3 { font-size: 16px; margin-bottom: 4px; }
.step-row p { font-size: 14px; color: var(--c-n-600); line-height: 1.5; margin: 0; }

.cta-banner {
  margin: 32px 0; padding: 28px;
  background: linear-gradient(95deg, var(--c-p-700) 0%, var(--c-p-500) 100%);
  color: white; border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  position: relative; overflow: hidden;
}
@media (min-width: 768px) { .cta-banner { padding: 36px 40px; flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-banner::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 35%; background: rgba(251,191,36,0.18); clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: white; font-size: 26px; letter-spacing: -0.02em; }
.cta-banner p { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 6px; max-width: 480px; }

/* =================================================================
   RESPONSIVE
   ================================================================= */


@media (max-width: 1024px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar { display: none; }
    .product-top { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .header-main-inner { height: 56px; gap: 10px; }
    .btn-catalog span { display: none; }
    .btn-catalog { padding: 10px; }
    .header-actions { display: none; }
    .header-burger { display: flex; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .price-current { font-size: 16px; }
    .product-card-cart { padding: 8px; font-size: 13px; }
    .product-info-title { font-size: 20px; }
    .product-price-big { font-size: 26px; }
    .section-title { font-size: 18px; }
    .hero-banner { padding: 32px 20px; }
    .hero-banner h1 { font-size: 24px; }
    .hero-slide-content { padding: 32px 20px; }
    .hero-slide-content h1 { font-size: 24px; }
    .hero-slide { min-height: 220px; }
    .hero-slider { min-height: 220px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
    .mega-menu { position: fixed; inset: 0; top: var(--header-h); z-index: 98; max-height: none; border-radius: 0; }
    .mega-menu-inner { flex-direction: column; min-height: auto; height: 100%; }
    .mega-menu-left { width: 100%; border-right: none; border-bottom: 1px solid var(--c-border); max-height: 45vh; }
    .mega-menu-right { padding: 16px; max-height: 55vh; }
    .mega-sub-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-grid { gap: 8px; }
    .cat-tile { min-width: 140px; height: 100px; padding: 10px 12px; padding-right: 70px; }
    .cat-tile-visual { width: 60px; height: 60px; right: 6px; bottom: 6px; }
    .cat-tile-emoji { font-size: 36px; }
    .pdp-actions { gap: 8px; }
    .pdp-actions .btn-lg { padding: 0 14px; font-size: 15px; }
    .qty { height: 44px; }
    .qty button { width: 38px; }
}

@media (max-width: 360px) {
    .pdp-actions-row { flex-wrap: wrap; }
    .pdp-actions-row .qty { width: 100%; margin-bottom: 4px; }
    .pdp-actions-row .btn-lg { flex: 1 1 calc(50% - 4px); min-width: 120px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .header-logo .logo-text { display: none; }
    .header-search input { font-size: 14px; padding: 8px 10px; }
}


/* =================================================================
   PAGE-SPECIFIC STYLES — Shops listing (decoded mockup)
   ================================================================= */
.shops-head { padding: 24px 0 16px; }
.shops-head .row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

/* Hero metrics */
.shops-metrics { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin: 20px 0 24px; }
@media (min-width: 768px) { .shops-metrics { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.metric { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 16px; }
.metric .v { font-size: 28px; font-weight: 700; color: var(--c-p-700); letter-spacing: -0.02em; line-height: 1; }
.metric .l { font-size: 12px; color: var(--c-n-600); margin-top: 6px; }

/* Layout */
.shops-layout { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 1024px) { .shops-layout { grid-template-columns: 260px 1fr; gap: 24px; } }

/* Filter sidebar */
.shops-filters {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
  padding: 18px; align-self: flex-start;
}
@media (min-width: 1024px) { .shops-filters { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; } }
@media (max-width: 1023px) { .shops-filters { display: none; } }
.sf-group { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--c-n-100); }
.sf-group:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.sf-group h4 { font-size: 13px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.sf-group h4 svg { color: var(--c-n-400); }
.sf-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sf-body .checkbox { font-size: 13px; }
.sf-body .checkbox .ct { color: var(--c-n-400); font-weight: 400; }

/* Top filter row + search */
.shops-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.shops-search { flex: 1; min-width: 240px; height: 44px; }
.shops-search input { font-size: 14px; }

/* Sub-chips: top categories */
.top-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; }
.top-cats::-webkit-scrollbar { display: none; }

/* Featured shop banner */
.featured-shop {
  background: linear-gradient(95deg, var(--c-p-700) 0%, var(--c-p-500) 100%);
  border-radius: var(--r-xl); padding: 24px; color: white;
  position: relative; overflow: hidden; margin-bottom: 20px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.featured-shop::before { content: ''; position: absolute; top: -30px; right: -30px; width: 200px; height: 200px; border-radius: 50%; background: rgba(251,191,36,0.18); }
.featured-shop .featured-logo {
  width: 80px; height: 80px; border-radius: 18px; background: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 36px; color: var(--c-p-700); flex-shrink: 0;
  position: relative;
}
.featured-shop .info { position: relative; flex: 1; min-width: 240px; }
.featured-shop .eyebrow { font-size: 11px; font-weight: 700; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.5px; }
.featured-shop h2 { color: white; font-size: 22px; margin-top: 4px; }
.featured-shop p { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.featured-shop .meta { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; flex-wrap: wrap; }

/* Shops grid — full card override */
.shops-grid-full { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .shops-grid-full { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .shops-grid-full { grid-template-columns: 1fr 1fr 1fr; gap: 16px; } }

.shop-card-full {
  background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; transition: all .2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.shop-card-full:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.shop-card-full .cover { height: 110px; border-radius: 0; position: relative; font-size: 11px; overflow: hidden; }
.shop-card-full .cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-card-full .b { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-card-full .head { display: flex; align-items: center; gap: 12px; margin-top: -40px; position: relative; }
.shop-card-full .logo-big {
  width: 56px; height: 56px; border-radius: 14px; color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; flex-shrink: 0;
  border: 4px solid white;
}
.shop-card-full .stars { color: var(--c-a-500); }
.shop-card-full .rating-row { font-size: 12px; color: var(--c-n-500); display: flex; align-items: center; gap: 6px; }
.shop-card-full .name { font-size: 16px; font-weight: 600; margin-top: 4px; }
.shop-card-full .cat { font-size: 12px; color: var(--c-n-500); }
.shop-card-full .city { font-size: 12px; color: var(--c-n-600); display: inline-flex; align-items: center; gap: 4px; }
.shop-card-full .badges-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.shop-card-full .stats { display: flex; gap: 14px; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--c-n-100); font-size: 12px; color: var(--c-n-600); }
.shop-card-full .stats strong { color: var(--c-n-900); font-weight: 600; }

/* Mobile FAB */
.shops-fab {
  position: fixed; bottom: 90px; right: 16px; z-index: 50;
  background: var(--c-p-600); color: white; border: 0;
  padding: 12px 18px; border-radius: 999px; font: inherit;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 24px rgba(5,150,105,0.4);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
@media (min-width: 1024px) { .shops-fab { display: none; } }

/* =================================================================
   AUTH PAGE (login/register)
   ================================================================= */
.auth-page {
    min-height: 100vh; display: grid; grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .auth-page { grid-template-columns: 1fr 1fr; } }

.auth-hero {
    background: linear-gradient(135deg, #064E3B 0%, #047857 60%, #10B981 100%);
    padding: 24px; color: white; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 240px;
}
@media (min-width: 1024px) { .auth-hero { padding: 56px; min-height: auto; } }
.auth-hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.auth-hero::after { content: ''; position: absolute; bottom: 100px; left: -100px; width: 200px; height: 200px; border-radius: 50%; background: rgba(251,191,36,0.18); }
.auth-hero .content { position: relative; z-index: 1; }
.auth-hero .brand-block { display: flex; align-items: center; gap: 12px; }
.auth-hero .brand-block .mark { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.auth-hero .brand-block strong { font-size: 22px; font-weight: 700; }
.auth-hero h1 { color: white; font-size: 32px; line-height: 1.1; margin-top: 24px; letter-spacing: -0.02em; }
@media (min-width: 1024px) { .auth-hero h1 { font-size: 44px; } }
.auth-hero h1 .yellow { color: #FCD34D; }
.auth-hero p { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 12px; line-height: 1.5; max-width: 460px; }
@media (min-width: 1024px) { .auth-hero p { font-size: 17px; } }
.features { display: none; flex-direction: column; gap: 14px; margin-top: 32px; }
@media (min-width: 1024px) { .features { display: flex; } }
.features .f { display: flex; align-items: center; gap: 12px; }
.features .f .ic { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.features .f .t { font-size: 15px; color: rgba(255,255,255,0.92); }
.auth-hero .legal { position: relative; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 24px; }

.auth-forms { padding: 32px 24px; background: white; overflow-y: auto; }
@media (min-width: 1024px) { .auth-forms { padding: 56px; } }

.auth-step { padding: 24px 0; }
.auth-step + .auth-step { border-top: 1px dashed var(--c-n-200); margin-top: 12px; }
.auth-step .step-label { font-size: 11px; color: var(--c-n-500); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-bottom: 8px; }
.auth-step h2 { font-size: 22px; }
@media (min-width: 768px) { .auth-step h2 { font-size: 26px; } }
.auth-step .hint { font-size: 14px; color: var(--c-n-600); margin-top: 8px; }
.auth-step .hint a { color: var(--c-p-700); }

.phone-input { height: 52px !important; margin-top: 16px; }
.phone-input input { font-size: 17px; letter-spacing: 0.04em; }
.phone-input .prefix { font-size: 17px; font-weight: 600; color: var(--c-n-700); }
.agree { font-size: 12px; color: var(--c-n-500); margin-top: 8px; }
.agree a { color: var(--c-p-700); }

.divider-row { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.divider-row .line { flex: 1; height: 1px; background: var(--c-n-200); }
.divider-row span { font-size: 11px; color: var(--c-n-500); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }

.social-row { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.social-row button { height: 48px; border-radius: 10px; border: 1px solid var(--c-n-200); background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--c-n-800); font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .15s; }
.social-row button:hover { border-color: var(--c-n-300); }
.social-row button .ico { width: 18px; height: 18px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: white; font-size: 10px; font-weight: 700; }

.otp-row { display: flex; gap: 10px; margin-top: 16px; }
.otp-cell { flex: 1; max-width: 56px; height: 64px; border-radius: 12px; border: 1.5px solid var(--c-n-200); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; background: white; color: var(--c-n-900); transition: all .15s; }
.otp-cell.filled { border-color: var(--c-p-300); }
.otp-cell.active { border-color: var(--c-p-600); border-width: 2px; box-shadow: 0 0 0 4px rgba(5,150,105,0.15); }
.otp-cell .caret { width: 2px; height: 28px; background: var(--c-p-600); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

.resend { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--c-n-500); }

/* =================================================================
   ADS LISTING (classifieds index)
   ================================================================= */
.ads-head { padding: 24px 0 16px; }
.ads-head .row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

.cat-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
.cat-card { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: all .2s; text-decoration: none; color: inherit; }
.cat-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.cat-card .ic { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px; }
.cat-card .t { font-size: 13px; font-weight: 600; line-height: 1.25; }
.cat-card .n { font-size: 11px; color: var(--c-n-500); }

.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 24px 0 20px; }

.ad-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .ad-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .ad-grid { grid-template-columns: repeat(4, 1fr); } }

.ad-card { background: white; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-n-100); cursor: pointer; transition: all .2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.ad-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.ad-card .img { aspect-ratio: 4/3; border-radius: 0; position: relative; font-size: 10px; }
.ad-card .img > img { width: 100%; height: 100%; object-fit: cover; }
.ad-card .tag-top { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.3px; }
.ad-card .fav { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 0; display: flex; align-items: center; justify-content: center; color: var(--c-n-500); cursor: pointer; transition: all .15s; }
.ad-card .fav:hover { background: #fff; color: var(--c-danger); transform: scale(1.1); }
.ad-card .b { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ad-card .cat { font-size: 10px; color: var(--c-n-500); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.ad-card h3 { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-card .sub { font-size: 12px; color: var(--c-n-500); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ad-card .price { font-size: 18px; font-weight: 700; margin-top: 6px; }
.ad-card .foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--c-n-500); padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--c-n-100); }
.ad-card .foot .who { display: inline-flex; align-items: center; gap: 4px; }
.ad-card .foot .av { width: 18px; height: 18px; border-radius: 50%; background: var(--c-p-100); color: var(--c-p-700); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10px; }

/* =================================================================
   AD DETAIL (classifieds show)
   ================================================================= */
.ad-page { padding: 20px 0 32px; }
.ad-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .ad-layout { grid-template-columns: 1fr 360px; } }

.gal { display: grid; gap: 10px; grid-template-columns: 60px 1fr; }
@media (max-width: 600px) { .gal { grid-template-columns: 1fr; } }
.gal-thumbs { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 600px) { .gal-thumbs { display: none; } }
.gal-thumb { width: 56px; height: 56px; border-radius: 8px; border: 1.5px solid var(--c-n-200); overflow: hidden; cursor: pointer; padding: 0; background: transparent; }
.gal-thumb.active { border-color: var(--c-p-600); border-width: 2px; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-main { aspect-ratio: 4/3; border-radius: var(--r-xl); position: relative; overflow: hidden; background: var(--c-n-100); }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-main .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 0; display: flex; align-items: center; justify-content: center; color: var(--c-n-700); cursor: pointer; box-shadow: var(--sh-sm); }
.gal-main .prev { left: 12px; }
.gal-main .next { right: 12px; }
.gal-main .counter { position: absolute; bottom: 12px; right: 12px; background: rgba(15,23,42,0.7); color: white; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.gal-main .actions-tr { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; }
.gal-main .actions-tr button { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 0; display: flex; align-items: center; justify-content: center; color: var(--c-n-700); cursor: pointer; }
.gal-main .actions-tr button.active { color: var(--c-sale); }
.gal-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
@media (min-width: 600px) { .gal-dots { display: none; } }
.gal-dots button { width: 6px; height: 6px; border-radius: 3px; border: 0; background: var(--c-n-300); padding: 0; transition: all .15s; }
.gal-dots button.active { width: 18px; background: var(--c-p-600); }

.ad-title-row { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.ad-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--c-n-500); }
.ad-title { font-size: 24px; margin-top: 4px; line-height: 1.2; }
@media (min-width: 768px) { .ad-title { font-size: 30px; } }
.ad-pubdate { font-size: 12px; color: var(--c-n-500); margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }

.ad-price-block { margin-top: 18px; padding: 20px; background: linear-gradient(135deg, var(--c-a-50) 0%, white 100%); border: 1px solid var(--c-a-200); border-radius: var(--r-xl); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ad-price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 768px) { .ad-price { font-size: 40px; } }
.ad-price-sub { font-size: 12px; color: var(--c-a-800); margin-top: 4px; display: flex; align-items: center; gap: 6px; }

.ad-section { margin-top: 24px; }
.ad-section h2 { font-size: 20px; margin-bottom: 12px; }
.ad-description { font-size: 15px; line-height: 1.7; color: var(--c-n-700); }
.ad-description p { margin: 0 0 12px; }

.ad-specs { background: var(--c-n-50); border-radius: var(--r-lg); padding: 4px 16px; }
.ad-specs .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--c-n-200); font-size: 13px; }
.ad-specs .row:last-child { border-bottom: 0; }
.ad-specs .k { color: var(--c-n-500); }
.ad-specs .v { color: var(--c-n-900); font-weight: 500; }

.ad-map { aspect-ratio: 16/9; border-radius: var(--r-xl); background: var(--c-p-50); border: 1px solid var(--c-p-100); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ad-map .pin { width: 44px; height: 44px; border-radius: 50%; background: var(--c-p-600); color: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,0.2); border: 3px solid white; }

.ad-side { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1024px) { .ad-side { position: sticky; top: 100px; align-self: flex-start; } }

.contact-card { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 20px; }
.author-row { display: flex; align-items: center; gap: 12px; }
.author-row .av { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--c-p-600), var(--c-a-500)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; flex-shrink: 0; }
.author-row .name { font-size: 15px; font-weight: 600; }
.author-row .rating { font-size: 12px; color: var(--c-n-500); margin-top: 2px; }
.author-row .since { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }
.author-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-n-100); }
.author-stats .stat { font-size: 13px; }
.author-stats .stat strong { display: block; font-weight: 600; }
.author-stats .stat span { font-size: 11px; color: var(--c-n-500); }

.contact-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.phone-reveal { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--c-n-50); border-radius: var(--r-md); border: 1px solid var(--c-n-100); }
.phone-reveal .lbl { font-size: 13px; color: var(--c-n-600); }
.phone-reveal .num { font-size: 17px; font-weight: 700; color: var(--c-n-900); letter-spacing: 0.5px; }
.phone-reveal .num.hidden { color: var(--c-n-400); }

.safety-card { background: var(--c-b-50); border: 1px solid var(--c-b-200); border-radius: var(--r-lg); padding: 14px; }
.safety-card .head { display: flex; align-items: center; gap: 8px; }
.safety-card .head svg { color: var(--c-b-700); }
.safety-card h4 { color: var(--c-b-800); font-size: 13px; }
.safety-card p { font-size: 12px; color: var(--c-b-800); margin-top: 8px; line-height: 1.5; }

.report-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-n-500); margin-top: 12px; background: transparent; border: 0; cursor: pointer; padding: 4px 0; font-family: inherit; }
.report-link:hover { color: var(--c-error); }

/* =================================================================
   DIRECTORY / ORGANIZATIONS
   ================================================================= */
.dir-head { padding: 24px 0 16px; }
.dir-head .row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

.dir-layout { display: grid; gap: 16px; margin: 16px 0; }
@media (min-width: 1024px) { .dir-layout { grid-template-columns: 440px 1fr; gap: 16px; min-height: 720px; } }

.dir-list { display: flex; flex-direction: column; gap: 10px; max-height: 720px; overflow-y: auto; padding-right: 4px; }
@media (max-width: 1023px) { .dir-list { max-height: none; } }
.dir-list-head { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 14px; }
.org-card { background: white; border: 1px solid var(--c-n-100); border-radius: var(--r-lg); padding: 14px; display: flex; gap: 12px; cursor: pointer; transition: all .2s; }
.org-card:hover { box-shadow: var(--sh-md); transform: translateY(-1px); }
.org-card .logo { width: 50px; height: 50px; border-radius: 12px; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.org-card .info { flex: 1; min-width: 0; }
.org-card .top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.org-card .name { font-size: 14px; font-weight: 600; }
.org-card .open-status { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 700; letter-spacing: 0.3px; }
.org-card .open-status.open { background: var(--c-success-bg); color: var(--c-success); }
.org-card .open-status.closed { background: var(--c-error-bg); color: var(--c-error); }
.org-card .open-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.org-card .meta { font-size: 11px; color: var(--c-n-500); margin-top: 2px; }
.org-card .rating-row { display: flex; align-items: center; gap: 10px; font-size: 11px; margin-top: 6px; }
.org-card .rating-row .r { color: var(--c-n-800); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.org-card .rating-row .stars { color: var(--c-a-500); }
.org-card .tags { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.org-card .tags span { font-size: 10px; padding: 2px 7px; background: var(--c-n-100); color: var(--c-n-700); border-radius: 4px; }

.map-wrap { background: var(--c-p-50); background-image: repeating-linear-gradient(0deg, rgba(5,150,105,0.06) 0 1px, transparent 1px 60px), repeating-linear-gradient(90deg, rgba(5,150,105,0.06) 0 1px, transparent 1px 60px); border-radius: var(--r-lg); border: 1px solid var(--c-p-100); height: 540px; position: relative; overflow: hidden; }
@media (min-width: 1024px) { .map-wrap { position: sticky; top: 100px; height: 720px; } }
.map-pin { position: absolute; width: 38px; height: 38px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; border: 3px solid white; box-shadow: 0 6px 16px rgba(0,0,0,0.18); cursor: pointer; transform: translate(-50%, -100%); }
.map-balloon { position: absolute; transform: translate(-50%, calc(-100% - 8px)); background: white; border-radius: 10px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.18); border: 2px solid var(--c-p-600); min-width: 220px; pointer-events: none; }
.map-balloon::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 10px solid var(--c-p-600); }
.map-controls { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 4px; }
.map-controls button { width: 36px; height: 36px; background: white; border: 0; border-radius: 8px; box-shadow: var(--sh-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* =================================================================
   PROMOS
   ================================================================= */
.promo-hero { background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 50%, #DC2626 100%); color: white; padding: 36px 0 28px; position: relative; overflow: hidden; }
.promo-hero::before { content: ''; position: absolute; top: -40px; right: 100px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.promo-hero::after { content: ''; position: absolute; bottom: -80px; right: -20px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.promo-hero .container { position: relative; }
.promo-hero h1 { color: white; font-size: 36px; letter-spacing: -0.025em; }
@media (min-width: 768px) { .promo-hero h1 { font-size: 48px; } }
.promo-hero p { font-size: 16px; color: rgba(255,255,255,0.92); margin-top: 10px; }
.promo-hero .crumbs a, .promo-hero .crumbs span { color: rgba(255,255,255,0.85); }

.timer-card { background: linear-gradient(135deg, var(--c-sale) 0%, var(--c-a-600) 100%); color: white; border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
@media (min-width: 768px) { .timer-card { padding: 32px 40px; flex-direction: row; align-items: center; justify-content: space-between; } }
.timer-card .info { flex: 1; }
.timer-card .eyebrow { font-size: 12px; font-weight: 700; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.5px; }
.timer-card h2 { color: white; font-size: 26px; margin-top: 6px; letter-spacing: -0.02em; }
.timer-card p { font-size: 14px; opacity: 0.9; margin-top: 6px; }
.timer-card .timer { display: flex; gap: 8px; }
.timer-card .cell { background: rgba(255,255,255,0.18); backdrop-filter: blur(8px); border-radius: 12px; padding: 12px 14px; text-align: center; min-width: 64px; }
.timer-card .cell .val { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.timer-card .cell .lbl { font-size: 10px; opacity: 0.85; text-transform: uppercase; margin-top: 4px; letter-spacing: 0.5px; }

.promo-tile-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 600px) { .promo-tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promo-tile-grid { grid-template-columns: repeat(3, 1fr); } }
.promo-tile { border-radius: var(--r-xl); padding: 24px; color: white; position: relative; overflow: hidden; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; cursor: pointer; transition: transform .15s; }
.promo-tile:hover { transform: translateY(-3px); }
.promo-tile::before { content: ''; position: absolute; top: -30px; right: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.promo-tile .eyebrow { font-size: 10px; font-weight: 700; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.5px; position: relative; }
.promo-tile h3 { color: white; font-size: 20px; margin-top: 6px; position: relative; line-height: 1.15; }
.promo-tile .sub { font-size: 13px; opacity: 0.85; margin-top: 6px; position: relative; }
.promo-tile .when { font-size: 11px; opacity: 0.7; position: relative; margin-top: 12px; }

/* =================================================================
   ERROR / 404
   ================================================================= */
.error-page { padding: 80px 20px; text-align: center; }
.error-page .code { font-size: 80px; font-weight: 800; color: var(--c-n-200); line-height: 1; }
.error-page h1 { font-size: 28px; margin: 16px 0 8px; }
.error-page p { color: var(--c-n-500); margin-bottom: 24px; }


/* ═══ Accessibility: Reduced Motion ═══ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .card:hover, .shop-card:hover, .news-card:hover, .event-card:hover {
        transform: none !important;
    }
    .btn:hover {
        transform: none !important;
    }
    .mega-menu, .mega-sub-panel, .drawer, .bottom-sheet {
        animation: none !important;
    }
}

/* ═══ Accessibility: Focus Visible (только интерактивные элементы) ═══ */
:focus:not(:focus-visible) {
    outline: none; /* focus-visible handles keyboard focus */
}

/* ═══ Focus styles for interactive elements ═══ */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--c-p-500, #10b981);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* ═══ Skip to content link ═══ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--c-primary, #059669);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    top: 0;
}

/* ═══ Performance: will-change hints ═══ */
.site-header {
    will-change: transform;
}
.mega-menu {
    will-change: opacity, transform;
}
.drawer,
.bottom-sheet {
    will-change: transform;
}


/* ═══ Lazy loading images ═══ */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
    opacity: 1;
}

/* === SELLER PAGE FIXES === */
.seller-actions .btn {
    height: 44px; padding: 0 20px;
    border-radius: 10px; font-size: 14px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    white-space: nowrap; flex-shrink: 0;
}
.seller-actions .btn svg { flex-shrink: 0; }
.seller-actions .btn-sec {
    background: white; color: var(--c-p-700);
    border: 2px solid var(--c-p-300);
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.seller-actions .btn-sec:hover {
    background: var(--c-p-50); border-color: var(--c-p-500);
    box-shadow: 0 2px 8px rgba(5,150,105,.15);
}
.seller-actions .btn-primary {
    background: linear-gradient(135deg, var(--c-p-600) 0%, var(--c-p-700) 100%);
    color: white; border: none;
    box-shadow: 0 2px 8px rgba(5,150,105,.3);
}
.seller-actions .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(5,150,105,.4);
    transform: translateY(-1px);
}
@media (max-width: 767px) {
    .seller-head-inner { flex-direction: column; align-items: stretch; }
    .seller-logo { margin: 0 auto; }
    .seller-info { text-align: center; }
    .seller-meta { justify-content: center; }
    .seller-actions { justify-content: center; margin-top: 8px; }
}

/* ═══════════════════════════════════════════════
   SELLER PAGE — FULL REDESIGN
   ═══════════════════════════════════════════════ */

/* --- Wrapper --- */
.seller-wrap { padding-bottom: 40px; }

/* --- Cover (already defined above, keep as-is) --- */
.seller-cover .crumbs-top { padding-top: 16px; padding-bottom: 16px; }
.seller-cover .crumbs a,
.seller-cover .crumbs span { color: rgba(255,255,255,.8); font-size: 13px; }
.seller-cover .crumbs a:hover { color: #fff; }
.seller-cover .badge-row {
    position: absolute; bottom: 16px; left: var(--gutter, 16px);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px); color: #fff;
    border-radius: 999px; font-size: 11px; font-weight: 600;
    letter-spacing: .3px; transition: background .2s;
}
.seller-cover .badge-row:hover { background: rgba(255,255,255,.28); }
@media (max-width: 600px) {
    .seller-cover { height: 160px; }
    .seller-cover .badge-row { bottom: 12px; left: 12px; font-size: 10px; padding: 4px 10px; }
}

/* --- Seller Head --- */
.seller-head {
    display: flex; align-items: flex-end; gap: 20px;
    padding: 24px 0 20px; flex-wrap: wrap;
}
.seller-logo {
    width: 100px; height: 100px; border-radius: 18px;
    background: white; border: 4px solid white;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; font-weight: 800; color: var(--c-p-700);
    flex-shrink: 0; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.seller-logo:hover { transform: scale(1.03); box-shadow: 0 6px 24px rgba(0,0,0,.15); }
.seller-logo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
    .seller-logo { width: 120px; height: 120px; font-size: 44px; border-radius: 20px; border-width: 5px; }
}
.seller-info { flex: 1; min-width: 200px; }
.seller-info h1 {
    font-size: 22px; font-weight: 700; color: var(--c-n-900);
    line-height: 1.25; margin-bottom: 2px;
}
@media (min-width: 768px) { .seller-info h1 { font-size: 28px; } }
.seller-cat { font-size: 13px; color: var(--c-n-500); margin-bottom: 6px; }
.seller-meta {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap; margin-top: 4px;
}
.meta-item {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; color: var(--c-n-600);
}
.meta-item strong { color: var(--c-n-900); }
.meta-link { color: var(--c-p-700); cursor: pointer; }
.meta-link:hover { text-decoration: underline; }

/* --- Actions --- */
.seller-actions {
    display: flex; gap: 10px; flex-shrink: 0;
    align-self: flex-end; padding-bottom: 4px;
}
.seller-actions .btn {
    height: 42px; padding: 0 18px; border-radius: 10px;
    font-size: 14px; font-weight: 600; display: inline-flex;
    align-items: center; gap: 7px; white-space: nowrap;
    transition: all .2s cubic-bezier(.4,0,.2,1); cursor: pointer;
    border: none; position: relative; overflow: hidden;
}
.seller-actions .btn:active { transform: scale(.97); }
.seller-btn-chat {
    background: white; color: var(--c-p-700);
    border: 2px solid var(--c-p-200);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.seller-btn-chat:hover {
    border-color: var(--c-p-400); background: var(--c-p-50);
    box-shadow: 0 2px 8px rgba(5,150,105,.12);
}
.seller-btn-sub {
    background: linear-gradient(135deg, var(--c-p-600), var(--c-p-700));
    color: white; box-shadow: 0 2px 8px rgba(5,150,105,.3);
}
.seller-btn-sub:hover {
    box-shadow: 0 4px 16px rgba(5,150,105,.4);
    transform: translateY(-1px);
}
.sub-count {
    margin-left: 2px; padding: 1px 7px;
    background: rgba(255,255,255,.2); border-radius: 5px;
    font-size: 11px; font-weight: 700;
}

/* --- Description --- */
.seller-desc {
    font-size: 14px; line-height: 1.6; color: var(--c-n-600);
    padding-bottom: 4px; max-width: 800px;
}
@media (min-width: 768px) { .seller-desc { font-size: 15px; } }

/* --- Tabs --- */
.seller-tabs-wrap {
    position: sticky; top: 0; z-index: 50;
    background: white; border-bottom: 1px solid var(--c-n-100);
    transition: box-shadow .2s;
}
.seller-tabs-wrap.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.seller-tabs {
    display: flex; gap: 0; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    border-bottom: none;
}
.seller-tabs::-webkit-scrollbar { display: none; }
.seller-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 14px 18px; font-size: 14px; font-weight: 500;
    color: var(--c-n-500); background: transparent;
    border: none; border-bottom: 2px solid transparent;
    cursor: pointer; font-family: inherit; white-space: nowrap;
    transition: color .2s, border-color .2s;
    position: relative; flex-shrink: 0;
}
.seller-tab:hover { color: var(--c-n-800); }
.seller-tab.active {
    color: var(--c-p-700); font-weight: 600;
    border-bottom-color: var(--c-p-600);
}
.seller-tab svg { opacity: .5; transition: opacity .2s; }
.seller-tab.active svg { opacity: 1; }
.tab-count {
    font-size: 11px; font-weight: 600;
    padding: 1px 6px; background: var(--c-n-100);
    border-radius: 999px; color: var(--c-n-500);
    transition: background .2s, color .2s;
}
.seller-tab.active .tab-count {
    background: var(--c-p-100); color: var(--c-p-700);
}

/* --- Tab Content --- */
.seller-content { padding-top: 24px; }
.seller-pane {
    display: none; animation: fadeUp .3s ease;
}
.seller-pane.active { display: block; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Products Layout --- */
.products-layout {
    display: grid; gap: 20px;
    grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
    .products-layout { grid-template-columns: 240px 1fr; gap: 24px; }
}
.products-main { min-width: 0; }
.products-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.products-count { font-size: 13px; color: var(--c-n-500); }
.products-count strong { color: var(--c-n-900); font-weight: 600; }

/* --- Sidebar (Info) --- */
.pf-side {
    background: white; border: 1px solid var(--c-n-100);
    border-radius: var(--r-lg); padding: 0; align-self: start;
    overflow: hidden; transition: box-shadow .2s;
}
.pf-side:hover { box-shadow: var(--sh-sm); }
@media (min-width: 1024px) {
    .pf-side { position: sticky; top: 60px; }
}
.pf-group { padding: 16px; }
.pf-group h4 {
    font-size: 13px; font-weight: 700; color: var(--c-n-800);
    margin-bottom: 12px; padding-bottom: 10px;
    border-bottom: 1px solid var(--c-n-100);
}
.pf-body { display: flex; flex-direction: column; gap: 0; }
.pf-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 8px 0; border-bottom: 1px solid var(--c-n-50);
    font-size: 13px; gap: 8px;
}
.pf-row:last-child { border-bottom: 0; }
.pf-label { color: var(--c-n-500); flex-shrink: 0; }
.pf-value { color: var(--c-n-800); font-weight: 500; text-align: right; word-break: break-word; }

/* --- Empty State --- */
.empty-state {
    text-align: center; padding: 48px 24px;
    color: var(--c-n-400);
}
.empty-state svg { margin: 0 auto 12px; opacity: .4; }
.empty-state p { font-size: 14px; }

/* --- About Content --- */
.about-content { max-width: 760px; }
.about-content h2 { font-size: 20px; margin-bottom: 14px; }
.about-content p { font-size: 15px; line-height: 1.7; color: var(--c-n-700); }

/* --- Reviews --- */
.reviews-header { margin-bottom: 24px; }
.reviews-header h2 { font-size: 20px; margin-bottom: 16px; }
.reviews-summary {
    display: flex; align-items: center; gap: 24px;
    padding: 20px; background: white;
    border: 1px solid var(--c-n-100); border-radius: var(--r-lg);
}
.reviews-avg { text-align: center; }
.reviews-num { font-size: 42px; font-weight: 800; color: var(--c-n-900); line-height: 1; }
.reviews-stars { color: #F59E0B; font-size: 16px; margin: 6px 0; }
.reviews-total { font-size: 13px; color: var(--c-n-500); }

/* --- Section --- */
.seller-section { padding: 32px 0; }
.seller-section-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }

/* --- Where Grid --- */
.where-grid {
    display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .where-grid { grid-template-columns: 1fr 1fr; } }
.map-mock {
    aspect-ratio: 16/9; border-radius: var(--r-xl);
    background: var(--c-p-50);
    background-image: repeating-linear-gradient(0deg, rgba(5,150,105,.05) 0 1px, transparent 1px 60px),
                      repeating-linear-gradient(90deg, rgba(5,150,105,.05) 0 1px, transparent 1px 60px);
    border: 1px solid var(--c-p-100); position: relative;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.map-mock .pin {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--c-p-600); color: white;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    border: 3px solid white; font-size: 20px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.map-label {
    position: absolute; bottom: 12px; left: 12px;
    background: rgba(255,255,255,.92); padding: 8px 14px;
    border-radius: 8px; font-size: 12px; color: var(--c-n-700);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* --- Contact Card --- */
.contact-card {
    background: white; border-radius: var(--r-xl);
    border: 1px solid var(--c-n-100); padding: 24px;
    transition: box-shadow .2s;
}
.contact-card:hover { box-shadow: var(--sh-sm); }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.contact-rows { display: flex; flex-direction: column; gap: 0; }
.contact-row {
    display: flex; gap: 12px; padding: 10px 0;
    align-items: flex-start; border-bottom: 1px solid var(--c-n-50);
}
.contact-row:last-child { border-bottom: 0; }
.contact-icon {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--c-p-50); color: var(--c-p-700);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 16px;
}
.contact-text { flex: 1; min-width: 0; }
.contact-primary { font-size: 14px; font-weight: 600; color: var(--c-n-800); }
.contact-phone { color: var(--c-p-700); text-decoration: none; }
.contact-phone:hover { text-decoration: underline; }
.contact-secondary { font-size: 12px; color: var(--c-n-500); margin-top: 2px; }

/* --- Mobile Responsive --- */
@media (max-width: 767px) {
    .seller-head { flex-direction: column; align-items: center; text-align: center; padding: 16px 0; }
    .seller-logo { margin-bottom: 8px; }
    .seller-meta { justify-content: center; }
    .seller-actions { justify-content: center; width: 100%; }
    .seller-actions .btn { flex: 1; justify-content: center; min-width: 0; }
    .seller-desc { text-align: center; }
    .seller-tabs { justify-content: center; }
    .pf-side { order: 2; }
    .products-main { order: 1; }
    .products-layout { grid-template-columns: 1fr; }
    .products-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .seller-actions { flex-direction: column; }
    .seller-actions .btn { width: 100%; }
}

