/* Separate Vita Gold skin for indexvg.php. Keeps engine/layout logic untouched. */

body.vg-theme {
  background: #f6f6f6;
  color: #1f2b37;
}

.vg-theme .header-box {
  background: #f2ede1;
  border-bottom: 0;
  box-shadow: none;
  padding-bottom: 0;
}

.vg-theme .header {
  max-width: 1430px;
  padding: 0;
}

.vg-theme header {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 18px 9px 47px;
  background: #f2ede1;
}

.vg-theme .vg-topbar {
  position: static;
  flex: 1 1 auto;
  height: auto;
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 400;
  color: #262626;
}

.vg-theme header .logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  z-index: 1;
}

.vg-theme header .search {
  flex: 0 0 300px;
  padding: 0;
}

.vg-theme header .profile {
  width: auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vg-theme .header .logo img,
.vg-theme .footer-logo {
  content: url('/img/vitagold.png');
  width: 300px;
  max-width: 100%;
  height: auto;
}

.vg-theme .headermob {
  background: #f2ede1;
  border-bottom: 1px solid #ddd4c1;
  color: #1f2b37;
}

.vg-theme .headermob .cart-link {
  color: #1f2b37;
}

.vg-theme .headermob .headermob-inner button img,
.vg-theme .headermob .headermob-inner .cart-link img {
  filter: invert(1);
}

.vg-theme .headermob .logo img {
  content: url('/img/vitagold.png');
  height: 28px;
}

.vg-theme .top-nav-container {
  margin-top: 0;
  border-radius: 0;
  border: 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.vg-theme .top-nav {
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
}

.vg-theme .top-nav li a {
  background: #fff;
  color: #202933;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  padding: 13px 20px;
}

.vg-theme .top-nav li a:hover {
  background-color: #f5f5f5;
  color: #111;
  border-radius: 0;
}

.vg-theme .top-nav .toRight {
  margin-left: auto;
}

.vg-theme .vg-lang-inline .lang-btn {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #1f2b37;
  font-size: 15px;
  font-weight: 500;
}

.vg-theme .vg-lang-inline .lang-content {
  top: 100%;
  margin-top: 0;
  margin-left: -65px;
}

.vg-theme .search-field {
  border: 0;
  border-bottom: 1px solid #8d8d8d;
  border-radius: 0;
  box-shadow: none;
  padding: 7px 0;
  font-size: 15px;
  color: #2f3a45;
  background: transparent;
}

.vg-theme .search-field::placeholder {
  color: #5e6770;
}

.vg-theme .search-button {
  border: 0;
  background: transparent;
  color: #2a3642;
  box-shadow: none;
  border-radius: 0;
  padding: 7px 0 7px 10px;
  font-size: 16px;
}

.vg-theme .profile-shop,
.vg-theme .profile-icon {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  color: #27323d;
  margin: 0;
  width: auto;
  height: auto;
  font-size: 29px;
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.vg-theme .profile-icon:hover,
.vg-theme .profile-shop:hover,
.vg-theme .search-button:hover {
  background: transparent;
  border-color: transparent;
  color: #000;
}

.vg-theme .profile-shop {
  position: relative;
  gap: 6px;
}

.vg-theme .profile-shop-sum {
  margin: 0;
  color: #1f2b37;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.vg-theme .profile-shop-sum .backet_sum {
  margin-right: 3px;
}

.vg-theme .profile-shop .backet_count {
  width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  font-size: 11px !important;
  margin: 0 !important;
  top: -8px;
  left: 9px;
  background: #4f79c7 !important;
  border: 2px solid #fff;
}

.vg-theme .catalog h3,
.vg-theme .catalog h2 {
  background: #8a5a12;
}

.vg-theme .catalog h2 {
  background: #c08a2d;
}

.vg-theme .mainBanner {
  display: block;
  height: 420px;
  border-radius: 24px;
  margin-top: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.vg-theme .mainCats {
  gap: 20px;
  margin-top: 10px;
}

.vg-theme .mainCats .catItem {
  border: 1px solid #dce4f1;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(32, 78, 154, 0.12);
}

.vg-theme .mainCats .catItem:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px rgba(20, 56, 117, 0.18);
}

.vg-theme .mainCats h3 {
  color: #8a5a12;
  font-weight: 700;
}

.vg-theme .address a,
.vg-theme .sidebar .activated,
.vg-theme .category-title {
  color: #c08a2d;
}

.vg-theme .footer {
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%);
  border-top: 1px solid #d8e2f3;
}

.vg-theme .footer-col h4 {
  color: #8a5a12;
  border-bottom-color: #d2dff4;
}

.vg-theme .footer-col ul li a:hover {
  color: #c08a2d;
}

.vg-theme .footer-company {
  color: #8a5a12;
}

@media (max-width: 1200px) {
  .vg-theme .vg-topbar,
  .vg-theme .top-nav-container {
    margin-top: 0;
  }

  .vg-theme .headermob .logo img {
    height: 22px;
  }
}

@media (max-width: 768px) {
  .vg-theme .mainBanner {
    height: 300px;
    border-radius: 18px;
  }

  .vg-theme .mainCats {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Main homepage category menu cards (like vitagold reference grid). */
.vg-theme .vg-home-menu {
  margin-top: 12px;
  margin-bottom: 8px;
}

.vg-theme .vg-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vg-theme .vg-home-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #ebedf2;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.vg-theme .vg-home-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(28, 46, 76, 0.12);
}

.vg-theme .vg-home-image {
  width: 100%;
  background: #c9def0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.vg-theme .vg-home-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.vg-theme .vg-home-info {
  border-top: 1px solid #eceef3;
  text-align: center;
  padding: 12px 8px 14px;
}

.vg-theme .vg-home-info h6 {
  margin: 0;
  color: #2f3a45;
  font-weight: 700;
  font-size: 20px;
}

.vg-theme .vg-home-info p {
  margin: 2px 0 0;
  color: #636e7c;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .vg-theme .vg-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .vg-theme .vg-home-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Homepage "Jaunie produkti" horizontal carousel block (vg.lc). */
.vg-theme .vg-recent-section {
  margin-top: 4px;
  margin-bottom: 16px;
}

.vg-theme .vg-recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d8dce3;
  margin-bottom: 10px;
}

.vg-theme .vg-recent-title {
  margin: 0;
  padding: 0 0 8px;
  font-size: 26px;
  font-weight: 500;
  color: #2f3a45;
  border-bottom: 3px solid #52a7f7;
}

.vg-theme .vg-recent-nav {
  display: flex;
  gap: 8px;
}

.vg-theme .vg-recent-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #9fb0bf;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.vg-theme .vg-recent-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.vg-theme .vg-recent-track-wrap {
  overflow: hidden;
}

.vg-theme .vg-recent-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.vg-theme .vg-recent-track::-webkit-scrollbar {
  display: none;
}

.vg-theme .vg-recent-track .product {
  flex: 0 0 calc((100% - 72px) / 7);
  min-width: 190px;
  scroll-snap-align: start;
}

.vg-theme .vg-recent-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

.vg-theme .vg-recent-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8cdd4;
}

.vg-theme .vg-recent-dots .dot.active {
  width: 38px;
  border-radius: 6px;
  background: #5cb0f8;
}

@media (max-width: 1200px) {
  .vg-theme .vg-recent-track .product {
    flex-basis: calc((100% - 36px) / 4);
    min-width: 210px;
  }
}

@media (max-width: 768px) {
  .vg-theme .vg-recent-title {
    font-size: 22px;
  }

  .vg-theme .vg-recent-track .product {
    flex-basis: calc((100% - 12px) / 2);
    min-width: 170px;
  }
}
