:root {
  color-scheme: light only;
  --k-bg: #f4f5f7;
  --k-surface: #ffffff;
  --k-ink: #17171b;
  --k-muted: #686b73;
  --k-border: #e2e4e8;
  --k-brand: #d62d92;
  --k-brand-hover: #b92079;
  --k-cyan: #009fc7;
  --k-cyan-soft: #e6f7fb;
  --k-success: #16794c;
  --k-radius: 8px;
  --bg-color: var(--k-bg) !important;
  --bg-color-light: var(--k-bg) !important;
  --bg-color-dark: var(--k-bg) !important;
  --bg-color-accent: var(--k-surface) !important;
  --text-color: var(--k-ink) !important;
  --text-color-strong: var(--k-ink) !important;
  --link-color: var(--k-brand) !important;
  --accent-color: var(--k-brand) !important;
  --button-bg-color: var(--k-brand) !important;
  --button-hover-bg-color: var(--k-brand-hover) !important;
  --button-text-color: #ffffff !important;
}

html {
  background: var(--k-bg);
}

body,
button,
input,
select,
textarea {
  font-family: Arial, "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

body,
main.maincontent,
.app-shop,
.content {
  background: var(--k-bg) !important;
  color: var(--k-ink) !important;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--k-brand);
}

img {
  max-width: 100%;
}

.maincontent > .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.filters,
.filters-toggle-wrapper,
#filters-toggle-link,
#filters-toggle-link1,
.flyout-nav.category-btn-item,
.compare,
.bullets,
.banner,
#globalnav,
.globalheader .apps,
#compare-leash {
  display: none !important;
}

/* Header */
.k-header {
  position: relative;
  z-index: 30;
  background: var(--k-surface);
  border-bottom: 1px solid var(--k-border);
}

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

.k-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--k-ink);
  text-decoration: none;
}

.k-logo img {
  display: block;
  width: 180px;
  height: auto;
  max-height: 49px;
  object-fit: contain;
}

.k-search {
  position: relative;
  min-width: 0;
}

.k-search .k-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #777b84;
  transform: translateY(-50%);
  pointer-events: none;
}

.k-search input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1px solid #cfd2d8;
  border-radius: var(--k-radius);
  background: #f8f9fa;
  color: var(--k-ink);
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.k-search input:focus {
  border-color: var(--k-cyan);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 159, 199, 0.12);
}

.k-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--k-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.k-cart:hover {
  color: var(--k-brand);
}

.k-cart .k-icon {
  flex: 0 0 auto;
}

.k-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--k-brand);
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
  box-sizing: border-box;
}

.k-badge:empty {
  display: none;
}

.k-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(1180px, calc(100% - 32px));
  min-height: 44px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.k-nav::-webkit-scrollbar {
  display: none;
}

.k-nav a {
  flex: 0 0 auto;
  padding: 13px 0 11px;
  border-bottom: 2px solid transparent;
  color: var(--k-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.k-nav a:hover {
  border-bottom-color: var(--k-brand);
  color: var(--k-brand);
}

.k-nav__aside {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--k-muted);
  font-size: 13px;
}

@media (min-width: 900px) {
  .k-header {
    position: sticky;
    top: 0;
  }
}

@media (max-width: 720px) {
  .k-header__main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    width: calc(100% - 24px);
    padding: 10px 0;
  }

  .k-logo img {
    width: 152px;
  }

  .k-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .k-search input {
    height: 44px;
  }

  .k-cart__label {
    display: none;
  }

  .k-nav {
    gap: 22px;
    width: calc(100% - 24px);
    min-height: 40px;
  }

  .k-nav a {
    padding: 11px 0 9px;
    font-size: 13px;
  }

  .k-nav__aside {
    display: none;
  }
}

/* Home */
.k-home {
  padding: 0 0 40px;
}

.k-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 16px 26px;
}

.k-hero__copy {
  max-width: 650px;
}

.k-hero__eyebrow,
.k-section-heading__eyebrow,
.k-pdp__eyebrow {
  margin-bottom: 8px;
  color: var(--k-brand);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.k-hero__title {
  margin: 0;
  color: var(--k-ink);
  font-size: 38px;
  line-height: 1.08;
  font-weight: 800;
}

.k-hero__lead {
  max-width: 580px;
  margin: 12px 0 0;
  color: var(--k-muted);
  font-size: 17px;
  line-height: 1.5;
}

.k-hero__facts {
  display: grid;
  gap: 9px;
  min-width: 230px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #44474f;
  font-size: 13px;
}

.k-hero__facts li {
  position: relative;
  padding-left: 24px;
}

.k-hero__facts li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--k-cyan-soft);
  color: var(--k-cyan);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.k-entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 30px;
}

.k-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 16px 18px;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: var(--k-surface);
  color: var(--k-ink);
  text-decoration: none;
  box-sizing: border-box;
}

.k-entry:hover {
  border-color: #c7cbd2;
  box-shadow: 0 8px 22px rgba(23, 23, 27, 0.06);
}

.k-entry__size {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  width: 74px;
  height: 64px;
  border-radius: 50%;
  background: var(--k-cyan-soft);
  color: #087f9c;
  font-size: 17px;
  font-weight: 800;
  line-height: 64px;
  white-space: nowrap;
}

.k-entry:nth-child(2) .k-entry__size {
  background: #fde9f5;
  color: var(--k-brand);
}

.k-entry__size small {
  margin-left: 2px;
  font-size: 10px;
}

.k-entry__copy {
  min-width: 0;
}

.k-entry__copy strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.k-entry__copy > span {
  display: block;
  margin-top: 5px;
  color: var(--k-muted);
  font-size: 13px;
  line-height: 1.35;
}

.k-entry__arrow {
  color: var(--k-muted);
  font-size: 22px;
}

.k-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px 4px;
}

.k-section-title {
  margin: 0;
  color: var(--k-ink);
  font-size: 25px;
  line-height: 1.2;
}

.k-section-heading__count {
  padding-bottom: 3px;
  color: var(--k-muted);
  font-size: 13px;
}

.k-home-feed {
  position: relative;
}

.k-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  margin: 0;
  padding: 14px 16px 24px;
  list-style: none;
}

.k-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: var(--k-surface);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.k-card:hover {
  border-color: #cdd0d6;
  box-shadow: 0 10px 24px rgba(23, 23, 27, 0.07);
  transform: translateY(-2px);
}

.k-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f1f2f4;
  text-align: center;
}

.k-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 200ms ease;
}

.k-card:hover .k-card__media img {
  transform: scale(1.025);
}

.k-card__body {
  display: flex;
  min-height: 176px;
  flex: 1;
  flex-direction: column;
  padding: 12px;
  box-sizing: border-box;
}

.k-card__price {
  color: var(--k-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.k-card__name {
  display: -webkit-box;
  min-height: 38px;
  margin-top: 6px;
  overflow: hidden;
  color: #36383e;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.k-card__name:hover {
  color: var(--k-brand);
}

.k-card__fit {
  margin-top: 8px;
  color: var(--k-muted);
  font-size: 12px;
  line-height: 1.3;
}

.k-card__action {
  margin-top: auto;
  padding-top: 12px;
}

.k-card__action form {
  margin: 0;
}

.k-card__button,
.k-card__button.button {
  display: inline-flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--k-brand) !important;
  border-radius: 6px;
  background: var(--k-brand) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.k-card__button:hover,
.k-card__button.button:hover {
  border-color: var(--k-brand-hover) !important;
  background: var(--k-brand-hover) !important;
}

.k-card__button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.k-card__button--added,
.k-card__button--added.button {
  border-color: #bee7d3 !important;
  background: #e7f7ef !important;
  color: var(--k-success) !important;
}

.k-card__oos {
  min-height: 40px;
  padding: 11px 8px;
  border-radius: 6px;
  background: #eceef1;
  color: var(--k-muted);
  font-size: 13px;
  text-align: center;
  box-sizing: border-box;
}

.k-feed-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}

.k-feed-status {
  padding: 14px 16px;
  color: var(--k-muted);
  font-size: 14px;
  text-align: center;
}

.k-feed-more {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #cfd2d8;
  border-radius: 6px;
  background: var(--k-surface);
  color: var(--k-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.k-feed-more:hover {
  border-color: var(--k-brand);
  color: var(--k-brand);
}

.k-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 16px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--k-cyan);
  background: var(--k-cyan-soft);
}

.k-service strong,
.k-service span {
  display: block;
}

.k-service strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.k-service span {
  color: #4f6268;
  font-size: 13px;
}

.k-service a {
  flex: 0 0 auto;
  color: #087f9c;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .k-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .k-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

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

@media (max-width: 640px) {
  .k-hero {
    gap: 16px;
    padding: 26px 12px 20px;
  }

  .k-hero__title {
    font-size: 29px;
  }

  .k-hero__lead {
    font-size: 15px;
  }

  .k-hero__facts {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .k-entries {
    grid-template-columns: 1fr;
    padding: 0 12px 24px;
  }

  .k-entry {
    min-height: 88px;
    padding: 12px;
  }

  .k-entry__size {
    width: 64px;
    height: 56px;
    font-size: 15px;
    line-height: 56px;
  }

  .k-section-heading {
    padding-right: 12px;
    padding-left: 12px;
  }

  .k-section-title {
    font-size: 22px;
  }

  .k-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px 8px 20px;
  }

  .k-card__body {
    min-height: 182px;
    padding: 10px;
  }

  .k-card__price {
    font-size: 17px;
  }

  .k-card__name {
    font-size: 13px;
  }

  .k-card__fit {
    font-size: 11px;
  }

  .k-card__button,
  .k-card__button.button {
    min-height: 38px;
    font-size: 13px;
  }

  .k-service {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 16px 8px 0;
    padding: 16px;
  }
}

/* Product page */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  overflow-x: auto;
  color: var(--k-muted);
  font-size: 13px;
  white-space: nowrap;
}

.breadcrumbs a {
  color: var(--k-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--k-brand);
}

.k-pdp {
  max-width: none;
  margin: 0 auto;
  padding: 4px 16px 44px;
}

.k-pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.k-pdp__photo {
  display: flex;
  min-height: 520px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--k-radius);
  background: #edeff2;
  text-align: center;
}

.k-pdp__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 700px;
  object-fit: contain;
}

.k-pdp__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}

.k-pdp__thumbs a {
  flex: 0 0 auto;
}

.k-pdp__thumbs img {
  width: 68px;
  height: 68px;
  border: 1px solid var(--k-border);
  border-radius: 6px;
  background: #ffffff;
  object-fit: contain;
}

.k-pdp__buy {
  position: sticky;
  top: 134px;
  padding: 22px;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: var(--k-surface);
}

.k-pdp__buy h1 {
  margin: 0 0 18px;
  color: var(--k-ink);
  font-size: 27px;
  line-height: 1.24;
}

.k-pdp__buy .s-price,
.k-pdp__buy .price {
  color: var(--k-ink);
  font-size: 28px;
  font-weight: 800;
}

.k-pdp__buy .compare-at-price {
  color: var(--k-muted);
}

.k-pdp__buy .add2cart {
  margin-top: 18px;
}

.k-pdp__buy .add2cart button[type="submit"],
.k-pdp__buy .add2cart .gotocart-btn {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--k-brand) !important;
  border-radius: 6px !important;
  background: var(--k-brand) !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.k-pdp__buy .add2cart button[type="submit"]:hover {
  border-color: var(--k-brand-hover) !important;
  background: var(--k-brand-hover) !important;
}

.k-pdp__buy input[type="number"],
.k-pdp__buy input[type="text"],
.k-pdp__buy select {
  min-height: 42px;
  border: 1px solid #cfd2d8 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: var(--k-ink) !important;
}

.k-pdp__benefits {
  display: grid;
  gap: 13px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--k-border);
}

.k-pdp__benefits p {
  position: relative;
  margin: 0;
  padding-left: 24px;
}

.k-pdp__benefits p::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--k-cyan);
  content: "✓";
  font-weight: 900;
}

.k-pdp__benefits strong,
.k-pdp__benefits span {
  display: block;
}

.k-pdp__benefits strong {
  color: var(--k-ink);
  font-size: 13px;
}

.k-pdp__benefits span {
  margin-top: 2px;
  color: var(--k-muted);
  font-size: 12px;
  line-height: 1.35;
}

.k-pdp__desc {
  max-width: 780px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--k-border);
  color: #3f4148;
  font-size: 15px;
  line-height: 1.65;
}

.k-pdp__desc h2 {
  margin: 0 0 14px;
  color: var(--k-ink);
  font-size: 21px;
}

.k-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.k-features li {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--k-border);
}

.k-features .name {
  color: var(--k-muted);
}

@media (max-width: 800px) {
  .breadcrumbs {
    padding: 12px;
  }

  .k-pdp {
    padding: 0 12px 32px;
  }

  .k-pdp__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .k-pdp__photo {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .k-pdp__buy {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .k-pdp__buy h1 {
    font-size: 23px;
  }
}

/* Cart and footer */
.k-cart-page,
.k-cart-empty {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
}

.k-cart-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--k-border);
}

.k-cart-total {
  margin-top: 16px;
}

.k-cart-cta {
  margin-top: 20px;
}

.k-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 0;
  padding: 28px max(16px, calc((100% - 1168px) / 2));
  border-top: 1px solid var(--k-border);
  background: #ffffff;
  color: var(--k-muted);
  font-size: 13px;
}

.k-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.k-footer a {
  color: #4c4f57;
  text-decoration: none;
}

.k-footer a:hover {
  color: var(--k-brand);
}

@media (max-width: 640px) {
  .k-footer {
    flex-direction: column;
    padding: 22px 12px;
  }
}

/* Cookie notice */
#cookie-agreement {
  right: 12px !important;
  bottom: 12px !important;
  left: 12px !important;
  width: auto !important;
  max-width: 620px;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius) !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(23, 23, 27, 0.14);
  color: var(--k-ink) !important;
}

#cookie-agreement .cookie-agreement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px !important;
}

#cookie-agreement .cookie-agreement-content .text-gray {
  color: var(--k-muted) !important;
  font-size: 12px !important;
  line-height: 1.35;
}

#cookie-agreement .cookie-agreement-content button {
  flex: 0 0 auto;
  min-height: 34px;
  margin: 0 !important;
  padding: 7px 14px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  #cookie-agreement {
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
  }

  #cookie-agreement .cookie-agreement-content {
    padding: 10px 12px !important;
  }

  #cookie-agreement .cookie-agreement-content .text-gray {
    font-size: 11px !important;
  }
}

/* Default controls that remain inside Shop-Script templates */
.button,
.wa-submit-button,
input[type="submit"].button {
  border-color: var(--k-brand) !important;
  border-radius: 6px !important;
  background: var(--k-brand) !important;
  color: #ffffff !important;
}

.button:hover,
.wa-submit-button:hover {
  border-color: var(--k-brand-hover) !important;
  background: var(--k-brand-hover) !important;
}

.wa-hide {
  display: none !important;
}
