/* Все стили перенесены из <style> в index.html */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding: 0 4px;
    }
    .admin-tabs {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }
    .admin-tab {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Header */
.header {
    background: transparent;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    transition: background 0.3s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4vw;
}

.logo {
    max-width: 100%;
    height: min(48px, 10vw);
    width: auto;
    object-fit: contain;
    flex-shrink: 1;
    display: block;
}

.admin-toggle {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s, color 0.2s, border 0.2s;
    flex-shrink: 0;
}

.admin-toggle:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.admin-toggle.to-catalog {
    background: #fff;
    color: #111;
    border: 2px solid #111;
}
.admin-toggle.to-catalog:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Home Page */
.home-page {
    text-align: center;
}

.welcome-text {
    color: #111;
    font-size: 1.8em;
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border 0.2s;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.category-card:hover {
    border-color: #111;
}

.category-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #111;
    margin-bottom: 0;
    flex-grow: 1;
    text-align: left;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    overflow: hidden;
    transition: border 0.2s;
    cursor: pointer;
}

.product-card:hover {
    border-color: #111;
}

.product-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: #888;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #111;
}

.product-sku {
    color: #555;
    font-size: 0.9em;
    background: #f5f5f5;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
}

/* Product Detail Page */
.product-detail {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    border: 1.5px solid #e0e0e0;
}

.product-detail-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px;
    font-size: 4em;
    color: #888;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
}

.main-image img {
    display: block;
    max-width: 100%;
    max-height: 380px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.product-details {
    width: 100%;
    text-align: left;
}

.specifications {
    margin: 24px 0 0 0;
    width: 100%;
}

.spec-item {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    max-width: 100%;
    word-break: break-word;
}

.spec-label {
    font-weight: bold;
    color: #111;
    display: block;
    margin-bottom: 2px;
}

.spec-value {
    color: #555;
    display: block;
    font-weight: normal;
    margin-left: 0;
    margin-bottom: 0;
    white-space: pre-line;
}

.cta-button {
    background: #111;
    color: #fff;
    border: none;
    padding: 20px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    margin-top: 30px;
}

.cta-button:hover {
    background: #333;
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(2px);
}

.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1.5px solid #e0e0e0;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
}

.close:hover {
    color: #111;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #111;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    color: #111;
    transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #111;
}

.form-group.error input {
    border-color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
}

.submit-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.submit-btn:hover {
    background: #333;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Admin Panel */
.admin-panel {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #e0e0e0;
    margin-top: 68px;
    padding: 30px;
    position: relative;
    z-index: 10;
}

.admin-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1.5px solid #e0e0e0;
}

.admin-tab {
    padding: 15px 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #111;
    border-radius: 0;
    transition: none;
}

.admin-tab.active {
    background: #111;
    color: #fff;
    border-radius: 10px;
    transition: none;
}

.admin-tab:hover {
    background: inherit;
    color: inherit;
}

.admin-tab.active:hover {
    background: #111;
    color: #fff;
}

.admin-tab:active,
.admin-tab.active:active {
    /* background: inherit; */
    /* color: inherit; */
}

.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
}

.admin-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.admin-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.admin-btn:hover {
    background: #333;
}

.admin-btn.danger {
    background: #fff;
    color: #f44336;
    border: 1.5px solid #f44336;
}

.admin-btn.danger:hover {
    background: #f44336;
    color: #fff;
}

.admin-list {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    border: 1.5px solid #e0e0e0;
}

.admin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.admin-item:last-child {
    border-bottom: none;
}

.admin-item-title {
    word-break: break-word;
    flex: 1 1 0;
    min-width: 0;
}

.admin-item-actions {
    flex-shrink: 0;
}

.admin-item-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.2s;
    color: #111;
}

.icon-btn:hover {
    background: #f5f5f5;
}

.icon-btn.edit {
    color: #111;
}

.icon-btn.delete {
    color: #f44336;
}

/* Breadcrumbs */
.breadcrumbs {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    margin-bottom: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.breadcrumbs a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #666;
    margin: 0 10px;
}

/* Success Message */
.success-message {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2em;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 16px 0;
    }
    .product-detail {
        padding: 16px;
        border-radius: 8px;
        max-width: 100vw;
        width: 100%;
    }
    .product-detail-content {
        max-width: 100vw;
        width: 100%;
        padding: 0;
    }
    .modal-content {
        padding: 16px;
        border-radius: 8px;
        max-width: 98vw;
    }
    .admin-panel {
        padding: 10px;
        border-radius: 8px;
    }
    .admin-tabs {
        gap: 8px;
        margin-bottom: 20px;
    }
    .categories-grid,
    .products-grid {
        gap: 12px;
    }
    .welcome-text {
        font-size: 1.1em;
    }
    .product-name,
    .category-name {
        font-size: 1em;
    }
    .admin-tab {
        font-size: 1em;
        padding: 10px 10px;
    }
    .cta-button,
    .submit-btn {
        font-size: 1em;
        padding: 12px 10px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 4px;
        max-width: 100vw;
    }
    .header {
        padding: 10px 0;
    }
    .header-content {
        gap: 2vw;
        padding-left: 4px;
        padding-right: 4px;
    }
    .logo {
        height: min(32px, 16vw);
        max-width: 100%;
    }
    .admin-item {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .admin-item-actions {
        justify-content: flex-end;
        margin-top: 2px;
    }
}

.hidden {
    display: none;
}

.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    max-height: 200px;
    overflow-y: auto;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}
.custom-dropdown-selected {
    background: #f5f5f5;
    padding: 10px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    color: #111;
}
.custom-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: none;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 50vh !important;
    overflow-y: auto !important;
    display: none;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #bbb #f5f5f5;
}
.custom-dropdown-list::-webkit-scrollbar {
    width: 8px;
    background: #f5f5f5;
    border-radius: 8px;
}
.custom-dropdown-list::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 8px;
}
.custom-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #888;
}
.custom-dropdown-list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 8px;
}
.custom-dropdown.open .custom-dropdown-list {
    display: block;
}
.custom-dropdown-item {
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s;
    color: #111;
}
.custom-dropdown-item:hover {
    background: #f5f5f5;
}
.modal-scroll {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 8px;
}

.toast {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 18px 32px 18px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    font-size: 1.1em;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 220px;
    max-width: 90vw;
    opacity: 1;
    transition: opacity 0.3s, top 0.3s;
}
.toast.hidden {
    opacity: 0;
    pointer-events: none;
    top: 0px;
}
.toast-close {
    background: #fff;
    color: #222;
    border: none;
    border-radius: 8px;
    padding: 6px 18px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1em;
    margin-left: 10px;
    transition: background 0.2s, color 0.2s;
}
.toast-close:hover {
    background: #222;
    color: #fff;
    border: 1.5px solid #fff;
}

.modal-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.form-group textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    resize: vertical;
}

#adminRoleInfo {
  color: #111;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 18px;
  margin-top: 0;
  text-align: left;
}

:root {
  --header-height: 88px;
}

#mainSlider {
  width: 100%;
  height: 100vh;
  min-height: 320px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: background-image 0.7s cubic-bezier(.4,0,.2,1);
}
#mainSlider::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.15) 80%, rgba(0,0,0,0));
  z-index: 2;
}
#mainSliderText {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 2.1em;
  font-weight: bold;
  text-align: center;
  margin-top: 16vh;
  margin-bottom: 24vh;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  padding: 0 16px;
}
@media (max-width: 600px) {
  #mainSliderText { font-size: 1.2em; margin-top: 8vh; margin-bottom: 16vh; }
  #mainSlider { min-height: 120px; }
}

/* Список категорий (строчками) */
.categories-list-ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
}
#categoriesListSection > h2 {
  padding-left: 12px;
}
.category-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.18em;
  font-weight: bold;
  padding: 18px 0;
  cursor: pointer;
  transition: background 0.15s;
}
.category-list-item:hover {
  background: #f5f5f5;
}
.category-list-arrow {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-left: 18px;
  margin-right: 8px;
  display: inline-block;
}
.category-list-item:hover .category-list-arrow {
}
.categories-list-ul li {
  font-size: 1.6em;
  padding: 28px 0;
  color: #222;
  text-align: left;
  font-weight: bold;
}
.categories-list-ul li:last-child {
  border-bottom: none;
}
@media (max-width: 600px) {
  .categories-list-ul li { font-size: 1.3em; padding: 20px 0; }
}

#categoriesListSection {
  position: relative;
  margin-top: 105vh;
}

/* Список новинок на главной */
.new-products-list-ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
}
.new-products-list-ul li {
  padding: 14px 0;
  font-size: 1.08em;
  color: #222;
  text-align: left;
}
.new-products-list-ul li b {
  font-weight: bold;
}

.new-products-scroll {
  display: flex;
  flex-direction: row;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 12px;
  padding-left: 12px;
  margin-left: 0;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: #bbb #f5f5f5;
}
.new-products-scroll::-webkit-scrollbar {
  height: 10px;
}
.new-products-scroll::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 6px;
}
.new-products-scroll::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 6px;
}

#newProductsSection > h2 {
  padding-left: 12px;
  margin-bottom: 22px;
}

.category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.category-arrow {
  display: flex;
  align-items: center;
  font-size: 2em;
  margin-left: 18px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.category-card:hover .category-arrow {
  opacity: 1;
}
@media (max-width: 600px) {
  .category-arrow {
    width: 22px;
    height: 22px;
    margin-left: 8px;
  }
}

.showroom-section {
  margin: 48px auto 0 auto;
  padding: 32px 24px 40px 24px;
  background: #f5f5f5;
  border-radius: 18px;
  width: auto;
  max-width: 1200px;
  box-sizing: border-box;
  position: static;
  left: unset;
  transform: none;
  text-align: center;
  border: 2px solid #e0e0e0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.showroom-text {
  font-size: 1.35em;
  color: #222;
  margin-bottom: 28px;
  font-weight: 500;
}
.showroom-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 18px 44px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.showroom-btn:hover {
  background: #333;
  color: #fff;
}

.showroom-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.showroom-directions-btn {
  background: #fff;
  color: #111;
  border: 2px solid #111;
}

.showroom-directions-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
@media (max-width: 600px) {
  .showroom-section {
    padding: 18px 8px 24px 8px;
    border-radius: 12px;
    width: auto;
    max-width: 98vw;
    margin: 32px auto 0 auto;
    left: unset;
    transform: none;
  }
  .showroom-text {
    font-size: 1.05em;
    margin-bottom: 18px;
  }
  .showroom-btn {
    padding: 13px 18px;
    font-size: 1em;
  }
  
  .showroom-buttons {
    gap: 12px;
  }
}

.site-footer {
  margin-top: auto;
  background: #111;
  color: #fff;
  padding: 38px 0 28px 0;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-contacts {
  font-size: 1.08em;
  line-height: 1.7;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #f5c242;
  text-decoration: underline;
}

.footer-modal-content {
  margin-top: 20px;
  line-height: 1.6;
}

.footer-modal-content h3 {
  color: #111;
  font-size: 1.3em;
  margin: 24px 0 12px 0;
  font-weight: bold;
}

.footer-modal-content h3:first-child {
  margin-top: 0;
}

.footer-modal-content h4 {
  color: #333;
  font-size: 1.1em;
  margin: 20px 0 8px 0;
  font-weight: bold;
}

.footer-modal-content p {
  margin-bottom: 12px;
  color: #444;
}

.footer-modal-content ul {
  margin: 12px 0;
  padding-left: 20px;
}

.footer-modal-content li {
  margin-bottom: 8px;
  color: #444;
}

.footer-modal-content a {
  color: #111;
  text-decoration: underline;
}

.footer-modal-content a:hover {
  color: #f5c242;
}
.footer-email a, .footer-phones a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-email a:hover, .footer-phones a:hover {
  color: #f5c242;
}
.footer-socials {
  display: flex;
  gap: 18px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-social img:hover {
  opacity: 1;
}
@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 0 8px;
  }
  .footer-socials {
    margin-top: 10px;
  }
  .footer-links {
    margin-top: 12px;
    gap: 6px;
  }
  .footer-link {
    font-size: 0.9em;
  }
}

#productsPage,
#productDetailPage {
  margin-top: 68px;
}
.admin-toggle.to-catalog {
  background: #fff;
  color: #111;
  border: 2px solid #111;
}
.admin-toggle.to-catalog:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.new-products-scroll .product-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.new-products-scroll .product-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.products-grid .product-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.products-grid .product-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.site-footer, .site-footer * {
  font-family: inherit !important;
  font-size: 1em !important;
  font-weight: 400 !important;
  color: #fff;
}

.slider-progress-bar {
  width: 80%;
  max-width: 420px;
  height: 6px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 36px;
  z-index: 4;
  margin: 0;
}
.slider-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(.4,0,.2,1);
}

.lang-btn {
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, font-weight 0.2s;
  outline: none;
}
.lang-btn.active, .lang-btn:focus {
  background: #f5c242;
  color: #111;
  font-weight: bold;
  border-color: #f5c242;
}
.lang-btn:not(:last-child) {
  margin-right: 2px;
}
