/* ============================
   INLINE FIXES & UTILITIES
   ============================ */

/* Margins */
.mt-10 { margin-top: 10px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-15 { margin-bottom: 15px !important; }
.mb-30 { margin-bottom: 30px !important; }

/* Text alignment */
.ta-center { text-align: center !important; }

/* Text colors */
.text-muted { color: #ccc !important; }
.text-dim { color: #888 !important; }

/* Display helpers */
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-3 { gap: 1rem !important; }
.mr-8 { margin-right: 8px !important; }
.mr-10 { margin-right: 10px !important; }

/* HERO section */
.hero { position: relative; overflow: hidden; height: 700px; }
.hero__video { position: absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; z-index:1; }
.hero__overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.4); z-index:2; }
.hero__content { position:relative; z-index:3; }

/* Partners */
.partners { position: relative; padding: 80px 0; color: #fff; overflow: hidden; }
.partners__content { position: relative; z-index: 2; }
.partners__lead { max-width: 700px; font-size: 16px; line-height: 1.6; color: #ccc; }

/* Partner card */
.partner-card { margin-top: 30px; }
.partner-info { max-width: 700px; }

/* Footer */
.footer-logo { max-height: 60px; }
.footer-contacts { color: #88418b; }

/* Tags */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip { background:#a57cd5; color:#ccc; padding:5px 10px; border-radius:20px; font-size:13px; }

/* Catalog Modal */
.catalog-modal { background: #0b1e33; border-radius: 16px; max-width: 800px; margin: auto; padding: 30px; }
.catalog-modal__close { float: right; }
.catalog-modal__title { color: #fff; text-align: center; margin-bottom: 24px; }
.catalog-modal__list { list-style:none; padding:0; margin:0; }
.catalog-modal__item { margin-bottom:16px; display:flex; align-items:center; gap:10px; color:#ccc; }
.catalog-modal__cta { text-align: center; margin-top: 30px; }

/* Contact Modal */
.contact-link {
  display:flex; align-items:center; gap:10px;
  color:white; text-decoration:none;
  background:#0b2e4c; padding:12px 15px;
  border-radius:8px;
}

/* YouTube Modal */
.yt-title { display:flex; align-items:center; gap:16px; justify-content:center; }
.yt-cards { display:flex; gap:20px; flex-wrap:wrap; justify-content:center; }
.yt-card { max-width:450px; background:#1e2b47; padding:20px; border-radius:12px; }
.yt-card__h { color:white; }
.yt-card__p { color:#ccc; }
.pill { border-radius:30px !important; }
.dot { display:inline-block; width:10px; height:10px; border-radius:50%; }
.dot-red { background:red; }

/* Modal product */
.modal-content { background:#fff; padding:20px; border-radius:10px; max-width:500px; margin:auto; }
.w-100 { width:100% !important; }

/* Mobile bottom menu */
.mobile-bottom-menu {
  position:fixed; bottom:0; left:0; width:100%;
  background:#111; display:flex; justify-content:space-around;
  padding:8px 0; z-index:1000;
}
.mobile-bottom-menu a {
  flex:1; text-align:center; color:#9d55d4; font-size:14px;
}
.mobile-bottom-menu a.active { color:#fac1de; }
/* ქვედა მენიუ — მხოლოდ მობილურზე */
.mobile-bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 1000;
}

/* სტილი ბმულებისთვის */
.mobile-bottom-menu a {
  flex: 1;
  text-align: center;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.mobile-bottom-menu a.active {
  color: #ff0080; /* აქციე highlight */
}

/* ✅ Desktop-ზე დამალული */
@media (min-width: 992px) {
  .mobile-bottom-menu {
    display: none !important;
  }
}
/* ===== Product Modal — Colors & States ===== */

:root{
  --modal-bg: #ffffff;
  --modal-text: #111827;
  --modal-muted: #9ca3af;

  --icon-bg: #c4d2df;
  --icon-fg: #2b2f3a;

  --grad-start: #ff0080;
  --grad-end:   #6c3cf6;

  --sec-start:  #8b5cf6;
  --sec-end:    #a855f7;

  --btn-text: #ffffff;
  --btn-muted: rgba(255,255,255,.55);
  --ring: rgba(108, 60, 246, .35);
}

.custom-product-modal{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  display: none; /* გახდება .active-ზე visible */
  align-items: center; justify-content: center;
  z-index: 10000;
}
.custom-product-modal.active{ display:flex; }

.custom-product-modal-content{
  background: var(--modal-bg);
  color: var(--modal-text);
  border-radius: 16px;
  width: min(720px, 92vw);
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  padding: 24px;
}

.custom-product-modal-close{
  position: absolute; right: 14px; top: 12px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 20px; color: #6b7280;
}
.custom-product-modal-close:hover{ color:#111827; }

.custom-product-modal-body{
  display:flex; align-items:center; gap: 20px;
}

.modal-product-icon{
  width: 96px; height: 96px;
  border-radius: 12px;
  background: var(--icon-bg);
  display: grid; place-items: center;
}
.modal-product-icon i{ font-size: 42px; color: var(--icon-fg); }

.custom-product-modal-body h3{
  margin: 0 0 10px 0;
  font-weight: 700;
}
.custom-product-modal-body p{
  margin: 0 0 16px 0;
  color: var(--modal-muted);
}

/* Buttons */
.custom-product-modal-actions{
  display:flex; gap:10px; flex-wrap: wrap;
}

.custom-product-modal .primary-action,
.custom-product-modal .secondary-action{
  appearance: none; border: 0; cursor: pointer;
  padding: 10px 18px; border-radius: 10px;
  font-weight: 700; color: var(--btn-text);
  transition: transform .06s ease, box-shadow .12s ease, opacity .12s ease;
}

/* Primary — gradient ფუშტი → იისფერი */
.custom-product-modal .primary-action{
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  box-shadow: 0 6px 16px rgba(108,60,246,.22);
}
.custom-product-modal .primary-action:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(108,60,246,.28);
}
.custom-product-modal .primary-action:active{
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(108,60,246,.2);
}
.custom-product-modal .primary-action:focus-visible{
  outline: 0; box-shadow: 0 0 0 4px var(--ring);
}

/* Secondary — რბილი იისფერი გრადიენტი */
.custom-product-modal .secondary-action{
  background: linear-gr

}

/* === Products: actions row tidy === */

/* ბარათის შიდა ლეიაუტი */
.cs-card-horizontal{
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px 18px;          /* მარჯვენა სივრცე actions-სთვის */
  width:100%;
  box-sizing:border-box;
}

/* ტექსტის სექციას ვაძლევთ shrink-ს და ელიფსისს */
.cs-card-content{
  flex:1 1 auto;
  min-width:0;                /* ❗️ მთავარია: ქარდის შიგნით ტექსტს მისცემს „ჩაკეცვის“ უფლებას */
}
.cs-card-content h3,
.cs-card-content p{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* actions ზონა — ყოველთვის ერთ ხაზში, თანაბარი დაშორებებით */
.product-overlay-horizontal{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;                   /* დაარეგულირე 12–22px შუალედში გემოვნებით */
  padding-left:14px;          /* ოდნავ სივრცე ტექსტიდან */
  flex:0 0 auto;
  flex-wrap:nowrap !important;/* აღარ დაიშლება მეორე ხაზზე */
  min-width: 120px;           /* მინ. ადგილს ავუფრთხილდეთ 3 აიქონზე */
}

/* თვითონ ღილაკები/აიქონები — ფიქსირებული ზომა, რომ არ „შემჭკნონ“ */
.product-overlay-horizontal button{
  all: unset;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex:0 0 38px;              /* ფიქს ზომა, shrink=0 */
  border-radius:10px;
  background:#1b2433;         /* ღამე თემას უხდება; თუ გინდა გამჭვირვალე — წაშალე ეს ხაზი */
  color:#5481dd;
  cursor:pointer;
  transition: transform .08s ease, opacity .12s ease;
}
.product-overlay-horizontal button:hover{ transform: translateY(-1px); }
.product-overlay-horizontal button:active{ transform: translateY(0); }
.product-overlay-horizontal i{ font-size:18px; line-height:1; }

/* ძალიან ვიწრო ეკრანებზე ოდნავ დავაპატარავოთ */
@media (max-width: 380px){
  .product-overlay-horizontal{ gap:12px; min-width: 104px; }
  .product-overlay-horizontal button{
    width:34px; height:34px; flex-basis:34px;
  }
}

  /* ===== Product Modal — color & layout fixes ===== */
:root{
  --modal-bg: #ffffff;
  --modal-text: #0f172a; /* slate-900 */
  --modal-muted: #6b7280; /* gray-500 */

  --icon-bg: #eef2f7;
  --icon-fg: #2b2f3a;

  --grad-start: #ff0080;
  --grad-end:   #6c3cf6;
  --sec-start:  #8b5cf6;
  --sec-end:    #a855f7;

  --ring: rgba(108, 60, 246, .35);
}

/* overlay */
.custom-product-modal{
  position: fixed; inset: 0;
  display: none; /* გახდება .active-ზე flex */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.5);
  z-index: 10000;
}
.custom-product-modal.active{ display:flex; }

/* card */
.custom-product-modal .custom-product-modal-content{
  background: var(--modal-bg) !important; /* dark თემა ვერ გადაფაროს */
  border-radius: 16px;
  width: min(720px, 92vw);
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
  padding: 24px;
  position: relative;
}

/* close */
.custom-product-modal .custom-product-modal-close{
  position: absolute; right: 14px; top: 12px;
  border: 0; background: transparent; cursor: pointer;
  font-size: 20px; color: #6b7280;
}
.custom-product-modal .custom-product-modal-close:hover{ color:#111827; }

/* body */
.custom-product-modal .custom-product-modal-body{
  display:flex; gap:20px; align-items:center;
}

/* icon block */
.custom-product-modal .modal-product-icon{
  width: 96px; height: 96px; border-radius: 12px;
  background: var(--icon-bg);
  display:grid; place-items:center;
}
.custom-product-modal .modal-product-icon i{ color: var(--icon-fg); font-size: 42px; }

/* text colors — ყოველთვის მუქი თეთრ ფონზე */
.custom-product-modal .custom-product-modal-body h1,
.custom-product-modal .custom-product-modal-body h2,
.custom-product-modal .custom-product-modal-body h3,
.custom-product-modal .custom-product-modal-body h4,
.custom-product-modal .custom-product-modal-body h5,
.custom-product-modal .custom-product-modal-body h6{
  color: var(--modal-text) !important;
  margin: 0 0 10px 0;
  font-weight: 800;
}
.custom-product-modal .custom-product-modal-body p{
  color: var(--modal-muted) !important;
  margin: 0 0 16px 0;
}

/* actions */
.custom-product-modal .custom-product-modal-actions{
  display:flex; gap:10px; flex-wrap: wrap;
}

/* primary button — gradient */
.custom-product-modal .primary-action{
  appearance:none; border:0; cursor:pointer;
  padding:10px 18px; border-radius: 12px;
  color:#fff; font-weight: 800;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  box-shadow: 0 8px 22px rgba(108,60,246,.22);
  transition: transform .06s ease, box-shadow .12s ease, opacity .12s ease;
}
.custom-product-modal .primary-action:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(108,60,246,.28);
}
.custom-product-modal .primary-action:active{ transform: translateY(0); }
.custom-product-modal .primary-action:focus-visible{
  outline:0; box-shadow: 0 0 0 4px var(--ring);
}

/* secondary button */
.custom-product-modal .secondary-action{
  appearance:none; border:0; cursor:pointer;
  padding:10px 18px; border-radius: 12px;
  color:#fff; font-weight: 800;
  background: linear-gradient(90deg, var(--sec-start), var(--sec-end));
  box-shadow: 0 6px 16px rgba(168,85,247,.18);
  transition: transform .06s ease, box-shadow .12s ease, opacity .12s ease;
}
.custom-product-modal .secondary-action:hover{ transform: translateY(-1px); }
.custom-product-modal .secondary-action:active{ transform: translateY(0); }
.custom-product-modal .secondary-action:focus-visible{
  outline:0; box-shadow: 0 0 0 4px var(--ring);
}

/* disabled */
.custom-product-modal .primary-action:disabled,
.custom-product-modal .secondary-action:disabled{
  opacity:.45; cursor:not-allowed; box-shadow:none;
}

/* mobile stack */
@media (max-width: 520px){
  .custom-product-modal .custom-product-modal-body{
    flex-direction: column; align-items: stretch;
  }
  .custom-product-modal .modal-product-icon{ margin:0 auto; }
  .custom-product-modal .custom-product-modal-actions{ justify-content:center; }
}
/* ===== YouTube modal visibility fixes ===== */

/* მოდალის კონტეინერის ფონი და ძირითადი ფერი */
.cs-modal[data-modal="connect_youtube"] .cs-modal_container.cs-white_bg{
  background:#0b1e33 !important;   /* ბნელი ბექგრაუნდი */
  color:#ffffff;
}

/* სექციის სათაური */
.cs-modal[data-modal="connect_youtube"] .cs-section_title{
  color:#ffffff !important;
}

/* ბარათების სია და ბარათები */
.cs-modal[data-modal="connect_youtube"] .cs-video_cards{
  display:flex; flex-direction:column; gap:20px;
}

.cs-modal[data-modal="connect_youtube"] .cs-video_cards .cs-card{
  background:#1e2b47;
  border-radius:12px;
  padding:20px;
  color:#ffffff;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.cs-modal[data-modal="connect_youtube"] .cs-video_cards .cs-card h3{
  margin:0 0 8px 0;
  color:#ffffff !important;
  font-weight:800;
}

.cs-modal[data-modal="connect_youtube"] .cs-video_cards .cs-card p{
  margin:0 0 14px 0;
  color:#cbd5e1 !important;   /* მკვეთრი ნაცრისფერი ტექსტი */
}

/* „Смотреть видео“ ღილაკები — მკვეთრად თეთრი ფონით და შავი ტექსტით */
.cs-modal[data-modal="connect_youtube"] .cs-video_cards .cs-card a.cs-btn{
  display:inline-flex; align-items:center; gap:10px;
  background:#ffffff !important;
  color:#111827 !important;            /* შავი ტექსტი */
  padding:10px 20px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 6px 18px rgba(255,255,255,.15);
  transition:transform .08s ease, box-shadow .12s ease;
}
.cs-modal[data-modal="connect_youtube"] .cs-video_cards .cs-card a.cs-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(255,255,255,.18);
}
.cs-modal[data-modal="connect_youtube"] .cs-video_cards .cs-card a.cs-btn:active{
  transform:translateY(0);
}

/* წითელი წერტილი ღილაკში (span) */
.cs-modal[data-modal="connect_youtube"] .cs-video_cards .cs-card a.cs-btn > span{
  width:10px; height:10px; border-radius:50%;
  background:#ff2b2b; display:inline-block;
}

/* პატარა ეკრანებზე მცირე კომპაქტურობა */
@media (max-width:420px){
  .cs-modal[data-modal="connect_youtube"] .cs-video_cards .cs-card{ padding:16px; }
}
/* ===== Catalog modal backdrop (უკანა ბექი) ===== */
.cs-modal[data-modal="connect_catalog"]{
  /* უფრო მუქი, პრაქტიკულად გაუმჭვირვალე ფონი */
  background: rgba(4, 10, 24, .92) !important;  /* navy-black */
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}

/* სურვილისამებრ: საერთოდ უცბად შავი, უპირობოდ */
 /* .cs-modal[data-modal="connect_catalog"]{
      background:#070b16 !important;
      backdrop-filter:none; -webkit-backdrop-filter:none;
    } */
    
    /* icons.css */
.icon {
  width: 1.25rem;   /* 20px */
  height: 1.25rem;
  display: inline-block;
  vertical-align: -0.15em;
  fill: currentColor;   /* იღებს მიმდინარე ტექსტის ფერს */
}

/* სურვილისამებრ – ზომები */
.icon.sm { width: 1rem; height: 1rem; }
.icon.lg { width: 1.5rem; height: 1.5rem; }

