/* =========================================================
   GALAKTIKA — DLE 19.1 Premium Template
   Industrial / Building Materials Marketplace
   Palette: Dark Blue #0a1f44 · Orange #ff6b1a · White
   ========================================================= */
@font-face {
    font-family: 'BPG Nino Mtavruli Bold';
    src: url('../fonts/bpg-nino-mtavruli-bold-webfont.woff2') format('woff2'),
         url('../fonts/bpg-nino-mtavruli-bold-webfont.woff') format('woff'),
         url('../fonts/bpg-nino-mtavruli-bold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
:root {
  --c-primary: #0a1f44;
  --c-primary-2: #142d5e;
  --c-primary-3: #1e3a8a;
  --c-accent: #ff6b1a;
  --c-accent-2: #ff8a3d;
  --c-accent-soft: #fff1e6;
  --c-bg: #f5f7fb;
  --c-bg-alt: #ffffff;
  --c-text: #1a2238;
  --c-text-muted: #6b7691;
  --c-border: #e3e8f0;
  --c-success: #16a34a;
  --c-danger: #dc2626;
  --c-warning: #f59e0b;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(10, 31, 68, 0.06);
  --shadow: 0 8px 24px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 18px 48px rgba(10, 31, 68, 0.14);
  --grad-primary: linear-gradient(135deg, #0a1f44 0%, #1e3a8a 100%);
  --grad-accent: linear-gradient(135deg, #ff6b1a 0%, #ff8a3d 100%);
  --transition: all .25s cubic-bezier(.4,0,.2,1);
  --font: "BPG Nino Mtavruli Bold", sans-serif, system-ui, -apple-system, sans-serif;
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--c-accent); }
button { font-family: inherit; cursor: pointer; }
.container-xl { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--c-primary); margin: 0 0 .6em; line-height: 1.25; }

/* ===== Preloader ===== */
#preloader {
  position: fixed; inset: 0; background: var(--c-bg);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  transition: opacity .4s; 
}
#preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-spinner {
  width: 56px; height: 56px;
  border: 4px solid var(--c-border);
  border-top-color: var(--c-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Topbar ===== */
.topbar {
  background: var(--c-primary);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: var(--c-accent); }
.topbar-info span { margin-right: 18px; }
.topbar-info i { color: var(--c-accent); margin-right: 6px; }
.topbar-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch a { padding: 2px 8px; border-radius: 4px; }
.lang-switch a.active { background: var(--c-accent); color: #fff; }
.theme-toggle { background: none; border: 0; color: #cbd5e1; font-size: 16px; }

/* ===== Header ===== */
.site-header {
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px;
  background: var(--grad-accent);
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(255,107,26,.35);
}
.logo-text {
  display: flex; flex-direction: column;
  font-weight: 800; font-size: 20px; color: var(--c-primary);
  line-height: 1;
}
.logo-text small { font-size: 10px; font-weight: 500; color: var(--c-text-muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

.header-search {
  flex: 1; display: flex; align-items: stretch;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.header-search:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(255,107,26,.15); }
.hs-cat { border: 0; background: transparent; padding: 0 14px; border-right: 1px solid var(--c-border); font-size: 14px; color: var(--c-text-muted); outline: none; }
.hs-input { flex: 1; border: 0; background: transparent; padding: 14px 18px; font-size: 15px; outline: none; }
.hs-btn {
  background: var(--grad-accent); color: #fff;
  border: 0; padding: 0 24px; font-size: 18px;
}
.hs-btn:hover { filter: brightness(1.05); }
.hs-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); margin-top: 6px; box-shadow: var(--shadow); display: none; z-index: 10; max-height: 400px; overflow-y: auto; }
.hs-suggestions.open { display: block; }

.header-actions { display: flex; gap: 6px; }
.ha-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 12px; color: var(--c-text); position: relative;
}
.ha-item i { font-size: 20px; margin-bottom: 4px; color: var(--c-primary); }
.ha-item:hover { background: var(--c-bg); color: var(--c-accent); }
.ha-item:hover i { color: var(--c-accent); }
.ha-cart .cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--c-accent); color: #fff;
  font-size: 10px; font-style: normal; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}

.mobile-toggler {
  background: none; border: 0; padding: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-toggler span { width: 24px; height: 2px; background: var(--c-primary); border-radius: 2px; }

/* ===== Mega menu ===== */
.mega-nav {
  background: var(--grad-primary);
  border-top: 1px solid rgba(255,255,255,.05);
}
.mega-menu {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: stretch;
}
.mega-item, .mega-menu > li { position: relative; }
.mega-link {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 18px; color: #fff;
  font-size: 14px; font-weight: 500;
  background: none; border: 0;
  position: relative;
}
.mega-link:hover { color: var(--c-accent-2); background: rgba(255,255,255,.05); }
.mega-link-primary { background: var(--c-accent); font-weight: 700; }
.mega-link-primary:hover { background: var(--c-accent-2); color: #fff; }
.mega-panel {
  position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  min-width: 720px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}
.mega-item:hover .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-panel-grid { min-width: 920px; }
.mp-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--c-accent); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--c-border); }
.mp-col h5 i { margin-right: 6px; }
.mp-col a { display: block; padding: 6px 0; color: var(--c-text); font-size: 14px; }
.mp-col a:hover { color: var(--c-accent); padding-left: 4px; }
.mp-promo { position: relative; border-radius: var(--radius); overflow: hidden; }
.mp-promo img { width: 100%; height: 100%; object-fit: cover; }
.mp-promo span { position: absolute; bottom: 12px; left: 12px; background: var(--c-accent); color: #fff; padding: 6px 12px; border-radius: 6px; font-weight: 700; font-size: 13px; }

/* ===== Main layout ===== */
.site-main { padding: 28px 0 60px; min-height: 60vh; }
.site-sidebar .widget {
  background: #fff; border-radius: var(--radius);
  padding: 20px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 16px; margin: 0 0 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--c-accent); display: flex; align-items: center; gap: 8px;
}
.widget-title i { color: var(--c-accent); }

/* ===== Hero ===== */
.hero-slider { position: relative; margin-bottom: 32px; }
.hero-swiper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-slide {
  height: 460px; background-size: cover; background-position: center;
  display: flex; align-items: center; padding: 0 60px;
  color: #fff;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-block; background: var(--c-accent); color: #fff;
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.hero-content h1 { color: #fff; font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero-content p { font-size: 17px; opacity: .9; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .5; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--c-accent); width: 24px; border-radius: 4px; }
.hero-swiper .swiper-button-prev, .hero-swiper .swiper-button-next { color: #fff; background: rgba(0,0,0,.25); width: 48px; height: 48px; border-radius: 50%; backdrop-filter: blur(8px); }
.hero-swiper .swiper-button-prev:after, .hero-swiper .swiper-button-next:after { font-size: 18px; }

.hero-benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: #fff; border-radius: var(--radius);
  padding: 20px; margin-top: -40px; position: relative; z-index: 5;
  margin-left: 24px; margin-right: 24px;
  box-shadow: var(--shadow);
}
.hb-item { display: flex; align-items: center; gap: 14px; }
.hb-item i { font-size: 28px; color: var(--c-accent); }
.hb-item b { display: block; font-size: 14px; color: var(--c-primary); }
.hb-item span { font-size: 12px; color: var(--c-text-muted); }

/* ===== Buttons ===== */
.btn { border-radius: var(--radius-sm); font-weight: 600; padding: 10px 22px; transition: var(--transition); border: 0; display: inline-flex; align-items: center; gap: 8px; }
.btn-accent { background: var(--grad-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,26,.4); color: #fff; }
.btn-outline-primary { background: transparent; border: 2px solid var(--c-primary); color: var(--c-primary); }
.btn-outline-primary:hover { background: var(--c-primary); color: #fff; }
.btn-outline-light { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--c-primary); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ===== Block headings ===== */
.block { margin: 48px 0; }
.block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.block-title { font-size: 26px; margin: 0; position: relative; padding-left: 16px; }
.block-title::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--grad-accent); border-radius: 4px; }
.block-more { font-weight: 600; color: var(--c-accent); font-size: 14px; }

/* ===== Featured categories ===== */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  background: #fff; border-radius: var(--radius);
  padding: 24px 20px; display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--c-border);
}
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--cat-accent, var(--c-accent)), transparent);
  opacity: 0; transition: var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cat-accent); }
.cat-icon {
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--cat-accent) 12%, transparent);
  color: var(--cat-accent);
  border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; flex-shrink: 0;
  position: relative; z-index: 1;
}
.cat-card h4 { flex: 1; font-size: 15px; margin: 0; position: relative; z-index: 1; }
.cat-arrow { color: var(--c-text-muted); position: relative; z-index: 1; transition: var(--transition); }
.cat-card:hover .cat-arrow { color: var(--cat-accent); transform: translateX(4px); }

/* ===== Promo banners ===== */
.promo-banner {
  border-radius: var(--radius-lg); overflow: hidden;
  background-size: cover; background-position: center;
  min-height: 260px; padding: 36px;
  display: flex; align-items: center; color: #fff;
  position: relative; transition: var(--transition);
}
.promo-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pb-tag { display: inline-block; background: rgba(255,255,255,.2); backdrop-filter: blur(10px); padding: 4px 12px; border-radius: 20px; font-size: 12px; margin-bottom: 12px; }
.pb-content h3 { color: #fff; font-size: 28px; margin-bottom: 16px; }
.promo-sm .pb-content h3 { font-size: 22px; }

/* ===== Product card ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex; flex-direction: column;
  border: 1px solid var(--c-border);
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pc-media { position: relative; aspect-ratio: 1/1; background: var(--c-bg); overflow: hidden; }
.pc-img { display: block; height: 100%; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .pc-img img { transform: scale(1.06); }
.pc-img-placeholder { display: grid; place-items: center; color: var(--c-text-muted); font-size: 36px; }
.pc-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.pc-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.pc-badge-new { background: var(--c-success); }
.pc-badge-sale { background: var(--c-accent); }
.pc-badge-hit { background: var(--c-primary); }
.pc-actions {
  position: absolute; top: 10px; right: 10px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(10px); transition: var(--transition);
}
.product-card:hover .pc-actions { opacity: 1; transform: translateX(0); }
.pc-act { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 0; box-shadow: var(--shadow-sm); color: var(--c-primary); }
.pc-act:hover { background: var(--c-accent); color: #fff; }

.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-brand { font-size: 11px; color: var(--c-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.pc-title { font-size: 14px; line-height: 1.4; margin: 0; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-title a { color: var(--c-text); }
.pc-title a:hover { color: var(--c-accent); }
.pc-meta { display: flex; gap: 10px; font-size: 11px; color: var(--c-text-muted); }
.pc-stock-in { color: var(--c-success); }
.pc-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-text-muted); }
.stars { color: #fbbf24; font-size: 12px; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--c-border); }
.pc-price { display: flex; flex-direction: column; }
.pc-old { font-size: 12px; color: var(--c-text-muted); text-decoration: line-through; }
.pc-new { font-size: 18px; font-weight: 800; color: var(--c-primary); }
.pc-cart { width: 40px; height: 40px; border-radius: 10px; background: var(--grad-accent); color: #fff; border: 0; transition: var(--transition); }
.pc-cart:hover { transform: scale(1.08); box-shadow: 0 6px 16px rgba(255,107,26,.4); }

/* ===== Full product ===== */
.product-full { width: 100%; max-width: 100%; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.pf-gallery { position: sticky; top: 100px; }
.pf-main-swiper { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; background: var(--c-bg); }
.pf-main-swiper img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pf-thumb-swiper { margin-top: 12px; }
.pf-thumb-swiper .swiper-slide { aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: .6; border: 2px solid transparent; }
.pf-thumb-swiper .swiper-slide-thumb-active { opacity: 1; border-color: var(--c-accent); }
.pf-thumb-swiper img { width: 100%; height: 100%; object-fit: cover; }

.pf-brand { display: inline-block; background: var(--c-accent-soft); color: var(--c-accent); padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.pf-title { font-size: 28px; margin-bottom: 14px; }
.pf-meta { display: flex; gap: 20px; font-size: 13px; color: var(--c-text-muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--c-border); }
.pf-stock { color: var(--c-success); font-weight: 600; }
.pf-out-of-stock { color: var(--c-danger); font-weight: 600; } 
.pf-price-box { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.pf-old { color: var(--c-text-muted); text-decoration: line-through; font-size: 18px; }
.pf-price { font-size: 36px; font-weight: 800; color: var(--c-accent); }
.pf-discount { background: var(--c-accent); color: #fff; padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: 13px; }

.pf-buy { display: flex; gap: 10px; margin-bottom: 20px; }
.qty-input { display: flex; align-items: center; border: 1px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-input button { background: var(--c-bg); border: 0; width: 40px; height: 48px; font-size: 18px; font-weight: 700; }
.qty-input input { width: 50px; height: 48px; border: 0; text-align: center; font-weight: 700; outline: none; }
.pf-add { flex: 1; justify-content: center; }
.pf-fav { width: 48px; height: 48px; padding: 0; justify-content: center; }

.pf-contact { display: flex; gap: 8px; margin-bottom: 24px; }
.pf-c-btn { flex: 1; padding: 12px; border-radius: var(--radius-sm); color: #fff; font-weight: 600; text-align: center; font-size: 13px; }
.pf-wa { background: #25d366; }
.pf-vb { background: #7360f2; }
.pf-ph { background: var(--c-primary); }

.pf-perks { list-style: none; padding: 0; margin: 0; background: var(--c-bg); border-radius: var(--radius); padding: 16px; }
.pf-perks li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.pf-perks i { color: var(--c-accent); width: 20px; }

.pf-tabs { margin-top: 32px; }
.pf-tabs .nav-tabs { border-bottom: 2px solid var(--c-border); margin-bottom: 20px; }
.pf-tabs .nav-link { background: none; border: 0; padding: 12px 20px; color: var(--c-text-muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.pf-tabs .nav-link.active { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.pf-spec-table { width: 100%; border-collapse: collapse; }
.pf-spec-table th, .pf-spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--c-border); text-align: left; }
.pf-spec-table th { background: var(--c-bg); width: 30%; font-weight: 600; color: var(--c-text-muted); }

/* ===== Newsletter ===== */
.newsletter-block { background: var(--grad-primary); padding: 40px 0; margin-top: 60px; }
.nl-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; color: #fff; }
.nl-text h3 { color: #fff; margin-bottom: 4px; }
.nl-text p { opacity: .85; margin: 0; }
.nl-form { display: flex; gap: 8px; min-width: 360px; }
.nl-form input { flex: 1; padding: 14px 18px; border: 0; border-radius: var(--radius-sm); outline: none; }

/* ===== Partners ===== */
.partners-block { background: #fff; padding: 40px 0; border-top: 1px solid var(--c-border); }
.partner-logo { height: 80px; display: grid; place-items: center; background: var(--c-bg); border-radius: var(--radius); font-weight: 800; color: var(--c-text-muted); letter-spacing: 2px; transition: var(--transition); }
.partner-logo:hover { background: var(--c-primary); color: #fff; }

/* ===== Footer ===== */
.site-footer { background: var(--c-primary); color: #cbd5e1; padding: 60px 0 0; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 16px; }
.footer-logo .logo-text { color: #fff; }
.footer-about { font-size: 14px; opacity: .85; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--c-accent); transform: translateY(-3px); }
.footer-title { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { padding: 6px 0; font-size: 14px; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: var(--c-accent); padding-left: 4px; }
.footer-contact i { color: var(--c-accent); margin-right: 8px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; opacity: .8; }
.footer-pay i { font-size: 28px; margin-left: 8px; }

/* ===== Floating support ===== */
.floating-support { position: fixed; right: 20px; bottom: 90px; display: flex; flex-direction: column; gap: 10px; z-index: 100; }
.fs-btn { width: 52px; height: 52px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow); border: 0; transition: var(--transition); }
.fs-btn:hover { transform: scale(1.1); color: #fff; }
.fs-whatsapp { background: #25d366; }
.fs-viber { background: #7360f2; }
.fs-telegram { background: #0088cc; }
.fs-top { background: var(--c-primary); opacity: 0; pointer-events: none; }
.fs-top.visible { opacity: 1; pointer-events: auto; }

/* ===== Mobile bottom nav ===== */
.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.06); display: flex; justify-content: space-around; padding: 8px 0; z-index: 999; border-top: 1px solid var(--c-border); }
.mbn-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--c-text-muted); padding: 6px 12px; background: none; border: 0; }
.mbn-item i { font-size: 18px; }
.mbn-item:hover { color: var(--c-accent); }

/* ===== Cookie ===== */
.cookie-banner { position: fixed; bottom: 80px; left: 20px; right: 20px; max-width: 480px; background: #fff; padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 998; display: flex; align-items: center; gap: 14px; }
.cookie-banner p { margin: 0; font-size: 13px; flex: 1; }

/* ===== Forms / auth ===== */
.auth-card { max-width: 420px; margin: 40px auto; background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-card-wide { max-width: 640px; }
.auth-card h2 { text-align: center; margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--c-text-muted); }
.form-group input, .form-group textarea, .form-group select,
.feedback-form input, .feedback-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px; outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .feedback-form input:focus, .feedback-form textarea:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(255,107,26,.12); }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 16px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; }
.w-100 { width: 100%; justify-content: center; }

/* ===== Profile ===== */
.profile-page { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.profile-sidebar { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); text-align: center; }
.profile-avatar img { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 12px; border: 4px solid var(--c-accent); }
.profile-group { color: var(--c-accent); font-weight: 600; font-size: 13px; }
.profile-nav { list-style: none; padding: 0; margin: 24px 0 0; text-align: left; }
.profile-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--c-text); font-size: 14px; }
.profile-nav a:hover { background: var(--c-bg); color: var(--c-accent); }
.profile-main { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.ps-card { background: var(--c-bg); border-radius: var(--radius); padding: 18px; text-align: center; }
.ps-card b { display: block; font-size: 22px; color: var(--c-primary); }
.ps-card span { font-size: 12px; color: var(--c-text-muted); }

/* ===== Breadcrumbs ===== */
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--c-text-muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; opacity: .4; }
.breadcrumbs a { color: var(--c-text-muted); }
.breadcrumbs a:hover { color: var(--c-accent); }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 30px 0 0; }
.pagination span, .pagination a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--c-border); color: var(--c-text); font-weight: 600; }
.pagination span { background: var(--grad-accent); color: #fff; border-color: transparent; }
.pagination a:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ===== Comments ===== */
.comment-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--c-border); }
.comment-avatar img { width: 48px; height: 48px; border-radius: 50%; }
.comment-body { flex: 1; }
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 13px; color: var(--c-text-muted); }
.comment-head strong { color: var(--c-primary); }
.comment-text { font-size: 14px; line-height: 1.6; }
.comment-actions { margin-top: 8px; display: flex; gap: 12px; font-size: 12px; }

/* ===== Alerts / errors ===== */
.alert-box { padding: 16px 20px; border-radius: var(--radius); margin: 16px 0; border-left: 4px solid var(--c-accent); background: #fff; box-shadow: var(--shadow-sm); }
.alert-info { border-color: var(--c-primary-3); }
.error-page { text-align: center; padding: 80px 20px; }
.ep-code { font-size: 140px; font-weight: 900; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.offline-page { display: grid; place-items: center; min-height: 100vh; }
.offline-card { text-align: center; background: #fff; padding: 60px 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); max-width: 440px; }
.offline-card i { font-size: 56px; color: var(--c-accent); margin-bottom: 18px; }

/* ===== Stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.stat-card { background: #fff; padding: 28px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow-sm); }
.stat-card i { font-size: 36px; color: var(--c-accent); margin-bottom: 12px; }
.stat-card b { display: block; font-size: 32px; color: var(--c-primary); }

/* ===== Why Us / Counters ===== */
.why-us { background: #fff; padding: 50px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { text-align: center; }
.why-item .why-ico { width: 70px; height: 70px; background: var(--c-accent-soft); color: var(--c-accent); border-radius: 18px; display: grid; place-items: center; margin: 0 auto 14px; font-size: 28px; }

.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 50px; background: var(--grad-primary); border-radius: var(--radius-lg); color: #fff; text-align: center; }
.counter-num { font-size: 42px; font-weight: 800; color: var(--c-accent); }
.counter-label { font-size: 14px; opacity: .85; }

/* ===== Testimonials ===== */
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.testimonial-card .stars { font-size: 14px; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; line-height: 1.7; font-style: italic; color: var(--c-text); margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; }
.testimonial-author b { display: block; }
.testimonial-author small { color: var(--c-text-muted); }

/* Topnews items in widget */
.topnews-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.topnews-item:last-child { border-bottom: 0; }
.topnews-item img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.topnews-item h5 { font-size: 13px; margin: 0 0 4px; line-height: 1.3; }
.topnews-item small { font-size: 11px; color: var(--c-text-muted); }

/* Categories tree (sidebar) */
.categories-tree { list-style: none; padding: 0; margin: 0; }
.cm-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--c-text); font-size: 14px; }
.cm-link:hover, .cm-active > .cm-link { background: var(--c-accent-soft); color: var(--c-accent); }
.cm-link i { color: var(--c-accent); width: 18px; }
.cm-link em { margin-left: auto; font-style: normal; font-size: 11px; background: var(--c-bg); padding: 2px 8px; border-radius: 10px; color: var(--c-text-muted); }

/* Tags cloud */
.tags-cloud a { display: inline-block; padding: 4px 10px; background: var(--c-bg); border-radius: 20px; font-size: 12px; color: var(--c-text); margin: 2px; }
.tags-cloud a:hover { background: var(--c-accent); color: #fff; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s both; }

/* === Product grid layout === */
.site-content { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.site-content > *:not(.product-card) { flex: 1 0 100%; max-width: 100%; }
.site-content > .product-card { flex: 0 0 calc(25% - 15px); max-width: calc(25% - 15px); margin: 0; }
@media (max-width: 1399px) { .site-content > .product-card { flex-basis: calc(33.333% - 14px); max-width: calc(33.333% - 14px); } }
@media (max-width: 991px)  { .site-content > .product-card { flex-basis: calc(33.333% - 14px); max-width: calc(33.333% - 14px); } }
@media (max-width: 767px)  { .site-content > .product-card { flex-basis: calc(50% - 10px);    max-width: calc(50% - 10px); } }
@media (max-width: 420px)  { .site-content > .product-card { flex-basis: 100%;                max-width: 100%; } }
.site-content-full { flex: 0 0 100%; max-width: 100%; width: 100%; }
.site-content-full > .product-full { flex: 1 0 100%; max-width: 100%; }

/* Partners grid */
.partners-block{padding:50px 0;background:#fff}
.partners-block .block-title{margin-bottom:30px;font-size:24px;font-weight:700;color:#0b2a5b}
.partners-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:20px;align-items:center}
.partners-grid .partner-logo{display:flex;align-items:center;justify-content:center;height:90px;padding:14px;background:#f6f8fb;border:1px solid #e6ecf2;border-radius:12px;transition:all .25s ease;filter:grayscale(1);opacity:.75}
.partners-grid .partner-logo:hover{filter:none;opacity:1;transform:translateY(-3px);box-shadow:0 8px 20px rgba(11,42,91,.12);border-color:#ff7a18}
.partners-grid .partner-logo img{max-width:100%;max-height:100%;object-fit:contain}
@media(max-width:1199px){.partners-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:575px){.partners-grid{grid-template-columns:repeat(2,1fr)}}

/* ===== Global font enforcement (BPG Nino Mtavruli Bold) ===== */
html, body,
h1, h2, h3, h4, h5, h6,
p, span, a, li, label,
input, select, textarea, button,
.topbar, .site-header, .mega-menu, .mega-link,
.site-main, .site-sidebar, .widget, .widget-title,
.block, .block-title, .cat-card, .cat-card h4,
.product-card, .pc-title, .pc-price,
.footer, .footer h4, .footer a,
.poll-widget, .poll-title, .cart-drawer, .offcanvas,
.btn, .ha-item, .mbn-item, .promo-banner, .pb-content,
.hs-input, .hs-cat, .hs-btn {
  font-family: 'BPG Nino Mtavruli Bold', system-ui, -apple-system, sans-serif !important;
}

/* ===== Poll widget ===== */
.widget-poll { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.poll-widget .poll-title,
.widget-poll h4 { font-size: 16px; color: var(--c-primary); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--c-accent); }
.poll-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.poll-list > div,
.poll-list label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); font-size: 14px; color: var(--c-text); }
.poll-list > div:hover,
.poll-list label:hover { border-color: var(--c-accent); background: var(--c-accent-soft); }
.poll-list input[type="radio"],
.poll-list input[type="checkbox"] { accent-color: var(--c-accent); margin: 0; cursor: pointer; }
.poll-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.poll-actions input[type="button"],
.poll-actions input[type="submit"],
.poll-actions button { flex: 1; background: var(--grad-accent); color: #fff; border: 0; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; transition: var(--transition); font-family: inherit; }
.poll-actions input[type="button"]:hover,
.poll-actions input[type="submit"]:hover,
.poll-actions button:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(255,107,26,.3); }
.poll-results-list { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 10px; }
.poll-results-list li { font-size: 13px; }
.poll-meta { font-size: 12px; color: var(--c-text-muted); padding-top: 10px; border-top: 1px solid var(--c-border); }

/* ===== Cart drawer ===== */
.cart-drawer { width: 400px !important; max-width: 90vw; }
.cart-drawer .offcanvas-header { border-bottom: 1px solid var(--c-border); padding: 18px 22px; }
.cart-drawer .offcanvas-title { color: var(--c-primary); font-size: 18px; display: flex; align-items: center; gap: 10px; }
.cart-drawer .offcanvas-title i { color: var(--c-accent); }
.cart-drawer .offcanvas-body { padding: 18px 22px; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: flex; gap: 12px; padding: 12px; background: var(--c-bg); border-radius: var(--radius-sm); align-items: center; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: 14px; color: var(--c-primary); margin: 0 0 4px; font-weight: 700; }
.cart-item-price { font-size: 13px; color: var(--c-accent); font-weight: 700; }
.cart-item-qty { font-size: 12px; color: var(--c-text-muted); }
.cart-item-remove { background: none; border: 0; color: var(--c-danger); font-size: 16px; padding: 6px; cursor: pointer; border-radius: 6px; }
.cart-item-remove:hover { background: rgba(220,38,38,.1); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--c-text-muted); }
.cart-empty i { font-size: 48px; opacity: .3; margin-bottom: 12px; }
.cart-empty p { margin: 0; font-size: 14px; }
.cart-footer { border-top: 1px solid var(--c-border); padding: 18px 22px; background: var(--c-bg); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 16px; }
.cart-total strong { color: var(--c-accent); font-size: 20px; }
