/* Healthcare World — shop, product card, PDP, search, 404 (lightweight) */
:root {
  --hcw-ink: #013126;
  --hcw-ink-2: #03483a;
  --hcw-teal: #00856f;
  --hcw-mint: #58eda2;
  --hcw-mint-wash: #f5fff9;
  --hcw-mint-soft: #ddf0e2;
  --hcw-sand: #f3efe9;
  --hcw-text: #13231f;
  --hcw-muted: #5d6e6a;
  --hcw-line: #dfe6e3;
  --hcw-r: 18px;
  --hcw-display: "Nunito Sans", system-ui, sans-serif;
  --hcw-shadow: 0 1px 2px rgba(1, 49, 38, 0.06), 0 8px 24px rgba(1, 49, 38, 0.07);
}

.hcw-main {
  min-height: 40vh;
}

.hcw-crumbs {
  padding: 22px 0 0;
  font-size: 14px;
  color: var(--hcw-muted);
}
.hcw-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hcw-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--hcw-line);
}
.hcw-crumbs a:hover {
  color: var(--hcw-teal);
}
.hcw-crumbs [aria-current="page"] {
  color: var(--hcw-ink);
  font-weight: 600;
}

.hcw-lst {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  padding: 28px 0 96px;
  align-items: start;
}
.hcw-lst--single {
  grid-template-columns: 1fr;
}
.hcw-lst__side {
  position: sticky;
  top: 110px;
}
.hcw-lst__sh {
  font: 600 12px/1 "Nunito Sans", system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hcw-teal);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hcw-line);
  margin-bottom: 14px;
}
.hcw-lst__side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hcw-lst__side ul ul {
  margin: 2px 0 8px 14px;
  border-left: 2px solid var(--hcw-mint-soft);
}
.hcw-lst__side a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--hcw-muted);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.hcw-lst__side a:hover,
.hcw-lst__side a.is-on {
  background: var(--hcw-mint-wash);
  color: var(--hcw-ink);
}
.hcw-lst__side a.is-on {
  background: var(--hcw-ink);
  color: #fff;
  font-weight: 600;
}
.hcw-lst__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hcw-line);
}
.hcw-lst__h {
  font: 400 clamp(32px, 4vw, 48px) / 1.1 var(--hcw-display);
  color: var(--hcw-ink);
  margin: 0;
}
.hcw-lst__count {
  margin: 6px 0 0;
  color: var(--hcw-muted);
}

.hcw-pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
}

.hcw-pcard {
  display: flex;
  flex-direction: column;
}
.hcw-pcard__img {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--hcw-r);
  background: var(--hcw-sand);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hcw-pcard__img img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.45s;
}
.hcw-pcard:hover .hcw-pcard__img img {
  transform: scale(1.06);
}
.hcw-pcard__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--hcw-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 6px;
  pointer-events: none;
}
.hcw-pcard__badge--new {
  background: var(--hcw-teal);
}
.hcw-pcard__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hcw-pcard__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hcw-teal);
  margin: 14px 0 0;
}
.hcw-pcard__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin: 4px 0 0;
}
.hcw-pcard__title a {
  color: var(--hcw-text);
  text-decoration: none;
}
.hcw-pcard__title a:hover {
  color: var(--hcw-teal);
}
.hcw-pcard__price {
  font-weight: 700;
  color: var(--hcw-ink);
  margin: 6px 0 0;
}
.hcw-pcard__price .amount {
  font-weight: inherit;
}
.hcw-pcard__row {
  margin-top: 12px;
  display: flex;
}
.hcw-pcard__row .button,
.hcw-pcard__row .added_to_cart {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  flex: 1;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-radius: 999px;
  background: var(--hcw-ink);
  color: #fff;
  font-weight: 600;
  border: 0;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.hcw-pcard__row .button:hover {
  background: var(--hcw-ink-2);
}

.hcw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.hcw-btn--ink {
  background: var(--hcw-ink);
  color: #fff;
}
.hcw-btn--line {
  border: 1.5px solid var(--hcw-ink);
  color: var(--hcw-ink);
  background: #fff;
}

.hcw-empty {
  grid-column: 1 / -1;
  padding: 56px 32px;
  text-align: center;
  background: var(--hcw-mint-wash);
  border-radius: 24px;
}
.hcw-empty h2,
.hcw-empty .hcw-lst__h {
  font: 400 28px/1.2 var(--hcw-display);
  color: var(--hcw-ink);
}
.hcw-empty p {
  margin-top: 10px;
  color: var(--hcw-muted);
}
.hcw-empty .hcw-btn {
  margin-top: 22px;
}
.hcw-empty__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hcw-search-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.hcw-search-form input[type="search"] {
  height: 44px;
  min-width: 200px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--hcw-line);
  font: inherit;
}

.hcw-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 64px;
  padding: 28px 0 80px;
  align-items: start;
}
.hcw-gal {
  position: sticky;
  top: 100px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
}
.hcw-gal__main {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 1;
  border-radius: 28px;
  background: var(--hcw-sand);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.hcw-gal__main img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hcw-gal__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--hcw-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 1;
}
.hcw-gal__thumbs {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 100%;
  overflow: auto;
  scrollbar-width: none;
}
.hcw-gal__thumb {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: var(--hcw-sand);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
}
.hcw-gal__thumb img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin: auto;
}
.hcw-gal__thumb[aria-current="true"] {
  border-color: var(--hcw-ink);
}

.hcw-buy__cat {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hcw-teal);
  text-decoration: none;
}
.hcw-buy__h {
  font: 400 clamp(32px, 3.6vw, 48px) / 1.08 var(--hcw-display);
  color: var(--hcw-ink);
  margin: 10px 0 0;
}
.hcw-buy__sub {
  margin-top: 10px;
  color: var(--hcw-muted);
  font-size: 17px;
}
.hcw-buy__sub p {
  margin: 0;
}
.hcw-buy__price {
  margin-top: 24px;
}
.hcw-buy__now {
  font: 400 44px/1 var(--hcw-display);
  color: var(--hcw-ink);
}
.hcw-buy form.cart {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.hcw-buy form.cart .quantity {
  display: inline-flex;
  align-items: center;
  height: 54px;
  border: 1.5px solid var(--hcw-line);
  border-radius: 999px;
  background: #fff;
}
.hcw-buy form.cart .quantity input {
  width: 48px;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 700;
}
.hcw-buy form.cart .single_add_to_cart_button {
  height: 54px;
  flex: 1;
  min-width: 150px;
  border-radius: 999px;
  background: var(--hcw-ink);
  color: #fff;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}
.hcw-buy form.cart .single_add_to_cart_button:hover {
  background: var(--hcw-ink-2);
}

.hcw-assure {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hcw-assure li {
  padding: 14px;
  border-radius: 12px;
  background: var(--hcw-mint-wash);
  font-size: 13px;
  line-height: 1.35;
}
.hcw-assure b {
  display: block;
  color: var(--hcw-ink);
  font-size: 14px;
}

.hcw-pdp-rich {
  padding-bottom: 80px;
  color: var(--hcw-muted);
  font-size: 17px;
  line-height: 1.6;
}

.woocommerce-ordering select {
  height: 44px;
  padding: 0 36px 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--hcw-line);
  background: #fff;
  font: inherit;
  color: var(--hcw-ink);
  cursor: pointer;
}

.woocommerce-pagination {
  margin-top: 40px;
}
.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  justify-content: center;
}
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hcw-line);
  text-decoration: none;
  color: var(--hcw-ink);
}
.woocommerce-pagination span.current {
  background: var(--hcw-ink);
  color: #fff;
  border-color: var(--hcw-ink);
}

@media (max-width: 1100px) {
  .hcw-pgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .hcw-lst {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hcw-lst__side {
    position: static;
  }
  .hcw-pdp {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hcw-gal {
    position: static;
  }
  .hcw-assure {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .hcw-pgrid {
    grid-template-columns: 1fr;
  }
}
