/* ==========================================================================
   HDREY — SHOP (PLP / PDP / CART / CHECKOUT / ACCOUNT / SEARCH / 404 / PAGES)
   Reference measurements: local reference mirror rendered in Chromium 1440x900 &
   390x844 (tools/theme-shop/out/ref-detail-metrics.json).
   Conventions: tokens from theme-core base.css with local fallbacks.
   Owned by theme-shop. Never edit base/header/footer/home css from here.
   ========================================================================== */

/* ---------- local token fallbacks (only used if base.css misses one) ----- */
:root {
  --hd-container: var(--g-container, 1440px);
  --hd-gutter: var(--g-gutter, 30px);
  --hd-hgutter: var(--g-hgutter, 15px);
  --hd-font: var(--g-font-1, 'Arboria-Book', Arial, sans-serif);
  --hd-font-2: var(--g-font-2, 'Arboria-Book', Arial, sans-serif);
  --hd-heading: var(--g-color-heading, #000);
  --hd-body-size: var(--g-font-size, 15px);
  --hd-weight: var(--g-font-weight-body, 300);
  --hd-cta: var(--g-cta-button, #000);
  --hd-form: var(--color-form, #f4f4f4);
  --hd-form-text: var(--color-form-text, #333);
  --hd-error: var(--color-error, #ec523e);
  --hd-sale-bg: var(--g-bg-sale, #84c8bb);
  --hd-line: rgba(0, 0, 0, .1);
  --hd-line-2: rgba(0, 0, 0, .18);
  --hd-muted: rgba(0, 0, 0, .6);
}

/* ---------- shared shell ------------------------------------------------ */
.hd-container {
  width: 100%;
  max-width: var(--hd-container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 749px) {
  .hd-container {
    padding: 0 20px;
  }
}

.hd-shop {
  color: var(--hd-heading);
  font-family: var(--hd-font);
  font-size: var(--hd-body-size);
  line-height: 1.6;
  font-weight: var(--hd-weight);
}

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

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

.hd-shop a {
  color: inherit;
  text-decoration: none;
}

.hd-shop a.hd-btn {
  color: #fff;
}

.hd-shop a.hd-btn:hover,
.hd-shop a.hd-btn:focus-visible {
  color: var(--hd-cta);
  background: #fff;
}

.hd-shop a.hd-btn--outline {
  color: var(--hd-cta);
}

.hd-shop a.hd-btn--outline:hover {
  color: #fff;
}

.hd-shop button {
  font-family: inherit;
}

.hd-shop .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* breadcrumbs (reference breadcrumbs.css: 14px / 20lh, '/' separator) */
.hd-breadcrumbs {
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}

.hd-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hd-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
}

.hd-breadcrumbs__item:not(:last-child)::after {
  content: '/';
  padding: 0 .5rem;
}

.hd-breadcrumbs__link {
  padding: 0 3px;
  display: inline-block;
}

.hd-breadcrumbs__link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hd-page-title {
  margin: 0 0 16px;
  font-family: var(--hd-font-2);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--hd-heading);
  letter-spacing: 0;
}

@media (max-width: 749px) {
  .hd-page-title {
    font-size: 27px;
    line-height: 1.4;
  }
}

/* buttons — reference .btn-theme geometry: 12px/600, ls .1em, uppercase,
   padding 17px 34px, radius 0, black bg / white text */
.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 17px 34px;
  border: 1px solid var(--hd-cta);
  border-radius: 0;
  background: var(--hd-cta);
  color: #fff;
  font-family: var(--hd-font);
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
  text-decoration: none;
}

.hd-btn:hover,
.hd-btn:focus-visible {
  background: #fff;
  color: var(--hd-cta);
}

.hd-btn--full {
  display: flex;
  width: 100%;
}

.hd-btn--outline {
  background: transparent;
  color: var(--hd-cta);
}

.hd-btn--outline:hover {
  background: var(--hd-cta);
  color: #fff;
}

.hd-btn[disabled],
.hd-btn.is-disabled {
  background: #d5d5d5;
  border-color: #d5d5d5;
  color: #757575;
  cursor: default;
  pointer-events: none;
}

/* form controls — reference form color #f4f4f4, dark text, no radius */
.hd-shop .hd-input,
.hd-shop input[type="text"].hd-input,
.hd-shop input[type="email"].hd-input,
.hd-shop input[type="tel"].hd-input,
.hd-shop input[type="password"].hd-input,
.hd-shop input[type="number"].hd-input,
.hd-shop select.hd-input,
.hd-shop textarea.hd-input {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--hd-form);
  color: var(--hd-form-text);
  font-family: var(--hd-font);
  font-size: var(--hd-body-size);
  font-weight: 300;
  line-height: 1.6;
}

.hd-shop textarea.hd-input {
  height: auto;
  min-height: 120px;
}

.hd-shop .hd-input:focus {
  outline: none;
  border-color: var(--hd-cta);
  background: #fff;
}

.hd-sale-badge {
  display: inline-block;
  padding: 6px 8px;
  background: var(--hd-sale-bg);
  color: #fff;
  font-size: 12px;
  line-height: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- empty states ------------------------------------------------ */
.hd-empty {
  padding: 80px 0;
  text-align: center;
}

.hd-empty__title {
  margin: 0 0 10px;
  font-family: var(--hd-font-2);
  font-size: 32px;
  line-height: 1.4;
  font-weight: 300;
}

.hd-empty__text {
  margin: 0 0 10px;
  font-size: var(--hd-body-size);
  line-height: 24px;
}

.hd-empty hr {
  border: 0;
  border-top: 1px solid var(--hd-line);
  margin: 24px auto;
  width: 100%;
}

.hd-empty .hd-btn {
  margin-top: 16px;
}

/* ==========================================================================
   PLP — collection / product archive
   ref: container 1440 pad 24; h1 36/50.4 w300 mb16; description 15/24 mb15;
       4-col grid: card 325.5 + 30 gutter (li padding 0 15); 390: card 160;
       pagination 40x40 items, margin-top 48.
   ========================================================================== */
.hd-plp {
  padding: 0 0 80px;
}

.hd-plp__head {
  text-align: center;
}

.hd-plp__title {
  margin: 0 0 16px;
  font-family: var(--hd-font-2);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0;
}

.hd-plp__desc {
  max-width: 70%;
  margin: 0 auto 15px;
  font-size: var(--hd-body-size);
  line-height: 24px;
}

.hd-plp__desc p {
  margin: 0 0 15px;
}

.hd-plp__toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  margin-bottom: 48px;
}

.hd-plp__filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 16px;
}

.hd-plp__label {
  margin: 0 16px 19px 0;
  font-family: var(--hd-font-2);
  font-size: 24px;
  line-height: 33.6px;
  font-weight: 400;
}

.hd-facet {
  position: relative;
  margin: 0 16px 19.2px 0;
}

.hd-facet > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4.8px 25.6px 4.8px 9.6px;
  border: 1px solid var(--hd-line);
  font-size: var(--hd-body-size);
  line-height: 24px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.hd-facet > summary::-webkit-details-marker {
  display: none;
}

.hd-facet > summary::after {
  content: '';
  position: absolute;
  right: 9px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
}

.hd-facet[open] > summary {
  border-color: rgba(0, 0, 0, .3);
}

.hd-facet__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% - 19.2px);
  left: 0;
  min-width: 220px;
  max-height: 380px;
  overflow: auto;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--hd-line);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
}

.hd-facet__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hd-facet__list li {
  margin: 0 0 4px;
}

.hd-facet__list label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.hd-facet__list input[type="checkbox"],
.hd-facet__list input[type="radio"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #000;
}

.hd-facet__prices {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hd-facet__prices .hd-input {
  width: 90px;
  height: 38px;
  padding: 6px 10px;
  font-size: 14px;
}

.hd-facet__apply {
  margin-top: 12px;
  padding: 12px 20px;
  font-size: 11px;
}

.hd-plp__count {
  margin: 0;
  align-self: flex-start;
  font-size: var(--hd-body-size);
  line-height: 27px;
  color: rgba(0, 0, 0, .8);
  white-space: nowrap;
}

.hd-plp__reset {
  font-size: 13px;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 0 19.2px;
  white-space: nowrap;
}

/* grid: exact reference geometry */
.hd-plp__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--hd-gutter);
  row-gap: 0;
  align-items: stretch;
}

.hd-plp__item {
  min-width: 0;
  display: flex;
}

.hd-plp__item > .hd-card {
  width: 100%;
}

@media (max-width: 1199px) {
  .hd-plp__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 989px) {
  .hd-plp__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 749px) {
  .hd-plp__title {
    font-size: 27px;
    line-height: 37.8px;
  }

  .hd-plp__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }

  .hd-plp__desc {
    max-width: 100%;
  }

  .hd-plp__toolbar {
    flex-wrap: wrap;
    margin-bottom: 32px;
  }

  .hd-plp__label {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 12px;
  }

  /* mobile facets open as inline accordions — no absolutely-positioned overflow */
  .hd-facet {
    position: static;
  }

  .hd-facet[open] {
    flex: 1 1 100%;
  }

  .hd-facet[open] > summary {
    margin-bottom: 10px;
  }

  .hd-facet__panel {
    position: static;
    min-width: 0;
    width: 100%;
    max-height: 300px;
    margin: 0 0 8px;
    box-shadow: none;
  }
}

/* pagination — reference: 40x40, border rgba(0,0,0,.1), current black/white */
.hd-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.hd-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--hd-line);
  font-size: var(--hd-body-size);
  line-height: 24px;
  color: inherit;
  text-decoration: none;
}

.hd-pagination__item:hover {
  border-color: var(--hd-line-2);
}

.hd-pagination__item.is-current {
  background: #000;
  border-color: #000;
  color: #fff;
}

.hd-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
}

@media (max-width: 749px) {
  .hd-pagination {
    margin-top: 32px;
    gap: 16px;
  }
}

/* ==========================================================================
   PDP — product single
   ref 1440: gallery col content 681 wide (main image ratio 120% => 817.2h),
             right col content 633 starting at x=783; title 36/46 w300;
             price 24px; qty 120x40; submit 493x48 12px/600;
   ref 390:  single column, content 350, image 350x420, button 350x48.
   ========================================================================== */
.hd-product {
  padding: 0 0 80px;
}

.hd-pdp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 -15px;
}

.hd-pdp__media {
  min-width: 0;
  padding: 0 15px;
}

.hd-pdp__summary {
  min-width: 0;
  padding: 0 15px 0 63px;
}

/* gallery */
.hd-gallery__main {
  position: relative;
  display: block;
  width: 100%;
  background: #f6f3f1;
}

.hd-gallery__main::before {
  content: '';
  display: block;
  padding-top: 120%;
}

.hd-gallery__main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hd-gallery__main .hd-sale-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.hd-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px -4px 0;
  padding: 0;
  list-style: none;
}

.hd-gallery__thumb {
  width: 100px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: .72;
  transition: opacity .2s ease;
}

.hd-gallery__thumb::before {
  content: '';
  display: block;
  padding-top: 120%;
}

.hd-gallery__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hd-gallery__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: 0 0 0 2px #000 inset;
  opacity: 0;
  transition: opacity .15s ease;
}

.hd-gallery__thumb:hover,
.hd-gallery__thumb.is-active {
  opacity: 1;
}

.hd-gallery__thumb.is-active::after {
  opacity: 1;
}

/* summary */
.hd-pdp__vendor {
  margin: 0 0 24px;
  font-size: var(--hd-body-size);
  line-height: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .8);
}

.hd-pdp__title {
  margin: 0 0 8px;
  font-family: var(--hd-font-2);
  font-size: 36px;
  line-height: 46px;
  font-weight: 300;
  letter-spacing: 0;
}

.hd-pdp__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  font-family: var(--hd-font-2);
}

.hd-pdp__price del {
  font-size: 18px;
  line-height: 1.4;
  color: var(--hd-muted);
  text-decoration: line-through;
}

.hd-pdp__price ins {
  font-size: 24px;
  line-height: 38.4px;
  text-decoration: none;
  color: var(--hd-heading);
}

.hd-pdp__short {
  margin: -11.2px 0 24px;
  font-size: var(--hd-body-size);
  line-height: 24px;
  color: rgba(0, 0, 0, .85);
}

.hd-pdp__short > :last-child {
  margin-bottom: 0;
}

/* variant selector — reference: bordered pills 48h, 15px text */
.hd-pdp__variants {
  margin: 0 0 24px;
}

.hd-pdp__variant-group + .hd-pdp__variant-group {
  margin-top: 16px;
}

.hd-pdp__variant-label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hd-pdp__variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hd-pdp__variant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid var(--hd-line);
  background: #fff;
  font-family: var(--hd-font);
  font-size: var(--hd-body-size);
  line-height: 46px;
  color: var(--hd-heading);
  cursor: pointer;
  transition: border-color .2s ease;
}

.hd-pdp__variant:hover {
  border-color: rgba(0, 0, 0, .45);
}

.hd-pdp__variant.is-active {
  border-color: #000;
  box-shadow: 0 0 0 1px #000 inset;
}

.hd-pdp__variant.is-disabled {
  opacity: .35;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* form + qty + add to cart */
.hd-pdp__form {
  margin: 0 0 8px;
}

.hd-pdp__form-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-top: 4px;
}

.hd-qty {
  display: flex;
  align-items: stretch;
  flex: 0 0 120px;
  border: 1px solid var(--hd-line);
  height: 40px;
}

.hd-qty__btn {
  width: 32px;
  border: 0;
  background: none;
  font-size: 18px;
  line-height: 1;
  color: var(--hd-heading);
  cursor: pointer;
  padding: 0;
}

.hd-qty__btn:hover {
  background: #f6f3f1;
}

.hd-qty input[type="number"] {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--hd-font);
  font-size: var(--hd-body-size);
  font-weight: 300;
  color: var(--hd-heading);
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
}

.hd-qty input[type="number"]::-webkit-outer-spin-button,
.hd-qty input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hd-pdp__submit {
  flex: 1 1 auto;
  margin-left: 20px;
  min-height: 48px;
}

.hd-pdp__stock-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--hd-muted);
}

.hd-pdp__stock-note.is-out {
  color: var(--hd-error);
  font-weight: 400;
}

/* social proof (fake, client-side ±1) */
.hd-pdp__proof {
  margin: 20px 0 0;
  padding: 14px 16px;
  background: #f6f3f1;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 20px;
}

.hd-pdp__proof-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hd-pdp__proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e35353;
  flex: 0 0 8px;
  animation: hd-pulse 2s ease-in-out infinite;
}

@keyframes hd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}

.hd-pdp__proof b {
  font-weight: 500;
}

.hd-pdp__proof-stock-bar {
  position: relative;
  height: 2px;
  background: rgba(0, 0, 0, .12);
  margin-top: 2px;
}

.hd-pdp__proof-stock-bar span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #c21a30;
  transition: width .4s ease;
}

.hd-countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hd-countdown__label {
  margin-right: 4px;
}

.hd-countdown__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 4px;
  background: #000;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
}

/* trust / USP row */
.hd-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 20px 0;
  border-top: 1px solid var(--hd-line);
  border-bottom: 1px solid var(--hd-line);
}

.hd-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
}

.hd-trust__item svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}

/* accordions (desk / ingredients / delivery) */
.hd-pdp__tabs {
  max-width: 1036px;
  margin: 80px auto 0;
}

.hd-acc {
  border-bottom: 1px solid var(--hd-line);
}

.hd-acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  padding: 22px 0;
  font-family: var(--hd-font-2);
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  cursor: pointer;
}

.hd-acc > summary::-webkit-details-marker {
  display: none;
}

.hd-acc > summary::after {
  content: '+';
  font-family: var(--hd-font-2);
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  transition: transform .2s ease;
}

.hd-acc[open] > summary::after {
  transform: rotate(45deg);
}

.hd-acc__body {
  padding: 0 0 28px;
  font-size: 14px;
  line-height: 24px;
  color: rgba(0, 0, 0, .85);
}

.hd-acc__body > :first-child {
  margin-top: 0;
}

.hd-acc__body > :last-child {
  margin-bottom: 0;
}

.hd-acc__body h4 {
  font-family: var(--hd-font-2);
  font-size: 16px;
  font-weight: 400;
  margin: 20px 0 8px;
}

/* related products rail */
.hd-related {
  margin: 80px 0 0;
}

.hd-related__title {
  margin: 0 0 40px;
  text-align: center;
  font-family: var(--hd-font-2);
  font-size: 36px;
  line-height: 50.4px;
  font-weight: 300;
}

.hd-related__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--hd-gutter);
}

.hd-related__grid > li {
  min-width: 0;
}

@media (max-width: 989px) {
  .hd-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 749px) {
  .hd-pdp__grid {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .hd-pdp__media,
  .hd-pdp__summary {
    padding: 0;
  }

  .hd-pdp__summary {
    margin-top: 32px;
  }

  .hd-pdp__title {
    font-size: 25px;
    line-height: 46px;
  }

  .hd-gallery__thumb {
    width: 64px;
  }

  .hd-pdp__form-row {
    flex-wrap: wrap;
  }

  .hd-qty {
    flex: 0 0 130px;
    height: 43.2px;
    margin-bottom: 10px;
  }

  .hd-pdp__submit {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }

  .hd-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hd-trust__item {
    font-size: 11px;
    line-height: 15px;
  }

  .hd-pdp__tabs {
    margin-top: 48px;
  }

  .hd-related {
    margin-top: 56px;
  }

  .hd-related__title {
    font-size: 27px;
    line-height: 37.8px;
    margin-bottom: 24px;
  }

  .hd-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }
}

/* ==========================================================================
   CART DRAWER (reference Rebuy smart-cart drawer: right side, white, overlay)
   ========================================================================== */
#hd-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  pointer-events: none;
}

#hd-cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

#hd-cart-drawer .hd-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .3s ease;
}

#hd-cart-drawer.is-open .hd-drawer__overlay {
  opacity: 1;
}

#hd-cart-drawer .hd-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 430px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.25, .8, .25, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, .12);
}

#hd-cart-drawer.is-open .hd-drawer__panel {
  transform: translateX(0);
}

#hd-cart-drawer .hd-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hd-line);
  flex: 0 0 auto;
}

#hd-cart-drawer .hd-drawer__title {
  margin: 0;
  font-family: var(--hd-font-2);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#hd-cart-drawer .hd-drawer__close {
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hd-cart-drawer .hd-drawer__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.4;
}

#hd-cart-drawer .hd-drawer__flash {
  display: none;
  padding: 12px 24px;
  background: #eef7ee;
  color: #2d6a2d;
  font-size: 13px;
  line-height: 20px;
}

#hd-cart-drawer .hd-drawer__flash.is-visible {
  display: block;
}

#hd-cart-drawer .hd-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}

#hd-cart-drawer .hd-drawer__body > .js-drawer-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
}

#hd-cart-drawer .hd-drawer__foot {
  margin-top: auto;
}

#hd-cart-drawer .hd-drawer__foot {
  flex: 0 0 auto;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--hd-line);
  background: #fff;
}

#hd-cart-drawer .hd-drawer__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

#hd-cart-drawer .hd-drawer__item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hd-line);
  position: relative;
}

#hd-cart-drawer .hd-drawer__item-img {
  width: 80px;
  background: #f6f3f1;
  position: relative;
  overflow: hidden;
}

#hd-cart-drawer .hd-drawer__item-img::before {
  content: '';
  display: block;
  padding-top: 125%;
}

#hd-cart-drawer .hd-drawer__item-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hd-cart-drawer .hd-drawer__item-title {
  display: block;
  margin: 0 40px 4px 0;
  font-size: 11px;
  line-height: 1.66;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

#hd-cart-drawer .hd-drawer__item-variant {
  font-size: 11px;
  line-height: 16px;
  color: var(--hd-muted);
  margin: 0 0 6px;
}

#hd-cart-drawer .hd-drawer__item-price {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .04em;
}

#hd-cart-drawer .hd-drawer__item-price del {
  font-size: 11px;
  color: var(--hd-muted);
  margin-right: 6px;
}

#hd-cart-drawer .hd-drawer__item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hd-line);
  height: 32px;
  margin-top: 8px;
}

#hd-cart-drawer .hd-drawer__item-qty button {
  width: 28px;
  height: 30px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  color: inherit;
}

#hd-cart-drawer .hd-drawer__item-qty span {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
}

#hd-cart-drawer .hd-drawer__item-remove {
  position: absolute;
  top: 20px;
  right: 0;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--hd-muted);
  font-size: 18px;
  line-height: 1;
}

#hd-cart-drawer .hd-drawer__item-remove:hover {
  color: #000;
}

#hd-cart-drawer .hd-drawer__empty {
  padding: 60px 0;
  text-align: center;
}

#hd-cart-drawer .hd-drawer__empty p {
  margin: 0 0 20px;
}

/* free shipping progress */
.hd-progress {
  margin: 0 0 14px;
}

.hd-progress__text {
  font-size: 12px;
  line-height: 18px;
  margin: 0 0 8px;
}

.hd-progress__track {
  height: 4px;
  background: #ececec;
  overflow: hidden;
}

.hd-progress__bar {
  height: 100%;
  background: #000;
  transition: width .35s ease;
}

.hd-progress.is-free .hd-progress__bar {
  background: #34bf49;
}

#hd-cart-drawer .hd-drawer__subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .04em;
  margin: 0 0 14px;
}

#hd-cart-drawer .hd-drawer__subtotal b {
  font-family: var(--hd-font-2);
  font-size: 18px;
  font-weight: 400;
}

#hd-cart-drawer .hd-drawer__actions {
  display: grid;
  gap: 8px;
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */
.hd-cart {
  padding: 0 0 80px;
}

.hd-cart__title {
  margin: 0 0 32px;
  font-family: var(--hd-font-2);
  font-size: 32px;
  line-height: 44.8px;
  font-weight: 300;
}

.hd-cart__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 64px;
  align-items: start;
}

.hd-cart__head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 120px;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hd-line);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hd-cart__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hd-cart__item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 140px 120px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--hd-line);
}

.hd-cart__item-media {
  width: 110px;
  background: #f6f3f1;
  position: relative;
  overflow: hidden;
}

.hd-cart__item-media::before {
  content: '';
  display: block;
  padding-top: 125%;
}

.hd-cart__item-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hd-cart__item-title {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
}

.hd-cart__item-meta {
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--hd-muted);
}

.hd-cart__item-prices {
  font-size: 15px;
  line-height: 24px;
}

.hd-cart__item-prices del {
  display: block;
  font-size: 12px;
  color: var(--hd-muted);
}

.hd-cart__item-total {
  text-align: right;
  font-family: var(--hd-font-2);
  font-size: 16px;
  line-height: 24px;
}

.hd-cart__item-remove {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 18px;
  color: var(--hd-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hd-cart__item-remove:hover {
  color: #000;
}

.hd-cart__summary {
  position: sticky;
  top: 24px;
  padding: 28px;
  background: #f6f3f1;
}

.hd-cart__summary-title {
  margin: 0 0 20px;
  font-family: var(--hd-font-2);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hd-cart__lines {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.hd-cart__line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 22px;
  padding: 6px 0;
}

.hd-cart__line--total {
  border-top: 1px solid var(--hd-line-2);
  margin-top: 10px;
  padding-top: 14px;
  font-family: var(--hd-font-2);
  font-size: 18px;
  line-height: 26px;
}

.hd-cart__shipping-note {
  font-size: 13px;
  line-height: 20px;
  color: var(--hd-muted);
  margin: 0 0 18px;
}

.hd-cart__continue {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 989px) {
  .hd-cart__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hd-cart__summary {
    position: static;
  }
}

@media (max-width: 749px) {
  .hd-cart__head-row {
    display: none;
  }

  .hd-cart__item {
    grid-template-columns: 90px minmax(0, 1fr);
    grid-template-areas: "media info" "media totals";
    gap: 12px 16px;
    align-items: start;
  }

  .hd-cart__item-media {
    grid-area: media;
    width: 90px;
  }

  .hd-cart__item-info {
    grid-area: info;
  }

  .hd-cart__item-prices {
    display: none;
  }

  .hd-cart__item-qty-cell {
    margin-top: 8px;
  }

  .hd-cart__item-total {
    grid-area: totals;
    text-align: left;
    font-size: 15px;
  }

  .hd-cart__item-qty-cell,
  .hd-cart__item-total {
    display: inline-block;
  }

  .hd-cart__summary {
    padding: 20px;
  }
}

/* ==========================================================================
   CART / CHECKOUT — Woo notices + shared form styles
   ========================================================================== */
.hd-shop .woocommerce-notices-wrapper,
.hd-checkout .woocommerce-notices-wrapper {
  margin: 0 0 20px;
}

.hd-shop .woocommerce-message,
.hd-shop .woocommerce-info,
.hd-checkout .woocommerce-message,
.hd-checkout .woocommerce-info,
.hd-shop .woocommerce-error,
.hd-checkout .woocommerce-error {
  list-style: none;
  margin: 0 0 12px;
  padding: 14px 18px;
  background: #f6f3f1;
  border-left: 3px solid #000;
  font-size: 14px;
  line-height: 22px;
}

.hd-shop .woocommerce-error,
.hd-checkout .woocommerce-error {
  border-left-color: var(--hd-error);
  background: #fdf1ef;
}

.hd-shop .woocommerce-message::before,
.hd-shop .woocommerce-info::before,
.hd-shop .woocommerce-error::before {
  display: none;
}

/* ==========================================================================
   CHECKOUT — 2 columns (form left / summary right), Woo classic templates
   ========================================================================== */
.hd-checkout {
  padding: 0 0 80px;
}

.hd-checkout__title {
  margin: 0 0 24px;
  font-family: var(--hd-font-2);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 300;
}

.hd-checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 64px;
  align-items: start;
}

.hd-checkout__col--summary {
  position: sticky;
  top: 24px;
}

.hd-checkout__box {
  background: #f6f3f1;
  padding: 28px;
}

.hd-checkout__box-title {
  margin: 0 0 20px;
  font-family: var(--hd-font-2);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hd-checkout__section-title {
  margin: 0 0 16px;
  font-family: var(--hd-font-2);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Woo form rows in reference visual language */
.hd-checkout .woocommerce-billing-fields,
.hd-checkout .woocommerce-shipping-fields,
.hd-checkout .woocommerce-additional-fields {
  margin: 0 0 36px;
}

.hd-checkout .woocommerce-billing-fields__field-wrapper,
.hd-checkout .woocommerce-shipping-fields__field-wrapper,
.hd-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.hd-checkout form.checkout .form-row,
.hd-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.hd-checkout .woocommerce-shipping-fields__field-wrapper .form-row,
.hd-checkout #customer_details .form-row {
  margin: 0 0 14px;
  padding: 0;
  float: none;
  width: 100%;
}

.hd-checkout .form-row-wide,
.hd-checkout .form-row.notes,
.hd-checkout #billing_address_1_field,
.hd-checkout #billing_address_2_field,
.hd-checkout #shipping_address_1_field,
.hd-checkout #shipping_address_2_field,
.hd-checkout #billing_email_field {
  grid-column: 1 / -1;
}

.hd-checkout label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hd-checkout .hd-consent,
.hd-checkout .woocommerce-form__label,
.hd-checkout .create-account label {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
}

.hd-checkout .woocommerce-form__label,
.hd-checkout .create-account label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hd-checkout .hd-consent input[type="checkbox"],
.hd-checkout .woocommerce-form__label input[type="checkbox"],
.hd-checkout .create-account input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #000;
}

.hd-checkout .required {
  color: var(--hd-error);
  text-decoration: none;
}

.hd-checkout input.input-text,
.hd-checkout textarea,
.hd-checkout select,
.hd-checkout .select2-selection {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--hd-form);
  color: var(--hd-form-text);
  font-family: var(--hd-font);
  font-size: var(--hd-body-size);
  font-weight: 300;
  line-height: 1.6;
  box-sizing: border-box;
}

.hd-checkout textarea {
  height: auto;
  min-height: 110px;
}

.hd-checkout input.input-text:focus,
.hd-checkout textarea:focus,
.hd-checkout select:focus {
  outline: none;
  background: #fff;
  border-color: var(--hd-cta);
}

.hd-checkout .woocommerce-invalid input.input-text,
.hd-checkout .woocommerce-invalid select {
  border-color: var(--hd-error);
}

.hd-checkout .woocommerce-invalid label {
  color: var(--hd-error);
}

.hd-checkout .form-row .optional {
  display: none;
}

.hd-checkout .woocommerce-shipping-fields__field-wrapper {
  margin-top: 16px;
}

.hd-checkout .shipping_address {
  border: 0;
  padding: 0;
}

.hd-checkout .create-account {
  font-size: 13px;
  line-height: 20px;
}

/* order review / summary */
.hd-checkout .woocommerce-checkout-review-order {
  margin: 0;
}

.hd-checkout__review-box {
  background: #f6f3f1;
  padding: 28px;
}

.hd-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 22px;
}

.hd-checkout .woocommerce-checkout-review-order-table th {
  text-align: left;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--hd-line);
}

.hd-checkout .woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--hd-line);
}

.hd-checkout .woocommerce-checkout-review-order-table td.product-name {
  width: 62%;
}

.hd-checkout .woocommerce-checkout-review-order-table .product-quantity {
  color: var(--hd-muted);
}

.hd-checkout .cart_item dl.variation {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--hd-muted);
}

.hd-checkout .cart_item dl.variation dd,
.hd-checkout .cart_item dl.variation dt {
  display: inline;
  margin: 0;
  padding: 0;
  float: none;
}

.hd-checkout .cart_item dl.variation dt::after {
  content: ': ';
}

.hd-checkout .cart_item dl.variation dd::after {
  content: '';
  display: block;
}

.hd-checkout tfoot th,
.hd-checkout tfoot td {
  padding: 10px 0;
  border-bottom: 1px solid var(--hd-line);
}

.hd-checkout tfoot tr:last-child th,
.hd-checkout tfoot tr:last-child td {
  border-bottom: 0;
  padding-top: 16px;
  font-family: var(--hd-font-2);
  font-size: 18px;
  line-height: 26px;
}

.hd-checkout .order-total .amount {
  font-size: 20px;
}

.hd-checkout .woocommerce-shipping-totals td {
  padding: 10px 0;
}

.hd-checkout .woocommerce-shipping-totals ul#shipping_method {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

/* progress bar reused on checkout */
.hd-checkout .hd-progress {
  margin: 0 0 18px;
}

/* payment */
.hd-checkout__payment {
  margin: 24px 0 0;
}

.hd-checkout #payment {
  background: transparent;
  border-radius: 0;
}

.hd-checkout #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.hd-checkout #payment ul.payment_methods li {
  margin: 0;
  padding: 0;
}

.hd-checkout #payment ul.payment_methods li label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
  cursor: default;
}

.hd-checkout #payment div.payment_box {
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
  font-size: 13px;
  line-height: 20px;
}

.hd-checkout #payment div.payment_box::before {
  display: none;
}

.hd-checkout #payment div.payment_box p {
  margin: 0 0 8px;
}

.hd-checkout #payment .form-row.place-order {
  margin: 0;
  padding: 0;
}

.hd-checkout #payment .place-order {
  display: block;
}

.hd-checkout #place_order {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 34px;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  font-family: var(--hd-font);
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease;
}

.hd-checkout #place_order:hover {
  background: #fff;
  color: #000;
}

/* consents */
.hd-consents {
  margin: 0 0 24px;
  display: grid;
  gap: 12px;
}

.hd-consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 20px;
}

.hd-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #000;
}

.hd-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hd-consent.woocommerce-invalid input[type="checkbox"] {
  outline: 2px solid var(--hd-error);
}

.hd-consent-error {
  display: none;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--hd-error);
  grid-column: 2;
}

.hd-checkout__privacy {
  margin: 0 0 24px;
  font-size: 12px;
  line-height: 18px;
  color: var(--hd-muted);
}

.hd-checkout__privacy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hd-consent.woocommerce-invalid .hd-consent-error {
  display: block;
}

/* payment icon row (reference language: black/white local icons) */
.hd-pay-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
}

.hd-pay-icons img {
  height: 26px;
  width: auto;
  display: block;
}

.hd-checkout .shop-message,
.hd-checkout .hd-checkout__note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: var(--hd-muted);
}

@media (max-width: 989px) {
  .hd-checkout__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hd-checkout__col--summary {
    position: static;
  }
}

@media (max-width: 749px) {
  .hd-checkout .woocommerce-billing-fields__field-wrapper,
  .hd-checkout .woocommerce-shipping-fields__field-wrapper,
  .hd-checkout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .hd-checkout__box,
  .hd-checkout__review-box {
    padding: 20px;
  }
}

/* ==========================================================================
   ACCOUNT — 2-column login / register, then dashboard + nav
   ========================================================================== */
.hd-account {
  padding: 0 0 80px;
}

.hd-account__title {
  margin: 0 0 32px;
  font-family: var(--hd-font-2);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 300;
}

.hd-account__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.hd-account__box {
  max-width: 460px;
  width: 100%;
}

.hd-account__box-title {
  margin: 0 0 20px;
  font-family: var(--hd-font-2);
  font-size: 24px;
  line-height: 34px;
  font-weight: 300;
}

.hd-account__box form {
  margin: 0;
}

.hd-account__box .form-row,
.hd-account__box form .form-row,
.hd-shop .woocommerce form .form-row {
  margin: 0 0 14px;
  padding: 0;
  float: none;
  width: 100%;
}

.hd-account__box label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hd-account__box input.input-text {
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--hd-form);
  color: var(--hd-form-text);
  font-family: var(--hd-font);
  font-size: var(--hd-body-size);
  font-weight: 300;
}

.hd-account__box input.input-text:focus {
  outline: none;
  background: #fff;
  border-color: var(--hd-cta);
}

.hd-account__box .lost_password {
  margin: 10px 0 0;
  font-size: 13px;
}

.hd-account__box .lost_password a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hd-account__box .hd-consents {
  margin: 18px 0 20px;
}

.hd-account__box .hd-consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0;
  text-transform: none;
}

.hd-account__box .hd-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #000;
}

.hd-account__box .hd-consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hd-account__switch {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 20px;
}

.hd-account__switch a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hd-account__grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.hd-account__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hd-line);
}

.hd-account__nav li {
  border-bottom: 1px solid var(--hd-line);
}

.hd-account__nav a {
  display: block;
  padding: 14px 0;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hd-account__nav a:hover,
.hd-account__nav .is-active a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hd-account__content h2,
.hd-account__content h3 {
  font-family: var(--hd-font-2);
  font-weight: 300;
  margin: 0 0 16px;
}

.hd-account__content h2 {
  font-size: 28px;
  line-height: 40px;
}

.hd-account__content h3 {
  font-size: 20px;
  line-height: 28px;
  margin-top: 32px;
}

@media (max-width: 989px) {
  .hd-account__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hd-account__box {
    max-width: none;
  }

  .hd-account__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* ==========================================================================
   SEARCH
   ========================================================================== */
.hd-search {
  padding: 0 0 80px;
}

.hd-search__title {
  margin: 0 0 8px;
  font-family: var(--hd-font-2);
  font-size: 36px;
  line-height: 1.4;
  font-weight: 300;
}

.hd-search__count {
  margin: 0 0 32px;
  font-size: 14px;
  line-height: 22px;
  color: var(--hd-muted);
}

.hd-search__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--hd-gutter);
  row-gap: 32px;
}

.hd-search__grid > li {
  min-width: 0;
}

.hd-search__results {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hd-search__results li {
  padding: 18px 0;
  border-bottom: 1px solid var(--hd-line);
}

.hd-search__results a {
  font-size: 17px;
  line-height: 24px;
}

.hd-search__results p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--hd-muted);
}

.hd-search__form {
  margin: 24px 0 0;
  display: flex;
  max-width: 520px;
}

.hd-search__form input[type="search"] {
  flex: 1 1 auto;
  height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--hd-line);
  border-right: 0;
  border-radius: 0;
  background: var(--hd-form);
  font-family: var(--hd-font);
  font-size: var(--hd-body-size);
}

.hd-search__form button {
  flex: 0 0 auto;
}

@media (max-width: 989px) {
  .hd-search__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 749px) {
  .hd-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
  }

  .hd-search__title {
    font-size: 27px;
  }
}

/* ==========================================================================
   404
   ========================================================================== */
.hd-404 {
  padding: 64px 0 96px;
  text-align: center;
}

.hd-404__code {
  margin: 0;
  font-family: var(--hd-font-2);
  font-size: 120px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: .02em;
}

.hd-404__title {
  margin: 16px 0 12px;
  font-family: var(--hd-font-2);
  font-size: 32px;
  line-height: 1.4;
  font-weight: 300;
}

.hd-404__text {
  margin: 0 auto 28px;
  max-width: 560px;
  font-size: 15px;
  line-height: 24px;
  color: rgba(0, 0, 0, .75);
}

.hd-404__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 749px) {
  .hd-404__code {
    font-size: 72px;
  }

  .hd-404__title {
    font-size: 24px;
  }
}

/* ==========================================================================
   CONTENT PAGES (page.php) — reference: container + content-block py-5
   ========================================================================== */
.hd-page {
  padding: 0 0 80px;
}

.hd-page__head {
  padding: 0 0 16px;
}

.hd-page__content {
  padding: 40px 0 0;
  font-size: var(--hd-body-size);
  line-height: 24px;
}

.hd-page__content > *:first-child {
  margin-top: 0;
}

.hd-page__content h2,
.hd-page__content h3,
.hd-page__content h4 {
  font-family: var(--hd-font-2);
  font-weight: 400;
  margin: 40px 0 16px;
}

.hd-page__content h2 {
  font-size: 28px;
  line-height: 38px;
}

.hd-page__content h3 {
  font-size: 22px;
  line-height: 32px;
}

.hd-page__content p,
.hd-page__content ul,
.hd-page__content ol {
  margin: 0 0 16px;
}

.hd-page__content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hd-page__content img {
  margin: 24px 0;
}

.hd-page__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.hd-page__content th,
.hd-page__content td {
  border: 1px solid var(--hd-line);
  padding: 10px 12px;
  text-align: left;
}

.hd-page__content ul,
.hd-page__content ol {
  padding-left: 22px;
}

/* ==========================================================================
   ORDER RECEIVED / THANKYOU (checkout/thankyou.php default markup)
   ========================================================================== */
.hd-order-received {
  padding: 0 0 80px;
}

.hd-order-received .woocommerce-order {
  font-size: 15px;
  line-height: 24px;
}

.hd-order-received .woocommerce-thankyou-order-received {
  font-family: var(--hd-font-2);
  font-size: 32px;
  line-height: 1.4;
  font-weight: 300;
  margin: 0 0 24px;
}

.hd-order-received ul.woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 32px;
  padding: 24px;
  background: #f6f3f1;
}

.hd-order-received ul.woocommerce-order-overview li {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 0;
  margin: 0;
  padding: 0;
}

.hd-order-received ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  font-family: var(--hd-font-2);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

/* generic Woo tables inside account/content */
.hd-shop .woocommerce-orders-table,
.hd-shop .shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 22px;
}

.hd-shop .shop_table th {
  text-align: left;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--hd-line);
  padding: 10px 8px;
}

.hd-shop .shop_table td {
  border-bottom: 1px solid var(--hd-line);
  padding: 12px 8px;
  vertical-align: middle;
}

.hd-shop .button,
.hd-shop button.button,
.hd-shop a.button,
.woocommerce .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  font-family: var(--hd-font);
  font-size: 11px;
  line-height: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}

.hd-shop .button:hover,
.woocommerce .button:hover {
  background: #fff;
  color: #000;
}

/* drawer scroll lock */
html.hd-drawer-open,
html.hd-drawer-open body,
body.hd-drawer-open {
  overflow: hidden !important;
}

/* generic link style inside shop content */
.hd-shop .hd-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hd-pdp__from {
  font-family: var(--hd-font);
  font-size: 14px;
  line-height: 1;
  color: var(--hd-muted);
  margin-right: 2px;
}

.hd-cart__actions-row {
  margin: 20px 0 0;
}

.hd-cart__actions-row .hd-btn {
  padding: 12px 22px;
  font-size: 11px;
}

.hd-pay-icons img,
.hd-pay-icons .hdrey-payments__strip {
  height: 26px;
  width: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}
