/* Gill Med teması — dizayn sistemi
   Rənglər loqodan ölçülüb: navy #081060, açıq mavi #60A0C8.
   Açıq mavi ağ fonda mətn üçün kontrastı zəifdir (≈2.9:1), ona görə mətn/link üçün --gm-link işlədilir.
   Xarici şrift yoxdur: sistem şriftləri (sürət + üçüncü tərəf sorğusu yoxdur). */
:root {
  --gm-navy: #0b1464;
  --gm-navy-2: #1a2a8f;
  --gm-sky: #60a0c8;
  --gm-sky-50: #f0f6fb;
  --gm-sky-100: #dcebf5;
  --gm-link: #1f5f94;
  --gm-ink: #131a3a;
  --gm-muted: #5a6478;
  --gm-line: #e2e8f0;
  --gm-bg: #f6f8fb;
  --gm-surface: #ffffff;
  --gm-ok: #1b7a4b;
  --gm-ok-50: #e8f5ee;
  --gm-warn: #7a4b00;
  --gm-warn-50: #fff6e3;
  --gm-danger: #b42318;
  --gm-radius: 14px;
  --gm-radius-sm: 10px;
  --gm-shadow: 0 1px 2px rgba(11, 20, 100, .06), 0 8px 24px rgba(11, 20, 100, .06);
  --gm-shadow-hover: 0 2px 4px rgba(11, 20, 100, .08), 0 14px 32px rgba(11, 20, 100, .12);
  --gm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --gm-wrap: 1240px;
}

/* ---------- Əsaslar (Bootstrap 3-ün üzərinə) ---------- */
html { -webkit-text-size-adjust: 100%; }
body.gm { font-family: var(--gm-font); font-size: 16px; line-height: 1.55; color: var(--gm-ink); background: var(--gm-bg); }
.gm h1, .gm h2, .gm h3, .gm h4, .gm h5 { font-family: var(--gm-font); color: var(--gm-ink); font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.gm a { color: var(--gm-link); }
.gm a:hover, .gm a:focus { color: var(--gm-navy); }
.gm :focus-visible { outline: 3px solid var(--gm-sky); outline-offset: 2px; border-radius: 6px; }
.gm img { max-width: 100%; height: auto; }
.gm .container { max-width: var(--gm-wrap); width: 100%; padding-left: 20px; padding-right: 20px; }
/* Bootstrap 3 .container::before/::after (clearfix) grid/flex konteynerində əlavə xana yaradır — söndürülür */
.gm-hero .container::before, .gm-hero .container::after,
.gm-topbar .container::before, .gm-topbar .container::after { content: none; display: none; }
.gm-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gm-navy); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.gm-skip:focus { left: 0; color: #fff; }
.gm-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* Kritik Bootstrap qaydaları (bootstrap.min.css asinxron yüklənir; bu qaydalar olmasa ilk anda menyu/tablar açıq görünür) */
.gm *, .gm *::before, .gm *::after { box-sizing: border-box; }
body.gm { margin: 0; }
.gm .container { margin-left: auto; margin-right: auto; }
.gm .dropdown-menu { display: none; position: absolute; top: 100%; z-index: 1000; background: #fff; list-style: none; margin: 2px 0 0; }
.gm .open > .dropdown-menu { display: block; }
.gm .btn-group { position: relative; display: inline-block; }
.gm .tab-content > .tab-pane { display: none; }
.gm .tab-content > .active { display: block; }
.gm .nav { padding-left: 0; margin-bottom: 0; list-style: none; }
.gm .nav-tabs > li { float: left; }
.gm .nav-tabs::after { content: ""; display: table; clear: both; }
.gm .nav > li > a { display: block; position: relative; text-decoration: none; }
.gm .hidden, .gm [hidden] { display: none !important; }
.gm h1, .gm h2, .gm h3 { margin-top: 0; }
.gm button, .gm input, .gm select, .gm textarea { font: inherit; }

/* ---------- Düymələr ---------- */
.gm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--gm-radius-sm); border: 2px solid transparent; font-weight: 650; font-size: 15px; line-height: 1; text-decoration: none !important; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.gm-btn:active { transform: translateY(1px); }
.gm-btn--primary { background: var(--gm-navy); color: #fff !important; }
.gm-btn--primary:hover { background: var(--gm-navy-2); color: #fff !important; }
.gm-btn--light { background: #fff; color: var(--gm-navy) !important; }
.gm-btn--light:hover { background: var(--gm-sky-50); }
.gm-btn--ghost { background: transparent; border-color: currentColor; color: var(--gm-navy) !important; }
.gm-btn--ghost:hover { background: var(--gm-sky-50); }
.gm-btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff !important; }
.gm-btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.gm-btn--block { width: 100%; }
.gm-btn--lg { min-height: 54px; font-size: 16px; padding: 0 26px; }
.gm-btn[disabled], .gm-btn.disabled { opacity: .55; cursor: not-allowed; }
.gm-icon { width: 20px; height: 20px; flex: none; }

/* ---------- Elan zolağı ---------- */
.gm-topbar { background: var(--gm-navy); color: #e6ecff; font-size: 13.5px; }
.gm-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.gm-topbar__msgs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.gm-topbar__msgs::-webkit-scrollbar { display: none; }
.gm-topbar__msgs span { display: inline-flex; align-items: center; gap: 6px; }
.gm-topbar__msgs b { color: #fff; font-weight: 650; }
.gm-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.gm-topbar__right { display: flex; gap: 18px; white-space: nowrap; }

/* ---------- Başlıq ---------- */
.gm-header { background: var(--gm-surface); border-bottom: 1px solid var(--gm-line); position: sticky; top: 0; z-index: 50; }
.gm-header__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 76px; }
.gm-logo { display: inline-flex; align-items: center; }
.gm-logo img { height: 46px; width: auto; display: block; }
.gm-actions { display: flex; align-items: center; gap: 6px; }
.gm-action { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 6px 8px; border-radius: var(--gm-radius-sm); color: var(--gm-ink) !important; text-decoration: none !important; font-size: 12px; font-weight: 600; background: none; border: 0; }
.gm-action:hover { background: var(--gm-sky-50); }
.gm-action .gm-icon { width: 24px; height: 24px; color: var(--gm-navy); }
.gm-action--b2b { flex-direction: row; gap: 8px; font-size: 14px; padding: 10px 14px; border: 2px solid var(--gm-sky-100); }

/* Axtarış (#search: common.js-ə uyğun) */
#search.gm-search { position: relative; display: flex; width: 100%; max-width: 640px; margin: 0 auto; }
#search.gm-search input { width: 100%; height: 50px; padding: 0 56px 0 18px; border: 2px solid var(--gm-line); border-radius: 999px; font-size: 16px; background: var(--gm-bg); color: var(--gm-ink); box-shadow: none; }
#search.gm-search input:focus { border-color: var(--gm-sky); background: #fff; outline: none; }
#search.gm-search button { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--gm-navy); color: #fff; display: grid; place-items: center; }
#search.gm-search button:hover { background: var(--gm-navy-2); }

/* Səbət (#cart: common.js-ə uyğun) */
#cart.gm-cart { position: relative; }
#cart.gm-cart > button { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 6px 8px; border: 0; border-radius: var(--gm-radius-sm); background: none; color: var(--gm-ink); font-size: 12px; font-weight: 600; }
#cart.gm-cart > button:hover { background: var(--gm-sky-50); }
#cart.gm-cart > button .fa { font-size: 22px; color: var(--gm-navy); }
#cart.gm-cart #cart-total { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
#cart.gm-cart > ul { right: 0; left: auto; min-width: 360px; max-width: 92vw; padding: 12px; border-radius: var(--gm-radius); border: 1px solid var(--gm-line); box-shadow: var(--gm-shadow-hover); }
#cart.gm-cart > ul table { margin-bottom: 8px; }
#cart.gm-cart > ul img { max-width: 56px; border-radius: 8px; }

/* Kateqoriya menyusu */
.gm-nav { background: var(--gm-surface); border-bottom: 1px solid var(--gm-line); }
.gm-nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.gm-nav__list::-webkit-scrollbar { display: none; }
.gm-nav__list a { display: block; padding: 13px 14px; color: var(--gm-ink) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; white-space: nowrap; border-bottom: 3px solid transparent; }
.gm-nav__list a:hover, .gm-nav__list a[aria-current="page"] { color: var(--gm-navy) !important; border-bottom-color: var(--gm-sky); }
.gm-nav__list .gm-nav__b2b a { color: var(--gm-link) !important; }
@media (min-width: 1100px) {
  .gm-nav__list { flex-wrap: wrap; justify-content: space-between; overflow: visible; }
  .gm-nav__list a { padding: 13px 4px; font-size: 14px; }
  .gm-nav__list .gm-nav__b2b { display: none; } /* başlıqda "Xəstəxanalar üçün" düyməsi var */
}

/* ---------- Ümumi bölmələr ---------- */
.gm-main { min-height: 50vh; }
.gm-section { padding: 56px 0; }
.gm-section--tight { padding: 36px 0; }
.gm-section--white { background: var(--gm-surface); }
.gm-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--gm-link); margin-bottom: 10px; }
.gm-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.gm-section__head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.gm-section__head p { color: var(--gm-muted); margin: 8px 0 0; max-width: 640px; }
.gm-link-more { font-weight: 650; white-space: nowrap; text-decoration: none !important; }
.gm-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--gm-muted); }
.gm-breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #9aa3b5; }
.gm-breadcrumb a { color: var(--gm-muted); text-decoration: none; }
.gm-breadcrumb a:hover { color: var(--gm-navy); text-decoration: underline; }

/* ---------- Ana səhifə: hero ---------- */
.gm-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #2c3fb0 0%, transparent 60%), linear-gradient(135deg, #081060 0%, #0e1d7a 55%, #173a8f 100%); color: #fff; }
.gm-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; transform: rotate(45deg); border-radius: 48px; background: rgba(96, 160, 200, .16); pointer-events: none; }
.gm-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.gm-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #dbe7ff; font-size: 13.5px; font-weight: 600; }
.gm-hero__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #7fd3a7; display: inline-block; }
.gm-hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); margin: 18px 0 16px; font-weight: 800; letter-spacing: -.02em; }
.gm-hero h1 em { font-style: normal; color: #9cc8e6; }
.gm-hero__lead { font-size: clamp(16px, 1.6vw, 19px); color: #d7e1ff; max-width: 560px; margin: 0 0 28px; }
.gm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.gm-hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.gm-hero__facts b { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.gm-hero__facts span { font-size: 13.5px; color: #c3cff5; }
.gm-hero__media { position: relative; }
.gm-hero__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.35); background: #dcebf5; }
.gm-hero__badge { position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; color: var(--gm-ink); box-shadow: var(--gm-shadow-hover); font-size: 14px; max-width: 260px; }
.gm-hero__badge b { display: block; font-size: 15px; color: var(--gm-navy); }
.gm-hero__badge .gm-icon { width: 34px; height: 34px; color: var(--gm-ok); flex: none; }

/* Üstünlüklər zolağı */
.gm-usp { background: var(--gm-surface); border-bottom: 1px solid var(--gm-line); }
.gm-usp ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.gm-usp li { display: flex; align-items: center; gap: 12px; padding: 20px 16px; font-size: 14px; color: var(--gm-muted); }
.gm-usp li + li { border-left: 1px solid var(--gm-line); }
.gm-usp b { display: block; color: var(--gm-ink); font-size: 15px; }
.gm-usp .gm-icon { width: 30px; height: 30px; color: var(--gm-navy); }

/* Kateqoriya kartları */
.gm-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gm-cat { position: relative; display: flex; flex-direction: column; border-radius: var(--gm-radius); overflow: hidden; background: var(--gm-surface); box-shadow: var(--gm-shadow); text-decoration: none !important; color: var(--gm-ink) !important; transition: transform .2s, box-shadow .2s; }
.gm-cat:hover { transform: translateY(-3px); box-shadow: var(--gm-shadow-hover); }
.gm-cat__img { aspect-ratio: 4 / 3; background: var(--gm-sky-50); overflow: hidden; }
.gm-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gm-cat:hover .gm-cat__img img { transform: scale(1.04); }
.gm-cat__body { padding: 16px 18px 18px; }
.gm-cat__body h3 { font-size: 17px; margin: 0 0 4px; }
.gm-cat__body span { font-size: 13.5px; color: var(--gm-muted); }
.gm-cat__tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--gm-navy); font-size: 12px; font-weight: 700; }

/* B2B bandı */
.gm-b2b { border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; background: linear-gradient(120deg, #eaf3fa 0%, #f6f9fd 100%); border: 1px solid var(--gm-sky-100); }
.gm-b2b__body { padding: 44px; }
.gm-b2b__body h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
.gm-b2b__body p { color: var(--gm-muted); max-width: 560px; }
.gm-b2b__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 22px 0 28px; padding: 0; list-style: none; }
.gm-b2b__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15px; }
.gm-b2b__list .gm-icon { color: var(--gm-ok); margin-top: 1px; }
.gm-b2b__side { background: var(--gm-navy); color: #dfe7ff; padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.gm-b2b__side b { color: #fff; font-size: 34px; font-weight: 800; display: block; line-height: 1.1; }
.gm-b2b__side span { font-size: 14px; }

/* Niyə Gill Med */
.gm-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.gm-why li { background: var(--gm-surface); border-radius: var(--gm-radius); padding: 24px; box-shadow: var(--gm-shadow); }
.gm-why .gm-icon { width: 36px; height: 36px; color: var(--gm-navy); padding: 7px; box-sizing: content-box; background: var(--gm-sky-50); border-radius: 12px; }
.gm-why h3 { font-size: 17px; margin: 16px 0 6px; }
.gm-why p { margin: 0; color: var(--gm-muted); font-size: 14.5px; }

/* ---------- Məhsul kartları ---------- */
.gm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gm-card { position: relative; display: flex; flex-direction: column; background: var(--gm-surface); border-radius: var(--gm-radius); box-shadow: var(--gm-shadow); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.gm-card:hover { box-shadow: var(--gm-shadow-hover); transform: translateY(-2px); }
.gm-card__img { display: block; aspect-ratio: 1 / 1; background: var(--gm-sky-50); overflow: hidden; }
.gm-card__img img { width: 100%; height: 100%; object-fit: cover; }
.gm-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.gm-card__name { font-size: 15.5px; font-weight: 650; line-height: 1.35; margin: 0 0 8px; min-height: 2.7em; }
.gm-card__name a { color: var(--gm-ink) !important; text-decoration: none !important; }
.gm-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gm-card__price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; font-weight: 800; font-size: 19px; color: var(--gm-navy); }
.gm-card__price s { font-size: 14px; font-weight: 500; color: var(--gm-muted); }
.gm-card__tax { font-size: 12px; font-weight: 500; color: var(--gm-muted); }
.gm-card__actions { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 12px; }
.gm-card__actions .gm-btn { min-height: 42px; font-size: 14px; flex: 1; }
.gm-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; color: var(--gm-navy); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.gm-badge--sale { background: var(--gm-danger); color: #fff; }

/* ---------- Kateqoriya səhifəsi ---------- */
.gm-cathead { background: var(--gm-surface); border-bottom: 1px solid var(--gm-line); padding: 6px 0 26px; }
.gm-cathead h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 8px; }
.gm-cathead__desc { color: var(--gm-muted); max-width: 760px; margin: 0; }
.gm-chips { display: flex; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.gm-chips::-webkit-scrollbar { display: none; }
.gm-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--gm-line); background: #fff; color: var(--gm-ink) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; white-space: nowrap; }
.gm-chips a:hover, .gm-chips a[aria-current="page"] { border-color: var(--gm-navy); color: var(--gm-navy) !important; background: var(--gm-sky-50); }
.gm-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 18px; color: var(--gm-muted); font-size: 14px; }
.gm-toolbar select { height: 42px; padding: 0 12px; border-radius: var(--gm-radius-sm); border: 1.5px solid var(--gm-line); background: #fff; color: var(--gm-ink); font-size: 14px; }
.gm-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 30px 0 10px; color: var(--gm-muted); font-size: 14px; flex-wrap: wrap; }
.gm-pagination .pagination { margin: 0; }
.gm-pagination .pagination > li > a, .gm-pagination .pagination > li > span { border-radius: 8px !important; margin: 0 3px; border-color: var(--gm-line); color: var(--gm-ink); }
.gm-pagination .pagination > .active > span { background: var(--gm-navy); border-color: var(--gm-navy); }
.gm-empty { background: #fff; border-radius: var(--gm-radius); padding: 40px; text-align: center; color: var(--gm-muted); box-shadow: var(--gm-shadow); }

/* ---------- Məhsul səhifəsi ---------- */
.gm-product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; margin: 24px 0 40px; align-items: start; }
.gm-gallery__main { display: block; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--gm-shadow); aspect-ratio: 1 / 1; }
.gm-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gm-gallery__thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; overflow-x: auto; }
.gm-gallery__thumbs a { display: block; width: 78px; height: 78px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #fff; }
.gm-gallery__thumbs a:hover, .gm-gallery__thumbs a.is-active { border-color: var(--gm-navy); }
.gm-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gm-buybox { background: var(--gm-surface); border-radius: 20px; padding: 28px; box-shadow: var(--gm-shadow); position: sticky; top: 100px; }
.gm-buybox h1 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 10px; }
.gm-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; color: var(--gm-muted); }
.gm-meta b { color: var(--gm-ink); font-weight: 600; }
.gm-stock { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--gm-ok-50); color: var(--gm-ok); font-weight: 650; font-size: 13px; }
.gm-stock--out { background: #fdecea; color: var(--gm-danger); }
.gm-price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 18px; }
.gm-price strong { font-size: 34px; font-weight: 800; color: var(--gm-navy); letter-spacing: -.01em; }
.gm-price s { color: var(--gm-muted); font-size: 18px; }
.gm-price small { color: var(--gm-muted); font-size: 13px; }
.gm-buybox .form-group { margin-bottom: 16px; }
.gm-buybox .control-label { font-weight: 650; font-size: 14px; color: var(--gm-ink); margin-bottom: 8px; display: block; }
.gm-buybox .form-control { height: 48px; border-radius: var(--gm-radius-sm); border: 1.5px solid var(--gm-line); box-shadow: none; font-size: 16px; }
.gm-buybox textarea.form-control { height: auto; }
.gm-buybox .form-control:focus { border-color: var(--gm-sky); box-shadow: 0 0 0 3px rgba(96,160,200,.25); }
.gm-buyrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.gm-buyrow > div:first-child { width: 130px; }
.gm-buyrow #button-cart { flex: 1 1 220px; }
.gm-buyrow #gs-open { height: 54px; }
.gm-qty { display: flex; align-items: center; border: 1.5px solid var(--gm-line); border-radius: var(--gm-radius-sm); height: 54px; overflow: hidden; background: #fff; }
.gm-qty button { width: 36px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--gm-navy); }
.gm-qty input { width: 100%; height: 100%; border: 0; text-align: center; font-size: 16px; font-weight: 650; -moz-appearance: textfield; }
.gm-qty input::-webkit-outer-spin-button, .gm-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gm-assure { display: grid; gap: 10px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--gm-line); list-style: none; font-size: 14px; color: var(--gm-muted); }
.gm-assure li { display: flex; gap: 10px; align-items: flex-start; }
.gm-assure b { color: var(--gm-ink); }
.gm-assure .gm-icon { color: var(--gm-navy); }
.gm-b2b-note { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: var(--gm-radius-sm); background: var(--gm-sky-50); border: 1px solid var(--gm-sky-100); font-size: 14px; }
.gm-b2b-note a { font-weight: 700; white-space: nowrap; }
.gm-tabs { background: var(--gm-surface); border-radius: 20px; box-shadow: var(--gm-shadow); padding: 8px 28px 28px; margin-bottom: 40px; }
.gm-tabs .nav-tabs { border-bottom: 1px solid var(--gm-line); margin-bottom: 20px; }
.gm-tabs .nav-tabs > li > a { border: 0; border-bottom: 3px solid transparent; color: var(--gm-muted); font-weight: 650; padding: 16px 4px; margin-right: 22px; background: none !important; }
.gm-tabs .nav-tabs > li.active > a, .gm-tabs .nav-tabs > li > a:hover { border: 0; border-bottom: 3px solid var(--gm-navy); color: var(--gm-navy); }
.gm-tabs .tab-content { font-size: 15.5px; color: #2b3352; max-width: 820px; }
.gm-spec { width: 100%; border-collapse: collapse; }
.gm-spec th, .gm-spec td { padding: 12px 14px; border-bottom: 1px solid var(--gm-line); text-align: left; font-size: 15px; }
.gm-spec th { width: 38%; color: var(--gm-muted); font-weight: 600; background: var(--gm-bg); }
.gm-mobile-buy { display: none; }
/* Ölçü seçimi: radio düymələr çip kimi */
.gm-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-size { position: relative; margin: 0; font-weight: 600; cursor: pointer; }
.gm-size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gm-size span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 44px; padding: 0 12px; border-radius: var(--gm-radius-sm); border: 1.5px solid var(--gm-line); background: #fff; color: var(--gm-ink); font-size: 15px; transition: border-color .15s, background .15s; }
.gm-size:hover span { border-color: var(--gm-sky); }
.gm-size input:checked + span { border-color: var(--gm-navy); background: var(--gm-navy); color: #fff; }
.gm-size input:focus-visible + span { outline: 3px solid var(--gm-sky); outline-offset: 2px; }
.gm .has-error .gm-size span { border-color: var(--gm-danger); }



/* ---------- Səbət səhifəsi ---------- */
.gm-cartpage { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; margin-bottom: 40px; }
.gm-cartlist { display: grid; gap: 12px; margin: 0; }
.gm-cartitem { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--gm-radius); box-shadow: var(--gm-shadow); padding: 14px; }
.gm-cartitem.is-out { opacity: .6; }
.gm-cartitem__img img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; display: block; background: var(--gm-sky-50); }
.gm-cartitem__name { font-weight: 650; color: var(--gm-ink) !important; text-decoration: none !important; }
.gm-cartitem__meta { font-size: 13.5px; color: var(--gm-muted); margin: 4px 0 10px; }
.gm-cartitem__warn { font-size: 13px; color: var(--gm-danger); font-weight: 600; margin-bottom: 8px; }
.gm-cartitem__row { display: flex; align-items: center; gap: 14px; }
.gm-cartitem__price { text-align: right; white-space: nowrap; }
.gm-cartitem__price b { display: block; font-size: 18px; color: var(--gm-navy); }
.gm-cartitem__price small { color: var(--gm-muted); font-size: 12.5px; }
.gm-qty--sm { height: 40px; width: 116px; }
.gm-qty--sm button { width: 34px; }
.gm-linkbtn { background: none; border: 0; padding: 0; color: var(--gm-danger); font-weight: 600; font-size: 14px; cursor: pointer; }
.gm-summary { background: #fff; border-radius: var(--gm-radius); box-shadow: var(--gm-shadow); padding: 22px; position: sticky; top: 100px; }
.gm-summary h2 { font-size: 19px; margin: 0 0 12px; }
.gm-summary__table { width: 100%; margin-bottom: 12px; }
.gm-summary__table th, .gm-summary__table td { padding: 8px 0; border-bottom: 1px solid var(--gm-line); font-weight: 500; color: var(--gm-muted); }
.gm-summary__table td { text-align: right; color: var(--gm-ink); font-weight: 650; }
.gm-summary__table tr:last-child th, .gm-summary__table tr:last-child td { border-bottom: 0; font-size: 18px; color: var(--gm-navy); font-weight: 800; }
.gm-summary__note { font-size: 13.5px; color: var(--gm-muted); }
@media (max-width: 860px) {
  .gm-cartpage { grid-template-columns: 1fr; }
  .gm-summary { position: static; }
  .gm-cartitem { grid-template-columns: 72px 1fr; }
  .gm-cartitem__img img { width: 72px; height: 72px; }
  .gm-cartitem__price { grid-column: 2; text-align: left; }
}


/* ---------- B2B qiymət sorğusu forması ---------- */
.gm-rfq { background: #fff; border: 1px solid var(--gm-line); border-radius: var(--gm-radius); padding: 22px; margin: 14px 0 28px; display: grid; gap: 14px; box-shadow: var(--gm-shadow); }
.gm-rfq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gm-rfq label { display: grid; gap: 6px; font-weight: 650; font-size: 14px; color: var(--gm-ink); margin: 0; }
.gm-rfq input, .gm-rfq select, .gm-rfq textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--gm-line); border-radius: var(--gm-radius-sm); font: inherit; font-weight: 400; background: #fff; color: var(--gm-ink); }
.gm-rfq textarea { resize: vertical; }
.gm-rfq input:focus, .gm-rfq select:focus, .gm-rfq textarea:focus { outline: none; border-color: var(--gm-sky); box-shadow: 0 0 0 3px rgba(96,160,200,.25); }
.gm-rfq .is-invalid { border-color: var(--gm-danger); }
.gm-rfq__phone { display: flex; }
.gm-rfq__phone b { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--gm-line); border-right: 0; border-radius: var(--gm-radius-sm) 0 0 var(--gm-radius-sm); background: var(--gm-bg); font-weight: 650; }
.gm-rfq__phone input { border-radius: 0 var(--gm-radius-sm) var(--gm-radius-sm) 0; }
.gm-rfq__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.gm-rfq button { justify-self: start; }
.gm-rfq__msg { margin: 0; font-weight: 650; min-height: 1.4em; }
.gm-rfq__msg.is-ok { color: var(--gm-ok); }
.gm-rfq__msg.is-err { color: var(--gm-danger); }
@media (max-width: 760px) { .gm-rfq__grid { grid-template-columns: 1fr; } .gm-rfq { padding: 16px; } .gm-rfq button { justify-self: stretch; } }

/* Bildirişlər (common.js .alert əlavə edir) */
.gm .alert { border-radius: var(--gm-radius-sm); border: 0; box-shadow: var(--gm-shadow); margin: 16px auto; max-width: var(--gm-wrap); }
.gm .alert-success { background: var(--gm-ok-50); color: var(--gm-ok); }
.gm .alert-danger { background: #fdecea; color: var(--gm-danger); }
.gm .alert a { font-weight: 700; }

/* ---------- Alt hissə ---------- */
.gm-footer { background: #070d45; color: #c6d0f2; margin-top: 56px; font-size: 14.5px; }
.gm-footer a { color: #e7ecff !important; text-decoration: none; }
.gm-footer a:hover { text-decoration: underline; }
.gm-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 52px 0 36px; }
.gm-footer h2 { color: #fff; font-size: 15px; margin: 0 0 14px; letter-spacing: .02em; }
.gm-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.gm-footer__logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.gm-footer__logo img { height: 36px; width: auto; display: block; }
.gm-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.gm-footer__contact .gm-icon { width: 18px; height: 18px; margin-top: 2px; color: #9cc8e6; }
.gm-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #9aa6d4; }
.gm-social { display: flex; gap: 10px; margin-top: 16px; }
.gm-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.gm-social a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.gm-social .gm-icon { width: 18px; height: 18px; }

/* Standart səhifələr (səbət, hesab, məlumat) — Bootstrap üzərində yüngül uyğunlaşdırma */
.gm #content > h1, .gm #content > h2 { margin-top: 18px; }
.gm .breadcrumb { background: none; padding: 16px 0 0; margin: 0 0 10px; font-size: 14px; }
.gm .btn-primary { background: var(--gm-navy); border-color: var(--gm-navy); border-radius: var(--gm-radius-sm); }
.gm .btn-primary:hover, .gm .btn-primary:focus { background: var(--gm-navy-2); border-color: var(--gm-navy-2); }
.gm a.btn-primary, .gm a.btn-primary:hover, .gm a.btn-primary:focus { color: #fff !important; text-decoration: none; }
.gm .btn-default { border-radius: var(--gm-radius-sm); }
.gm .well { background: #fff; border-radius: var(--gm-radius); border: 1px solid var(--gm-line); box-shadow: none; }
.gm .table { background: #fff; }

/* ---------- Adaptiv ---------- */
@media (max-width: 1100px) {
  .gm-cats, .gm-grid, .gm-why { grid-template-columns: repeat(3, 1fr); }
  .gm-usp ul { grid-template-columns: repeat(2, 1fr); }
  .gm-usp li:nth-child(3) { border-left: 0; }
  .gm-usp li:nth-child(n+3) { border-top: 1px solid var(--gm-line); }
  .gm-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .gm-hero .container { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 40px; }
  .gm-hero__media { order: -1; max-width: 420px; }
  .gm-hero__badge { left: 12px; bottom: 12px; }
  .gm-b2b { grid-template-columns: 1fr; }
  .gm-b2b__body, .gm-b2b__side { padding: 28px; }
  .gm-product { grid-template-columns: 1fr; gap: 20px; margin-top: 12px; }
  .gm-buybox { position: static; padding: 22px; }
  .gm-topbar__right { display: none; }
}
@media (max-width: 760px) {
  body.gm { font-size: 15.5px; }
  .gm .container { padding-left: 16px; padding-right: 16px; }
  .gm-header__row { grid-template-columns: auto 1fr; grid-template-areas: "logo actions" "search search"; gap: 10px 12px; min-height: 0; padding: 10px 0 12px; }
  .gm-logo { grid-area: logo; }
  .gm-logo img { height: 36px; }
  .gm-actions { grid-area: actions; justify-content: flex-end; gap: 0; }
  #search.gm-search { grid-area: search; max-width: none; }
  #search.gm-search input { height: 46px; }
  .gm-action, #cart.gm-cart > button { min-width: 52px; padding: 4px; font-size: 11px; }
  .gm-action--b2b { display: none; }
  .gm-header { position: static; }
  .gm-cats, .gm-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gm-why { grid-template-columns: 1fr; }
  .gm-section { padding: 36px 0; }
  .gm-section__head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 18px; }
  .gm-hero__facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gm-hero__facts b { font-size: 21px; }
  .gm-b2b__list { grid-template-columns: 1fr; }
  .gm-usp li { padding: 14px 10px; font-size: 13px; gap: 8px; }
  .gm-card__body { padding: 10px 12px 12px; }
  .gm-card__name { font-size: 14px; }
  .gm-card__price { font-size: 17px; }
  .gm-card__actions .gm-btn { min-height: 40px; font-size: 13px; padding: 0 10px; }
  .gm-footer__grid { grid-template-columns: 1fr; gap: 26px; padding-top: 36px; }
  #cart.gm-cart > ul { position: fixed; left: 8px; right: 8px; top: 64px; min-width: 0; }
  .gm-tabs { padding: 4px 16px 20px; }
  /* Mobil "Səbətə at" zolağı: həmişə görünür */
  .gm-mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--gm-line); box-shadow: 0 -6px 20px rgba(11,20,100,.08); }
  .gm-mobile-buy strong { font-size: 20px; color: var(--gm-navy); white-space: nowrap; }
  .gm-mobile-buy .gm-btn { flex: 1; }
  body.gm-has-mobile-buy { padding-bottom: 76px; }
}
@media (max-width: 360px) {
  .gm-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gm-hero__facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gm *, .gm *::before, .gm *::after { transition: none !important; animation: none !important; }
}
@media print {
  .gm-topbar, .gm-header, .gm-nav, .gm-footer, .gm-mobile-buy, .gm-card__actions { display: none !important; }
}

/* =====================================================================
   KONSEPSİYA B — "Brendin enerjisi" (sahib seçdi, 2026-10-12)
   Loqodakı romb motivi, navy → mavi qradiyentlər, qalın başlıqlar.
   Bu blok yuxarıdakı əsas stilləri üstələyir.
   ===================================================================== */
:root { --gm-bg: #f2f5fb; --gm-radius: 22px; --gm-radius-sm: 14px; }
.gm h1, .gm h2 { font-weight: 850; letter-spacing: -.03em; }

/* Başlıq: yarımşəffaf, bulanıq fon, böyük axtarış */
.gm-header { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #e3e8f2; }
.gm-header__row { min-height: 74px; gap: 22px; }
.gm-logo img { height: 42px; }
#search.gm-search { max-width: 680px; }
#search.gm-search input { border-radius: 14px; background: var(--gm-bg); border-color: transparent; height: 50px; padding-right: 96px; }
#search.gm-search input:focus { border-color: var(--gm-sky); background: #fff; }
#search.gm-search button { width: auto; padding: 0 16px; border-radius: 10px; right: 6px; top: 6px; height: 38px; font-weight: 700; font-size: 14px; gap: 6px; display: inline-flex; align-items: center; }
#search.gm-search button .gm-txt { display: inline; }
.gm-actions { gap: 8px; }
.gm-action { flex-direction: row; gap: 8px; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--gm-bg); font-size: 14px; font-weight: 700; }
.gm-action .gm-icon { width: 20px; height: 20px; }
.gm-action--b2b { border: 0; }
#cart.gm-cart > button { flex-direction: row; height: 46px; padding: 0 16px; border-radius: 12px; background: var(--gm-navy); color: #fff; font-size: 14px; font-weight: 700; }
#cart.gm-cart > button:hover { background: var(--gm-navy-2); }
#cart.gm-cart #cart-total { flex-direction: row; gap: 8px; }
#cart.gm-cart #cart-total .gm-icon, #cart.gm-cart > button .fa { color: #fff !important; font-size: 18px; }
.gm-nav { background: #fff; }
.gm-nav__list a { font-weight: 700; }

/* Hero: romb çərçivə + üzən kartlar */
.gm-hero { background: linear-gradient(120deg, #081060 0%, #14238a 50%, #2e5fb0 100%); }
.gm-hero::before, .gm-hero::after { content: ""; position: absolute; transform: rotate(45deg); border-radius: 60px; pointer-events: none; }
.gm-hero::before { width: 620px; height: 620px; right: -180px; top: -260px; background: rgba(156,200,230,.13); }
.gm-hero::after { width: 340px; height: 340px; left: -120px; right: auto; bottom: -200px; background: rgba(255,255,255,.06); }
.gm-hero .container { padding-top: 64px; padding-bottom: 110px; grid-template-columns: 1.05fr .95fr; }
.gm-hero__eyebrow i { width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); background: #9cc8e6; }
.gm-hero h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.02; font-weight: 850; letter-spacing: -.035em; margin: 22px 0; }
.gm-hero h1 em { font-style: normal; background: linear-gradient(90deg, #9cc8e6, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gm-hero__media { justify-self: center; width: min(460px, 92%); aspect-ratio: 1; position: relative; }
.gm-diamond { position: absolute; inset: 9%; transform: rotate(45deg); border-radius: 48px; overflow: hidden; border: 6px solid rgba(255,255,255,.2); box-shadow: 0 40px 80px rgba(0,0,0,.35); background: #dcebf5; }
.gm-diamond img { position: absolute; width: 142%; height: 142%; max-width: none; left: -21%; top: -21%; object-fit: cover; transform: rotate(-45deg); border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.gm-float { position: absolute; background: #fff; color: var(--gm-ink); border-radius: 18px; padding: 12px 16px; box-shadow: 0 20px 40px rgba(8,16,96,.3); font-size: 13px; line-height: 1.3; z-index: 2; }
.gm-float b { display: block; font-size: 20px; color: var(--gm-navy); }
.gm-float--1 { left: -2%; bottom: 14%; } .gm-float--2 { right: 0; top: 10%; }
.gm-hero .gm-btn { border-radius: 16px; min-height: 56px; font-weight: 800; }

/* Üstünlüklər: hero-nun üstünə çıxan kart */
.gm-usp { background: transparent; border: 0; margin-top: -48px; position: relative; z-index: 3; }
.gm-usp ul { background: #fff; border-radius: 22px; box-shadow: 0 18px 40px rgba(8,16,96,.08); overflow: hidden; }
.gm-usp li { padding: 22px 22px; }
.gm-usp li + li { border-left-color: #edf0f6; }
.gm-usp .gm-icon { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: var(--gm-bg); flex: none; }

/* Kateqoriyalar: bento */
.gm-cats { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.gm-cat { position: relative; border-radius: 26px; overflow: hidden; color: #fff !important; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 22px; box-shadow: none; }
.gm-cat__img { position: absolute; inset: 0; aspect-ratio: auto; }
.gm-cat__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }   /* insan şəkillərində baş kəsilməsin (yuxarıdan göstər) */
.gm-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,16,96,.86)); }
.gm-cat__body { position: relative; z-index: 1; padding: 0; }
.gm-cat__body h3 { color: #fff; font-size: 20px; font-weight: 800; margin: 0; }
.gm-cat__body span { color: rgba(255,255,255,.85); font-size: 13px; }
.gm-cat__tag { z-index: 2; top: 16px; left: 16px; font-weight: 800; }
.gm-cat--big { grid-column: span 2; grid-row: span 2; }
.gm-cat--big .gm-cat__body h3 { font-size: 30px; }
.gm-cat--all { background: linear-gradient(135deg, #081060, #2e5fb0); justify-content: center; text-align: center; }
.gm-cat--all::after { display: none; }
.gm-cat--all .gm-cat__body h3 { font-size: 22px; }

/* Məhsul kartları */
.gm-card { border-radius: 24px; padding: 12px; box-shadow: 0 10px 30px rgba(8,16,96,.06); }
.gm-card__img { border-radius: 18px; }
.gm-card__body { padding: 14px 6px 4px; }
.gm-card__name { font-weight: 700; font-size: 15px; }
.gm-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; position: relative; z-index: 2; }
.gm-card__price { margin: 0; font-size: 20px; font-weight: 900; }
.gm-plus { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 0; background: var(--gm-navy); color: #fff; font-size: 24px; font-weight: 700; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.gm-plus:hover { background: var(--gm-navy-2); }

/* B2B bandı */
.gm-b2b { border-radius: 32px; background: linear-gradient(135deg, #eaf3fb, #fff); border: 1px solid #d8e7f4; }
.gm-b2b__body { padding: 56px; }
.gm-b2b__num { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 30px; padding: 0; list-style: none; }
.gm-b2b__num li { background: #fff; border-radius: 18px; padding: 18px; }
.gm-b2b__num b { display: block; font-size: 28px; font-weight: 900; color: var(--gm-navy); }
.gm-b2b__num span { font-size: 13px; color: var(--gm-muted); }
/* B2B yan şəkli: əməliyyat otağı (AI atmosfer şəkli, məhsul deyil) panelin hamısını doldurur */
.gm-b2b__side { padding: 0; position: relative; overflow: hidden; min-height: 360px; }
.gm-b2b__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gm-b2b__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,96,.55) 0%, rgba(10,20,96,0) 45%); }
@media (max-width: 860px) { .gm-b2b__side { min-height: 220px; } .gm-b2b__side::after { background: linear-gradient(180deg, rgba(10,20,96,.45) 0%, rgba(10,20,96,0) 50%); } }

/* Məlumat səhifəsinin banneri (AI atmosfer şəkli) */
.gm-page-banner { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 24px; margin: 0 0 24px; }
@media (max-width: 760px) { .gm-page-banner { aspect-ratio: 16 / 9; border-radius: 18px; } }

/* Məhsul səhifəsi */
.gm-buybox { border-radius: 28px; box-shadow: 0 18px 40px rgba(8,16,96,.08); }
.gm-gallery__main { border: 6px solid #fff; border-radius: 28px; box-shadow: 0 18px 40px rgba(8,16,96,.12); }
#button-cart.gm-btn--primary { background: linear-gradient(90deg, #081060, #2e5fb0); }

/* Telefonda aşağı menyu */
.gm-tabbar { display: none; }
@media (max-width: 1100px) { .gm-cats { grid-template-columns: repeat(2, 1fr); } .gm-cat--big { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 860px) {
  .gm-hero .container { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 80px; gap: 6px; }   /* B blokundakı 2 sütunu telefonda ləğv et */
  .gm-hero__media { order: -1; width: 76%; max-width: 360px; }
  .gm-b2b__side { min-height: 240px; }
}
@media (max-width: 760px) {
  #search.gm-search button .gm-txt { display: none; }
  #search.gm-search input { padding-right: 56px; }
  .gm-action, .gm-action--b2b { display: none; }
  #cart.gm-cart > button { height: 42px; padding: 0 12px; }
  .gm-header__row { grid-template-columns: auto 1fr; }
  .gm-hero h1 { font-size: 38px; }
  .gm-usp ul { grid-template-columns: 1fr 1fr; }
  .gm-usp li { padding: 16px 14px; }
  .gm-cats { grid-auto-rows: 170px; gap: 12px; }
  .gm-cat { padding: 16px; border-radius: 20px; }
  .gm-cat--big .gm-cat__body h3 { font-size: 24px; }
  .gm-card { padding: 8px; border-radius: 20px; }
  .gm-card__price { font-size: 17px; }
  .gm-plus { width: 40px; height: 40px; }
  .gm-b2b__body { padding: 28px 22px; }
  .gm-b2b__num b { font-size: 22px; }
  .gm-tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid #e3e8f2; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .gm-tabbar a { display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--gm-muted) !important; text-decoration: none !important; padding: 4px 0; }
  .gm-tabbar a[aria-current="page"] { color: var(--gm-navy) !important; }
  .gm-tabbar .gm-icon { width: 22px; height: 22px; color: var(--gm-navy); }
  body.gm { padding-bottom: 64px; }
  body.gm-has-mobile-buy .gm-tabbar { display: none; }
}

/* Rəng seçimi: hər rəngin real fotosu dairəvi düymədə */
.gm-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.gm-color { position: relative; margin: 0; cursor: pointer; }
.gm-color input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gm-color span { display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--gm-line); transition: box-shadow .15s; background: var(--gm-bg); }
.gm-color span img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.6); }
.gm-color:hover span { box-shadow: 0 0 0 2px var(--gm-sky); }
.gm-color input:checked + span { box-shadow: 0 0 0 3px var(--gm-navy); }
.gm-color input:focus-visible + span { outline: 3px solid var(--gm-sky); outline-offset: 3px; }
.gm-color-name { color: var(--gm-navy); }

/* Grid elementləri məzmuna görə genişlənməsin (qalereyada çox kiçik şəkil olanda səhifə ekrandan çıxırdı) */
.gm-product > *, .gm-cartpage > *, .gm-hero .container > * { min-width: 0; }

/* Brend plitələri: real foto olmayan kateqoriyalar (su nişanlı stok şəkillər əvəzinə) */
.gm-cat--brand { background: linear-gradient(140deg, var(--t1, #10208a) 0%, var(--t2, #2e5fb0) 100%); }
.gm-cat--brand::after { background: radial-gradient(120% 90% at 100% 0%, rgba(156,200,230,.28), transparent 60%); }
.gm-cat--brand::before { content: ""; position: absolute; width: 180px; height: 180px; right: -50px; bottom: -70px; transform: rotate(45deg); border-radius: 36px; background: rgba(255,255,255,.07); }
.gm-cat__icon { position: absolute; top: 18px; right: 18px; width: 64px; height: 64px; color: #fff; opacity: .95; z-index: 1; }
.gm-cat--brand .gm-cat__tag { background: rgba(255,255,255,.95); }
.gm-cat--brand:hover .gm-cat__icon { transform: scale(1.06); transition: transform .3s; }
@media (max-width: 760px) { .gm-cat__icon { width: 40px; height: 40px; top: auto; bottom: 14px; right: 14px; opacity: .55; } }   /* telefonda nişanla toqquşmasın */

/* Dil keçidi (AZ / RU) */
.gm-lang { display: inline-flex; align-items: center; border: 1px solid var(--gm-sky-100, #d8e7f4); border-radius: 12px; overflow: hidden; height: 44px; }
.gm-lang a { display: inline-flex; align-items: center; padding: 0 10px; height: 100%; font-weight: 700; font-size: 13px; color: var(--gm-muted, #5a6478); text-decoration: none; }
.gm-lang a[aria-current="true"] { background: var(--gm-navy, #0b1464); color: #fff; }
.gm-lang a:hover:not([aria-current="true"]) { color: var(--gm-navy, #0b1464); }
@media (max-width: 760px) { .gm-lang { height: 36px; } .gm-lang a { padding: 0 8px; } }
/* Rus və ingilis dilində kateqoriya adları uzundur: menyu bir sətirdə qalır, sığmayanda yana sürüşür */
html[lang="ru"] .gm-nav__list, html[lang="en"] .gm-nav__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; }
html[lang="ru"] .gm-nav__list a, html[lang="en"] .gm-nav__list a { padding: 13px 10px; font-size: 14px; }
