:root {
  --o2-shop-navy: #18345b;
  --o2-shop-navy-deep: #102540;
  --o2-shop-navy-soft: #eff3f8;
  --o2-shop-gold: #eec088;
  --o2-shop-gold-deep: #d4a66a;
  --o2-shop-ink: #263242;
  --o2-shop-muted: #647082;
  --o2-shop-border: #e2e7ee;
  --o2-shop-canvas: #f6f7f9;
  --o2-shop-white: #fff;
  --o2-shop-success: #237a4b;
}

/* Cart and checkout — scoped to WooCommerce pharmacy screens only */
body.o2-pharmacy-scope.woocommerce-cart,
body.o2-pharmacy-scope.woocommerce-checkout {
  background: var(--o2-shop-canvas);
}

body.o2-pharmacy-scope.woocommerce-cart .main-content,
body.o2-pharmacy-scope.woocommerce-checkout .main-content,
body.o2-pharmacy-scope.woocommerce-cart main,
body.o2-pharmacy-scope.woocommerce-checkout main {
  color: var(--o2-shop-ink);
}

body.o2-pharmacy-scope.woocommerce-cart .wp-block-woocommerce-cart,
body.o2-pharmacy-scope.woocommerce-checkout .wp-block-woocommerce-checkout {
  width: min(1240px, calc(100% - 40px));
  margin: clamp(28px, 4vw, 58px) auto 90px;
}

body.o2-pharmacy-scope .wc-block-components-main,
body.o2-pharmacy-scope .wc-block-components-sidebar {
  box-sizing: border-box;
}

body.o2-pharmacy-scope .wc-block-components-main {
  padding-right: clamp(28px, 4vw, 62px);
}

body.o2-pharmacy-scope .wc-block-components-sidebar {
  padding: 0;
}

body.o2-pharmacy-scope .wc-block-components-sidebar-layout {
  align-items: start;
}

body.o2-pharmacy-scope .wc-block-components-sidebar > div,
body.o2-pharmacy-scope .wc-block-checkout__order-notes,
body.o2-pharmacy-scope .wc-block-checkout__additional-fields,
body.o2-pharmacy-scope .wc-block-components-checkout-step,
body.o2-pharmacy-scope .wp-block-woocommerce-cart-order-summary-block {
  border-radius: 10px;
}

body.o2-pharmacy-scope .wc-block-components-checkout-step {
  margin: 0 0 14px;
  padding: 22px 24px;
  border: 1px solid var(--o2-shop-border);
  background: #fff;
}

body.o2-pharmacy-scope .wc-block-components-checkout-step__heading {
  margin-bottom: 18px;
}

body.o2-pharmacy-scope .wc-block-components-checkout-step__title,
body.o2-pharmacy-scope .wc-block-components-title {
  color: var(--o2-shop-navy-deep);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

body.o2-pharmacy-scope .wc-block-components-text-input input,
body.o2-pharmacy-scope .wc-block-components-textarea,
body.o2-pharmacy-scope .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.o2-pharmacy-scope .wc-block-components-select .wc-block-components-select__select {
  min-height: 52px;
  border-color: #cbd4df;
  border-radius: 7px;
  background: #fff;
  color: var(--o2-shop-ink);
}

body.o2-pharmacy-scope .wc-block-components-text-input input:focus,
body.o2-pharmacy-scope .wc-block-components-textarea:focus,
body.o2-pharmacy-scope .wc-block-components-combobox input:focus,
body.o2-pharmacy-scope .wc-block-components-select select:focus {
  border-color: var(--o2-shop-navy);
  box-shadow: 0 0 0 3px rgba(24, 52, 91, 0.12);
  outline: 0;
}

body.o2-pharmacy-scope .wc-block-components-radio-control-accordion-option {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--o2-shop-border);
  border-radius: 8px;
  background: #fff;
}

body.o2-pharmacy-scope .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
  border-color: var(--o2-shop-navy);
  box-shadow: inset 4px 0 0 var(--o2-shop-gold);
}

body.o2-pharmacy-scope .wc-block-components-radio-control__option {
  min-height: 58px;
  padding: 16px 18px;
}

body.o2-pharmacy-scope .wc-block-components-radio-control__label,
body.o2-pharmacy-scope .wc-block-components-radio-control__description {
  color: var(--o2-shop-ink);
}

body.o2-pharmacy-scope .wc-block-components-radio-control__label {
  font-weight: 750;
}

body.o2-pharmacy-scope .wc-block-components-order-summary,
body.o2-pharmacy-scope .wc-block-cart__totals-title,
body.o2-pharmacy-scope .wp-block-woocommerce-cart-order-summary-block {
  border-color: var(--o2-shop-border);
  background: #fff;
}

body.o2-pharmacy-scope .wp-block-woocommerce-cart-order-summary-block,
body.o2-pharmacy-scope .wc-block-checkout__sidebar .wc-block-components-order-summary {
  overflow: hidden;
  border: 1px solid var(--o2-shop-border);
  box-shadow: 0 16px 44px rgba(16, 37, 64, 0.08);
}

body.o2-pharmacy-scope .wc-block-cart__totals-title,
body.o2-pharmacy-scope .wc-block-components-checkout-order-summary__title {
  min-height: 58px;
  padding: 20px 22px;
  background: var(--o2-shop-navy-deep);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.o2-pharmacy-scope .wc-block-components-totals-wrapper,
body.o2-pharmacy-scope .wc-block-components-order-summary-item {
  border-color: var(--o2-shop-border);
}

body.o2-pharmacy-scope .wc-block-components-product-name {
  color: var(--o2-shop-navy-deep);
  font-weight: 750;
  line-height: 1.4;
}

body.o2-pharmacy-scope .wc-block-components-product-price,
body.o2-pharmacy-scope .wc-block-components-totals-item__value {
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

body.o2-pharmacy-scope .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--o2-shop-navy);
  font-size: 23px;
  font-weight: 850;
}

body.o2-pharmacy-scope .wc-block-components-button:not(.is-link),
body.o2-pharmacy-scope .wc-block-cart__submit-button,
body.o2-pharmacy-scope .wc-block-components-checkout-place-order-button {
  min-height: 54px;
  border: 1px solid var(--o2-shop-navy);
  border-radius: 7px;
  background: var(--o2-shop-navy);
  box-shadow: none;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

body.o2-pharmacy-scope .wc-block-components-button:not(.is-link):hover,
body.o2-pharmacy-scope .wc-block-cart__submit-button:hover,
body.o2-pharmacy-scope .wc-block-components-checkout-place-order-button:hover {
  border-color: var(--o2-shop-navy-deep);
  background: var(--o2-shop-navy-deep);
}

body.o2-pharmacy-scope .wc-block-components-button:not(.is-link):active,
body.o2-pharmacy-scope .wc-block-cart__submit-button:active,
body.o2-pharmacy-scope .wc-block-components-checkout-place-order-button:active {
  transform: translateY(1px);
}

body.o2-pharmacy-scope .wc-block-components-button:focus-visible,
body.o2-pharmacy-scope .wc-block-components-checkbox input:focus-visible {
  outline: 3px solid rgba(238, 192, 136, 0.62);
  outline-offset: 3px;
}

body.o2-pharmacy-scope .wc-block-components-checkbox__input[type="checkbox"]:checked {
  border-color: var(--o2-shop-navy);
  background: var(--o2-shop-navy);
}

body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .trust-bar,
body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .mega-menu-wrap,
body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .search-wrap,
body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .header-actions {
  display: none !important;
}

body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .header-main > a:not(.o2-pharmacy-logo),
body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .header-main > button,
body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .header-main > form,
body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .header-main > div:not(.o2-pharmacy-logo) {
  display: none !important;
}

body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .header-main {
  min-height: 86px;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .o2-pharmacy-logo {
  margin: 0 auto;
}

.o2-bank-transfer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 30px;
  align-items: center;
  width: min(960px, calc(100% - 32px));
  margin: 28px auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--o2-shop-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(16, 37, 64, 0.1);
}

.o2-bank-transfer-card__eyebrow {
  margin: 0 0 8px;
  color: var(--o2-shop-gold-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.o2-bank-transfer-card h2 {
  margin: 0 0 22px;
  color: var(--o2-shop-navy-deep);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.o2-bank-transfer-card dl {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
}

.o2-bank-transfer-card dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--o2-shop-border);
}

.o2-bank-transfer-card dt {
  color: var(--o2-shop-muted);
}

.o2-bank-transfer-card dd {
  margin: 0;
  color: var(--o2-shop-navy-deep);
  font-weight: 800;
}

.o2-bank-transfer-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--o2-shop-border);
  border-radius: 10px;
}

.o2-bank-transfer-card.is-email {
  display: block;
  width: 100%;
  box-shadow: none;
}

@media (max-width: 780px) {
  body.o2-pharmacy-scope.woocommerce-cart .wp-block-woocommerce-cart,
  body.o2-pharmacy-scope.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: min(100% - 24px, 680px);
    margin-top: 18px;
  }

  body.o2-pharmacy-scope .wc-block-components-main {
    padding-right: 0;
  }

  body.o2-pharmacy-scope .wc-block-components-checkout-step {
    padding: 18px 15px;
    border-radius: 8px;
  }

  body.o2-pharmacy-scope .wc-block-components-checkout-step__title,
  body.o2-pharmacy-scope .wc-block-components-title {
    font-size: 19px;
  }

  body.o2-pharmacy-scope.woocommerce-checkout .nhathuoc-header .header-main {
    min-height: 70px;
  }

  .o2-bank-transfer-card {
    grid-template-columns: 1fr;
    gap: 20px;
    width: calc(100% - 24px);
    padding: 22px 16px;
  }

  .o2-bank-transfer-card img {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .o2-bank-transfer-card dl div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* Private catalog review page */
.o2-catalog-preview {
  min-height: 70vh;
  background: var(--o2-shop-canvas);
}

.o2-catalog-container {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

.o2-catalog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0 clamp(78px, 9vw, 118px);
  background:
    radial-gradient(circle at 78% 28%, rgba(238, 192, 136, 0.23), transparent 28%),
    linear-gradient(145deg, #102540 0%, #18345b 68%, #203e68 100%);
  color: #fff;
}

.o2-catalog-hero::after {
  position: absolute;
  right: -9%;
  bottom: -65%;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.o2-catalog-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: end;
}

.o2-catalog-kicker {
  margin: 0 0 17px;
  color: var(--o2-shop-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.o2-catalog-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.o2-catalog-intro {
  max-width: 64ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.o2-catalog-preview-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.o2-catalog-preview-note > span {
  grid-row: 1 / 3;
  color: var(--o2-shop-gold);
  font-size: 12px;
}

.o2-catalog-preview-note strong {
  color: #fff;
  font-size: 16px;
}

.o2-catalog-preview-note small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.o2-catalog-workspace {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding-bottom: 110px;
}

.o2-catalog-controls input:focus-visible,
.o2-catalog-controls select:focus-visible,
.o2-catalog-resultbar button:focus-visible,
.o2-catalog-empty button:focus-visible {
  outline: 3px solid rgba(212, 166, 106, 0.42);
  outline-offset: 2px;
}

.o2-catalog-controls {
  display: grid;
  grid-template-columns: minmax(250px, 1.4fr) repeat(4, minmax(145px, 0.65fr));
  gap: 12px;
  margin-top: 0;
  padding: 18px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 15px;
  background: #fff;
}

.o2-catalog-controls label:not(.o2-catalog-search) {
  display: grid;
  gap: 7px;
}

.o2-catalog-controls label > span:not(.screen-reader-text) {
  color: var(--o2-shop-muted);
  font-size: 12px;
  font-weight: 700;
}

.o2-catalog-controls input,
.o2-catalog-controls select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 9px;
  background: #fbfcfe;
  color: var(--o2-shop-ink);
  font-size: 14px;
}

.o2-catalog-search {
  position: relative;
  align-self: end;
}

.o2-catalog-search svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--o2-shop-navy);
  stroke-linecap: round;
  stroke-width: 1.8;
  transform: translateY(-50%);
}

.o2-catalog-search input {
  padding-left: 48px;
}

.o2-catalog-resultbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 16px;
}

.o2-catalog-resultbar p {
  margin: 0;
  color: var(--o2-shop-muted);
  font-size: 14px;
}

.o2-catalog-resultbar strong {
  color: var(--o2-shop-navy);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}

.o2-catalog-resultbar button,
.o2-catalog-empty button {
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--o2-shop-navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.o2-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.o2-catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--o2-shop-border);
  border-radius: 14px;
  background: #fff;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.o2-catalog-card[hidden] {
  display: none;
}

.o2-catalog-card:hover {
  border-color: rgba(24, 52, 91, 0.3);
  box-shadow: 0 18px 38px rgba(16, 37, 64, 0.09);
  transform: translateY(-4px);
}

.o2-catalog-card__image {
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
}

.o2-catalog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 360ms ease;
}

.o2-catalog-card:hover .o2-catalog-card__image img {
  transform: scale(1.025);
}

.o2-catalog-card__body {
  display: flex;
  min-height: 250px;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.o2-catalog-card__brand {
  min-height: 18px;
  margin: 0 0 8px;
  color: var(--o2-shop-gold-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.o2-catalog-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.42;
}

.o2-catalog-card h2 a {
  color: var(--o2-shop-navy-deep);
  text-decoration: none;
}

.o2-catalog-card__price {
  margin: 14px 0 18px;
  color: var(--o2-shop-navy);
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.o2-catalog-card__price del {
  margin-right: 6px;
  color: #8a93a0;
  font-size: 13px;
  font-weight: 600;
}

.o2-catalog-card__price ins {
  text-decoration: none;
}

.o2-catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--o2-shop-border);
}

.o2-catalog-card__footer > span {
  color: var(--o2-shop-success);
  font-size: 12px;
  font-weight: 800;
}

.o2-catalog-card__footer > span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  vertical-align: 1px;
}

.o2-catalog-card__footer a {
  color: var(--o2-shop-navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.o2-catalog-card__footer a span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 180ms ease;
}

.o2-catalog-card__footer a:hover span {
  transform: translateX(3px);
}

.o2-catalog-empty {
  margin-top: 18px;
  padding: 60px 24px;
  border: 1px dashed #cbd3dd;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.o2-catalog-empty[hidden] {
  display: none;
}

.o2-catalog-empty strong {
  color: var(--o2-shop-navy);
  font-size: 20px;
}

.o2-catalog-empty p {
  margin: 8px 0 10px;
  color: var(--o2-shop-muted);
}

.o2-shopping-guide {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
  margin-top: 96px;
  padding: clamp(34px, 5vw, 64px);
  border-radius: 18px;
  background: var(--o2-shop-navy-deep);
  color: #fff;
  scroll-margin-top: 32px;
}

.o2-shopping-guide__intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.o2-shopping-guide__intro > p:last-child {
  max-width: 42ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.o2-shopping-guide__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.o2-shopping-guide__steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.o2-shopping-guide__steps li:first-child {
  padding-top: 0;
}

.o2-shopping-guide__steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.o2-shopping-guide__steps li > span {
  color: var(--o2-shop-gold);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.o2-shopping-guide__steps strong {
  color: #fff;
  font-size: 18px;
}

.o2-shopping-guide__steps p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .o2-catalog-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .o2-catalog-preview-note {
    max-width: 420px;
  }

  .o2-catalog-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .o2-catalog-search {
    grid-column: 1 / -1;
  }

  .o2-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .o2-catalog-container {
    width: min(100% - 24px, 1280px);
  }

  .o2-catalog-hero {
    padding: 46px 0 82px;
  }

  .o2-catalog-hero h1 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .o2-catalog-hero h1 br {
    display: none;
  }

  .o2-catalog-workspace {
    margin-top: -30px;
    padding-bottom: 80px;
  }

  .o2-catalog-controls {
    grid-template-columns: 1fr;
    margin-top: 22px;
    padding: 14px;
  }

  .o2-catalog-search {
    grid-column: auto;
  }

  .o2-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .o2-catalog-card__body {
    min-height: 225px;
    padding: 13px;
  }

  .o2-catalog-card h2 {
    font-size: 14px;
  }

  .o2-catalog-card__price {
    font-size: 16px;
  }

  .o2-catalog-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .o2-shopping-guide {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 68px;
    padding: 30px 22px;
  }
}

.o2-pharmacy-scope,
.o2-pharmacy-scope button,
.o2-pharmacy-scope input,
.o2-pharmacy-scope select,
.o2-pharmacy-scope textarea {
  font-family: "Mulish", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.o2-pharmacy-scope {
  background: var(--o2-shop-canvas);
  color: var(--o2-shop-ink);
}

/* The theme's consultation bar covers shopping controls on small screens. */
.o2-pharmacy-scope .button-action-mobile {
  display: none !important;
}

.o2-pharmacy-scope.o2-pharmacy-menu-open .ori-contact-float-wrapper,
.o2-pharmacy-scope.o2-pharmacy-menu-open #return-to-top {
  display: none !important;
}

.o2-pharmacy-scope .nhathuoc-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--o2-shop-border);
  background: var(--o2-shop-white);
  box-shadow: 0 12px 34px rgba(16, 37, 64, 0.06);
}

.o2-pharmacy-scope .nhathuoc-header .trust-bar {
  display: none;
}

.o2-pharmacy-scope .nhathuoc-header .header-main {
  max-width: 1320px;
  min-height: 86px;
  padding: 16px 24px;
  gap: 18px;
  flex-wrap: nowrap;
}

.o2-pharmacy-logo {
  display: inline-flex;
  width: 148px;
  flex: 0 0 148px;
  align-items: center;
  color: var(--o2-shop-navy);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.o2-pharmacy-logo img {
  display: block;
  width: auto;
  max-width: 138px;
  max-height: 52px;
  object-fit: contain;
}

.o2-pharmacy-scope .nhathuoc-header .menu-btn {
  min-height: 48px;
  padding: 0 17px;
  border-radius: 10px;
  background: var(--o2-shop-navy);
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease;
}

.o2-pharmacy-scope .nhathuoc-header .menu-btn:hover {
  background: var(--o2-shop-navy-deep);
  transform: translateY(-1px);
}

.o2-pharmacy-scope .nhathuoc-header .menu-btn:active {
  transform: translateY(1px);
}

.o2-pharmacy-scope .woocommerce-product-search {
  max-width: none;
}

.o2-pharmacy-scope .woocommerce-product-search .search-field {
  height: 48px;
  border: 1px solid var(--o2-shop-border);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: #fbfcfe;
  color: var(--o2-shop-ink);
}

.o2-pharmacy-scope .woocommerce-product-search .search-field:focus {
  border-color: var(--o2-shop-navy);
  box-shadow: 0 0 0 3px rgba(24, 52, 91, 0.1);
}

.o2-pharmacy-scope .woocommerce-product-search button[type="submit"] {
  width: 88px;
  border-radius: 0 10px 10px 0;
  background: var(--o2-shop-navy);
  white-space: nowrap;
}

.o2-pharmacy-scope .nhathuoc-header .header-action {
  color: var(--o2-shop-navy);
}

.o2-pharmacy-scope .nhathuoc-header .header-action .label {
  color: var(--o2-shop-muted);
}

.o2-pharmacy-scope .nhathuoc-header .category-nav {
  display: none !important;
}

.o2-pharmacy-scope .nhathuoc-header .mega-menu {
  left: 0;
  min-width: min(920px, calc(100vw - 48px));
  padding: 28px;
  gap: 42px;
  border-color: var(--o2-shop-border);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(16, 37, 64, 0.16);
}

.o2-pharmacy-scope .nhathuoc-header .mega-menu.is-open {
  display: flex;
}

.o2-pharmacy-scope .nhathuoc-header .o2-mega-col-wide {
  min-width: 240px;
  flex: 1 1 300px;
}

.o2-pharmacy-scope .nhathuoc-header .o2-mega-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
}

.o2-pharmacy-scope .nhathuoc-header .o2-mega-brand-grid {
  max-height: 280px;
  overflow-y: auto;
}

.o2-pharmacy-scope .nhathuoc-header .o2-mega-help {
  min-width: 180px;
  padding-left: 24px;
  border-left: 1px solid var(--o2-shop-border);
}

.o2-pharmacy-scope .nhathuoc-header .mega-col h4 {
  margin-bottom: 13px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.o2-pharmacy-scope .nhathuoc-header .mega-col a {
  border-radius: 6px;
  color: var(--o2-shop-muted);
  line-height: 1.35;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.o2-pharmacy-scope .nhathuoc-header .mega-col a:hover {
  background: var(--o2-shop-navy-soft);
  color: var(--o2-shop-navy);
  transform: translateX(2px);
}

.o2-pharmacy-scope .nhathuoc-header .mega-col h4,
.o2-pharmacy-scope .nhathuoc-header .mega-col a:hover {
  color: var(--o2-shop-navy);
}

.o2-pharmacy-scope .o2shop-main,
.o2-pharmacy-scope .o2shop-page {
  padding: clamp(24px, 4vw, 52px) 20px clamp(72px, 8vw, 112px);
  background: var(--o2-shop-canvas);
}

.o2-pharmacy-scope .o2shop-container {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.o2-pharmacy-scope .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: var(--o2-shop-muted);
  font-size: 13px;
}

.o2-pharmacy-scope .woocommerce-breadcrumb a {
  color: var(--o2-shop-navy);
  text-decoration: none;
}

.o2-pharmacy-scope div.product {
  display: flow-root;
}

.o2-pharmacy-scope div.product div.images,
.o2-pharmacy-scope div.product div.summary {
  margin-bottom: 44px;
}

.o2-pharmacy-scope div.product div.images {
  width: 50%;
  padding: clamp(16px, 2vw, 28px);
  border-radius: 18px;
  background: var(--o2-shop-white);
  box-shadow: 0 18px 50px rgba(16, 37, 64, 0.07);
}

.o2-pharmacy-scope div.product div.summary {
  width: 46%;
  padding: 6px 0 0 clamp(12px, 2vw, 32px);
}

.o2-pharmacy-scope .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.o2-pharmacy-scope .woocommerce-product-gallery__image a {
  display: flex;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.o2-pharmacy-scope .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.o2-pharmacy-scope .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0 !important;
  padding: 0;
}

.o2-pharmacy-scope .flex-control-thumbs li {
  width: auto !important;
  margin: 0 !important;
}

.o2-pharmacy-scope .flex-control-thumbs img {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--o2-shop-border);
  border-radius: 9px;
  object-fit: cover;
  opacity: 0.72;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.o2-pharmacy-scope .flex-control-thumbs img.flex-active,
.o2-pharmacy-scope .flex-control-thumbs img:hover {
  border-color: var(--o2-shop-navy);
  opacity: 1;
}

.o2-product-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--o2-shop-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.o2-pharmacy-scope div.product .product_title {
  max-width: 22ch;
  margin: 0 0 14px;
  color: var(--o2-shop-navy-deep);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
  text-wrap: balance;
}

.o2-pharmacy-scope .woocommerce-product-rating {
  margin: 0 0 12px !important;
}

.o2-pharmacy-scope .woocommerce-review-link {
  color: var(--o2-shop-muted);
}

.o2-pharmacy-scope div.product p.price,
.o2-pharmacy-scope div.product span.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 10px;
  color: var(--o2-shop-navy);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.o2-pharmacy-scope div.product p.price del,
.o2-pharmacy-scope div.product span.price del {
  color: var(--o2-shop-muted);
  font-size: 16px;
  font-weight: 500;
  opacity: 0.8;
}

.o2-product-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--o2-shop-muted);
  font-size: 13px;
}

.o2-stock-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
}

.o2-stock-status.is-in-stock {
  background: #eaf6ef;
  color: var(--o2-shop-success);
}

.o2-stock-status.is-out-of-stock {
  background: #f9ecec;
  color: #a23f3f;
}

.o2-pharmacy-scope .woocommerce-product-details__short-description {
  max-width: 62ch;
  margin: 18px 0 22px;
  color: var(--o2-shop-ink);
  font-size: 16px;
  line-height: 1.75;
}

.o2-pharmacy-scope div.product form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}

.o2-pharmacy-scope div.product form.cart .quantity .qty {
  width: 76px;
  min-height: 50px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 10px;
  background: #fff;
  color: var(--o2-shop-ink);
  font-weight: 700;
}

.o2-pharmacy-scope div.product form.cart .button,
.o2-pharmacy-scope .single_add_to_cart_button {
  min-height: 50px;
  padding: 0 28px !important;
  border: 1px solid var(--o2-shop-navy) !important;
  border-radius: 10px !important;
  background: var(--o2-shop-navy) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  transition: transform 180ms ease, background 180ms ease !important;
}

.o2-pharmacy-scope div.product form.cart .button:hover,
.o2-pharmacy-scope .single_add_to_cart_button:hover {
  background: var(--o2-shop-navy-deep) !important;
  transform: translateY(-1px);
}

.o2-pharmacy-scope .variations {
  width: 100%;
  margin-bottom: 6px !important;
}

.o2-pharmacy-scope .variations th,
.o2-pharmacy-scope .variations td {
  padding: 6px 0 !important;
  border: 0 !important;
  text-align: left;
}

.o2-pharmacy-scope .variations select {
  min-height: 46px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 9px;
  background: #fff;
}

.o2-purchase-assurance {
  display: grid;
  gap: 0;
  margin-top: 22px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 14px;
  background: #fff;
}

.o2-purchase-assurance > div {
  display: grid;
  gap: 3px;
  padding: 13px 15px 13px 44px;
  border-bottom: 1px solid var(--o2-shop-border);
  background: radial-gradient(circle at 23px 20px, var(--o2-shop-gold) 0 4px, transparent 5px);
}

.o2-purchase-assurance > div:last-child {
  border-bottom: 0;
}

.o2-purchase-assurance strong {
  color: var(--o2-shop-navy-deep);
  font-size: 14px;
}

.o2-purchase-assurance span {
  color: var(--o2-shop-muted);
  font-size: 12px;
  line-height: 1.45;
}

.o2-pharmacy-scope .product_meta {
  margin-top: 18px;
  color: var(--o2-shop-muted);
  font-size: 13px;
  line-height: 1.8;
}

.o2-pharmacy-scope .woocommerce-tabs {
  clear: both;
  padding-top: 18px;
}

.o2-pharmacy-scope .woocommerce-tabs ul.tabs {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.o2-pharmacy-scope .woocommerce-tabs ul.tabs::before,
.o2-pharmacy-scope .woocommerce-tabs ul.tabs li::before,
.o2-pharmacy-scope .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.o2-pharmacy-scope .woocommerce-tabs ul.tabs li {
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px 10px 0 0 !important;
  background: transparent !important;
}

.o2-pharmacy-scope .woocommerce-tabs ul.tabs li a {
  padding: 14px 18px !important;
  color: var(--o2-shop-muted) !important;
  font-weight: 800 !important;
}

.o2-pharmacy-scope .woocommerce-tabs ul.tabs li.active a {
  background: #fff;
  color: var(--o2-shop-navy) !important;
}

.o2-pharmacy-scope .woocommerce-Tabs-panel {
  margin: 0 !important;
  padding: clamp(22px, 4vw, 42px) !important;
  border-radius: 0 18px 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(16, 37, 64, 0.06);
}

.o2-product-detail-layout {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(210px, 240px);
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}

.o2-product-detail-layout > * {
  min-width: 0;
  max-width: 100%;
}

.o2-product-toc {
  position: sticky;
  z-index: 5;
  top: 126px;
  margin: 0;
  padding: 10px;
  border: 1px solid #dfe5ec;
  border-radius: 16px;
  background: #f6f7f9;
}

.o2-product-toc__head {
  display: none;
}

.o2-product-toc__title {
  margin: 0 !important;
  color: var(--o2-shop-navy-deep);
  font-size: 15px;
  font-weight: 800;
}

.o2-product-toc nav {
  display: grid;
  gap: 0;
}

.o2-product-toc nav::-webkit-scrollbar {
  display: none;
}

.o2-product-toc a {
  padding: 17px 15px;
  border-bottom: 1px solid #dfe5ec;
  border-radius: 10px;
  color: var(--o2-shop-muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.o2-product-toc a:last-child {
  border-bottom: 0;
}

.o2-product-toc a:hover,
.o2-product-toc a.is-active {
  border-bottom-color: transparent;
  background: #e7ebf0;
  color: var(--o2-shop-navy);
}

.o2-content-reviewer {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0 0 34px;
  padding: 22px 24px;
  border: 1px solid #c9dced;
  border-radius: 16px;
  background: #e8f4ff;
  color: var(--o2-shop-navy-deep);
}

.o2-content-reviewer__mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
  background: var(--o2-shop-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}

.o2-content-reviewer p {
  margin: 2px 0;
  font-size: 15px;
  line-height: 1.55;
}

.o2-detail-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--o2-shop-border);
  color: var(--o2-shop-muted);
  font-size: 14px;
}

.o2-detail-tools span {
  margin-right: 6px;
}

.o2-detail-tools button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #cfd8e2;
  border-radius: 999px;
  background: #fff;
  color: var(--o2-shop-navy);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.o2-detail-tools button.is-active {
  border-color: var(--o2-shop-navy);
  background: var(--o2-shop-navy);
  color: #fff;
}

.o2-sales-policies {
  position: sticky;
  top: 126px;
  padding: 22px 20px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  background: #fff;
}

.o2-sales-policies h3 {
  margin: 0 0 16px;
  color: var(--o2-shop-navy-deep);
  font-size: 20px;
  font-weight: 850;
}

.o2-sales-policies p {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #edf1f5;
  color: var(--o2-shop-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.o2-sales-policies p span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #eef2f6;
  color: var(--o2-shop-navy);
}

.o2-sticky-buy {
  position: fixed;
  z-index: 60;
  right: max(22px, calc((100vw - 1440px) / 2));
  bottom: 18px;
  left: max(22px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 64px minmax(220px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #d8e0e8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 50px rgba(13, 45, 82, 0.18);
  backdrop-filter: blur(16px);
}

.o2-sticky-buy__image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: contain;
}

.o2-sticky-buy__info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.o2-sticky-buy__info strong {
  overflow: hidden;
  color: var(--o2-shop-navy-deep);
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.o2-sticky-buy__info .price,
.o2-sticky-buy__info > span {
  color: var(--o2-shop-navy);
  font-size: 18px;
  font-weight: 850;
}

.o2-sticky-buy__quantity {
  display: grid;
  grid-template-columns: 38px 46px 38px;
  overflow: hidden;
  border: 1px solid #cfd8e2;
  border-radius: 12px;
}

.o2-sticky-buy__quantity button,
.o2-sticky-buy__quantity input {
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--o2-shop-navy);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.o2-sticky-buy__quantity input {
  border-right: 1px solid #dfe5ec;
  border-left: 1px solid #dfe5ec;
  appearance: textfield;
}

.o2-sticky-buy__button {
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: var(--o2-shop-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

.o2-product-story {
  min-width: 0;
  color: var(--o2-shop-ink);
  font-size: 17px;
  line-height: 1.82;
}

.o2-product-story.is-large-text {
  font-size: 19px;
}

.o2-product-story-wrap {
  position: relative;
}

.o2-product-story-wrap.is-collapsed .o2-product-story {
  max-height: 760px;
  overflow: hidden;
}

.o2-product-story-wrap.is-collapsed::after {
  position: absolute;
  right: 0;
  bottom: 58px;
  left: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
  content: "";
  pointer-events: none;
}

.o2-product-story-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 22px auto 0;
  padding: 0 22px;
  border: 1px solid var(--o2-shop-navy);
  border-radius: 9px;
  background: #fff;
  color: var(--o2-shop-navy);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.o2-product-story-toggle[hidden] {
  display: none;
}

.o2-product-story-toggle:hover {
  background: var(--o2-shop-navy);
  color: #fff;
}

.o2-product-story-toggle:active {
  transform: translateY(1px);
}

.o2-product-story-toggle:focus-visible {
  outline: 3px solid rgba(13, 45, 82, 0.18);
  outline-offset: 3px;
}

.o2-product-story > :first-child {
  margin-top: 0;
}

.o2-product-story h2 {
  scroll-margin-top: 86px;
  margin: 48px 0 16px;
  color: var(--o2-shop-navy-deep);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.24;
}

.o2-detail-section {
  padding-bottom: 26px;
  border-bottom: 1px solid #edf1f5;
}

.o2-detail-section:last-of-type {
  border-bottom: 0;
}

.o2-detail-pending {
  margin: 0 0 24px;
  padding: 15px 17px;
  border-left: 3px solid var(--o2-shop-gold-deep);
  background: #fbfaf7;
  color: var(--o2-shop-muted);
  font-size: 14px;
}

.o2-product-story h3 {
  margin: 26px 0 10px;
  color: var(--o2-shop-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.o2-product-story p,
.o2-product-story li {
  max-width: 78ch;
}

.o2-product-story ul,
.o2-product-story ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.o2-product-story img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 28px auto;
  border-radius: 12px;
}

.o2-product-story table {
  display: table;
  width: 100%;
  margin: 18px 0 28px;
  overflow: hidden;
  border-collapse: separate;
  border: 1px solid var(--o2-shop-border);
  border-spacing: 0;
  border-radius: 12px;
  font-size: 14px;
}

.o2-product-story #thanh-phan + ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 18px 0 34px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--o2-shop-border);
  border-radius: 12px;
  list-style: none;
}

.o2-product-story #thanh-phan + ul li {
  margin: 0;
  padding: 13px 16px;
  border-bottom: 1px solid var(--o2-shop-border);
  background: #fff;
}

.o2-product-story #thanh-phan + ul li:nth-child(odd) {
  border-right: 1px solid var(--o2-shop-border);
  background: #f8fafc;
}

.o2-product-story #thanh-phan + ul li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.o2-product-story table tr:first-child {
  background: var(--o2-shop-navy-soft);
  color: var(--o2-shop-navy-deep);
  font-weight: 800;
}

.o2-product-story table tr:nth-child(even):not(:first-child) {
  background: #fafbfd;
}

.o2-product-story table td,
.o2-product-story table th {
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid var(--o2-shop-border);
  border-bottom: 1px solid var(--o2-shop-border);
  text-align: left;
  vertical-align: top;
}

.o2-product-story table td:last-child,
.o2-product-story table th:last-child {
  border-right: 0;
}

.o2-product-story table tr:last-child td {
  border-bottom: 0;
}

.o2-customer-reviews {
  clear: both;
  margin-top: 46px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--o2-shop-border);
  border-radius: 18px;
  background: #fff;
}

.o2-reviews-heading {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--o2-shop-border);
}

.o2-reviews-heading h2 {
  margin: 0;
  color: var(--o2-shop-navy-deep);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 850;
  letter-spacing: -0.03em;
}

.o2-review-summary {
  display: grid;
  grid-template-columns: 180px minmax(260px, 460px);
  gap: 38px;
  align-items: center;
  margin-bottom: 32px;
  padding: 24px;
  border-radius: 14px;
  background: var(--o2-shop-canvas);
}

.o2-review-score {
  display: grid;
  gap: 5px;
  justify-items: center;
  border-right: 1px solid var(--o2-shop-border);
}

.o2-review-score > strong {
  color: var(--o2-shop-navy-deep);
  font-size: 48px;
  line-height: 1;
}

.o2-review-score small {
  color: var(--o2-shop-muted);
}

.o2-review-bars {
  display: grid;
  gap: 8px;
}

.o2-review-bars > div {
  display: grid;
  grid-template-columns: 48px minmax(120px, 1fr) 28px;
  gap: 10px;
  align-items: center;
  color: var(--o2-shop-muted);
  font-size: 12px;
}

.o2-review-bars i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e8ee;
}

.o2-review-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--o2-shop-gold-deep);
}

.o2-product-collection {
  clear: both;
  margin-top: 46px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 18px;
  background: #fff;
}

.o2-product-collection > header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--o2-shop-border);
}

.o2-product-collection > header h2 {
  margin: 0;
  color: var(--o2-shop-navy-deep);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.o2-product-collection__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.o2-product-collection__grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid #e2e8ef;
  border-radius: 14px;
  background: #fff;
}

.o2-product-collection__image {
  display: block;
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #f6f8fa;
}

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

.o2-product-collection__grid article > div {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.o2-product-collection__grid h3 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
}

.o2-product-collection__grid h3 a {
  color: var(--o2-shop-navy-deep);
  text-decoration: none;
}

.o2-product-collection__grid p {
  margin: auto 0 12px;
  color: var(--o2-shop-navy);
  font-weight: 850;
}

.o2-product-collection__link {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--o2-shop-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.o2-review-empty {
  display: grid;
  justify-items: center;
  padding: 34px 20px 38px;
  text-align: center;
}

.o2-review-empty > span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--o2-shop-navy-soft);
  color: var(--o2-shop-gold-deep);
  font-size: 36px;
}

.o2-review-empty strong {
  color: var(--o2-shop-navy-deep);
  font-size: 19px;
}

.o2-review-empty p {
  margin: 7px 0 0;
  color: var(--o2-shop-muted);
}

.o2-review-list {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.o2-review-card {
  padding: 20px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 12px;
}

.o2-review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  align-items: center;
}

.o2-review-card__meta strong {
  color: var(--o2-shop-navy-deep);
}

.o2-review-card__meta time {
  color: var(--o2-shop-muted);
  font-size: 12px;
}

.o2-review-card__meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eaf6ef;
  color: var(--o2-shop-success);
  font-size: 11px;
  font-weight: 800;
}

.o2-review-card__stars {
  margin: 9px 0;
}

.o2-review-card__content p:last-child {
  margin-bottom: 0;
}

.o2-review-form-wrap {
  padding-top: 26px;
  border-top: 1px solid var(--o2-shop-border);
}

.o2-review-form-wrap > h3 {
  margin: 0 0 18px;
  color: var(--o2-shop-navy-deep);
  font-size: 22px;
  font-weight: 850;
}

.o2-review-preview-note {
  padding: 18px 20px;
  border-left: 3px solid var(--o2-shop-gold-deep);
  background: #fbfaf7;
}

.o2-review-preview-note p {
  margin: 0 0 3px;
  color: var(--o2-shop-navy-deep);
  font-weight: 750;
}

.o2-review-preview-note small,
.o2-review-note {
  color: var(--o2-shop-muted);
}

.o2-customer-reviews .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.o2-customer-reviews .comment-form > * {
  margin: 0;
}

.o2-customer-reviews .comment-form-comment,
.o2-customer-reviews .comment-form-url,
.o2-customer-reviews .form-submit,
.o2-customer-reviews .o2-rating-field,
.o2-customer-reviews .o2-review-note,
.o2-customer-reviews .logged-in-as {
  grid-column: 1 / -1;
}

.o2-customer-reviews .comment-form label,
.o2-rating-field legend {
  display: block;
  margin-bottom: 7px;
  color: var(--o2-shop-navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.o2-customer-reviews input[type="text"],
.o2-customer-reviews input[type="email"],
.o2-customer-reviews textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 9px;
  background: #fff;
  color: var(--o2-shop-ink);
}

.o2-customer-reviews textarea {
  min-height: 140px;
  resize: vertical;
}

.o2-customer-reviews input:focus,
.o2-customer-reviews textarea:focus {
  border-color: var(--o2-shop-navy);
  outline: 3px solid rgba(13, 45, 82, 0.09);
}

.o2-rating-field {
  padding: 0;
  border: 0;
}

.o2-rating-options {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 3px;
}

.o2-rating-options input {
  position: absolute;
  opacity: 0;
}

.o2-rating-options label {
  margin: 0;
  color: #cbd2da;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.o2-rating-options input:checked ~ label,
.o2-rating-options label:hover,
.o2-rating-options label:hover ~ label {
  color: var(--o2-shop-gold-deep);
}

.o2-customer-reviews .form-submit input {
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: 9px;
  background: var(--o2-shop-navy);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.o2-pharmacy-scope .related.products,
.o2-pharmacy-scope .up-sells {
  clear: both;
  padding-top: 58px;
}

.o2-pharmacy-scope .related.products > h2,
.o2-pharmacy-scope .up-sells > h2 {
  margin: 0 0 24px;
  color: var(--o2-shop-navy-deep);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.o2-pharmacy-scope ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.o2-pharmacy-scope ul.products::before,
.o2-pharmacy-scope ul.products::after {
  display: none !important;
}

.o2-pharmacy-scope ul.products li.product {
  display: flex;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  flex-direction: column;
  padding: 14px 14px 16px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 14px;
  background: #fff;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.o2-pharmacy-scope ul.products li.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(16, 37, 64, 0.09);
}

.o2-pharmacy-scope ul.products li.product img {
  aspect-ratio: 1 / 1;
  margin: 0 0 14px !important;
  border-radius: 10px;
  object-fit: contain;
}

.o2-pharmacy-scope ul.products li.product .woocommerce-loop-product__title {
  color: var(--o2-shop-ink);
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1.45;
}

.o2-pharmacy-scope ul.products li.product .price {
  margin-top: auto;
  color: var(--o2-shop-navy) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.o2-pharmacy-scope ul.products li.product .button {
  margin-top: 12px;
  border-radius: 8px;
  background: var(--o2-shop-navy);
  color: #fff;
  text-align: center;
}

@media (max-width: 1100px) {
  .o2-pharmacy-scope .nhathuoc-header .header-main {
    flex-wrap: wrap;
  }

  .o2-pharmacy-logo {
    order: 1;
  }

  .o2-pharmacy-scope .nhathuoc-header .mega-menu-wrap {
    order: 2;
  }

  .o2-pharmacy-scope .nhathuoc-header .header-action {
    order: 3;
  }

  .o2-pharmacy-scope .woocommerce-product-search {
    order: 4;
    max-width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 1439px) and (min-width: 901px) {
  .o2-product-detail-layout {
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  }

  .o2-sales-policies {
    display: none;
  }
}

@media (max-width: 900px) {
  .o2-pharmacy-scope div.product div.images,
  .o2-pharmacy-scope div.product div.summary {
    float: none !important;
    width: 100%;
  }

  .o2-pharmacy-scope div.product div.summary {
    padding: 8px 0 0;
  }

  .o2-product-detail-layout {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .o2-product-toc {
    position: relative;
    top: auto;
    width: 100%;
    max-height: none;
    margin-bottom: 28px;
    overflow: hidden;
  }

  .o2-sales-policies {
    position: static;
    display: block;
    order: 3;
  }

  .o2-product-toc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0 8px;
  }

  .o2-product-toc__controls {
    display: flex;
    gap: 6px;
  }

  .o2-product-toc__controls button {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--o2-shop-border);
    border-radius: 8px;
    background: #fff;
    color: var(--o2-shop-navy);
    font-size: 17px;
    cursor: pointer;
  }

  .o2-product-toc nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .o2-product-toc a {
    flex: 0 0 auto;
    border: 1px solid var(--o2-shop-border);
    border-radius: 8px;
    background: #fff;
    scroll-snap-align: start;
  }

  .o2-product-toc a.is-active {
    border-color: var(--o2-shop-gold-deep);
    background: #fbfaf7;
  }

  .o2-review-summary {
    grid-template-columns: 150px minmax(220px, 1fr);
    gap: 24px;
  }

  .o2-pharmacy-scope ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .o2-product-collection__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .o2-pharmacy-scope .nhathuoc-header .header-main {
    min-height: auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .o2-pharmacy-logo {
    width: 112px;
    flex-basis: 112px;
  }

  .o2-pharmacy-logo img {
    max-width: 108px;
    max-height: 42px;
  }

  .o2-pharmacy-scope .nhathuoc-header .menu-btn {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0;
  }

  .o2-pharmacy-scope .nhathuoc-header .menu-btn svg {
    margin: 0;
  }

  .o2-pharmacy-scope .nhathuoc-header .header-action .label {
    display: none;
  }

  .o2-pharmacy-scope .nhathuoc-header .header-action .value {
    font-size: 12px;
  }

  .o2-pharmacy-scope .nhathuoc-header .header-action:first-of-type {
    margin-left: auto;
  }

  .o2-pharmacy-scope .nhathuoc-header .header-action svg {
    width: 21px;
    height: 21px;
  }

  .o2-pharmacy-scope .nhathuoc-header .mega-menu {
    position: fixed;
    top: 96px;
    right: 12px;
    left: 12px;
    min-width: 0;
    max-height: calc(100dvh - 116px);
    overflow: auto;
    flex-direction: column;
    padding: 20px;
    gap: 22px;
  }

  .o2-pharmacy-scope .nhathuoc-header .o2-mega-link-grid {
    grid-template-columns: 1fr;
  }

  .o2-pharmacy-scope .nhathuoc-header .o2-mega-help {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--o2-shop-border);
    border-left: 0;
  }

  .o2-pharmacy-scope .o2shop-main,
  .o2-pharmacy-scope .o2shop-page {
    padding: 18px 12px 72px;
  }

  .o2-pharmacy-scope div.product div.images {
    padding: 10px;
    border-radius: 14px;
  }

  .o2-pharmacy-scope .flex-control-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }

  .o2-pharmacy-scope div.product .product_title {
    max-width: none;
    font-size: 28px;
  }

  .o2-pharmacy-scope div.product form.cart {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: stretch;
  }

  .o2-pharmacy-scope div.product form.cart .quantity {
    grid-column: 1;
    width: 76px;
  }

  .o2-pharmacy-scope div.product form.cart .button,
  .o2-pharmacy-scope .single_add_to_cart_button {
    display: inline-flex !important;
    width: 100%;
    min-width: 0;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    padding-right: 14px !important;
    padding-left: 14px !important;
    white-space: nowrap;
  }

  .o2-pharmacy-scope div.product form.cart .variations,
  .o2-pharmacy-scope div.product form.cart .single_variation_wrap {
    grid-column: 1 / -1;
  }

  .o2-pharmacy-scope .woocommerce-Tabs-panel {
    padding: 18px 14px !important;
    border-radius: 0 12px 12px;
  }

  .o2-product-toc {
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px 12px;
  }

  .o2-product-story {
    font-size: 15px;
  }

  .o2-content-reviewer {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px;
  }

  .o2-content-reviewer__mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 13px;
  }

  .o2-content-reviewer p {
    font-size: 13px;
  }

  .o2-detail-tools {
    display: none;
  }

  .o2-sticky-buy {
    right: 8px;
    bottom: 8px;
    left: 8px;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
  }

  .o2-sticky-buy__image,
  .o2-sticky-buy__info {
    display: none;
  }

  .o2-sticky-buy__quantity {
    grid-template-columns: 28px 34px 28px;
  }

  .o2-sticky-buy__quantity button,
  .o2-sticky-buy__quantity input {
    height: 46px;
  }

  .o2-sticky-buy__button {
    min-height: 46px;
    padding: 0 14px;
  }

  .o2-product-collection {
    margin-top: 28px;
    padding: 18px 12px;
  }

  .o2-product-collection__grid {
    gap: 10px;
  }

  .o2-product-collection__grid article > div {
    padding: 12px;
  }

  .o2-product-collection__grid h3 {
    font-size: 13px;
  }

  .o2-product-story-wrap.is-collapsed .o2-product-story {
    max-height: 620px;
  }

  .o2-product-story-toggle {
    width: 100%;
  }

  .o2-product-story table {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .o2-product-story #thanh-phan + ul {
    grid-template-columns: 1fr;
  }

  .o2-product-story #thanh-phan + ul li,
  .o2-product-story #thanh-phan + ul li:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--o2-shop-border);
  }

  .o2-product-story #thanh-phan + ul li:last-child {
    border-bottom: 0;
  }

  .o2-customer-reviews {
    margin-top: 30px;
    padding: 22px 16px;
    border-radius: 14px;
  }

  .o2-review-summary {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .o2-review-score {
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--o2-shop-border);
  }

  .o2-review-card {
    padding: 16px;
  }

  .o2-customer-reviews .comment-form {
    grid-template-columns: 1fr;
  }

  .o2-customer-reviews .comment-form > * {
    grid-column: 1;
  }

  .o2-pharmacy-scope ul.products {
    gap: 10px;
  }

  .o2-pharmacy-scope ul.products li.product {
    padding: 10px;
  }

  .o2-pharmacy-scope .ori-contact-float-wrapper {
    right: 8px !important;
    bottom: 14px !important;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .o2-pharmacy-scope #return-to-top {
    right: 12px !important;
    bottom: 118px !important;
  }
}

@media (max-width: 359px) {
  .o2-catalog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .o2-catalog-card__body {
    min-height: auto;
    padding: 16px;
  }

  .o2-catalog-card h2 {
    font-size: 16px;
  }

  .o2-catalog-card__footer {
    align-items: center;
    flex-direction: row;
  }

  .o2-pharmacy-scope .nhathuoc-header .header-main {
    gap: 8px;
  }

  .o2-pharmacy-logo {
    width: 104px;
    flex-basis: 104px;
  }

  .o2-pharmacy-logo img {
    max-width: 100px;
  }

  .o2-pharmacy-scope div.product .product_title {
    font-size: 25px;
  }

  .o2-pharmacy-scope div.product p.price,
  .o2-pharmacy-scope div.product span.price {
    gap: 8px;
    font-size: 24px;
  }
}

/* Catalog v2: compact pharmacy-commerce layout based on the approved reference. */
.o2-pharmacy-scope .nhathuoc-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--o2-shop-navy-deep);
  box-shadow: 0 8px 24px rgba(16, 37, 64, 0.16);
}

.o2-pharmacy-scope .nhathuoc-header .header-main {
  min-height: 82px;
}

.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-logo img {
  filter: brightness(0) invert(1);
}

.o2-pharmacy-scope .nhathuoc-header .menu-btn {
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.o2-pharmacy-scope .nhathuoc-header .menu-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.o2-pharmacy-scope .nhathuoc-header .header-action,
.o2-pharmacy-scope .nhathuoc-header .header-action .label,
.o2-pharmacy-scope .nhathuoc-header .header-action .value {
  color: #fff;
}

.o2-pharmacy-scope .nhathuoc-header .header-action svg,
.o2-pharmacy-scope .nhathuoc-header .menu-btn svg {
  stroke: currentColor;
}

.o2-pharmacy-scope .nhathuoc-header .woocommerce-product-search {
  border-radius: 11px;
  background: #fff;
}

.o2-pharmacy-scope .nhathuoc-header .woocommerce-product-search .search-field {
  min-height: 48px;
  border-color: transparent;
  background: #fff;
}

.o2-pharmacy-scope .nhathuoc-header .woocommerce-product-search button[type="submit"] {
  border: 1px solid #fff;
  background: #fff;
  color: var(--o2-shop-navy-deep);
}

.o2-catalog-preview {
  background: #f3f5f7;
}

.o2-catalog-top {
  padding: 28px 0 22px;
  background: #fff;
}

.o2-catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #9aa2ad;
  font-size: 15px;
}

.o2-catalog-breadcrumb a,
.o2-catalog-breadcrumb strong {
  color: var(--o2-shop-ink);
  font-weight: 700;
  text-decoration: none;
}

.o2-catalog-promo {
  display: grid;
  min-height: 220px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #c8dced;
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.95), transparent 35%),
    #eaf5fb;
}

.o2-catalog-promo__products {
  display: flex;
  height: 100%;
  align-items: end;
  justify-content: center;
  padding: 18px 0 0 24px;
}

.o2-catalog-promo__products img {
  width: 31%;
  max-width: 170px;
  height: 178px;
  margin-left: -5%;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 14px 28px rgba(16, 37, 64, 0.08);
}

.o2-catalog-promo__products img:first-child {
  margin-left: 0;
  transform: translateY(10px) rotate(-3deg);
}

.o2-catalog-promo__products img:nth-child(2) {
  z-index: 2;
  transform: translateY(-2px);
}

.o2-catalog-promo__products img:nth-child(3) {
  transform: translateY(12px) rotate(3deg);
}

.o2-catalog-promo__copy {
  display: grid;
  gap: 9px;
  padding: 30px 7vw 30px 26px;
  color: var(--o2-shop-navy-deep);
}

.o2-catalog-promo__copy > span {
  color: #1673b7;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.o2-catalog-promo__copy strong {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-transform: uppercase;
}

.o2-catalog-promo__copy small {
  color: var(--o2-shop-muted);
  font-size: 13px;
  font-weight: 700;
}

.o2-catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 2px 0;
}

.o2-catalog-heading h1 {
  margin: 0;
  color: var(--o2-shop-navy-deep);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.o2-catalog-heading p {
  margin: 12px 0 0;
  color: var(--o2-shop-ink);
  font-size: 17px;
}

.o2-catalog-heading p strong {
  font-variant-numeric: tabular-nums;
}

.o2-catalog-heading p span {
  color: var(--o2-shop-muted);
  font-size: 13px;
}

.o2-filter-toggle {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--o2-shop-navy) !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: var(--o2-shop-navy) !important;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.o2-filter-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.o2-filter-toggle:hover,
.o2-filter-toggle[aria-expanded="true"] {
  background: var(--o2-shop-navy) !important;
  color: #fff !important;
}

.o2-catalog-workspace {
  margin-top: 0;
  padding-top: 22px;
}

.o2-catalog-controls {
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(150px, 0.7fr)) auto;
  margin: 0 0 22px;
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 37, 64, 0.06);
}

.o2-catalog-controls[hidden] {
  display: none !important;
}

.o2-catalog-search {
  display: grid;
  gap: 7px;
}

.o2-catalog-search svg {
  top: auto;
  bottom: 14px;
}

.o2-catalog-filter-actions {
  display: flex;
  align-items: end;
}

.o2-catalog-filter-actions button {
  min-height: 48px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--o2-shop-navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.o2-catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.o2-catalog-card {
  position: relative;
  border-color: #dde3e9;
  border-radius: 9px;
  box-shadow: 0 5px 16px rgba(16, 37, 64, 0.035);
}

.o2-catalog-card:hover {
  box-shadow: 0 14px 30px rgba(16, 37, 64, 0.09);
  transform: translateY(-2px);
}

.o2-catalog-card__image {
  position: relative;
  background: #f4f5f6;
}

.o2-catalog-card__discount {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  min-width: 62px;
  padding: 9px 10px;
  border-radius: 0 8px 0 18px;
  background: var(--o2-shop-gold-deep);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.o2-catalog-card__body {
  min-height: 330px;
  padding: 15px;
}

.o2-catalog-card__brand {
  min-height: auto;
  margin-bottom: 7px;
  color: #1673b7;
  letter-spacing: 0.06em;
}

.o2-catalog-card h2 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 72px;
  font-size: 17px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.o2-catalog-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  min-height: 62px;
  margin: 10px 0 0;
  color: #2a9b60;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.o2-catalog-card__price {
  display: flex;
  min-height: 50px;
  flex-wrap: wrap;
  align-content: end;
  align-items: baseline;
  margin: auto 0 4px;
  color: #0b67bd;
  font-size: 20px;
}

.o2-catalog-card__price del {
  flex-basis: 100%;
}

.o2-catalog-card__stock {
  margin: 2px 0 11px;
  color: var(--o2-shop-success);
  font-size: 12px;
  font-weight: 800;
}

.o2-catalog-card__stock.is-out {
  color: #a23f3f;
}

.o2-catalog-card__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  background: var(--o2-shop-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.o2-catalog-card__action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.o2-catalog-card__action:hover {
  background: var(--o2-shop-navy-deep);
  color: #fff;
}

.o2-catalog-card__action:active {
  transform: translateY(1px);
}

@media (max-width: 1100px) {
  .o2-catalog-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .o2-catalog-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .o2-pharmacy-scope .nhathuoc-header .header-main {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .o2-pharmacy-scope .nhathuoc-header .header-action .label,
  .o2-pharmacy-scope .nhathuoc-header .header-action .value {
    display: none;
  }

  .o2-pharmacy-scope .nhathuoc-header .header-action {
    min-width: 38px;
    justify-content: center;
  }

  .o2-pharmacy-scope.o2-pharmacy-header-compact .nhathuoc-header .woocommerce-product-search {
    display: none;
  }

  .o2-pharmacy-scope.o2-pharmacy-header-compact .nhathuoc-header .header-main {
    min-height: 64px;
  }

  .o2-catalog-top {
    padding: 18px 0 16px;
  }

  .o2-catalog-breadcrumb {
    gap: 9px;
    margin-bottom: 14px;
    font-size: 14px;
  }

  .o2-catalog-promo {
    min-height: 150px;
    grid-template-columns: 0.9fr 1.1fr;
    border-radius: 5px;
  }

  .o2-catalog-promo__products {
    padding: 12px 0 0 8px;
  }

  .o2-catalog-promo__products img {
    width: 39%;
    height: 116px;
    margin-left: -16%;
    box-shadow: none;
  }

  .o2-catalog-promo__products img:first-child {
    margin-left: 0;
  }

  .o2-catalog-promo__copy {
    gap: 6px;
    padding: 18px 12px 18px 8px;
  }

  .o2-catalog-promo__copy > span {
    font-size: 9px;
  }

  .o2-catalog-promo__copy strong {
    font-size: clamp(18px, 6vw, 25px);
    letter-spacing: -0.035em;
  }

  .o2-catalog-promo__copy small {
    font-size: 10px;
    line-height: 1.35;
  }

  .o2-catalog-heading {
    gap: 12px;
    padding-top: 22px;
  }

  .o2-catalog-heading h1 {
    font-size: 30px;
  }

  .o2-catalog-heading p {
    margin-top: 8px;
    font-size: 15px;
  }

  .o2-catalog-heading p span {
    display: none;
  }

  .o2-filter-toggle {
    min-height: 42px;
    padding: 0 15px;
    font-size: 14px;
  }

  .o2-catalog-workspace {
    padding-top: 14px;
  }

  .o2-catalog-controls {
    grid-template-columns: 1fr;
    margin-bottom: 14px;
    padding: 14px;
  }

  .o2-catalog-search {
    grid-column: auto;
  }

  .o2-catalog-grid,
  .o2-pharmacy-scope ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .o2-catalog-card {
    border-radius: 5px;
  }

  .o2-catalog-card__discount {
    min-width: 51px;
    padding: 7px 8px;
    border-radius: 0 4px 0 15px;
    font-size: 13px;
  }

  .o2-catalog-card__body {
    min-height: 298px;
    padding: 10px;
  }

  .o2-catalog-card__brand {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .o2-catalog-card h2 {
    min-height: 63px;
    font-size: 15px;
    line-height: 1.38;
  }

  .o2-catalog-card__excerpt {
    min-height: 58px;
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .o2-catalog-card__price {
    min-height: 47px;
    margin-bottom: 3px;
    font-size: 16px;
  }

  .o2-catalog-card__price del {
    font-size: 11px;
  }

  .o2-catalog-card__stock {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .o2-catalog-card__action {
    min-height: 38px;
    gap: 5px;
    font-size: 12px;
  }

  .o2-catalog-card__action svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 359px) {
  .o2-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .o2-catalog-card__body {
    padding: 8px;
  }

  .o2-catalog-card h2 {
    min-height: 58px;
    font-size: 13px;
  }

  .o2-catalog-card__excerpt {
    min-height: 54px;
    font-size: 11.5px;
  }

  .o2-catalog-card__price {
    font-size: 14px;
  }

  .o2-catalog-card__action {
    font-size: 11px;
  }
}

/* Catalog v3: OriDerm-style commerce structure with the approved O2 SKIN palette. */
.o2-catalog-preview > .o2-catalog-container {
  padding-top: 24px;
  padding-bottom: 56px;
}

.o2-catalog-preview .o2-catalog-breadcrumb {
  margin-bottom: 18px;
}

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

.o2-catalog-content {
  min-width: 0;
}

.o2-catalog-sidebar {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 98px);
  overflow: hidden;
  border: 1px solid var(--o2-shop-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(16, 37, 64, 0.045);
}

.o2-filter-drawer-head,
.o2-filter-drawer-actions,
.o2-mobile-sort,
.o2-filter-toggle,
.o2-filter-backdrop {
  display: none;
}

.o2-sidebar-search {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--o2-shop-border);
  color: var(--o2-shop-navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.o2-sidebar-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 6px;
  background: #fff;
  color: var(--o2-shop-ink);
  font-size: 13px;
}

.o2-filter-group {
  border-bottom: 1px solid var(--o2-shop-border);
}

.o2-filter-group:last-of-type {
  border-bottom: 0;
}

.o2-filter-group summary {
  position: relative;
  padding: 17px 42px 17px 18px;
  color: var(--o2-shop-navy-deep);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

.o2-filter-group summary::-webkit-details-marker {
  display: none;
}

.o2-filter-group summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--o2-shop-navy);
  border-bottom: 1.5px solid var(--o2-shop-navy);
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.o2-filter-group[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.o2-filter-options {
  display: grid;
  max-height: 238px;
  gap: 0;
  overflow: auto;
  padding: 0 18px 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--o2-shop-border) transparent;
}

.o2-filter-options label,
.o2-filter-options a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  color: var(--o2-shop-ink);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.o2-filter-options input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  accent-color: var(--o2-shop-navy);
}

.o2-filter-options label:has(input:checked),
.o2-filter-options a:hover {
  color: var(--o2-shop-navy);
  font-weight: 800;
}

.o2-catalog-layout .o2-catalog-promo {
  min-height: 248px;
}

.o2-catalog-layout .o2-catalog-promo__copy {
  padding-right: 4vw;
}

.o2-catalog-layout .o2-catalog-promo__copy strong {
  font-size: clamp(30px, 3.2vw, 44px);
}

.o2-catalog-banner {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--o2-shop-border);
  border-radius: 8px;
  background: #fff;
}

.o2-catalog-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.o2-catalog-banner--offer {
  max-width: 760px;
  margin: 18px auto 0;
}

.o2-catalog-offer--mobile {
  display: none;
}

.o2-catalog-trust {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 2.25fr);
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: var(--o2-shop-navy-deep);
  color: #fff;
  box-shadow: 0 8px 24px rgba(16, 37, 64, 0.1);
}

.o2-catalog-trust__intro {
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-direction: column;
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.o2-catalog-trust__intro p,
.o2-catalog-trust__intro h2,
.o2-catalog-trust__intro span,
.o2-catalog-trust__items h3,
.o2-catalog-trust__items p {
  margin: 0;
}

.o2-catalog-trust__intro p {
  color: var(--o2-shop-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.o2-catalog-trust__intro h2 {
  margin-top: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.o2-catalog-trust__intro span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.35;
}

.o2-catalog-trust__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.o2-catalog-trust__items article {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.o2-catalog-trust__items article:last-child {
  border-right: 0;
}

.o-trust-icon,
.o2-trust-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(238, 192, 136, 0.55);
  border-radius: 50%;
  color: var(--o2-shop-gold);
  font-size: 19px;
  font-weight: 900;
}

.o2-catalog-trust__items h3 {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.o2-catalog-trust__items p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.4;
}

.o2-catalog-layout .o2-catalog-heading {
  align-items: center;
  padding: 22px 0 18px;
}

.o2-catalog-layout .o2-catalog-heading h1 {
  font-size: 34px;
}

.o2-catalog-layout .o2-catalog-heading p {
  margin-top: 7px;
  font-size: 15px;
}

.o2-desktop-sort {
  display: flex;
  min-width: 216px;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid var(--o2-shop-border);
  border-radius: 6px;
  background: #fff;
  color: var(--o2-shop-muted);
  font-size: 13px;
}

.o2-desktop-sort select {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--o2-shop-ink);
  font-size: 13px;
  font-weight: 700;
}

.o2-catalog-layout .o2-catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.o2-catalog-layout .o2-catalog-card__body {
  min-height: 294px;
  padding: 12px;
}

.o2-catalog-layout .o2-catalog-card h2 {
  min-height: 63px;
  font-size: 14px;
  line-height: 1.48;
}

.o2-catalog-layout .o2-catalog-card__excerpt {
  min-height: 57px;
  font-size: 12px;
  line-height: 1.55;
}

.o2-catalog-layout .o2-catalog-card__price {
  min-height: 46px;
  font-size: 17px;
}

.o2-catalog-layout .o2-catalog-card__action {
  min-height: 39px;
  font-size: 11px;
  text-transform: uppercase;
}

.o2-catalog-layout .o2-catalog-card__discount {
  min-width: 51px;
  padding: 7px 8px;
  background: var(--o2-shop-gold-deep);
  font-size: 12px;
}

@media (max-width: 1120px) and (min-width: 761px) {
  .o2-catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
  }

  .o2-catalog-layout .o2-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .o2-pharmacy-scope .nhathuoc-header,
  .o2-pharmacy-scope.admin-bar .nhathuoc-header {
    top: 0 !important;
    transform: none !important;
  }

  .o2-catalog-preview > .o2-catalog-container {
    width: 100%;
    padding: 14px 12px 34px;
  }

  .o2-catalog-preview .o2-catalog-breadcrumb {
    margin-bottom: 13px;
  }

  .o2-catalog-layout {
    display: block;
  }

  .o2-catalog-sidebar {
    position: fixed;
    z-index: 100002;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(390px, 94vw);
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    box-shadow: 12px 0 32px rgba(16, 37, 64, 0.24);
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .o2-catalog-sidebar.is-open {
    transform: translateX(0);
  }

  .o2-filter-backdrop.is-open {
    position: fixed;
    z-index: 100001;
    inset: 0;
    display: block;
    background: rgba(16, 37, 64, 0.45);
  }

  body.o2-filter-drawer-open {
    overflow: hidden;
  }

  .o2-filter-drawer-head {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: var(--o2-shop-navy-deep);
    color: #fff;
    text-transform: uppercase;
  }

  .o2-filter-drawer-head button {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 31px;
    font-weight: 300;
  }

  .o2-sidebar-search {
    padding: 15px;
  }

  .o2-filter-group summary {
    padding: 16px 44px 16px 15px;
    font-size: 14px;
  }

  .o2-filter-options {
    max-height: 260px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .o2-mobile-sort {
    display: grid;
    gap: 8px;
    padding: 16px 15px 90px;
    color: var(--o2-shop-navy-deep);
    font-size: 14px;
    font-weight: 800;
  }

  .o2-mobile-sort select {
    min-height: 44px;
    padding: 0 11px;
    border: 1px solid var(--o2-shop-border);
    border-radius: 5px;
    background: #fff;
  }

  .o2-filter-drawer-actions {
    position: fixed;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px;
    border-top: 1px solid var(--o2-shop-border);
    background: #fff;
  }

  .o2-filter-drawer-actions button {
    min-height: 42px;
    border: 1px solid var(--o2-shop-border);
    border-radius: 4px;
    background: #f3f4f6;
    color: var(--o2-shop-ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .o2-filter-drawer-actions button:last-child {
    border-color: var(--o2-shop-navy);
    background: var(--o2-shop-navy);
    color: #fff;
  }

  .o2-catalog-layout .o2-catalog-promo {
    min-height: 160px;
  }

  .o2-catalog-banner {
    border-radius: 5px;
  }

  .o2-catalog-trust {
    display: block;
    margin-top: 10px;
    border-radius: 5px;
  }

  .o2-catalog-trust__intro {
    padding: 15px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
  }

  .o2-catalog-trust__intro h2 {
    font-size: 17px;
  }

  .o2-catalog-trust__items {
    display: grid;
    grid-template-columns: 1fr;
  }

  .o2-catalog-trust__items article {
    min-height: 64px;
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 11px 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .o2-catalog-trust__items article:last-child {
    border-bottom: 0;
  }

  .o2-trust-icon {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }

  .o2-catalog-trust__items h3 {
    font-size: 12px;
  }

  .o2-catalog-trust__items p {
    font-size: 10px;
  }

  .o2-catalog-banner--offer {
    margin-top: 10px;
  }

  .o2-catalog-offer--desktop {
    display: none;
  }

  .o2-catalog-offer--mobile {
    display: block;
    margin-top: 18px;
  }

  .o2-catalog-layout .o2-catalog-heading {
    align-items: end;
    padding: 20px 2px 15px;
  }

  .o2-catalog-layout .o2-catalog-heading h1 {
    font-size: 30px;
  }

  .o2-desktop-sort {
    display: none;
  }

  .o2-filter-toggle {
    display: inline-flex;
  }

  .o2-catalog-layout .o2-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .o2-catalog-layout .o2-catalog-card__body {
    min-height: 298px;
    padding: 10px;
  }

  .o2-catalog-layout .o2-catalog-card h2 {
    min-height: 63px;
    font-size: 15px;
    line-height: 1.38;
  }

  .o2-catalog-layout .o2-catalog-card__excerpt {
    min-height: 58px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .o2-catalog-layout .o2-catalog-card__price {
    font-size: 16px;
  }

  .o2-catalog-layout .o2-catalog-card__action {
    min-height: 38px;
    font-size: 11px;
  }
}

/* O2SKIN pharmacy product typography aligned with Oriderm — 2026-08-31 */
.o2-pharmacy-scope .o2-catalog-preview,
.o2-pharmacy-scope .o2-catalog-preview button,
.o2-pharmacy-scope .o2-catalog-preview input,
.o2-pharmacy-scope .o2-catalog-preview select {
  font-family: "Roboto", Arial, sans-serif;
}

.o2-pharmacy-scope .o2-catalog-card__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.o2-pharmacy-scope .o2-catalog-card__brand {
  font-size: 14px;
  font-weight: 500;
}

.o2-pharmacy-scope .o2-catalog-card h2 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 20px;
}

.o2-pharmacy-scope .o2-catalog-card__excerpt {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.o2-pharmacy-scope .o2-catalog-card__price {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.o2-pharmacy-scope .o2-catalog-card__price del {
  font-size: 16px;
  font-weight: 400;
}

.o2-pharmacy-scope .o2-catalog-card__stock,
.o2-pharmacy-scope .o2-catalog-card__action,
.o2-pharmacy-scope .o2-catalog-card__footer > span,
.o2-pharmacy-scope .o2-catalog-card__footer a {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .o2-pharmacy-scope .o2-catalog-card h2 {
    font-size: 16px;
    line-height: 20px;
  }

  .o2-pharmacy-scope .o2-catalog-card__price {
    font-size: 18px;
  }
}

/* O2SKIN pharmacy home journey — 2026-08-31 */
.o2-home-hero { padding: 0 0 22px; }
.o2-home-hero .o2-catalog-trust { margin-top: 14px; }
.o2-catalog-trust a { color: inherit !important; text-decoration: none; }
.o2-home-section { padding: 54px 0; }
.o2-home-section + .o2-home-section { border-top: 1px solid var(--o2-shop-border); }
.o2-home-section__head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:24px; }
.o2-home-section__head p,
.o2-home-routine__copy > p,
.o2-home-consult > div > p { margin:0 0 8px; color:#1673b7; font-size:13px !important; font-weight:600 !important; letter-spacing:.07em; text-transform:uppercase; }
.o2-home-section__head h2,
.o2-home-routine h2,
.o2-home-consult h2 { margin:0; color:var(--o2-shop-navy-deep); font-size:30px !important; font-weight:500 !important; letter-spacing:0 !important; line-height:1.18 !important; }
.o2-home-section__head > a { color:var(--o2-shop-navy); font-size:14px !important; font-weight:500 !important; text-decoration:none; }

.o2-home-offers { padding-top:42px; }
.o2-home-offer-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.o2-home-offer-grid article { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:12px; min-height:92px; padding:18px; border:1px solid var(--o2-shop-border); border-radius:12px; background:#fff; }
.o2-home-offer-grid strong { color:var(--o2-shop-navy); font-size:17px !important; font-weight:600 !important; }
.o2-home-offer-grid span { color:var(--o2-shop-muted); font-size:13px !important; font-weight:400 !important; line-height:1.45; }
.o2-home-offer-grid a,
.o2-home-offer-grid button { padding:8px 12px; border:1px solid #0ea5e9; border-radius:999px; background:#fff; color:#0369a1; font-size:12px !important; font-weight:500 !important; text-decoration:none; cursor:pointer; }
.o2-home-promo-banner { max-width:920px; margin:8px auto 48px; overflow:hidden; border:1px solid var(--o2-shop-border); border-radius:12px; background:#fff; }
.o2-home-promo-banner img { display:block; width:100%; height:auto; }

.o2-home-flash { margin:0 -18px; padding:48px 28px; border-radius:16px; background:linear-gradient(135deg,#18345b,#0f67aa); }
.o2-home-flash .o2-home-section__head p,
.o2-home-flash .o2-home-section__head h2,
.o2-home-flash .o2-home-section__head > a { color:#fff; }
.o2-home-product-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.o2-home-product-card { display:flex; min-width:0; flex-direction:column; overflow:hidden; border:1px solid var(--o2-shop-border); border-radius:14px; background:#fff; }
.o2-home-product-card__image { position:relative; display:block; aspect-ratio:1/1; overflow:hidden; background:#f4f6f8; }
.o2-home-product-card__image img { width:100%; height:100%; object-fit:contain; }
.o2-home-product-card__image > span { position:absolute; top:10px; left:10px; z-index:2; padding:4px 8px; border-radius:6px; background:#ef4444; color:#fff; font-size:12px !important; font-weight:500 !important; }
.o2-home-product-card__body { display:flex; min-height:218px; flex:1; flex-direction:column; padding:14px; }
.o2-home-product-card small { color:#0788cf; font-size:11px !important; font-weight:600 !important; letter-spacing:.05em; text-transform:uppercase; }
.o2-home-product-card h3 { margin:8px 0 12px; font-size:15px !important; font-weight:500 !important; line-height:1.35 !important; }
.o2-home-product-card h3 a { color:var(--o2-shop-navy-deep); text-decoration:none; }
.o2-home-product-card__price { margin-top:auto; color:#ef4444; font-size:17px !important; font-weight:600 !important; }
.o2-home-product-card__price del { color:#9aa2ad; font-size:12px !important; font-weight:400 !important; }
.o2-home-product-card__price ins { text-decoration:none; }
.o2-home-product-card__button { margin-top:12px; padding:10px; border:1px solid #0788cf; border-radius:8px; color:#075ea5; font-size:13px !important; font-weight:500 !important; text-align:center; text-decoration:none; }

.o2-home-need-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.o2-home-need-grid a { display:flex; min-height:150px; flex-direction:column; justify-content:center; padding:18px; border-radius:18px; background:#eaf2fb; color:var(--o2-shop-navy-deep); text-decoration:none; }
.o2-home-need-grid a:nth-child(even) { background:#fff5df; }
.o2-home-need-grid span { width:42px; height:42px; display:grid; place-items:center; margin-bottom:18px; border-radius:12px; background:#fff; color:#0788cf; font-size:13px !important; font-weight:600 !important; }
.o2-home-need-grid strong { font-size:15px !important; font-weight:500 !important; }
.o2-home-need-grid small { margin-top:5px; color:var(--o2-shop-muted); font-size:12px !important; font-weight:400 !important; }

.o2-home-routine { display:grid; grid-template-columns:.9fr 1.1fr; overflow:hidden; margin:42px 0 18px; border-radius:22px; background:var(--o2-shop-navy-deep); }
.o2-home-routine__copy { padding:52px 42px; background:#fff; }
.o2-home-routine__copy h3 { margin:30px 0 12px; color:var(--o2-shop-navy); font-size:24px !important; font-weight:500 !important; line-height:1.3 !important; }
.o2-home-routine__copy > p:not(:first-child) { color:var(--o2-shop-muted); font-size:15px !important; font-weight:400 !important; line-height:1.65; }
.o2-home-routine__copy button,
.o2-home-consult button { margin-top:22px; padding:13px 20px; border:0; border-radius:999px; background:#f4b942; color:#102540; font-size:14px !important; font-weight:600 !important; cursor:pointer; }
.o2-home-routine__products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:24px; background:#eaf2fb; }
.o2-home-routine__products .o2-home-product-card { display:grid; grid-template-columns:92px 1fr; border:0; border-radius:14px; }
.o2-home-routine__products .o2-home-product-card__image { aspect-ratio:1/1; margin:18px 0 18px 16px; border-radius:10px; }
.o2-home-routine__products .o2-home-product-card__image > span,
.o2-home-routine__products .o2-home-product-card__button { display:none; }
.o2-home-routine__products .o2-home-product-card__body { min-height:0; padding:18px 14px; }
.o2-home-routine__products .o2-home-product-card h3 { font-size:13px !important; }
.o2-home-routine__products .o2-home-product-card__price { font-size:14px !important; }

.o2-home-brand-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.o2-home-brand-grid a { display:grid; min-height:88px; place-items:center; border:1px solid var(--o2-shop-border); border-radius:14px; color:var(--o2-shop-navy); font-size:15px !important; font-weight:600 !important; text-decoration:none; text-transform:uppercase; }
.o2-home-knowledge-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.o2-home-knowledge-grid article { overflow:hidden; border:1px solid var(--o2-shop-border); border-radius:16px; background:#fff; }
.o2-home-knowledge-card__image { position:relative; display:block; aspect-ratio:16/9; overflow:hidden; background:linear-gradient(135deg,#bfe5f7,#8dcde8); }
.o2-home-knowledge-card__image img { width:100%; height:100%; object-fit:cover; }
.o2-home-knowledge-card__image span { position:absolute; right:18px; bottom:12px; color:rgba(255,255,255,.82); font-size:42px !important; font-weight:600 !important; }
.o2-home-knowledge-grid article > div { padding:18px; }
.o2-home-knowledge-grid h3 { margin:0; font-size:17px !important; font-weight:500 !important; line-height:1.4 !important; }
.o2-home-knowledge-grid h3 a { color:var(--o2-shop-navy); text-decoration:none; }
.o2-home-knowledge-grid p { margin:8px 0 0; color:var(--o2-shop-muted); font-size:14px !important; font-weight:400 !important; line-height:1.55; }

.o2-home-consult { display:grid; grid-template-columns:1.15fr .85fr; gap:42px; align-items:center; margin:30px -9999px 54px; padding:60px 9999px; background:#eaf2fb; }
.o2-home-consult > div > span { display:block; margin-top:18px; color:var(--o2-shop-muted); font-size:15px !important; font-weight:400 !important; }
.o2-home-consult__card { padding:32px; border-radius:20px; background:#fff; box-shadow:0 18px 40px rgba(16,37,64,.1); }
.o2-home-consult__card h3 { margin:0; color:var(--o2-shop-navy); font-size:24px !important; font-weight:500 !important; }
.o2-home-consult__card p { color:var(--o2-shop-muted); font-size:15px !important; font-weight:400 !important; line-height:1.55; }
.o2-home-consult__card a { display:inline-block; margin-left:16px; color:var(--o2-shop-navy); font-size:14px !important; font-weight:500 !important; text-decoration:none; }
.o2-catalog-layout { margin-top:54px; padding-top:44px; border-top:1px solid var(--o2-shop-border); }

@media (max-width: 1024px) {
  .o2-home-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .o2-home-need-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .o2-home-routine { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
  .o2-home-section { padding:38px 0; }
  .o2-home-section__head { align-items:flex-start; flex-direction:column; margin-bottom:18px; }
  .o2-home-section__head h2,.o2-home-routine h2,.o2-home-consult h2 { font-size:26px !important; }
  .o2-home-offer-grid,.o2-home-product-grid,.o2-home-knowledge-grid { grid-template-columns:1fr; }
  .o2-home-offer-grid article { grid-template-columns:1fr; }
  .o2-home-flash { margin:0 -10px; padding:34px 16px; }
  .o2-home-product-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; }
  .o2-home-product-grid .o2-home-product-card { min-width:78vw; scroll-snap-align:start; }
  .o2-home-need-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .o2-home-need-grid a { min-height:130px; }
  .o2-home-routine__copy { padding:34px 24px; }
  .o2-home-routine__products { grid-template-columns:1fr; padding:16px; }
  .o2-home-brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .o2-home-consult { grid-template-columns:1fr; gap:24px; padding-top:42px; padding-bottom:42px; }
  .o2-home-consult__card a { display:block; margin:16px 0 0; }
}
/* O2SKIN pharmacy sidebar typography aligned with Oriderm — 2026-08-31 */
.o2-pharmacy-scope .o2-catalog-sidebar,
.o2-pharmacy-scope .o2-catalog-sidebar input,
.o2-pharmacy-scope .o2-catalog-sidebar button {
  font-family: "Roboto", Arial, sans-serif;
}

.o2-pharmacy-scope .o2-sidebar-search {
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.o2-pharmacy-scope .o2-sidebar-search input {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.o2-pharmacy-scope .o2-filter-group summary {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.o2-pharmacy-scope .o2-filter-options label,
.o2-pharmacy-scope .o2-filter-options a {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.o2-pharmacy-scope .o2-filter-options label:has(input:checked),
.o2-pharmacy-scope .o2-filter-options a:hover {
  font-weight: 500;
}
/* O2SKIN pharmacy trust bar typography aligned with Oriderm — 2026-08-31 */
.o2-pharmacy-scope .o2-catalog-trust,
.o2-pharmacy-scope .o2-catalog-trust h2,
.o2-pharmacy-scope .o2-catalog-trust h3,
.o2-pharmacy-scope .o2-catalog-trust p,
.o2-pharmacy-scope .o2-catalog-trust span {
  font-family: "Roboto", Arial, sans-serif;
}

.o2-pharmacy-scope .o2-catalog-trust__intro p {
  font-size: 12px;
  font-weight: 500;
}

.o2-pharmacy-scope .o2-catalog-trust__intro h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 22px;
}

.o2-pharmacy-scope .o2-catalog-trust__intro span {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}

.o2-pharmacy-scope .o2-catalog-trust__items h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
}

.o2-pharmacy-scope .o2-catalog-trust__items p {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}
/* O2SKIN pharmacy two-level navigation and Zalo OA — 2026-08-31 */
.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary {
  display:flex; align-items:center; gap:30px; max-width:1320px; min-height:82px;
  margin:0 auto; padding:12px 24px; border-bottom:1px solid var(--o2-shop-border);
  background:#fff !important; background-image:none !important;
}
.o2-pharmacy-scope .nhathuoc-header,
.o2-pharmacy-scope .nhathuoc-header::before,
.o2-pharmacy-scope .nhathuoc-header::after { background:#fff !important; background-image:none !important; }
.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary .o2-pharmacy-logo { margin-right:auto; }
.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary .o2-pharmacy-logo img {
  display:block !important; width:148px !important; max-width:148px !important; height:auto !important;
  max-height:none !important; object-fit:contain;
}
.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__nav { display:flex; align-items:center; justify-content:center; gap:30px; }
.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__nav a {
  color:var(--o2-shop-navy-deep); font-size:16px !important; font-weight:500 !important;
  line-height:1.35; text-decoration:none; white-space:nowrap;
}
.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__nav a:hover,
.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__nav a.is-current { color:#087fc5; }
.o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__consult {
  min-height:46px; padding:0 20px; border:0; border-radius:9px; background:#f1c27d;
  color:var(--o2-shop-navy-deep); font-size:15px !important; font-weight:600 !important;
  cursor:pointer; white-space:nowrap;
}
.o2-pharmacy-scope .nhathuoc-header .header-main { min-height:78px; padding-top:12px; padding-bottom:12px; }
.o2-pharmacy-scope .nhathuoc-header .header-main > .o2-pharmacy-logo { display:none !important; }
.o2-home-consult__zalo { display:flex; align-items:center; gap:18px; margin-top:24px; }
.o2-home-consult__zalo > a { flex:0 0 auto; margin:0 !important; padding:7px; border-radius:14px; background:#fff; box-shadow:0 12px 28px rgba(16,37,64,.1); }
.o2-home-consult__zalo img { display:block; width:112px; height:112px; object-fit:contain; }
.o2-home-consult__zalo > div { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.o2-home-consult__zalo strong { color:var(--o2-shop-navy-deep); font-size:16px !important; font-weight:600 !important; }
.o2-home-consult__zalo span { margin:0 !important; max-width:250px; font-size:14px !important; line-height:1.45; }
.o2-home-consult__zalo > div > a { margin:3px 0 0 !important; color:#087fc5 !important; font-size:14px !important; font-weight:500 !important; text-decoration:none; }
@media (max-width:1100px) {
  .o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary { gap:18px; }
  .o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__nav { gap:18px; overflow-x:auto; scrollbar-width:none; }
  .o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__nav a { font-size:14px !important; }
}
@media (max-width:767px) {
  .o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary { min-height:64px; padding:8px 16px; gap:12px; }
  .o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary .o2-pharmacy-logo { width:112px; flex-basis:112px; }
  .o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary .o2-pharmacy-logo img { width:112px !important; max-width:112px !important; }
  .o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__nav { display:none; }
  .o2-pharmacy-scope .nhathuoc-header .o2-pharmacy-primary__consult { min-height:40px; padding:0 13px; font-size:13px !important; }
  .o2-home-consult__zalo { align-items:flex-start; gap:14px; }
  .o2-home-consult__zalo img { width:96px; height:96px; }
}

/* O2SKIN pharmacy definitive typography system — 2026-08-31 */
@font-face {
  font-family: "O2 Roboto";
  src: url("fonts/Roboto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "O2 Roboto";
  src: url("fonts/Roboto-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "O2 Roboto";
  src: url("fonts/Roboto-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

.o2-pharmacy-scope .o2-catalog-preview,
.o2-pharmacy-scope .o2-catalog-preview h1,
.o2-pharmacy-scope .o2-catalog-preview h2,
.o2-pharmacy-scope .o2-catalog-preview h3,
.o2-pharmacy-scope .o2-catalog-preview h4,
.o2-pharmacy-scope .o2-catalog-preview p,
.o2-pharmacy-scope .o2-catalog-preview span,
.o2-pharmacy-scope .o2-catalog-preview a,
.o2-pharmacy-scope .o2-catalog-preview label,
.o2-pharmacy-scope .o2-catalog-preview summary,
.o2-pharmacy-scope .o2-catalog-preview strong,
.o2-pharmacy-scope .o2-catalog-preview small,
.o2-pharmacy-scope .o2-catalog-preview button,
.o2-pharmacy-scope .o2-catalog-preview input,
.o2-pharmacy-scope .o2-catalog-preview select,
.o2-pharmacy-scope .o2-catalog-preview option {
  font-family: "O2 Roboto", Arial, sans-serif !important;
  font-synthesis: none;
}

.o2-pharmacy-scope .o2-catalog-heading h1,
.o2-pharmacy-scope .o2-catalog-layout .o2-catalog-heading h1 {
  font-size: 28px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}
.o2-pharmacy-scope .o2-catalog-heading p {
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
}
.o2-pharmacy-scope .o2-catalog-heading p strong,
.o2-pharmacy-scope .o2-catalog-heading p span {
  font-size: inherit !important;
  font-weight: 500 !important;
}
.o2-pharmacy-scope .o2-desktop-sort,
.o2-pharmacy-scope .o2-desktop-sort select,
.o2-pharmacy-scope .o2-filter-toggle {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
}

.o2-pharmacy-scope .o2-sidebar-search {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
}
.o2-pharmacy-scope .o2-sidebar-search input {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}
.o2-pharmacy-scope .o2-filter-group summary {
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 20px !important;
}
.o2-pharmacy-scope .o2-filter-options label,
.o2-pharmacy-scope .o2-filter-options a {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}
.o2-pharmacy-scope .o2-filter-options label:has(input:checked),
.o2-pharmacy-scope .o2-filter-options a:hover {
  font-weight: 500 !important;
}

.o2-pharmacy-scope .o2-catalog-card__brand {
  font-size: 14px !important;
  font-weight: 500 !important;
}
.o2-pharmacy-scope .o2-catalog-card h2,
.o2-pharmacy-scope .o2-catalog-layout .o2-catalog-card h2 {
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 20px !important;
}
.o2-pharmacy-scope .o2-catalog-card__excerpt {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
}
.o2-pharmacy-scope .o2-catalog-card__price,
.o2-pharmacy-scope .o2-catalog-layout .o2-catalog-card__price {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
}
.o2-pharmacy-scope .o2-catalog-card__price del {
  font-size: 16px !important;
  font-weight: 400 !important;
}
.o2-pharmacy-scope .o2-catalog-card__stock,
.o2-pharmacy-scope .o2-catalog-card__action,
.o2-pharmacy-scope .o2-catalog-card__footer > span,
.o2-pharmacy-scope .o2-catalog-card__footer a {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.o2-pharmacy-scope .o2-catalog-trust__intro p {
  font-size: 12px !important;
  font-weight: 500 !important;
}
.o2-pharmacy-scope .o2-catalog-trust__intro h2 {
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 22px !important;
}
.o2-pharmacy-scope .o2-catalog-trust__intro span {
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
}
.o2-pharmacy-scope .o2-catalog-trust__items h3 {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
}
.o2-pharmacy-scope .o2-catalog-trust__items p {
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
}
.o2-pharmacy-scope .o2-trust-icon {
  font-weight: 500 !important;
}

.o2-pharmacy-scope .o2-catalog-pagination a,
.o2-pharmacy-scope .o2-catalog-pagination span,
.o2-pharmacy-scope [data-o2-load-more] {
  font-size: 15px !important;
  font-weight: 500 !important;
}

@media (max-width: 768px) {
  .o2-pharmacy-scope .o2-catalog-heading h1,
  .o2-pharmacy-scope .o2-catalog-layout .o2-catalog-heading h1 {
    font-size: 26px !important;
  }
}
