:root {
  --k-brown: #7B424A;
  --k-text: #111;
  --k-muted: #67605b;
  --k-line: #e7e0db;
  --k-soft: #f8f5f2;
  --k-yellow: #fec25f;
  --k-green: #bad392;
  --k-blue: #b9e0ed;
  --k-radius: 0;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body.drawer-lock {
  overflow: hidden
}

.shop-prototype {
  margin: 0;
  color: var(--k-text);
  font-family: Arial, sans-serif;
  background: #fff
}

.shop-prototype a {
  color: inherit
}

button,
input,
select {
  font: inherit
}

[hidden] {
  display: none !important
}

/* Header */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(122, 93, 71, .14);
  backdrop-filter: blur(10px)
}

.shop-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px
}

.shop-header__logo img {
  display: block;
  width: 190px;
  height: auto
}

.shop-header__nav {
  margin-left: auto;
  display: flex;
  gap: 27px;
  align-items: center
}

.shop-header__nav a {
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 700;
  position: relative
}

.shop-header__nav a:hover,
.shop-header__nav a.is-active {
  color: var(--k-brown)
}

.shop-header__actions {
  display: flex;
  gap: 10px;
  align-items: center
}

.shop-header__icon,
.shop-header__cart,
.shop-header__menu {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #111
}

.shop-header__icon svg,
.shop-header__cart svg,
.shop-header__account svg,
.shop-header__menu svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6
}

.shop-header__cart,
.shop-header__account {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none
}

.shop-header__cart b {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  background: #111;
  color: #fff;
  border-radius: 99px;
  font-size: 10px
}

.shop-header__menu {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.karleen-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  background: transparent
}

.karleen-btn--light {
  background: #fff;
  color: #111 !important
}

.karleen-btn--ghost-light {
  border-color: rgba(255, 255, 255, .7);
  color: #fff !important
}

.karleen-btn--dark {
  background: #111;
  color: #fff !important
}

.karleen-btn--outline {
  border-color: #111;
  color: #111 !important;
  background: transparent
}

.karleen-btn:hover {
  transform: translateY(-1px)
}

/* Home */
.hero-section--shop {
  margin-top: 0
}

.hero-kicker {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700
}

.concern-section,
.catalog-preview,
.expert-care,
.shop-catalog,
.product-info,
.related-section {
  padding: 72px 0
}

.section-heading {
  margin-bottom: 34px
}

.section-heading>p,
.section-heading>div>p {
  margin: 0 0 8px;
  color: var(--k-brown);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700
}

.section-heading h2 {
  margin: 0;
  color: var(--k-brown);
  font-size: 32px;
  line-height: 1.1;
  text-transform: uppercase
}

.section-heading>span {
  display: block;
  max-width: 720px;
  margin-top: 10px;
  line-height: 1.55;
  color: #555
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px
}

.section-heading--split>a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em
}

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

.concern-card {
  position: relative;
  min-height: 430px;
  padding: 24px;
  overflow: hidden;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.concern-card--yellow {
  background: var(--k-yellow)
}

.concern-card--green {
  background: var(--k-green)
}

.concern-card--blue {
  background: var(--k-blue)
}

.concern-card>span {
  position: relative;
  z-index: 2;
  font-size: 12px;
  font-weight: 700
}

.concern-card img {
  position: absolute;
  inset: 30px 20px 90px;
  width: calc(100% - 40px);
  height: 300px;
  object-fit: contain;
  transition: .35s
}

.concern-card:hover img {
  transform: scale(1.04)
}

.concern-card>div {
  position: relative;
  z-index: 2
}

.concern-card small {
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .08em
}

.concern-card h3 {
  margin: 6px 0 12px;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase
}

.concern-card b {
  font-size: 12px;
  text-transform: uppercase
}

.catalog-preview {
  background: var(--k-soft)
}

.expert-care__panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #f3ede7
}

.expert-care__panel>div {
  padding: 70px
}

.expert-care__index {
  margin: 0 0 14px;
  color: var(--k-brown);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em
}

.expert-care h2 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.02;
  text-transform: uppercase
}

.expert-care p {
  line-height: 1.6
}

.expert-care img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.brand-section {
  padding: 72px 0;
  border-top: 1px solid var(--k-line)
}

.brand-section__grid {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 70px
}

.brand-section__grid>p {
  color: var(--k-brown);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .14em
}

.brand-section h2 {
  margin: 0 0 14px;
  font-size: 32px;
  text-transform: uppercase;
  color: var(--k-brown)
}

.brand-section p {
  line-height: 1.65;
  color: #555
}

/* Product cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}

.shop-card {
  background: #fff;
  border: 1px solid var(--k-line);
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative
}

.shop-card__media {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none
}

.shop-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: .3s
}

.shop-card:hover .shop-card__media>img {
  transform: scale(1.035)
}

.shop-card__badge,
.shop-card__stock-badge {
  position: absolute;
  top: 14px;
  padding: 7px 9px;
  background: #fff2d7;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .08em;
  font-weight: 700;
  z-index: 2
}

.shop-card__badge {
  left: 14px
}

.shop-card__stock-badge {
  right: 14px;
  background: #111;
  color: #fff
}

.shop-card__body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.shop-card__eyebrow {
  margin: 0 0 8px;
  color: var(--k-brown);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700
}

.shop-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.18;
  font-weight: 600;
}

.shop-card h3 a {
  text-decoration: none
}

.shop-card__desc {
  margin: 0 0 20px;
  color: #555;
  font-size: 14px;
  line-height: 1.5
}

.shop-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--k-line);
  padding-top: 10px
}

.shop-card__bottom strong {
  font-size: 17px
}

.shop-card__bottom button {
  border: 0;
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px solid #111
}

.shop-card__bottom button:disabled {
  color: #999;
  border-color: #bbb;
  cursor: not-allowed
}

.shop-card.is-hidden {
  display: none
}

/* Generic page / catalog */
.shop-page-hero {
  padding: 70px 0 48px;
  background: #f6f2ee
}

.shop-page-hero p,
.account-hero p {
  margin: 0 0 9px;
  color: var(--k-brown);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em
}

.shop-page-hero h1,
.account-hero h1 {
  margin: 0 0 13px;
  color: var(--k-brown);
  font-size: 42px;
  line-height: 1.05;
  text-transform: uppercase
}

.shop-page-hero span,
.account-hero span {
  color: #555
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 38px;
  align-items: start
}

.catalog-filter-panel {
  position: sticky;
  top: 102px;
  border: 1px solid var(--k-line);
  background: #fff;
  z-index: 2
}

.catalog-filter-mobile-head {
  display: none
}

.catalog-filter-form {
  padding: 22px
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--k-line)
}

.filter-head strong {
  text-transform: uppercase;
  font-size: 13px
}

.filter-head button,
.catalog-search-state button {
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: underline;
  font-size: 11px;
  cursor: pointer;
  color: var(--k-brown)
}

.catalog-filter-form fieldset {
  border: 0;
  padding: 18px 0;
  margin: 0;
  border-bottom: 1px solid var(--k-line)
}

.catalog-filter-form legend {
  padding: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em
}

.catalog-filter-form fieldset>label:not(.filter-switch) {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 9px 0;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3
}

.catalog-filter-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #111;
  flex: 0 0 auto
}

.price-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.price-fields label {
  border: 1px solid var(--k-line);
  padding: 6px 8px
}

.price-fields span {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  color: #777
}

.price-fields input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 4px 0
}

.filter-switch {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px
}

.filter-apply-mobile {
  display: none;
  width: 100%;
  margin-top: 18px
}

.catalog-results__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 50px;
  margin-bottom: 20px
}

.catalog-results__top>div>strong {
  font-size: 14px;
  text-transform: uppercase
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700
}

.catalog-sort select {
  border: 1px solid var(--k-line);
  padding: 10px;
  background: #fff;
  min-width: 175px
}

.catalog-mobile-toolbar {
  display: none
}

.active-filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 9px
}

.filter-chip {
  border: 1px solid var(--k-line);
  background: #fff;
  padding: 5px 8px;
  font-size: 10px;
  cursor: pointer
}

.filter-chip::after {
  content: ' ×';
  font-size: 13px
}

.catalog-search-state {
  padding: 11px 14px;
  background: #f6f2ee;
  margin-bottom: 18px;
  font-size: 12px
}

.catalog-search-state button {
  margin-left: 10px
}

.catalog-empty {
  text-align: center;
  padding: 70px 20px;
  border: 1px solid var(--k-line)
}

.catalog-empty h2 {
  font-size: 24px;
  text-transform: uppercase
}

.catalog-empty p {
  color: #666
}

.catalog-empty .karleen-btn {
  margin-top: 10px
}

/* Product page */
.breadcrumbs {
  padding: 19px 0;
  border-bottom: 1px solid var(--k-line)
}

.breadcrumbs .container {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  text-transform: uppercase;
  overflow: auto;
  white-space: nowrap
}

.breadcrumbs a {
  text-decoration: none
}

.product-commerce {
  padding: 50px 0 72px
}

.product-commerce__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px
}

.product-gallery__main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px
}

.product-gallery__thumbs button {
  height: 100px;
  border: 1px solid var(--k-line);
  background: #fff;
  padding: 8px;
  cursor: pointer
}

.product-gallery__thumbs button.is-active {
  border-color: #111
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.product-summary {
  padding-top: 18px
}

.product-summary__line {
  margin: 0 0 12px;
  color: var(--k-brown);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em
}

.product-summary h1 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.05;
  text-transform: uppercase
}

.product-summary__lead {
  font-size: 16px;
  line-height: 1.58;
  color: #444
}

.product-summary__price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 12px
}

.product-summary__price strong {
  font-size: 28px
}

.product-summary__price del {
  color: #888
}

.product-summary__price span {
  padding: 6px 8px;
  background: #111;
  color: #fff;
  font-size: 11px
}

.product-summary__stock {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: #4a6b2e
}

.product-buy {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  margin: 24px 0 10px
}

.qty {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  border: 1px solid #111
}

.qty button {
  border: 0;
  background: #fff;
  font-size: 20px;
  cursor: pointer
}

.qty input {
  min-width: 0;
  border: 0;
  text-align: center;
  font-weight: 700
}

.product-buy-now {
  width: 100%
}

.product-benefits {
  list-style: none;
  padding: 18px 0;
  margin: 18px 0;
  border-top: 1px solid var(--k-line);
  border-bottom: 1px solid var(--k-line)
}

.product-benefits li {
  position: relative;
  padding: 6px 0 6px 25px;
  font-size: 14px
}

.product-benefits li:before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700
}

.product-system-link {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase
}

.product-info {
  background: var(--k-soft)
}

.product-tabs {
  display: flex;
  border-bottom: 1px solid #cfc6bf;
  overflow: auto
}

.product-tabs button {
  border: 0;
  background: transparent;
  padding: 15px 20px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer
}

.product-tabs button.is-active {
  background: #111;
  color: #fff
}

.product-tab-panel {
  display: none;
  max-width: 980px;
  padding: 36px 0 0
}

.product-tab-panel.is-active {
  display: block
}

.product-tab-panel h2 {
  margin: 0 0 18px;
  font-size: 28px;
  text-transform: uppercase
}

.product-tab-panel p,
.product-tab-panel li {
  line-height: 1.65;
  color: #444
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px
}

.product-facts article {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--k-line)
}

.product-facts b,
.product-facts span {
  display: block
}

.product-facts b {
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 8px
}

.product-tab-panel dl {
  margin: 0
}

.product-tab-panel dl>div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #d9d0c9;
  padding: 13px 0
}

.product-tab-panel dt {
  text-transform: uppercase;
  font-size: 12px
}

/* Drawers */
.shop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .42);
  z-index: 190;
  backdrop-filter: blur(2px)
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(430px, 92vw);
  height: 100dvh;
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease;
  box-shadow: 0 0 45px rgba(0, 0, 0, .12)
}

.drawer--left {
  left: 0;
  transform: translateX(-105%)
}

.drawer--right {
  right: 0;
  transform: translateX(105%)
}

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

.drawer__head {
  min-height: 76px;
  border-bottom: 1px solid var(--k-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  text-transform: uppercase
}

.drawer__head strong {
  font-size: 13px;
  letter-spacing: .08em
}

.drawer__head img {
  width: 155px;
  height: auto
}

.drawer__head button {
  border: 0;
  background: transparent;
  font-size: 31px;
  line-height: 1;
  cursor: pointer
}

.drawer__foot {
  margin-top: auto;
  padding: 22px 24px;
  border-top: 1px solid var(--k-line)
}

.drawer__foot a,
.drawer__foot small {
  display: block
}

.drawer__foot a {
  text-decoration: none;
  font-weight: 700
}

.drawer__foot small {
  margin-top: 6px;
  color: #777
}

.app-menu {
  display: flex;
  flex-direction: column;
  padding: 10px 0
}

.app-menu a {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 7px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--k-line);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700
}

.app-menu a span {
  color: var(--k-brown);
  font-size: 10px;
  padding-top: 3px
}

.drawer-search {
  padding: 28px 24px
}

.drawer-search label {
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700
}

.drawer-search input {
  width: 100%;
  height: 54px;
  border: 1px solid #111;
  padding: 0 14px;
  margin-bottom: 12px
}

.drawer-search .karleen-btn {
  width: 100%
}

.drawer-search p {
  font-size: 11px;
  line-height: 1.5;
  color: #777;
  margin-top: 14px
}

.cart-drawer__body {
  padding: 0px 10px;
  overflow: auto;
  flex: 1
}

.cart-drawer__empty {
  color: #777
}

.cart-line {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 20px;
  padding: 0;
  border-bottom: 1px solid var(--k-line);
  align-items: center
}

.cart-line__image {
  width: 54px;
  height: 66px;
  object-fit: contain;
  background: var(--k-soft)
}

.cart-line strong,
.cart-line span {
  display: block
}

.cart-line span {
  font-size: 11px;
  color: #666;
  margin-top: 4px
}

.cart-line__price {
  text-align: right
}

.cart-line__remove {
  border: 0;
  background: transparent;
  text-decoration: underline;
  font-size: 12px;
  cursor: pointer;
  color: #777;
  margin-top: 0px
}

.cart-drawer__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--k-line)
}

.cart-drawer__footer>div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px
}

.cart-drawer__footer .karleen-btn {
  width: 100%
}

.cart-drawer__footer small {
  display: block;
  margin-top: 10px;
  color: #777;
  line-height: 1.4
}

.mobile-app-nav {
  display: none
}

/* Auth */
.auth-page {
  min-height: calc(100vh - 78px);
  background: #f6f2ee;
  padding: 52px 20px
}

.auth-shell {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 630px
}

.auth-shell--compact {
  grid-template-columns: 1fr;
  max-width: 620px;
  min-height: 0
}

.auth-visual {
  position: relative;
  overflow: hidden;
  min-height: 630px
}

.auth-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55))
}

.auth-visual>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.auth-visual>div {
  position: absolute;
  z-index: 2;
  left: 38px;
  right: 38px;
  bottom: 36px;
  color: #fff
}

.auth-visual p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700
}

.auth-visual h2 {
  margin: 8px 0 0;
  font-size: 32px;
  text-transform: uppercase;
  line-height: 1.05
}

.auth-card {
  padding: 58px 54px;
  align-self: center
}

.auth-kicker {
  margin: 0 0 8px;
  color: var(--k-brown);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em
}

.auth-card h1 {
  margin: 0 0 15px;
  font-size: 34px;
  text-transform: uppercase
}

.auth-intro {
  margin: 0 0 28px;
  color: #666;
  line-height: 1.55;
  font-size: 14px
}

.auth-form {
  display: grid;
  gap: 16px
}

.form-field>span {
  display: block;
  margin-bottom: 7px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em
}

.form-field input {
  width: 100%;
  height: 50px;
  border: 1px solid #d8d0c9;
  padding: 0 13px;
  outline: 0
}

.form-field input:focus {
  border-color: #111
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid #d8d0c9
}

.password-field input {
  border: 0
}

.password-field button {
  border: 0;
  background: #fff;
  padding: 0 12px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer
}

.form-row {
  display: flex;
  gap: 14px;
  align-items: center
}

.form-row--between {
  justify-content: space-between
}

.form-row a {
  font-size: 11px;
  color: var(--k-brown)
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4
}

.form-check input {
  margin-top: 2px;
  accent-color: #111
}

.form-check--policy {
  margin-top: 2px
}

.auth-submit {
  width: 100%;
  margin-top: 2px
}

.auth-alt {
  border-top: 1px solid var(--k-line);
  margin-top: 26px;
  padding-top: 22px
}

.auth-alt p {
  margin: 0 0 11px;
  font-size: 12px
}

.auth-alt .karleen-btn {
  width: 100%
}

.auth-alt>a:not(.karleen-btn) {
  font-size: 12px;
  text-decoration: none
}

.form-message {
  padding: 11px 13px;
  background: #eef5e4;
  font-size: 12px;
  line-height: 1.4
}

/* Account */
.account-hero {
  padding: 54px 0 38px;
  background: #f6f2ee
}

.account-hero .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px
}

.account-nav-trigger {
  display: none;
  border: 1px solid #111;
  background: #fff;
  padding: 11px 13px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  align-items: center;
  gap: 8px
}

.account-nav-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6
}

.account-section {
  padding: 48px 0 72px
}

.account-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 38px;
  align-items: start
}

.account-nav-panel {
  position: sticky;
  top: 102px;
  border: 1px solid var(--k-line);
  background: #fff
}

.account-mobile-head {
  display: none
}

.account-nav {
  display: flex;
  flex-direction: column
}

.account-nav a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 17px;
  border-bottom: 1px solid var(--k-line);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700
}

.account-nav a:last-child {
  border: 0;
  color: #8d2e2e
}

.account-nav a.is-active {
  background: #111;
  color: #fff
}

.account-nav b {
  font-weight: 700
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px
}

.account-stats article {
  padding: 19px;
  border: 1px solid var(--k-line);
  background: #fff
}

.account-stats span,
.account-stats strong {
  display: block
}

.account-stats span {
  text-transform: uppercase;
  font-size: 9px;
  color: #777;
  letter-spacing: .07em
}

.account-stats strong {
  margin-top: 7px;
  font-size: 21px
}

.account-block {
  border-top: 1px solid #111;
  padding: 24px 0 34px
}

.account-block__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 19px
}

.account-block__head p {
  margin: 0 0 4px;
  color: var(--k-brown);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em
}

.account-block__head h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 24px
}

.order-status {
  display: inline-flex;
  width: max-content;
  padding: 7px 9px;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em
}

.order-status--progress {
  background: #fff1ca
}

.order-status--done {
  background: #e8f1df;
  color: #45602f
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 17px
}

.order-progress span {
  padding-top: 28px;
  position: relative;
  font-size: 9px;
  text-transform: uppercase;
  color: #999
}

.order-progress span:before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e1ddd9
}

.order-progress span:after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  left: 0;
  top: 1px;
  background: #e1ddd9
}

.order-progress span.is-done:before,
.order-progress span.is-done:after,
.order-progress span.is-active:after {
  background: #111
}

.order-progress span.is-done,
.order-progress span.is-active {
  color: #111
}

.current-order__meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px
}

.current-order__meta a {
  margin-left: auto;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none
}

.orders-list {
  display: grid;
  gap: 10px
}

.order-card {
  border: 1px solid var(--k-line);
  padding: 18px
}

.order-card__main {
  display: flex;
  justify-content: space-between;
  gap: 18px
}

.order-card small {
  color: #777
}

.order-card h3 {
  margin: 7px 0 11px;
  font-size: 16px;
  text-transform: uppercase
}

.order-card__main>strong {
  white-space: nowrap
}

.order-card__actions {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--k-line)
}

.order-card__actions a,
.order-card__actions button {
  border: 0;
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer
}

.order-card__actions button {
  color: var(--k-brown)
}

.profile-form {
  max-width: 650px;
  display: grid;
  gap: 14px
}

.profile-form .karleen-btn {
  width: max-content
}

/* Order detail */
.order-detail {
  padding: 52px 0 78px
}

.order-detail__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  padding-bottom: 27px;
  border-bottom: 1px solid #111
}

.order-detail__head p {
  margin: 0 0 6px;
  color: #777;
  font-size: 11px
}

.order-detail__head h1 {
  margin: 0 0 10px;
  font-size: 32px;
  text-transform: uppercase
}

.order-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 50px;
  padding-top: 32px
}

.order-detail h2 {
  font-size: 19px;
  text-transform: uppercase;
  margin: 0 0 18px
}

.order-product {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--k-line);
  padding: 17px 0
}

.order-product img {
  width: 90px;
  height: 105px;
  object-fit: contain;
  background: var(--k-soft)
}

.order-product small {
  text-transform: uppercase;
  color: var(--k-brown);
  font-size: 9px;
  font-weight: 700
}

.order-product h3 {
  font-size: 14px;
  text-transform: uppercase;
  margin: 5px 0
}

.order-product span {
  font-size: 11px;
  color: #777
}

.order-summary {
  border: 1px solid var(--k-line);
  padding: 22px;
  height: max-content
}

.order-summary dl {
  margin: 0
}

.order-summary dl>div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--k-line);
  font-size: 12px
}

.order-summary dt {
  font-weight: 400
}

.order-summary dd {
  margin: 0;
  font-weight: 700
}

.order-summary__total {
  font-size: 15px !important
}

.order-address {
  padding-top: 16px
}

.order-address small {
  font-size: 9px;
  text-transform: uppercase;
  color: #777
}

.order-address p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.4
}

.shop-page .site-footer {
  margin-top: 0
}

/* Mobile app navigation and responsive */
@media(max-width:991px) {
  .shop-header__nav {
    display: none
  }

  .shop-header__menu {
    display: flex
  }

  .shop-header__account span,
  .shop-header__cart span {
    display: none
  }

  .concern-grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .expert-care__panel,
  .product-commerce__grid {
    grid-template-columns: 1fr
  }

  .expert-care__panel>div {
    padding: 45px
  }

  .expert-care img {
    max-height: 440px
  }

  .product-commerce__grid {
    gap: 30px
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 0
  }

  .catalog-filter-panel {
    position: fixed;
    z-index: 205;
    left: 0;
    top: 0;
    width: min(390px, 92vw);
    height: 100dvh;
    overflow: auto;
    transform: translateX(-105%);
    transition: transform .28s;
    background: #fff;
    border: 0
  }

  .catalog-filter-panel.is-open {
    transform: translateX(0)
  }

  .catalog-filter-mobile-head {
    display: flex
  }

  .catalog-filter-form {
    padding: 20px 22px 30px
  }

  .catalog-filter-form>.filter-head {
    display: none
  }

  .filter-apply-mobile {
    display: inline-flex
  }

  .catalog-mobile-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px
  }

  .catalog-mobile-filter {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #111;
    background: #fff;
    padding: 0 12px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700
  }

  .catalog-mobile-filter svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6
  }

  .catalog-mobile-filter b {
    display: grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    font-size: 9px
  }

  .catalog-sort--desktop {
    display: none
  }

  .catalog-mobile-toolbar .catalog-sort {
    margin-left: auto
  }

  .catalog-mobile-toolbar .catalog-sort {
    font-size: 0
  }

  .catalog-mobile-toolbar .catalog-sort select {
    min-width: 150px;
    font-size: 10px
  }

  .account-layout {
    grid-template-columns: 1fr
  }

  .account-nav-panel {
    position: fixed;
    z-index: 205;
    left: 0;
    top: 0;
    width: min(360px, 92vw);
    height: 100dvh;
    background: #fff;
    transform: translateX(-105%);
    transition: transform .28s;
    border: 0
  }

  .account-nav-panel.is-open {
    transform: translateX(0)
  }

  .account-mobile-head {
    display: flex
  }

  .account-nav-trigger {
    display: flex
  }

  .account-nav a {
    padding: 18px 22px
  }
}

@media(max-width:767px) {
  body.shop-prototype {
    padding-bottom: 66px
  }
  
  .breadcrumbs {
      display: none;
  }

  .shop-header__inner {
    min-height: 64px;
    gap: 9px
  }

  .shop-header__logo img {
    width: 140px
  }

  .shop-header__actions {
    margin-left: auto;
    gap: 3px
  }

  .shop-header__icon,
  .shop-header__account {
    display: none
  }

  .shop-header__cart,
  .shop-header__menu {
    width: 36px;
    height: 36px;
    justify-content: center
  }

  .shop-header__cart b {
    position: absolute;
    transform: translate(12px, -11px);
    min-width: 17px;
    height: 17px;
    font-size: 8px
  }

  .shop-header__menu svg {
    width: 23px;
    height: 23px
  }

  .mobile-app-nav {
    position: fixed;
    z-index: 160;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    background: #fff;
    border-top: 1px solid var(--k-line);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: env(safe-area-inset-bottom)
  }

  .mobile-app-nav a,
  .mobile-app-nav button {
    border: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    font-size: 8px;
    text-transform: uppercase;
    font-weight: 700;
    position: relative
  }

  .mobile-app-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5
  }

  .mobile-app-nav b {
    position: absolute;
    top: 6px;
    right: calc(50% - 18px);
    display: grid;
    place-items: center;
    background: #111;
    color: #fff;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 8px
  }

  .hero-section--shop {
    min-height: 620px
  }

  .hero-section--shop .hero-section__inner {
    min-height: 520px
  }

  .concern-section,
  .catalog-preview,
  .expert-care,
  .shop-catalog,
  .product-info,
  .related-section,
  .brand-section {
    padding: 46px 0
  }

  .section-heading {
    margin-bottom: 24px
  }

  .section-heading h2,
  .shop-page-hero h1,
  .account-hero h1 {
    font-size: 27px
  }

  .section-heading--split {
    align-items: flex-start;
    flex-direction: column
  }

  .concern-grid {
    grid-template-columns: 1fr
  }

  .concern-card {
    min-height: 350px
  }

  .concern-card img {
    height: 245px
  }

  /* Important: product cards remain 2 columns on mobile */
  .shop-grid,
  .shop-grid--catalog,
  .related-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .shop-card__media {
    height: 190px;
    padding: 18px 13px
  }

  .shop-card__badge,
  .shop-card__stock-badge {
    top: 8px;
    padding: 5px 6px;
    font-size: 7px
  }

  .shop-card__badge {
    left: 8px
  }

  .shop-card__stock-badge {
    right: 8px
  }

  .shop-card__body {
    padding: 12px 10px
  }

  .shop-card__eyebrow {
    font-size: 8px;
    margin-bottom: 6px;
    min-height: 20px
  }

  .shop-card h3 {
    font-size: 12px;
    line-height: 1.22;
    margin-bottom: 8px
  }

  .shop-card__desc {
    display: none
  }

  .shop-card__bottom strong {
    font-size: 14px;
    display: block;
    margin-bottom: 8px
  }

  .shop-card__bottom button {
    font-size: 9px
  }

  .catalog-preview .shop-grid .shop-card:nth-child(n+5) {
    display: none
  }

  .expert-care__panel>div {
    padding: 30px 22px
  }

  .expert-care h2 {
    font-size: 30px
  }

  .brand-section__grid {
    grid-template-columns: 1fr;
    gap: 8px
  }

  .brand-section h2 {
    font-size: 27px
  }

  .shop-page-hero {
    padding: 43px 0 32px
  }

  .shop-page-hero span {
    font-size: 13px;
    line-height: 1.5;
    display: block
  }

  .catalog-mobile-toolbar {
    position: sticky;
    top: 64px;
    background: #fff;
    z-index: 15;
    padding: 10px 0;
    margin: 0 0 14px
  }

  .catalog-results__top {
    min-height: 40px;
    margin-bottom: 12px
  }

  .active-filter-chips {
    margin-top: 7px
  }

  .filter-chip {
    font-size: 8px
  }

  .catalog-search-state {
    font-size: 10px
  }

  .product-commerce {
    padding: 28px 0 48px
  }

  .product-summary h1 {
    font-size: 21px
  }

  .qty {
    height: 48px
  }

  .product-facts {
    grid-template-columns: 1fr
  }

  .product-tabs {
    margin-left: -12px;
    margin-right: -12px
  }

  .product-tab-panel dl>div {
    grid-template-columns: 1fr;
    gap: 5px
  }

  .product-tab-panel h2 {
    font-size: 22px
  }

  .related-products .shop-card:nth-child(3) {
    display: none
  }

  .auth-page {
    padding: 20px 12px
  }

  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .auth-visual {
    display: none
  }

  .auth-card {
    padding: 35px 22px
  }

  .auth-card h1 {
    font-size: 27px
  }

  .form-grid-2 {
    grid-template-columns: 1fr
  }

  .form-row--between {
    align-items: flex-start
  }

  .auth-alt {
    margin-top: 22px
  }

  .account-hero {
    padding: 36px 0 28px
  }

  .account-hero .container {
    align-items: flex-start;
    flex-direction: column
  }

  .account-section {
    padding: 30px 0 52px
  }

  .account-stats {
    grid-template-columns: 1fr 1fr
  }

  .account-stats article:last-child {
    grid-column: 1/-1
  }

  .account-block__head h2 {
    font-size: 21px
  }

  .order-progress {
    grid-template-columns: 1fr 1fr;
    row-gap: 10px
  }

  .current-order__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px
  }

  .current-order__meta a {
    margin-left: 0
  }

  .order-card__main {
    flex-direction: column
  }

  .order-card__actions {
    justify-content: space-between
  }

  .profile-form .karleen-btn {
    width: 100%
  }

  .order-detail {
    padding: 34px 0 55px
  }

  .order-detail__head {
    align-items: flex-start;
    flex-direction: column
  }

  .order-detail__head h1 {
    font-size: 26px
  }

  .order-detail__head .karleen-btn {
    width: 100%
  }

  .order-detail__grid {
    grid-template-columns: 1fr;
    gap: 26px
  }

  .order-product {
    grid-template-columns: 70px 1fr
  }

  .order-product img {
    width: 70px;
    height: 86px
  }

  .order-product>strong {
    grid-column: 2
  }

  .drawer {
    width: min(390px, 94vw)
  }

  .site-footer {
    overflow: hidden
  }
}

@media(max-width:390px) {
  .shop-card__media {
    height: 170px
  }

  .shop-card h3 {
    font-size: 11px
  }

  .shop-card__bottom strong {
    font-size: 13px
  }

  .catalog-mobile-toolbar .catalog-sort select {
    min-width: 132px;
    padding: 9px 5px
  }

  .shop-header__logo img {
    width: 128px
  }
}


/* =========================================================
   KARLEEN — MOBILE HEADER CART R1

   Mobile navigation already contains the cart action.
   Hide the duplicate cart icon from the top header only
   while the mobile bottom navigation is active.
   ========================================================= */

@media (max-width: 767px) {

  .shop-v3 .shop-header__cart {
    display: none !important;
  }

}


/* =========================================================
   KARLEEN — MOBILE CART DRAWER R1

   Mobile item:
   image | title       [trash]
         | price
         | qty controls

   Removal is visually separated from quantity controls.
   ========================================================= */

@media (max-width: 767px) {

  .shop-v3
  .cart-drawer__body
  .cart-line {
    position: relative;

    display: grid;

    grid-template-columns:
      86px
      minmax(0, 1fr);

    grid-template-areas:
      "image title"
      "image price"
      "image controls";

    column-gap: 14px;
    row-gap: 8px;

    align-items: start;

    padding:
      10px 0;

    border-bottom:
      1px solid
      var(--k-line);
  }


  /*
   * First child is the product image link.
   */
  .shop-v3
  .cart-drawer__body
  .cart-line
  > a:first-child {
    grid-area: image;

    display: block;

    width: 86px;
    height: 86px;

    align-self: start;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__media {
    display: block;

    width: 86px;
    height: 86px;

    object-fit: contain;

    background: #f7f5f1;
  }


  /*
   * The current markup wraps title, controls and remove
   * inside one div. display:contents lets those children
   * participate directly in the cart-line grid without
   * changing the JS-generated DOM.
   */
  .shop-v3
  .cart-drawer__body
  .cart-line
  > div:not(.cart-line__price) {
    display: contents;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__title {
    grid-area: title;

    display: block;

    min-width: 0;

    padding-right: 38px;

    margin: 0;

    color: #111;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;

    text-decoration: none;
  }


  /*
   * Price sits directly below the title.
   */
  .shop-v3
  .cart-drawer__body
  .cart-line__price {
    grid-area: price;

    justify-self: start;
    align-self: start;

    margin: 0;

    color: #111;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.1;

    white-space: nowrap;
  }


  /*
   * Large, isolated quantity controls.
   */
  .shop-v3
  .cart-drawer__body
  .cart-line__controls {
    grid-area: controls;

    display: grid;

    grid-template-columns:
      42px
      40px
      42px;

    width: max-content;
    height: 42px;

    margin:
      3px 0 0;

    border:
      1px solid #cfc7bf;

    background: #fff;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__controls button {
    display: grid;

    width: 42px;
    height: 40px;

    place-items: center;

    padding: 0;

    border: 0;

    background: #fff;
    color: #111;

    font: inherit;
    font-size: 20px;

    cursor: pointer;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__controls button:first-child {
    border-right:
      1px solid
      #e4ddd6;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__controls button:last-child {
    border-left:
      1px solid
      #e4ddd6;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__controls button:disabled {
    opacity: .24;

    cursor: default;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__controls span {
    display: grid;

    min-width: 40px;

    place-items: center;

    color: #111;

    font-size: 13px;
    font-weight: 600;
  }


  /*
   * Dedicated trash action.
   * Existing visible word "Удалить" is retained in the DOM
   * for accessibility but replaced visually by an icon.
   */
  .shop-v3
  .cart-drawer__body
  .cart-line__remove {
    position: absolute;

    top: 15px;
    right: 0;

    display: grid;

    width: 34px;
    height: 34px;

    place-items: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: #777;

    font-size: 0;

    cursor: pointer;

    transition:
      color .15s ease,
      background .15s ease;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__remove::before {
    content: "";

    display: block;

    width: 18px;
    height: 18px;

    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M9 3h6l1 4H8l1-4Z'/%3E%3Cpath d='m7 7 1 14h8l1-14'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E");

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }


  .shop-v3
  .cart-drawer__body
  .cart-line__remove:hover,
  .shop-v3
  .cart-drawer__body
  .cart-line__remove:focus-visible {
    background:
      #f3efeb;
  }

}
