:root {
  --maku-leaf: #404a20;
  --maku-leaf-dark: #1f2616;
  --maku-paper: #fffdf7;
  --maku-cream: #f7f3e8;
  --maku-gold: #d6a64a;
  --maku-berry: #5c2638;
  --maku-ink: #182016;
  --maku-muted: #68705f;
  --maku-line: rgba(31, 38, 22, .14);
}

body {
  color: var(--maku-ink);
  background: var(--maku-paper);
  font-family: "Open Sans", Arial, sans-serif;
}

#top {
  min-height: 46px;
  background: var(--maku-leaf-dark);
  border: 0;
}

#top .container,
header .container,
#menu {
  max-width: 1280px;
  width: calc(100% - 40px);
}

#top .btn-link,
#top-links li,
#top-links a,
#top .dropdown-menu a {
  color: #fffaf0;
  text-shadow: none;
}

#top .dropdown-menu {
  background: var(--maku-leaf-dark);
}

header {
  padding: 16px 0;
  background: var(--maku-paper);
  border-bottom: 1px solid var(--maku-line);
}

header .row {
  display: flex;
  align-items: center;
}

#logo img {
  width: 118px;
  max-height: none;
}

#search .form-control {
  height: 52px;
  border-color: var(--maku-line);
  box-shadow: none;
}

#search .btn-lg {
  height: 52px;
  padding: 10px 28px;
  color: var(--maku-leaf);
}

#cart > .btn {
  height: 52px;
  background: var(--maku-leaf);
  border-color: var(--maku-leaf);
  border-radius: 6px;
  color: #fffaf0;
  text-shadow: none;
}

#menu {
  margin: 0 auto;
  min-height: 58px;
  background: var(--maku-leaf);
  border: 0;
  border-radius: 0;
}

#menu .nav > li > a {
  min-height: 58px;
  padding: 19px 26px;
  color: #fffaf0;
  font-weight: 800;
  text-shadow: none;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a {
  background: var(--maku-berry);
}

.breadcrumb {
  margin-top: 24px;
  background: transparent;
}

.maku-shop-home {
  padding-bottom: 56px;
}

.maku-shop-hero {
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  gap: 34px;
  align-items: center;
  max-width: 1280px;
  margin: 26px auto 0;
  padding: 34px;
  background: linear-gradient(120deg, var(--maku-cream), #fff);
  border: 1px solid var(--maku-line);
  border-radius: 8px;
}

.maku-shop-hero__media {
  overflow: hidden;
  border-radius: 8px;
  background: #ece8de;
}

.maku-shop-hero__media img {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
}

.maku-shop-hero h1 {
  margin: 0 0 16px;
  color: var(--maku-leaf-dark);
  font-size: 40px;
  line-height: 1.04;
  font-weight: 900;
}

.maku-shop-hero p {
  color: var(--maku-muted);
  font-size: 17px;
}

.maku-eyebrow {
  margin-bottom: 10px;
  color: var(--maku-berry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.maku-shop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.maku-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
}

.maku-button--primary {
  background: var(--maku-leaf);
  color: #fffaf0;
}

.maku-button--primary:hover,
.maku-button--primary:focus {
  background: var(--maku-berry);
  color: #fffaf0;
}

.maku-button--light {
  background: #fff;
  border-color: var(--maku-line);
  color: var(--maku-leaf);
}

.maku-shop-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 0 0;
}

.maku-shop-section--warm {
  max-width: none;
  margin-top: 52px;
  padding: 54px calc((100% - 1280px) / 2) 58px;
  background: var(--maku-cream);
}

.maku-section-head {
  margin-bottom: 24px;
}

.maku-section-head h2,
.maku-shop-note h2 {
  margin: 0;
  color: var(--maku-leaf-dark);
  font-size: 30px;
  font-weight: 900;
}

.maku-category-grid,
.maku-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.maku-category-card,
.maku-product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--maku-line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(24, 32, 22, .08);
}

.maku-category-card {
  position: relative;
  min-height: 250px;
}

.maku-category-card img,
.maku-product-card img {
  width: 100%;
  object-fit: cover;
}

.maku-category-card img {
  height: 250px;
}

.maku-category-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  background: rgba(31, 38, 22, .88);
  border-radius: 6px;
  color: #fffaf0;
  font-weight: 900;
}

.maku-product-card {
  display: flex;
  flex-direction: column;
}

.maku-product-card img {
  height: 220px;
  background: #eee8dc;
}

.maku-product-card > div {
  padding: 20px;
}

.maku-product-card h3 {
  min-height: 48px;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.maku-product-card h3 a {
  color: var(--maku-leaf-dark);
}

.maku-product-card p {
  margin-bottom: 0;
  color: var(--maku-muted);
}

.maku-shop-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1280px;
  margin: 52px auto 0;
  padding: 28px;
  background: var(--maku-leaf-dark);
  border-radius: 8px;
  color: #fffaf0;
}

.maku-shop-note h2 {
  color: #fffaf0;
}

.maku-shop-note p:not(.maku-eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, .76);
}

.product-thumb {
  border-radius: 8px;
  border-color: var(--maku-line);
  box-shadow: 0 8px 24px rgba(24, 32, 22, .08);
}

.product-thumb h4 a {
  color: var(--maku-leaf-dark);
  font-weight: 900;
}

.product-thumb .button-group button:hover {
  background: var(--maku-leaf);
  color: #fffaf0;
}

.maku-shield-field {
  margin-top: 18px;
}

.maku-slide-captcha {
  max-width: 440px;
}

.maku-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.maku-slide-track {
  position: relative;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--maku-line);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--maku-cream));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 24px rgba(24, 32, 22, .08);
  user-select: none;
  touch-action: none;
}

.maku-slide-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--maku-gold), #ead29a);
  transition: width 160ms ease;
}

.maku-slide-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--maku-leaf);
  color: #fffaf0;
  box-shadow: 0 8px 18px rgba(31, 38, 22, .22);
  cursor: grab;
  transition: background 160ms ease, box-shadow 160ms ease;
}

.maku-slide-thumb:active {
  cursor: grabbing;
}

.maku-slide-label {
  position: absolute;
  inset: 0 18px 0 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maku-leaf-dark);
  font-weight: 900;
  pointer-events: none;
}

.maku-slide-help {
  margin: 8px 0 0;
  color: var(--maku-muted);
  font-size: 13px;
}

.maku-slide-captcha.is-complete .maku-slide-thumb {
  background: var(--maku-berry);
  box-shadow: 0 8px 18px rgba(92, 38, 56, .22);
}

.maku-slide-captcha.is-error .maku-slide-track {
  border-color: var(--maku-berry);
  box-shadow: 0 0 0 3px rgba(92, 38, 56, .12);
}

footer {
  background: var(--maku-leaf-dark);
  color: #fffaf0;
}

footer a,
footer h5 {
  color: #fffaf0;
}

@media (max-width: 1320px) {
  .maku-shop-hero,
  .maku-shop-section,
  .maku-shop-note {
    width: calc(100% - 40px);
  }

  .maku-shop-section--warm {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  header .row {
    display: block;
  }

  #logo {
    margin-bottom: 12px;
  }

  #logo img {
    width: 92px;
  }

  .maku-shop-hero,
  .maku-category-grid,
  .maku-product-grid {
    grid-template-columns: 1fr;
  }

  .maku-shop-hero {
    padding: 22px;
  }

  .maku-shop-hero h1 {
    font-size: 30px;
  }

  .maku-shop-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  header {
    padding: 12px 0;
  }

  #top .container,
  header .container,
  #menu,
  .maku-shop-hero,
  .maku-shop-section,
  .maku-shop-note {
    width: calc(100% - 24px);
  }

  .maku-shop-hero {
    margin-top: 14px;
    padding: 16px;
  }

  .maku-shop-hero__media img,
  .maku-category-card img,
  .maku-product-card img {
    min-height: 0;
    height: 190px;
  }

  #search,
  #cart {
    margin-bottom: 10px;
  }

  #search .form-control,
  #search .btn-lg,
  #cart > .btn {
    height: 44px;
  }

  #menu,
  #menu .nav > li > a {
    min-height: 48px;
  }

  #menu .nav > li > a {
    padding: 14px 18px;
  }

  .maku-shop-section {
    padding-top: 40px;
  }

  .maku-section-head h2,
  .maku-shop-note h2 {
    font-size: 24px;
  }

  .maku-shop-note {
    margin-top: 40px;
    padding: 20px;
  }
}
