/*
Theme Name: Unica Beauty
Theme URI: https://unica.ge
Author: Khoen Labs
Description: Unica Beauty — Professional Shop
Version: 5.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@300;400;500;600;700&family=Noto+Serif+Georgian:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --bg-dark: #0a0a0a;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --text-light: #999;
  --border: #e8e8e8;
  --border-strong: #d4d4d4;
  --red: #c8102e;
  --red-dark: #a00d24;
  --red-light: #fff0f2;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans Georgian', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus { text-decoration: none; }
u, ins { text-decoration: none; }
.product-single-desc a, .product-modal-desc a { text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

/* ========== TOP BAR ========== */
.top-bar {
  background: #0a0a0a;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  padding: 7px 0;
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-left i { color: var(--red); font-size: 10px; }
.top-bar-right { display: flex; gap: 18px; align-items: center; }
.top-bar-right a { color: rgba(255,255,255,0.7); transition: color 0.2s; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.top-bar-right a i { font-size: 17px; }
.top-bar-right a:hover { color: #fff; }

/* ========== HEADER ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 800;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo {
  flex-shrink: 0;
  background: #0a0a0a;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
}

.header-logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
}

/* HEADER SEARCH — главная фишка */
.header-search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.header-search input {
  width: 100%;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  font-size: 14px;
  color: var(--text);
  padding: 13px 50px 13px 46px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.header-search input::placeholder { color: var(--text-light); }

.header-search input:focus {
  border-color: var(--red);
  background: #fff;
}

.header-search i.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 14px;
  pointer-events: none;
}

.header-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 14px;
  padding: 6px;
  display: none;
}

.header-search-clear.visible { display: block; }
.header-search-clear:hover { color: var(--red); }

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-action-btn:hover { background: var(--red-dark); }
.header-action-btn i { font-size: 14px; }

.header-action-btn.outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.header-action-btn.outline i { color: var(--red); }
.header-action-btn.outline:hover { background: var(--bg-alt); border-color: var(--border-strong); }

/* ========== CATEGORY NAV ========== */
.category-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.category-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar { display: none; }

.cat-link {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-link i { font-size: 12px; }
.cat-link:hover { color: var(--red); }
.cat-link.active {
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 600;
}

/* ========== MAIN ========== */
.main-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

/* HERO BANNER (compact) */
.hero-banner {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-radius: 12px;
  padding: 48px 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,0.15) 0%, transparent 70%);
  right: -50px;
  top: -100px;
}

.hero-banner-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-banner-title {
  font-family: 'Noto Serif Georgian', serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-banner-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
}

.hero-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 28px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  margin-top: 16px;
  transition: background 0.2s;
}

.hero-banner-cta:hover { background: var(--red-dark); }

/* ========== TOOLBAR ========== */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.toolbar-left h2 {
  font-family: 'Noto Serif Georgian', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.results-info {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.toolbar-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ========== CATEGORY CHIPS (горизонт. фильтр) ========== */
.cat-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.cat-chips::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s;
}

.chip i { font-size: 11px; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ========== PRODUCT GRID ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--bg-alt);
  overflow: hidden;
}

.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-no-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 32px;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 1;
}

.product-info {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-cat-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
}

.product-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.product-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  transition: background 0.2s;
}

.product-btn i { font-size: 12px; }
.product-btn:hover { background: var(--red-dark); }

.product-btn-secondary {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 13px;
  transition: all 0.2s;
}

.product-btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

/* NO RESULTS */
.no-results {
  grid-column: 1/-1;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.no-results i { font-size: 40px; color: var(--text-light); margin-bottom: 14px; }
.no-results h3 { font-size: 16px; color: var(--text); margin-bottom: 6px; font-weight: 600; }
.no-results p { font-size: 13px; }

/* ========== LOAD MORE ========== */
.load-more-wrap { text-align: center; padding: 32px 0 0; }

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.load-more-btn:hover { border-color: var(--red); color: var(--red); }

/* ========== FEATURES STRIP ========== */
.features-strip {
  background: var(--bg-alt);
  margin-top: 48px;
  padding: 32px 24px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feat-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feat-strip-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 16px;
  flex-shrink: 0;
}

.feat-strip-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.feat-strip-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========== BRANCHES SECTION ========== */
.branches-section {
  margin-top: 48px;
}

.section-title {
  font-family: 'Noto Serif Georgian', serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.branch {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.branch:hover {
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.branch-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}

.branch-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.branch-addr {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========== FOOTER ========== */
.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.7);
  margin-top: 64px;
  padding: 48px 0 24px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-logo {
  background: transparent;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 6px;
}

.footer-about {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }

.footer-col a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover { color: #fff; }
.footer-col a i { color: var(--red); font-size: 11px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a { color: var(--red); }

/* ========== MOBILE ========== */
@media (max-width: 900px) {
  .top-bar-left span:not(:first-child) { display: none; }
  .header-inner { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .header-search { order: 3; flex: 1 1 100%; max-width: 100%; }
  .header-actions { gap: 6px; }
  .header-action-btn { padding: 9px 14px; font-size: 11px; }
  .header-action-btn span { display: none; }
  .header-action-btn { padding: 9px; width: 38px; justify-content: center; }
  .main-wrap { padding: 16px; }
  .hero-banner { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info { padding: 10px; }
  .product-title { font-size: 12px; min-height: 32px; }
  .product-btn { padding: 8px; font-size: 10px; }
  .features-strip { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; gap: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .toolbar { flex-direction: column; align-items: flex-start; }
  .category-nav-inner { padding: 0 16px; }
}

@media (max-width: 500px) {
  .features-strip { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; display: inline-flex; align-items: center; gap: 5px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb i { font-size: 10px; }
.breadcrumb .sep { color: var(--text-light); font-size: 8px; }
.breadcrumb span { color: var(--text); }

/* ========== PRODUCT SINGLE ========== */
.product-single {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.product-single-img {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--bg-alt);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.product-single-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-single-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: var(--text-light);
}

.product-single-info {
  padding-top: 8px;
}

.product-single-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.product-single-title {
  font-family: 'Noto Serif Georgian', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 20px;
}

.product-single-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.product-single-desc p { margin-bottom: 12px; }

.product-single-desc-empty {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 32px;
}

.product-single-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.ps-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.ps-btn-primary:hover { background: var(--red-dark); }
.ps-btn-primary i { font-size: 15px; }

.ps-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.ps-btn-back:hover { border-color: var(--border-strong); background: var(--bg-alt); }

.product-single-meta {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ps-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.ps-meta-item i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* RELATED */
.related-section { margin-top: 56px; }
.related-section .section-title { margin-bottom: 24px; }

@media (max-width: 800px) {
  .product-single { grid-template-columns: 1fr; gap: 24px; }
  .product-single-title { font-size: 24px; }
  .product-single-actions { flex-direction: column; }
  .ps-btn-primary, .ps-btn-back { width: 100%; justify-content: center; }
}

/* ========== PRODUCT MODAL ========== */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFade 0.2s ease;
}

.product-modal.open { display: flex; }

@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.product-modal-box {
  background: #fff;
  border-radius: 14px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: modalSlide 0.3s cubic-bezier(0.16,1,0.3,1);
}

@keyframes modalSlide {
  from { transform: translateY(24px) scale(0.98); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.product-modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
}

.product-modal-img-wrap {
  background: var(--bg-alt);
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-modal-content {
  padding: 40px 36px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.product-modal-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.product-modal-title {
  font-family: 'Noto Serif Georgian', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 18px;
}

.product-modal-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex: 1;
}

.product-modal-desc p { margin-bottom: 10px; }

.product-modal-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.product-modal-ask {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  padding: 15px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.product-modal-ask:hover { background: var(--red-dark); }
.product-modal-ask i { font-size: 15px; }

.product-modal-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 20px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.product-modal-view:hover { border-color: var(--red); color: var(--red); }
.product-modal-view i { font-size: 13px; }

.product-modal-meta {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.product-modal-meta span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-muted);
}
.product-modal-meta i { color: var(--red); font-size: 12px; }

@media (max-width: 700px) {
  .product-modal { padding: 0; }
  .product-modal-box { border-radius: 0; max-height: 100vh; height: 100vh; }
  .product-modal-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; max-height: 100vh; overflow-y: auto; }
  .product-modal-img-wrap { aspect-ratio: 16/10; }
  .product-modal-content { padding: 24px 20px; }
  .product-modal-title { font-size: 20px; }
  .product-modal-btns { flex-direction: column; }
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover:not(.disabled):not(.active) {
  border-color: var(--red);
  color: var(--red);
}

.page-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  cursor: default;
}

.page-btn.nav { color: var(--text-muted); }

.page-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-dots {
  padding: 0 6px;
  color: var(--text-light);
  font-size: 13px;
}

@media (max-width: 600px) {
  .page-btn { min-width: 36px; height: 36px; font-size: 12px; padding: 0 8px; }
}

/* ========== SALE SECTION / SLIDER ========== */
.sale-section {
  margin-bottom: 40px;
  background: linear-gradient(135deg, #fff5f6 0%, #fff 100%);
  border: 1px solid #ffe0e4;
  border-radius: 12px;
  padding: 28px;
}

.sale-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sale-head .sec-title { font-size: 24px; }
.sale-head .sec-label i { margin-right: 4px; }

.slider-nav { display: flex; gap: 8px; }

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.slider-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }

.sale-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.sale-slider::-webkit-scrollbar { display: none; }

.sale-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

/* SALE BADGE */
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(200,16,46,0.3);
}

/* ========== CATEGORY DROPDOWN ========== */
.cat-select, .sort-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: auto;
  line-height: 1.6;
  padding: 11px 38px 11px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c8102e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cat-select:hover, .sort-select:hover { border-color: var(--red); }
.cat-select:focus, .sort-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}

.cat-select option, .sort-select option {
  font-size: 13px;
  line-height: 1.6;
  padding: 8px;
}

/* ========== IMPROVED RESPONSIVE ========== */
@media (max-width: 900px) {
  .category-nav { display: none; }
  .toolbar-right { flex-wrap: wrap; width: 100%; }
  .cat-select, .sort-select { flex: 1; min-width: 140px; }
}
/* dropdown always visible on all sizes */

@media (max-width: 600px) {
  .hero-banner { padding: 28px 20px; }
  .hero-banner-title { font-size: 22px; }
  .hero-banner-sub { font-size: 13px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sale-section { padding: 20px 16px; }
  .sale-card { flex: 0 0 160px; }
  .sale-head .sec-title { font-size: 19px; }
  .toolbar-left h2 { font-size: 19px; }
  .product-title { font-size: 12px; min-height: 32px; }
  .product-btn { font-size: 10px; padding: 8px 6px; }
  .product-btn-secondary { width: 34px; height: 34px; }
  .features-strip { grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 14px; }
  .section-title { font-size: 21px; }
}

@media (max-width: 380px) {
  .product-grid { gap: 8px; }
  .product-info { padding: 8px; }
  .sale-card { flex: 0 0 145px; }
}

/* ========== HERO ROW (banner + sale side by side) ========== */
.hero-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-row.with-sale {
  grid-template-columns: 1.4fr 1fr;
}

.hero-row .hero-banner { margin-bottom: 0; height: 100%; }

/* HERO SALE PANEL */
.hero-sale {
  background: #fff;
  border: 1px solid #ffe0e4;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.hero-sale-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-sale-head > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}

.hero-sale-slider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  flex: 1;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.hero-sale-slider::-webkit-scrollbar { display: none; }

.hero-sale-card {
  flex: 0 0 140px;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-sale-card:hover { border-color: var(--red); box-shadow: 0 4px 14px rgba(0,0,0,0.06); }

.hero-sale-img {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--bg-alt);
  overflow: hidden;
  cursor: pointer;
}
.hero-sale-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-sale-info { padding: 10px; }
.hero-sale-info h4 {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 32px;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-sale-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  transition: background 0.2s;
}
.hero-sale-btn:hover { background: var(--red-dark); }
.hero-sale-btn i { font-size: 11px; }

/* responsive: stack on tablet/mobile */
@media (max-width: 900px) {
  .hero-row.with-sale { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-sale-card { flex: 0 0 130px; }
}

/* ============================================
   MANAGER PANEL
   ============================================ */
#unica-manager-root {
  min-height: 70vh;
  font-family: 'Noto Sans Georgian', sans-serif;
}

/* LOGIN */
.um-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.um-login-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  text-align: center;
}

.um-login-logo {
  background: #0a0a0a;
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.um-login-logo img { height: 40px; width: auto; max-width: 130px; object-fit: contain; }

.um-login-box h2 {
  font-family: 'Noto Serif Georgian', serif;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 6px;
}
.um-login-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }

.um-field { text-align: left; margin-bottom: 16px; }
.um-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.um-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.um-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
}

.um-btn-primary {
  width: 100%;
  padding: 13px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.um-btn-primary:hover { background: var(--red-dark); }
.um-btn-primary:disabled { opacity: 0.6; cursor: default; }

.um-error {
  color: var(--red);
  font-size: 13px;
  margin-top: 14px;
  min-height: 18px;
}

/* DASHBOARD */
.um-dash { max-width: 1100px; margin: 0 auto; padding: 24px; }

.um-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.um-header-left { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.um-logo-small {
  height: 32px; width: auto; max-width: 90px; object-fit: contain;
  background: #0a0a0a; padding: 5px 8px; border-radius: 5px;
}

.um-btn-ghost {
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.um-btn-ghost:hover { border-color: var(--red); color: var(--red); }

.um-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.um-search { position: relative; flex: 1; max-width: 400px; }
.um-search i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-light); font-size: 14px;
}
.um-search input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.um-search input:focus { border-color: var(--red); }
.um-count { font-size: 13px; color: var(--text-muted); }

.um-cat-filter {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: auto;
  line-height: 1.6;
  padding: 11px 38px 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c8102e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  outline: none;
}
.um-cat-filter:hover { border-color: var(--red); }
.um-cat-filter:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.1); }

.um-loading { text-align: center; padding: 40px; color: var(--text-muted); }
.um-empty { text-align: center; padding: 40px; color: var(--text-muted); }

/* PRODUCT CARDS */
.um-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 16px;
}

.um-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  transition: box-shadow 0.2s;
}
.um-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }

.um-card-img { flex: 0 0 140px; }
.um-card-img img {
  width: 140px; height: 140px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-alt);
  cursor: pointer;
  transition: transform 0.2s;
}
.um-card-img img:hover { transform: scale(1.03); }
.um-noimg {
  width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border-radius: 8px;
  color: var(--text-light); font-size: 32px;
}

.um-card-body { flex: 1; min-width: 0; }
.um-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  margin-top: 8px;
}
.um-label:first-child { margin-top: 0; }

.um-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  box-sizing: border-box;
  height: auto;
  transition: border-color 0.2s;
}
.um-input:focus { border-color: var(--red); }
textarea.um-input { resize: vertical; min-height: 48px; }
select.um-input { cursor: pointer; line-height: 1.6; height: auto; }

/* MANAGER PAGINATION */
.um-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.um-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.um-page-btn:hover:not(.active):not(:disabled) { border-color: var(--red); color: var(--red); }
.um-page-btn.active { background: var(--red); color: #fff; border-color: var(--red); cursor: default; }
.um-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.um-page-dots { padding: 0 6px; color: var(--text-light); }

.um-sale-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.um-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.um-discount { flex: 1; max-width: 120px; }

.um-save {
  margin-top: 12px;
  padding: 9px 24px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.um-save:hover { background: var(--red-dark); }
.um-save:disabled { opacity: 0.6; }

.um-saved {
  display: inline-block;
  margin-left: 12px;
  font-size: 12px;
  color: #2ca02c;
  opacity: 0;
  transition: opacity 0.2s;
}
.um-saved.show { opacity: 1; }

@media (max-width: 600px) {
  .um-list { grid-template-columns: 1fr; }
  .um-dash { padding: 16px; }
  .um-card-img { flex: 0 0 100px; }
  .um-card-img img, .um-noimg { width: 100px; height: 100px; }
  .um-cat-filter { flex: 1; min-width: 140px; }
}

/* ========== LIGHTBOX ========== */
.unica-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  animation: lbFade 0.2s ease;
}
.unica-lightbox.open { display: flex; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.unica-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: lbZoom 0.25s cubic-bezier(0.16,1,0.3,1);
}
@keyframes lbZoom { from { transform: scale(0.9); } to { transform: scale(1); } }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: var(--red); }

@media (max-width: 600px) {
  .unica-lightbox { padding: 16px; }
  .lightbox-close { top: 14px; right: 16px; }
}

/* ============================================
   MOBILE RESPONSIVE — REFINED (overrides above)
   ============================================ */
@media (max-width: 768px) {
  /* TOP BAR — clean, just phone + icons */
  .top-bar { padding: 8px 0; font-size: 11px; }
  .top-bar-inner { padding: 0 14px; }
  .top-bar-left span:not(:first-child) { display: none; }
  .top-bar-left span:first-child { font-size: 10px; }
  .top-bar-right { gap: 16px; }
  .top-bar-right a i { font-size: 16px; }

  /* HEADER — logo + actions on top row, search full width below */
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo actions" "search search";
    gap: 12px;
    padding: 12px 14px;
    align-items: center;
  }
  .header-logo { grid-area: logo; padding: 5px; height: 44px; width: 44px; }
  .header-logo img { height: 100%; width: 100%; }
  .header-search { grid-area: search; max-width: 100%; }
  .header-search input { padding: 12px 44px 12px 42px; font-size: 14px; }
  .header-actions { grid-area: actions; justify-self: end; gap: 8px; }
  .header-action-btn {
    width: 44px; height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
  .header-action-btn span { display: none; }
  .header-action-btn i { font-size: 16px; }

  /* CATEGORY NAV — hide (we have dropdown) */
  .category-nav { display: none; }

  /* MAIN */
  .main-wrap { padding: 14px; }

  /* HERO — compact */
  .hero-banner { padding: 28px 22px; border-radius: 14px; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 8px; }
  .hero-banner-title { font-size: 23px; line-height: 1.2; }
  .hero-banner-sub { font-size: 13px; }
  .hero-banner-cta { padding: 12px 24px; font-size: 13px; margin-top: 14px; }

  /* TOOLBAR — sticky filters bar */
  .toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .toolbar-left h2 { font-size: 20px; }
  .toolbar-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .toolbar-right select { width: 100%; font-size: 13px; padding: 11px 34px 11px 12px; }

  /* PRODUCT GRID — 2 columns, comfortable */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { border-radius: 12px; }
  .product-info { padding: 12px 10px; gap: 7px; }
  .product-cat-tag { font-size: 9px; }
  .product-title { font-size: 12.5px; line-height: 1.35; min-height: 34px; }
  .product-actions { gap: 6px; }
  .product-btn {
    padding: 10px 6px;
    font-size: 11px;
    border-radius: 8px;
  }
  .product-btn i { font-size: 12px; }
  .product-btn-secondary { width: 40px; height: 40px; border-radius: 8px; font-size: 14px; }

  /* SALE badge */
  .sale-badge { font-size: 10px; padding: 4px 10px; top: 8px; left: 8px; }

  /* FEATURES — 2 cols compact */
  .features-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    padding: 22px 16px;
    margin-top: 36px;
  }
  .feat-strip-icon { width: 38px; height: 38px; font-size: 15px; }
  .feat-strip-title { font-size: 12px; }
  .feat-strip-desc { font-size: 10.5px; }

  /* BRANCHES */
  .branches-section { margin-top: 40px; }
  .section-title { font-size: 22px; }
  .branches-grid { grid-template-columns: 1fr; gap: 10px; }

  /* FOOTER */
  .site-footer { padding: 36px 0 20px; margin-top: 48px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-about { font-size: 11px; }

  /* PAGINATION — bigger touch targets */
  .pagination { gap: 5px; margin-top: 28px; }
  .page-btn { min-width: 42px; height: 42px; font-size: 14px; }

  /* MODAL — full screen, comfortable */
  .product-modal { padding: 0; align-items: flex-end; }
  .product-modal-box {
    border-radius: 20px 20px 0 0;
    max-height: 94vh;
    height: auto;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    max-height: 94vh;
    overflow-y: auto;
  }
  .product-modal-img-wrap { aspect-ratio: 1/1; max-height: 50vh; }
  .product-modal-content { padding: 22px 20px 28px; }
  .product-modal-title { font-size: 19px; }
  .product-modal-desc { font-size: 13.5px; }
  .product-modal-btns { flex-direction: column; gap: 10px; }
  .product-modal-ask, .product-modal-view { width: 100%; padding: 14px; }
  .product-modal-close {
    width: 40px; height: 40px;
    background: rgba(0,0,0,0.5);
    color: #fff;
  }

  /* SINGLE PRODUCT */
  .product-single { grid-template-columns: 1fr; gap: 20px; }
  .product-single-title { font-size: 22px; }
  .product-single-actions { flex-direction: column; }
  .ps-btn-primary, .ps-btn-back { width: 100%; justify-content: center; }

  /* HERO SALE — full width below hero */
  .hero-row.with-sale { grid-template-columns: 1fr; }
  .hero-sale { padding: 16px; }
  .hero-sale-card { flex: 0 0 150px; }
}

/* SMALL PHONES */
@media (max-width: 400px) {
  .product-grid { gap: 10px; }
  .product-title { font-size: 12px; }
  .product-btn { font-size: 10px; padding: 9px 4px; }
  .product-btn span, .product-btn { gap: 4px; }
  .hero-banner-title { font-size: 20px; }
  .footer-cols { grid-template-columns: 1fr; }
  .toolbar-right { grid-template-columns: 1fr; }
}

/* TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ========== MANAGER BAR (replaces header) ========== */
.um-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #0a0a0a;
  border-radius: 12px;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.um-bar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.um-bar-title i { color: var(--red); }
.um-bar-title .um-count {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: 4px;
}
.um-bar-actions { display: flex; gap: 8px; }

.um-btn-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.um-btn-cat:hover { background: var(--red-dark); }

.um-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.um-btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* NEW CATEGORY FORM */
.um-new-cat-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.um-new-cat-form input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.um-new-cat-form input:focus { border-color: var(--red); }
.um-btn-primary-sm {
  padding: 10px 20px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.um-btn-primary-sm:hover { background: var(--red-dark); }
.um-btn-primary-sm:disabled { opacity: 0.6; }
.um-btn-ghost-sm {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  cursor: pointer;
}
.um-btn-ghost-sm:hover { border-color: var(--red); color: var(--red); }
.um-cat-msg { font-size: 13px; font-weight: 500; }

/* mobile bar */
@media (max-width: 600px) {
  .um-bar { padding: 14px 16px; }
  .um-bar-title { font-size: 14px; }
  .um-bar-actions { width: 100%; }
  .um-btn-cat, .um-btn-ghost { flex: 1; justify-content: center; }
  .um-new-cat-form input { min-width: 100%; }
}

/* ========== MANAGER CATEGORIES LIST ========== */
.um-cat-list-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.um-cat-list-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.um-cat-list-head i { color: var(--red); margin-right: 6px; }
.um-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.um-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 8px 6px 14px;
  font-size: 13px;
}
.um-cat-chip-name { font-weight: 500; color: var(--text); }
.um-cat-chip-count {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 100px;
}
.um-cat-chip-del {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.2s;
}
.um-cat-chip-del:hover { background: var(--red); color: #fff; }
.um-cat-empty { color: var(--text-light); font-size: 13px; }

/* ========== HIDE CRISP ON MANAGER PAGE (double safety) ========== */
.page-manager .crisp-client,
.page-manager #crisp-chatbox,
body.page-manager > div[class*="crisp"] {
  display: none !important;
}

/* ========== QUICK FILL MODE ========== */
.um-btn-quick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: #1a8754;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.um-btn-quick:hover { background: #146c43; }
.um-btn-quick i { font-size: 13px; }

.um-quick {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-top: 8px;
}
.um-quick-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.um-quick-progress {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
}
.um-quick-progress i { color: #1a8754; font-size: 16px; }
.um-quick-progress strong { color: var(--red); font-size: 17px; }

.um-quick-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.um-quick-img {
  flex: 0 0 320px;
}
.um-quick-img img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: var(--bg-alt);
  border-radius: 12px;
  cursor: zoom-in;
}
.um-quick-img .um-noimg {
  width: 100%; aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border-radius: 12px;
  color: var(--text-light); font-size: 40px;
}
.um-quick-fields { flex: 1; min-width: 0; }

.um-quick-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  align-items: center;
}
.um-btn-quick-save {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.um-btn-quick-save:hover { background: var(--red-dark); }
.um-btn-quick-save:disabled { opacity: 0.6; }

.um-quick-done {
  text-align: center;
  padding: 60px 20px;
}
.um-quick-done i { font-size: 56px; color: #1a8754; margin-bottom: 16px; }
.um-quick-done h3 { font-size: 22px; margin-bottom: 8px; color: var(--text); }
.um-quick-done p { color: var(--text-muted); margin-bottom: 24px; }

@media (max-width: 700px) {
  .um-quick-card { flex-direction: column; }
  .um-quick-img { flex: none; width: 100%; max-width: 280px; margin: 0 auto; }
  .um-quick-actions { flex-direction: column-reverse; }
  .um-btn-quick-save { width: 100%; }
  .um-quick-actions .um-btn-ghost-sm { width: 100%; }
  .um-btn-quick span { display: inline; }
}

/* ========== PROVIDERS / PARTNERS ========== */
.providers-section {
  margin-top: 56px;
  text-align: center;
}
.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.provider-card {
  background: #0a0a0a;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.4/1;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.provider-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.provider-card img {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .providers-grid { grid-template-columns: 1fr; gap: 14px; max-width: 360px; }
  .provider-card { aspect-ratio: 1.8/1; padding: 28px; }
  .provider-card img { max-height: 90px; }
}

/* ========== TOP PROVIDERS (compact strip under hero) ========== */
.top-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.top-provider-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.top-provider-card:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
}
.top-provider-logo {
  width: auto;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.top-provider-logo img {
  max-width: 100px;
  max-height: 38px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.top-provider-label {
  display: none;
}

@media (max-width: 700px) {
  .top-providers { gap: 7px; margin-bottom: 22px; }
  .top-provider-card { padding: 9px 6px; border-radius: 9px; }
  .top-provider-logo { height: 28px; }
  .top-provider-logo img { max-height: 28px; max-width: 78px; }
}

/* zoom provider logos in bottom section too (less padding) */
.provider-card { padding: 14px; }
.provider-card img { max-height: 150px; }
@media (max-width: 700px) {
  .provider-card { padding: 18px; }
  .provider-card img { max-height: 100px; }
}

/* ========== HERO PROVIDERS (small logos inside hero) ========== */
.hero-providers {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero-providers-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
  margin-right: 2px;
}
.hero-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 46px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 7px 10px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-provider:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--red);
  transform: translateY(-2px);
}
.hero-provider img {
  max-width: 100%;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .hero-providers { gap: 7px; margin-top: 20px; }
  .hero-providers-label { width: 100%; margin-bottom: 2px; font-size: 11px; }
  .hero-provider { width: 64px; height: 40px; padding: 6px 8px; }
  .hero-provider img { max-height: 24px; }
}

/* ქვეკატეგორიის chip */
.um-cat-chip-child { margin-left: 24px; background: #fff; border-style: dashed; }
.um-cat-arrow { color: var(--text-light); margin-right: 4px; font-size: 13px; }
