.hero {
  --headerHeight: 100px;
  height: calc(100dvh - var(--headerHeight) - 2rem);
  margin-top: var(--headerHeight);
  width: 100%;
  position: relative;
  margin-bottom: clamp(6rem, 10vw, 190px);
}

.hero::after {
  /* content: ""; */
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-info {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
  left: 50%;
  bottom: 2rem;
  z-index: 2;
  transform: translateX(-50%);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(2px);
  white-space: nowrap;
}

.hero-title {
  font-size: 120px;
  font-weight: 100;
  letter-spacing: 20px;
  z-index: 2;
}
.hero-subtitle {
  font-size: 40px;
  font-weight: 100;
  letter-spacing: 1px;
  z-index: 2;
}

.hero-btn {
  width: fit-content;
  background-color: var(--colorGold);
  color: var(--colorTxt);
  padding: 1rem 4rem;
  cursor: pointer;
  letter-spacing: 4px;
  font-size: 14px;
  text-wrap: nowrap;
  z-index: 2;
  margin: 4rem auto 0;
}

.hero-btn:hover {
  background-color: var(--colorLogo);
  color: #fff;
}

@media screen and (max-width: 1220px) {
  .hero-title {
    font-size: 100px;
  }
  .hero-subtitle {
    font-size: 35px;
  }
}
@media screen and (max-width: 920px) {
  .hero-title {
    font-size: 80px;
  }
  .hero-subtitle {
    font-size: 30px;
  }
  .hero-btn {
    margin-top: 3rem;
  }
}
@media screen and (max-width: 860px) {
  .hero {
    --headerHeight: 80px;
  }
}
@media screen and (max-width: 620px) {
  .hero-title {
    font-size: 45px;
    letter-spacing: 8px;
  }
  .hero-subtitle {
    font-size: 20px;
  }
  .hero-info {
    padding: 1rem;
  }
  .hero-btn {
    margin-top: 2rem;
    padding-inline: 2rem;
    letter-spacing: 2px;
    font-size: 12px;
  }
}
@media screen and (max-width: 520px) {
  .hero-title {
    font-size: 50px;
  }
  .hero-subtitle {
    font-size: 25px;
  }
  .wrapper:has(.hero) {
    padding-inline: 0;
  }
  .hero-info {
    white-space: normal;
    width: calc(100% - 2 * var(--padding));
    left: var(--padding);
    transform: none;
  }
}

@media screen and (max-width: 400px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 20px;
  }
}

/* home-about */

.two-col-box {
  background-color: var(--colorSilver);
  height: 500px;
  align-items: center;
}

.two-col-box > div {
}
.two-col-box .box-info {
  flex: 0 0 40%;
  text-align: center;
  padding-inline: 2rem;
}
.two-col-box .box-image {
  flex: 0 0 60%;
  height: 100%;
}

.two-col-box.reverse .box-image {
  order: -1;
}

.two-col-box .info--title {
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.two-col-box .info--text {
  margin-bottom: 1rem;
}

.info--btn {
  margin: 4rem auto 0;
  background-color: var(--colorGold);
  padding: 0.5rem 2rem;
  width: fit-content;
  margin-inline: auto;
  letter-spacing: 3px;
}

.info--btn:hover {
  background-color: var(--colorLogo);
  color: #fff;
}

@media screen and (max-width: 980px) {
  .two-col-box .box-info {
    flex: 0 0 45%;
  }
  .two-col-box .box-image {
    flex: 0 0 55%;
  }
}
@media screen and (max-width: 760px) {
  .two-col-box .box-info,
  .two-col-box .box-image {
    flex: 0 0 50%;
  }
}

@media screen and (max-width: 620px) {
  .two-col-box {
    flex-direction: column;
    height: auto;
  }
  .two-col-box.reverse .box-image {
    order: 2;
  }
  .two-col-box .box-info {
    height: 200px;
    padding-block: clamp(3rem, 10vw, 80px);
  }
  .two-col-box .box-image {
    height: 400px;
  }
}

/* home collections */

@media screen and (max-width: 620px) {
  .home-collections .grid {
    --gridGap: 2rem !important;
  }
}

/* home products */

.home-products .card.product {
  position: relative;
}

/* home social */

.home-social .grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.home-social .grid > div {
  aspect-ratio: 1;
}

@media screen and (max-width: 820px) {
  .home-social .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* category */

.category-wrapper {
  margin-top: 100px;
}
.category-wrapper .difference {
  padding: 1rem 4rem 8rem;
}
.category-wrapper .section-header {
  margin-top: 7rem;
}
.category-wrapper .section-header h2 {
  text-transform: uppercase;
}
.category-inner {
  max-width: 1200px;
  margin: 4rem auto 0;
}

.category-inner .grid {
  gap: 8rem var(--gridGap);
}

.category-inner .card-wrapper {
  position: relative;
  overflow: hidden;
}

ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 6rem;
  font-size: 14px;
}

span.page-numbers.current {
  color: var(--colorGold);
  font-weight: 600;
}
/* product */

.product-wrapper {
  margin-top: 100px;
}

.product-wrapper .difference {
  padding: 4rem;
}

.product_title.mobile-only-title {
  display: none;
}

.product-upsales,
.product-inner,
.product-more {
  max-width: 1400px;
  margin-inline: auto;
}

.product-images {
  flex: 0 0 50%;
  position: relative;
  min-width: 0;
}

.product-images .main-image {
  aspect-ratio: 1;
}
.product-images .flex-control-thumbs,
.product-images .image-thumbs {
  margin-top: 2px;
  gap: 2px;
  flex-wrap: wrap;
  flex-direction: row;
  display: flex;
}

.product-images .flex-viewport {
  height: auto;
  aspect-ratio: 1;
  width: 100%;
}

.product-images .img-thumb {
  width: 100px;
  aspect-ratio: 1;
}

.woocommerce-product-gallery__wrapper > div {
  height: auto;
  aspect-ratio: 1;
}
.woocommerce-product-gallery__wrapper > div a {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  display: block;
}
.woocommerce-product-gallery__wrapper > div a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

a.woocommerce-product-gallery__trigger {
  position: absolute;
  z-index: 2;
  background-color: var(--colorGold);
  padding: 0.5rem;
  right: 0;
}
.product-info {
  padding-left: clamp(2rem, 6vw, 100px);
  text-align: center;
  flex: 0 0 50%;
}

.product-title {
  font-size: 24px;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 24px;
}

.product-price {
  margin-bottom: 40px;
  justify-content: center;
  gap: 12px;
  font-size: 22px;
}

.product-price ins,
.product-price del {
  text-decoration: none;
  position: relative;
}
.product-price del::before {
  content: "";
  width: 100%;
  border-top: 1px solid var(--colorGold);
  position: absolute;
  left: 0;
  top: 50%;
}

.product-price:has(del) ins {
  color: var(--colorGold);
}

.product-price .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}
.product-description {
  padding-inline: 2rem;
  margin-bottom: 2rem;
  font-size: 14px;
  line-height: 20px;
}

.product-availability {
  margin-bottom: 2rem;
  font-size: 14px;
}

.product-buy-btn {
  margin-block: 2rem;
  font-size: 14px;
}
.product-buy-btn button {
  text-transform: uppercase;
}

.product-details {
  padding-top: 2rem;
  border-top: 1px solid #000;
}
.product-details h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 2rem;
}
.product-details ul {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 4ch;
  padding-inline: 2rem;
  text-align: left;
  font-size: 12px;
  max-width: 400px;
  margin-inline: auto;
}

.product-detail {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
}

.product-info .quantity {
  display: none;
}

.product_meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

span.sku_wrapper {
  font-weight: 500;
}

.product_meta .posted_in a {
  border-bottom: 1px solid var(--colorGold);
  display: inline-block;
}

.product-wishlist-button {
  position: absolute;
  right: 0;
  bottom: -50px;
  opacity: 0;
  z-index: 5;
  transition: all 0.3s;
}
.product.card:hover .product-wishlist-button {
  bottom: 0;
  opacity: 1;
}
.product-wishlist-button span {
  display: none;
}
.product-wishlist-button svg {
  width: 24px !important;
}

.yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single.yith-add-to-wishlist-button-block--initialized {
  width: fit-content;
  margin: 0 auto 2rem;
}

span.yith-wcwl-add-to-wishlist-button__label {
  font-size: 12px;
}

a.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor.yith-wcwl-add-to-wishlist-button--added {
  filter: var(--filterGold);
}

.product-logo {
  width: fit-content;
  margin: 4rem auto 0;
  padding: 2rem;
  background-color: #fff;
}

.product-info .size-guide-link {
  display: block;
  width: fit-content;
  margin: 4rem auto 2rem;
  text-decoration: underline;
  font-weight: 600;
}

.product-info details {
  text-align: left;
}
.product-info details summary {
  padding: 0.5rem 1rem;
  background-color: #d7d7d7;
  position: relative;
  cursor: pointer;
}
.product-info details p {
  padding: 1rem;
}

.product-info summary::marker {
  content: "";
}
.product-info summary::before,
.product-info summary::after {
  content: "";
  width: 0.75rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  border-top: 1px solid #000;
  transition: all 0.3s;
}

.product-info summary::before {
  transform: rotate(90deg);
}
.product-info details[open] summary::before {
  transform: rotate(0);
}

@media screen and (max-width: 1180px) {
  .product-wrapper .difference,
  .category-wrapper .difference {
    padding-inline: 2rem;
  }
  .category-inner .grid {
    gap: 4rem 4px;
  }
}
@media screen and (max-width: 920px) {
  .product-info {
    padding-left: 2rem;
  }
  .product-wrapper .difference,
  .category-wrapper .difference {
    padding-inline: 1rem;
  }
  .category-wrapper .section-header {
    margin-top: 4rem;
  }
}
@media screen and (max-width: 720px) {
  .product_title.mobile-only-title {
    display: block;
    text-align: center;
    font-size: 24px;
  }
  .product-inner {
    flex-direction: column;
    gap: 3rem;
  }
  .product-title {
    display: none;
  }
  .product-info {
    padding-left: 0;
    margin-top: 1rem;
  }
}
@media screen and (max-width: 520px) {
  .category-wrapper .difference {
    padding-inline: 0.5rem;
  }
  .category-wrapper .section-header {
    margin-top: 2rem;
  }
  .category-inner .grid {
    gap: 2rem;
  }
  .product-description {
    padding-inline: 0;
  }
}
/* relted products */

.product-upsales,
.product-more {
  margin-block: 8rem;
}

.product-upsales .up-sells > h2,
.product-more h3 {
  font-size: 22px;
  font-weight: 600;
  padding-block: 4rem;
  text-align: center;
}

.product-upsales ul,
.product-more ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.product-upsales .card--image img,
.product-more .card--image img {
  width: 100%;
}

.product-wrapper .woocommerce-tabs {
  display: none;
}

.product-upsales ul li,
.product-more ul li {
  position: relative;
  overflow: hidden;
}

.product .onsale {
  position: absolute;
  background-color: var(--colorSilver);
  color: #2b2b2b;
  padding: 0.5rem 1.5rem;
  transform: rotate(-45deg);
  font-size: 12px;
  text-transform: uppercase;
  top: 13px;
  left: -29px;
  z-index: 2;
}
@media screen and (max-width: 1120px) {
  .product-upsales ul,
  .product-more ul {
    gap: 2rem;
  }
}

@media screen and (max-width: 920px) {
  .product .onsale {
    padding: 0.25rem 0.5rem;
    transform: rotate(0);
    left: 0;
    top: 16px;
  }
  .product-upsales ul,
  .product-more ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media screen and (max-width: 720px) {
  .product-upsales ul,
  .product-more ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 520px) {
  .product-upsales ul,
  .product-more ul {
    display: flex;
    flex-direction: column;
  }
}

/* cart */

.cart-page-template {
  margin-top: 100px;
}

.cart-inner {
  max-width: 1600px;
  margin-inline: auto;
  padding: 6rem 2rem;
}

.wc-block-cart .wc-block-cart__submit-container {
  background-color: #2b2b2b;
  color: var(--colorSilver);
  font-weight: 500;
}

@media screen and (max-width: 720px) {
  .cart-inner {
    padding-inline: 1rem;
  }
  .cart-inner td.wc-block-cart-item__image {
    padding-right: 0 !important;
  }
}

@media screen and (max-width: 520px) {
  .cart-inner {
    padding-inline: 0.5rem;
  }
  .wp-block-woocommerce-checkout-order-summary-block,
  .wp-block-woocommerce-cart-order-summary-block {
    padding-inline: 1rem !important;
  }
  .is-medium table.wc-block-cart-items .wc-block-cart-items__row,
  .is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
  .is-small table.wc-block-cart-items .wc-block-cart-items__row {
    grid-template-columns: 60px 1fr !important;
  }
  .wc-block-components-totals-footer-item
    .wc-block-components-totals-item__label,
  .wc-block-components-totals-footer-item
    .wc-block-components-totals-item__value {
    font-size: 18px !important;
  }
}

/* checkout */
.checkout-page-template {
  margin-top: 100px;
}

.checkout-inner {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 4rem 2rem;
}

.wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-cart-order-summary-block {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  font-size: 14px;
}

.wp-block-woocommerce-checkout-order-summary-block {
  padding: 1rem;
}

button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained {
  background-color: #000;
  color: #fff;
}

a.wc-block-components-checkout-return-to-cart-button {
  font-size: 12px;
}

.wc-block-components-product-metadata {
  display: none;
}

td.wc-block-cart-item__product {
  font-size: 14px;
}

@media screen and (max-width: 980px) {
  .checkout-inner {
    padding-left: 2rem;
  }
}
@media screen and (max-width: 520px) {
  .checkout-inner {
    padding-left: 1rem;
  }
}

/* wishlist */

.page-inner {
  max-width: 1600px;
  margin-inline: auto;
  padding: 4rem 2rem 2rem;
}

.page-inner article {
  max-width: 900px;
  margin-inline: auto;
}
.page-inner article h2 {
  text-align: center;
  margin-bottom: 2em;
}

.page-inner article .entry-content > * {
  margin-bottom: 1em;
}

.wishlist-title-container {
  width: 100%;
}
.wishlist-title-container .wishlist-title {
  display: block;
  width: 100%;
}
.wishlist-title-container .wishlist-title h2 {
  font-size: 24px;
  margin-bottom: 4rem;
  text-align: center;
  display: block;
  text-transform: uppercase;
}

.wishlist_table th {
  font-size: 14px;
  font-weight: 600;
}
.wishlist_table td {
  font-size: 14px;
}
.wishlist_table td.product-add-to-cart a {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 2rem;
}
td.product-add-to-cart span {
  font-size: 12px;
  margin-bottom: 4px;
  display: inline-block;
}

.yith_wcwl_wishlist_footer .yith-wcwl-share {
  float: unset !important;
  margin-top: 3rem;
}

/* contact page */

.contact-page .entry-content p {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}

.contact-page form {
  margin-block: 6rem;
}

.contact-form-footer {
  gap: 1rem;
}

form.fluent_form_3 .ff-btn-submit:not(.ff_btn_no_style) {
  background-color: var(--colorGold);
  color: #000;
  padding-inline: 1rem;
}

@media screen and (max-width: 620px) {
  .contact-page .page-inner {
    padding-inline: 1rem;
  }
}

@media screen and (max-width: 420px) {
  .contact-page .page-inner {
    padding-inline: 0.5rem;
  }
}

/* collections */

.collection-description {
  max-width: 600px;
  margin: 4rem auto 0;
  background-color: #fff;
  padding: 2rem;
}

/* order */

.woocommerce-order {
  padding-block: 4rem;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
  margin-bottom: 2rem;
}

h2.woocommerce-order-details__title,
h2.woocommerce-column__title {
  margin-bottom: 1rem;
}
