/* =======================================================================
   roblox.css (Roblox layer + remaining theme styles)
   Colors are defined in bootstrap-custom.css as --rbx-c*** tokens
   ======================================================================= */

@media (max-width: 600px) {
  /* 1) Хедер стає реальним оверлеєм */
  header{
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  /* 2) Компенсація висоти хедера, щоб контент не заїжджав під нього */
  body{
    padding-top: 70px !important; /* ти заміряв 129 */
  }

  /* 3) Для якорів типу #reviews, щоб не прокручувало під хедер */
  html{
    scroll-padding-top: 129px;
  }
}
.rbx-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 6px;
}
.rbx-grid {
  display: grid;
  gap: var(--rbx-gap, 24px);
}
.rbx-grid--1 { grid-template-columns: 1fr; }
.rbx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rbx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rbx-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) {
  .rbx-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rbx-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .rbx-grid--2,
  .rbx-grid--3,
  .rbx-grid--4 {
    grid-template-columns: 1fr;
  }
}
.rbx-col {
  min-width: 0; /* щоб текст не розпирав grid */
}
footer .rbx-col > * {
    flex: 0 0 auto;
}
.rbx-col--span-2 { grid-column: span 2; }
.rbx-col--span-3 { grid-column: span 3; }
.rbx-col { display: flex; }
.rbx-col > * { flex: 1; min-width: 0; }
@media (max-width: 768px) {
  .rbx-col--span-2,
  .rbx-col--span-3 { grid-column: auto; }
}


/* =========================
   CONTENT WRAPPERS (oc-posts)
========================= */

.content-section.oc-posts{
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0px;
  padding-inline: 6px;
}

.content-section.oc-posts .content-header{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap:16px;
  margin: 10px 0 18px;
  border-bottom: 1px solid var(--rbx-c105);
  padding-bottom: 10px;
}

.content-section.oc-posts .content-title{
  font-size: 30px;
  font-weight: 700;
  color:var(--rbx-c081);
  margin:0;
}

.content-section.oc-posts .content-more{
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  color:var(--rbx-c080);
}
.content-section.oc-posts .content-more:hover{ text-decoration:underline; }




/* Post card */
.content-section.oc-posts .post-card{
  background: var(--rbx-c128);
  border-radius: 14px;
  box-shadow: 0 10px 25px var(--rbx-c044);
  display:flex;
  flex-direction:column;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: visible; /* було hidden */
}
.content-section.oc-posts .post-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 35px var(--rbx-c046);
}

/* Post image */
.content-section.oc-posts .post-thumb{
  position: relative;
  display:block;

  margin: 12px;           /* ⭐ ось обгортка */
  border-radius: 12px;
  overflow:hidden;

  aspect-ratio: 16/9;     /* замість height */

  box-shadow:
    inset 0 0 0 1px var(--rbx-c004),
    inset 0 0 0 2px var(--rbx-c010),
    0 8px 18px var(--rbx-c042);
}
.content-section.oc-posts .post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.content-section.oc-posts .post-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  pointer-events:none;
  background: linear-gradient(180deg,
    var(--rbx-c009) 0%,
    var(--rbx-c007) 45%,
    var(--rbx-c043) 100%);
}
@media (hover:hover){
  .content-section.oc-posts .post-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 35px var(--rbx-c046);
  }
}
/* Badges (+ tooltip) */
.content-section.oc-posts .post-badges{
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.content-section.oc-posts .badge{
  position: relative;
  z-index: 1;
  background: var(--rbx-c053);
  color: var(--rbx-c128);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 6px 10px 6px 8px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-left: 8px solid var(--rbx-c078);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px var(--rbx-c065);
}

.post-badges .badge:hover{ z-index: 20; }

.post-badges .badge::after{
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%) translateX(-4px);

  background: var(--rbx-c076);
  color: var(--rbx-c128);
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 8px;
  var(--rbx-c122)-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: all .15s ease;

  z-index: 999;
}
.post-badges .badge:hover::after{
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.content-section.oc-posts .post-card:hover .post-badges .badge{
  background: var(--rbx-c041);
}

/* genre colors */
.post-badges .badge.badge--simulator{ border-left-color: var(--rbx-c090); }
.post-badges .badge.badge--tycoon  { border-left-color: var(--rbx-c087); }
.post-badges .badge.badge--rpg     { border-left-color: var(--rbx-c097); }
.post-badges .badge.badge--horror  { border-left-color: var(--rbx-c109); }
.post-badges .badge.badge--roleplay { border-left-color: var(--rbx-c087); }   /* зелений */
.post-badges .badge.badge--survival { border-left-color: var(--rbx-c129); }   /* amber */
.post-badges .badge.badge--adventure--action{ border-left-color: var(--rbx-c131); }   /* фіолетовий (екшн + пригоди) */
.post-badges .badge.badge--guide { border-left-color: var(--rbx-c130); }

/* Post body */
.content-section.oc-posts .post-body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

.content-section.oc-posts .post-title{
  margin:0;
  font-size:16px;
  line-height:1.25;
}

.content-section.oc-posts .post-title a{
  text-decoration:none;
  color:var(--rbx-c081);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-section.oc-posts .post-title a:hover{ color:var(--rbx-c080); }

.content-section.oc-posts .post-excerpt{
  margin:0;
  color:var(--rbx-c092);
  font-size:13px;
  line-height:1.55;
  flex:1;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Optional button (if used in some lists) */
.content-section.oc-posts .post-btn{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 100%;
  border-radius: 10px;
  background: var(--rbx-c111);
  color: var(--rbx-c080) !important;
  text-decoration: none;
  box-shadow: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--rbx-c002);
}
.content-section.oc-posts .post-btn:hover{
  background: var(--rbx-c106);
  color: var(--rbx-c080) !important;
  box-shadow: none;
}

/* hide compare/wishlist inner theme blocks */
.content-section.oc-posts .product-thumb--compare,
.content-section.oc-posts .product-thumb--wishlist{
  display:none;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

/* H1 left accent */
#product-category h1{
  position: relative;
  margin-bottom: 10px;
  padding-left: 16px;
}
#product-category h1::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  opacity: .85;
  border-radius: 2px;
  background: var(--rbx-c084);
}
#product-category .content-header{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Category SEO description */
#product-category .category-description{
  margin: 32px auto 18px;
  padding: 24px 28px;
  max-width: 980px;
  background: var(--rbx-c120);
  border-radius: 16px;
  box-shadow: 0 10px 22px var(--rbx-c057) !important;
  font-size: 15px;
  line-height: 1.65;
  color: var(--rbx-c089);
}
#product-category .category-description p{ margin: 0 0 14px; }
#product-category .category-description strong{
  color: var(--rbx-c081);
  font-weight: 800;
}

/* RBX Pagination wrapper */
.rbx-pagination{
  margin: 18px 0 0;
  display: flex;
  justify-content: center;
}

/* the list itself */
.rbx-pagination .pagination{
  margin: 0;
  padding: 0;
  list-style: none;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  float: none;
}

/* items */
.rbx-pagination .pagination > li{
  display: inline-flex;
}

/* links + current page */
.rbx-pagination .pagination > li > a,
.rbx-pagination .pagination > li > span{
  border: 0;
  background: var(--rbx-c128);
  color: var(--rbx-c081);

  min-width: 42px;
  height: 42px;
  padding: 0 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  box-shadow: 0 10px 25px var(--rbx-c058);

  font-weight: 800;
  line-height: 1;

  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

/* hover */
.rbx-pagination .pagination > li > a:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px var(--rbx-c060);
}

/* active page */
.rbx-pagination .pagination > li.active > span{
  background: var(--rbx-c080);
  color: var(--rbx-c128);
  box-shadow: 0 14px 30px var(--rbx-c029);
}

/* disabled (prev/next sometimes) */
.rbx-pagination .pagination > li.disabled > span{
  opacity: .5;
  box-shadow: none;
}

/* optional: tighter on small screens */
@media (max-width: 420px){
  .rbx-pagination .pagination{
    gap: 6px;
  }
  .rbx-pagination .pagination > li > a,
  .rbx-pagination .pagination > li > span{
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 11px;
  }
}
/* Center pagination truly + hide results */
#product-category .content-section.oc-posts .row > .col-sm-6.text-left{
  float: none !important;
  width: 100% !important;
  text-align: center !important;
}
#product-category .content-section.oc-posts .row > .col-sm-6.text-right{
  display: none !important;
}

/* =========================
   HEADER (top-2)
========================= */

header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: var(--rbx-c003);
  border-bottom: 1px solid var(--rbx-c058);
}

header .container{
  padding-top: 5px;
  padding-bottom: 5px;
}

#top-2{
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 16px;
}

/* default (desktop) */
.logo-desktop{
  display: flex;
  align-items: center;
}

/* hide on mobile */
@media (max-width: 576px){
  .logo-desktop{
    display: none !important;
  }
}
#top-2 .header-icons-column{ flex: 0 0 auto; }

#logo img{
  max-height: 42px;
  width: auto;
}

.header-icons-container{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* pill look */
.header-icons-item > a,
.header-icons-item .dropdown-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--rbx-c035);
  border: 1px solid var(--rbx-c060);
  box-shadow: 0 10px 25px var(--rbx-c057);
  color: var(--rbx-c081);
  text-decoration: none;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.header-icons-item > a:hover,
.header-icons-item .dropdown-toggle:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px var(--rbx-c059);
  background: var(--rbx-c128);
}

.header-icon{ font-size: 18px; }
.header-icon-label{
  font-size: 13px;
  font-weight: 800;
  color: var(--rbx-c089);
}

/* dropdown */
header .dropdown-menu{
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid var(--rbx-c060);
  box-shadow: 0 20px 50px var(--rbx-c061);
}

/* language pill sizing */
.header-icons-item .btn,
.header-icons-item select{
  height: 42px;
  border-radius: 12px;
}

/* mobile header behavior */
@media (max-width: 768px){
  #top-2{
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  #top-2 .logo-column{
    flex: 1 1 auto !important;
  }

  .header-icons-container{
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .header-icon-label{ display: none !important; }

  .header-icons-item > a,
  .header-icons-item .dropdown-toggle{
    height: 38px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
  }

  /* CLS fix: flag size */
  header .header-icons-item img,
  header .header-icons-item .flag,
  header .header-icons-item .language img{
    width: 22px !important;
    height: 16px !important;
    display: inline-block !important;
    object-fit: cover;
  }

  header #form-language,
  header .language,
  header .top-2--column #form-language{
    min-width: 52px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  header #form-language .btn-group,
  header .language .btn-group{
    display: inline-flex;
    align-items: center;
  }

  /* keep language in top row */
  header .top-buttons--item,
  header #form-language,
  header #form-language .btn-group{
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    margin: 0 !important;
  }

  header #form-language .dropdown-toggle{
    display: inline-flex !important;
    align-items: center !important;
    height: 38px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    var(--rbx-c122)-space: nowrap !important;
  }

  header #form-language .dropdown-toggle span{ display: none !important; }

  header #form-language img{
    width: 22px !important;
    height: 16px !important;
    display: inline-block !important;
    object-fit: cover !important;
  }

  .account-text{ display:none; }
}
/* RBX account dropdown */
.rbx-account{ position: relative; }

.rbx-account-btn{
  background: transparent;
  border: 0;
  display:flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  padding: 0;
  font-weight:600;
}

.rbx-account-menu{
  position:absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;

  background:#fff;
  border:1px solid #e6ebf2;
  border-radius:14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.14);

  list-style:none;
  padding:8px;
  margin:0;

  display:none;
  z-index:10050;
}

.rbx-account.is-open .rbx-account-menu{
  display:block;
}

.rbx-account-menu a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  color:#0d1b2a;
  font-weight:600;
}

.rbx-account-menu a:hover{
  background:#f7f9fc;
  color:#0d6efd;
}
/* header capsule (уніфікація) */
.header-pill{
  background:#fff;
  border-radius:14px;
  box-shadow: 0 10px 24px rgba(13,27,42,.08);
}
/* =========================
   SMALL UTIL
========================= */

.section-title{ position: relative; }
.section-title:after{
  content:"";
  display:block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--rbx-c080);
  border-radius: 2px;
}

/* =========================
   GENRE (manufacturer list)
========================= */

.genre-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.genre-card{
  background: var(--rbx-c128);
  border: 1px solid var(--rbx-c043);
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px var(--rbx-c044);
  transition: transform .25s ease, box-shadow .25s ease;
}

.genre-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 22px 50px var(--rbx-c062);
  border-color: var(--rbx-c019);
}
.genre-card:hover .genre-title{ color: var(--rbx-c082); }

.genre-thumb{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(180deg, var(--rbx-c113), var(--rbx-c108));
  padding: 12px;
  box-shadow: inset 0 0 0 1px var(--rbx-c023);
  transition: transform .35s ease;
}

.genre-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.genre-title{
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.3;
  transition: color .2s ease, letter-spacing .2s ease;
}

.genre-placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(180deg, var(--rbx-c108), var(--rbx-c104));
  color: var(--rbx-c096);
  border-radius: 14px;
}

.genre-card:hover .genre-thumb{
  transform: translateY(-6px) scale(1.03);
  transition: transform .25s ease;
}
.genre-card:hover .genre-title{ letter-spacing: .2px; }

@media (max-width: 767px){
  .genre-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 16px;
  }

  .genre-card{
    padding: 18px;
    border-radius: 18px;
    box-shadow:
      0 1px 0 var(--rbx-c034) inset,
      0 14px 32px var(--rbx-c060);
  }

  .genre-thumb{
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .genre-title{ font-size: 15px; }
}

/* =========================
   ARTICLE: cover / gallery / bookmark
========================= */

.post-cover{
  position: relative;
  margin: 0 0 16px;
}

.post-cover__link{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px var(--rbx-c061);
  background: var(--rbx-c128);
}

.post-cover__img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 14px;
  overflow: hidden;
}

/* Optional gallery */
.post-gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.post-gallery__item{
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--rbx-c128);
  box-shadow: 0 6px 16px var(--rbx-c060);
  transition: transform .15s ease, box-shadow .15s ease;
}

.post-gallery__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px var(--rbx-c062);
}

.post-gallery__img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


@media (max-width: 992px){
  .post-gallery{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .post-cover__img{ aspect-ratio: 4 / 3; }
  .post-gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================
   ARTICLE: intro / description / misc
========================= */

.post-intro{
  margin: 14px 0 20px;
}

.post-intro__inner{
  background: var(--rbx-c128);
  border: 1px solid var(--rbx-c060);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--rbx-c071);
  box-shadow: 0 8px 24px var(--rbx-c057);

  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.post-intro__inner p:last-child{ margin-bottom: 0; }

.identity-list{
  margin: 18px 0 26px;
  padding: 16px 18px;
  background: var(--rbx-c117);
  border-radius: 14px;
  font-size: 14px;
}
.identity-list li{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.identity-list i{ opacity: .65; }

.product-description{
  font-size: 15px;
  line-height: 1.7;
}
.product-description h2{
  margin-top: 28px;
  margin-bottom: 12px;
}
.product-description h3{
  margin-top: 22px;
  margin-bottom: 10px;
}
.product-description ul,
.product-description ol{
  margin: 12px 0 18px 20px;
}

.post-description{
  margin: 24px 0 28px;
}
.post-description__inner{
  background: var(--rbx-c128);
  border: 1px solid var(--rbx-c060);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 10px 30px var(--rbx-c057);

  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.post-description__inner p{
  font-size: 16px;
  line-height: 1.65;
  color: var(--rbx-c073);
  margin-bottom: 14px;
}
.post-description__inner p:last-child{ margin-bottom: 0; }
.post-description__inner ul,
.post-description__inner ol{
  margin: 14px 0 18px 18px;
}
.post-description__inner li{ margin-bottom: 8px; }

.post-description__inner h2,
.post-description__inner h3{
  margin: 26px 0 14px;
  font-weight: 700;
}
.post-description__inner h2{ font-size: 22px; }
.post-description__inner h3{ font-size: 18px; }

/* =========================
   ARTICLE: rating badge (cover)
========================= */

.article-cover{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* кнопка-бейдж */
.article-rating-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 6px 10px;
  border-radius: 12px;

  border: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;

  background: var(--rbx-c021);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px var(--rbx-c062);
  transition: transform .15s ease, box-shadow .15s ease;
}

.article-rating-badge:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px var(--rbx-c065);
}

.article-rating-stars{
  display: inline-flex;
  gap: 4px;
}

/* всі зірки */
.article-rating-stars svg{
  width:18px;
  height:18px;
  display:block;
}

/* ⭐ заповнені */
.article-rating-stars svg[fill="currentColor"]{
  color: var(--rbx-c086);
}

/* ⭐ порожні */
.article-rating-stars svg[fill="none"]{
  color: var(--rbx-c098);
}

.review-form-inline{
  min-height: 220px; /* підженеш по факту, якщо капча висока */
}

/* CLS fix: стабільна геометрія карток (similar/oc-posts) */
.post-thumb.product-thumb--image{
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.post-thumb.product-thumb--image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#review:empty {
  min-height: 225px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--rbx-c110) 25%, var(--rbx-c107) 37%, var(--rbx-c110) 63%);
  background-size: 400% 100%;
  animation: sk 1.2s ease-in-out infinite;
}
@keyframes sk { 0%{background-position:100% 0} 100%{background-position:0 0} }
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


/* (Account styles moved to bootstrap-custom.css) */

/* =========================
   Review form (clean)
   ========================= */

.form-review{
  padding: var(--space-4x);
  border-radius: 14px;
  border: 1px solid #e6e9ee;
  background: #fff;
}

#review-form--modal .modal-body .alert{
  margin-bottom: var(--space-1);
}

/* =========================
   Rating stars (no floats, site colors)
   ========================= */

.form-review--rating-stars{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.form-review--rating-stars .control-label{
  margin: 0;
  float: none;
  font-weight: 600;
  color: #111;
}

.form-review--rating-stars .form-review--rating-stars-container{
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* labels: RTL trick залишаємо (float:right) щоб працювало input:checked~label */
.form-review--rating-stars .form-review--rating-stars-container label{
  float: right;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

/* icons */
.form-review--rating-stars .form-review--rating-stars-container label i{
  transition: transform .12s ease, color .12s ease, text-shadow .12s ease;
  font-size: 18px;                 /* компактніше */
  line-height: 1;
}

/* default (empty) */
.form-review--rating-stars .form-review--rating-stars-container label i.fa-star-o{
  color: #c9d3dc;
  text-shadow: none;
}

/* default filled (поки не hover/checked — робимо “неактивним”) */
.form-review--rating-stars .form-review--rating-stars-container label i.fa-star{
  color: #c9d3dc;
  text-shadow: none;
}

.form-review--rating-stars .form-review--rating-stars-container input{
  display: none;
}

/* hover: підсвітка зліва направо */
.form-review--rating-stars .form-review--rating-stars-container:hover label:hover i.fa-star-o,
.form-review--rating-stars .form-review--rating-stars-container:hover label:hover ~ label i.fa-star-o,
.form-review--rating-stars .form-review--rating-stars-container:hover label:hover i.fa-star,
.form-review--rating-stars .form-review--rating-stars-container:hover label:hover ~ label i.fa-star{
  color: #1f6fff;                  /* наш синій */
}

.form-review--rating-stars .form-review--rating-stars-container:hover label:hover i{
  transform: translateY(-1px);
}

/* checked state */
.form-review--rating-stars input:checked ~ label i.fa-star-o,
.form-review--rating-stars input:checked ~ label i.fa-star{
  color: #1f6fff;                  /* наш синій */
}

/* focus accessibility */
.form-review--rating-stars .form-review--rating-stars-container label:focus-within i{
  outline: none;
  text-shadow: 0 0 0 3px rgba(31,111,255,.18);
  border-radius: 6px;
}

#wishlist-total{ position: relative; }

#wishlist-total .header-icon-badge{
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0d6efd;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(13,110,253,.25);
}

.product-page--wishlist, .product-page--compare {
  display: inline-block;
  font-size: 16px;
  text-align: center;
  width: 32px;
  height: 32px;
/*  color: rgba(200, 200, 200, .8);
  border: 1px solid rgba(200, 200, 200, .8);*/
  color: #8a8a90;
  border: 1px solid #8a8a90;
  border-radius: 30px;
  transition: all .25s ease;
/*  text-shadow: 0 1px rgba(255,255,255, .5);
  box-shadow: 0 1px 1px rgba(255,255,255, .5);*/
  
  opacity: 0.5;
}

.product-page--wishlist:hover, .product-page--compare:hover {
/*  color: var(--color-accent);
  border: 1px solid var(--color-accent);*/
/*  color: rgba(100, 100, 100, .8);
  border: 1px solid rgba(100, 100, 100, .8);*/
  color: #525a5d;
  border: 1px solid #525a5d;
  cursor: pointer;
  /*box-shadow: 0 1px 1px rgba(255,255,255, .8);*/
  
  opacity: 1;
}

.product-page--wishlist .fa, .product-page--compare .fa {
  line-height: 32px;
}

.product-page--wishlist {
  margin-left: 4px;
}


.options-container {
  max-height: 250px;
  overflow: auto;
  padding: 5px;
}


/* A! .product-tab--container already has margin */
.short-description {
  margin-top: 10px;
}
/* wishlist icon */
.header-icon-bookmark{
  font-size: 18px;
  color: rgba(0,0,0,.78);
}

/* badge */
.header-icon-badge{
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #0d6efd;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(13,110,253,.35);
}

/* ========================================================================== $Buttons ========================================================================== */
/* .btn {
	 display: inline-block;
	 background-color: transparent;
	 border-radius: 5px;
	 border: none;
	 margin-bottom: 24px;
	 padding: 6px 24px;
	 text-align: center;
	 transition: all 0.24s cubic-bezier(0.165, 0.84, 0.44, 1);
}*/



.go-back {
  color: #f3f3f3;
}

.subnav-promo {
  /*padding-top: 14px;*/
}

.promo-img {
  display: block;
  margin: auto;
  /*margin-bottom: 20px;*/
}

@media (max-width: 989px) {
  .promo-img {
    padding: 24px 32px 0 32px;
  }
}
.promo-body {
  margin-top: 20px;
  padding: 0 24px 12px;
}

@media (max-width: 989px) {
  .promo-body {
    padding: 0 32px 12px;
  }
}
.promo-body a {
  display: inline-block;
  padding: 0;
}


/* Themezation
-------------------------------- */
/* 1 */
#top {
  padding: 4px 0px 3px 0;
  background-color: #f3f3f3;  
  border-bottom: 1px solid #eee;
  min-height: 40px;
}

/* as menu change */
@media (max-width: 989px) {
  #top {
    min-height: 55px;
  }
}

footer {
  margin-top: 1px;
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: #0773f2;
  border-top: 1px solid #ddd;
  color: #e2e2e2;
}
footer ul li{
  margin-bottom: 6px;
}
footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}
footer a {
  color: #fff;
}
footer a:hover {
  color: #fff;
}
footer h5 {
  font-size: 17px;
  font-weight: bold;
  color: #fff;
}

.cat {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-image: none;
    padding: 4px 8px;   
    font-size: 14px;
    border: 1px solid #cccccc;
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);
}

.cat-primary {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgb(0 0 0 / 25%);
    background-color: #f48744;
    border-color: #f48744;
}
.cat:hover:not(.css_disabled):not(.count_0) {
    background-color: #90af47;
    border-color: #90af47;
    color: #ffffff;
    border-width: 3px;
    border-style: solid;
    border-radius: 10px;
}


/* Success page – Roblox style */
#common-success .page-title {
  text-align: center;
  margin: 10px 0 22px;
}

#common-success .success-wrap {
  display: flex;
  justify-content: center;
}

#common-success .success-card {
  width: 100%;
  max-width: 760px;
  background: #fff;
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

#common-success .success-icon {
  font-size: 42px;
  color: #22c55e;
  margin-bottom: 12px;
}

#common-success .success-message {
  color: #374151;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Center the button (kill pull-right) */
#common-success .buttons .pull-right {
  float: none !important;
  text-align: left; /* хочеш по центру -> center */
}

/* Make button consistent */
#common-success .contact-submit {
  border-radius: 14px;
  font-weight: 800;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


/* =========================================================
   Subcategories as cards (smaller than genres)
   Flex grid, max 5 per row
   ========================================================= */

/* контейнер сітки */
.genre-grid.subgenre-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;                 /* відстань між картками */
  margin-top: 14px;
}

/* картка-посилання */
.genre-card.subgenre-card{
  /* 5 в ряд: 20% - гепи */
  flex: 0 1 calc(20% - 16px);
  max-width: calc(20% - 16px);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background: var(--rbx-c128, #ffffff);
  border: 1px solid var(--rbx-c043, rgba(0,0,0,.08));
  border-radius: 16px;
  padding: 10px 10px;

  text-decoration: none;
  color: inherit;

  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}

/* легкий hover */
.genre-card.subgenre-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  border-color: rgba(13,110,253,.22);
}

/* фокус з клавіатури */
.genre-card.subgenre-card:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(13,110,253,.22), 0 10px 26px rgba(0,0,0,.10);
}

/* обгортка картинки */
.genre-card.subgenre-card .genre-thumb{
  width: 100%;
  display: grid;
  place-items: center;

  padding: 6px;
  border-radius: 14px;
  background: rgba(0,0,0,.03);
  margin-bottom: 4px;
}

/* сама картинка — трохи менша */
.genre-card.subgenre-card .genre-thumb img{
  width: 78%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;

  transition: transform .18s ease;
}

/* дуже легкий zoom, але без “вау-ефектів” */
.genre-card.subgenre-card:hover .genre-thumb img{
  transform: scale(1.02);
}

/* назва */
.genre-card.subgenre-card .genre-title{
  font-weight: 800;
  font-size: 14px;
  line-height: 1.15;
}

/* =========================================================
   Responsive: 4 / 3 / 2 / 1 в ряд
   ========================================================= */

@media (max-width: 1200px){
  .genre-card.subgenre-card{
    flex-basis: calc(25% - 16px);
    max-width: calc(25% - 16px);
  }
}

@media (max-width: 992px){
  .genre-card.subgenre-card{
    flex-basis: calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
  }
}

@media (max-width: 680px){
  .genre-grid.subgenre-grid{
    gap: 12px;
	row-gap: 10px;
  }
  .genre-card.subgenre-card{
    flex-basis: calc(50% - 14px);
    max-width: calc(50% - 14px);
    padding: 10px;
  }
  .genre-card.subgenre-card .genre-title{
    font-size: 14px;
  }
  .content-header { margin-bottom: 12px; }
}

@media (max-width: 420px){
  .genre-card.subgenre-card{
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* =========================================================
   Subcategories as cards (smaller than genres)
   Flex grid, max 5 per row
   ========================================================= */
/* =========================================================
   RBX MENU — canonical (grouped)
   ========================================================= */

.rbx-menu{
  position: relative;
  background: #0d6efd;
}

.rbx-menu a{ line-height: 1; } /* вбиваємо bootstrap line-height на всяк */

.rbx-menu-list{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 16px;
  list-style: none;

  height: 48px;
  gap: 24px;
}

.rbx-menu-list li{
  margin: 0;
  padding: 0;
}

.rbx-menu-list > li > a{
  display: flex;
  align-items: center;

  height: 48px;
  padding: 0 4px;

  line-height: 1;
  white-space: nowrap;

  color: #fff;
  text-decoration: none;
}

.rbx-menu + .container{
  padding-top: 16px;
}
/* ===============================
   RBX Breadcrumb
   =============================== */

.rbx-breadcrumb{
  margin: 10px 0 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.rbx-breadcrumb .breadcrumb{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;

  margin: 0;
  padding: 10px 14px;

  list-style: none;

  background: #f7f9fc;
  border: 1px solid #e6ebf2;
  border-radius: 14px;

  font-size: 14px;
  line-height: 1.3;
}

.rbx-breadcrumb a{
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  transition: color .15s ease;
}

.rbx-breadcrumb a:hover{
  color: #084298;
}
/* вирівнюємо текст + separator по центру */
.rbx-breadcrumb .breadcrumb li{
  display: inline-flex;
  align-items: center;
}

/* розділювач — теж робимо flex-елементом */
.rbx-breadcrumb li::after{
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transform: translateY(-1px); /* якщо треба, можна 0 або -0.5px */
}
/* розділювач */
.rbx-breadcrumb li::after{
  content: "›";
  margin: 0 5px;
  color: #9aa4b2;
}

.rbx-breadcrumb li:last-child::after{
  display: none;
}

/* поточна сторінка */
.rbx-breadcrumb .is-current{
  color: #6c757d;
  font-weight: 600;
}

/* блокування скролу при відкритому меню */
body.menu-open{ overflow: hidden; }

/* =========================
   2) Toggle button (base)
   ========================= */
.rbx-menu-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #0d6efd;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.rbx-menu-toggle:hover{
  background: #0b5ed7;
}

/* іконки в toggle: bars / xmark */
.rbx-menu-toggle i.fa-xmark{ display: none; }
.rbx-menu.is-open .rbx-menu-toggle i.fa-bars{ display: none; }
.rbx-menu.is-open .rbx-menu-toggle i.fa-xmark{ display: inline-block; }

/* =========================
   3) Desktop (>= 993px)
   ========================= */
@media (min-width: 993px){

  /* top bar */
  .rbx-menu{
    background: linear-gradient(180deg, #0d6efd 0%, #0b5ed7 100%);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
  }

  .rbx-menu-list{
    height: 52px;
    gap: 10px;
    padding: 0 12px;
    margin-left: 48px; /* якщо треба відступ від лівого краю */
	margin-bottom: 20px;
  }

  /* links as pills */
  .rbx-menu-list > li > a{
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;

    font-weight: 700;
    font-size: 14px;

    transition: background .15s ease, transform .15s ease;
  }

  .rbx-menu-list > li > a:hover{
    background: rgba(255,255,255,.14);
    transform: translateY(-1px);
  }

  .rbx-menu-list > li > a:active{
    transform: translateY(0);
    background: rgba(255,255,255,.18);
  }

  /* dropdown container */
  .rbx-menu .has-submenu{ position: relative; }

  .rbx-menu .submenu{
    position: absolute;
    top: 100%;
    left: 0;

    list-style: none;
    margin: 10px 0 0;
    padding: 10px;

    min-width: 240px;

    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 14px;

    box-shadow:
      0 18px 44px rgba(0,0,0,.18),
      0 6px 14px rgba(0,0,0,.10);

    z-index: 2000;
  }

  .rbx-menu .submenu li{
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* на всяк: щоб буліти не зʼявились від bootstrap */
  .rbx-menu .submenu li::marker{ content: ""; }

  /* маленький “вказівник” */
  .rbx-menu .submenu::before{
    content:"";
    position:absolute;
    top:-6px;
    left: 18px;
    width: 12px;
    height: 12px;
    background:#fff;
    border-left: 1px solid #e6ebf2;
    border-top: 1px solid #e6ebf2;
    transform: rotate(45deg);
  }

  /* dropdown links */
  .rbx-menu .submenu a{
    display: block;
    padding: 10px 12px;

    color: #0d1b2a;
    text-decoration: none;

    border-radius: 10px;

    font-weight: 600;
    font-size: 14px;

    transition: background .15s ease, color .15s ease;
  }
  .submenu a::before{
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background-color: currentColor;
  opacity: .8;

  mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M8 5v14l11-7z'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M8 5v14l11-7z'/></svg>") center / contain no-repeat;
}

  .rbx-menu .submenu a:hover{
    background: #f7f9fc;
    color: #0d6efd;
  }

  /* caret */
  .rbx-menu .has-submenu > a .caret{
    margin-left: 8px;
    opacity: .85;
  }

  /* dropdown: animated hover (stable hover-zone) */
  .rbx-menu .has-submenu > .submenu{
    display: block;          /* завжди в DOM */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(6px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s ease;
  }

  .rbx-menu .has-submenu:hover > .submenu,
  .rbx-menu .has-submenu > .submenu:hover{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* hover-зона, щоб не “падало” при русі мишки */
  .rbx-menu .has-submenu > .submenu::after{
    content:"";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
    background: transparent;
  }
}

/* =========================
   4) Mobile overlay (<= 992px) — FINAL look
   ========================= */
@media (max-width: 992px){

  /* саме меню як шар */
  .rbx-menu{ z-index: 1000; }

/* toggle ЗАВЖДИ поверх */
.rbx-menu-toggle{
  display:inline-flex;
  position:fixed;
  top:calc(12px + env(safe-area-inset-top));
  left:calc(12px + env(safe-area-inset-left));
  z-index:10001;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(13,27,42,.12);
}

/* SVG toggle icons */
.rbx-menu-toggle svg{
  display:none;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events:none;
}

/* показуємо hamburger */
.rbx-menu-toggle .icon-bars{
  display:block;
}

/* коли меню відкрите */
.rbx-menu.is-open .rbx-menu-toggle .icon-bars{
  display:none;
}

.rbx-menu.is-open .rbx-menu-toggle .icon-close{
  display:block;
}

/* hover */
.rbx-menu-toggle:hover,
.rbx-menu-toggle:active,
.rbx-menu-toggle:focus{
  background:#0d6efd;
  color:#fff;
}

  /* overlay список */
  .rbx-menu-list{
   position: fixed;
    inset: 0;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    align-items: stretch;      /* ❗ не центр */
    justify-content: flex-start; /* ❗ не центр */

    padding: 70px 18px 24px;   /* під висоту header */

    list-style: none;
    margin: 0;

    background: #f7f9fc;
    z-index: 9999;

    transform: translateX(-100%);
    transition: transform .25s ease;

    height: auto;   /* ❗ важливо */
    gap: 14px;
  }

  .rbx-menu.is-open .rbx-menu-list{
    transform: translateX(0);
  }

  /* ширина “колонки” */
  .rbx-menu-list > li{
    width: min(520px, calc(100% - 8px));
  }

  /* пункти як картки */
  .rbx-menu-list > li > a{
    height: auto;
    padding: 16px 18px;

    border-radius: 18px;

    background: #ffffff;
    border: 1px solid #e6ebf2;

    font-weight: 700;
    font-size: 16px;
    color: #0d1b2a;

    box-shadow:
      0 12px 28px rgba(0,0,0,.14),
      0 4px 10px rgba(0,0,0,.08);

    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  }

  .rbx-menu-list > li > a:hover{
    transform: translateY(-1px);
    box-shadow:
      0 18px 40px rgba(0,0,0,.18),
      0 6px 14px rgba(0,0,0,.10);
  }

  .rbx-menu-list > li > a:active{
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(0,0,0,.16);
  }

  /* active state (якщо додаси клас) */
  .rbx-menu-list a.is-active{
    border-color: #0d6efd;
    background: #eef4ff;
  }

  /* мобільні підменю */
  .rbx-menu .has-submenu{ position: relative; }

  .rbx-menu .submenu{
    position: static;
    display: none;

    margin-top: 10px;
    padding-left: 8px;

    background: transparent;
	 list-style: none;
    margin: 10px 0 0;
    padding: 0;              /* прибираємо дефолтний left padding */
    width: 100%;
  }
  .rbx-menu .submenu li{
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .rbx-menu .has-submenu.open > .submenu{ display: block; }

  .rbx-menu .submenu a{
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 14px;

    padding: 14px 16px;

    font-weight: 600;
    font-size: 15px;
    color: #0d1b2a;

    box-shadow: 0 6px 14px rgba(13, 27, 42, 0.06);
	 display: block;
    width: 100%;
    box-sizing: border-box;
  }

 .rbx-menu-list > li > a::before{
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  opacity: .6;
  background-color: currentColor;

  mask: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>\
<circle cx='12' cy='12' r='8'/>\
</svg>") center / contain no-repeat;

  -webkit-mask: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>\
<circle cx='12' cy='12' r='8'/>\
</svg>") center / contain no-repeat;
}
.submenu a::before{
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  opacity: .7;
  background-color: currentColor;

  mask: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>\
<path d='M9 6l6 6-6 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") center / contain no-repeat;

  -webkit-mask: url("data:image/svg+xml;utf8,\
<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>\
<path d='M9 6l6 6-6 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>") center / contain no-repeat;
}
.rbx-menu .submenu li::marker{
    content: "";
  }
  /* мікро-анімація пунктів при відкритті */
  .rbx-menu.is-open .rbx-menu-list li{
    animation: rbxMenuItem .35s ease both;
  }
  .rbx-menu.is-open .rbx-menu-list li:nth-child(1){ animation-delay: .02s; }
  .rbx-menu.is-open .rbx-menu-list li:nth-child(2){ animation-delay: .04s; }
  .rbx-menu.is-open .rbx-menu-list li:nth-child(3){ animation-delay: .06s; }
}

/* =========================
   5) Shared effects
   ========================= */

/* легкий active ефект на всі посилання меню */
.rbx-menu-list a:active{
  background: rgba(255,255,255,.12);
}

@keyframes rbxMenuItem{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: none; }
}
/* =========================================================
   RBX MENU — canonical
   DO NOT add other menu styles below
   ========================================================= */
/* Category description = card, як у підкатегоріях */
.category-description{
  background: var(--rbx-surface, #fff);
  border-radius: var(--rbx-radius, 14px);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 18px 20px;
  max-width: 980px;          /* щоб не було “простині” */
  margin: 24px auto 24px;       /* центруємо */
}
.category-description ul {
  list-style: none;
  padding: 0;
}

.category-description li {
 margin: 10px 0;
}

.category-description a {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px 4px 4px 0;
  border-radius: 20px;
  background: #eef4ff;
  color: #1e40af;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s ease;
}

.category-description a:hover {
  background: #2563eb;
  color: #fff;
}
.category-description li strong {
  color: #111827;
  font-weight: 700;
}
/* Текст всередині — нормальні відступи */
.category-description p{ margin: 0 0 12px; }
.category-description p:last-child{ margin-bottom: 0; }
/* якщо description стоїть у гріді — розтягуємо */
.rbx-grid .category-description{ grid-column: 1 / -1; }
.site-footer .rbx-col{
  display:flex;
  flex-direction:column;
}

.site-footer h5{
  margin-bottom:10px;
  line-height:1.2;
}
.site-footer ul{
  margin:0;
  padding:0;
  list-style:none;
}

input, button, textarea, select{
  font-family: inherit;
  font-size: 14px;
}

input{
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 8px 12px;
}
fieldset{
  border: 0;
  margin: 0;
  padding: 0;
}

legend{
  border: 0;
}
.container{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}
*,
*::before,
*::after{
  box-sizing: border-box;
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--rbx-c116);
}
input[type="radio"]{
  accent-color: #0d6efd;
  transform: scale(1.05);
  cursor: pointer;
}
input[type="checkbox"]{
  accent-color: #0d6efd;
  transform: scale(1.05);
  cursor: pointer;
}
label{
  font-weight: 600;
  margin-bottom: 6px;
  display:block;
}
.form-group .radio{
  display:flex;
  gap:18px;
}
/* Header: прибираємо маркери і дефолтні відступи списків */
#top, #top ul, #top ol,
header ul, header ol,
.header-icons-container ul, .header-icons-container ol{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Прибираємо лівий відступ у li (інколи браузер додає) */
#top li, header li{ margin: 0; padding: 0; }
.header-icons-container{
  display: flex;
  align-items: center;
  gap: 14px;
}
/* Базові dropdown */
header .dropdown{
  position: relative;
}

header .dropdown-menu{
  display: none;              /* будемо показувати через :hover або клас open */
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  z-index: 10050;
}

/* Показ */
header .dropdown:hover .dropdown-menu,
header .dropdown.open .dropdown-menu{
  display: block;
}

/* Пункти */
header .dropdown-menu li + li{ margin-top: 8px; }

header .dropdown-menu a,
header .dropdown-menu button{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  color: #111;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

/* Hover */
header .dropdown-menu a:hover,
header .dropdown-menu button:hover{
  background: rgba(13,110,253,.08);
}
header .dropdown-toggle{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #111;
}

header .dropdown-toggle:hover{
  background: rgba(0,0,0,.05);
}
/* Language dropdown visibility */
#form-language .btn-group { position: relative; }
#form-language .dropdown-menu { display: none; }
#form-language .btn-group.open .dropdown-menu { display: block; }

/* щоб не було булітів */
#form-language .dropdown-menu,
#form-language .dropdown-menu li{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* щоб поповер не обрізався */
header, #top, .header-icons-container { overflow: visible; }

#form-language .dropdown-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 180px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  z-index: 99999;
}
#form-language .dropdown-menu{
  z-index: 100000;
}
@media (min-width: 890px){
  #product-search section#search{
    display: none !important;
  }
}
/* ===== Header: top-right actions rail ===== */
#top-2{ position: relative; }

/* контейнер з іконками справа (твій header-icons-container) */
#top-2 .header-icons-container{
  position: absolute;
  top: 10px;
  right: 12px;

  display: flex;
  align-items: center;
  gap: 14px;

  z-index: 10020;
}

/* зробити всі три елементи однакового “клікабельного” розміру */
#top-2 .header-icons-container a,
#top-2 .header-icons-container button,
#top-2 .header-icons-container .dropdown-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  border-radius: 12px;
  text-decoration: none;
}

/* якщо є текст — нехай буде компактно */
#top-2 .header-icons-container .dropdown-toggle span{
  display: none; /* на мобільному ховаємо назву мови */
}

@media (min-width: 990px){
  #top-2 .header-icons-container .dropdown-toggle span{
    display: inline; /* на десктопі можна показати */
  }
}
@media (min-width: 900px){
  .rbx-menu-search{ display:none !important; }
}
/* ===== Mobile header layout: 2 rows ===== */
#top-2{ position: relative; }

/* Верхній ряд */
#top-2 .header-top-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 10px 12px 6px;
}

/* Якщо в тебе нема wrapper .header-top-row — не біда.
   Тоді просто задай padding самому #top-2, але я б радив wrapper. */

/* Іконки справа — як ми робили */
#top-2 .header-icons-container{
  position: absolute;
  top: 10px;
  right: 12px;
  display:flex;
  align-items:center;
  gap:14px;
  z-index:10020;
}
/* =========================
   RBX HEADER SEARCH (MOBILE)
   Put this at the end of roblox.css / roblox-home.css
========================= */

/* 1) Header row should be a clean flex line */
#top-2{
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 10px;
}
#top-2 .logo-column{
  justify-self: start;
}


/* 2) Search column behavior (default / desktop) */
#top-2 .search-column--desktop{
  justify-self: center;
  width: 320px;        /* твоя ширина */
  max-width: 320px;
}
#top-2 .header-icons-container{
  justify-self: end;
}
/* 3) Search pill */
#top-2 #search.search{
  position: relative;
  width: 100%;
  margin: 0;
  max-width: none;
  min-width: 0;
}

#top-2 #search.search input[name="search"],
#top-2 #search.search input[type="text"]{
  width: 100%;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  padding: 0 46px 0 14px;
  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
}

#top-2 #search.search input[name="search"]:focus,
#top-2 #search.search input[type="text"]:focus{
  border-color: rgba(13,110,253,.55);
  box-shadow: 0 0 0 4px rgba(13,110,253,.14);
}

/* button */
#top-2 #search.search .search-button,
#top-2 #search.search button{
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: rgba(13,110,253,.10);
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#top-2 #search.search .search-button:hover,
#top-2 #search.search button:hover{
  background: rgba(13,110,253,.16);
}

#top-2 #search.search .search-button svg,
#top-2 #search.search button svg{
  width: 16px;
  height: 16px;
  display: block;
}

/* =========================
   MOBILE: fit search into the red box area
========================= */
@media (max-width: 890px){

  /* прибрати колонку пошуку */
  #top-2 .search-column--desktop{
    display: none !important;
  }

}
/* =========================================================
   RBX Bootstrap-compat (minimal)
   Make old OC templates look OK without bootstrap.css
   ========================================================= */

/* container fallback */
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

/* forms */
.form-group{ margin: 0 0 16px; }
.control-label, label{
  display:block;
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 13px;
  opacity: .85;
}
.form-control, input[type="text"], input[type="email"], input[type="password"], textarea, select{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  padding: 0 14px;
  box-shadow: none;
}
textarea.form-control, textarea{
  height: auto;
  min-height: 96px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.form-control:focus, input:focus, textarea:focus, select:focus{
  outline:none;
  border-color: rgba(13,110,253,.55);
  box-shadow: 0 0 0 4px rgba(13,110,253,.14);
}
.text-danger{ color:#d93025; font-size: 13px; margin-top: 6px; }

/* alerts */
.alert{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  margin: 10px 0 16px;
}
.alert-danger{
  background: rgba(217,48,37,.08);
  border-color: rgba(217,48,37,.22);
}

/* buttons */
.btn, input.btn, button.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 0;
  cursor:pointer;
  text-decoration:none;
  font-weight: 600;
  line-height: 1;
}
.btn-primary{
  background:#0d6efd;
  color:#fff;
  box-shadow: 0 10px 22px rgba(13,110,253,.18);
}
.btn-primary:hover{ background:#0b5ed7; transform: translateY(-1px); }
.btn-default{
  background: rgba(0,0,0,.06);
  color:#111;
}
.btn-default:hover{ background: rgba(0,0,0,.10); }
.btn-link{
  background: transparent;
  color:#0d6efd;
  box-shadow:none;
  padding: 0;
  height:auto;
  font-weight: 500;
}

/* “buttons row” в акаунті (Back / Continue) */
.buttons{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pull-left, .pull-right{ float:none !important; }
.buttons .pull-left, .buttons .pull-right{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}
/* SVG ICONS */
.icon{
  width:22px;
  height:22px;
  display:inline-block;
  vertical-align:middle;
}
.icon-xs{
  margin-left:2px;
  vertical-align:-2px;
}
.breadcrumb li a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;          /* якщо кнопка на всю ширину */
  gap:5px;            /* відстань між іконкою і текстом */
}

.post-btn__icon{
  width:18px;
  height:18px;
  fill:currentColor;
  flex-shrink:0;       /* щоб не стискалась */
  transform:translateY(1px); /* оптичне вирівнювання */
  opacity:.85;         /* м’якше виглядає */
}
.post-badges svg{
  width:20px;
  height:20px;
  fill:#fff;
}

/* RBX: article content safety */
.post-description,
.post-description__inner{
  max-width: 100%;
  overflow-x: hidden;          /* головне: прибирає горизонтальний drag */
}

/* картинки завжди responsive */
.post-description__inner img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* якщо картинка всередині <a> — теж ок */
.post-description__inner a{
  word-break: break-word;
  overflow-wrap: anywhere;     /* ріже довгі URL, щоб не розширювали блок */
}

/* pre/code — найчастіший винуватець роз’їзду */
.post-description__inner pre{
  max-width: 100%;
  overflow: auto;              /* краще скрол всередині, ніж роз’їзд сторінки */
  white-space: pre;
}

.post-description__inner code{
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* таблиці */
.post-description__inner table{
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

/* iframe / відео */
.post-description__inner iframe,
.post-description__inner video{
  max-width: 100%;
}
.post-description__inner img:first-of-type{
  max-width: 760px;
  width: 100%;
  margin: 0 auto 24px;
  display: block;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}