/*
Theme Name: Slate WP
Theme URI: http://192.74.254.64/
Author: Codex
Description: Responsive WordPress theme based on the current Slate Shopify storefront.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: slate-wp
*/

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.header__action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.header__action-link:hover,
.header__action-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header__action-link svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

@media screen and (max-width: 749px) {
  .header__actions {
    gap: 12px;
  }

  .header__account span {
    display: none;
  }
}

@media screen and (max-width: 749px) {
  body.template-index .site-header__inner {
    min-height: 68px;
  }

  body.template-index .header__logo {
    width: 76px;
  }

  body.template-index .header__actions {
    gap: 8px;
  }

  body.template-index .hero {
    min-height: min(720px, calc(100svh - 45px));
    height: calc(100svh - 45px);
    max-height: 720px;
  }

  body.template-index .hero__media picture,
  body.template-index .hero__media img {
    width: 100%;
    height: 100%;
  }

  body.template-index .hero__media img {
    object-position: center center;
  }

  body.template-index .hero__content {
    align-self: end;
    justify-items: start;
    width: 100%;
    max-width: none;
    padding: 72px 20px calc(30px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.97) 100%);
    text-align: left;
  }

  body.template-index .hero__title {
    max-width: 10ch;
    margin-bottom: 8px;
    font-size: clamp(34px, 9.2vw, 42px);
    line-height: 1;
  }

  body.template-index .hero__subtitle {
    max-width: 34ch;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.3;
  }

  body.template-index .hero__button {
    width: 100%;
    max-width: 320px;
  }

  body.template-index .product-showcase__track,
  body.template-index .proof-strip__track,
  body.template-index .testimonials__track {
    scroll-padding-inline: 20px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.template-index .product-showcase__track {
    grid-auto-columns: min(86vw, 340px);
    gap: 12px;
    padding-inline: 20px;
    scroll-snap-type: x mandatory;
  }

  body.template-index .product-card {
    overflow: hidden;
    border-radius: 8px;
  }

  body.template-index .product-card__title {
    padding: 17px 16px 10px;
    text-align: left;
    font-size: 20px;
    line-height: 1.15;
  }

  body.template-index .product-card__action {
    padding: 0 16px 20px;
  }

  body.template-index .product-card__action .button {
    width: 100%;
  }

  body.template-index .proof-strip {
    padding: 30px 0 18px;
  }

  body.template-index .proof-strip__track {
    grid-auto-columns: 140px;
    gap: 8px;
    padding-inline: 20px;
    scroll-snap-type: x mandatory;
  }

  body.template-index .proof-strip__item {
    scroll-snap-align: start;
  }

  body.template-index .proof-strip__image {
    width: 112px;
  }

  body.template-index .proof-strip__title {
    max-width: 14ch;
    font-size: 12px;
  }

  body.template-index .image-text {
    padding-block: 62px;
  }

  body.template-index .image-text__inner {
    gap: 30px;
    padding-inline: 20px;
  }

  body.template-index .image-text__media img {
    border-radius: 8px;
  }

  body.template-index .image-text__overline {
    margin-bottom: 10px;
    font-size: 13px;
  }

  body.template-index .image-text__title {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.05;
  }

  body.template-index .image-text__body {
    font-size: 17px;
    line-height: 1.55;
  }

  body.template-index .testimonials.section-pad {
    padding-block: 64px;
  }

  body.template-index .testimonials__header {
    align-items: center;
    margin-bottom: 20px;
    padding-inline: 20px;
  }

  body.template-index .testimonials__track {
    grid-auto-columns: min(86vw, 340px);
    gap: 14px;
    padding-inline: 20px;
  }

  body.template-index .testimonial__image {
    border-radius: 8px;
  }

  body.template-index .testimonial__name {
    margin-top: 16px;
    font-size: 19px;
  }

  body.template-index .testimonial__quote {
    margin-top: 12px;
    font-size: 15px;
  }

  body.template-index .site-footer__utilities {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 18px 0 calc(24px + env(safe-area-inset-bottom));
  }

  body.template-index .site-footer__copyright {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.template-index .site-footer__policies {
    justify-self: start;
  }
}

.woocommerce .woocommerce-breadcrumb {
  margin-bottom: 24px;
  font-family: var(--plex-font);
  font-size: 13px;
}

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

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

.woocommerce ul.products li.product {
  width: 100%;
  margin: 0;
  text-align: left;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  margin-bottom: 14px;
  background: var(--powder);
  aspect-ratio: 1;
  object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
}

.woocommerce ul.products li.product .price {
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--plex-font);
  font-size: 15px;
}

.woocommerce ul.products li.product .button {
  margin-top: 14px;
}

.single-product .site-main {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 70px var(--page-gutter) 110px;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 64px;
  margin: 0;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  width: 100%;
  float: none;
  margin: 0;
}

.woocommerce div.product div.images img {
  background: var(--powder);
}

.woocommerce div.product .product_title {
  margin-bottom: 18px;
  font-family: var(--heading-font);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
}

.woocommerce div.product p.price {
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 24px;
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 28px;
}

.woocommerce div.product form.cart div.quantity {
  float: none;
  margin: 0;
}

.woocommerce div.product form.cart .button {
  min-height: 49px;
  border-radius: 8px;
  background: var(--charcoal);
  font-family: var(--heading-font);
  text-transform: uppercase;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  border-top-color: var(--charcoal);
}

@media screen and (max-width: 989px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media screen and (max-width: 749px) {
  .woocommerce ul.products {
    gap: 24px 12px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 17px;
  }

  .woocommerce div.product form.cart {
    align-items: stretch;
    flex-direction: column;
  }
}
