* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --black: #000;
  --white: #f6f6f6;
  --line: #777;
  --gap: 16px;
}

html, body { margin: 0; min-height: 100%; background: var(--black); }
body {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  padding: 48px 24px 0;
}
.topnav {
  width: min(800px, 100%);
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  min-width: 0;
  min-height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}
.brand img {
  display: block;
  width: 100%;
  max-width: 400px;
  max-height: 120px;
  object-fit: contain;
}
.logo-fallback {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .06em;
  text-align: center;
  white-space: nowrap;
}
.category-button {
  width: 100%;
  min-height: 48px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #050505;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.category-button:hover { border-color: #fff; transform: translateY(-1px); }
.category-button.active { border-color: #eee; box-shadow: inset 0 0 0 1px #eee; }

main { width: 100%; padding: 0 3% 56px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #101010;
  border: 1px solid #292929;
  text-decoration: none;
  transform: translateZ(0);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img {
  transform: scale(1.055);
  filter: brightness(1.08);
}
.gallery-item:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.empty-state { padding: 40px 16px; color: #aaa; text-align: center; }
footer {
  padding: 24px 16px 28px;
  text-align: center;
  color: #686868;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .topnav { margin-bottom: 60px; }
}
@media (max-width: 760px) {
  .topbar { padding: 28px 16px 0; }
  .topnav {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 34px;
  }
  .brand { grid-column: 1 / -1; grid-row: 1; margin-bottom: 6px; }
  .brand img { max-width: 250px; max-height: 120px; }
  .category-button { grid-row: 2; min-height: 44px; padding: 10px 8px; font-size: 10px; letter-spacing: .08em; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  main { padding: 0 14px 40px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.gallery-item img.product-badge {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 2;
  width: 30%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* ==========================================
   TLAČIDLO NÁHĽADU PRODUKTU
========================================== */

.product-preview-button {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translate(-50%, -8px);

    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;

    background: rgba(0,0,0,.82);
    color: #fff;

    cursor: pointer;
    z-index: 30;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .2s ease,
        transform .2s ease,
        background .2s ease;
}

.product-preview-button svg {
    width: 21px;
    height: 21px;
}

.gallery-item:hover .product-preview-button,
.gallery-item:focus-within .product-preview-button {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.product-preview-button:hover {
    background: #e52323;
    border-color: #e52323;
}

/* ==========================================
   MODÁLNE OKNO
========================================== */

.product-preview-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

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

    padding: 30px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.product-preview-modal.visible {
    opacity: 1;
    visibility: visible;
}

.preview-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.88);
    backdrop-filter: blur(5px);
}

.preview-dialog {
    position: relative;

    width: min(1200px, 96vw);
    height: min(850px, 90vh);

    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid #444;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 15px 70px rgba(0,0,0,.6);

    transform: translateY(15px);
    transition: transform .25s ease;
}

.product-preview-modal.visible .preview-dialog {
    transform: translateY(0);
}

/* Horná lišta okna. */

.preview-header {
    height: 48px;
    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 16px;

    background: #080808;
    color: #fff;
}

.preview-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.preview-open-link {
    margin-left: auto;
    margin-right: 20px;

    color: #ccc;
    font-size: 12px;
    text-decoration: none;
}

.preview-open-link:hover {
    color: #fff;
    text-decoration: underline;
}

.preview-close {
    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 5px;

    background: transparent;
    color: #fff;

    font-size: 29px;
    line-height: 1;

    cursor: pointer;
}

.preview-close:hover {
    background: #e52323;
}

/* Produktová stránka. */

.preview-frame {
    width: 100%;
    height: 100%;

    flex: 1;

    border: 0;
    background: #fff;
}

/* Zablokovanie scrollovania pozadia. */

body.preview-open {
    overflow: hidden;
}

/* Mobilné zariadenia. */

@media (max-width: 760px) {

    .gallery-item {
        container-type: inline-size;
    }
    .product-preview-button {
        width: 15cqw;
        height: 15cqw;
        min-width: 0;
        min-height: 0;
        padding: 0;
        box-sizing: border-box;
        top: 2%;
        left: 50%;
        border-radius: 50%;
    }

    .product-preview-button svg {
        width: 70%;
        height: 70%;
    }

    .product-preview-modal {
        padding: 8px;
    }

    .preview-dialog {
        width: 100%;
        height: 94vh;
        border-radius: 7px;
    }

    .preview-header {
        padding: 0 10px;
    }

    .preview-title {
        font-size: 10px;
    }

    .preview-open-link {
        font-size: 10px;
        margin-right: 8px;
    }
}

/* =========================================
   PRODUKTOVY NAHLAD - POP RACE
========================================= */

/* Tlacidlo oka */
.gallery-item {
  cursor: pointer;
}

.product-preview-button {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -8px);
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(0,0,0,.78);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.product-preview-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-item:hover .product-preview-button,
.gallery-item:focus-within .product-preview-button {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-preview-button:hover {
  background: #fff;
  color: #000;
}

@media (hover: none) {
  .product-preview-button {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Modal */
body.preview-open {
  overflow: hidden;
}

.product-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
}

.product-preview-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
}

.preview-dialog {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #111;
  border: 1px solid #383838;
  color: #f6f6f6;
  box-shadow: 0 20px 80px rgba(0,0,0,.7);
}

.preview-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: 1px solid #555;
  border-radius: 50%;
  background: rgba(0,0,0,.8);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.preview-close:hover {
  background: #fff;
  color: #000;
}

.preview-content {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  padding: 42px;
}

.preview-gallery {
  min-width: 0;
}

.preview-main-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080808;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.preview-thumbnail {
  width: 65px;
  height: 65px;
  padding: 3px;
  border: 1px solid #444;
  background: #080808;
  cursor: pointer;
}

.preview-thumbnail.active {
  border-color: #fff;
}

.preview-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 18px;
}

.preview-brand {
  margin-bottom: 18px;
  color: #999;
  font-size: 11px;
  letter-spacing: .16em;
}

.preview-title {
  margin: 0 0 22px;
  padding-right: 30px;
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.25;
  font-weight: 700;
}

.preview-price {
  margin-bottom: 12px;
  font-size: 27px;
  font-weight: 700;
}

.preview-availability {
  margin-bottom: 22px;
  color: #bcbcbc;
  font-size: 14px;
}

.preview-description {
  color: #aaa;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
}

.preview-shop-link {
  display: inline-block;
  margin-top: auto;
  padding: 15px 22px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.preview-shop-link:hover {
  background: #aaa;
}

.preview-loading,
.preview-error {
  padding: 0 42px 28px;
  color: #aaa;
  font-size: 13px;
}

.preview-error {
  color: #ff9b9b;
}

@media (max-width: 700px) {
  .product-preview-modal {
    padding: 10px;
  }

  .preview-dialog {
    max-height: 94vh;
  }

  .preview-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .preview-details {
    padding-top: 0;
  }

  .preview-title {
    font-size: 22px;
  }

  .preview-price {
    font-size: 24px;
  }

  .preview-shop-link {
    width: 100%;
    margin-top: 20px;
  }

  .preview-loading,
  .preview-error {
    padding: 0 22px 22px;
  }

  .preview-close {
    top: 8px;
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-preview-modal,
  .product-preview-button {
    transition: none;
  }
}

/* Cena a dostupnosť v produktovom náhľade */
.preview-price {
  font-size: 25px;
  font-weight: 700;
  margin: 14px 0 3px;
}

.preview-price-vat {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.preview-availability {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin: 5px 0 18px;
}

.preview-code {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 8px;
}

.preview-description {
  font-size: 14px;
  line-height: 1.65;
  margin: 12px 0 22px;
}

.preview-description img {
  display: none !important;
}

.preview-description p {
  margin: 0 0 12px;
}

.preview-description ul {
  padding-left: 22px;
  margin: 8px 0 16px;
}

.preview-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.preview-cart label {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
}

.preview-cart input {
  width: 75px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

.preview-add-cart {
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  background: #171717;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.preview-add-cart:hover {
  opacity: 0.85;
}

.preview-add-cart:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.preview-cart-message {
  width: 100%;
  font-size: 12px;
  line-height: 1.5;
}

.preview-shop-link {
  display: inline-block;
  margin-top: 10px;
}

@media (max-width: 650px) {
  .preview-cart {
    align-items: stretch;
  }

  .preview-cart input {
    width: 65px;
  }

  .preview-add-cart {
    flex: 1;
  }
}

/* Rozloženie produktového náhľadu */
.preview-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.preview-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.preview-availability {
  margin: 12px 0 14px;
  font-size: 14px;
  font-weight: 600;
}

.preview-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 12px;
}

.preview-cart label {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
}

.preview-cart input {
  width: 65px;
  height: 44px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.preview-add-cart {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 4px;
  background: #171717;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.preview-delivery {
  margin: 4px 0 14px;
  font-size: 13px;
  font-weight: 600;
}

.preview-description {
  width: 100%;
  box-sizing: border-box;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.7;
}

.preview-description p {
  margin: 0;
}

.preview-shop-link {
  margin-top: 10px;
}

@media (max-width: 650px) {
  .preview-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .preview-description {
    margin-top: 20px;
  }
}

/* FINAL FIX - RESPONSIVE IKONA OKA */

@media (max-width: 1300px) {

    .gallery-item {
        container-type: inline-size;
    }

    .product-preview-button {
        width: 17cqw !important;
        height: 17cqw !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .product-preview-button svg {
        width: 70% !important;
        height: 70% !important;
    }
}

/* POP RACE - stale viditelne oko na dotykovych zariadeniach */

@media (max-width: 1200px) {
    .product-preview-button {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translate(-50%, 0) !important;
    }
}

/* ========================================
   POP RACE – SAMOSTATNY NAKUPNY KOSIK
======================================== */

.rf-cart-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid #333;
    border-radius: 30px;
    background: #e00000;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,.4);
    font-size: 14px;
    font-weight: 700;
}

.rf-cart-floating svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rf-cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 50px;
    background: #fff;
    color: #e00000;
    font-size: 12px;
    font-weight: 800;
}

.rf-cart-count[hidden] {
    display: none;
}

.rf-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 100001;
    visibility: hidden;
    pointer-events: none;
}

.rf-cart-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.rf-cart-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    opacity: 0;
    transition: opacity .25s ease;
}

.rf-cart-drawer.is-open .rf-cart-backdrop {
    opacity: 1;
}

.rf-cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(440px, 100%);
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    background: #151515;
    color: #fff;
    border-left: 1px solid #333;
    transform: translateX(100%);
    transition: transform .25s ease;
}

.rf-cart-drawer.is-open .rf-cart-panel {
    transform: translateX(0);
}

.rf-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.rf-cart-heading {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
}

.rf-cart-subheading {
    margin-top: 5px;
    color: #aaa;
    font-size: 13px;
}

.rf-cart-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #292929;
    color: #fff;
    font-size: 27px;
    cursor: pointer;
}

.rf-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.rf-cart-item {
    display: flex;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.rf-cart-item-image {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    object-fit: contain;
    background: #fff;
    border-radius: 5px;
}

.rf-cart-item-info {
    flex: 1;
    min-width: 0;
}

.rf-cart-item-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.rf-cart-item-code {
    margin-top: 5px;
    color: #999;
    font-size: 11px;
}

.rf-cart-item-price {
    margin-top: 6px;
    color: #e00000;
    font-size: 13px;
    font-weight: 700;
}

.rf-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.rf-cart-item-controls input {
    width: 58px;
    height: 30px;
    padding: 3px 5px;
    border: 1px solid #555;
    border-radius: 4px;
    background: #222;
    color: #fff;
}

.rf-cart-remove {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 11px;
    cursor: pointer;
}

.rf-cart-remove:hover {
    color: #ff3333;
}

.rf-cart-empty {
    padding: 35px 5px;
    color: #aaa;
    text-align: center;
    font-size: 14px;
}

.rf-cart-footer {
    padding-top: 15px;
    border-top: 1px solid #333;
}

.rf-cart-transfer-note {
    margin: 0 0 15px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
}

.rf-cart-checkout {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 4px;
    background: #e00000;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.rf-cart-checkout:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.rf-cart-notice {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 100002;
    max-width: 300px;
    padding: 13px 18px;
    border-radius: 5px;
    background: #222;
    color: #fff;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0,0,0,.35);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: .2s ease;
}

.rf-cart-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .rf-cart-floating {
        right: 15px;
        bottom: 15px;
        min-height: 50px;
        padding: 0 16px;
    }

    .rf-cart-panel {
        padding: 18px;
    }
}
.rf-cart-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rf-cart-clear {
    border: 1px solid #777;
    background: transparent;
    color: #fff;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
}

.rf-cart-clear:hover:not(:disabled) {
    background: #333;
}

.rf-cart-clear:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
/* ========================================
   LANGUAGE SWITCH
======================================== */

.topbar {
  position: relative;
}

.language-switch {
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #777;
  font-size: 12px;
  letter-spacing: .08em;
}

.language-button {
  padding: 5px 3px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
}

.language-button:hover,
.language-button.active {
  color: #fff;
}

.language-button:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 1220px) {
  .language-switch {
    top: 12px;
    right: 12px;
  }
}
/* ========================================
   JAZYKOVÉ MENU
======================================== */

.language-switch {
    position: fixed;
    top: 20px;
    right: 25px;
    display: inline-block;
    z-index: 10000;
}
}

.language-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.language-current-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: 18px;
    margin: 0;
    padding: 0;
    position: static;
    transform: none;
}

.language-current-flag,
.language-flag {
    font-size: 18px;
    line-height: 1;
}

.language-chevron {
    font-size: 16px;
    opacity: 0.7;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    bottom: auto;
    min-width: 175px;
    padding: 5px;
    background: #181818;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 9px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    z-index: 9999;
}

.language-menu[hidden] {
    display: none !important;
}

.language-menu .language-button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    text-align: left;
    font-size: 13px;
}

.language-menu .language-button:hover {
    background: rgba(255,255,255,0.1);
}

.language-menu .language-button.active {
    background: rgba(255,255,255,0.12);
}

.language-code {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    min-width: 22px;
}

.language-name {
    opacity: 0.7;
    font-size: 12px;
}