:root {
  --el-bg: #f7f4ef;
  --el-bg-soft: #efe7dc;
  --el-bg-card: #ffffff;
  --el-text: #2d241f;
  --el-muted: #7b6858;
  --el-border: rgba(60,45,35,.14);
  --el-brown: #3a2a22;
  --el-leather: #a67c52;
  --el-white: #ffffff;

  --el-font-title: Georgia, "Times New Roman", serif;
  --el-font-ui: Arial, Helvetica, sans-serif;

  --el-header-h: 74px;
  --el-max: 1180px;

	--el-shadow: 0 8px 30px rgba(0,0,0,.08);
	--el-radius: 0px;
	--el-transition: .25s ease;


}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--el-bg);
  color: var(--el-text);
  font-family: var(--el-font-title);
}

body.el-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* HEADER */

.el-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--el-header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
  background: rgba(247,244,239,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--el-border);
}

.el-logo img {
  height: 46px;
}

.el-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--el-font-ui);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.el-nav a {
  opacity: .82;
  transition: opacity .2s ease;
}

.el-nav a:hover {
  opacity: 1;
}

.el-cart-link {
  border: 1px solid var(--el-text);
  padding: 9px 14px;
}

/* HAMBURGER */

.el-menu-toggle {
  display: none;
  width: 34px;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.el-menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--el-text);
  margin: 7px 0;
  transition: .25s ease;
}

/* HERO */

.el-hero {
  height: 100vh;
  min-height: 620px;
  position: relative;
  overflow: hidden;
}

.el-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.el-slide.active {
  opacity: 1;
}

.el-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.el-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.24);
}

.el-hero-text {
  position: absolute;
  left: 7%;
  bottom: 14%;
  z-index: 3;
  color: var(--el-white);
  max-width: 560px;
}

.el-hero-text h1 {
  font-size: 58px;
  font-weight: 400;
  margin: 0 0 12px;
}

.el-hero-text p {
  font-family: var(--el-font-ui);
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 28px;
}

/* DOTS */

.el-dots {
  position: absolute;
  right: 46px;
  bottom: 34px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.el-dot {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.el-dot.active {
  background: var(--el-white);
}

/* LAYOUT */

.el-container {
  max-width: var(--el-max);
  margin: 0 auto;
  padding: 0 46px;
}

.el-section {
  padding: 76px 0;
}

.el-section-title {
  text-align: center;
  margin-bottom: 46px;
}

.el-section-title small {
  font-family: var(--el-font-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--el-muted);
}

.el-section-title h1,
.el-section-title h2 {
  font-size: 34px;
  font-weight: 400;
  margin: 10px 0 0;
}

/* BUTTONS */

.el-btn {
  display: inline-block;
  padding: 14px 26px;
  border: 1px solid var(--el-text);
  background: transparent;
  color: var(--el-text);
  font-family: var(--el-font-ui);
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .25s ease;
}

.el-btn:hover {
  background: var(--el-text);
  color: var(--el-white);
}

.el-btn-light {
  border-color: var(--el-white);
  color: var(--el-white);
}

.el-btn-light:hover {
  background: var(--el-white);
  color: var(--el-text);
}

/* GRIDS */

.el-grid-2,
.el-grid-3,
.el-grid-4 {
  display: grid;
  gap: 26px;
}

.el-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.el-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.el-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* CARDS */

.el-product-card {
  display: block;
}

.el-product-img {
  aspect-ratio: 3 / 4;
  background: var(--el-bg-soft);
  overflow: hidden;
}

.el-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease;
}

.el-product-card:hover .el-product-img img {
  transform: scale(1.035);
}

.el-product-info {
  padding: 16px 0 0;
}

.el-product-info h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 8px;
}

.el-product-info p {
  font-family: var(--el-font-ui);
  font-size: 13px;
  margin: 0;
  color: var(--el-muted);
}

/* CATEGORY CARD */

.el-category-card {
  position: relative;
  display: block;
  height: 360px;
  overflow: hidden;
  background: var(--el-bg-soft);
}

.el-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s ease;
}

.el-category-card:hover img {
  transform: scale(1.04);
}

.el-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.08),
    rgba(0,0,0,.34)
  );
}

.el-category-card span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  color: var(--el-white);
  font-family: var(--el-font-ui);
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

/* FOOTER */

.el-footer {
  padding: 42px 46px;
  border-top: 1px solid var(--el-border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--el-font-ui);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--el-muted);
}

/* MOBILE */

@media (max-width: 760px) {
  :root {
    --el-header-h: 68px;
  }

  .el-header {
    padding: 0 20px;
  }

  .el-logo img {
    height: 40px;
  }

  .el-menu-toggle {
    display: block;
    z-index: 120;
  }

  .el-nav {
    position: fixed;
    top: var(--el-header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--el-header-h));
    background: var(--el-bg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-top: 1px solid var(--el-border);
  }

  .el-nav.open {
    transform: translateX(0);
  }

  .el-nav a {
    width: 100%;
    padding: 18px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--el-border);
  }

  .el-cart-link {
    border: 0;
    padding: 18px 0 !important;
  }

  .el-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .el-menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .el-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .el-hero {
    min-height: 620px;
  }

  .el-hero-text {
    left: 24px;
    right: 24px;
    bottom: 105px;
  }

  .el-hero-text h1 {
    font-size: 42px;
  }

  .el-hero-text p {
    font-size: 12px;
  }

  .el-dots {
    right: 24px;
    bottom: 32px;
  }

  .el-container {
    padding: 0 20px;
  }

  .el-section {
    padding: 58px 0;
  }

  .el-section-title {
    margin-bottom: 34px;
  }

  .el-section-title h1,
  .el-section-title h2 {
    font-size: 28px;
  }

  .el-grid-2,
  .el-grid-3,
  .el-grid-4 {
    grid-template-columns: 1fr;
  }

  .el-category-card {
    height: 300px;
  }

  .el-footer {
    padding: 32px 20px;
    flex-direction: column;
  }
}