@media (max-width: 1199px), (max-width: 1400px) and (pointer: coarse) {
  body:has(.esky-site-chrome) {
    --esky-bg: #fff;
    --esky-panel: #f7f6f2;
    --esky-line: #e5e2da;
    --esky-gold: #816329;
    --esky-muted: #6d6a63;
    --esky-text: #252724;
    --esky-header-height: 77px;
    background: var(--esky-bg) !important;
    color: var(--esky-text);
    font-family: EskyInter, sans-serif;
    padding-top: calc(
      var(--esky-header-height) + env(safe-area-inset-top)
    ) !important;
    padding-bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    scroll-padding-top: calc(var(--esky-header-height) + 15px);
    overflow-x: clip;
  }
  body:has(.esky-site-chrome) #sp-header,
  body:has(.esky-site-chrome) #sp-top-bar,
  body:has(.esky-site-chrome) #sp-bottom,
  body:has(.esky-site-chrome) #sp-footer,
  body:has(.esky-site-chrome) #sp-menu-store-section,
  body:has(.esky-site-chrome) #sp-bookstore-info-sec,
  body:has(.esky-site-chrome) .sticky-header-placeholder,
  body:has(.esky-site-chrome) .offcanvas-menu,
  body:has(.esky-site-chrome) .offcanvas-overlay,
  body:has(.esky-site-chrome) .sp-scroll-up {
    display: none !important;
  }
  .esky-site-chrome {
    color: var(--esky-text);
    font:
      14px/1.65 EskyInter,
      sans-serif;
  }
  .esky-site-chrome * {
    box-sizing: border-box;
  }
  .esky-site-chrome .esky-only {
    display: block;
  }
  .esky-site-chrome a {
    color: inherit;
    text-decoration: none;
  }
  .esky-site-chrome svg {
    width: 21px;
    height: 21px;
    flex: none;
    vertical-align: middle;
  }
  .esky-site-chrome button {
    font: inherit;
    letter-spacing: normal;
  }
  .esky-site-chrome .esky-store-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    min-height: calc(var(--esky-header-height) + env(safe-area-inset-top));
    padding: calc(15px + env(safe-area-inset-top))
      max(22px, env(safe-area-inset-right)) 15px
      max(22px, env(safe-area-inset-left));
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #fffffff5;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--esky-line);
  }
  .esky-site-chrome .esky-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    background: #faf9f6;
    color: var(--esky-text);
    border: 1px solid var(--esky-line);
    border-radius: 15px;
    cursor: pointer;
    box-shadow: none;
  }
  .esky-site-chrome .esky-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    min-height: 86px;
    align-items: stretch;
    justify-content: space-around;
    padding: 8px max(6px, env(safe-area-inset-left))
      calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--esky-line);
    background: #fffffff5;
    backdrop-filter: blur(16px);
  }
  .esky-site-chrome .esky-bottom-nav > button {
    font-size: 9px;
  }
  .esky-site-chrome .esky-sheet {
    background: #fff;
    color: var(--esky-text);
    border: 1px solid var(--esky-line);
    border-radius: 25px 25px 0 0;
    width: min(620px, 100%);
    max-width: 100%;
    max-height: 85dvh;
    padding: 22px;
    margin: auto auto 0;
    overscroll-behavior: contain;
    font:
      14px/1.6 EskyInter,
      sans-serif;
  }
  .esky-site-chrome .esky-sheet-heading h2 {
    color: var(--esky-text);
    letter-spacing: normal;
  }
  .esky-site-chrome :focus-visible {
    outline: 2px solid var(--esky-gold);
    outline-offset: 4px;
  }
  .esky-site-chrome .esky-site-footer {
    margin-top: 35px;
    padding: 28px max(22px, env(safe-area-inset-left)) 22px;
    border-top: 1px solid var(--esky-line);
    background: linear-gradient(120deg, #faf9f5, #fff);
  }
  .esky-footer-inner {
    max-width: 1290px;
    margin: 0 auto;
  }
  .esky-site-footer p {
    color: var(--esky-muted);
    font:
      12px/1.8 EskyInter,
      sans-serif;
    margin: 0 0 16px;
    letter-spacing: normal;
  }
  .esky-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .esky-footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 10px;
    color: var(--esky-muted);
  }
  body:has(.esky-site-chrome) .esky-store {
    padding-top: 22px;
    padding-bottom: 20px;
    min-height: 0;
  }
  body:has(.esky-site-chrome)
    #sp-component
    :is(
      input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(
          [type="submit"]
        ),
      select,
      textarea
    ) {
    color: var(--esky-text);
    background-color: #fff;
    border-color: var(--esky-line);
    border-radius: 10px;
    min-height: 44px;
    max-width: 100%;
  }
  body:has(.esky-site-chrome)
    #sp-component
    :is(.btn-primary, .hikabtn-primary) {
    background-color: #816329;
    border-color: #816329;
    color: #fff;
    border-radius: 12px;
    min-height: 44px;
  }
  body:has(.esky-site-chrome)
    #hikashop_checkout
    :is(
      input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(
          [type="submit"]
        ),
      select,
      textarea
    ) {
    color: var(--esky-text);
    background-color: #fff;
    border-color: var(--esky-line);
    border-radius: 10px;
    min-height: 44px;
    max-width: 100%;
  }
  body:has(.esky-site-chrome)
    #hikashop_checkout
    :is(.btn-primary, .hikabtn-primary) {
    background-color: #816329;
    border-color: #816329;
    color: #fff;
    border-radius: 12px;
    min-height: 44px;
  }
  body:has(.esky-site-chrome) #hikashop_checkout a,
  body:has(.esky-site-chrome)
    #sp-component
    :is(.com-content-article, .com-users-login, .com-users-registration)
    a {
    color: var(--esky-gold);
  }
  body:has(.esky-site-chrome:is([data-esky-template="esky_checkout"], [data-esky-template="hikashopcheckouttmpl_jmax_esky"]))
    > div.position-fixed {
    display: none !important;
  }
  body:has(.esky-site-chrome:is([data-esky-template="esky_checkout"], [data-esky-template="hikashopcheckouttmpl_jmax_esky"]))
    #hikashop_checkout
    .main__header
    > .logo,
  body:has(.esky-site-chrome:is([data-esky-template="esky_checkout"], [data-esky-template="hikashopcheckouttmpl_jmax_esky"]))
    #hikashop_checkout
    .main__footer {
    display: none !important;
  }
  @media (min-width: 600px) {
    body:has(.esky-site-chrome) {
      --esky-header-height: 85px;
    }
    .esky-site-chrome .esky-store-header {
      padding-left: 36px;
      padding-right: 36px;
      padding-top: calc(19px + env(safe-area-inset-top));
      padding-bottom: 19px;
    }
    .esky-site-chrome .esky-site-footer {
      padding-left: 36px;
      padding-right: 36px;
    }
    .esky-site-chrome .esky-bottom-nav > button {
      font-size: 11px;
    }
  }
}
