:root {
  --cts-ink: #18201a;
  --cts-muted: #5f675d;
  --cts-soft: #f4f0e7;
  --cts-paper: #fffaf0;
  --cts-line: rgba(24, 32, 26, 0.14);
  --cts-green: #315640;
  --cts-green-deep: #173725;
  --cts-coral: #d96f52;
  --cts-yellow: #f1c96b;
  --cts-shadow: 0 18px 60px rgba(24, 32, 26, 0.12);
}

* {
  box-sizing: border-box;
}

body.cts-theme {
  margin: 0;
  color: var(--cts-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.cts-theme a:not(.pawfy-btn):not(.ai-dtc-brand-logo) {
  color: inherit;
}

.cts-theme img {
  max-width: 100%;
  height: auto;
}

.admin-bar .ai-dtc-brand-header {
  top: 32px;
}

.ai-dtc-brand-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(31, 42, 49, .08);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.ai-dtc-brand-header.is-scrolled {
  box-shadow: 0 10px 35px rgba(24, 32, 26, 0.08);
}

.ai-dtc-brand-announcement {
  padding: 8px 18px;
  color: #fff;
  background: #0d0d0d;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.02em;
}

.ai-dtc-brand-announcement b,
.ai-dtc-brand-announcement strong {
  color: #a975ff;
}

.ai-dtc-brand-header__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ai-dtc-brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: #1f2a31;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -.02em;
}

.ai-dtc-brand-logo img {
  max-height: 42px;
  width: auto;
  display: block;
}

.ai-dtc-brand-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-dtc-brand-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: #44525b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.ai-dtc-brand-nav a:hover,
.ai-dtc-brand-nav a:focus-visible {
  color: #1f2a31;
  background: rgba(31, 42, 49, .06);
  outline: none;
}

.ai-dtc-brand-footer {
  margin-top: 0;
  padding: 56px 0 28px;
  color: #e2e8f0;
  background: #0f172a;
}

.ai-dtc-brand-footer__grid,
.ai-dtc-brand-footer__bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ai-dtc-brand-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(auto-fit, minmax(140px, 0.7fr));
  gap: 40px;
}

.ai-dtc-brand-footer__intro p,
.ai-dtc-brand-footer__column a,
.ai-dtc-brand-footer__bottom {
  color: #94a3b8;
}

.ai-dtc-brand-footer .ai-dtc-brand-logo {
  color: #fff;
}

.ai-dtc-brand-footer__column h2 {
  margin: 0 0 16px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ai-dtc-brand-footer__column a {
  display: block;
  margin-top: 8px;
  text-decoration: none;
  transition: color .2s;
}

.ai-dtc-brand-footer__column a:hover {
  color: #fff;
}

.ai-dtc-brand-footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}

.ai-dtc-brand-payment {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 6px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.cts-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.cts-page__article {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--cts-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--cts-shadow);
}

.cts-page__article h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.95;
}

.cts-page__content {
  color: var(--cts-muted);
  font-size: 18px;
  line-height: 1.7;
}

.cts-page__content h2,
.cts-page__content h3 {
  color: var(--cts-ink);
}

.cts-page__content a {
  color: var(--cts-green);
  font-weight: 800;
}

.cts-home {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0) 0%, rgba(244, 240, 231, 0.88) 100%),
    var(--cts-paper);
}

.cts-home-hero,
.cts-home-section,
.cts-home-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.cts-home-hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(44px, 7vw, 96px) 0;
}

.cts-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--cts-coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cts-home-hero h1,
.cts-home-section h2,
.cts-home-cta h2 {
  margin: 0;
  color: var(--cts-green-deep);
  font-weight: 950;
  letter-spacing: 0;
}

.cts-home-hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.88;
}

.cts-home-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--cts-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

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

.cts-home-hero__actions {
  margin-top: 32px;
}

.cts-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--cts-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.cts-btn--primary {
  color: #fffaf0;
  border-color: var(--cts-green);
  background: var(--cts-green);
}

.cts-btn--secondary {
  color: var(--cts-green-deep);
  background: rgba(255, 255, 255, 0.58);
}

.cts-home-hero__proof {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.cts-home-hero__proof span,
.cts-home-band span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--cts-line);
  border-radius: 999px;
  color: var(--cts-muted);
  background: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 800;
}

.cts-home-hero__media {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--cts-line);
  border-radius: 8px;
  overflow: hidden;
  background: #f0d985;
  box-shadow: var(--cts-shadow);
}

.cts-home-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.cts-home-hero__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 220px;
  padding: 16px;
  border-radius: 8px;
  color: var(--cts-green-deep);
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 12px 34px rgba(24, 32, 26, 0.18);
}

.cts-home-hero__badge strong,
.cts-home-hero__badge span {
  display: block;
}

.cts-home-hero__badge strong {
  font-size: 24px;
}

.cts-home-band {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 18px 16px;
  overflow-x: auto;
  border-block: 1px solid var(--cts-line);
  background: rgba(49, 86, 64, 0.06);
}

.cts-home-band span {
  min-width: max-content;
}

.cts-home-section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.cts-home-section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 5vw, 72px);
}

.cts-home-section h2,
.cts-home-cta h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
}

.cts-home-benefits,
.cts-product-grid {
  display: grid;
  gap: 16px;
}

.cts-home-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cts-home-benefits article,
.cts-product-card,
.cts-home-cta {
  border: 1px solid var(--cts-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 42px rgba(24, 32, 26, 0.08);
}

.cts-home-benefits article {
  padding: 22px;
}

.cts-home-benefits h3,
.cts-product-card h3 {
  margin: 0 0 10px;
  color: var(--cts-green-deep);
  font-size: 21px;
}

.cts-home-benefits p,
.cts-product-card p,
.cts-home-cta p {
  margin: 0;
  color: var(--cts-muted);
  line-height: 1.55;
}

.cts-home-section__header {
  justify-content: space-between;
  margin-bottom: 28px;
}

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

.cts-product-card {
  overflow: hidden;
}

.cts-product-card a {
  display: block;
  height: 100%;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.cts-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--cts-soft);
}

.cts-product-card span {
  display: inline-flex;
  margin-top: 14px;
  color: var(--cts-coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cts-product-card strong {
  display: inline-flex;
  margin-top: 16px;
  color: var(--cts-green-deep);
  font-size: 18px;
}

.cts-home-cta {
  margin-bottom: clamp(64px, 9vw, 118px);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
}

.cts-home-cta p {
  max-width: 680px;
  margin: 18px auto 26px;
  font-size: 18px;
}

/* Hamburger Menu */
.ai-dtc-brand-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.ai-dtc-brand-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cts-ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.ai-dtc-brand-header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ai-dtc-brand-header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.ai-dtc-brand-header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.ai-dtc-brand-header__nav-wrap {
  display: flex;
}

/* Cart icon */
.ai-dtc-brand-header__cart {
  display: flex;
  align-items: center;
  color: var(--cts-ink);
  text-decoration: none;
  position: relative;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.ai-dtc-brand-header__cart-count {
  position: absolute;
  top: 2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #d34646;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

@media (max-width: 768px) {
  .ai-dtc-brand-header__hamburger {
    display: flex;
  }

  .ai-dtc-brand-header__nav-wrap {
    display: none;
    width: 100%;
    padding: 0 0 16px;
  }

  .ai-dtc-brand-header__nav-wrap.is-open {
    display: block;
  }

  .ai-dtc-brand-nav {
    flex-direction: column;
    gap: 0;
  }

  .ai-dtc-brand-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--cts-line);
    border-radius: 0;
  }

  .ai-dtc-brand-nav a:last-child {
    color: #fffaf0;
    background: var(--cts-green);
    text-align: center;
    border-bottom: none;
    border-radius: 999px;
    padding: 10px 12px;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .admin-bar .ai-dtc-brand-header {
    top: 46px;
  }

  .ai-dtc-brand-header__inner {
    min-height: 66px;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .ai-dtc-brand-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .ai-dtc-brand-nav a {
    white-space: nowrap;
  }

  .ai-dtc-brand-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cts-home-hero,
  .cts-home-section--split {
    grid-template-columns: 1fr;
  }

  .cts-home-hero {
    min-height: auto;
  }

  .cts-home-benefits,
  .cts-product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .ai-dtc-brand-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .cts-home-benefits,
  .cts-product-grid {
    grid-template-columns: 1fr;
  }

  .cts-home-hero__media,
  .cts-home-hero__media img {
    min-height: 360px;
  }
}
