* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-body-family: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif;
  --font-heading-family: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif;
  --headings-color: #000000;
  --body-color: #000000;
  --button-bg: #ffffff;
  --button-color: #000000;
  --submenu-bg: #ffffff;
  --submenu-color: #000000;
  --header-menu-color: #000000;
  --header-menu-mobile-color: #000000;
  --header-menu-mobile-bg: #ffffff;
}

html,
body {
  min-height: 100vh;
}

body {
  font-family: var(--font-body-family);
  color: var(--body-color);
  background: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.4;
}

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

p,
span,
input,
textarea,
li,
small,
label {
  font-family: var(--font-body-family);
  color: var(--body-color);
}

h1,
h2,
h3,
h4,
h5,
.menu-item,
.product-list__product-name,
.header-cart,
.option-value,
.product-info__cart-btn,
.cart__total,
.cart__submit-btn,
.cart__item-remove-link,
#CartCount,
.pages > *,
.number_pages > *,
.custom-button,
.footer-nav,
.qty-btn,
.qty-input {
  font-family: var(--font-heading-family);
  color: var(--headings-color);
}

input,
textarea,
button {
  border-radius: 0;
  -webkit-appearance: none;
}

.page-width {
  padding: 0 25px;
  max-width: 100%;
}

#MainContent {
  min-height: 74vh;
}

.button {
  color: var(--button-color);
  background: var(--button-bg);
  border: 1px solid #000000;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.button:hover {
  opacity: 0.8;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-wrapper > * {
  flex: 1;
  text-align: center;
}

.header-spacer {
  flex: 1;
}

.header-menu,
.header-cart {
  flex-grow: 1;
}

.header-menu {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  z-index: 100;
}

.header-menu .menu-item,
.header-cart {
  text-transform: uppercase;
  font-size: 16px;
}

.header-menu .menu-item:not(:last-child) {
  margin-right: 15px;
}

.menu-item {
  position: relative;
}

.menu-item > a,
.header-cart,
.header-cart a,
.header-logo-text {
  color: var(--header-menu-color);
}

.submenu {
  display: none;
  position: absolute;
  left: 0;
  margin-top: 10px;
  min-width: 150px;
  background: var(--submenu-bg);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.submenu a {
  color: var(--submenu-color);
  text-align: center;
  display: block;
  padding: 10px;
}

.menu-item.has-children > .menu-link::after {
  content: ' +';
}

.menu-item.has-children.active > .menu-link::after {
  content: ' -';
}

.logo-wrapper {
  flex: 0 1 auto;
  padding: 20px 10px;
  margin: 0 auto;
}

.logo-wrapper img {
  width: 180px;
  max-width: 100%;
}

.header-logo-text {
  font-size: 34px;
  letter-spacing: 4px;
}

.header-cart {
  text-align: right;
  white-space: nowrap;
}

.burger-menu {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 997;
}

.burger-menu svg {
  width: 45px;
  height: 41px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 40px;
  margin-bottom: 65px;
}

.product-list__product-block {
  width: 33.3%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.product-list__img-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-list__product-img {
  width: 95%;
  height: auto;
  margin-bottom: 20px;
  opacity: 0;
}

.loaded .product-list__product-img {
  opacity: 1;
  transition: opacity 0.2s;
}

.loader {
  border: 2px solid #e5e5e5;
  border-top: 2px solid #000000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  animation: spin 2s linear infinite;
}

.loaded .loader {
  display: none;
}

.product-list__product-name {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  max-width: 75%;
  margin: auto;
  padding-bottom: 5px;
}

.product-list__product-price {
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}

.featured-collection {
  margin-top: 0;
  margin-bottom: 0;
}

.f-collection-title {
  padding-bottom: 15px;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 1.8rem 1.8rem;
}

.custom-button {
  padding: 13px;
  font-size: 16px;
}

.collection-title {
  text-align: center;
  padding: 10px 0;
  display: none;
}

.pages {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 18px;
}

.number_pages {
  display: inline-flex;
  gap: 10px;
}

.number_pages a,
.number_pages strong {
  min-width: 18px;
  text-align: center;
}

.number_pages strong {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.span_left {
  margin-right: 5px;
}

.span_right {
  margin-left: 5px;
}

.product-info {
  display: flex;
  flex: 1;
  margin: 30px 0;
}

.product-info__pc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30%;
}

.product-info__title {
  margin: 0 auto;
  letter-spacing: 0;
  line-height: 1.5;
  font-size: 30px;
}

.product-info__title-top {
  display: block;
  text-align: center;
  max-width: 75%;
  margin: 0 auto;
  padding-bottom: 10px;
}

.product-info__description-pc {
  max-width: 80%;
  text-align: justify;
  margin: 0 auto;
  line-height: 1.4;
  font-size: 12px;
}

.product-info__description-pc p,
.product-info__description-pc span {
  padding: 5px 0;
}

.product-info__description-pc img,
.product-info__description-mobile img {
  max-width: 100%;
  height: auto;
}

.figureImg {
  width: 40%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.product__item-img {
  min-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  padding: 1px;
  cursor: pointer;
}

.product-info__main {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  padding-top: 0;
}

.product-info__parent {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-info__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
}

.product-info__description-mobile {
  text-align: justify;
  margin: 0 auto;
  font-weight: 300;
  display: none;
  line-height: 1.6;
  font-size: 13px;
}

.product-info__description-mobile p:not(:last-child) {
  margin-bottom: 1rem;
}

.product-options h3 {
  margin-bottom: 10px;
}

.option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.option-value {
  padding: 5px 10px;
  background: none;
  cursor: pointer;
  border: 1px solid transparent;
  opacity: 1;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}

.option-value.active {
  border: 1px solid;
}

.option-value.disabled {
  text-decoration: line-through;
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid #000000;
  background: #ffffff;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: #ffffff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.qty-btn[data-action='decrease'] {
  border-right: 1px solid #000000;
}

.qty-btn[data-action='increase'] {
  border-left: 1px solid #000000;
}

.qty-input {
  width: 56px;
  height: 38px;
  border: 0;
  background: #ffffff;
  text-align: center;
  font-size: 15px;
  padding: 0;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input[type='number'] {
  -moz-appearance: textfield;
}

.quantity-controls--compact .qty-btn {
  width: 30px;
  height: 30px;
  font-size: 17px;
}

.quantity-controls--compact .qty-input {
  width: 42px;
  height: 30px;
  font-size: 13px;
}

.product-quantity-controls {
  margin-bottom: 10px;
}

.product-info__cart-btn {
  display: block;
  padding: 13px;
  margin-bottom: 31px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  width: 80%;
  min-width: fit-content;
  margin-top: 5px;
  box-shadow: none;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.product-info__cart-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.related-products {
  margin-top: 12rem;
  margin-bottom: 6rem;
}

.related-name {
  padding-bottom: 2rem;
}

.related-products__list {
  display: flex;
  overflow-x: auto;
  align-items: flex-start;
  -webkit-overflow-scrolling: touch;
  margin: 0 -15px;
}

.related-products .product-list__product-block {
  flex: 0 0 auto;
  width: 50%;
  padding: 10px;
}

.cart {
  flex: 1;
  padding: 0 20px;
}

.cart__form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 5rem;
}

.cart__item {
  width: 90%;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.cart__item-img {
  width: 15%;
  height: auto;
}

.cart__item-heading {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 55%;
  padding: 0 10px 0 20px;
}

.cart__item-title {
  width: 100%;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.2;
}

.cart__item-remove-link {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.cart__item-final-price,
.cart__item-quantity {
  width: 12%;
  font-size: 14px;
  line-height: 1.2;
}

.cart__item-final-price {
  text-align: right;
}

.cart__item-quantity {
  width: 16%;
  display: flex;
  justify-content: flex-end;
}

.checkout-elements {
  width: 100%;
  display: flex;
  flex-direction: column;
  bottom: 0;
  left: 0;
  padding: 1.5rem 0 3rem;
}

.cart__total {
  text-align: center;
  margin-bottom: 1.3rem;
  font-size: 18px;
  text-transform: uppercase;
}

.cart__submit-btn {
  margin: auto;
  padding: 13px;
  font-size: 16px;
  text-transform: uppercase;
  border: 1px solid #000000;
  border-radius: 0;
  background: #000000;
  color: #ffffff;
}

.cart__else-title {
  font-size: 14px;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72vh;
}

.contact-form-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact_form input,
#contact_form textarea {
  padding: 10px;
  font-size: 15px;
  margin-bottom: 15px;
  width: 350px;
  max-width: 100%;
  border: 1px solid;
  border-radius: 0;
  text-transform: uppercase;
}

#contact-button input {
  text-transform: uppercase;
  padding: 13px;
  border-style: hidden;
}

#contactFormMessageContainer {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
}

.checkout-page {
  max-width: 760px;
  margin: 1.5rem auto 3rem;
}

.checkout-summary {
  border: 1px solid #000000;
  padding: 14px;
  margin-bottom: 1rem;
}

.checkout-summary-title {
  margin-bottom: 10px;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
}

.checkout-summary-item + .checkout-summary-item {
  margin-top: 10px;
}

.checkout-summary-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid #000000;
}

.checkout-summary-meta {
  font-size: 13px;
  line-height: 1.2;
}

.checkout-summary-qty {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-summary-qty-label {
  font-size: 11px;
  opacity: 0.75;
}

.checkout-summary-total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #000000;
  text-align: right;
}

.checkout-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #000000;
  font-size: 15px;
  text-transform: uppercase;
  background: #ffffff;
  color: #000000;
}

.checkout-help {
  font-size: 11px;
  opacity: 0.75;
  margin-top: -4px;
}

.checkout-submit {
  margin-top: 8px;
  padding: 13px;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  text-transform: uppercase;
}

.checkout-embed-wrap {
  margin-top: 16px;
  border: 1px solid #000000;
  padding: 14px;
}

.checkout-embed {
  width: 100%;
  min-height: 420px;
}

.main-page-content {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5rem;
}

.main-page img {
  max-width: 100%;
}

#collections-listing h1 {
  text-align: center;
  margin: 2rem 0 3rem;
}

#collections-listing ul li {
  list-style: none;
  text-align: center;
  margin: 25px 0;
  font-size: 25px;
}

.main-404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  text-align: center;
}

.shop-all-button-404 {
  margin-top: 2rem;
  padding: 13px;
  border: none;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0.6rem 0 0.5rem;
}

.footer-nav a {
  font-size: 15px;
}

.footer-nav a:not(:last-child) {
  margin-right: 0.7rem;
}

.copyright {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 9px 0;
}

.copyright__content {
  margin: 3px 0;
}

.fade-in {
  animation: fade-in 0.3s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (min-width: 750px) {
  .related-products .product-list__product-block {
    width: 25%;
  }

  .submenu a {
    color: var(--submenu-color);
  }
}

@media screen and (max-width: 1024px) {
  .product-list__product-name {
    font-size: 14px;
  }

  .product-list__product-price {
    font-size: 14px;
  }
}

@media screen and (max-width: 850px) {
  .product-list__product-block {
    width: 50%;
  }

  .product-list__product-img {
    width: 100%;
  }
}

@media screen and (max-width: 749px) {
  .page-width {
    padding: 0 15px;
  }

  .burger-menu {
    display: block;
    margin-right: 20px;
  }

  .header-wrapper > * {
    flex: 0 1 auto;
  }

  .header-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--header-menu-mobile-bg);
  }

  .header-menu.active {
    display: flex;
  }

  .header-menu .menu-item {
    margin-right: 0;
    margin-bottom: 1.7rem;
    font-size: 25px;
    text-align: center;
  }

  .menu-item > a {
    color: var(--header-menu-mobile-color);
  }

  .submenu {
    position: static;
    margin-top: 8px;
    background: transparent;
    box-shadow: none;
    min-width: 0;
  }

  .submenu a {
    color: var(--header-menu-mobile-color);
    font-size: 18px;
    text-align: center;
  }

  .logo-wrapper img {
    width: 150px;
  }

  .product-list {
    margin-bottom: 25px;
  }

  .product-list__product-block {
    width: 50%;
  }

  .product-list__product-name {
    font-size: 14px;
  }

  .product-list__product-price {
    font-size: 14px;
    line-height: 2;
  }

  .product-info {
    display: block;
    margin-bottom: 50px;
  }

  .product-info__pc,
  .product-info__main,
  .figureImg {
    width: 100%;
  }

  .product-info__pc {
    padding-top: 2rem;
  }

  .figureImg {
    padding-bottom: 2rem;
  }

  .product-info__form {
    width: 100%;
    margin-bottom: 2rem;
  }

  .product-info__title-top {
    padding-bottom: 2rem;
  }

  .product-info__description-pc {
    display: none;
  }

  .product-info__description-mobile {
    display: block;
    margin-top: 3rem;
  }

  .product-info__cart-btn {
    margin-top: 1rem;
    width: 100%;
    max-width: 360px;
    padding: 10px 40px;
  }

  .cart__item {
    display: block;
    width: 100%;
    margin-bottom: 30px;
  }

  .cart__item-img {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 30px;
  }

  .cart__item-heading {
    display: block;
    width: 100%;
    padding: 0;
  }

  .cart__item-title {
    margin-bottom: 30px;
    font-size: 20px;
    text-align: center;
  }

  .cart__item-remove-link {
    display: block;
    margin-bottom: 30px;
    text-align: center;
  }

  .cart__item-final-price,
  .cart__item-quantity {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 18px;
    text-align: center;
  }

  .checkout-elements {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 1.5rem 0 3rem;
    background: rgba(169, 167, 167, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  #contact_form input,
  #contact_form textarea {
    width: 280px;
    margin-bottom: 10px;
    padding: 7px 10px;
  }

  .checkout-row {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 500px) {
  .logo-wrapper img {
    width: 150px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }

  .footer-nav a {
    font-size: 16px;
  }

  .footer-nav a:not(:last-child) {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}
