/* Public site layout: one content frame, header and footer for all pages. */
body {
  --site-width: 1320px;
  --site-gutter: 72px;
}
/* Full-width Bootstrap wrappers must not add a second horizontal gutter. */
body > .col-md-12 {
  padding-left: 0;
  padding-right: 0;
}
body .container,
body.homepage-redesign .wrap {
  width: calc(100% - var(--site-gutter) - var(--site-gutter));
  max-width: var(--site-width);
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}
body #header,
body #footer {
  --ink: #252722;
  --red: #a52725;
  --line: #dedede;
  --heading: Lato, Arial, sans-serif;
  --sans: Roboto, Arial, sans-serif;
}
body #header *, body #header *::before, body #header *::after,
body #footer *, body #footer *::before, body #footer *::after {
  box-sizing: border-box;
}
/* Reuse the live account/search/menu DOM, with the approved desktop arrangement. */
@media (min-width: 1200px) {
  body #header { padding: 0; border-bottom: 1px solid var(--line); background: #fff; box-shadow: none; }
  body #header > .container,
  body #header.fixedHeader > .container {
    position: relative;
    display: flex;
    height: 186px;
    padding: 0 0 62px;
    margin: 0 auto;
  }
  body #header > .container .logo,
  body #header.fixedHeader > .container .logo { width: 241px; overflow: visible; }
  body #header > .container .logo img,
  body #header.fixedHeader > .container .logo img { display: block; width: 241px; height: 88px; object-fit: contain; }
  body #header > .container .headerRight { position: static; gap: 34px; height: 124px; }
  body #header > .container .headerRight #menus {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 59px;
    height: 61px;
    border-top: 1px solid var(--line);
    font-family: var(--sans);
  }
  body #header > .container .headerRight #menus .mobileLoginButton { display: none; }
  body #header > .container .headerRight #menus .menu { height: 61px; margin: 0; }
  body #header > .container .headerRight #menus .menu .menuLink {
    height: 61px;
    padding: 0;
    background: transparent;
    color: var(--ink);
    font: 700 12px/1.5 var(--sans);
    letter-spacing: 1.4px;
  }
  body #header > .container .headerRight #menus .menu .menuLink:hover { color: var(--red); }
  body #header > .container .headerRight .search { width: 245px; height: 42px; border-bottom: 1px solid var(--line); }
  body #header > .container .headerRight .search .searchButton { display: none; }
  body #header > .container .headerRight .search::after { display: none; }
  body #header > .container .headerRight .search .searchForm {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 100%;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
  }
  body #header > .container .headerRight .search .searchForm .searchInput { padding: 0 30px 0 0; background: transparent; font: 700 14px/1.5 var(--heading); }
  body #header > .container .headerRight .search .searchForm .searchSubmit { right: 0; left: auto; width: 24px; height: 24px; background: transparent; font-size: 20px; }
  body #header > .container .headerRight .userLogin { height: 42px; }
  body #header > .container .headerRight .userLogin .userLoginButton { width: 26px; height: 42px; }
  body #header > .container .headerRight .userLogin .userLoginButton i { color: var(--ink); font-size: 20px; }
  body .headerspace.active { height: 186px; }
}

/* Shared footer markup uses the same layout on every public page. */
body #footer { padding: 0; border-top: 1px solid var(--line); background: #fff; }
body #footer > .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.3fr;
  grid-template-areas: "brand contacts nav" "social contacts nav" "credit credit credit";
  gap: 28px 60px;
  padding: 45px 0 20px;
  margin: 0 auto;
}
body #footer > .container::before { grid-area: brand; display: block; width: 180px; max-width: 100%; height: 68px; background: url("/images/Logo4.svg") left center / contain no-repeat; content: ""; }
body #footer .container .footerContacts { grid-area: contacts; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; margin: 0; }
body #footer .container .footerContacts .footerContact { align-items: flex-start; margin: 0; padding: 0; }
body #footer .container .footerContacts .footerContact i { margin: 3px 10px 0 0; color: #777; font-size: 14px; }
body #footer .container .footerContacts .footerContact p,
body #footer .container .footerContacts .footerContact p a { color: #626262; font: 400 13px/1.8 var(--sans); }
body #footer .container .footerSocial { grid-area: social; justify-content: flex-start; gap: 20px; margin: 0; }
body #footer .container .footerSocial a { width: 20px; height: 24px; margin: 0; border: 0; border-radius: 0; color: var(--ink); font-size: 17px; }
body #footer .container .footerSocial a:hover { background: transparent; color: var(--red); }
body #footer .container .footerNav { grid-area: nav; display: grid; grid-template-columns: .7fr 1.3fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; align-content: start; gap: 19px 25px; margin: 0; }
body #footer .container .footerNav a { display: block; color: var(--ink); font: 700 9px/1.6 var(--sans); letter-spacing: .65px; }
body #footer .container .footerNav a::after { display: none; }
body #footer .container .footerNav a:hover { color: var(--red); }
body #footer .container .vda { grid-area: credit; width: 100%; padding-top: 25px; border-top: 1px solid var(--line); margin: 0; color: #777; text-align: right; }
body #footer .container .vda:hover,
body #footer .container .vda:focus-visible { color: #1ab6de; }

/* The shop header keeps its existing basket and account behavior. */
@media (min-width: 1200px) {
  body #header > .container .headerRight .headerBasket { height: 42px; }
  body #header > .container .headerRight .headerBasket .headerBasketButton { width: 26px; height: 42px; }
  body #header > .container .headerRight .headerBasket .headerBasketButton i { color: var(--ink); font-size: 20px; }
  body #header > .container .headerRight .headerBasket .headerBasketButton span { top: -2px; right: -12px; width: 18px; height: 18px; font-size: 11px; }
  body #header > .container .headerRight .userLogin .userContent,
  body #header > .container .headerRight .userLogin .loginContent {
    max-width: calc(100vw - var(--site-gutter) - var(--site-gutter) - 76px);
  }
}
@media (max-width: 1199px) {
  body #header > .container .logo,
  body #header.fixedHeader > .container .logo {
    position: absolute;
    left: 50%;
    width: 160px;
    overflow: visible;
    transform: translateX(-50%);
  }
  body #header > .container .logo img,
  body #header.fixedHeader > .container .logo img { display: block; width: 160px; height: auto; }
  body #header.fixedHeader > .container .headerRight #menus { top: 80px; height: calc(100vh - 80px); }
  body .headerspace.active { height: 175px; }
}
@media (max-width: 1100px) {
  body { --site-gutter: 36px; }
  body #footer > .container { gap: 28px 30px; }
}
@media (max-width: 700px) {
  body { --site-gutter: 20px; }
  body #footer > .container { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "social" "contacts" "nav" "credit"; gap: 24px; padding-top: 32px; }
  body #footer > .container::before { width: 150px; height: 54px; }
  body #footer .container .footerSocial { gap: 15px; }
  body #footer .container .footerContacts { padding-top: 24px; border-top: 1px solid var(--line); }
  body #footer .container .footerNav { grid-template-columns: 1fr 1.4fr; gap: 19px 20px; }
  body #footer .container .footerNav a { font-size: 8px; }
}

/* A solid cream surface separates the sticky header from the page below. */
body #header.fixedHeader {
  --line: #ded8cc;
  background: #f3f0e9;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 18px rgba(37, 39, 34, .1);
}
body #header.fixedHeader > .container .headerRight .userLogin .userLoginButton,
body #header.fixedHeader > .container .headerRight .headerBasket .headerBasketButton {
  background: transparent;
}

/* Keep the catalog usable as ordinary linked pages when enhancement is unavailable. */
.categoryList [data-catalog-grid] [data-catalog-item] img {
  aspect-ratio: 425 / 600;
  object-fit: contain;
}
.catalog-pagination {
  overflow-anchor: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 56px;
}
.catalog-more,
.catalog-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid #a52725;
  color: #252722;
  background: #fff;
  font: 700 14px/1.5 Roboto, Arial, sans-serif;
  text-align: center;
}
.catalog-more:hover,
.catalog-previous:hover { background: #f3f0e9; }
.catalog-more:focus-visible,
.catalog-previous:focus-visible { outline: 2px solid #a52725; outline-offset: 4px; }
.catalog-more[aria-disabled="true"] { opacity: .6; cursor: wait; }
.catalog-pagination [hidden] { display: none; }
.catalog-status {
  width: 100%;
  margin: 0;
  color: #656565;
  font: 400 14px/1.6 Roboto, Arial, sans-serif;
  text-align: center;
}
