:root {
  --uah: #087945;
  --uah-dark: #066638;
  --ink: #242424;
  --mute: #767676;
  --line: #ececec;
  --radius: 16px;
}

body {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  color: var(--mute);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, #logo h1 a {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  color: var(--ink);
  font-weight: 700;
}

a { color: var(--ink); }
a:hover { color: var(--uah); }

#top,
#top .container {
  display: none;
}

.uah-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 12px;
}

.uah-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

.uah-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.uah-wordmark {
  display: none;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: var(--ink);
}

header {
  background: #fff;
  padding: 0;
  margin: 0;
  min-height: 0;
}

header .container {
  width: 100%;
  max-width: 1240px;
}

#search {
  max-width: 520px;
  margin: 0 auto;
}

#search .form-control {
  height: 46px;
  border: 1px solid #e6e6e6;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  box-shadow: none;
  font-size: 14px;
}

#search .btn {
  height: 46px;
  width: 52px;
  border-radius: 0 999px 999px 0;
  background: #111;
  color: #fff;
  border: 0;
}

.uah-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.uah-meta a {
  text-decoration: none;
}

.uah-phone small,
.uah-ship small {
  display: block;
  color: var(--uah);
  font-size: 11px;
  font-weight: 500;
}

.uah-phone b,
.uah-ship b {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.uah-icons {
  display: flex;
  gap: 8px;
}

.uah-icons a,
#cart > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ececec;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 42px;
  box-shadow: none;
}

#cart {
  width: auto;
}

#cart > button {
  font-size: 0;
}

#cart > button i,
#cart > button #cart-total {
  font-size: 14px;
}

#cart .dropdown-menu {
  width: 340px;
}

.uah-navwrap {
  border-top: 0;
  padding: 8px 0 14px;
}

#menu.navbar {
  background: transparent;
  border: 0;
  min-height: 0;
  margin: 0;
  border-radius: 0;
}

#menu .nav > li > a {
  color: var(--ink);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a {
  background: #f4f4f4;
  color: var(--ink);
}

.uah-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #111;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  text-decoration: none;
  margin-right: 10px;
}

#menu .dropdown-menu {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 16px;
}

#menu .dropdown-inner a {
  min-width: 180px;
}

.uah-ticker {
  background: var(--uah);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0;
}

.uah-ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 28s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.uah-hero {
  position: relative;
  min-height: 520px;
  background: #1c1c1c center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.uah-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.45) 100%);
}

.uah-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px 72px;
}

.uah-hero h1 {
  color: #fff;
  font-size: 52px;
  line-height: 1.15;
  max-width: 640px;
  margin: 0 0 18px;
}

.uah-hero a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 15px;
}

.uah-cats {
  max-width: 1240px;
  margin: -48px auto 40px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}

.uah-cat {
  position: relative;
  min-height: 340px;
  border-radius: 22px;
  overflow: hidden;
  background: #d9d9d9 center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
}

.uah-cat span {
  background: rgba(255,255,255,.88);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.uah-cat b {
  background: var(--uah);
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
}

.uah-eyebrow {
  text-align: center;
  color: var(--uah);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 12px 0 6px;
}

#common-home.container {
  width: 100%;
  max-width: none;
  padding: 0;
}

#common-home #content {
  padding: 0 0 60px;
}

#common-home .swiper-viewport,
#common-home #slideshow0 {
  display: none;
}

.product-thumb,
.product-thumb:hover {
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.uah-card,
.product-thumb {
  background: transparent;
}

.uah-card .image,
.product-layout .product-thumb .image {
  border-radius: 16px;
  overflow: hidden;
  background: #f3f3f3;
  margin-bottom: 12px;
}

.uah-card .image img,
.product-thumb .image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-thumb .caption {
  min-height: 0;
  padding: 0;
}

.product-thumb h4 {
  font-size: 14px;
  min-height: 40px;
  margin: 0 0 8px;
  font-weight: 500;
}

.product-thumb .caption p,
.price-tax,
.rating {
  display: none;
}

.product-thumb .price {
  color: var(--uah);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 10px;
}

.price-new { color: var(--uah); }
.price-old { color: #bbb; }

.product-thumb .button-group {
  border: 0;
  background: transparent;
  overflow: visible;
}

.uah-card__btn,
.product-thumb .button-group button:first-child,
.product-layout .button-group a.uah-card__btn {
  display: block;
  width: 100%;
  background: var(--uah);
  color: #fff !important;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.product-thumb .button-group button:nth-child(2),
.product-thumb .button-group button:nth-child(3) {
  display: none;
}

.uah-promo {
  max-width: 1240px;
  margin: 20px auto 50px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.uah-promo__photo {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: #d9d9d9 center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  text-decoration: none;
}

.uah-promo__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.45) 100%);
}

.uah-promo__photo span,
.uah-promo__photo strong {
  position: relative;
  z-index: 1;
  color: #fff;
}

.uah-promo__photo span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.uah-promo__photo strong {
  font-size: 28px;
  line-height: 1.2;
}

.uah-promo__box {
  background: #f4f1ec;
  border-radius: 18px;
  min-height: 260px;
  padding: 48px 40px;
}

.uah-heading {
  text-align: center;
  font-size: 32px;
  margin: 8px 0 32px;
}

.uah-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.uah-subcats a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  text-decoration: none;
  color: var(--ink);
}

.uah-subcats a:hover {
  background: var(--uah);
  border-color: var(--uah);
  color: #fff;
}

#form-language {
  margin: 0;
}

#form-language .btn-link {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

#form-language .dropdown-menu {
  min-width: 140px;
}

#common-home .swiper-viewport,
#common-home #slideshow0,
#common-home #carousel0 {
  display: none;
}

#product-category h1,
#product-product h1 {
  font-size: 32px;
  margin: 0 0 18px;
}

.uah-buy {
  position: sticky;
  top: 24px;
}

#product .radio {
  display: inline-block;
  margin: 0 8px 8px 0;
}

#product .radio label {
  position: relative;
}

#product .radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#product .radio input:checked + span,
#product .radio label:has(input:checked) {
  background: var(--uah);
  color: #fff;
  border-color: var(--uah);
}

.uah-promo__box small {
  color: var(--uah);
  display: block;
  margin-bottom: 8px;
}

.uah-promo__box h2 {
  margin: 0 0 18px;
  font-size: 32px;
}

.uah-btn {
  display: inline-block;
  background: var(--uah);
  color: #fff !important;
  border-radius: 8px;
  padding: 10px 18px;
  text-decoration: none;
}

#product-product h1 {
  font-size: 28px;
  margin-top: 0;
}

#product-product h2,
#product-product .uah-price {
  color: var(--uah);
  font-size: 28px;
  font-weight: 700;
}

#product .radio label {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 14px;
  margin: 0;
  display: inline-block;
  cursor: pointer;
  color: var(--ink);
}

#button-cart,
.btn-primary {
  background: var(--uah);
  border-color: var(--uah);
}

#button-cart:hover,
.btn-primary:hover {
  background: var(--uah-dark);
  border-color: var(--uah-dark);
}

.breadcrumb {
  background: transparent;
  padding-left: 0;
}

#product-category #column-left {
  display: none;
}

@media (min-width: 768px) {
  #product-category #content.col-sm-9 {
    width: 100%;
  }
}

#product-category .img-thumbnail {
  display: none;
}

footer {
  background: #111;
  color: #cfcfcf;
  margin-top: 40px;
  padding: 48px 0 24px;
}

footer h5 { color: #fff; }
footer a { color: #cfcfcf; }
footer hr { border-color: #2a2a2a; }

@media (max-width: 991px) {
  .uah-hero h1 { font-size: 34px; }
  .uah-cats,
  .uah-promo { grid-template-columns: 1fr; }
  .uah-meta .uah-ship,
  #form-language { display: none; }
  .uah-hero { min-height: 380px; }
  .uah-top { flex-wrap: wrap; }
  #search { order: 3; max-width: none; width: 100%; }
  .uah-logo { height: 40px; max-width: 160px; }
  #menu .navbar-header { float: none; }
  #menu .btn-navbar { background: #111; color: #fff; }
}
