.before-after-list {
  display: grid;
  gap: 74px;
}

.before-after-card {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.example-heading {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}

.example-heading span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green);
}

.example-heading h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.ba-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d8d4ce;
  box-shadow: var(--shadow);
}

.ba-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.ba-label {
  position: absolute;
  top: 18px;
  padding: 7px 11px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.ba-label.before {
  left: 18px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--orange);
}

.ba-label.after {
  left: calc(50% + 18px);
  background: rgba(18, 35, 31, 0.9);
  color: var(--mint);
}

.ba-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  padding: 24px 0 0;
}

.ba-copy p {
  margin: 0;
  font-size: 13px;
  color: rgba(18, 35, 31, 0.72);
}

.ba-copy b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.designer-direction {
  position: relative;
  padding: 120px 0;
  background:
    linear-gradient(90deg, rgba(11, 30, 25, 0.96) 0%, rgba(11, 30, 25, 0.72) 43%, rgba(11, 30, 25, 0.18) 100%),
    url("./assets/designer-apparel-bg-v3.webp") center / cover no-repeat;
  color: #fff;
}

.designer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.designer-intro h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.designer-copy {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 33, 28, 0.82);
  backdrop-filter: blur(7px);
  color: rgba(255, 255, 255, 0.72);
}

.atelier-note {
  display: inline-block;
  margin-top: 28px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.designer-copy .designer-lead {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
}

.design-moods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.design-moods li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.design-moods li:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.design-moods li:nth-child(even) {
  padding-left: 20px;
}

.design-moods span {
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.design-moods b {
  color: #fff;
  font-size: 17px;
}

.design-moods small {
  font-size: 10px;
  line-height: 1.65;
}

.tag-message {
  padding-top: 120px;
  padding-bottom: 120px;
}

.tag-message-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px 80px;
  align-items: start;
  margin-bottom: 48px;
}

.tag-message-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.tag-message-intro h2 {
  margin: 0;
  font-size: clamp(39px, 5vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.tag-message-intro > p:not(.eyebrow) {
  margin: 6px 0 0;
  color: rgba(18, 35, 31, 0.7);
  font-size: 14px;
}

.message-types {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: -42px 0 0;
}

.message-types li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 9px;
}

.message-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.message-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.message-card-heading span {
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.message-card-heading h3 {
  margin: 7px 0 24px;
  font-size: 23px;
  line-height: 1.35;
}

.tag-pair-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0 0 22px;
  overflow: hidden;
  background: #111916;
  box-shadow: 0 10px 25px rgba(18, 35, 31, 0.12);
}

.tag-pair-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-text-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vertical-tag-copy {
  position: absolute;
  top: 14.5%;
  width: 18.2%;
  height: 76%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5% 1%;
  color: #f5eee2;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.tag-copy-front {
  left: 26.1%;
}

.tag-copy-back {
  left: 55.1%;
}

.vertical-tag-copy small,
.vertical-tag-copy i {
  display: block;
  font-size: clamp(5px, 0.58vw, 9px);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.13em;
  opacity: 0.76;
}

.vertical-tag-copy strong {
  display: block;
  margin: 18% 0;
  font-size: clamp(13px, 1.65vw, 25px);
  line-height: 1.14;
  letter-spacing: 0.06em;
}

.folded-tag-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0 0 22px;
  overflow: hidden;
  background: #102a43;
  box-shadow: 0 10px 25px rgba(18, 35, 31, 0.15);
}

.folded-tag-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.folded-tag-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.folded-face {
  position: absolute;
  top: 23%;
  width: 28.5%;
  height: 58%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #164b76;
  text-align: center;
}

.folded-front {
  left: 21.2%;
  transform: rotate(-1.5deg);
}

.folded-back {
  left: 50.5%;
  transform: rotate(1.5deg);
}

.folded-face small {
  position: absolute;
  top: 1%;
  color: rgba(22, 61, 86, 0.58);
  font-size: clamp(5px, 0.55vw, 8px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.folded-front img {
  width: 70%;
  max-height: 78%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.folded-back strong {
  color: var(--navy);
  font-size: clamp(14px, 2vw, 31px);
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.folded-back i {
  display: block;
  margin-top: 10%;
  color: #248c9b;
  font-size: clamp(7px, 0.9vw, 13px);
  font-style: normal;
  font-weight: 700;
}

.tag-reveal-figure {
  margin: 0 0 22px;
  overflow: hidden;
  background: #f2f1ed;
  box-shadow: 0 10px 25px rgba(18, 35, 31, 0.15);
}

.tag-reveal-crop {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.tag-reveal-photo {
  position: absolute;
  display: block;
  width: 170%;
  max-width: none;
  height: 170%;
  left: 50%;
  top: 50%;
  transform: translate(-62%, -40%);
  object-fit: cover;
  object-position: center;
}

.tag-reveal-figure figcaption {
  padding: 10px 14px;
  color: rgba(18, 35, 31, 0.68);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.message-card > p b {
  color: var(--navy);
}

.tag-pair {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.tag-face {
  min-height: 116px;
  padding: 20px 17px;
  border-top: 4px dashed rgba(255, 255, 255, 0.46);
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 25px rgba(18, 35, 31, 0.14);
  text-align: center;
}

.tag-face small,
.tag-face b,
.tag-face em {
  display: block;
}

.tag-face small {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  letter-spacing: 0.14em;
}

.tag-face b {
  font-size: 17px;
  letter-spacing: 0.08em;
}

.tag-face em {
  margin-top: 5px;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.tag-face.tag-back {
  background: var(--ink);
}

.tag-face.tag-back.alt {
  background: #315f47;
}

.turn-mark {
  color: var(--green);
  text-align: center;
}

.message-card > p {
  margin: 0;
  color: rgba(18, 35, 31, 0.66);
  font-size: 12px;
}

.weave-note {
  margin: 18px 0 0;
  color: rgba(18, 35, 31, 0.56);
  font-size: 10px;
}

.product-groups {
  display: grid;
  gap: 30px;
}

.product-group {
  border: 1px solid var(--line);
  background: var(--white);
}

.product-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: #dcecdf;
}

.product-group-title.basic-line-title {
  min-height: 82px;
  padding: 22px 28px;
  background: #e9e2d5;
}

.product-group-title.american-title {
  min-height: 118px;
  padding: 26px 28px;
  background:
    linear-gradient(90deg, rgba(13, 37, 58, 0.7), rgba(13, 37, 58, 0.2)),
    url("./assets/american-cotton-flag-v1.webp") center / cover no-repeat;
  color: #fff;
}

.product-group-title.organic-title {
  min-height: 118px;
  padding: 26px 28px;
  background:
    linear-gradient(90deg, rgba(28, 70, 42, 0.74), rgba(28, 70, 42, 0.24)),
    url("./assets/organic-cotton-field-v1.webp") center / cover no-repeat;
  color: #fff;
}

.product-group-title.american-title span,
.product-group-title.american-title p,
.product-group-title.organic-title span,
.product-group-title.organic-title p {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
}

.product-group-title span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.product-group-title p {
  margin: 0;
  font-size: 11px;
  opacity: 0.68;
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-cards.basic-grid {
  grid-template-columns: 1fr;
}

.product-card {
  padding: 30px;
}

.product-card.basic-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 46px;
}

.basic-card .product-photo {
  height: 360px;
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-gallery[data-product-slider] {
  display: block;
  touch-action: pan-y;
}

.product-gallery .product-photo {
  width: 100%;
  height: 280px;
  margin: 24px 0 0;
}

.basic-card .product-gallery .product-photo {
  height: 300px;
}

.product-gallery[data-product-slider] .product-photo {
  height: 360px;
}

.basic-card .product-gallery[data-product-slider] .product-photo {
  height: 430px;
  margin-top: 24px;
}

.product-gallery[data-product-slider] .product-photo[hidden] {
  display: none;
}

.product-gallery[data-product-slider] .product-photo img,
.product-photo-worn img {
  object-fit: contain;
  object-position: center center;
}

.gallery-controls {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.brand-tagline {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-benefit {
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.gallery-arrow {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(18, 35, 31, 0.2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 0;
  cursor: pointer;
}

.gallery-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.gallery-prev::before {
  transform: translate(-50%, -50%) translateX(2px) rotate(-135deg);
}

.gallery-next::before {
  transform: translate(-50%, -50%) translateX(-2px) rotate(45deg);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 35, 31, 0.24);
  cursor: pointer;
}

.gallery-dots button.is-active {
  background: var(--green);
  transform: scale(1.25);
}

.basic-card .product-summary {
  min-height: 0;
}

.basic-details {
  min-width: 0;
}

.mobile-product-details > summary {
  display: none;
}

.basic-swatches {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.entry-note {
  margin: 24px 0 0;
  padding: 18px;
  border-left: 3px solid var(--green);
  background: rgba(75, 164, 107, 0.08);
  color: rgba(18, 35, 31, 0.7);
  font-size: 11px;
}

.entry-note b {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 12px;
}

.wide-size-table {
  min-width: 680px !important;
}

.upgrade-guide {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  padding: 42px;
  background: var(--ink);
  color: #fff;
}

.upgrade-guide > div > span {
  color: var(--mint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.upgrade-guide h3 {
  margin: 9px 0 16px;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.upgrade-guide p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.upgrade-links {
  display: grid;
  gap: 10px;
  align-content: center;
}

.upgrade-links a {
  display: block;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, transform 0.2s;
}

.upgrade-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.upgrade-links b,
.upgrade-links span {
  display: block;
}

.upgrade-links b {
  color: var(--mint);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.upgrade-links span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.product-card + .product-card {
  border-left: 1px solid var(--line);
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-top span {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--green);
}

.product-top b {
  font-size: 16px;
  letter-spacing: 0.06em;
}

.product-card h3 {
  margin: 20px 0 14px;
  min-height: 72px;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.product-photo {
  position: relative;
  display: block;
  width: calc(100% + 20px);
  height: 280px;
  margin: 24px -10px 0;
  padding: 14px;
  border: 0;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  cursor: zoom-in;
  appearance: none;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-photo > span {
  display: none;
}

.product-photo:hover > span,
.product-photo:focus-visible > span {
  display: none;
}

.product-photo:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.official-product-link {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: rgba(18, 35, 31, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.official-product-link:hover,
.official-product-link:focus-visible {
  color: var(--green);
}

.product-feature {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  margin: 20px 0 24px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.product-detail-photo {
  position: relative;
  display: block;
  width: 112px;
  height: 112px;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

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

.product-detail-photo > span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  background: rgba(18, 35, 31, 0.84);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.product-detail-photo:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.product-feature p,
.product-feature b,
.product-feature p > span {
  display: block;
}

.product-feature p {
  margin: 0;
}

.product-feature b {
  margin-bottom: 4px;
  color: var(--green);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.product-feature p > span {
  color: rgba(18, 35, 31, 0.66);
  font-size: 10px;
  line-height: 1.6;
}

.american-mark-feature {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) 1.28fr;
  gap: 32px;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, #eef3f6, #fffdfa);
}

.american-mark-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 190px;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.american-mark-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.american-mark-photo > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(18, 35, 31, 0.86);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.american-mark-feature small {
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.american-mark-feature h3 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.american-mark-feature p {
  max-width: 590px;
  margin: 0;
  color: rgba(18, 35, 31, 0.67);
  font-size: 12px;
}

.image-lightbox {
  width: min(94vw, 980px);
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.image-lightbox::backdrop {
  background: rgba(7, 18, 15, 0.82);
  backdrop-filter: blur(4px);
}

.image-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.lightbox-toolbar button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.image-lightbox > img {
  display: block;
  width: 100%;
  height: min(82vh, 840px);
  padding: 22px;
  object-fit: contain;
  background: #fff;
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.product-facts li {
  padding: 5px 8px;
  border: 1px solid var(--line);
  font-size: 9px;
}

.product-summary {
  min-height: 48px;
  margin: 0 0 22px;
  color: rgba(18, 35, 31, 0.68);
  font-size: 12px;
}

.product-options {
  padding: 18px 0 20px;
  border-top: 1px solid var(--line);
}

.product-options h4 {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.product-options h4:not(:first-child) {
  margin-top: 18px;
}

.color-swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.color-swatches li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 9px;
}

.color-swatches i {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid rgba(18, 35, 31, 0.18);
  border-radius: 50%;
  background: var(--swatch);
}

.option-note {
  display: block;
  margin-top: 10px;
  color: rgba(18, 35, 31, 0.56);
  font-size: 8px;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-chips span {
  min-width: 34px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 9px;
  font-weight: 600;
}

.size-details {
  border-top: 1px solid var(--line);
}

.size-details summary {
  padding: 14px 0;
  font-size: 11px;
}

.size-details summary span {
  font-size: 17px;
}

.table-scroll {
  overflow-x: auto;
  padding-bottom: 14px;
}

.size-details table {
  width: 100%;
  min-width: 390px;
  border-collapse: collapse;
  font-size: 9px;
  text-align: center;
}

.size-details th,
.size-details td {
  padding: 6px 7px;
  border: 1px solid var(--line);
  white-space: nowrap;
}

.size-details th {
  background: rgba(18, 35, 31, 0.045);
  font-weight: 600;
}

.price-table {
  border-top: 1px solid var(--line);
}

.price-table p {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.price-table span {
  font-size: 11px;
}

.price-table b {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.price-table small {
  grid-column: 2;
  color: rgba(18, 35, 31, 0.55);
  font-size: 9px;
}

.material-footnote {
  max-width: 850px;
}

.cost-formula {
  margin: 34px 0 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.cost-formula > span {
  display: block;
  margin-bottom: 7px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.cost-formula p {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.8;
}

.cost-formula b {
  color: var(--mint);
}

.cost-formula small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

.spare-callout {
  margin-top: 14px;
  padding: 20px 22px;
  border-left: 4px solid var(--mint);
  background: rgba(152, 214, 191, 0.12);
}

.spare-callout span {
  color: var(--mint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.spare-callout h3 {
  margin: 5px 0 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.spare-callout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.quantity-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.quantity-heading span {
  color: var(--mint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.quantity-heading h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 20px;
}

.quantity-heading output {
  color: var(--mint);
  font-size: 13px;
  font-weight: 700;
}

.quantity-help {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.quantity-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.quantity-row.basic-quantity {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.quantity-row > div b,
.quantity-row > div span {
  display: block;
}

.quantity-row > div b {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.quantity-row > div span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
}

.quantity-row label {
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.quantity-row input {
  width: 74px;
  height: 36px;
  padding: 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.quantity-row input::-webkit-inner-spin-button,
.quantity-row input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.estimate-breakdown {
  margin-bottom: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.estimate-breakdown p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.estimate-breakdown b {
  color: #fff;
  font-size: 12px;
}

.tool-result #totalEstimate {
  font-size: 25px;
  color: var(--mint);
}

.estimate-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

@media (max-width: 900px) {
  .american-mark-feature {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 22px;
  }

  .designer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .designer-copy {
    padding: 28px;
  }

  .tag-message-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .message-types {
    grid-column: auto;
    margin-top: 0;
  }

  .product-card.basic-card,
  .upgrade-guide {
    grid-template-columns: 1fr;
  }

  .basic-swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .photo-hero {
    margin-top: 38px;
    overflow: visible;
  }

  .photo-hero .visual-caption {
    top: -38px;
    left: 0;
    padding: 4px 0;
    background: transparent;
  }

  .ba-photo {
    padding-top: 40px;
    background: #f3efe7;
  }

  .ba-label {
    top: 0;
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 12px;
  }

  .ba-label.before {
    left: 0;
  }

  .ba-label.after {
    left: 50%;
  }

  .american-mark-feature {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .american-mark-photo {
    height: 180px;
  }

  .product-gallery .product-photo,
  .basic-card .product-gallery .product-photo {
    height: 240px;
  }

  .product-gallery[data-product-slider] .product-photo,
  .basic-card .product-gallery[data-product-slider] .product-photo {
    height: min(82vw, 390px);
  }

  .mobile-product-details {
    margin-top: 18px;
    border-top: 1px solid var(--line);
  }

  .mobile-product-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 0;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
  }

  .mobile-product-details > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-product-details > summary b {
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .mobile-product-details > summary span {
    color: var(--green);
    font-size: 22px;
    line-height: 1;
  }

  .mobile-product-details[open] > summary {
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .folded-face {
    top: 22%;
    height: 60%;
  }

  .product-feature {
    grid-template-columns: 92px 1fr;
  }

  .product-detail-photo {
    width: 92px;
    height: 92px;
  }

  .example-heading {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ba-copy,
  .product-cards,
  .design-moods,
  .message-examples {
    grid-template-columns: 1fr;
  }

  .tag-message {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .tag-pair {
    grid-template-columns: 1fr 22px 1fr;
    gap: 6px;
  }

  .tag-face {
    min-height: 108px;
    padding: 17px 10px;
  }

  .basic-swatches {
    grid-template-columns: 1fr 1fr;
  }

  .product-card.basic-card {
    gap: 16px;
  }

  .upgrade-guide {
    gap: 28px;
    padding: 28px;
  }

  .ba-copy {
    gap: 16px;
  }

  .product-card + .product-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-group-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .design-moods li:nth-child(odd) {
    border-right: 0;
  }

  .design-moods li:nth-child(even) {
    padding-left: 0;
  }

  .designer-direction {
    padding: 85px 0;
  }
}

/* Supplied ShakiT wordmark */
.site-header .brand { flex-shrink: 0; }
.brand-logo { display: block; width: 128px; height: auto; max-height: 68px; object-fit: contain; }
.footer-logo { display: block; width: 240px; height: auto; }
footer { height: auto; min-height: 168px; padding-top: 16px; padding-bottom: 16px; }
@media (max-width: 640px) {
  .brand-logo { width: 108px; max-height: 58px; }
  footer { padding: 28px 24px; gap: 24px; }
  .footer-logo { width: min(260px, 100%); }
}

/* Compact product information on every screen */
.mobile-product-details { margin-top: 16px; border-top: 1px solid var(--line); }
.mobile-product-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; color: var(--navy); cursor: pointer; list-style: none; }
.mobile-product-details > summary::-webkit-details-marker { display: none; }
.mobile-product-details > summary b { font-size: 12px; letter-spacing: .02em; }
.mobile-product-details > summary span { font-size: 22px; line-height: 1; color: var(--green); }
.product-price-range { margin: 10px 0 0; font-weight: 700; font-size: 17px; color: var(--navy); }
.product-card .product-summary { min-height: 0; margin-bottom: 0; }
.product-card.basic-card { display: block; max-width: none; }
.basic-card .gat-gallery { max-width: 100%; }
.compact-recommendation { margin: 24px 0 40px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* Product details: all official photographs in a separate view */
.product-detail-dialog { width: min(880px, calc(100vw - 24px)); max-height: 92dvh; border: 0; padding: 0; color: var(--ink); background: var(--paper, #f6f3ed); }
.product-detail-dialog::backdrop { background: rgba(0,0,0,.65); }
.detail-toolbar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; background: #f6f3ed; border-bottom: 1px solid var(--line); }
.detail-toolbar h2 { margin: 0; font-size: 18px; line-height: 1.5; }
.detail-toolbar button { flex-shrink: 0; border: 0; background: none; padding: 10px 0; cursor: pointer; }
#productDetailContent { padding: 24px; }
.manufacturer-stage { position: relative; background: #fff; }
.manufacturer-main { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.manufacturer-main img { display: block; width: 100%; height: min(58dvh, 540px); object-fit: contain; }
.manufacturer-prev, .manufacturer-next { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid #ddd; background: rgba(255,255,255,.9); color: #243d34; font-size: 28px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.manufacturer-prev { left: 8px; } .manufacturer-next { right: 8px; }
.manufacturer-count { text-align: center; margin: 10px 0; font-size: 12px; }
.manufacturer-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; }
.manufacturer-thumbs button { flex: 0 0 64px; width: 64px; height: 76px; padding: 3px; border: 1px solid #ddd; background: #fff; cursor: pointer; }
.manufacturer-thumbs button[aria-pressed=true] { border: 2px solid var(--green); }
.manufacturer-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-dialog .product-options { margin-top: 28px; }
.product-detail-dialog .official-product-link { display: inline-block; margin-top: 20px; }
/* Clear prices and quantity controls */
.setup-promotion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.setup-promotion del { font-size: clamp(25px, 4vw, 40px); opacity: .7; }
.setup-promotion del small { display: block; font-size: 12px; line-height: 1.4; text-decoration: none; }
.setup-promotion > span { font-size: 24px; }
.setup-promotion strong { font-size: clamp(38px, 6vw, 58px); }
.clear-cost .cost-step { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); }
.clear-cost .cost-step p { margin: 5px 0; font-size: 18px; line-height: 1.6; }
.clear-cost > span { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.clear-cost > span small { font-size: 11px; }
.quantity-row { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.quantity-row .quantity-control { width: 148px; }
.quantity-row .quantity-label { display: block; font-size: 10px; margin-bottom: 6px; }
.quantity-stepper { display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; align-items: center; border: 1px solid rgba(255,255,255,.35); }
.quantity-stepper button { padding: 0; width: 40px; height: 44px; border: 0; color: inherit; background: rgba(255,255,255,.08); font-size: 21px; cursor: pointer; }
.quantity-row .quantity-stepper input { width: 100%; min-width: 0; height: 44px; margin: 0; border: 0; border-radius: 0; padding: 0 2px; font-size: 24px; text-align: center; }
.quantity-stepper button:focus-visible, .quantity-stepper input:focus-visible { outline: 2px solid #dfba79; outline-offset: -2px; }
.quantity-stepper button:hover { background: rgba(255,255,255,.18); }
.process .process-title { font-size: clamp(22px, 5.6vw, 52px); }
.process-title span { display: block; white-space: nowrap; }
@media (max-width: 480px) {
  .detail-toolbar, #productDetailContent { padding: 14px; }
  .detail-toolbar h2 { font-size: 14px; }
  .quantity-row .quantity-control { width: 134px; }
  .quantity-stepper { grid-template-columns: 36px minmax(0,1fr) 36px; }
  .quantity-stepper button { width: 36px; }
  .quantity-row > div:first-child span { font-size: 10px; }
}

.price-table b .tax-note { display: inline; font-size: 10px; font-weight: 400; }

.free-option { display: inline-block; margin-left: 14px; padding: 7px 12px; border: 1px solid var(--green); border-radius: 2px; color: var(--green); font-size: 11px; letter-spacing: .04em; vertical-align: middle; }
.designer-copy .tag-color-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: 13px; line-height: 1.8; }
.tag-color-note b { color: #fff; }
.clear-cost .color-cost-note { display: block; margin-top: 12px; line-height: 1.8; }
@media (max-width: 480px) { .free-option { display: table; margin: 10px 0 0; } }

.storage-card { border-top: 5px solid #b8d3c0; }
.storage-card .eyebrow { color: var(--green); opacity: 1; }
.storage-card h3 { font-size: clamp(25px, 3vw, 34px); margin-top: 0; line-height: 1.5; }
.reorder-benefit { padding: 20px 0; margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reorder-benefit > span { display: block; font-size: 12px; color: var(--green); }
.reorder-benefit strong { display: block; margin-top: 6px; font-size: clamp(22px, 2.8vw, 30px); line-height: 1.6; }
.reorder-benefit em { display: inline-block; margin-left: 6px; font-size: clamp(38px, 4vw, 48px); font-style: normal; color: var(--green); }
.storage-card > .storage-lead { font-size: 17px; font-weight: 600; opacity: 1; }
.reorder-scenes { list-style: none; padding: 0; margin: 22px 0; }
.reorder-scenes li { padding: 8px 0 8px 16px; border-left: 2px solid #b8d3c0; margin: 8px 0; font-size: 13px; }

/* Keep the active thumbnail centered, including the first and last images. */
.manufacturer-thumbs { position: relative; }
.manufacturer-thumbs::before, .manufacturer-thumbs::after { content: ""; flex: 0 0 calc(50% - 40px); }
.american-mark-photo { cursor: default; }

/* Basic product card after details moved into the modal. */
.basic-card .basic-visual { min-width: 0; }
@media (min-width: 701px) {
  .basic-card .basic-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 36px; row-gap: 12px; }
  .basic-visual > .product-gallery { grid-column: 1; grid-row: 1 / -1; min-width: 0; }
  .basic-visual > .product-top, .basic-visual > h3, .basic-visual > .product-summary, .basic-visual > .product-price-range { grid-column: 2; margin-top: 0; margin-bottom: 0; }
  .basic-card .product-gallery[data-product-slider] .product-photo { height: 360px; margin-top: 0; }
  .basic-card .mobile-product-details { margin-top: 24px; }
}
@media (max-width: 700px) {
  .basic-card .basic-visual { display: block; }
}

/* Two-column process layout: equal insets, no dangling vertical dividers. */
@media (min-width: 601px) and (max-width: 900px) {
  .process .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 0; }
  .process .steps li, .process .steps li:not(:first-child) { min-width: 0; min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .process .steps h3 { margin: 24px 0 8px; }
}

/* American cotton: material first, neck mark as a small finishing detail. */
.american-cotton-story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 32px; align-items: center; padding: 28px 30px; background: linear-gradient(110deg, #eef3f6, #fffdfa); border-bottom: 1px solid var(--line); }
.american-fabric-photo { margin: 0; min-width: 0; }
.american-fabric-photo img { width: 100%; height: 230px; display: block; object-fit: cover; }
.american-fabric-photo figcaption { font-size: 10px; margin-top: 6px; color: var(--green); }
.american-cotton-copy h3 { font-size: clamp(22px, 2.8vw, 32px); line-height: 1.5; margin: 0 0 12px; letter-spacing: -.03em; }
.american-cotton-copy p { margin: 0; font-size: 13px; line-height: 1.9; color: rgba(18,35,31,.75); }
.cotton-source { display: inline-block; margin-top: 12px; font-size: 10px; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.american-mark-aside { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.american-mark-aside img { width: 108px; height: 76px; object-fit: contain; flex-shrink: 0; }
.american-mark-aside p { margin: 0; font-size: 11px; color: rgba(18,35,31,.7); line-height: 1.8; }
.american-mark-aside b { font-weight: 600; color: var(--ink); }
@media (max-width: 700px) {
  .american-cotton-story { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .american-fabric-photo img { height: 190px; }
  .american-mark-aside { gap: 12px; align-items: flex-start; }
  .american-mark-aside img { width: 78px; height: 60px; }
}

.organic-cotton-story { background: linear-gradient(110deg, #edf1e5, #fffdfa); }
.organic-cotton-story .american-fabric-photo img { object-fit: contain; background: #efefec; }
.setup-promotion { column-gap: 10px; row-gap: 6px; }
.setup-promotion del { white-space: nowrap; }
.setup-promotion .setup-tax-inline { display: inline; font-size: 11px; line-height: 1; opacity: .7; }

.setup-promotion .setup-original { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }

/* Place the service tagline alongside the header wordmark. */
.site-header .brand { gap: 14px; }
.header-tagline { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; line-height: 1.7; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 600px) {
  .site-header .brand { gap: 8px; }
  .site-header .brand-logo { width: 88px; }
  .header-tagline { font-size: 10px; line-height: 1.6; }
}

.organic-cotton-story .american-fabric-photo img { object-fit: cover; object-position: center; }

/* Organic material introduction without a photograph. */
.organic-cotton-story { display: block; }
.organic-cotton-story .american-cotton-copy { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.organic-cotton-story .american-cotton-copy h3 { margin-bottom: 0; }
@media (max-width: 700px) {
  .organic-cotton-story .american-cotton-copy { display: block; }
  .organic-cotton-story .american-cotton-copy h3 { margin-bottom: 12px; }
}
