/*
Theme Name: Stepflora Shoes
Template: shoes-store
Version: 1.0.0
Text Domain: stepflora-shoes
*/

:root {
  --sf-ink: #151515;
  --sf-muted: #66645f;
  --sf-paper: #ffffff;
  --sf-soft: #f3f2ef;
  --sf-line: #dedcd6;
  --sf-red: #c92e2e;
  --sf-mint: #d8f0e5;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--sf-ink);
  background: var(--sf-paper);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body,
p,
a,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

.container {
  max-width: 1240px;
}

.topbar {
  background: var(--sf-ink) !important;
}

.main-header .topbar .topbar-text {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center !important;
}

.menu-header {
  border-bottom: 1px solid var(--sf-line);
  background: rgba(255, 255, 255, 0.98);
}

.site-title a {
  color: var(--sf-ink) !important;
  font-size: 25px;
  font-weight: 800;
}

.main-navigation a {
  color: var(--sf-ink);
  font-size: 14px;
  font-weight: 650;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--sf-red);
}

.topbar-icons a,
.topbar-icons i {
  color: var(--sf-ink);
}

.category-box {
  border-bottom: 1px solid var(--sf-line);
}

.page-template-custom-home-page #content-vw > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.sf-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sf-hero__inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.sf-hero__content {
  max-width: 560px;
}

.sf-eyebrow {
  margin: 0 0 16px;
  color: var(--sf-red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.sf-hero h1 {
  max-width: 540px;
  margin: 0;
  color: var(--sf-ink);
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
}

.sf-hero__copy {
  max-width: 470px;
  margin: 22px 0 30px;
  color: #3c3b38;
  font-size: 18px;
  line-height: 1.65;
}

.sf-button,
.sf-button:visited {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--sf-ink);
  border-radius: 4px;
  color: #fff;
  background: var(--sf-ink);
  font-weight: 750;
  text-decoration: none;
}

.sf-button:hover {
  border-color: var(--sf-red);
  color: #fff;
  background: var(--sf-red);
}

.sf-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px max(24px, calc((100% - 1240px) / 2));
  border-top: 1px solid var(--sf-line);
  border-bottom: 1px solid var(--sf-line);
  background: var(--sf-paper);
}

.sf-strip__item {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-right: 1px solid var(--sf-line);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.sf-strip__item:last-child {
  border-right: 0;
}

.sf-section {
  padding: 88px max(24px, calc((100% - 1240px) / 2));
}

.sf-section--soft {
  background: var(--sf-soft);
}

.sf-section--dark {
  color: #fff;
  background: var(--sf-ink);
}

.sf-section__head {
  max-width: 700px;
  margin-bottom: 40px;
}

.sf-section__head h2,
.sf-story h2 {
  margin: 0 0 14px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
}

.sf-section__head p,
.sf-story p {
  margin: 0;
  color: var(--sf-muted);
  font-size: 16px;
  line-height: 1.7;
}

.sf-section--dark .sf-story p {
  color: #d5d3cd;
}

.sf-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sf-collection {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--sf-line);
  border-radius: 4px;
  color: var(--sf-ink);
  background: #fff;
  text-decoration: none;
}

.sf-collection:nth-child(2) {
  background: var(--sf-mint);
}

.sf-collection:nth-child(3) {
  color: #fff;
  background: #373b42;
}

.sf-collection strong {
  display: block;
  margin-bottom: 8px;
  font-size: 27px;
}

.sf-collection span {
  font-size: 14px;
}

.sf-products .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 18px;
}

.sf-products .woocommerce ul.products::before,
.sf-products .woocommerce ul.products::after {
  display: none;
}

.sf-products .woocommerce ul.products li.product {
  width: auto;
  margin: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  text-align: left;
}

.woocommerce ul.products li.product img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--sf-soft);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px;
  line-height: 1.45;
}

.woocommerce ul.products li.product .price {
  color: var(--sf-ink);
  font-weight: 750;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 4px;
  color: #fff;
  background: var(--sf-ink);
}

.sf-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.sf-story__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #4d4d4d;
}

.sf-story__fact {
  padding: 28px 12px 22px 0;
  border-bottom: 1px solid #4d4d4d;
}

.sf-story__fact strong {
  display: block;
  font-size: 22px;
}

.sf-story__fact span {
  color: #bdbbb5;
  font-size: 13px;
}

.sf-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.sf-page h1 {
  font-size: 48px;
}

.sf-page h2 {
  margin-top: 42px;
  font-size: 28px;
}

.sf-page p,
.sf-page li {
  color: #4c4a46;
  font-size: 16px;
  line-height: 1.75;
}

.footer-section {
  background: #202020;
}

.footer-section,
.footer-section a,
.footer-section p,
.footer-section li {
  color: #d7d5cf;
}

.footer-section .widget-title {
  color: #fff;
}

.footer {
  color: #c8c6c0;
  background: #151515;
}

.footer a {
  color: #fff;
}

@media (max-width: 991px) {
  .sf-hero {
    min-height: 590px;
    background-position: 62% center;
  }

  .sf-hero__content {
    max-width: 460px;
  }

  .sf-hero h1 {
    font-size: 48px;
  }

  .sf-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-strip__item:nth-child(2) {
    border-right: 0;
  }

  .sf-products .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .menu-header .row {
    row-gap: 14px;
  }

  .menu-header .logo-img-sec {
    order: -1;
    width: 55%;
  }

  .topbar-icons {
    width: 45%;
  }

  .sf-hero {
    min-height: 650px;
    align-items: flex-start;
    padding-top: 52px;
    background-position: 70% center;
  }

  .sf-hero__inner {
    width: calc(100% - 32px);
  }

  .sf-hero__content {
    max-width: 330px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.88);
  }

  .sf-hero h1 {
    font-size: 39px;
  }

  .sf-hero__copy {
    font-size: 16px;
  }

  .sf-strip,
  .sf-collection-grid,
  .sf-story {
    grid-template-columns: 1fr;
  }

  .sf-strip__item {
    border-right: 0;
    border-bottom: 1px solid var(--sf-line);
  }

  .sf-strip__item:last-child {
    border-bottom: 0;
  }

  .sf-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .sf-section__head h2,
  .sf-story h2 {
    font-size: 32px;
  }

  .sf-story {
    gap: 40px;
  }
}
