/* KD Store — preservation-first refinement.
   The original layout, spacing, palette, sizing and content order stay intact. */

:root {
  --refine-focus: rgba(126, 91, 53, .5);
  --refine-border: rgba(126, 98, 67, .14);
  --refine-shadow: 0 12px 30px rgba(65, 45, 23, .06);
  --refine-shadow-hover: 0 16px 34px rgba(65, 45, 23, .09);
}

html {
  scroll-behavior: smooth;
}

body {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

button,
[role="button"] {
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--refine-focus);
  outline-offset: 3px;
}

/* Preserve the original hero dimensions and placement; refine only its edge. */
.hero-image-banner {
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow:
    0 18px 46px rgba(48, 33, 17, .13),
    0 1px 0 rgba(255, 255, 255, .28) inset;
}

.hero-banner-link {
  min-height: 44px;
  transition: box-shadow .18s ease;
}

.hero-banner-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .92);
}

.hero-banner-link:active {
  background: transparent;
  box-shadow:
    0 0 12px rgba(255, 255, 255, .34),
    0 0 22px rgba(255, 255, 255, .18);
  transform: none;
}

/* Original category grid and card geometry are intentionally untouched. */
.categories-section .category-card {
  --category-media-size: 100%;
  --category-media-offset-x: 0%;
  --category-media-offset-y: 0%;
  border-color: var(--refine-border);
  outline: 2px solid transparent;
  outline-offset: 0;
  box-shadow: var(--refine-shadow);
  transition: border-color .2s ease, box-shadow .2s ease, outline-color .2s ease, outline-offset .2s ease;
}

.categories-section .category-image {
  position: relative;
  background: linear-gradient(180deg, #f2e0d0 0%, #eedccd 48%, #e8d4c3 100%);
}

.categories-section .category-image::before {
  content: "";
  position: absolute;
  top: 48%;
  left: 50%;
  width: 88%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 250, 244, .96) 0%,
    rgba(255, 247, 238, .72) 38%,
    rgba(255, 243, 231, .32) 60%,
    rgba(255, 243, 231, 0) 80%
  );
  filter: blur(4px);
  transform: translate(-50%, -50%);
}

.categories-section .category-image img {
  position: relative;
  top: var(--category-media-offset-y);
  left: var(--category-media-offset-x);
  z-index: 1;
  width: var(--category-media-size);
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  transform: none;
  transition: none;
}

.categories-section .category-card[data-home-category="shoes"] { --category-media-size: 99%; --category-media-offset-y: -7%; }
.categories-section .category-card[data-home-category="clothes"] { --category-media-size: 87%; }
.categories-section .category-card[data-home-category="bags"] { --category-media-size: 109%; --category-media-offset-y: -5%; }
.categories-section .category-card[data-home-category="accessories"] { --category-media-size: 100%; --category-media-offset-y: -5%; }
.categories-section .category-card[data-home-category="headwear"] { --category-media-size: 78%; --category-media-offset-x: calc(-7% + 4px); --category-media-offset-y: -2%; }

.categories-section .category-card strong {
  color: #2a2219;
  letter-spacing: -.01em;
}

/* Stock: keep the warm composition, but restore separation between the section,
   cards and product photography. */
.home-page .stock-section {
  border-color: rgba(151, 113, 72, .19);
  background: linear-gradient(145deg, #f3e5d6 0%, #efe0cf 100%);
  box-shadow: 0 14px 34px rgba(68, 50, 29, .055);
}

.home-page .stock-card {
  display: flex;
  flex-direction: column;
  border-color: rgba(126, 96, 62, .18);
  background: linear-gradient(180deg, #fbf2e9 0%, #f7eadc 100%);
  box-shadow: 0 10px 24px rgba(68, 50, 29, .065);
}

.home-page .stock-card h3 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 3.6em;
  line-height: 1.2;
}

.home-page .stock-count {
  margin: auto auto 2px;
}

.home-page .stock-photo {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8f5f1 0%, #f3ede7 100%);
}

.home-page .stock-photo img {
  position: relative;
  z-index: 1;
  background: #fff;
  mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 64%, rgba(0, 0, 0, .92) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 64%, rgba(0, 0, 0, .92) 76%, transparent 100%);
}

.home-page .stock-count.last {
  border: 1px solid rgba(166, 82, 45, .15);
  background: #f5d9c6;
  color: #8e3f24;
  font-weight: 700;
}

.home-page .stock-price {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 8px;
  color: #2a2219;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-align: center;
}

/* New arrivals: use the same framed surface hierarchy as the stock section. */
.home-page .new-section {
  padding: 30px 18px 22px;
  border: 1px solid rgba(151, 113, 72, .19);
  border-radius: 32px;
  background: linear-gradient(145deg, #f3e5d6 0%, #efe0cf 100%);
  box-shadow: 0 14px 34px rgba(68, 50, 29, .055);
}

.home-page .new-feature,
.home-page .new-small {
  isolation: isolate;
  border-color: rgba(126, 96, 62, .18);
  background: linear-gradient(180deg, #fbf2e9 0%, #f7eadc 100%);
  box-shadow: 0 10px 24px rgba(68, 50, 29, .065);
}

.home-page .new-feature {
  --new-feature-media-scale: 1.28;
}

.home-page .new-feature[data-new-category="shoes"] { --new-feature-media-scale: 1.75; }
.home-page .new-feature[data-new-category="clothes"] { --new-feature-media-scale: 1.18; }
.home-page .new-feature[data-new-category="bags"] { --new-feature-media-scale: 1.24; }
.home-page .new-feature[data-new-category="accessories"] { --new-feature-media-scale: 1.18; }
.home-page .new-feature[data-new-category="headwear"] { --new-feature-media-scale: 1.28; }

.home-page .new-feature img {
  border-radius: 20px;
  background: #f8f3ed;
  mix-blend-mode: darken;
  transform: translateY(-18px) scale(var(--new-feature-media-scale));
  transform-origin: 50% 45%;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 64%, rgba(0, 0, 0, .92) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 64%, rgba(0, 0, 0, .92) 76%, transparent 100%);
}

.home-page .new-feature::after {
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to top, #f7eadc 0%, rgba(247, 234, 220, .98) 66%, rgba(247, 234, 220, 0) 100%);
}

.home-page .new-small > img,
.home-page .new-small img {
  width: calc(100% - 18px);
  margin: 9px 9px 0;
  border-radius: 18px;
  background: #f8f3ed;
  mix-blend-mode: darken;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, #000 64%, rgba(0, 0, 0, .92) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 0%, #000 64%, rgba(0, 0, 0, .92) 76%, transparent 100%);
}

.home-page .new-small-copy {
  background: transparent;
}

/* The closing reviews/support pair reads as one compact final chapter. */
.home-page .support-section {
  margin-top: 22px;
}

.home-page .reviews-copy p,
.home-page .support-copy p {
  color: #746354;
  font-size: 13px;
  line-height: 1.5;
}

.home-page .support-button {
  border: 1.5px solid rgba(23, 23, 23, .52);
  background: rgba(255, 255, 255, .28);
  color: #241f1a;
}

.home-page .reviews-icon svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: currentColor;
  transform: translateY(-.5px);
}

.home-page .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.home-page [data-product-id][role="button"]:focus-visible {
  outline: 3px solid var(--refine-focus);
  outline-offset: 3px;
}

.home-page .reviews-channel-button:focus-visible,
.home-page .reviews-leave-button:focus-visible,
.home-page .support-button:focus-visible {
  outline: 3px solid rgba(128, 107, 72, .28);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .home-page .stock-price {
    margin-bottom: 6px;
    font-size: 12px;
  }
}

.stock-card,
.new-feature,
.new-small,
.product-card,
.reviews-card,
.support-card {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.round-link,
.text-link,
.primary-button,
.card-add,
.reviews-channel-button,
.reviews-leave-button,
.support-button {
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}

.round-link:active,
.text-link:active,
.primary-button:active,
.card-add:active,
.reviews-channel-button:active,
.reviews-leave-button:active,
.support-button:active {
  transform: scale(.975);
}

/* Keep the warm original navigation, adding only clearer interaction feedback. */
.bottom-nav {
  border-color: rgba(198, 168, 132, .32);
  box-shadow: 0 14px 36px rgba(45, 33, 18, .12);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  backdrop-filter: blur(20px) saturate(115%);
}

.nav-item {
  transition: color .18s ease, background-color .18s ease, transform .12s ease;
}

.nav-item:active {
  transform: scale(.96);
}

/* Catalog refinement: preserve the grid, improve information priority. */
.catalog-quick-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 9px;
  margin-top: 10px;
}

.catalog-sort-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(126, 98, 67, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .56);
}

.catalog-sort-control > span {
  color: #8b7e70;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.catalog-sort-control select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 28px 0 0;
  border: 0;
  outline: 0;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #6f655a 50%) calc(100% - 8px) 19px / 5px 5px no-repeat,
    linear-gradient(135deg, #6f655a 50%, transparent 50%) calc(100% - 3px) 19px / 5px 5px no-repeat;
  color: #302820;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.catalog-reset-button {
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(126, 98, 67, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .7);
  color: #44382d;
  font-size: 11px;
  font-weight: 800;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
}

.catalog-reset-button:not(:disabled):active {
  transform: scale(.97);
}

.catalog-reset-button:disabled {
  border-color: rgba(126, 98, 67, .08);
  background: rgba(255, 255, 255, .32);
  color: #aaa095;
  cursor: default;
}

.filters-toggle.has-active:not([aria-expanded="true"]) {
  border-color: rgba(126, 91, 53, .34);
  background: #f6e8d8;
  color: #4b3928;
}

.filters-toggle.has-active:not([aria-expanded="true"]) b {
  background: #9b7752;
  color: #fff;
}

.product-card .product-image {
  width: 84%;
  margin: 18px auto 7px;
}

.product-card .product-info {
  display: flex;
  flex-direction: column;
  padding: 7px 14px 14px;
}

.product-card .product-name {
  min-height: 38px;
  color: #241d17;
  line-height: 1.28;
}

.product-card .product-price {
  display: block;
  margin-top: 8px;
  color: #17130f;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.1;
}

.product-card .product-variants {
  min-height: 42px;
  margin: 10px 0 0;
  color: #62594f;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.product-card .product-variants span {
  margin-bottom: 3px;
  color: #82766a;
  font-size: 9px;
}

.product-card .card-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
}

.product-card .product-sku {
  order: 5;
  overflow: hidden;
  margin: 9px 2px 0;
  color: #93897e;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 430px) {
  .catalog-sort-control {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6px 10px 4px;
  }

  .catalog-sort-control select {
    height: 30px;
    background-position: calc(100% - 8px) 12px, calc(100% - 3px) 12px;
    font-size: 11px;
  }

  .catalog-reset-button {
    padding: 0 12px;
    font-size: 10px;
  }

  .product-card .product-image {
    width: 82%;
    margin-top: 16px;
  }

  .product-card .product-info {
    padding: 6px 10px 12px;
  }

  .product-card .product-name {
    min-height: 36px;
    font-size: 14px;
  }

  .product-card .product-price {
    font-size: 16px;
  }

  .product-card .product-variants {
    min-height: 40px;
    font-size: 10px;
  }

  .product-card .card-add {
    min-height: 42px;
    font-size: 11px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-banner-link:hover {
    background: transparent;
    box-shadow:
      0 0 12px rgba(255, 255, 255, .30),
      0 0 22px rgba(255, 255, 255, .15);
  }

  .home-page .text-link:hover {
    border-color: rgba(126, 91, 53, .42);
    background: #fffaf4;
    color: #7a5d3d;
    box-shadow: 0 7px 16px rgba(68, 54, 31, .08);
    transform: translateY(-1px);
  }

  .stock-card:hover,
  .new-feature:hover,
  .new-small:hover,
  .product-card:hover {
    border-color: rgba(126, 98, 67, .22);
    box-shadow: var(--refine-shadow-hover);
    transform: translateY(-2px);
  }

  .categories-section .category-card:hover {
    border-color: rgba(126, 98, 67, .24);
    outline-color: rgba(184, 143, 96, .16);
    outline-offset: 2px;
    box-shadow: 0 17px 38px rgba(68, 54, 31, .11), 0 0 0 4px rgba(255, 250, 243, .72);
    transform: none;
  }

  .nav-item:hover {
    background: rgba(255, 255, 255, .22);
  }

  .catalog-reset-button:not(:disabled):hover {
    border-color: rgba(126, 91, 53, .42);
    background: #fffaf4;
  }

  .compact-size-selector:hover,
  .size-help-button:hover {
    border-color: rgba(126, 91, 53, .42);
    transform: translateY(-1px);
  }

  .home-page .support-button:hover {
    border-color: #171717;
    background: #171717;
    color: #fff;
    box-shadow: 0 8px 18px rgba(31, 24, 16, .14);
    transform: translateY(-1px);
  }

  .home-page .reviews-channel-button:hover {
    background: #2b2824;
    box-shadow: 0 8px 18px rgba(31, 24, 16, .18);
    transform: translateY(-1px);
  }

  .home-page .reviews-leave-button:hover {
    border-color: rgba(23, 23, 23, .42);
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 7px 16px rgba(68, 54, 31, .08);
    transform: translateY(-1px);
  }
}

/* Product decision flow: size, confidence and secondary information. */
.product-selection-panel {
  display: grid;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 14px;
  border: 1px solid rgba(128, 107, 72, .18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 250, 244, .98), rgba(246, 238, 226, .94));
  box-shadow: 0 12px 30px rgba(68, 54, 31, .055);
}

.selection-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.selection-panel-heading h3 {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.selection-kicker {
  color: #8a6842;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.selection-panel-heading > small {
  max-width: 145px;
  color: #81786e;
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
}

.product-selection-panel .compact-size-selector {
  min-height: 70px;
  margin: 0;
  border-color: rgba(44, 36, 28, .26);
  background: rgba(255, 255, 255, .88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .58), 0 7px 18px rgba(68, 54, 31, .06);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.product-selection-panel .compact-size-value strong,
.product-selection-panel .compact-size-price strong {
  font-size: 16px;
}

.compact-size-change {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 6px;
  color: #6f5538;
  text-align: right;
}

.compact-size-change small {
  grid-column: 1;
  margin: 0 !important;
  color: #8e806f !important;
  font-size: 8px !important;
}

.compact-size-change strong {
  grid-column: 1;
  color: #6f5538;
  font-size: 10px !important;
  text-transform: uppercase;
}

.compact-size-change b {
  grid-row: 1 / 3;
  grid-column: 2;
}

.size-help-button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 9px 12px;
  border: 1px solid rgba(128, 107, 72, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .52);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.size-help-button.standalone { margin: 0 0 14px; }
.size-help-button svg { width: 24px; height: 24px; fill: none; stroke: #7b5c3d; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.size-help-button span { display: grid; gap: 2px; }
.size-help-button strong { font-size: 12px; }
.size-help-button small { color: var(--muted); font-size: 9px; line-height: 1.3; }
.size-help-button > b { color: #7b5c3d; font-size: 22px; font-weight: 500; }

.purchase-assurance {
  display: grid;
  gap: 13px;
  margin: 0 0 13px;
  padding: 15px;
  border: 1px solid rgba(94, 116, 72, .18);
  border-radius: 21px;
  background: rgba(245, 248, 240, .88);
}

.purchase-assurance-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.purchase-assurance-heading .dialog-status { margin: 1px 0 0; }
.purchase-assurance-heading strong { display: block; font-size: 12px; }
.purchase-assurance-heading p { margin: 3px 0 0; color: #6f7469; font-size: 10px; line-height: 1.45; }

.purchase-guide {
  display: grid;
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(94, 116, 72, .13);
}

.purchase-guide > div {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #444a3e;
  font-size: 11px;
  line-height: 1.35;
}

.purchase-guide svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #e6eddd;
  fill: none;
  stroke: #527046;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-details-accordion {
  margin: 0 0 13px;
  border: 1px solid rgba(128, 107, 72, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .42);
  overflow: hidden;
}

.product-details-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 9px 14px;
  cursor: pointer;
  list-style: none;
}

.product-details-accordion summary::-webkit-details-marker { display: none; }
.product-details-accordion summary:focus-visible { outline: 3px solid var(--refine-focus); outline-offset: -3px; }
.product-details-accordion summary > span { display: grid; gap: 3px; }
.product-details-accordion summary strong { font-size: 12px; }
.product-details-accordion summary small { color: var(--muted); font-size: 9px; }
.product-details-accordion summary > b { color: #806b48; font-size: 22px; font-weight: 400; transition: transform .18s ease; }
.product-details-accordion[open] summary > b { transform: rotate(45deg); }
.product-details-accordion[open] summary { border-bottom: 1px solid rgba(128, 107, 72, .12); }
.product-details-accordion .dialog-meta { margin: 0; padding: 12px 12px 4px; }
.product-details-accordion .brand-article { margin: 2px 14px 14px; }

/* Checkout as a four-step, scannable flow. */
.cart-order-section {
  display: grid;
  gap: 13px;
  margin-top: 4px;
}

.cart-order-section[hidden] { display: none; }

.checkout-flow.cart-summary {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.checkout-flow.cart-summary[hidden] { display: none; }

.checkout-block,
.cart-order-section {
  padding: 16px;
  border: 1px solid rgba(128, 107, 72, .15);
  border-radius: 23px;
  background: rgba(251, 245, 234, .88);
  box-shadow: 0 10px 28px rgba(68, 54, 31, .045);
}

.checkout-block-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.checkout-step-number {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1b1a18;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.checkout-block-heading small {
  display: block;
  margin-bottom: 2px;
  color: #9a744b;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

.checkout-block-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.cart-order-section .cart-list { margin-top: 2px; }

.checkout-flow.checkout-form { margin-bottom: 0; }
.checkout-block { display: grid; gap: 12px; }
.checkout-block-copy { margin: 0 !important; color: #777066 !important; font-size: 11px !important; line-height: 1.45; text-align: left !important; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.checkout-flow .checkout-block label { gap: 7px; }
.checkout-flow .checkout-block input,
.checkout-flow .checkout-block textarea { background: rgba(255, 255, 255, .9); }
.checkout-flow .checkout-block textarea { min-height: 92px; }

.checkout-confirmation-block .summary-row { padding: 1px 2px; }
.checkout-confirmation-block .summary-row.total { margin: 0; padding: 13px 2px 2px; }
.checkout-assurance {
  margin: 0 0 2px !important;
  padding: 11px 12px;
  border-radius: 14px;
  background: #eef3e8;
  color: #526048 !important;
  font-size: 10px !important;
  font-weight: 650;
  line-height: 1.45;
  text-align: left !important;
}

.checkout-confirmation-block .checkout-status { margin-top: -2px; }

.compact-size-selector:active,
.size-help-button:active { transform: scale(.985); }

@media (max-width: 520px) {
  .selection-panel-heading { align-items: start; }
  .selection-panel-heading > small { max-width: 115px; }
  .product-selection-panel { padding: 12px; }
  .product-selection-panel .compact-size-selector { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr) auto; gap: 8px; padding: 11px; }
  .product-selection-panel .compact-size-value strong,
  .product-selection-panel .compact-size-price strong { font-size: 14px; }
  .compact-size-change small { display: none; }
  .compact-size-change strong { grid-row: 1 / 3; align-self: center; font-size: 9px !important; }
  .purchase-assurance-heading { grid-template-columns: 1fr; }
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-block,
  .cart-order-section { padding: 14px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
