/*
Theme Name: TailSupply Wholesale
Theme URI: https://example.local/
Author: Codex
Description: A WordPress wholesale pet-supplies storefront theme inspired by large-catalog B2B pet ecommerce layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: tailsupply-wholesale
*/

:root {
  --tsw-ink: #1f2528;
  --tsw-ink-soft: #384246;
  --tsw-muted: #6f777a;
  --tsw-line: #dedede;
  --tsw-panel: #f7f7f5;
  --tsw-paper: #ffffff;
  --tsw-header: #23282b;
  --tsw-header-2: #30373b;
  --tsw-accent: #d71920;
  --tsw-accent-dark: #ad1419;
  --tsw-gold: #c59b4b;
  --tsw-blue: #2f6f8f;
  --tsw-green: #3f7452;
  --tsw-radius: 6px;
  --tsw-shadow: 0 12px 28px rgba(31, 37, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--tsw-ink);
  background: var(--tsw-paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.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;
}

.site-wrap {
  min-height: 100vh;
  background: #fff;
}

.utility-bar {
  display: flex;
  justify-content: center;
  background: #181d20;
  color: #f5f5f5;
  font-size: 13px;
}

.utility-bar__inner {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 8px 0;
}

.utility-bar__links {
  display: flex;
  gap: 14px;
}

.header-main {
  background: var(--tsw-header);
  color: #fff;
}

.header-main__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tsw-accent);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.brand__logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
}

.brand__text {
  display: grid;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand__name {
  font-size: 20px;
  font-weight: 800;
}

.brand__sub {
  color: #cfd5d7;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.search-form {
  display: flex;
  height: 44px;
  min-width: 0;
}

.search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 0 16px;
  border-radius: var(--tsw-radius) 0 0 var(--tsw-radius);
}

.search-form button,
.button-primary,
.newsletter button {
  border: 0;
  background: var(--tsw-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}

.search-form button {
  width: 56px;
  border-radius: 0 var(--tsw-radius) var(--tsw-radius) 0;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--tsw-radius);
}

.button-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--tsw-line);
  border-radius: var(--tsw-radius);
  background: #fff;
  color: var(--tsw-ink);
  font-weight: 700;
}

.button-primary:hover,
.search-form button:hover,
.newsletter button:hover {
  background: var(--tsw-accent-dark);
}

.button-primary:active,
.search-form button:active,
.newsletter button:active {
  transform: translateY(1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  color: #e6ebed;
  font-size: 14px;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: var(--tsw-header-2);
  border-radius: var(--tsw-radius);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--tsw-radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nav-bar {
  background: var(--tsw-header-2);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-bar__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.menu,
.sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu {
  display: flex;
  align-items: stretch;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  font-weight: 700;
  font-size: 14px;
}

.menu > li:hover > a,
.menu > li:focus-within > a {
  background: rgba(255, 255, 255, 0.08);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  width: 250px;
  background: #fff;
  color: var(--tsw-ink);
  border: 1px solid var(--tsw-line);
  box-shadow: var(--tsw-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.menu > li:hover .sub-menu,
.menu > li:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--tsw-line);
  color: var(--tsw-ink-soft);
}

.sub-menu a:hover {
  color: var(--tsw-accent);
  background: #fbfbfb;
}

.nav-quick {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #dce1e3;
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #202629;
}

.hero__slides {
  position: relative;
  height: clamp(420px, 45vw, 560px);
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 16, 18, 0.7), rgba(12, 16, 18, 0.2) 58%, rgba(12, 16, 18, 0.58));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  color: #fff;
}

.hero__content--right {
  display: grid;
  justify-items: end;
  text-align: right;
}

.hero__content-inner {
  max-width: 520px;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  font-weight: 800;
}

.hero p {
  max-width: 520px;
  margin: 0 0 24px;
  color: #f0f2f3;
  font-size: clamp(16px, 1.6vw, 20px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button-secondary--light {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
}

.button-secondary--light:hover {
  border-color: #fff;
  background: #fff;
  color: var(--tsw-ink);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin-top: 28px;
}

.hero__metrics span {
  display: grid;
  gap: 4px;
  min-height: 70px;
  align-content: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.hero__metrics strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero__dot.is-active {
  background: #fff;
}

.section {
  padding: 44px 0;
}

.section--compact {
  padding: 26px 0;
}

.section--muted {
  background: var(--tsw-panel);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--tsw-muted);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--tsw-line);
  background: #f9f9f8;
}

.highlight {
  min-height: 96px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-right: 1px solid var(--tsw-line);
}

.highlight:last-child {
  border-right: 0;
}

.highlight__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--tsw-accent);
  border: 1px solid #e8e8e8;
  font-size: 20px;
}

.highlight strong {
  display: block;
  font-size: 15px;
}

.highlight span {
  color: var(--tsw-muted);
  font-size: 13px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.promo-card {
  position: relative;
  min-height: 250px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--tsw-radius);
  color: #fff;
  background: #222;
}

.promo-card--small {
  min-height: 180px;
}

.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.7));
}

.promo-card__body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.promo-card h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.08;
}

.promo-card p {
  max-width: 460px;
  margin: 0 0 18px;
  color: #f3f3f3;
}

.home-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 20px;
}

.home-feature__main,
.home-feature__side a {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--tsw-radius);
  background: #202528;
  color: #fff;
}

.home-feature__main img,
.home-feature__side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.home-feature__main:hover img,
.home-feature__side a:hover img {
  transform: scale(1.04);
}

.home-feature__main::after,
.home-feature__side a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.72));
}

.home-feature__main span,
.home-feature__side span {
  position: relative;
  z-index: 1;
}

.home-feature__main span {
  display: grid;
  gap: 8px;
  max-width: 520px;
  padding: 30px;
}

.home-feature__main small {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-feature__main strong {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
}

.home-feature__main em {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
}

.home-feature__side {
  display: grid;
  gap: 20px;
}

.home-feature__side a {
  min-height: 205px;
}

.home-feature__side span {
  padding: 22px;
  font-size: 22px;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-grid--home {
  grid-template-columns: repeat(3, 1fr);
}

.category-card {
  display: grid;
  border: 1px solid var(--tsw-line);
  border-radius: var(--tsw-radius);
  overflow: hidden;
  background: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tsw-shadow);
  border-color: #d0d0d0;
}

.category-card__image {
  aspect-ratio: 1 / 1;
  background: #f2f2f0;
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__title {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-weight: 700;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.brand-logo {
  min-height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tsw-line);
  background: #fff;
  border-radius: var(--tsw-radius);
  color: var(--tsw-ink-soft);
  text-align: center;
  font-weight: 800;
}

.brand-logo span {
  display: block;
  color: var(--tsw-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-grid--home {
  grid-template-columns: repeat(4, 1fr);
}

.home-action-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.home-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.home-process__grid > div {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--tsw-line);
  border-radius: var(--tsw-radius);
  background: #fff;
}

.home-process__grid strong {
  display: block;
  margin-bottom: 20px;
  color: var(--tsw-red);
  font-size: 13px;
  font-weight: 900;
}

.home-process__grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.home-process__grid p {
  margin: 0;
  color: var(--tsw-muted);
  line-height: 1.55;
}

.catalog-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px;
  background: var(--tsw-header);
  color: #fff;
  border-radius: var(--tsw-radius);
}

.catalog-band h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.catalog-band p {
  margin: 0;
  color: #dce1e3;
}

.site-footer {
  background: #202528;
  color: #dde4e6;
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 46px 0 36px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 9px;
}

.site-footer a {
  color: #c6ced1;
}

.site-footer a:hover {
  color: #fff;
}

.newsletter {
  display: flex;
  gap: 0;
  margin-top: 14px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border: 0;
  padding: 0 12px;
  border-radius: var(--tsw-radius) 0 0 var(--tsw-radius);
}

.newsletter button {
  width: 86px;
  border-radius: 0 var(--tsw-radius) var(--tsw-radius) 0;
}

.newsletter__status {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.newsletter__status.is-success {
  color: #7ae2a7;
}

.newsletter__status.is-error {
  color: #ff7d7d;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aeb8bc;
  font-size: 13px;
  padding: 18px 0;
}

.site-footer__bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.support-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.support-widget__toggle,
.support-widget__panel {
  pointer-events: auto;
}

.support-widget__toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--tsw-red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(13, 17, 19, 0.24);
  cursor: pointer;
}

.support-widget__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #45d483;
  box-shadow: 0 0 0 5px rgba(69, 212, 131, 0.2);
}

.support-widget__panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: 100%;
  max-height: min(680px, calc(100vh - 100px));
  overflow: auto;
  border: 1px solid rgba(14, 22, 26, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(13, 17, 19, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.support-widget.is-open .support-widget__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.support-widget__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: var(--tsw-ink);
  color: #fff;
}

.support-widget__header strong,
.support-widget__header span {
  display: block;
}

.support-widget__header strong {
  font-size: 18px;
}

.support-widget__header span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.support-widget__header button {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.support-widget__form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.support-widget__form label {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--tsw-ink);
  font-size: 13px;
  font-weight: 800;
}

.support-widget__form input,
.support-widget__form textarea {
  width: 100%;
  border: 1px solid #d8dde0;
  border-radius: 5px;
  padding: 11px 12px;
  color: var(--tsw-ink);
  font: inherit;
  font-weight: 500;
  resize: vertical;
}

.support-widget__form input:focus,
.support-widget__form textarea:focus {
  outline: 2px solid rgba(224, 18, 31, 0.24);
  border-color: var(--tsw-red);
}

.support-widget__status {
  min-height: 18px;
  margin: 0;
  color: var(--tsw-muted);
  font-size: 13px;
  line-height: 1.4;
}

.support-widget__status.is-success {
  color: #15834f;
}

.support-widget__status.is-error {
  color: var(--tsw-red);
}

.support-widget__submit {
  width: 100%;
}

.support-widget__quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-top: 1px solid #edf0f1;
  background: #edf0f1;
}

.support-widget__quick a {
  padding: 11px 14px;
  background: #f8f9f9;
  color: var(--tsw-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.page-content {
  padding: 44px 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--tsw-muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--tsw-ink-soft);
  font-weight: 700;
}

.product-page__heading h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

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

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--tsw-line);
  border-radius: var(--tsw-radius);
  background: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #d0d0d0;
  box-shadow: var(--tsw-shadow);
}

.product-card__image {
  aspect-ratio: 1 / 1;
  background: #f2f2f0;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.product-card__body strong {
  font-size: 17px;
}

.product-card__body span {
  color: var(--tsw-muted);
  font-size: 13px;
}

.product-card__body em {
  color: var(--tsw-accent);
  font-style: normal;
  font-weight: 800;
}

.product-card__sku {
  color: var(--tsw-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.1fr;
  gap: 42px;
  align-items: start;
}

.product-detail__image {
  overflow: hidden;
  border: 1px solid var(--tsw-line);
  border-radius: var(--tsw-radius);
  background: #f2f2f0;
}

.product-detail__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail__body h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.product-detail__summary {
  color: var(--tsw-ink-soft);
  font-size: 18px;
}

.product-detail__price {
  margin: 18px 0;
  color: var(--tsw-accent);
  font-size: 28px;
  font-weight: 800;
}

.product-detail__specs {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.product-detail__specs li {
  padding: 10px 12px;
  border: 1px solid var(--tsw-line);
  border-radius: var(--tsw-radius);
  background: var(--tsw-panel);
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.empty-state {
  max-width: 620px;
  padding: 38px;
  border: 1px solid var(--tsw-line);
  border-radius: var(--tsw-radius);
  background: var(--tsw-panel);
}

.entry-title {
  margin: 0 0 18px;
  font-size: 34px;
}

@media (max-width: 980px) {
  .utility-bar {
    display: none;
  }

  .header-main__inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    min-height: 74px;
  }

  .mobile-toggle {
    display: block;
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__logo {
    height: 42px;
  }

  .brand__sub,
  .header-actions,
  .nav-quick {
    display: none;
  }

  .search-form {
    grid-column: 1 / -1;
    order: 3;
    margin-bottom: 14px;
  }

  .nav-bar {
    display: none;
  }

  body.menu-open .nav-bar {
    position: fixed;
    inset: 74px 0 auto;
    z-index: 50;
    display: block;
    max-height: calc(100vh - 74px);
    overflow: auto;
  }

  .nav-bar__inner,
  .menu {
    display: block;
    width: 100%;
  }

  .menu > li > a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sub-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
  }

  .highlights,
  .category-grid,
  .product-grid,
  .brand-strip,
  .home-process__grid,
  .site-footer__top {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-feature__grid {
    grid-template-columns: 1fr;
  }

  .home-feature__main {
    min-height: 360px;
  }

  .home-feature__side {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .promo-grid,
  .catalog-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-main__inner,
  .container,
  .nav-bar__inner,
  .hero__content,
  .utility-bar__inner {
    width: min(100% - 24px, 1180px);
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .hero__slides {
    height: 470px;
  }

  .hero__content,
  .hero__content--right {
    justify-items: start;
    text-align: left;
  }

  .hero__slide::after {
    background: linear-gradient(180deg, rgba(12, 16, 18, 0.35), rgba(12, 16, 18, 0.84));
  }

  .section {
    padding: 34px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 8px;
  }

  .highlights,
  .category-grid,
  .product-grid,
  .brand-strip,
  .home-process__grid,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .hero__metrics span {
    min-height: 54px;
  }

  .home-feature__side {
    grid-template-columns: 1fr;
  }

  .home-feature__main,
  .home-feature__side a {
    min-height: 250px;
  }

  .home-feature__main span,
  .home-feature__side span {
    padding: 20px;
  }

  .highlight,
  .highlight:nth-child(2),
  .highlight:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--tsw-line);
  }

  .highlight:last-child {
    border-bottom: 0;
  }

  .promo-card,
  .promo-card--small {
    min-height: 220px;
  }

  .catalog-band {
    padding: 24px;
  }

  .site-footer__bottom .container {
    display: block;
  }

  .support-widget {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .support-widget__panel {
    bottom: 58px;
    max-height: calc(100vh - 82px);
  }
}

:root {
  --tsw-thumb-red: #c82c2c;
  --tsw-thumb-blue: #2c62c8;
  --tsw-thumb-olive: #69763b;
  --tsw-thumb-pink: #c95f95;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 30px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery__main {
  position: relative;
  min-height: 0;
  border: 1px solid var(--tsw-line);
  border-radius: var(--tsw-radius);
  background: #fff;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-gallery__label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  max-width: calc(100% - 32px);
  padding: 7px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tsw-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.product-gallery__slide.is-active {
  opacity: 1;
}

.product-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  background: #fff;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-gallery__thumb {
  padding: 0;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.product-gallery__thumb.is-active {
  border-color: var(--tsw-accent);
  box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.12);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9px;
  background: #fff;
}

.product-gallery__notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-gallery__notes span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #f7f8f8;
  color: var(--tsw-ink-soft);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.product-sidebar h1 {
  margin: 8px 0 10px;
  font-size: 44px;
  line-height: 1.08;
}

.product-trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.product-trustbar span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #e4e7e8;
  border-radius: 4px;
  background: #f7f8f8;
  color: var(--tsw-ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-option-block {
  margin-top: 16px;
}

.product-option-block h2,
.product-quote-box h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.product-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-color-list__option {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fff;
  color: var(--tsw-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.product-color-list__option:hover,
.product-color-list__option.is-active {
  border-color: var(--tsw-accent);
  box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.12);
}

.product-color-list__option:hover {
  transform: translateY(-1px);
}

.product-color-list__option i {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

.product-sidebar__panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fafafa;
}

.product-sidebar__panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.product-sidebar__panel--meta {
  display: grid;
  gap: 12px;
}

.product-sidebar__panel--meta div {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-sidebar__panel--meta div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-sidebar__panel--meta strong {
  font-size: 13px;
  text-transform: uppercase;
}

.product-sidebar__panel--meta span {
  color: var(--tsw-muted);
}

.product-purchase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.product-purchase-grid div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fff;
}

.product-purchase-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--tsw-accent);
  font-size: 12px;
  text-transform: uppercase;
}

.product-purchase-grid span {
  display: block;
  color: var(--tsw-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.product-quote-box {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid var(--tsw-accent);
  background: #fff8f8;
}

.product-quote-box p {
  margin: 0;
  color: var(--tsw-ink-soft);
}

.product-spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-spec-list li {
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #fff;
}

.product-sidebar .product-spec-list {
  gap: 7px;
}

.product-sidebar .product-spec-list li {
  padding: 8px 10px;
}

.product-spec-list--plain li {
  background: transparent;
}

.product-buyer-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #202528;
  color: #fff;
}

.product-buyer-strip__intro {
  display: grid;
  align-content: center;
}

.product-buyer-strip__intro span {
  color: #ff6a70;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-buyer-strip__intro h2 {
  margin: 8px 0 10px;
  font-size: 28px;
  line-height: 1.12;
}

.product-buyer-strip__intro p {
  margin: 0;
  color: #dce1e3;
}

.product-buyer-strip__details {
  display: grid;
  align-content: center;
  gap: 12px;
}

.product-buyer-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-buyer-meta div,
.product-buyer-strip .product-purchase-grid div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.product-buyer-meta strong,
.product-buyer-strip .product-purchase-grid strong {
  display: block;
  margin-bottom: 7px;
  color: #ff6a70;
  font-size: 12px;
  text-transform: uppercase;
}

.product-buyer-meta span,
.product-buyer-strip .product-purchase-grid span {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.product-buyer-strip .product-purchase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.product-detail-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.product-detail-copy__block {
  padding: 20px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fff;
}

.product-detail-copy__block h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.product-detail-copy__block p {
  margin: 0;
  color: var(--tsw-ink-soft);
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.product-feature-grid article {
  padding: 18px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fff;
}

.product-feature-grid h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.product-feature-grid p {
  margin: 0;
  color: var(--tsw-muted);
  font-size: 14px;
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  padding: 28px;
  background: #f7f7f5;
}

.product-story__media {
  border: 1px solid var(--tsw-line);
  background: #fff;
}

.product-story__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 22px;
}

.product-story__body span {
  color: var(--tsw-accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-story__body h2 {
  margin: 8px 0 12px;
  font-size: 34px;
  line-height: 1.12;
}

.product-story__body p {
  margin: 0 0 14px;
  color: var(--tsw-ink-soft);
}

.product-story__body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--tsw-ink-soft);
}

.product-detail-copy--wide {
  grid-template-columns: 1.05fr 0.95fr;
}

.product-detail-showcase {
  margin-top: 32px;
}

.product-detail-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-detail-showcase article {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fff;
}

.product-detail-showcase img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  background: #f7f7f5;
}

.product-detail-showcase article div {
  padding: 18px;
}

.product-detail-showcase h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.product-detail-showcase p {
  margin: 0;
  color: var(--tsw-muted);
  font-size: 14px;
}

.product-spec-table,
.product-customization,
.product-faq,
.product-wholesale-flow,
.related-products {
  margin-top: 32px;
}

.product-spec-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--tsw-line);
  background: #fff;
}

.product-spec-table th,
.product-spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--tsw-line);
  text-align: left;
  vertical-align: top;
}

.product-spec-table th {
  width: 30%;
  background: #f7f7f5;
  font-size: 13px;
  text-transform: uppercase;
}

.product-customization {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: 22px;
  align-items: stretch;
  padding: 26px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #f7f7f5;
}

.product-customization > div:first-child {
  display: grid;
  align-content: center;
}

.product-customization span {
  color: var(--tsw-accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-customization h2 {
  margin: 8px 0 12px;
  font-size: 34px;
  line-height: 1.12;
}

.product-customization p {
  margin: 0;
  color: var(--tsw-ink-soft);
}

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

.product-customization__grid article {
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #fff;
}

.product-customization__grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.product-faq__list {
  display: grid;
  gap: 10px;
}

.product-faq details {
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fff;
}

.product-faq summary {
  min-height: 54px;
  padding: 16px 18px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.product-faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--tsw-muted);
}

.product-wholesale-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-wholesale-flow div {
  padding: 20px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #202528;
  color: #fff;
}

.product-wholesale-flow strong {
  color: #f05a60;
  font-size: 13px;
}

.product-wholesale-flow h2 {
  margin: 8px 0;
  font-size: 20px;
}

.product-wholesale-flow p {
  margin: 0;
  color: #dce1e3;
}

.related-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-product {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--tsw-line);
  border-radius: 4px;
  background: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.related-product:hover {
  transform: translateY(-2px);
  box-shadow: var(--tsw-shadow);
}

.related-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f2f2f0;
}

.related-product strong {
  font-size: 17px;
}

.related-product span {
  color: var(--tsw-accent);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .product-layout,
  .product-detail-copy,
  .product-story,
  .product-feature-grid,
  .product-buyer-strip,
  .product-detail-showcase__grid,
  .product-customization,
  .product-customization__grid,
  .product-wholesale-flow,
  .related-products__grid {
    grid-template-columns: 1fr;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(5, minmax(56px, 1fr));
  }

  .product-buyer-meta,
  .product-buyer-strip .product-purchase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-sidebar h1,
  .product-story__body h2,
  .product-customization h2 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .product-gallery__main {
    aspect-ratio: 1 / 1;
  }

  .product-gallery__slide img,
  .product-gallery__thumb img {
    padding: 12px;
  }

  .product-gallery__notes,
  .product-purchase-grid,
  .product-buyer-meta,
  .product-buyer-strip .product-purchase-grid {
    grid-template-columns: 1fr;
  }

  .product-buyer-strip {
    padding: 18px;
  }

  .product-customization {
    padding: 20px;
  }

  .product-sidebar h1 {
    font-size: 30px;
  }

  .product-story__body h2,
  .product-customization h2 {
    font-size: 26px;
  }
}
