/*
 * Conservative compact overrides for Oly Kids.
 * This file keeps the theme artwork, slider composition, SVG separators, and
 * product layouts intact while tightening the header and mobile spacing.
 */

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

#topbar-search {
  padding-top: 10px;
  padding-bottom: 10px;
}

#topbar-search .row,
#product-search .row {
  align-items: center;
}

#topbar-search .topbar-text span,
#topbar-search .topbar-contact span {
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
}

#topbar-search .topbar-contact span {
  margin-right: 12px;
  padding-right: 12px;
}

#product-search {
  padding-top: 14px;
  padding-bottom: 14px;
  background-position: center;
}

#product-search .logo {
  display: flex;
  align-items: center;
}

#product-search .logo img,
#product-search .custom-logo {
  width: auto;
  max-height: 76px;
}

.searchprod {
  padding-top: 0;
}

#product-search input[type="search"] {
  min-height: 44px;
  padding: 10px 46px 10px 16px;
  border-width: 1px;
  font-size: 14px;
  font-style: normal;
}

#product-search button {
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#product-search .my-account {
  gap: 12px;
}

.my-account .my-account-text {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  white-space: nowrap;
}

#product-search .cart-basket {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#product-search .cart-basket .cart-value {
  position: absolute;
  top: -9px;
  right: -9px;
  left: auto;
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.header-wrap {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.oly-single-header {
  position: relative;
  min-height: 70px;
}

.oly-single-header #product-search {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  background: transparent !important;
  pointer-events: none;
}

.oly-single-header #product-search > .container,
.oly-single-header #product-search .row {
  position: static;
  height: 100%;
}

.oly-single-header #product-search .product-logo-col {
  position: absolute;
  top: 50%;
  left: max(18px, calc((100vw - 1180px) / 2));
  width: 92px;
  transform: translateY(-50%);
  padding-right: 0;
  padding-left: 0;
  pointer-events: auto;
}

.oly-single-header #product-search .logo {
  min-height: 0;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.oly-single-header #product-search .logo img,
.oly-single-header #product-search .custom-logo {
  max-width: 86px;
  max-height: 54px;
}

.oly-single-header #product-search .searchprod {
  display: none !important;
}

.oly-single-header #product-search .my-account {
  position: absolute;
  top: 50%;
  right: max(18px, calc((100vw - 1180px) / 2));
  width: 210px;
  transform: translateY(-50%);
  padding-right: 0;
  padding-left: 0;
  justify-content: flex-end;
  min-width: 0;
  pointer-events: auto;
}

.oly-single-header .my-account .my-account-text,
.oly-single-header .my-account .my-account-text span,
.oly-single-header .my-account i,
.oly-single-header #product-search .cart-basket {
  color: #ffffff;
}

.oly-single-header #product-search .cart-basket {
  border-color: rgba(255, 255, 255, 0.8);
}

.oly-single-header .nav_wrap,
.oly-single-header .main-header-box,
.oly-single-header .bg-media,
.oly-single-header .header-nav,
.oly-single-header .menubar,
.oly-single-header .right_menu,
.oly-single-header .menubar-box,
.oly-single-header #site-header-menu,
.oly-single-header .main-header {
  min-height: 70px;
}

.oly-single-header .nav_wrap,
.oly-single-header .right_menu {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.oly-single-header .main-header {
  padding-left: 300px;
  padding-right: 330px;
}

.oly-single-header .side-navigation .menu > ul {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  min-width: 0;
  min-height: 70px;
  margin: 0;
}

.oly-single-header .side-navigation li {
  flex: 0 0 auto;
  padding: 0;
}

.oly-single-header .side-navigation a {
  min-height: 70px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.side-navigation li {
  min-width: auto;
}

.side-navigation a {
  min-height: 52px;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 13px;
  letter-spacing: 0;
}

.side-navigation ul ul a {
  min-height: auto;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 13px;
}

.oly-single-header .side-navigation a {
  min-height: 70px;
  padding: 0 18px;
}

#slider .read-more,
#offer1 .product-offers-content a,
#offers2 .product-offers-content a,
#offers3 .product-offers-content a,
#onsale .product-offers-content a,
#news .news-content .read-more,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce ul.products li.product .button {
  min-height: 40px;
  padding: 10px 18px;
  letter-spacing: 0;
}

#slider .vw-kids-pro-small-heading,
#slider .vw-kids-pro-prop_desc p,
#toys .toys-content h4 a,
#trend-prod .trend-content h4 a,
.woocommerce ul.products li.product h2 {
  letter-spacing: 0;
}

.vw-kids-pro-sticky {
  right: 0;
  left: 0;
  z-index: 999;
}

@media (max-width: 1199px) {
  .side-navigation a {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 12px;
  }

  .oly-single-header #product-search .product-logo-col {
    left: 14px;
    width: 78px;
  }

  .oly-single-header #product-search .logo img,
  .oly-single-header #product-search .custom-logo {
    max-width: 74px;
  }

  .oly-single-header #product-search .my-account {
    right: 14px;
    width: 184px;
  }

  .oly-single-header .main-header {
    padding-left: 100px;
    padding-right: 198px;
  }

  .oly-single-header .side-navigation a {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  #topbar-search {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #topbar-search .topbar-text,
  #topbar-search .topbar-contact {
    text-align: center;
  }

  #product-search .logo {
    justify-content: center;
    margin-bottom: 10px;
  }

  #product-search .searchprod {
    margin-bottom: 10px;
  }

  #product-search .my-account {
    justify-content: center;
  }

  .headerbar {
    min-height: 48px;
  }

  .hamburger {
    min-height: 42px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
  }

  .oly-single-header {
    min-height: 62px;
  }

  .oly-single-header #product-search,
  .oly-single-header .nav_wrap,
  .oly-single-header .main-header-box,
  .oly-single-header .bg-media,
  .oly-single-header .header-nav,
  .oly-single-header .menubar,
  .oly-single-header .right_menu,
  .oly-single-header .menubar-box,
  .oly-single-header #site-header-menu,
  .oly-single-header .main-header {
    min-height: 62px;
  }

  .oly-single-header .main-header {
    padding-right: 0;
    padding-left: 0;
  }

  .oly-single-header #product-search .logo {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .oly-single-header #product-search .product-logo-col {
    left: 12px;
    width: 72px;
  }

  .oly-single-header #product-search .logo img,
  .oly-single-header #product-search .custom-logo {
    max-width: 66px;
    max-height: 46px;
  }

  .oly-single-header #product-search .my-account {
    right: 12px;
    width: 164px;
    margin-bottom: 0;
  }

  .oly-single-header .headerbar {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 62px;
    pointer-events: none;
  }

  .oly-single-header .hamburger {
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    line-height: 1;
  }

  .oly-single-header .main-header .side-navigation {
    display: none;
  }

  amp-sidebar#sidebar1,
  #sidebar1 {
    width: min(82vw, 310px);
    background: #343c49;
  }

  #sidebar1 .close-sidebar {
    min-height: 52px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #ffffff;
    font-size: 20px;
  }

  #sidebar1 .side-navigation ul,
  #sidebar1 .side-navigation li {
    width: 100%;
  }

  #sidebar1 .side-navigation li,
  #masthead.scrolled #sidebar1 .side-navigation li {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  #sidebar1 .side-navigation a {
    min-height: 46px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  #sidebar1 .side-navigation ul ul a {
    min-height: 40px;
    padding-left: 30px;
    font-size: 15px;
    opacity: 0.9;
  }
}

@media (max-width: 767px) {
  #topbar-search .topbar-text {
    display: none;
  }

  #topbar-search .topbar-contact span {
    display: inline-block;
    margin: 0 8px;
    padding: 0;
    border-right: 0;
    font-size: 12px;
  }

  #product-search {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #product-search .logo img,
  #product-search .custom-logo {
    max-height: 62px;
  }

  .oly-single-header #product-search .product-logo-col {
    left: 10px;
    width: 64px;
  }

  .oly-single-header #product-search .logo img,
  .oly-single-header #product-search .custom-logo {
    max-width: 58px;
    max-height: 42px;
  }

  .oly-single-header #product-search .my-account {
    right: 10px;
    width: 86px;
    gap: 8px;
  }

  .oly-single-header .my-account .my-account-text {
    width: 34px;
    height: 34px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
  }

  .oly-single-header .my-account .my-account-text i {
    margin: 0;
    font-size: 16px;
  }

  #product-search .cart-basket {
    width: 34px;
    height: 34px;
  }

  #product-search .cart-basket .cart-value {
    top: -8px;
    right: -8px;
    width: 21px;
    height: 21px;
    min-width: 21px;
    font-size: 10px;
  }

  .oly-single-header .hamburger {
    min-height: 38px;
    padding: 9px 12px;
  }

  .oly-single-header .hamburger .menu_text {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  #product-search .row > [class*="col-"] {
    width: 100%;
  }

  #product-search .searchprod {
    order: 3;
  }

  #product-search .my-account {
    order: 2;
    margin-bottom: 10px;
  }

  #product-search .my-account .my-account-text {
    padding-right: 0 !important;
  }

  .oly-single-header #product-search .my-account {
    margin-bottom: 0;
  }
}

@media (max-width: 380px) {
  .oly-single-header .hamburger .menu_text {
    display: none;
  }

  .oly-single-header .hamburger {
    min-width: 38px;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .oly-single-header {
    height: 64px !important;
    min-height: 64px !important;
    overflow: visible;
  }

  .oly-single-header #product-search,
  .oly-single-header .nav_wrap,
  .oly-single-header .main-header-box,
  .oly-single-header .bg-media,
  .oly-single-header .header-nav,
  .oly-single-header .menubar,
  .oly-single-header .right_menu,
  .oly-single-header .menubar-box,
  .oly-single-header #site-header-menu,
  .oly-single-header .main-header,
  .oly-single-header .headerbar {
    height: 64px !important;
    min-height: 64px !important;
  }

  .oly-single-header #product-search {
    position: absolute !important;
    inset: 0 !important;
    padding: 0 !important;
  }

  .oly-single-header #product-search > .container,
  .oly-single-header #product-search .row {
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .oly-single-header #product-search .row > [class*="col-"] {
    position: static;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .oly-single-header #product-search .product-logo-col {
    position: absolute !important;
    top: 50% !important;
    left: 10px !important;
    width: 62px !important;
    transform: translateY(-50%) !important;
    z-index: 4;
  }

  .oly-single-header #product-search .my-account {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    width: 84px !important;
    height: 38px;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end !important;
    gap: 8px;
    z-index: 4;
  }

  .oly-single-header .headerbar {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    z-index: 3;
  }
}