/*
Theme Name: Wordpress-Shopify Child
Theme URI: http://localhost:8080
Description: Child theme para editar em codigo as paginas e a loja WooCommerce do benchmark.
Author: GitHub Copilot
Template: storefront
Version: 1.0.0
*/

:root {
  --ws-sand: #f5efe4;
  --ws-forest: #20362b;
  --ws-olive: #6f7f58;
  --ws-ink: #1c1b19;
  --ws-line: rgba(32, 54, 43, 0.12);
}

body {
  color: var(--ws-ink);
}

.ws-page-hero,
.ws-shop-hero {
  margin: 0 0 2.5rem;
  padding: 3rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(32, 54, 43, 0.94), rgba(111, 127, 88, 0.88)),
    var(--ws-forest);
  color: #fff;
}

.ws-page-hero h1,
.ws-shop-hero h1 {
  margin-bottom: 0.75rem;
  color: inherit;
}

.ws-page-shell {
  display: grid;
  gap: 2rem;
}

.ws-page-card {
  padding: 2rem;
  border: 1px solid var(--ws-line);
  border-radius: 1.25rem;
  background: #fff;
}

.ws-shop-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ws-shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ws-shop-hero__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.ws-shop-hero__actions .is-primary {
  background: #fff;
  color: var(--ws-forest);
}

.ws-shop-hero__actions .is-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.ws-product-page {
  padding: 2rem 0 4rem;
}

.ws-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 657px);
  gap: 3rem;
  align-items: start;
}

.ws-product-summary {
  display: grid;
  gap: 1.5rem;
}

.ws-product-hero-copy {
  display: grid;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--ws-line);
}

.ws-product-brand {
  color: var(--ws-olive);
  font-family: "Rubik", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ws-product-page .product_title {
  margin: 0;
  color: var(--ws-ink);
  font-family: "Rubik", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
}

.ws-product-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  color: var(--ws-ink);
}

.ws-product-meta-line .star-rating {
  margin: 0;
}

.ws-product-rating-text,
.ws-product-review-count {
  font-size: 1rem;
}

.ws-product-price {
  font-family: "Lato", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.ws-product-short-description {
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--ws-line);
  border-bottom: 1px solid var(--ws-line);
  font-size: 1.125rem;
  line-height: 1.6;
}

.ws-product-section {
  display: grid;
  gap: 0.75rem;
}

.ws-product-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ws-product-section__label,
.ws-product-size-guide,
.ws-size-action {
  font-family: "Lato", sans-serif;
  font-size: 1.1rem;
}

.ws-product-size-guide {
  color: var(--ws-olive);
  text-decoration: underline;
}

.ws-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ws-color-swatch {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72);
}

.ws-color-swatch.is-active {
  outline: 2px solid var(--ws-ink);
  outline-offset: 2px;
}

.ws-size-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  background: #f6f6f6;
}

.ws-size-display {
  font-family: "Lato", sans-serif;
  font-size: 1.125rem;
}

.ws-product-buybox {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.ws-quantity-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0 1rem;
  border-radius: 0.75rem;
  background: #f6f6f6;
  font-family: "Lato", sans-serif;
  font-size: 1.125rem;
}

.ws-quantity-button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.ws-buy-button-wrap .single_add_to_cart_button,
.ws-buy-button-wrap .button.alt {
  width: 100%;
  min-height: 3rem;
  border-radius: 0.75rem;
  background: var(--ws-ink);
  font-family: "Lato", sans-serif;
  font-size: 1rem;
}

.ws-buy-button-wrap form.cart {
  margin: 0;
}

.ws-buy-button-wrap .quantity {
  display: none;
}

.ws-product-gallery {
  display: grid;
  gap: 0.2rem;
}

.ws-product-gallery__main {
  min-height: 590px;
  overflow: hidden;
  background: #fff;
}

.ws-product-gallery__image {
  display: block;
  width: 100%;
  height: 590px;
  object-fit: cover;
}

.ws-product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.ws-product-gallery__tile {
  min-height: 329px;
  overflow: hidden;
  background: #fff;
}

.ws-product-gallery__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-product-gallery__tile--placeholder {
  background: linear-gradient(135deg, #fafafa, #ffffff);
}

.ws-product-detail-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 4rem 0;
  background: #fff;
}

.ws-panel {
  padding: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.35);
}

.ws-panel--highlight {
  background: linear-gradient(135deg, rgba(32, 54, 43, 0.94), rgba(111, 127, 88, 0.88));
  color: #fff;
}

.ws-panel__eyebrow {
  color: var(--ws-olive);
  font-family: "Rubik", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ws-panel h2,
.ws-panel h3 {
  margin: 0.75rem 0 1rem;
  font-family: "Rubik", sans-serif;
  line-height: 1.2;
}

.ws-panel__content {
  display: grid;
  gap: 0.75rem;
  font-family: "Lato", sans-serif;
  line-height: 1.6;
}

.ws-panel__content p {
  margin: 0;
}

.ws-product-reviews {
  margin-top: 0;
  padding: 5rem 0;
  background: #fff;
}

.ws-site-footer {
  margin-top: 4rem;
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ws-site-footer__inner {
  display: grid;
  grid-template-columns: 180px minmax(340px, 1fr) 220px 220px;
  grid-template-areas: "brand social support legal";
  gap: 2.5rem;
  align-items: start;
}

.ws-site-footer__brand,
.ws-site-footer__social,
.ws-site-footer__nav {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.ws-site-footer__brand {
  grid-area: brand;
}

.ws-site-footer__social {
  grid-area: social;
  max-width: 452px;
}

.ws-site-footer__nav:first-of-type {
  grid-area: support;
}

.ws-site-footer__nav:last-of-type {
  grid-area: legal;
}

.ws-site-footer__logo {
  width: 60px;
  height: 48px;
  background: #000;
}

.ws-site-footer__brand p,
.ws-site-footer__label,
.ws-site-footer__nav ul,
.ws-site-footer__nav a,
.ws-site-footer__nav span {
  margin: 0;
  color: #7f7f7f;
  font-size: 16px;
  line-height: 1.5;
}

.ws-site-footer__kicker,
.ws-site-footer__nav h2 {
  margin: 0;
  color: #1b1b1b;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.ws-site-footer__newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ws-site-footer__newsletter input {
  width: 100%;
  min-width: 140px;
  border: 0;
  background: transparent;
  color: #1b1b1b;
  font-size: 13px;
}

.ws-site-footer__newsletter button {
  min-height: 44px;
  min-width: 122px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #1b1b1b;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.ws-site-footer__icons {
  display: flex;
  gap: 0.75rem;
}

.ws-site-footer__icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  background: #1b1b1b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ws-site-footer__icons a:nth-child(2) {
  background: linear-gradient(135deg, #9810fa 0%, #f6339a 50%, #ff8904 100%);
}

.ws-site-footer__icons a:nth-child(3) {
  background: #1877f2;
}

.ws-site-footer__nav ul {
  display: grid;
  gap: 0.4rem;
  padding: 0;
  list-style: none;
}

.ws-site-footer__nav a {
  text-decoration: none;
}

@media (max-width: 1200px) {
  .ws-site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand social"
      "support legal";
  }
}

.ws-product-reviews__header,
.ws-related-products__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ws-product-reviews__header h2,
.ws-related-products__header h2,
.ws-related-products__header p {
  margin: 0;
}

.ws-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ws-review-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: #fff;
}

.ws-review-card__top,
.ws-review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ws-review-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(82, 156, 107, 0.1);
  color: var(--ws-olive);
  font-size: 0.85rem;
  font-weight: 700;
}

.ws-review-card p {
  margin: 0;
  font-family: "Lato", sans-serif;
  line-height: 1.6;
}

.ws-review-card__meta {
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
  color: #7f7f7f;
  font-size: 0.95rem;
}

.ws-related-products {
  padding: 5rem 0 2rem;
}

.ws-related-products__header a {
  padding: 0.75rem 1rem;
  border: 2px solid var(--ws-ink);
  border-radius: 0.75rem;
  color: var(--ws-ink);
  text-decoration: none;
}

.ws-related-products .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

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

@media (max-width: 768px) {
  .ws-page-hero,
  .ws-shop-hero {
    padding: 2rem 1.25rem;
    border-radius: 1rem;
  }

  .ws-page-card {
    padding: 1.25rem;
  }

  .ws-product-layout,
  .ws-product-detail-panels,
  .ws-review-grid,
  .ws-related-products .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .ws-product-buybox {
    grid-template-columns: 1fr;
  }

  .ws-product-gallery__image {
    height: auto;
  }

  .ws-site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "social"
      "support"
      "legal";
  }

  .ws-site-footer__newsletter {
    grid-template-columns: 1fr;
    border-radius: 1rem;
  }
}