/* Kente Tribe store layout */

*, *::before, *::after { box-sizing: border-box; }

html, body.store-body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #303030;
  background: #fff;
}

body.store-body {
  --store-header-height: 5.75rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--store-header-height) + env(safe-area-inset-top, 0px));
  overflow-x: clip;
}

html:has(body.store-body) {
  overflow-x: clip;
}

/* Shop filter sidebar uses position:sticky; clip on html/body breaks it */
html.shop-page:has(body.store-body),
body.store-body.shop-page {
  overflow-x: visible;
}

body.store-body.shop-page .store-main {
  overflow: visible;
}

/* Gallery albums scroll inside the store-page container */
body.store-body.gallery-page .store-main {
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

body.store-body.gallery-page .store-page--gallery {
  min-width: 0;
  max-width: 1200px;
  overflow: hidden;
}

/* Custom scrollbars: slim black thumb, grey track */
html:has(body.store-body),
body.store-body,
body.store-body * {
  scrollbar-width: thin;
  scrollbar-color: #24262B #d9d9d9;
}

body.store-body *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

body.store-body *::-webkit-scrollbar-track {
  background: #d9d9d9;
}

body.store-body *::-webkit-scrollbar-thumb {
  background: #24262B;
  border-radius: 999px;
}

body.store-body *::-webkit-scrollbar-thumb:hover {
  background: #303030;
}

body.store-body *::-webkit-scrollbar-corner {
  background: #d9d9d9;
}

/* Override legacy template color bleed from color-2.css */
.store-body h1:not(.home-hero__title),
.store-body h2,
.store-body h3 {
  color: inherit;
}

.store-body h1:not(.home-hero__title) {
  font-weight: 600;
}

.store-body .home-hero__title {
  font-weight: 600;
  color: #fff;
}

.store-body h2,
.store-body h3 {
  font-weight: 500;
}

/* Heading accent underline (excludes product cards + compact UI labels) */
.store-body h1:not(.home-hero__title):not(.product-card__name),
.store-body h2:not(.product-card__name):not(.account-card__title):not(.fabric-panel__title),
.store-body h3:not(.product-card__name):not(.about-team__name) {
  width: fit-content;
  max-width: 100%;
}

.store-body h1:not(.home-hero__title):not(.product-card__name)::after,
.store-body h2:not(.product-card__name):not(.account-card__title):not(.fabric-panel__title)::after,
.store-body h3:not(.product-card__name):not(.about-team__name)::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.6rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #24262B 0%, rgba(36, 38, 43, 0.12) 100%);
}

.store-body h1:not(.home-hero__title):not(.product-card__name)::after {
  width: 4.25rem;
}

.store-body h3:not(.product-card__name):not(.about-team__name)::after {
  width: 2.25rem;
  height: 2px;
  margin-top: 0.45rem;
}

.checkout-form__section h2::after,
.checkout-summary h2::after,
.cart-row__info h3::after,
.product-card__name::after,
.about-team__name::after,
.account-form__section-title::after,
.fabric-panel__title::after {
  display: none;
  content: none;
}

.checkout-status h1 {
  color: #24262B;
}

/* 16px inputs prevent iOS zoom on focus */
@media (max-width: 767px) {
  .store-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]),
  .store-body textarea,
  .store-body select,
  .store-body .ktg-select__trigger {
    font-size: 16px;
  }
}

a { color: #24262B; text-decoration: none; }
a:hover { color: #6f7273; }

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

/* Checkboxes — shared store + admin template style */
.store-body input[type="checkbox"],
.admin-body input[type="checkbox"],
.ktg-check input[type="checkbox"],
.auth-form__check input[type="checkbox"],
.shop-filters__check input[type="checkbox"],
.admin-field-check input[type="checkbox"],
.admin-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid #c8c8c8;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: background 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
  padding: 0;
}

.store-body input[type="checkbox"]:hover,
.admin-body input[type="checkbox"]:hover,
.ktg-check input[type="checkbox"]:hover,
.auth-form__check input[type="checkbox"]:hover,
.shop-filters__check input[type="checkbox"]:hover,
.admin-field-check input[type="checkbox"]:hover,
.admin-check input[type="checkbox"]:hover {
  border-color: #24262B;
}

.store-body input[type="checkbox"]:checked,
.admin-body input[type="checkbox"]:checked,
.ktg-check input[type="checkbox"]:checked,
.auth-form__check input[type="checkbox"]:checked,
.shop-filters__check input[type="checkbox"]:checked,
.admin-field-check input[type="checkbox"]:checked,
.admin-check input[type="checkbox"]:checked {
  background: #24262B;
  border-color: #24262B;
}

.store-body input[type="checkbox"]:checked::after,
.admin-body input[type="checkbox"]:checked::after,
.ktg-check input[type="checkbox"]:checked::after,
.auth-form__check input[type="checkbox"]:checked::after,
.shop-filters__check input[type="checkbox"]:checked::after,
.admin-field-check input[type="checkbox"]:checked::after,
.admin-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.02rem;
  width: 0.35rem;
  height: 0.65rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.store-body input[type="checkbox"]:focus-visible,
.admin-body input[type="checkbox"]:focus-visible,
.ktg-check input[type="checkbox"]:focus-visible,
.auth-form__check input[type="checkbox"]:focus-visible,
.shop-filters__check input[type="checkbox"]:focus-visible,
.admin-field-check input[type="checkbox"]:focus-visible,
.admin-check input[type="checkbox"]:focus-visible {
  outline: 2px solid #24262B;
  outline-offset: 2px;
}

.store-body input[type="checkbox"]:disabled,
.admin-body input[type="checkbox"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ktg-check,
.auth-form__check,
.shop-filters__check,
.admin-field-check,
.admin-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: #303030;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.ktg-check label,
.admin-field-check label,
.admin-check label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 0;
  overflow: visible;
  box-sizing: border-box;
  min-height: 2.75rem;
  font: normal 600 0.72rem/1.2 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  background: none;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button > i,
.button > .fas,
.button > .far,
.button > .fab {
  flex-shrink: 0;
  line-height: 1;
}

.button-caption {
  pointer-events: none;
  position: relative;
  z-index: 1;
}

/* Black → white: rainbow border trace, then fill swap on hover */
.button-solid-dark::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    #ff3b30 0%,
    #ff9500 14%,
    #ffcc00 28%,
    #34c759 42%,
    #007aff 57%,
    #5856d6 71%,
    #bf5af2 85%,
    #ff3b30 100%
  );
  background-size: 200% 100%;
}

.button-solid-dark::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: transparent;
  pointer-events: none;
  transition: background 0.25s ease;
}

.button-solid-dark:hover::before,
.button-solid-dark:focus-visible::before {
  opacity: 1;
  animation: ktg-rainbow-track 0.7s ease-in forwards;
}

.button-solid-dark:not(:hover):not(:focus-visible)::before {
  animation: none;
  clip-path: polygon(0 0, 0 0, 0 0);
}

@keyframes ktg-rainbow-track {
  0% {
    clip-path: polygon(0 0, 18% 0, 18% 2px, 0 2px);
    background-position: 0% 0%;
  }
  12% {
    clip-path: polygon(82% 0, 100% 0, 100% 2px, 82% 2px);
    background-position: 15% 0%;
  }
  25% {
    clip-path: polygon(calc(100% - 2px) 0, 100% 0, 100% 18%, calc(100% - 2px) 18%);
    background-position: 30% 0%;
  }
  37% {
    clip-path: polygon(calc(100% - 2px) 82%, 100% 82%, 100% 100%, calc(100% - 2px) 100%);
    background-position: 45% 0%;
  }
  50% {
    clip-path: polygon(0 calc(100% - 2px), 100% calc(100% - 2px), 100% 100%, 0 100%);
    background-position: 60% 0%;
  }
  62% {
    clip-path: polygon(0 82%, 2px 82%, 2px 100%, 0 100%);
    background-position: 75% 0%;
  }
  75% {
    clip-path: polygon(0 0, 2px 0, 2px 18%, 0 18%);
    background-position: 90% 0%;
  }
  88% {
    clip-path: polygon(0 0, 18% 0, 18% 2px, 0 2px);
    background-position: 100% 0%;
  }
  100% {
    clip-path: inset(-1px);
    background-position: 0% 0%;
  }
}

/* Black → white */
.button-solid-dark {
  background: #24262B;
  border: 1px solid transparent;
  color: #fff;
}

.button-solid-dark:hover,
.button-solid-dark:focus-visible,
.no-touch .button-solid-dark:hover,
.no-touch .button-solid-dark:focus-visible {
  background: transparent;
  border-color: transparent;
  color: #24262B;
}

.button-solid-dark:hover::after,
.button-solid-dark:focus-visible::after {
  background: #fff;
}

/* White → black */
.button-outline-dark {
  background: transparent;
  border-color: #303030;
  color: #303030;
}

.button-outline-dark:hover,
.button-outline-dark:focus-visible,
.no-touch .button-outline-dark:hover,
.no-touch .button-outline-dark:focus-visible {
  background: #24262B;
  border-color: #24262B;
  color: #fff;
}

/* White → ghost (on dark backgrounds) */
.button-solid-light {
  background: #fff;
  border-color: #fff;
  color: #24262B;
}

.button-solid-light:hover,
.button-solid-light:focus-visible,
.no-touch .button-solid-light:hover,
.no-touch .button-solid-light:focus-visible {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

/* Outline white → white fill */
.button-outline-light {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.button-outline-light:hover,
.button-outline-light:focus-visible,
.no-touch .button-outline-light:hover,
.no-touch .button-outline-light:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #24262B;
}

.button:disabled,
.button:disabled:hover,
.button:disabled:focus-visible {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-solid-dark:disabled::before,
.button-solid-dark:disabled:hover::before,
.button-solid-dark:disabled:focus-visible::before {
  opacity: 0;
  animation: none;
  clip-path: polygon(0 0, 0 0, 0 0);
}

.button--compact {
  padding: 0.65rem 1.35rem;
  font-size: 0.75rem;
}

/* Header: fixed so it stays visible on every page (sticky breaks when ancestors use overflow) */
.store-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  padding-top: env(safe-area-inset-top, 0px);
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.store-header__bar {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.store-header__inner {
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 900px) {
  .store-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-right: 1.5rem;
  }

  .store-header__inner {
    flex: 1;
    padding-right: 0;
  }
}

.store-header__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-weight: 600;
  color: #24262B;
}

.store-header__logo-image {
  display: block;
  height: clamp(3.25rem, 10vw, 4.75rem);
  width: auto;
  max-width: min(17rem, 62vw);
  object-fit: contain;
  object-position: left center;
}

.store-header__logo-image--light {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.store-header__logo-image--dark {
  opacity: 1;
}

.store-header__logo-image--light,
.store-header__logo-image--dark {
  transition: opacity 0.35s ease;
}

body:not(.home-page) .store-header__logo-image--light {
  display: none;
}

.store-header__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  background: none;
  border: 2px solid #303030;
  padding: 0.5rem 0.75rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.store-header__toggle.is-open {
  background: #24262B;
  border-color: #24262B;
  color: #fff;
}

@media (min-width: 900px) {
  .store-header__toggle { display: none; }
}

.store-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0 12px 24px rgba(36, 38, 43, 0.08);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s ease;
}

.store-nav.is-open {
  max-height: min(85vh, 40rem);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.store-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  transition: padding 0.35s ease;
}

.store-nav.is-open .store-nav__inner {
  padding: 1rem 1.5rem 1.25rem;
}

@media (min-width: 900px) {
  .store-nav {
    position: static;
    width: auto;
    margin-left: 0;
    left: auto;
    border: none;
    box-shadow: none;
    max-height: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    overflow: visible;
    transition: none;
  }

  .store-nav__inner {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    max-width: none;
    margin: 0;
  }
}

.store-nav a,
.store-nav__account {
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 0;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  color: #303030;
  opacity: 0;
  transform: translateY(-6px);
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 0.2s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.store-nav.is-open a,
.store-nav.is-open .store-nav__account {
  opacity: 1;
  transform: translateY(0);
}

.store-nav.is-open a:nth-child(1) { transition-delay: 0.04s; }
.store-nav.is-open a:nth-child(2) { transition-delay: 0.08s; }
.store-nav.is-open a:nth-child(3) { transition-delay: 0.12s; }
.store-nav.is-open a:nth-child(4) { transition-delay: 0.16s; }
.store-nav.is-open a:nth-child(5) { transition-delay: 0.2s; }
.store-nav.is-open a:nth-child(6) { transition-delay: 0.24s; }
.store-nav.is-open a:nth-child(7) { transition-delay: 0.28s; }

.store-nav:not(.is-open) a,
.store-nav:not(.is-open) .store-nav__account {
  transition-delay: 0s;
}

@media (min-width: 900px) {
  .store-nav a,
  .store-nav__account {
    opacity: 1;
    transform: none;
    min-height: 0;
    padding: 0.5rem 0;
    transition: color 0.2s ease, box-shadow 0.2s ease;
  }

  .store-nav__account {
    padding: 0;
  }
}

.store-nav a:hover { color: #24262B; }

.store-nav a.is-active {
  color: #24262B;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 #24262B;
}

.store-nav__wishlist,
.store-nav__cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.store-nav__badge {
  background: #24262B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  min-width: 1.2rem;
  text-align: center;
}

body.store-nav-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  body.store-nav-open { overflow: auto; }
}

/* Main */
.store-main {
  flex: 1 0 auto;
  min-height: 0;
  transition: opacity 0.18s ease;
}

.store-main.is-swapping {
  opacity: 0.72;
}

.store-back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 10040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 2px solid #24262B;
  border-radius: 50%;
  background: #fff;
  color: #24262B;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(36, 38, 43, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.store-back-to-top .ktg-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.store-back-to-top:hover,
.store-back-to-top:focus-visible {
  background: #fff;
  color: #24262B;
  border-color: #24262B;
}

.store-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.store-whatsapp {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 10040;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem 0.55rem 0.7rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.store-whatsapp .ktg-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.store-whatsapp__label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.store-whatsapp:hover,
.store-whatsapp:focus-visible {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

@media (max-width: 480px) {
  .store-whatsapp {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .store-whatsapp__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.store-nav-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10050;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.store-nav-progress.is-active {
  opacity: 1;
}

.store-nav-progress__bar {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #9a3412, #24262B);
  transform: translateX(-120%);
  animation: storeNavProgress 0.9s ease-in-out infinite;
}

@keyframes storeNavProgress {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

@media (prefers-reduced-motion: reduce) {
  .store-main {
    transition: none;
  }

  .store-back-to-top {
    transition: opacity 0.25s ease, visibility 0.25s ease;
    transform: none;
  }

  .store-nav-progress__bar {
    animation: none;
    width: 100%;
    transform: none;
  }
}

.store-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

@media (min-width: 576px) {
  .store-page {
    padding: 2rem 1.5rem 4rem;
  }
}

.store-page__hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e6e6e6;
}

.store-page__hero h1 {
  font-size: clamp(1.65rem, 5vw, 2.1rem);
  font-weight: 600;
  color: #262626;
  margin: 0 0 0.5rem;
}

.store-page__hero p {
  margin: 0;
  color: #6f7273;
  max-width: 36rem;
}

/* Toasts */
.store-toast-stack {
  position: fixed;
  top: calc(var(--store-header-height, 4.75rem) + env(safe-area-inset-top, 0px) + 1rem);
  right: calc(1rem + env(safe-area-inset-right, 0px));
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}

.store-toast {
  pointer-events: auto;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  color: #24262B;
  border: 2px solid #24262B;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateX(calc(100% + 1.5rem));
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.store-toast.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.store-toast.is-leaving {
  transform: translateX(calc(100% + 1.5rem));
  opacity: 0;
}

.store-toast__message {
  flex: 1;
  min-width: 0;
}

.store-toast__list {
  margin: 0;
  padding-left: 1.1rem;
}

.store-toast__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: -0.35rem -0.35rem 0 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #24262B;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.store-toast__close:hover {
  opacity: 0.65;
}

/* Toolbar & filters */
.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.store-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.store-filter {
  padding: 0.5rem 1rem;
  border: 1px solid #d9d9d9;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #303030 !important;
  background: #fff;
  transition: all 0.2s;
}

.store-filter:hover,
.store-filter.is-active {
  background: #24262B;
  border-color: #24262B;
  color: #fff;
}

.store-toolbar__count { color: #6f7273; font-size: 0.9rem; margin: 0; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 576px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e6e6e6;
  background: #fff;
  transition: box-shadow 0.3s;
}

.product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.product-card__media {
  position: relative;
}

.product-card__image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f4f4f4;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #24262B;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  letter-spacing: 0.05em;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.product-card__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6f7273;
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.product-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
}

.product-length {
  font-size: 0.88em;
  font-weight: 500;
  color: #6f7273;
}

.product-card__price .product-pricing {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.product-price small {
  font-weight: 400;
  color: #6f7273;
}

.product-price__compare {
  font-size: 0.88em;
  font-weight: 400;
  color: #9aa3b0;
  text-decoration: line-through;
}

.product-price--sale .product-price__current {
  color: #9a3412;
  font-weight: 600;
}

.product-card__badge--sale {
  left: auto;
  right: 0.75rem;
  background: #9a3412;
}

.wishlist-toggle {
  margin: 0;
}

.wishlist-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: #fff;
  color: #6f7273;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.wishlist-toggle__btn:hover,
.wishlist-toggle__btn:focus-visible {
  color: #9a3412;
  border-color: #9a3412;
}

.wishlist-toggle__btn.is-active {
  color: #9a3412;
  border-color: #9a3412;
  background: #fff7ed;
}

.wishlist-toggle__btn.is-active .wishlist-toggle__icon {
  fill: currentColor;
}

.wishlist-toggle__icon {
  width: 1rem;
  height: 1rem;
}

.wishlist-toggle--card {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
}

.wishlist-toggle--detail {
  margin-bottom: 1rem;
}

.wishlist-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wishlist-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "image info"
    "actions actions";
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e6e6e6;
  background: #fff;
}

.wishlist-row__image {
  grid-area: image;
  display: block;
  width: 72px;
  height: 72px;
  background: #f4f4f4;
  overflow: hidden;
}

.wishlist-row__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wishlist-row__info {
  grid-area: info;
}

.wishlist-row__category {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6f7273;
}

.wishlist-row__info h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.wishlist-row__info p {
  margin: 0;
}

.wishlist-row__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wishlist-row__remove-form {
  margin: 0;
}

.wishlist-row__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: #fff;
  color: #6f7273;
  cursor: pointer;
}

.wishlist-row__remove:hover {
  color: #9a3412;
  border-color: #9a3412;
}

.wishlist-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .wishlist-row {
    grid-template-columns: 88px 1fr auto;
    grid-template-areas: "image info actions";
    align-items: center;
  }

  .wishlist-row__image {
    width: 88px;
    height: 88px;
  }
}

.product-card__badge--featured {
  left: 0.75rem;
  color: #24262B;
  background-color: #fff;
  background-image: linear-gradient(#fff, #fff),
    linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.cart-row__qty--fixed {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6f7273;
  margin: 0;
}

.product-card__name {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.product-card__name a { color: #262626; }

.product-card__price {
  font-weight: 600;
  color: #24262B;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.product-card__price small {
  font-weight: 400;
  color: #6f7273;
  font-size: 0.72rem;
  white-space: normal;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: auto;
}

.product-card__actions .button {
  width: 100%;
  min-width: 0;
}

.product-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.product-card__action-icon {
  display: none;
  flex-shrink: 0;
}

.product-card__action-icon.ktg-icon,
.product-card__action-icon.ktg-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (max-width: 767px) {
  .product-card__action-icon {
    display: block;
  }

  .product-card__actions .product-card__action .button-caption {
    display: none;
  }

  .product-card__actions .product-card__action {
    padding: 0.65rem;
    min-height: 2.75rem;
  }

  .product-card__action-icon.ktg-icon,
  .product-card__action-icon.ktg-icon svg {
    width: 1.2rem;
    height: 1.2rem;
  }
}

/* Product detail */
.store-breadcrumb {
  font-size: 0.85rem;
  color: #6f7273;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.store-breadcrumb a { color: #6f7273; }
.store-breadcrumb a:hover { color: #24262B; }

.product-detail {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .product-detail { grid-template-columns: 1fr 1fr; align-items: start; }
}

.product-detail__image img { width: 100%; }

.product-detail__category {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: #6f7273;
  margin: 0 0 0.5rem;
}

.product-detail__info h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #262626;
  margin: 0 0 0.5rem;
}

.product-detail__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #24262B;
  margin: 0 0 1.25rem;
}

.product-detail__price .product-price__current {
  font-size: inherit;
  font-weight: inherit;
}

.product-detail__price .product-price__compare {
  font-size: 0.85em;
}

.product-detail__price small { font-size: 1rem; font-weight: 400; color: #6f7273; }

.product-detail__desc { color: #303030; margin-bottom: 1.5rem; }

.product-detail__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-detail__qty {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.product-detail__qty input {
  width: 5rem;
  padding: 0.6rem;
  border: 1px solid #d9d9d9;
  font-family: inherit;
  font-size: 1rem;
}

.product-detail__note {
  font-size: 0.9rem;
  color: #6f7273;
}

/* Cart */
.cart-table { margin-bottom: 2rem; }

.cart-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas:
    "image info"
    "image meta";
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e6e6e6;
}

.cart-row__image {
  grid-area: image;
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  background: #f4f4f4;
}

.cart-row__info { grid-area: info; }

.cart-row__meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cart-row__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cart-row {
    grid-template-columns: 80px 1fr auto auto auto;
    grid-template-areas: "image info qty total remove";
    align-items: center;
    gap: 1rem;
  }

  .cart-row__image {
    width: 80px;
    height: 80px;
  }

  .cart-row__meta {
    display: contents;
  }

  .cart-row__footer {
    display: contents;
  }

  .cart-row__qty,
  .cart-row__qty--fixed {
    grid-area: qty;
  }

  .cart-row__total {
    grid-area: total;
  }

  .cart-row__remove-form {
    grid-area: remove;
  }
}

.cart-row__info h3 { font-size: 1rem; margin: 0 0 0.25rem; }
.cart-row__info p { margin: 0; font-size: 0.9rem; color: #6f7273; }

.cart-row__qty input {
  width: 4rem;
  padding: 0.4rem;
  border: 1px solid #d9d9d9;
  font-family: inherit;
}

.cart-row__total { font-weight: 700; white-space: nowrap; }

.cart-row__remove-form {
  margin: 0;
}

.cart-row__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6f7273;
  cursor: pointer;
  padding: 0;
}

.cart-summary {
  max-width: 100%;
  margin-left: 0;
  padding: 1.5rem;
  background: #f2f2f2;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cart-summary__note { font-size: 0.85rem; color: #6f7273; margin-bottom: 1.25rem; }

.cart-summary__actions { display: flex; flex-direction: column; gap: 0.75rem; }
.cart-summary__actions .button { width: 100%; }

@media (min-width: 576px) {
  .cart-summary {
    max-width: 400px;
    margin-left: auto;
  }
}

/* Checkout */
.checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

.checkout-layout--single {
  max-width: 720px;
  margin: 0 auto;
}

.checkout-summary {
  order: -1;
}

@media (min-width: 992px) {
  .checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: 2.5rem;
    align-items: start;
  }

  .checkout-layout--single {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    order: 0;
  }
}

.checkout-form__section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e6e6e6;
}

.checkout-form__section h2,
.checkout-summary h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
  color: #24262B;
}

.checkout-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 576px) {
  .checkout-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checkout-field--full { grid-column: 1 / -1; }

.checkout-field > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #24262B;
}

.checkout-field input,
.checkout-field textarea,
.checkout-field .ktg-select__trigger {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d4d4d4;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: #24262B;
  background: #fff;
  box-sizing: border-box;
}

.checkout-field .ktg-select__value {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.checkout-field .ktg-select__trigger {
  border-color: #d4d4d4;
}

.checkout-field .ktg-select__option {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: none;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: #24262B;
  background: #fff;
  box-sizing: border-box;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: #24262B;
}

.checkout-field--invalid > span,
.contact-form__field--invalid label {
  color: #dc2626;
}

.checkout-field--invalid input,
.checkout-field--invalid textarea,
.checkout-field--invalid .ktg-select__trigger,
.contact-form__field--invalid input,
.contact-form__field--invalid textarea {
  border-color: #dc2626 !important;
  background: #fef2f2;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.12);
}

.checkout-field--invalid input:focus,
.checkout-field--invalid textarea:focus,
.checkout-field--invalid .ktg-select__trigger:focus-visible,
.contact-form__field--invalid input:focus,
.contact-form__field--invalid textarea:focus {
  border-color: #b91c1c !important;
  outline: none;
}

.checkout-field input.is-invalid,
.checkout-field textarea.is-invalid,
.checkout-field .ktg-select__trigger.is-invalid,
.contact-form__field input.is-invalid,
.contact-form__field textarea.is-invalid {
  border-color: #dc2626;
  background: #fef2f2;
}

.checkout-form__hint {
  margin: 0;
  font-size: 0.82rem;
  color: #6f7273;
}

.checkout-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 575px) {
  .checkout-form__actions {
    flex-direction: column;
  }

  .checkout-form__actions .button {
    width: 100%;
  }
}

.checkout-form__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6f7273;
}

.checkout-summary {
  padding: 1.5rem;
  border: 1px solid #e6e6e6;
  background: #fafafa;
}

.checkout-summary--wide {
  max-width: 720px;
  margin: 0 auto;
}

.checkout-summary__items {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ececec;
  font-size: 0.9rem;
}

.checkout-summary__item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.checkout-summary__item strong { font-size: 0.95rem; }
.checkout-summary__item span { color: #6f7273; font-size: 0.82rem; }

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: #6f7273;
  margin-bottom: 0.35rem;
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  padding-top: 0.5rem;
  margin-bottom: 1rem;
  border-top: 1px solid #e6e6e6;
  margin-top: 0.5rem;
}

.checkout-payment-options {
  display: grid;
  gap: 0.75rem;
}

.checkout-payment-option {
  display: block;
  cursor: pointer;
}

.checkout-payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-payment-option__box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 2px solid #e6e6e6;
  background: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.checkout-payment-option.is-selected .checkout-payment-option__box,
.checkout-payment-option input:checked + .checkout-payment-option__box {
  border-color: #24262B;
  background: #fafafa;
}

.checkout-payment-option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-payment-option__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  flex-shrink: 0;
}

.checkout-payment-option__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.checkout-payment-option__text strong {
  font-size: 0.95rem;
  color: #24262B;
}

.checkout-payment-option__text span {
  font-size: 0.82rem;
  color: #6f7273;
  line-height: 1.45;
}

.checkout-form__error,
.contact-form__error {
  display: block;
  margin: 0.35rem 0 0;
  color: #dc2626;
  font-size: 0.85rem;
  font-weight: 500;
}

.checkout-form__hint--cod {
  margin-top: 0.35rem;
}

.checkout-summary__secure {
  margin: 0;
  font-size: 0.82rem;
  color: #6f7273;
}

.checkout-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.checkout-details {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.checkout-details div {
  display: grid;
  gap: 0.2rem;
}

.checkout-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6f7273;
}

.checkout-details dd {
  margin: 0;
  color: #24262B;
}

.checkout-status {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.checkout-status__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #24262B;
  font-size: 1.25rem;
}

.checkout-status--success .checkout-status__icon {
  background: #24262B;
  color: #fff;
}

.checkout-status--failed .checkout-status__icon {
  background: #fff;
  color: #24262B;
}

.checkout-status h1 {
  font-size: clamp(1.5rem, 5vw, 1.8rem);
  margin: 0 0 0.75rem;
  color: #24262B;
}

.checkout-status p {
  margin: 0;
  color: #6f7273;
}

.checkout-status__ref {
  margin-top: 1rem !important;
  color: #24262B !important;
}

.checkout-status__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Empty state */
.store-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: #6f7273;
}

.store-empty .button { margin-top: 1rem; }

/* Sections */
.store-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e6e6e6; }
.store-section__title { font-size: 1.4rem; font-weight: 500; margin-bottom: 1.5rem; }

/* About, gallery, contact */
.store-content { max-width: 800px; }
.store-lead { font-size: 1.15rem; line-height: 1.7; margin-bottom: 2.5rem; }

.feature-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; font-weight: 500; margin: 0 0 0.5rem; }
.feature-card p { font-size: 0.9rem; color: #6f7273; margin: 0; }

.store-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 576px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item {
  margin: 0;
  overflow: hidden;
  background: #f4f4f4;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.gallery-item figcaption {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #303030;
}

.gallery-item__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-item__link:hover img,
.gallery-item__link:focus-visible img {
  opacity: 0.92;
}

.gallery-item__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6f7273;
}

.gallery-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8e8e8;
}

.gallery-subnav__link {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6f7273;
  border: 2px solid #e0e0e0;
  transition: all 0.25s ease;
}

.gallery-subnav__link:hover,
.gallery-subnav__link.is-active {
  color: #24262B;
  border-color: #24262B;
  background: #f7f7f7;
}

.style-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.style-gallery-filters__pill {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6f7273;
  background: #f3f3f3;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.style-gallery-filters__pill:hover,
.style-gallery-filters__pill.is-active {
  color: #fff;
  background: #24262B;
}

.style-gallery-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 576px) { .style-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .style-gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.style-gallery-card {
  display: flex;
  flex-direction: column;
  background: #fafafa;
  border: 1px solid #ececec;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.style-gallery-card:hover {
  box-shadow: 0 8px 24px rgba(36, 38, 43, 0.1);
  transform: translateY(-2px);
}

.style-gallery-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f4f4f4;
}

.style-gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.style-gallery-card__tag {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(36, 38, 43, 0.82);
}

.style-gallery-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
}

.style-gallery-card__body h2 {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: #24262B;
}

.style-gallery-card__body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #6f7273;
  margin: 0;
}

.style-gallery-empty {
  padding: 2rem;
  text-align: center;
  color: #6f7273;
  background: #f7f7f7;
  margin-bottom: 2rem;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) { .contact-layout { grid-template-columns: 1fr 1.2fr; } }

.contact-info h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.contact-info__list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-info__list li { margin-bottom: 0.75rem; }
.contact-info__list i { width: 1.5rem; color: #6f7273; }

.contact-form__field { margin-bottom: 1.25rem; }
.contact-form__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-bottom: 1px solid #303030;
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-bottom-color: #24262B;
}

.contact-form__captcha {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-form__captcha-prompt {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #24262B;
  letter-spacing: 0.02em;
}

.contact-form__captcha input {
  max-width: 6rem;
}

/* Auth */
.auth-page .auth-card {
  max-width: 28rem;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid #e6e6e6;
  background: #fafafa;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form__error {
  font-size: 0.82rem;
  color: #900;
}

.auth-form__check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #303030;
  cursor: pointer;
  margin-bottom: 0;
}

.auth-form__actions {
  margin-top: 0.5rem;
}

.auth-form__actions .button {
  width: 100%;
}

.auth-form__footer {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  text-align: center;
}

.auth-form__footer a {
  font-weight: 600;
  color: #24262B;
}

.auth-page__back {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.88rem;
}

.auth-page__back a {
  font-weight: 600;
  color: #24262B;
}

.checkout-account-banner {
  max-width: 1100px;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e6e6e6;
  background: #fafafa;
  font-size: 0.9rem;
  color: #303030;
  line-height: 1.55;
}

@media (max-width: 575px) {
  .checkout-account-banner {
    font-size: 0.85rem;
    padding: 0.75rem 0.85rem;
  }
}

.checkout-account-banner--signed-in {
  border-color: #24262B;
  background: #f5f5f5;
}

.checkout-account-cta {
  padding: 0.85rem 1rem;
  border: 1px solid #e6e6e6;
  background: #fafafa;
  font-size: 0.88rem;
}

.checkout-account-cta p {
  margin: 0;
}

.store-nav__account {
  position: relative;
  display: flex;
  align-items: center;
}

.store-nav__avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: #303030;
  transition: color 0.2s ease;
}


.store-nav__account.is-open .store-nav__avatar-btn,
.store-nav__avatar-btn:hover {
  color: #24262B;
}

.store-nav__avatar-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #303030;
}

.store-nav__account-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  min-width: 12.5rem;
  padding: 0.65rem 0;
  border: 1px solid #e6e6e6;
  background: #fff;
  box-shadow: 0 12px 28px rgba(36, 38, 43, 0.12);
  z-index: 50;
}

body.home-page .store-header.store-header--account-open .store-header__bar {
  overflow: visible;
}

.store-nav__account-menu[hidden] {
  display: none;
}

.store-nav__account-name {
  margin: 0;
  padding: 0.35rem 1rem 0.65rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #24262B;
  text-transform: none;
  letter-spacing: 0;
}

.store-nav__account-menu a,
.store-nav__account-logout button {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  color: #303030;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  opacity: 1;
  transform: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.store-nav__account-menu a:hover,
.store-nav__account-logout button:hover {
  background: #f5f5f5;
  color: #24262B;
}

.store-nav__account-menu a.is-active {
  color: #24262B;
  background: #f8f8f8;
}

.store-nav__account-logout {
  margin: 0;
  border-top: 1px solid #f0f0f0;
}

@media (max-width: 899px) {
  .store-nav__account {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.35rem;
  }

  .store-nav__avatar-btn {
    padding: 0.35rem 0;
  }

  .store-nav__account-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.15rem;
    box-shadow: none;
    border: 1px solid #ececec;
  }

  .store-nav:not(.is-open) .store-nav__account-menu {
    display: none;
  }
}

@media (min-width: 900px) {
  .store-nav__avatar-label {
    display: none;
  }
}

/* Footer */
.store-footer {
  flex-shrink: 0;
  background: #24262B;
  color: #fff;
  margin-top: 4rem;
}

.store-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .store-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.store-footer__logo {
  display: inline-block;
  line-height: 0;
}

.store-footer__logo img {
  display: block;
  height: clamp(6rem, 22vw, 9rem);
  width: auto;
  max-width: min(26rem, 100%);
  object-fit: contain;
  object-position: left top;
}

.store-footer__brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 1.15rem;
  max-width: 28rem;
}

.store-footer__links h4,
.store-footer__social h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.5);
}

.store-footer__links a {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.store-footer__links a:hover { color: rgba(255,255,255,0.7); }

.store-footer__icons { display: flex; align-items: center; gap: 1rem; font-size: 1.25rem; }
.store-footer__icons a { color: #fff; display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.store-footer__icons .ktg-icon {
  width: 1.15em;
  height: 1.15em;
  display: block;
}
.store-footer__hours { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 1rem; }

.store-footer__copy {
  text-align: center;
  padding: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.store-footer__legal {
  display: inline-block;
  margin-left: 0.5rem;
}

.store-footer__legal::before {
  content: '·';
  margin-right: 0.5rem;
}

.store-footer__legal a {
  color: rgba(255,255,255,0.72);
  font-weight: 600;
}

.store-footer__legal a:hover {
  color: #fff;
}

.legal-content__section {
  margin-bottom: 2rem;
}

.legal-content__section h2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #24262B;
  margin: 0 0 0.65rem;
}

.legal-content__section p {
  margin: 0;
  color: #303030;
  line-height: 1.7;
}

.legal-content__updated {
  margin: 2rem 0 0;
  font-size: 0.85rem;
  color: #6f7273;
}

/* Loader on home (needs main.css) */
body.store-body .loader { z-index: 9999; }
