/*
Theme Name: LINEAL
Theme URI: https://linealapparel.com/
Author: LINEAL Apparel
Description: A bespoke monochrome launch theme for LINEAL Apparel, LINEAL Strength, and LINEAL Running.
Version: 1.0.3
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: lineal
*/

:root {
  --ink: #0a0a0a;
  --paper: #f3f2ef;
  --white: #ffffff;
  --mist: #d8d8d5;
  --muted: #777773;
  --line: rgba(10, 10, 10, 0.16);
  --lime: #d8ff38;
  --content: min(1280px, calc(100vw - 48px));
  --serif: "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 16px;
  background: var(--white);
}

.site-announcement {
  position: relative;
  z-index: 100;
  padding: 8px 24px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  background: rgba(243, 242, 239, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease;
}

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

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner {
  width: var(--content);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.site-brand {
  width: 174px;
}

.site-brand img {
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a,
.header-action {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after,
.primary-nav .is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action-wrap {
  display: flex;
  justify-content: flex-end;
}

.header-action {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.header-action:hover {
  background: var(--ink);
  color: var(--white);
}

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

.menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 180ms ease;
}

.page-shell {
  min-height: 70vh;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.display-title {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 8.4vw, 132px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.display-title em {
  font-weight: 400;
}

.lede {
  max-width: 560px;
  margin: 0;
  color: #2f2f2c;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.35;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--outline {
  background: transparent;
  color: var(--ink);
}

.button--light {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.48);
  background: transparent;
  color: var(--white);
}

.hero {
  width: var(--content);
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: 48px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .lede {
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 620px;
  overflow: hidden;
  background: #d7d7d5;
}

.hero-visual > img {
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "01 / STRENGTH";
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip__inner {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-item span {
  color: var(--muted);
  font-size: 14px;
}

.collection-section {
  width: var(--content);
  margin: 0 auto;
  padding: 120px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.product-card {
  grid-column: span 4;
}

.product-card:nth-child(1) {
  grid-column: span 7;
}

.product-card:nth-child(2) {
  grid-column: span 5;
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d6d6d4;
}

.product-card:nth-child(1) .product-card__image,
.product-card:nth-child(2) .product-card__image {
  aspect-ratio: 5 / 5.5;
}

.product-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.65,.3,1);
}

.product-card:hover .product-card__image img {
  transform: scale(1.025);
}

.product-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 2px 28px;
}

.product-card__meta h3,
.product-card__meta p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card__meta p {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.brand-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.brand-panel {
  position: relative;
  min-height: 640px;
  padding: clamp(38px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.brand-panel--strength {
  background: var(--ink);
  color: var(--white);
}

.brand-panel--running {
  background: #dbdbd7;
}

.brand-panel__logo {
  max-width: 380px;
}

.brand-panel--strength .brand-panel__logo {
  filter: invert(1);
}

.brand-panel__number {
  position: absolute;
  top: 34px;
  right: 34px;
  font-family: var(--serif);
  font-size: 22px;
}

.brand-panel__copy {
  max-width: 510px;
}

.brand-panel__copy h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(52px, 5vw, 84px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.brand-panel__copy p {
  max-width: 430px;
  margin: 0 0 28px;
  color: inherit;
  font-size: 16px;
}

.statement {
  padding: 140px 24px;
  text-align: center;
}

.statement p {
  max-width: 1050px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 112px);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.statement small {
  display: block;
  margin-top: 30px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  min-height: 72vh;
  padding: 92px max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.page-hero--image {
  min-height: 82vh;
}

.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.38) 48%, rgba(0, 0, 0, 0.08) 100%);
}

.page-hero__image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.page-hero__lockup {
  width: min(440px, 76vw);
  margin-bottom: 46px;
  filter: invert(1);
}

.page-hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(68px, 10vw, 150px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.page-hero p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.7vw, 23px);
}

.editorial-grid {
  width: var(--content);
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.editorial-grid__intro {
  grid-column: 1 / 6;
  padding-right: 50px;
}

.editorial-grid__intro h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.editorial-grid__intro p {
  max-width: 430px;
  color: #42423e;
  font-size: 18px;
}

.editorial-grid__image {
  overflow: hidden;
  background: #d6d6d4;
}

.editorial-grid__image img {
  height: 100%;
  object-fit: cover;
}

.editorial-grid__image--a {
  grid-column: 6 / 13;
  min-height: 760px;
}

.editorial-grid__image--b {
  grid-column: 1 / 7;
  min-height: 720px;
  margin-top: 80px;
}

.editorial-grid__image--c {
  grid-column: 7 / 13;
  min-height: 720px;
  margin-top: 210px;
}

.running-hero {
  min-height: calc(100vh - 112px);
  padding: 80px max(24px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
  background: #e4e4e0;
}

.running-hero__graphic {
  position: relative;
  aspect-ratio: 1 / 1.14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}

.running-hero__graphic::before,
.running-hero__graphic::after {
  content: "";
  position: absolute;
  width: 180%;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-42deg);
}

.running-hero__graphic::after {
  transform: rotate(-42deg) translateY(120px);
}

.running-hero__graphic img {
  position: relative;
  z-index: 1;
  width: 66%;
  filter: invert(1);
}

.running-hero h1,
.about-hero h1 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-size: clamp(68px, 9vw, 140px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.running-hero p {
  max-width: 520px;
  color: #42423e;
  font-size: 20px;
}

.status-pill {
  display: inline-flex;
  margin-top: 30px;
  padding: 9px 12px;
  border: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-hero {
  width: var(--content);
  margin: 0 auto;
  padding: 120px 0 90px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: end;
}

.about-hero__mark {
  width: min(320px, 70%);
  justify-self: end;
}

.about-story {
  background: var(--ink);
  color: var(--white);
}

.about-story__inner {
  width: var(--content);
  margin: 0 auto;
  padding: 120px 0;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.about-story__inner h2 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-story__inner p {
  margin: 0 0 38px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 66px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-story__inner p:last-child {
  margin-bottom: 0;
}

.content-page {
  width: min(850px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 100px 0 140px;
}

.content-page h1 {
  margin: 0 0 60px;
  font-family: var(--serif);
  font-size: clamp(62px, 9vw, 118px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

.entry-content {
  font-size: 18px;
}

.entry-content > * + * {
  margin-top: 1.3em;
}

.entry-content a {
  border-bottom: 1px solid currentColor;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  width: var(--content);
  margin: 0 auto;
  padding: 92px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  padding-bottom: 86px;
}

.footer-wordmark {
  width: min(440px, 80%);
  margin-bottom: 30px;
  filter: invert(1);
}

.footer-tagline {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: start;
}

.footer-nav h2 {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root {
    --content: min(100% - 32px, 760px);
  }

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

  .header-inner {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }

  .site-brand {
    width: 146px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 101px 0 auto;
    padding: 42px 24px 56px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .admin-bar .primary-nav {
    inset-block-start: 147px;
  }

  .menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .primary-nav a {
    font-size: 22px;
  }

  .header-action-wrap {
    display: none;
  }

  .hero {
    min-height: 0;
    padding: 64px 0;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .proof-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .proof-item:nth-child(3) {
    padding-left: 0;
  }

  .collection-section {
    padding: 88px 0;
  }

  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2) {
    grid-column: span 6;
  }

  .product-card:last-child {
    grid-column: 4 / 10;
  }

  .brand-split {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 550px;
  }

  .editorial-grid__intro {
    grid-column: 1 / 13;
    padding: 0 0 50px;
  }

  .editorial-grid__image--a {
    grid-column: 1 / 13;
    min-height: 700px;
  }

  .editorial-grid__image--b,
  .editorial-grid__image--c {
    min-height: 540px;
    margin-top: 0;
  }

  .running-hero {
    min-height: 0;
    padding: 70px 24px;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .running-hero__graphic {
    max-width: 650px;
    order: 2;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero__mark {
    justify-self: start;
  }

  .about-story__inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 640px) {
  :root {
    --content: calc(100vw - 28px);
  }

  .site-announcement {
    padding: 7px 12px;
    font-size: 9px;
  }

  .admin-bar .site-header {
    top: 0;
  }

  .admin-bar .primary-nav {
    inset-block-start: 98px;
  }

  .hero {
    gap: 48px;
  }

  .display-title {
    font-size: clamp(54px, 18vw, 82px);
  }

  .proof-strip__inner {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:nth-child(3) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid {
    display: block;
  }

  .product-card__image,
  .product-card:nth-child(1) .product-card__image,
  .product-card:nth-child(2) .product-card__image {
    aspect-ratio: 4 / 5;
  }

  .brand-panel {
    min-height: 500px;
    padding: 34px 24px;
  }

  .brand-panel__number {
    top: 20px;
    right: 20px;
  }

  .statement {
    padding: 96px 20px;
  }

  .page-hero,
  .page-hero--image {
    min-height: 76vh;
    padding: 66px 20px;
  }

  .editorial-grid {
    padding: 84px 0;
  }

  .editorial-grid__image--a,
  .editorial-grid__image--b,
  .editorial-grid__image--c {
    grid-column: 1 / 13;
    min-height: 0;
    aspect-ratio: 4 / 5;
    margin-top: 0;
  }

  .footer-inner {
    padding-top: 70px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-bottom: 60px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* WooCommerce storefront */
.woocommerce .site-main,
.woocommerce-page .site-main {
    width: var(--content);
    max-width: none;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 96px) 0;
}

.woocommerce .woocommerce-breadcrumb {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--ink);
}

.woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

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

.woocommerce div.product .product_title {
    margin: 0 0 20px;
    font-family: var(--sans);
    font-size: clamp(32px, 4vw, 64px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
}

.woocommerce div.product form.cart .variations {
    margin: 32px 0;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
    display: block;
    padding: 0 0 12px;
}

.woocommerce div.product form.cart .variations label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.woocommerce div.product form.cart .variations select,
.woocommerce .quantity .qty {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    padding: 0 14px;
}

.woocommerce div.product form.cart .button,
.woocommerce a.button,
.woocommerce button.button {
    min-height: 48px;
    border-radius: 0;
    background: var(--ink);
    color: var(--white);
    padding: 14px 22px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--lime);
    color: var(--ink);
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
    grid-column: 1 / -1;
    margin-top: 48px;
}

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

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

.woocommerce ul.products li.product {
    float: none;
    width: auto;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    letter-spacing: 0.02em;
}

@media (max-width: 860px) {
    .woocommerce div.product {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .woocommerce .site-main,
    .woocommerce-page .site-main {
        width: calc(100vw - 32px);
        padding: 40px 0;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}


/* Product details and front-to-back product card hover. */
.single-product .product_meta {
    display: none;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
    position: relative;
    display: block;
}

.woocommerce ul.products li.product .lineal-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: auto;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .woocommerce ul.products li.product:hover .lineal-hover-image {
        opacity: 1;
    }
}


/* LINEAL pricing and shop sorting controls. */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 18px;
}

.woocommerce ul.products li.product .price {
    display: block;
    margin-top: 6px;
    font-size: 13px;
}

.woocommerce .woocommerce-ordering {
    margin: 0 0 32px;
}

.woocommerce .woocommerce-ordering select {
    min-width: 220px;
    height: 48px;
    padding: 0 44px 0 16px;
    border: 1px solid var(--ink);
    border-radius: 0;
    appearance: none;
    background-color: transparent;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
    background-repeat: no-repeat;
    background-size: 5px 5px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
}

.woocommerce .woocommerce-ordering select:focus {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}


/* LINEAL Women campaign */
.women-campaign {
	width: var(--content);
	margin: 0 auto;
	padding: clamp(72px, 9vw, 132px) 0;
}
.women-campaign__head {
	margin-bottom: 32px;
}
.women-campaign__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}
.women-campaign-card {
	display: block;
	color: var(--white);
}
.women-campaign-card figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--ink);
}
.women-campaign-card img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 500ms ease;
}
.women-campaign-card:hover img {
	transform: scale(1.025);
}
.women-campaign-card figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 32px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}
.women-campaign-card span {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.women-campaign-card strong {
	display: block;
	margin-top: 8px;
	font-size: clamp(22px, 3vw, 40px);
	line-height: 1;
}
.lineal-shop-categories {
	display: flex;
	gap: 8px;
	clear: both;
	margin: 24px 0 36px;
}
.lineal-shop-categories a {
	border: 1px solid var(--ink);
	padding: 12px 18px;
	color: var(--ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.lineal-shop-categories a:hover {
	background: var(--ink);
	color: var(--white);
}
@media (max-width: 760px) {
	.women-campaign__grid {
		grid-template-columns: 1fr;
	}
	.women-campaign-card figcaption {
		padding: 24px;
	}
}


/* Centre WooCommerce product-grid action buttons beneath their images. */
.woocommerce ul.products li.product .button {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}


/* Centre product names and prices within WooCommerce product cards. */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
	text-align: center;
}


/* Product image contrast */
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.woocommerce div.product div.images .flex-control-thumbs li{background:#d2d1cc}


/* Keep WooCommerce product galleries stable across mixed image proportions. */
.woocommerce div.product div.images .woocommerce-product-gallery__image{aspect-ratio:600/703;display:flex!important;align-items:center;justify-content:center;overflow:hidden}
.woocommerce div.product div.images .woocommerce-product-gallery__image>a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg){width:100%!important;height:100%!important;object-fit:contain}
