/*
Theme Name: Cow System Indonesia
Theme URI: https://cowsystemindonesia.com
Author: Cow System Indonesia
Author URI: https://cowsystemindonesia.com
Description: Cow System Indonesia Theme
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cowsystem
Tags: woocommerce, business, portfolio, custom, responsive, dark
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
*/

@font-face {
  font-family: "Gloock";
  src: url("assets/fonts/gloock-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("assets/fonts/archivo-narrow-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --csi-black: #08080a;
  --csi-charcoal: #1a1a1c;
  --csi-charcoal-soft: #1d1e20;
  --csi-light: #f1f1f4;
  --csi-white: #ffffff;
  --csi-muted: #a7a7ad;
  --csi-cyan: #00d8f6;
  --csi-purple: #a855f7;
  --csi-purple-hover: #8644c5;
  --csi-border: #dadce0;
  --csi-container: 1224px;
  --csi-footer-container: 1064px;
  --csi-serif: "Gloock", Georgia, serif;
  --csi-sans: "Archivo Narrow", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--csi-black);
  color: var(--csi-light);
  font-family: var(--csi-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.csi-menu-open { overflow: hidden; }
body.admin-bar .csi-site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--csi-serif); font-weight: 400; }
[hidden] { display: none !important; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  top: 8px;
  left: 8px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: #000;
}

.csi-container {
  width: min(calc(100% - 32px), var(--csi-container));
  margin-inline: auto;
}
.csi-narrow {
  width: min(calc(100% - 32px), 860px);
  margin-inline: auto;
  text-align: center;
}
.csi-eyebrow,
.csi-slash-kicker {
  margin: 0;
  font-family: var(--csi-sans);
  font-size: 13px;
  line-height: 22px;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.csi-purple { color: var(--csi-purple) !important; }
.csi-cyan { color: var(--csi-cyan) !important; }
.csi-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 0;
  border-radius: 4px;
  background: var(--csi-purple);
  color: var(--csi-black);
  font-family: var(--csi-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.csi-button:hover,
.csi-button:focus-visible {
  background: var(--csi-purple-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Header */
.csi-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 76px;
  background: var(--csi-black);
  color: var(--csi-light);
}
.csi-header-inner {
  width: min(calc(100% - 32px), 1192px);
  height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.csi-logo {
  width: 106px;
  height: 64px;
  display: block;
}
.csi-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.csi-nav { justify-self: end; }
.csi-nav__list {
  display: flex;
  align-items: center;
  gap: 43px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.csi-nav__list a {
  position: relative;
  display: block;
  padding: 27px 0 25px;
  color: var(--csi-light);
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
}
.csi-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.csi-nav__list a:hover::after,
.csi-nav__list a.is-current::after { transform: scaleX(1); }
.csi-header-actions { display: flex; align-items: center; gap: 22px; }
.csi-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--csi-light);
  font-size: 14px;
  white-space: nowrap;
}
.csi-cart-link svg {
  width: 28px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.csi-menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  background: transparent;
}
.csi-menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 4px 0;
  background: var(--csi-light);
  transition: transform .2s ease, opacity .2s ease;
}
.csi-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.csi-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.csi-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.csi-mobile-nav { display: none; }

/* Home hero */
.csi-home-hero {
  position: relative;
  isolation: isolate;
  height: 581px;
  overflow: hidden;
  background: var(--csi-charcoal-soft);
}
.csi-home-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--csi-hero-image);
  background-position: center;
  background-size: cover;
}
.csi-home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(5, 10, 13, .5);
}
.csi-home-hero__inner { height: 100%; padding: 106px 80px 80px; }
.csi-home-hero h1 {
  width: min(878px, 100%);
  margin: 34px 0 0;
  color: var(--csi-light);
  font-size: 56px;
  line-height: 1.25;
}
.csi-home-hero h1 span { color: var(--csi-cyan); }
.csi-home-hero__copy {
  width: min(878px, 100%);
  min-height: 48px;
  margin: 20px 0 0;
  color: var(--csi-light);
  font-size: 16px;
  line-height: 24px;
}
.csi-home-hero .csi-button {
  width: 219px;
  min-height: 53px;
  margin-top: 44px;
  border-radius: 8px;
}

/* Catalog */
.csi-catalog-section {
  background: var(--csi-light);
  color: var(--csi-black);
}
.csi-home-catalog { min-height: 613px; padding: 32px 0; }
.csi-catalog-toolbar {
  min-height: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.csi-ordering {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--csi-black);
}
.csi-ordering label { font-size: 14px; }
.csi-ordering select {
  width: 200px;
  height: 31px;
  padding: 3px 34px 3px 12px;
  border: 1px solid var(--csi-black);
  border-radius: 0;
  background: transparent;
  color: var(--csi-black);
  font-size: 14px;
}
.csi-product-grid {
  display: grid;
  width: 100%;
  gap: 24px;
}
.csi-product-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 22px;
}
.csi-product-card { min-width: 0; color: var(--csi-black); text-align: center; }
.csi-product-card__image-link {
  display: block;
  width: 100%;
  overflow: hidden;
  background: #fff;
}
.csi-product-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .45s ease;
}
.csi-product-card__image-link:hover .csi-product-card__image { transform: scale(1.025); }
.csi-product-card__title {
  min-height: 50.4px;
  margin: 20px 0 8px;
  color: var(--csi-black);
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.csi-product-card__price {
  min-height: 24px;
  color: var(--csi-black);
  font-size: 16px;
  line-height: 24px;
}
.csi-product-card__price del { opacity: .55; }
.csi-product-card__price ins { text-decoration: none; }
.csi-product-card__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 14px 24px;
  border: 0;
  border-radius: 0;
  background: var(--csi-purple);
  color: var(--csi-black);
  font-size: 14px;
  line-height: 1.3;
  box-shadow: 0 10px 18px rgba(8, 8, 10, .08);
  transition: background .2s ease, color .2s ease;
}
.csi-product-card__button:hover,
.csi-product-card__button:focus-visible { background: var(--csi-purple-hover); color: #fff; }
.csi-product-card__button.added::after { margin-left: 8px; }
.csi-product-card a.added_to_cart { display: block; margin-top: 6px; font-size: 13px; text-decoration: underline; }
.csi-catalog-pagination,
.csi-shop-pagination {
  min-height: 32px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}
.csi-catalog-pagination a,
.csi-catalog-pagination span { color: var(--csi-black); }
.csi-catalog-pagination a.is-current { text-decoration: underline; text-underline-offset: 4px; }
.csi-catalog-pagination > :first-child,
.csi-catalog-pagination > :last-child { font-size: 27px; line-height: 1; }

/* Expertise */
.csi-expertise-section {
  min-height: 934px;
  padding: 72px 0 76px;
  background: var(--csi-charcoal);
  color: var(--csi-light);
}
.csi-expertise-section > .csi-container {
  width: min(calc(100% - 32px), var(--csi-footer-container));
}
.csi-expertise-section h2 {
  margin: 34px 0 43px;
  font-size: 40px;
  line-height: 1.3;
}
.csi-expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 634px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.csi-expertise-feature {
  min-height: 634px;
  margin: 0;
  padding: 36px;
  border-radius: 12px;
  background: #046574;
  color: var(--csi-black);
}
.csi-expertise-feature img {
  width: 100%;
  height: 404px;
  border-radius: 8px;
  object-fit: cover;
}
.csi-expertise-feature h3 { margin: 20px 0 14px; font-size: 27px; line-height: 1.35; }
.csi-expertise-feature p { margin: 0; font-size: 16px; line-height: 1.5; }
.csi-expertise-list { display: grid; gap: 16px; }
.csi-expertise-list article {
  min-height: 185px;
  padding: 34px 36px;
  border-radius: 12px;
  background: var(--csi-black);
  color: var(--csi-light);
}
.csi-expertise-list h3 { margin: 0 0 22px; font-size: 21px; line-height: 1.3; }
.csi-expertise-list p { margin: 0; font-size: 15px; line-height: 1.55; }

/* Principle and gradient CTA */
.csi-principle-section {
  min-height: 463px;
  padding: 92px 0 80px;
  display: flex;
  align-items: center;
  background: var(--csi-cyan);
  color: var(--csi-black);
}
.csi-principle-section h2 {
  margin: 38px 0 28px;
  font-size: 40px;
  line-height: 1.3;
}
.csi-principle-section .csi-narrow > p:last-child {
  width: min(710px, 100%);
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.55;
}
.csi-gradient-cta {
  min-height: 433px;
  padding: 91px 0 65px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--csi-light), var(--csi-cyan));
  color: var(--csi-black);
}
.csi-gradient-cta h2 { margin: 0; font-size: 40px; line-height: 1.3; }
.csi-gradient-cta p { width: min(700px, 100%); margin: 33px auto 0; font-size: 16px; line-height: 1.5; }
.csi-gradient-cta .csi-button { min-width: 218px; margin-top: 34px; }

/* Shop */
.csi-shop-hero {
  min-height: 446px;
  padding: 103px 0 80px;
  background: var(--csi-black);
  color: var(--csi-light);
  text-align: center;
}
.csi-shop-hero h1 {
  margin: 41px 0 0;
  font-size: 56px;
  line-height: 1.25;
}
.csi-shop-hero h1 em { color: var(--csi-cyan); font-style: italic; font-weight: 400; }
.csi-shop-hero .csi-container > p:last-child {
  margin: 27px auto 0;
  color: var(--csi-muted);
  font-size: 18px;
  line-height: 27px;
}
.csi-shop-catalog { min-height: 622px; padding: 32px 0 48px; }
.csi-shop-pagination { margin-top: 22px; }
.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  gap: 24px;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none;
}
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.woocommerce-pagination ul.page-numbers a,
.woocommerce-pagination ul.page-numbers span {
  min-width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--csi-black) !important;
  font-size: 13px !important;
  line-height: 24px !important;
}
.woocommerce-pagination ul.page-numbers span.current { text-decoration: underline; text-underline-offset: 4px; }
.woocommerce-pagination .prev,
.woocommerce-pagination .next { font-size: 27px !important; }

/* Single product */
.csi-single-product {
  padding: 100px 16px;
  background: var(--csi-light);
  color: var(--csi-black);
}
.csi-single-product > .csi-container { width: min(100%, var(--csi-container)); }
.csi-product-detail {
  min-height: 602px;
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
}
.csi-product-detail__image-wrap {
  width: 600px;
  height: 602px;
  border: 1px solid var(--csi-border);
  background: transparent;
}
.csi-product-detail__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.csi-product-detail__summary {
  min-width: 0;
  min-height: 602px;
  padding-left: 80px;
  display: flex;
  flex-direction: column;
}
.csi-product-detail__summary h1 {
  margin: 0 0 8px;
  color: var(--csi-black);
  font-size: 28px;
  line-height: 1.35;
}
.csi-product-detail__price { color: var(--csi-black); font-size: 18px; line-height: 27px; }
.csi-product-detail__price del { opacity: .55; }
.csi-product-detail__price ins { text-decoration: none; }
.csi-product-form { margin: 32px 0 0; display: flex; flex-direction: column; align-items: flex-start; }
.csi-quantity {
  width: 146px;
  height: 48px;
  display: grid;
  grid-template-columns: 48px 50px 48px;
  border: 1px solid var(--csi-border);
  background: #fff;
}
.csi-quantity__control,
.csi-quantity__input {
  width: 100%;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--csi-black);
  text-align: center;
}
.csi-quantity__input {
  border-right: 1px solid var(--csi-border);
  border-left: 1px solid var(--csi-border);
  appearance: textfield;
  -moz-appearance: textfield;
}
.csi-quantity__input::-webkit-inner-spin-button,
.csi-quantity__input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.csi-product-detail__button { margin-top: 32px; }
.csi-product-detail__description {
  width: 100%;
  margin-top: 56px;
  color: var(--csi-black);
  font-size: 16px;
  line-height: 24px;
}
.csi-product-detail__description p { margin: 0; }
.csi-product-detail__native-cart { margin-top: 32px; }
.csi-product-detail__native-cart form.cart { margin: 0 !important; }
.csi-product-detail__native-cart .button,
.csi-product-detail__native-cart button.button {
  min-height: 50px;
  padding: 14px 28px !important;
  border-radius: 0 !important;
  background: var(--csi-purple) !important;
  color: var(--csi-black) !important;
}
.csi-related-products { margin-top: 80px; }
.csi-related-products > h2 {
  margin: 0 0 32px;
  color: var(--csi-black);
  font-size: 28px;
  line-height: 1.35;
}
.csi-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.csi-product-card--related { text-align: left; }
.csi-product-card--related .csi-product-card__image { aspect-ratio: 1; object-fit: cover; }
.csi-product-card--related .csi-product-card__title { min-height: 50px; }
.csi-product-card--related .csi-product-card__button { width: 100%; }
.csi-related-products .csi-catalog-pagination { margin-top: 20px; }
.csi-single-product .woocommerce-notices-wrapper { max-width: var(--csi-container); margin: 0 auto 24px; }

/* About */
.csi-about-hero {
  padding: 112px 0 106px;
  background: var(--csi-black);
  color: var(--csi-light);
}
.csi-about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  gap: 82px;
  align-items: center;
}
.csi-about-hero__content { padding-left: 80px; }
.csi-about-hero h1 {
  margin: 44px 0 0;
  font-size: 55px;
  line-height: 1.22;
}
.csi-about-hero h1 span { display: block; color: var(--csi-cyan); }
.csi-about-hero__content > p:not(.csi-eyebrow) {
  margin: 36px 0 0;
  color: var(--csi-muted);
  font-size: 16px;
  line-height: 24px;
}
.csi-about-hero .csi-button { min-width: 219px; margin-top: 70px; }
.csi-about-hero__grid > img { width: 600px; height: 600px; object-fit: cover; }
.csi-about-foundation {
  padding: 74px 0;
  background: var(--csi-charcoal);
  color: var(--csi-light);
}
.csi-about-foundation__grid {
  display: grid;
  grid-template-columns: 600px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.csi-about-foundation__grid > img { width: 600px; height: 600px; object-fit: cover; }
.csi-about-foundation__grid > div { padding: 0 54px 0 0; }
.csi-about-foundation h2 { margin: 38px 0 0; font-size: 42px; line-height: 1.25; }
.csi-about-foundation__grid > div > p:not(.csi-eyebrow) { margin: 70px 0 0; color: var(--csi-muted); font-size: 16px; line-height: 24px; }
.csi-about-method {
  padding: 80px 0 96px;
  background: var(--csi-black);
  color: var(--csi-light);
}
.csi-about-method h2 { margin: 39px 0 57px; font-size: 40px; line-height: 1.3; }
.csi-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.csi-method-grid article > span { display: block; margin-bottom: 34px; color: var(--csi-purple); font-size: 14px; }
.csi-method-grid h3 { margin: 0 0 24px; font-size: 21px; line-height: 1.35; }
.csi-method-grid p { margin: 0; color: var(--csi-muted); font-size: 15px; line-height: 1.6; }
.csi-about-cta { min-height: 514px; }
.csi-about-cta h2 { max-width: 720px; margin-inline: auto; }

/* Testimonials */
.csi-testimonials-hero,
.csi-testimonials-list {
  background: var(--csi-black);
  color: var(--csi-light);
}
.csi-testimonials-hero { padding: 92px 0 76px; }
.csi-slash-kicker { color: var(--csi-purple); text-transform: none; }
.csi-slash-kicker::before { content: "/"; display: inline-block; margin-right: 15px; }
.csi-testimonials-hero h1 {
  margin: 52px 0 0;
  font-size: 56px;
  line-height: 1.25;
}
.csi-testimonials-hero h1 span { color: var(--csi-cyan); }
.csi-testimonials-intro {
  margin-top: 51px;
  display: grid;
  grid-template-columns: 360px 600px;
  gap: 84px;
  justify-content: center;
  align-items: center;
}
.csi-testimonials-intro > div > p { margin: 0; color: var(--csi-muted); font-size: 17px; line-height: 20px; }
.csi-testimonials-intro .csi-button { min-width: 162px; margin-top: 82px; }
.csi-testimonials-intro img { width: 600px; height: 448px; object-fit: cover; }
.csi-testimonials-list { padding: 92px 0 72px; }
.csi-testimonials-list h2 { margin: 44px 0 45px; font-size: 40px; line-height: 1.3; }
.csi-testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.csi-testimonial-grid blockquote {
  min-height: 300px;
  margin: 0;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 14px;
  background: var(--csi-charcoal);
}
.csi-testimonial-grid blockquote p { margin: 0; font-family: var(--csi-serif); font-size: 21px; line-height: 1.32; }
.csi-testimonial-grid cite { color: var(--csi-muted); font-size: 14px; font-style: normal; }
.csi-testimonial-highlight {
  min-height: 301px;
  padding: 89px 0 70px;
  display: flex;
  align-items: center;
  background: var(--csi-cyan);
  color: var(--csi-black);
}
.csi-testimonial-highlight p { margin: 0; font-family: var(--csi-serif); font-size: 21px; line-height: 1.32; }

/* Terms */
.csi-legal-hero {
  min-height: 550px;
  padding: 92px 0 78px;
  background: var(--csi-black);
  color: var(--csi-light);
}
.csi-legal-hero h1 { margin: 42px 0 0; font-size: 56px; line-height: 1.25; }
.csi-legal-hero h1 span { color: var(--csi-purple); }
.csi-legal-hero .csi-container > p:not(.csi-eyebrow) { margin: 36px 0 0; color: var(--csi-muted); font-size: 16px; line-height: 24px; }
.csi-legal-hero .csi-button { min-width: 276px; margin-top: 57px; }
.csi-contract-section {
  min-height: 458px;
  padding: 77px 0;
  background: var(--csi-charcoal);
  color: var(--csi-light);
}
.csi-contract-section h2 { margin: 44px 0 44px; font-size: 40px; line-height: 1.3; }
.csi-contract-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.csi-contract-grid p { margin: 0; color: var(--csi-muted); font-size: 17px; line-height: 1.35; }
.csi-inquiry-section {
  padding: 77px 16px 120px;
  background: var(--csi-black);
  color: var(--csi-light);
  text-align: center;
}
.csi-inquiry-inner { width: min(100%, 650px); margin-inline: auto; }
.csi-inquiry-section h2 { margin: 42px 0 0; font-size: 40px; line-height: 1.3; }
.csi-inquiry-lead { margin: 29px auto 0; color: var(--csi-muted); font-size: 17px; line-height: 1.35; }
.csi-inquiry-form { margin-top: 77px; text-align: left; }
.csi-inquiry-form label { display: block; margin: 0 0 7px; font-size: 16px; }
.csi-inquiry-form input,
.csi-inquiry-form textarea {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 0;
  border-radius: 5px;
  background: var(--csi-light);
  color: var(--csi-black);
  outline: none;
}
.csi-inquiry-form input { height: 47px; }
.csi-inquiry-form textarea { min-height: 96px; resize: vertical; }
.csi-inquiry-form input:focus,
.csi-inquiry-form textarea:focus { box-shadow: 0 0 0 2px var(--csi-purple); }
.csi-inquiry-form .csi-button { margin-top: 0; }
.csi-form-message { margin: 28px 0 -40px; padding: 12px 16px; background: #3a1722; color: #fff; text-align: left; }
.csi-form-message--success { background: #123b31; }

/* Footer */
.csi-site-footer {
  min-height: 333px;
  padding: 48px 0 28px;
  background: var(--csi-black);
  color: var(--csi-light);
}
.csi-footer-inner { width: min(calc(100% - 32px), var(--csi-footer-container)); margin-inline: auto; }
.csi-footer-accent { width: 46px; height: 3px; background: var(--csi-purple); }
.csi-footer-main { margin-top: 17px; display: flex; justify-content: space-between; align-items: flex-start; }
.csi-footer-intro h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.35; }
.csi-footer-intro p,
.csi-footer-contact p { margin: 0 0 4px; font-size: 14px; line-height: 21px; }
.csi-footer-intro p { opacity: .85; }
.csi-footer-contact { padding-top: 6px; text-align: right; }
.csi-footer-contact .csi-footer-kicker { margin-bottom: 10px; color: var(--csi-purple); letter-spacing: .16em; }
.csi-footer-rule { height: 1px; margin-top: 38px; background: rgba(241, 241, 244, .9); }
.csi-footer-bottom { margin-top: 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.csi-footer-bottom p { margin: 0; opacity: .75; font-size: 13px; line-height: 20px; }
.csi-footer-bottom p span { margin: 0 10px; color: var(--csi-purple); }
.csi-footer-bottom .csi-footer-license { color: var(--csi-purple); opacity: .9; letter-spacing: .16em; text-transform: uppercase; text-align: right; white-space: nowrap; }

/* Generic pages and WooCommerce system pages */
.csi-standard-page { min-height: 650px; padding: 90px 0; background: var(--csi-light); color: var(--csi-black); }
.csi-standard-page__inner { max-width: 1064px; }
.csi-standard-page h1 { margin: 0 0 48px; font-size: 48px; line-height: 1.2; }
.csi-entry-content { font-size: 17px; }
.csi-entry-content > *:last-child { margin-bottom: 0; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 3px !important;
  background: var(--csi-purple) !important;
  color: var(--csi-black) !important;
  font-family: var(--csi-sans) !important;
  font-weight: 400 !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--csi-purple-hover) !important; color: #fff !important; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { border-top-color: var(--csi-purple) !important; background: #fff !important; color: var(--csi-black) !important; }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--csi-purple) !important; }
.woocommerce table.shop_table { border-color: #cfd0d4 !important; border-radius: 0 !important; background: #fff; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .select2-container .select2-selection--single {
  min-height: 45px;
  border: 1px solid #cfd0d4;
  border-radius: 3px;
  background: #fff;
  color: var(--csi-black);
}
.woocommerce-checkout #payment { background: #fff !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--csi-light) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--csi-light) !important; }
.woocommerce .quantity .qty { min-height: 45px; }

/* WordPress content fallbacks */
.alignwide { width: min(calc(100% - 32px), var(--csi-container)); margin-inline: auto; }
.alignfull { width: 100%; max-width: none; }
.wp-caption { max-width: 100%; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.csi-post-card { padding: 20px; background: #fff; color: var(--csi-black); }
.csi-post-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 20px; }
.csi-post-card h2 { margin: 10px 0; font-size: 25px; line-height: 1.3; }
.csi-post-card > p:last-child { margin-bottom: 0; color: #626268; }
.csi-post-card__meta { margin: 0; color: var(--csi-purple); font-size: 13px; text-transform: uppercase; }
.csi-post-pagination { margin-top: 40px; }
.csi-post-pagination .nav-links { display: flex; justify-content: center; gap: 20px; }
.csi-article { max-width: 840px; }
.csi-article__image { margin: 0 0 36px; }
.csi-article__image img { width: 100%; }
.csi-not-found { display: flex; align-items: center; }
.csi-not-found h1 { margin: 35px 0 20px; }
.csi-not-found .csi-button { margin-top: 28px; }

@media (max-width: 1100px) {
  .csi-nav__list { gap: 25px; }
  .csi-product-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .csi-product-detail__image-wrap { width: 100%; height: auto; aspect-ratio: 1; }
  .csi-about-hero__grid,
  .csi-about-foundation__grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .csi-about-hero__grid > img,
  .csi-about-foundation__grid > img { width: 100%; height: auto; aspect-ratio: 1; }
  .csi-about-hero__content { padding-left: 0; }
  .csi-testimonials-intro { grid-template-columns: 1fr 1.35fr; gap: 50px; }
  .csi-testimonials-intro img { width: 100%; height: auto; aspect-ratio: 4/3; }
}

@media (max-width: 900px) {
  .csi-nav { display: none; }
  .csi-header-inner { grid-template-columns: auto 1fr auto; }
  .csi-header-actions { grid-column: 3; }
  .csi-menu-toggle { display: block; }
  .csi-mobile-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: block;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 20px 24px 30px;
    border-top: 1px solid rgba(241, 241, 244, .12);
    background: var(--csi-black);
  }
  .csi-mobile-nav .csi-nav__list { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .csi-mobile-nav .csi-nav__list a { padding: 15px 0; font-size: 18px; }
  .csi-mobile-nav .csi-nav__list a::after { bottom: 10px; right: auto; width: 40px; }

  .csi-product-grid--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csi-expertise-layout { grid-template-columns: 1.2fr .8fr; }
  .csi-expertise-feature { min-height: 560px; }
  .csi-expertise-feature img { height: 340px; }
  .csi-product-detail__summary { padding-left: 40px; }
  .csi-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .csi-method-grid,
  .csi-testimonial-grid { gap: 20px; }
}

@media (max-width: 767px) {
  body.admin-bar .csi-site-header { top: 46px; }
  .csi-site-header,
  .csi-header-inner { height: 100px; }
  .csi-header-inner { width: 100%; padding: 0 16px; gap: 14px; }
  .csi-logo { width: 68px; height: 58px; }
  .csi-header-actions { gap: 18px; }
  .csi-cart-label { display: none; }
  .csi-cart-link svg { width: 25px; height: 28px; }
  .csi-menu-toggle { width: 32px; height: 32px; padding: 6px; }
  .csi-mobile-nav { top: 100px; max-height: calc(100vh - 100px); }

  .csi-home-hero { height: 675px; }
  .csi-home-hero::before { background-position: 58% center; }
  .csi-home-hero__inner { padding: 87px 16px 50px; text-align: center; }
  .csi-home-hero h1 {
    width: 100%;
    margin-top: 30px;
    font-size: 40px;
    line-height: 50px;
  }
  .csi-home-hero__copy { width: 100%; margin-top: 32px; font-size: 16px; line-height: 24px; }
  .csi-home-hero .csi-button { width: 201px; min-height: 48px; margin-top: 129px; }

  .csi-home-catalog { min-height: 0; padding: 16px 0; }
  .csi-catalog-toolbar { justify-content: stretch; }
  .csi-ordering { width: 100%; justify-content: space-between; }
  .csi-ordering select { width: 190px; }
  .csi-product-grid--five {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 154px;
  }
  .csi-product-card__image { aspect-ratio: 4 / 5; }
  .csi-product-card__title { min-height: 0; font-size: 18px; }
  .csi-product-card__button { min-height: 54px; margin-top: 0; }
  .csi-catalog-pagination { margin: 28px 0 0; }

  .csi-expertise-section { min-height: 1200px; padding: 58px 0 66px; text-align: center; }
  .csi-expertise-section h2 { margin: 30px 0 42px; font-size: 32px; line-height: 1.3; }
  .csi-expertise-layout { grid-template-columns: 1fr; gap: 16px; }
  .csi-expertise-feature { min-height: 527px; padding: 24px; }
  .csi-expertise-feature img { height: 292px; }
  .csi-expertise-feature h3 { font-size: 25px; }
  .csi-expertise-list article { min-height: 169px; padding: 28px 24px; }
  .csi-expertise-list h3 { margin-bottom: 20px; }

  .csi-principle-section { min-height: 553px; padding: 92px 0 78px; }
  .csi-principle-section h2 { margin: 38px 0 34px; font-size: 32px; }
  .csi-principle-section h2 br { display: none; }
  .csi-gradient-cta { min-height: 504px; padding: 90px 0 60px; }
  .csi-gradient-cta h2 { font-size: 32px; }
  .csi-gradient-cta p { margin-top: 33px; }
  .csi-gradient-cta .csi-button { margin-top: 48px; }

  .csi-shop-hero { min-height: 520px; padding: 95px 16px 70px; }
  .csi-shop-hero h1 { margin-top: 36px; font-size: 42px; line-height: 1.2; }
  .csi-shop-hero .csi-container > p:last-child { margin-top: 32px; font-size: 17px; }
  .csi-shop-catalog { padding: 16px 0 48px; }

  .csi-single-product { padding: 56px 16px; }
  .csi-product-detail { min-height: 850px; display: block; }
  .csi-product-detail__image-wrap { width: 100%; height: auto; aspect-ratio: 1; }
  .csi-product-detail__summary { min-height: 490px; padding: 32px 0 0; }
  .csi-product-detail__summary h1 { font-size: 24px; line-height: 1.35; }
  .csi-product-detail__button { min-height: 46px; padding: 14px 22px; }
  .csi-product-detail__description { margin-top: 56px; }
  .csi-related-products { margin-top: 80px; }
  .csi-related-products > h2 { margin-bottom: 32px; font-size: 24px; overflow-wrap: anywhere; }
  .csi-product-grid--related { grid-template-columns: 1fr; gap: 24px; }
  .csi-product-card--related .csi-product-card__image { aspect-ratio: 1; }
  .csi-product-card--related .csi-product-card__title { min-height: 0; }

  .csi-about-hero { min-height: 1133px; padding: 88px 0 92px; text-align: center; }
  .csi-about-hero__grid { grid-template-columns: 1fr; gap: 12px; }
  .csi-about-hero__content { width: 328px; max-width: 100%; margin-inline: auto; }
  .csi-about-hero h1 { margin-top: 30px; font-size: 40px; line-height: 50px; }
  .csi-about-hero__content > p:not(.csi-eyebrow) { margin-top: 32px; line-height: normal; }
  .csi-about-hero .csi-button { width: 201px; min-width: 201px; min-height: 48px; margin-top: 82px; }
  .csi-about-hero__grid > img { width: 328px; height: 437px; margin-inline: auto; object-fit: cover; }

  .csi-about-foundation { padding: 74px 0 133px; text-align: center; }
  .csi-about-foundation__grid { grid-template-columns: 1fr; gap: 35px; }
  .csi-about-foundation__grid > img { width: 295px; height: 393px; margin-inline: auto; object-fit: cover; }
  .csi-about-foundation__grid > div { width: 328px; max-width: 100%; margin-inline: auto; padding: 0; }
  .csi-about-foundation .csi-eyebrow { font-size: 14px; line-height: 18px; }
  .csi-about-foundation h2 { margin-top: 70px; font-size: 32px; line-height: 41.6px; }
  .csi-about-foundation__grid > div > p:not(.csi-eyebrow) { margin-top: 52px; line-height: 18px; }
  .csi-about-foundation__grid > div > p:not(.csi-eyebrow) + p { min-height: 126px; margin-top: 148px; }

  .csi-about-method { min-height: 1009px; padding: 53px 0 54px; text-align: center; }
  .csi-about-method > .csi-container { width: 328px; max-width: calc(100% - 32px); }
  .csi-about-method .csi-eyebrow { font-size: 14px; line-height: 18px; }
  .csi-about-method h2 { margin: 70px 0 4px; font-size: 32px; line-height: 41.6px; }
  .csi-method-grid { grid-template-columns: 1fr; gap: 23px; }
  .csi-method-grid article { min-height: 213px; }
  .csi-method-grid article > span { margin-bottom: 44px; font-size: 14px; line-height: 18px; }
  .csi-method-grid h3 { margin-bottom: 41px; font-size: 18px; line-height: 25.2px; }
  .csi-method-grid p { font-size: 14px; line-height: 21px; }
  .csi-method-grid article:first-child p { min-height: 84px; }

  .csi-about-cta { min-height: 573px; height: 573px; padding: 121px 0 104px; display: block; }
  .csi-about-cta .csi-narrow { width: 328px; max-width: calc(100% - 32px); }
  .csi-about-cta h2 { font-size: 32px; line-height: 41.6px; }
  .csi-about-cta p { margin-top: 35px; line-height: 18px; }
  .csi-about-cta .csi-button { width: 201px; min-width: 201px; min-height: 48px; margin-top: 68px; }

  .csi-testimonials-hero { padding: 76px 0 58px; text-align: center; }
  .csi-testimonials-hero h1 { margin-top: 44px; font-size: 40px; }
  .csi-testimonials-intro { margin-top: 48px; grid-template-columns: 1fr; gap: 52px; }
  .csi-testimonials-intro .csi-button { margin-top: 44px; }
  .csi-testimonials-list { min-height: 1122px; padding: 75px 0 70px; text-align: center; }
  .csi-testimonials-list h2 { font-size: 34px; }
  .csi-testimonial-grid { width: 328px; max-width: 100%; margin-inline: auto; grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .csi-testimonial-grid blockquote { min-height: 244px; padding: 24px; }
  .csi-testimonial-grid blockquote p { font-size: 18px; line-height: 25.2px; }
  .csi-testimonial-highlight { min-height: 368px; padding: 74px 0; }

  .csi-legal-hero { min-height: 584px; padding: 62px 0 50px; text-align: center; }
  .csi-legal-hero h1 { font-size: 42px; }
  .csi-legal-hero .csi-button { min-width: 0; width: 100%; max-width: 276px; }
  .csi-contract-section { min-height: 777px; padding: 72px 0; text-align: center; }
  .csi-contract-section h2 { font-size: 34px; }
  .csi-contract-grid { grid-template-columns: 1fr; gap: 36px; }
  .csi-inquiry-section { min-height: 1040px; padding: 72px 16px 100px; }
  .csi-inquiry-section h2 { font-size: 34px; }
  .csi-inquiry-form { margin-top: 60px; }

  .csi-site-footer { min-height: 537px; padding: 32px 0 28px; }
  .csi-footer-accent { width: 100%; }
  .csi-footer-main { margin-top: 22px; display: block; text-align: center; }
  .csi-footer-intro h2 { font-size: 27px; }
  .csi-footer-contact { margin-top: 67px; padding: 0; text-align: center; }
  .csi-footer-rule { margin-top: 34px; }
  .csi-footer-bottom { margin-top: 19px; display: block; text-align: center; }
  .csi-footer-bottom p { text-align: center; }
  .csi-footer-bottom .csi-footer-license { margin-top: 28px; text-align: center; white-space: normal; }
  .csi-footer-break { display: none; }

  .csi-standard-page { padding: 70px 0; }
  .csi-standard-page h1 { margin-bottom: 36px; font-size: 38px; }
  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td { background: #fff; }
  .post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .csi-home-hero h1 { font-size: 37px; line-height: 46px; }
  .csi-home-hero .csi-button { margin-top: 112px; }
  .csi-footer-bottom .csi-footer-license { letter-spacing: .11em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
