/*
 * Accepted retail storefront layer.
 * Loaded after legacy theme styles and limited to Kuklapups component classes.
 */

:root {
  color-scheme: light only;
  --k-bg: #f3f4f6;
  --k-surface: #ffffff;
  --k-surface-soft: #f7f8fa;
  --k-ink: #202124;
  --k-muted: #69717d;
  --k-border: #dde1e6;
  --k-brand: #d62d92;
  --k-brand-hover: #b92079;
  --k-cyan: #009fc7;
  --k-cyan-dark: #087f9c;
  --k-cyan-soft: #e6f7fb;
  --k-success: #16794c;
  --k-danger: #c83b55;
  --k-radius: 8px;
  --k-shadow: 0 10px 28px rgba(25, 30, 38, 0.08);
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

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

body {
  min-width: 320px;
  margin: 0;
  background: var(--k-bg) !important;
  color: var(--k-ink);
}

body.k-drawer-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 159, 199, 0.28);
  outline-offset: 2px;
}

.maincontent > .container {
  width: min(1320px, calc(100% - 32px)) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.content#page-content {
  min-height: 65vh;
}

.k-mobile-only,
.k-mobile-nav {
  display: none;
}

.k-icon {
  display: block;
  flex: 0 0 auto;
}

/* Header */

.k-header {
  position: sticky;
  z-index: 60;
  top: 0;
  border-bottom: 1px solid var(--k-border);
  background: rgba(255, 255, 255, 0.98);
}

.k-header__main {
  display: grid;
  width: min(1320px, calc(100% - 32px));
  min-height: 76px;
  grid-template-columns: 180px 116px minmax(300px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
}

.k-logo {
  display: flex;
  min-width: 0;
  align-items: center;
}

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

.k-catalog-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--k-brand);
  border-radius: 6px;
  background: var(--k-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.k-catalog-button:hover {
  border-color: var(--k-brand-hover);
  background: var(--k-brand-hover);
}

.k-grid-icon {
  display: grid;
  width: 18px;
  height: 18px;
  grid-template-columns: repeat(2, 6px);
  grid-template-rows: repeat(2, 6px);
  place-content: center;
  gap: 3px;
}

.k-grid-icon i {
  display: block;
  border: 1.7px solid currentColor;
  border-radius: 2px;
}

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

.k-search > .k-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 15px;
  color: #7b828c;
  transform: translateY(-50%);
  pointer-events: none;
}

.k-search input {
  width: 100%;
  height: 46px;
  padding: 0 54px 0 45px;
  border: 2px solid var(--k-cyan) !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: var(--k-ink) !important;
  font-size: 15px;
  box-sizing: border-box;
}

.k-search input:focus {
  box-shadow: 0 0 0 3px rgba(0, 159, 199, 0.12);
}

.k-search button {
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--k-cyan);
  color: #fff;
  cursor: pointer;
}

.k-search button:hover {
  background: var(--k-cyan-dark);
}

.k-header-actions {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.k-header-actions > a {
  position: relative;
  display: flex;
  min-width: 66px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border-radius: 6px;
  color: #626a75;
  font-size: 12px;
  text-decoration: none;
}

.k-header-actions > a:hover {
  background: var(--k-surface-soft);
  color: var(--k-brand);
}

.k-icon-badge {
  position: relative;
  display: inline-flex;
}

.k-icon-badge .k-badge {
  position: absolute;
  top: -9px;
  right: -11px;
}

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

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

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

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

.k-nav a,
.k-nav__aside {
  flex: 0 0 auto;
  font-size: 13px;
}

.k-nav a {
  padding: 12px 0 10px;
  border-bottom: 2px solid transparent;
  color: #505762;
  text-decoration: none;
}

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

.k-nav__aside {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--k-cyan-dark);
}

/* Catalog drawer */

.k-drawer-overlay {
  position: fixed;
  z-index: 109;
  inset: 0;
  background: rgba(19, 23, 29, 0.44);
  opacity: 0;
  transition: opacity 180ms ease;
}

.k-drawer-overlay.is-open {
  opacity: 1;
}

.k-drawer {
  position: fixed;
  z-index: 110;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(430px, 94vw);
  overflow-y: auto;
  background: #fff;
  box-shadow: 18px 0 50px rgba(18, 23, 31, 0.18);
  transform: translateX(-102%);
  transition: transform 180ms ease;
}

.k-drawer.is-open {
  transform: translateX(0);
}

.k-drawer__header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--k-border);
  background: #fff;
}

.k-drawer__header h2 {
  margin: 0;
  font-size: 24px;
}

.k-drawer__header button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #535b66;
  cursor: pointer;
}

.k-drawer__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.k-drawer-category {
  position: relative;
  display: grid;
  min-height: 94px;
  align-content: center;
  padding: 16px 52px 16px 18px;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: var(--k-surface);
  color: var(--k-ink);
  text-decoration: none;
}

.k-drawer-category:hover {
  border-color: var(--k-cyan);
}

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

.k-drawer-category strong {
  font-size: 18px;
}

.k-drawer-category span {
  margin-top: 5px;
  color: var(--k-muted);
  font-size: 13px;
}

.k-drawer-category b {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--k-cyan);
  font-size: 22px;
  transform: translateY(-50%);
}

.k-drawer-links {
  display: grid;
  margin-top: 8px;
  border-top: 1px solid var(--k-border);
}

.k-drawer-links a {
  padding: 15px 4px;
  border-bottom: 1px solid var(--k-border);
  color: #414852;
  text-decoration: none;
}

/* Home */

.k-home {
  padding: 26px 0 52px;
}

.k-promo {
  display: grid;
  height: 270px;
  min-height: 270px;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: var(--k-radius);
  background: var(--k-cyan-soft);
}

.k-promo__copy {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 34px 42px;
}

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

.k-promo h1 {
  max-width: 570px;
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}

.k-promo p {
  max-width: 530px;
  margin: 12px 0 20px;
  color: #41545a;
  font-size: 17px;
  line-height: 1.45;
}

.k-primary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--k-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.k-primary-button:hover {
  background: var(--k-brand-hover);
  color: #fff;
}

.k-promo__media {
  display: block;
  height: 270px;
  overflow: hidden;
  background: #fff;
}

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

.k-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: var(--k-border);
}

.k-trust-strip > div {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--k-surface);
}

.k-trust-strip .k-icon,
.k-return-icon {
  flex: 0 0 auto;
  color: var(--k-cyan);
}

.k-return-icon {
  font-size: 25px;
}

.k-trust-strip p {
  margin: 0;
}

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

.k-trust-strip strong {
  font-size: 14px;
}

.k-trust-strip p span {
  margin-top: 3px;
  color: var(--k-muted);
  font-size: 12px;
}

.k-category-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.k-category-tile {
  display: grid;
  min-height: 118px;
  grid-template-columns: minmax(0, 1fr) 160px;
  overflow: hidden;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: var(--k-surface);
  color: var(--k-ink);
  text-decoration: none;
}

.k-category-tile:hover {
  border-color: #bcc4cd;
  box-shadow: var(--k-shadow);
  color: var(--k-ink);
}

.k-category-tile__copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 18px 22px;
}

.k-category-tile__copy strong,
.k-category-tile__copy span,
.k-category-tile__copy em {
  display: block;
}

.k-category-tile__copy strong {
  font-size: 19px;
}

.k-category-tile__copy > span {
  margin-top: 6px;
  color: var(--k-muted);
  font-size: 13px;
}

.k-category-tile__copy em {
  margin-top: 12px;
  color: var(--k-cyan-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.k-category-tile__media {
  display: block;
  min-height: 118px;
  overflow: hidden;
  background: var(--k-surface-soft);
}

.k-category-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.k-section-title {
  margin: 0;
  font-size: 28px;
}

.k-section-heading p {
  margin: 6px 0 0;
  color: var(--k-muted);
  font-size: 14px;
}

/* Product grid */

.k-grid,
ul.k-grid.product-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px !important;
  width: 100%;
  margin: 0 !important;
  padding: 10px 0 24px !important;
  list-style: none;
  box-sizing: border-box;
}

.k-card,
ul.thumbs li.k-card {
  position: relative;
  display: flex !important;
  width: auto !important;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: var(--k-surface);
  box-shadow: none !important;
  text-align: left;
}

.k-card:hover {
  border-color: #c0c7cf;
  box-shadow: var(--k-shadow) !important;
}

.k-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f0f2f4;
}

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

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

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

.k-card__prices {
  display: flex;
  min-height: 25px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 8px;
}

.k-card__prices strong {
  color: var(--k-brand);
  font-size: 21px;
  line-height: 1.1;
}

.k-card__prices del {
  color: #949aa3;
  font-size: 12px;
}

.k-card__prices > span {
  color: var(--k-brand);
  font-size: 12px;
  font-weight: 800;
}

.k-card__name {
  display: -webkit-box;
  min-height: 38px;
  margin-top: 7px;
  overflow: hidden;
  color: #333840;
  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 {
  overflow: hidden;
  margin-top: 7px;
  color: var(--k-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.k-card__action form {
  margin: 0;
}

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

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

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

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

.k-feed-sentinel {
  height: 1px;
}

.k-feed-status {
  min-height: 54px;
  padding: 14px 16px;
  color: var(--k-muted);
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
}

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

.k-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  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 span {
  margin-top: 4px;
  color: #4f6268;
  font-size: 13px;
}

.k-service a {
  flex: 0 0 auto;
  color: var(--k-cyan-dark);
  font-weight: 800;
}

/* Category, search and content pages */

.category-name {
  margin: 24px 0 8px;
  color: var(--k-ink);
  font-size: 32px;
}

#product-list {
  min-width: 0;
}

#product-list > .k-grid {
  padding-top: 16px !important;
}

.sorting {
  margin: 10px 0 4px;
}

.page-content,
.k-cart-page,
.k-cart-empty {
  padding-top: 20px;
  padding-bottom: 48px;
}

/* Product */

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

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

.k-pdp {
  padding: 2px 0 52px;
}

.k-pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.72fr) minmax(310px, 0.68fr);
  align-items: start;
  gap: 24px;
}

.k-pdp__photo {
  display: flex;
  min-height: 570px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.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: 72px;
  height: 72px;
  border: 1px solid var(--k-border);
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.k-pdp__info {
  padding: 12px 2px;
}

.k-pdp__info h1 {
  margin: 8px 0 12px;
  color: var(--k-ink);
  font-size: 29px;
  line-height: 1.18;
}

.k-pdp__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--k-muted);
  font-size: 12px;
}

.k-pdp__meta a {
  color: var(--k-cyan-dark);
  font-weight: 700;
  text-decoration: none;
}

.k-pdp__lead {
  margin: 22px 0 0;
  color: #3e4651;
  font-size: 15px;
  line-height: 1.55;
}

.k-pdp__fit {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding: 15px 16px;
  border-radius: 8px;
  background: var(--k-cyan-soft);
}

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

.k-pdp__fit span {
  color: #4d5966;
  font-size: 12px;
  line-height: 1.45;
}

.k-pdp__details-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--k-cyan-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

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

.k-pdp__price-caption {
  display: block;
  margin-bottom: 10px;
  color: var(--k-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

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

.k-pdp__buy .purchase > .add2cart {
  margin-top: 16px;
}

.k-pdp__buy .purchase > .add2cart button[type="submit"],
.k-pdp__buy .purchase > .add2cart .gotocart-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px !important;
  font-size: 16px;
  font-weight: 800;
}

.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 {
  font-size: 13px;
}

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

.k-pdp__desc {
  max-width: 800px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--k-border);
  color: #404650;
  line-height: 1.65;
}

/* Footer */

.k-footer {
  margin: 0;
  padding: 32px max(16px, calc((100% - 1320px) / 2)) 18px;
  border-top: 1px solid var(--k-border);
  background: #fff;
  color: #4f5661;
  font-size: 13px;
}

.k-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 1fr;
  gap: 28px;
}

.k-footer__logo {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 12px;
}

.k-footer p {
  margin: 5px 0;
  line-height: 1.45;
}

.k-footer nav,
.k-footer section {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.k-footer strong {
  margin-bottom: 9px;
  color: var(--k-ink);
  font-size: 14px;
}

.k-footer a {
  margin: 4px 0;
  color: #4f5661;
  text-decoration: none;
}

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

.k-footer__wholesale {
  opacity: 0.82;
}

.k-footer__bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--k-border);
  color: var(--k-muted);
  font-size: 12px;
}

/* Order: preserve Shop-Script behavior, align its surface with the storefront. */

html.is-order-page .k-mobile-nav {
  display: none !important;
}

html.is-order-page .maincontent > .container {
  max-width: 1120px !important;
}

.s-order-page {
  color: var(--k-ink);
}

.s-order-page .s-order-section,
.s-order-page .s-order-aside {
  border-color: var(--k-border) !important;
  border-radius: var(--k-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.s-order-page input,
.s-order-page textarea,
.s-order-page select {
  border-color: #cbd1d8 !important;
  border-radius: 6px !important;
}

/* Responsive */

@media (max-width: 1099px) {
  .k-header__main {
    grid-template-columns: 170px 108px minmax(240px, 1fr) auto;
  }

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

  .k-pdp__grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
  }

  .k-pdp__media {
    grid-row: 1 / span 2;
  }

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

  .k-pdp__buy {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  body.k-has-product-action,
  html.is-order-page body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .maincontent > .container {
    width: 100% !important;
  }

  .k-desktop-only {
    display: none !important;
  }

  .k-mobile-only {
    display: flex;
  }

  .k-header {
    position: relative;
  }

  .k-header__main {
    display: grid;
    width: 100%;
    min-height: 138px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 8px 12px 10px;
    box-sizing: border-box;
  }

  .k-logo img {
    width: 150px;
    max-height: 42px;
  }

  .k-mobile-delivery {
    align-items: center;
    gap: 5px;
    color: var(--k-cyan-dark);
    font-size: 11px;
    white-space: nowrap;
  }

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

  .k-search input {
    height: 44px;
    padding-right: 50px;
    font-size: 14px;
  }

  .k-search button {
    width: 44px;
    height: 40px;
  }

  .k-mobile-nav {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: 64px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 4px 4px env(safe-area-inset-bottom);
    border-top: 1px solid var(--k-border);
    background: rgba(255, 255, 255, 0.98);
    box-sizing: content-box;
  }

  .k-mobile-nav--hidden {
    display: none;
  }

  .k-mobile-nav > a,
  .k-mobile-nav > button {
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 2px;
    border: 0;
    background: transparent;
    color: #66707c;
    font-size: 10px;
    text-decoration: none;
    cursor: pointer;
  }

  .k-mobile-nav > a[aria-current="page"] {
    color: var(--k-brand);
  }

  .k-mobile-nav .k-grid-icon {
    width: 23px;
    height: 23px;
    grid-template-columns: repeat(2, 7px);
    grid-template-rows: repeat(2, 7px);
  }

  .k-home-icon {
    font-size: 25px;
    line-height: 23px;
  }

  .k-home {
    padding: 10px 0 24px;
  }

  .k-promo {
    position: relative;
    display: block;
    height: 210px;
    min-height: 210px;
    margin: 0 12px 10px;
    border-radius: 8px;
  }

  .k-promo__copy {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 58%;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
  }

  .k-promo__eyebrow {
    font-size: 9px;
  }

  .k-promo h1 {
    font-size: 25px;
  }

  .k-promo p {
    margin: 8px 0 12px;
    font-size: 12px;
    line-height: 1.35;
  }

  .k-primary-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .k-promo__media {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 52%;
    height: 210px;
    background: transparent;
  }

  .k-promo__media::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: 52px;
    background: linear-gradient(90deg, var(--k-cyan-soft), transparent);
    content: "";
  }

  .k-trust-strip {
    display: flex;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0 12px;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
  }

  .k-trust-strip::-webkit-scrollbar {
    display: none;
  }

  .k-trust-strip > div {
    min-width: 220px;
    min-height: 62px;
    flex: 0 0 72vw;
    padding: 9px 12px;
    border: 1px solid var(--k-border);
    border-radius: 7px;
  }

  .k-category-tiles {
    display: flex;
    gap: 8px;
    margin: 0 0 13px;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .k-category-tiles::-webkit-scrollbar {
    display: none;
  }

  .k-category-tile {
    min-width: 280px;
    min-height: 98px;
    flex: 0 0 78vw;
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .k-category-tile__copy {
    padding: 13px 14px;
  }

  .k-category-tile__copy strong {
    font-size: 16px;
  }

  .k-category-tile__copy > span,
  .k-category-tile__copy em {
    font-size: 11px;
  }

  .k-category-tile__copy em {
    margin-top: 8px;
  }

  .k-category-tile__media {
    min-height: 98px;
  }

  .k-section-heading {
    padding: 0 12px 5px;
  }

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

  .k-section-heading p {
    font-size: 12px;
  }

  .k-grid,
  ul.k-grid.product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    padding: 8px 8px 18px !important;
  }

  .k-card__body {
    min-height: 178px;
    padding: 9px;
  }

  .k-card__prices {
    gap: 4px 6px;
  }

  .k-card__prices strong {
    font-size: 18px;
  }

  .k-card__prices del,
  .k-card__prices > span {
    font-size: 10px;
  }

  .k-card__name {
    min-height: 35px;
    font-size: 12px;
    line-height: 1.4;
  }

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

  .k-card__button,
  .k-card__button.button {
    min-height: 44px;
    font-size: 12px;
  }

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

  .category-name {
    margin: 18px 12px 6px;
    font-size: 25px;
  }

  .sorting {
    margin-right: 12px;
    margin-left: 12px;
  }

  .breadcrumbs {
    padding: 11px 12px;
  }

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

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

  .k-pdp__media,
  .k-pdp__info,
  .k-pdp__buy {
    grid-column: 1;
    grid-row: auto;
  }

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

  .k-pdp__info {
    padding: 0;
  }

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

  .k-pdp__lead {
    margin-top: 16px;
  }

  .k-pdp__buy {
    position: static;
    padding: 16px;
  }

  .k-pdp__buy form > .purchase > .add2cart {
    position: fixed;
    z-index: 101;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: auto minmax(170px, 1fr);
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--k-border);
    background: #fff;
  }

  .k-pdp__buy form > .purchase > .add2cart .qty {
    max-width: 138px;
  }

  .k-pdp__buy form > .purchase > .add2cart button[type="submit"],
  .k-pdp__buy form > .purchase > .add2cart .gotocart-btn {
    width: 100%;
    min-height: 48px;
    margin: 0;
  }

  .k-footer {
    padding: 24px 12px calc(82px + env(safe-area-inset-bottom));
  }

  html.is-order-page .k-footer,
  body.k-has-product-action .k-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .k-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .k-footer__logo {
    width: 150px;
  }

  .k-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 370px) {
  .k-logo img {
    width: 136px;
  }

  .k-mobile-delivery {
    font-size: 10px;
  }

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

  .k-card__body {
    padding: 8px;
  }

  .k-footer__grid {
    grid-template-columns: 1fr;
  }
}

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

/* Simplified checkout shell */

html.is-order-page body {
  background: var(--k-bg);
}

.k-checkout-header {
  border-bottom: 1px solid var(--k-border);
  background: #fff;
}

.k-checkout-header__inner {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: 82px;
  grid-template-columns: 210px auto minmax(320px, 1fr);
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.k-checkout-header__back {
  color: var(--k-cyan-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.k-checkout-header__assurance {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  color: var(--k-muted);
  font-size: 13px;
}

.k-checkout-header__assurance span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--k-success);
  font-weight: 800;
}

html.is-order-page .maincontent {
  padding: 0;
}

html.is-order-page .k-footer {
  padding: 0;
}

html.is-order-page .s-order-page {
  /*
   * Shop-Script loads its checkout styles after the theme and turns this
   * wrapper into a two-column grid. Our cart/checkout shell owns the layout,
   * so keep the wrapper a normal block even after the widgets initialise.
   */
  display: block !important;
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px;
  table-layout: auto;
  padding: 34px 0 56px;
}

.k-order-progress {
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 0;
  margin: 0 0 28px;
  color: var(--k-muted);
  font-size: 13px;
  font-weight: 700;
}

.k-order-progress span {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.k-order-progress span:not(:last-child)::after {
  width: 100%;
  height: 1px;
  margin: 0 12px;
  background: var(--k-border);
  content: "";
}

.k-order-progress b {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e3e7ec;
  color: #77808c;
}

.k-order-progress .is-active {
  color: var(--k-ink);
}

.k-order-progress .is-active b {
  background: var(--k-cyan-dark);
  color: #fff;
}

.k-order-progress .is-complete b {
  background: var(--k-success);
  color: #fff;
}

.k-order-intro {
  margin-bottom: 22px;
}

.k-order-intro h1 {
  margin: 0;
  color: var(--k-ink);
  font-size: 34px;
  line-height: 1.15;
}

.k-order-intro p {
  margin: 8px 0 0;
  color: var(--k-muted);
  font-size: 15px;
}

.k-order-layout {
  display: grid;
  width: 100%;
  align-items: start;
  gap: 26px;
}

.s-order-page.is-cart-mode .k-order-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.s-order-page.is-checkout-mode .k-order-layout {
  grid-template-columns: 340px minmax(0, 1fr);
}

.s-order-page .s-order-column {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.k-cart-summary {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: #fff;
}

.k-cart-summary h2 {
  margin: 0 0 22px;
  color: var(--k-ink);
  font-size: 22px;
}

.k-cart-summary__line,
.k-cart-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.k-cart-summary__line {
  color: var(--k-muted);
  font-size: 14px;
}

.k-cart-summary__total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--k-border);
  color: var(--k-ink);
  font-size: 19px;
  font-weight: 800;
}

.k-cart-summary__total strong {
  font-size: 25px;
  white-space: nowrap;
}

.k-cart-summary__cta {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border-radius: 7px;
  background: var(--k-brand);
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

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

.k-cart-summary p {
  margin: 12px 0 0;
  color: var(--k-muted);
  font-size: 12px;
  line-height: 1.45;
}

.k-cart-summary ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--k-border);
  color: #49515c;
  font-size: 13px;
  list-style: none;
}

.k-cart-summary li::before {
  margin-right: 7px;
  color: var(--k-success);
  content: "✓";
  font-weight: 900;
}

html.is-order-page .s-order-page .s-order-section > .s-section-header {
  margin-bottom: 16px;
}

html.is-order-page .s-order-page .s-order-section > .s-section-header > .s-header {
  color: var(--k-ink);
  font-size: 24px;
  font-weight: 800;
}

html.is-order-page .s-order-page .s-order-section > .s-section-body {
  padding: 20px;
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius);
  background: #fff;
  box-shadow: none;
}

html.is-order-page .wa-order-form-wrapper .wa-input,
html.is-order-page .wa-order-form-wrapper textarea.wa-textarea,
html.is-order-page .wa-order-form-wrapper .wa-select,
html.is-order-page .wa-order-form-wrapper .wa-dropdown > .wa-dropdown-toggle,
html.is-order-page .wa-order-cart-wrapper .wa-input {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #c6cbd2 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--k-ink) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

html.is-order-page .wa-order-form-wrapper .wa-input:focus,
html.is-order-page .wa-order-form-wrapper textarea.wa-textarea:focus,
html.is-order-page .wa-order-form-wrapper .wa-select:focus {
  border-color: var(--k-cyan) !important;
  outline: 3px solid rgb(0 159 199 / 14%);
}

html.is-order-page .wa-order-form-wrapper .wa-submit-button {
  min-height: 48px;
  padding: 0 24px;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--k-brand) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html.is-order-page .wa-order-form-wrapper .wa-submit-button:hover {
  background: var(--k-brand-hover) !important;
}

.k-submit-hint {
  max-width: 270px;
  margin-top: 8px;
  color: var(--k-muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
}

html.is-order-page .wa-order-form-wrapper .wa-submit-button.is-final-action {
  background: var(--k-brand) !important;
}

html.is-order-page .wa-order-form-wrapper .wa-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

html.is-order-page .wa-order-form-wrapper .wa-checkbox-wrapper .wa-text {
  color: var(--k-muted);
  font-size: 13px;
  line-height: 1.45;
}

.k-checkout-footer {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0 auto;
  padding: 22px 0;
  color: var(--k-muted);
  font-size: 12px;
}

.k-checkout-footer a {
  margin: 0;
}

/* Content and legal pages */

.k-page {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 34px 0 58px;
  color: var(--k-ink);
}

.k-page__header {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--k-border);
}

.k-page__back {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--k-cyan-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.k-page h1 {
  max-width: 760px;
  margin: 0;
  font-size: 34px;
  line-height: 1.12;
}

.k-page__subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.k-page__subnav a {
  padding: 9px 12px;
  border: 1px solid var(--k-border);
  border-radius: 6px;
  color: var(--k-ink);
  text-decoration: none;
}

.k-page__content {
  font-size: 16px;
  line-height: 1.65;
}

.k-page__content section {
  margin: 30px 0 0;
}

.k-page__content h2 {
  margin: 0 0 12px;
  color: var(--k-ink);
  font-size: 23px;
  line-height: 1.25;
}

.k-page__content p,
.k-page__content ul,
.k-page__content ol {
  margin: 10px 0;
}

.k-page__content li + li {
  margin-top: 7px;
}

.k-page__lead {
  max-width: 760px;
  margin: 0;
  color: #3f4650;
  font-size: 19px;
  line-height: 1.5;
}

.k-page__note {
  padding: 18px 20px;
  border-left: 4px solid var(--k-cyan);
  background: var(--k-cyan-soft);
}

.k-details {
  margin: 0;
  border-top: 1px solid var(--k-border);
}

.k-details > div {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--k-border);
}

.k-details dt {
  color: var(--k-muted);
}

.k-details dd {
  margin: 0;
  font-weight: 600;
}

#cookie-agreement a {
  color: var(--k-cyan-dark);
}

@media (max-width: 760px) {
  html.is-order-page body {
    padding-bottom: 0;
  }

  .k-checkout-header__inner {
    width: calc(100% - 24px);
    min-height: 68px;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
  }

  .k-checkout-header__inner .k-logo img {
    width: 150px;
  }

  .k-checkout-header__back {
    font-size: 12px;
    text-align: right;
  }

  .k-checkout-header__assurance {
    display: none;
  }

  html.is-order-page .s-order-page {
    width: calc(100% - 24px);
    padding: 22px 0 36px;
  }

  .k-order-progress {
    margin-bottom: 22px;
    font-size: 11px;
  }

  .k-order-progress span {
    gap: 5px;
  }

  .k-order-progress span:not(:last-child)::after {
    margin: 0 6px;
  }

  .k-order-progress b {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
    font-size: 11px;
  }

  .k-order-progress span:last-child {
    display: none;
  }

  .k-order-intro h1 {
    font-size: 28px;
  }

  .k-order-intro p {
    font-size: 14px;
  }

  .s-order-page.is-cart-mode .k-order-layout,
  .s-order-page.is-checkout-mode .k-order-layout {
    grid-template-columns: 1fr;
  }

  .s-order-page.is-checkout-mode .s-order-column + .s-order-column {
    margin-top: 8px;
  }

  .k-cart-summary {
    position: static;
    padding: 18px;
  }

  .k-cart-summary h2 {
    font-size: 20px;
  }

  html.is-order-page .s-order-page .s-order-section > .s-section-header > .s-header {
    font-size: 22px;
  }

  html.is-order-page .s-order-page .s-order-section > .s-section-body {
    padding: 12px;
  }

  .k-checkout-footer {
    width: calc(100% - 24px);
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0 28px;
  }

  .k-page {
    padding: 24px 0 42px;
  }

  .k-page h1 {
    font-size: 27px;
  }

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

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

  .k-page__content h2 {
    font-size: 21px;
  }

  .k-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
