/* Theme-owned product/home components.  This file is intentionally separate
 * from the legacy ADCC hotfix bundle so it remains stable during migrations. */

/* Compact featured-category cards: two rows of six on desktop.  The media sits
 * beside the label/count so long Vietnamese names keep their full line box. */
body.home .adcc-personalized-featured-categories .adcc-container {
  padding: 16px 16px 18px !important;
}
body.home .adcc-personalized-featured-categories .adcc-section-heading {
  margin-bottom: 12px !important;
}
body.home .adcc-personalized-featured-categories .adcc-section-heading h2 {
  font-size: 22px !important;
  line-height: 1.25 !important;
}
body.home .adcc-personalized-featured-categories .adcc-category-grid {
  gap: 10px !important;
}
body.home .adcc-personalized-featured-categories .adcc-category-card {
  align-content: center !important;
  align-items: center !important;
  column-gap: 10px !important;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  height: 88px !important;
  min-height: 88px !important;
  overflow: hidden !important;
  padding: 9px 11px !important;
  row-gap: 2px !important;
  text-align: left !important;
}
body.home .adcc-personalized-featured-categories .adcc-category-card img,
body.home .adcc-personalized-featured-categories .adcc-featured-category-image {
  align-self: center !important;
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  height: 48px !important;
  margin: 0 !important;
  object-fit: contain !important;
  width: 48px !important;
}
body.home .adcc-personalized-featured-categories .adcc-category-card strong {
  display: -webkit-box;
  font-size: 15px !important;
  line-height: 1.28 !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  max-height: 40px;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden;
  text-align: left !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.home .adcc-personalized-featured-categories .adcc-category-card small {
  font-size: 12px !important;
  grid-column: 2 !important;
  grid-row: 2 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  min-width: 0 !important;
  text-align: left !important;
}

/* The recommendation cards use a square media frame and an uncropped source. */
body.home .adcc-smart-personalized .adcc-product-media {
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  padding: 8px !important;
}
body.home .adcc-smart-personalized .adcc-product-media img {
  height: 100% !important;
  inset: 0 !important;
  margin: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  position: absolute !important;
  width: 100% !important;
}

/* Keep the complete product media rail (main image, thumbnails and the
 * publication-document action) in view while the summary column is being
 * read.  The column remains bounded by .product-main, so it releases at the
 * bottom of the opening product panel instead of floating over the content. */
@media (min-width: 1024px) {
  body.single-product .product-main > .row {
    align-items: flex-start;
    overflow: visible;
  }
  body.single-product .product-main > .row > .large-6.col:first-child {
    align-self: flex-start;
    height: max-content;
    position: sticky !important;
    top: 12px;
    z-index: 4;
  }
}

/* Product purchase quantity: its own full-width row above the three actions. */
body.single-product .anduc-product-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.single-product .anduc-quantity-choice {
  align-items: center;
  border: 1px solid #d6e1df;
  border-radius: 9px;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  height: 54px;
  grid-column: 1 / -1;
  justify-content: flex-start;
  min-width: 0;
  padding: 0 9px 0 13px;
  width: 100%;
}
body.single-product .anduc-quantity-choice-label {
  color: #314b46;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  margin-right: 14px;
  white-space: nowrap;
}
body.single-product .anduc-quantity-choice > .quantity {
  align-items: stretch;
  border: 1px solid #c9d5d3;
  border-radius: 999px !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  height: 38px !important;
  margin: 0 !important;
  overflow: hidden;
}
body.single-product .anduc-quantity-choice > .quantity .button,
body.single-product .anduc-quantity-choice > .quantity .qty {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 36px !important;
  line-height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
}
body.single-product .anduc-quantity-choice > .quantity .button {
  color: #70817d !important;
  width: 34px !important;
}
body.single-product .anduc-quantity-choice > .quantity .qty {
  border-left: 1px solid #d6dfdd !important;
  border-right: 1px solid #d6dfdd !important;
  color: #172522 !important;
  font-size: 16px !important;
  width: 42px !important;
}

/* Visible variation choices. The native selects stay in the DOM so
 * WooCommerce keeps calculating price, stock and the selected variation. */
body.single-product form.variations_form table.variations {
  border: 0 !important;
  margin: 0 0 10px !important;
}
body.single-product form.variations_form table.variations tr {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(132px, auto) minmax(0, 1fr);
  padding: 6px 0;
}
body.single-product form.variations_form table.variations th,
body.single-product form.variations_form table.variations td {
  border: 0 !important;
  display: block !important;
  padding: 0 !important;
}
body.single-product form.variations_form table.variations th.label label {
  color: #314b46;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}
body.single-product form.variations_form table.variations th.label label::before {
  content: "Chọn ";
}
body.single-product form.variations_form table.variations td.value > select {
  height: 1px !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 1px !important;
}
body.single-product form.variations_form table.variations .reset_variations {
  display: none !important;
}
body.single-product .anduc-variation-options {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
body.single-product .anduc-variation-option {
  appearance: none;
  background: #fff;
  border: 1px solid #d7e1df;
  border-radius: 999px;
  box-shadow: none;
  color: #17342e;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  min-height: 40px;
  padding: 8px 17px;
  text-transform: none;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, background-color .18s ease;
}
body.single-product .anduc-variation-option:hover {
  border-color: #1769ff;
  color: #075ee8;
}
body.single-product .anduc-variation-option.is-selected {
  background: #fff;
  border-color: #1769ff;
  box-shadow: inset 0 0 0 1px #1769ff;
  color: #17342e;
}
body.single-product .anduc-variation-option:disabled {
  background: #f3f6f5;
  border-color: #e3e9e7;
  color: #9aa7a4;
  cursor: not-allowed;
  opacity: .72;
}

/* Limit product thumbnails without removing images from the existing lightbox. */
body.single-product .product-thumbnails.anduc-gallery-limited {
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
}
body.single-product .product-thumbnails.anduc-gallery-limited:not(.flickity-enabled) {
  align-items: stretch;
  display: grid !important;
  gap: 10px;
  grid-template-columns: repeat(var(--anduc-gallery-visible, 6), minmax(0, 1fr));
}
body.single-product .product-thumbnails.anduc-gallery-limited.flickity-enabled .flickity-viewport {
  height: auto !important;
  overflow: hidden !important;
  width: 100% !important;
}
body.single-product .product-thumbnails.anduc-gallery-limited.flickity-enabled .flickity-slider {
  display: grid !important;
  gap: 10px;
  grid-template-columns: repeat(var(--anduc-gallery-visible, 6), minmax(0, 1fr));
  left: auto !important;
  position: relative !important;
  transform: none !important;
  width: 100% !important;
}
body.single-product .product-thumbnails.anduc-gallery-limited .col {
  aspect-ratio: 1 / 1;
  flex: none !important;
  height: auto !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  left: auto !important;
  position: relative !important;
  transform: none !important;
  width: auto !important;
}
body.single-product .product-thumbnails.anduc-gallery-limited .col a {
  height: 100% !important;
  width: 100% !important;
}
body.single-product .product-thumbnails.anduc-gallery-limited .col img {
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  width: 100% !important;
}
body.single-product .product-thumbnails.anduc-gallery-limited .anduc-gallery-thumb-hidden {
  display: none !important;
}
body.single-product .product-thumbnails .anduc-gallery-more[hidden] {
  display: none !important;
}
body.single-product .product-thumbnails .anduc-gallery-more {
  border: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
}
body.single-product .anduc-gallery-more-button {
  align-items: center;
  background: #fff;
  border: 1px solid #d8e1df;
  border-radius: 9px;
  color: #40504d;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  height: 100%;
  justify-content: center;
  line-height: 1.2;
  margin: 0;
  padding: 5px;
  text-transform: none;
  width: 100%;
}
body.single-product .anduc-gallery-more-button:hover {
  border-color: #0a887a;
  color: #08786d;
}
body.single-product .anduc-gallery-more-button svg {
  fill: currentColor;
  height: 17px;
  margin-bottom: 3px;
  width: 17px;
}
body.single-product .anduc-gallery-more-button strong {
  color: inherit;
  font-size: inherit;
  font-weight: 700;
}

@media (max-width: 767px) {
  body.single-product .product-summary .anduc-purchase-layout form.variations_form,
  body.single-product .product-summary .adcc-purchase-layout form.variations_form {
    grid-column: 1 / -1;
    width: 100% !important;
  }
  body.single-product form.variations_form table.variations {
    table-layout: fixed !important;
    width: 100% !important;
  }
  body.single-product .anduc-product-actions {
    grid-template-columns: 1fr;
  }
  body.single-product .anduc-quantity-choice {
    border: 0;
    border-radius: 0;
    height: 42px;
    padding: 0;
  }
  body.single-product .anduc-quantity-choice-label {
    font-size: 15px;
    font-weight: 500;
    margin-right: 12px;
  }
  body.single-product .product-thumbnails.anduc-gallery-limited {
    gap: 7px;
  }
  body.single-product .product-thumbnails.anduc-gallery-limited.flickity-enabled .flickity-slider {
    gap: 7px;
  }
  body.single-product .product-thumbnails.anduc-gallery-limited .col {
    height: auto !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }
  body.single-product .product-thumbnails.anduc-gallery-limited .col:not(.anduc-gallery-more) {
    aspect-ratio: 1 / 1;
  }
  body.single-product .product-thumbnails .anduc-gallery-more,
  body.single-product .anduc-gallery-more-button {
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
  }
  body.single-product .anduc-gallery-more-button {
    aspect-ratio: 1 / 1;
    font-size: 12px;
    padding: 3px;
  }
  body.single-product form.variations_form table.variations tr {
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 5px 0 8px;
  }
  body.single-product form.variations_form table.variations th,
  body.single-product form.variations_form table.variations td {
    max-width: none !important;
    width: 100% !important;
  }
  body.single-product form.variations_form table.variations th.label label {
    font-size: 15px;
  }
  body.single-product .anduc-variation-options { gap: 8px; }
  body.single-product .anduc-variation-option {
    font-size: 14px;
    min-height: 38px;
    padding: 7px 14px;
  }
}

/* Search suggestions live next to the submit button inside the header search
 * wrapper. Legacy header rules size every descendant button as the 42/48px
 * search icon, so explicitly restore full-width rows for history/keywords. */
body.anduc-storefront .adcc-site-header .adcc-header-search .anduc-search-suggestions .anduc-search-history button,
body.anduc-storefront .adcc-site-header.is-mobile-compact .adcc-header-search .anduc-search-suggestions .anduc-search-history button {
  display: grid !important;
  height: auto !important;
  inset: auto !important;
  justify-content: stretch !important;
  line-height: 1.35 !important;
  max-width: none !important;
  min-height: 36px !important;
  min-width: 0 !important;
  padding: 7px 10px !important;
  position: static !important;
  text-align: left !important;
  width: 100% !important;
}

/* Related products: button-controlled desktop carousel, touch carousel on
 * mobile. Horizontal wheel scrolling is deliberately not enabled. */
body.single-product .anduc-related-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}
body.single-product .anduc-product-related h2 {
  margin: 0 !important;
}
.anduc-carousel-controls {
  display: flex;
  gap: 8px;
}
.anduc-carousel-button {
  align-items: center;
  background: #0f766e;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 34px;
}
.anduc-carousel-button:disabled {
  cursor: default;
  opacity: .35;
}
.anduc-product-related-scroll {
  overflow-x: hidden !important;
  scrollbar-width: none;
}
.anduc-product-related-scroll::-webkit-scrollbar { display: none; }
.anduc-product-related-card {
  flex-basis: calc((100% - 48px) / 5) !important;
  min-width: 0 !important;
  padding: 9px !important;
}
.anduc-product-related-image {
  aspect-ratio: auto !important;
  height: 150px !important;
}
.anduc-product-related-image img {
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}
.anduc-product-related-card h3 {
  display: -webkit-box;
  font-size: 14px !important;
  line-height: 1.35 !important;
  margin: 5px 0 8px !important;
  max-height: calc(1.35em * 3);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
body.single-product .wc-tabs .additional_information_tab,
body.single-product .woocommerce-Tabs-panel--additional_information,
body.single-product .wc-tabs .ux_global_tab_tab,
body.single-product #tab-title-ux_global_tab,
body.single-product #tab-ux_global_tab {
  display: none !important;
}

.adcc-product-document-actions {
  align-items: stretch;
  border-bottom: 1px solid #dceae6;
  border-top: 1px solid #dceae6;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0 0;
  padding: 0;
  width: 100%;
}
.adcc-product-document-actions-1 {
  grid-template-columns: minmax(0, 1fr);
}
.adcc-product-document-actions .adcc-publication-action {
  align-items: center;
  border: 0 !important;
  display: flex;
  height: auto !important;
  justify-content: center;
  margin: 0 !important;
  min-height: 48px !important;
  padding: 8px 12px !important;
  text-align: center;
}
.adcc-product-document-actions-2 .adcc-publication-action + .adcc-publication-action {
  border-left: 1px solid #dceae6 !important;
}
.adcc-publication-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #075ee8;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  padding: 2px 0;
  text-decoration: none;
}
.adcc-product-document-actions .adcc-publication-button {
  display: inline-flex !important;
  height: auto !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 2px 0 !important;
  width: auto !important;
}
.adcc-publication-button:hover { color: #064bb8; text-decoration: underline; }
.adcc-publication-modal[hidden] { display: none !important; }
.adcc-publication-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 22px;
  position: fixed;
  z-index: 1000000;
}
.adcc-publication-backdrop {
  background: rgba(7, 28, 25, .72);
  inset: 0;
  position: absolute;
}
.adcc-publication-dialog {
  align-items: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
  display: flex;
  justify-content: center;
  max-height: calc(100vh - 44px);
  max-width: min(920px, calc(100vw - 44px));
  min-height: 180px;
  overflow: auto;
  padding: 18px;
  position: relative;
  width: auto;
  z-index: 1;
}
.adcc-publication-dialog img {
  display: block;
  height: auto;
  max-height: calc(100vh - 80px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}
.adcc-publication-close {
  align-items: center;
  background: #fff;
  border: 1px solid #d7e4e0;
  border-radius: 50%;
  color: #17342e;
  cursor: pointer;
  display: flex;
  font-size: 27px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  z-index: 2;
}
body.anduc-publication-open { overflow: hidden !important; }

/* Header search suggestions. The panel is anchored to the search container,
 * so it can never become wider than the search input on either breakpoint. */
.adcc-header-search { position: relative; }
.anduc-search-suggestions[hidden] { display: none !important; }
.anduc-search-suggestions {
  background: #fff;
  border: 1px solid #d7e6e2;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(20, 63, 56, .18);
  box-sizing: border-box;
  left: 0;
  max-height: min(610px, calc(100vh - 110px));
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px;
  position: absolute;
  right: 0;
  top: 54px;
  width: 100%;
  z-index: 10050;
}
.anduc-search-suggest-heading {
  align-items: center;
  color: #17342e;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: space-between;
  margin: 2px 2px 8px;
}
.anduc-search-clear-history {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #0f766e !important;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  min-height: 28px;
  padding: 2px 4px !important;
  text-transform: none;
}
.anduc-search-clear-history:hover,
.anduc-search-clear-history:focus-visible { color: #0a5b55 !important; text-decoration: underline; }
.anduc-search-suggest-heading:not(:first-child) { margin-top: 12px; }
.anduc-search-history { display: grid; gap: 2px; }
.anduc-search-history button {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px;
  box-shadow: none !important;
  color: #375d56 !important;
  cursor: pointer;
  display: grid !important;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
  grid-template-columns: 18px minmax(0, 1fr);
  height: auto !important;
  min-height: 34px !important;
  min-width: 0 !important;
  padding: 6px 8px !important;
  text-align: left;
  text-transform: none;
  width: 100% !important;
}
.anduc-search-history button:hover,
.anduc-search-history button:focus-visible { background: #eef8f5 !important; color: #0f766e !important; }
.anduc-search-keywords {
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px !important;
  max-height: 76px;
  margin: 0 0 6px !important;
  overflow: hidden;
  padding: 0 !important;
}
.anduc-search-keywords > .anduc-search-keyword {
  align-items: center;
  background: #fff !important;
  border: 1px solid #d7e6e2 !important;
  border-left-width: 1px !important;
  border-right-width: 1px !important;
  border-top-width: 1px !important;
  border-bottom-width: 1px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  clip-path: none !important;
  color: #17342e !important;
  cursor: pointer;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: 14px;
  font-weight: 500;
  gap: 0;
  line-height: 1.35;
  height: auto !important;
  min-height: 34px !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  padding: 6px 12px !important;
  position: relative !important;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  width: auto !important;
}
.anduc-search-keywords > .anduc-search-keyword::before,
.anduc-search-keywords > .anduc-search-keyword::after {
  content: none !important;
  display: none !important;
}
.anduc-search-keywords > .anduc-search-keyword + .anduc-search-keyword {
  border-left-width: 1px !important;
  margin-left: 0 !important;
}
.anduc-search-keywords .anduc-search-keyword > span:last-child,
.anduc-search-history button > span:last-child { display: block; min-width: 0; width: auto; }
.anduc-search-keywords .anduc-search-keyword .dashicons { display: none; }
.anduc-search-keywords > .anduc-search-keyword:hover,
.anduc-search-keywords > .anduc-search-keyword:focus-visible { background: #eef8f5 !important; color: #0f766e !important; text-decoration: none; }
.anduc-search-product-list {
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  display: grid;
  gap: 7px;
  margin-top: 0;
  padding-top: 0;
}
.anduc-search-product {
  align-items: center;
  background: #fff;
  border: 1px solid #e0ebe8;
  border-radius: 10px;
  color: #17342e;
  display: grid;
  gap: 10px;
  grid-template-columns: 66px minmax(0, 1fr);
  min-width: 0;
  padding: 7px;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.anduc-search-product:hover,
.anduc-search-product:focus-visible { background: #f5fbf9; border-color: #7fc8ba; color: #0f766e; transform: translateY(-1px); }
.anduc-search-product > img {
  background: #fff;
  border-radius: 8px;
  height: 58px;
  object-fit: contain;
  width: 66px;
}
.anduc-search-product-copy { display: block; min-width: 0; }
.anduc-search-product-copy > strong {
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.anduc-search-product-price { color: #e32636; display: block; font-size: 14px; font-weight: 800; margin-top: 4px; }
.anduc-search-product-price del { color: #8a9995; font-size: 12px; font-weight: 400; margin-right: 5px; }
.anduc-search-view-all {
  align-items: center;
  background: #0f766e;
  border-radius: 9px;
  color: #fff !important;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  margin-top: 10px;
  min-height: 40px;
  padding: 8px 14px;
  text-decoration: none;
}
.anduc-search-view-all:hover,
.anduc-search-view-all:focus-visible { background: #0a5b55; color: #fff !important; }
.anduc-search-skeleton { display: grid; gap: 9px; padding: 2px; }
.anduc-search-skeleton > span,
.anduc-search-skeleton > i {
  animation: anducSearchShimmer 1.15s linear infinite;
  background: linear-gradient(100deg, #edf1f0 20%, #f8faf9 38%, #edf1f0 56%);
  background-size: 220% 100%;
  border-radius: 8px;
  display: block;
}
.anduc-search-skeleton > span { height: 20px; width: 64%; }
.anduc-search-skeleton > span:nth-child(2) { width: 48%; }
.anduc-search-skeleton > span:nth-child(3) { width: 56%; }
.anduc-search-skeleton > i { height: 74px; width: 100%; }
@keyframes anducSearchShimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}
.anduc-search-loading,
.anduc-search-empty { color: #61736f; font-size: 14px; margin: 0; padding: 12px 8px; text-align: center; }

@media (max-width: 767px) {
  .anduc-search-suggestions { border-radius: 12px; max-height: calc(100vh - 92px); padding: 10px; top: 48px; }
  .anduc-search-product { grid-template-columns: 58px minmax(0, 1fr); }
  .anduc-search-product > img { height: 54px; width: 58px; }
  .anduc-search-product-copy > strong { font-size: 13px; }
}

/* FAQ inside product descriptions and health articles. Content stays in the
 * editor as ordinary headings/paragraphs; the frontend progressively turns
 * it into an accessible accordion. */
.anduc-faq-list {
  border-bottom: 1px solid #dce7e4;
  margin: 8px 0 18px;
}
.anduc-faq-item {
  border-top: 1px solid #dce7e4;
  margin: 0 !important;
}
.anduc-faq-question {
  align-items: center;
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #17342e !important;
  cursor: pointer;
  display: grid;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  line-height: 1.45;
  min-height: 58px;
  padding: 13px 4px !important;
  text-align: left;
  text-transform: none;
  width: 100%;
}
.anduc-faq-question:hover,
.anduc-faq-question:focus-visible { color: #0f766e !important; }
.anduc-faq-question-mark {
  align-items: center;
  background: #6b7c89;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  height: 22px;
  justify-content: center;
  width: 22px;
}
.anduc-faq-question-text { min-width: 0; }
.anduc-faq-chevron {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
  height: 9px;
  justify-self: center;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s ease;
  width: 9px;
}
.anduc-faq-item.is-open .anduc-faq-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.anduc-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .28s ease, opacity .2s ease;
}
.anduc-faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}
.anduc-faq-answer-inner > :first-child { margin-top: 0; }
.anduc-faq-answer-inner > :last-child { margin-bottom: 0; }
.anduc-faq-item.is-open .anduc-faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}
.anduc-faq-item.is-open .anduc-faq-answer-inner { padding: 0 36px 16px 38px; }

@media (max-width: 767px) {
  .anduc-faq-question { font-size: 15px; gap: 8px; grid-template-columns: 22px minmax(0, 1fr) 16px; min-height: 52px; padding: 11px 2px !important; }
  .anduc-faq-item.is-open .anduc-faq-answer-inner { padding: 0 4px 14px 30px; }
}

/* Close the description frame on every edge. The former theme styling only
 * drew a faint top rule, which looked like a cut at the start of long copy. */
body.single-product .woocommerce-tabs.wc-tabs-wrapper {
  border: 1px solid #d7e6e2 !important;
  border-radius: 14px;
  box-sizing: border-box;
  margin-top: 18px !important;
  overflow: visible;
  padding: 16px !important;
}

/* Long-Châu-like quick table of contents, desktop only. */
.anduc-description-layout,
.anduc-article-layout { display: block; }
.anduc-quick-toc { display: none; }
@media (min-width: 1024px) {
  .anduc-description-layout,
  .anduc-article-layout {
    align-items: start;
    display: grid;
    gap: 20px;
    grid-template-columns: 238px minmax(0, 1fr);
  }
  .anduc-quick-toc {
    background: #f5faf8;
    border: 1px solid #d7e9e3;
    border-radius: 12px;
    display: block;
    height: max-content;
    max-height: none;
    overflow: visible;
    padding: 14px 14px 12px;
    position: sticky;
    top: 0;
    align-self: start;
  }
  .anduc-quick-toc-title {
    color: #17342e;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
  }
  .anduc-quick-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .anduc-quick-toc li + li { border-top: 1px solid #e4efeb; }
  .anduc-quick-toc a {
    color: #315f56;
    display: block;
    font-size: 14px;
    line-height: 1.35;
    padding: 8px 0;
    text-decoration: none;
  }
  .anduc-quick-toc a:hover,
  .anduc-quick-toc a.is-active { color: #0f766e; font-weight: 700; }
  .anduc-description-content h1,
  .anduc-description-content h2,
  .anduc-description-content h3,
  .anduc-article-content h1,
  .anduc-article-content h2,
  .anduc-article-content h3 {
    scroll-margin-top: 0;
  }
}

@media (max-width: 767px) {
  /* The publication action lives below the registration row on mobile, so it
     cannot be squeezed into the narrow value column of the metadata table. */
  body.adcc-component-product-summary.single-product .adcc-pharma-summary .adcc-publication-action {
    padding: 10px 14px 14px;
  }
  body.adcc-component-product-summary.single-product .adcc-pharma-summary .adcc-publication-action .adcc-publication-button {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 42px;
    width: 100%;
  }
  body.single-product .adcc-product-document-actions {
    grid-template-columns: 1fr;
    margin-top: 10px;
  }
  body.single-product .adcc-product-document-actions-2 .adcc-publication-action + .adcc-publication-action {
    border-left: 0 !important;
    border-top: 1px solid #dceae6 !important;
  }
  body.single-product .woocommerce-tabs.wc-tabs-wrapper {
    border-radius: 11px;
    margin-top: 12px !important;
    padding: 10px !important;
  }
  .adcc-publication-modal { padding: 12px; }
  .adcc-publication-dialog {
    max-height: calc(100vh - 24px);
    max-width: calc(100vw - 24px);
    padding: 12px;
  }
  .adcc-publication-dialog img { max-height: calc(100vh - 48px); }
  body.home .adcc-personalized-featured-categories .adcc-container {
    padding: 14px 10px 16px !important;
  }
  body.home .adcc-personalized-featured-categories .adcc-category-grid {
    grid-template-rows: repeat(2, 88px) !important;
  }
  body.home .adcc-personalized-featured-categories .adcc-category-card {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    height: 88px !important;
    min-height: 88px !important;
    padding: 8px 10px !important;
  }
  body.home .adcc-personalized-featured-categories .adcc-category-card img,
  body.home .adcc-personalized-featured-categories .adcc-featured-category-image {
    height: 44px !important;
    width: 44px !important;
  }
  body.home .adcc-personalized-featured-categories .adcc-category-card strong {
    font-size: 14px !important;
  }
  body.home .adcc-personalized-featured-categories .adcc-category-card small {
    font-size: 12px !important;
  }
  .anduc-carousel-controls { display: none; }
  .anduc-product-related-scroll {
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
  }
  .anduc-product-related-card {
    flex-basis: calc((100% - 10px) / 2) !important;
  }
  .anduc-product-related-image { height: 120px !important; }
}

/* Complete policy pages and full-width business disclosure. */
.anduc-policy-page {
  color: #183b35;
  font-size: 16px;
  line-height: 1.72;
  margin: 0 auto;
  max-width: 1160px;
}

/* Policy pages render their own complete hero; suppress the legacy theme excerpt above it. */
body.page-id-3 .page-header-excerpt,
body.page-id-2734 .page-header-excerpt,
body.page-id-2738 .page-header-excerpt,
body.page-id-1278 .page-header-excerpt,
body.page-id-1246 .page-header-excerpt,
body.page-id-1260 .page-header-excerpt {
    display: none !important;
}
body.page-id-1273 .page-header-excerpt,
body.page-id-1250 .page-header-excerpt,
body.page-id-336 .page-header-excerpt {
    display: none !important;
}
.anduc-policy-page * { box-sizing: border-box; }
.anduc-policy-hero {
  background: linear-gradient(135deg, #075f57 0%, #0d8b7d 62%, #16a394 100%);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(6, 78, 70, .12);
  color: #fff;
  margin-bottom: 24px;
  overflow: hidden;
  padding: 34px 38px 32px;
  position: relative;
}
.anduc-policy-hero::after {
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
  height: 240px;
  position: absolute;
  right: -72px;
  top: -112px;
  width: 240px;
}
.anduc-policy-eyebrow {
  color: #c9fff4;
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.anduc-policy-hero h1 {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
  margin: 0 0 14px;
  max-width: 820px;
  position: relative;
  z-index: 1;
}
.anduc-policy-hero p {
  color: rgba(255,255,255,.92);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.anduc-policy-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 250px minmax(0, 1fr);
}
.anduc-policy-sidebar {
  min-width: 0;
  position: sticky;
  top: 12px;
}
.anduc-policy-directory,
.anduc-policy-toc {
  background: #eff9f6;
  border: 1px solid #cfe7e0;
  border-radius: 16px;
  padding: 18px;
}
.anduc-policy-directory {
  background: #fff;
  box-shadow: 0 7px 22px rgba(22, 72, 64, .045);
  margin-bottom: 14px;
  padding: 10px 0;
}
.anduc-policy-directory strong,
.anduc-policy-toc strong {
  color: #075f57;
  display: block;
  font-size: 17px;
  margin-bottom: 10px;
}
.anduc-policy-directory strong { padding: 8px 18px 4px; }
.anduc-policy-directory ul,
.anduc-policy-toc ol { list-style: none; margin: 0; padding: 0; }
.anduc-policy-directory li + li,
.anduc-policy-toc li + li { border-top: 1px solid #d8ebe6; }
.anduc-policy-directory a {
  color: #234941;
  display: block;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  padding: 11px 18px;
  position: relative;
  text-decoration: none;
}
.anduc-policy-directory a::after {
  color: #75928c;
  content: "›";
  font-size: 20px;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 11px;
}
.anduc-policy-directory a:hover { background: #eff9f6; color: #08786d; }
.anduc-policy-directory a.is-active {
  background: #dff5ef;
  color: #075f57;
  font-weight: 800;
}
.anduc-policy-toc a {
  color: #315f57;
  display: block;
  font-size: 14px;
  line-height: 1.45;
  padding: 9px 0;
  text-decoration: none;
}
.anduc-policy-toc a:hover { color: #0a887a; font-weight: 700; }
.anduc-policy-main { min-width: 0; }
.anduc-policy-section {
  background: #fff;
  border: 1px solid #dceae6;
  border-radius: 16px;
  box-shadow: 0 7px 22px rgba(22, 72, 64, .045);
  margin-bottom: 18px;
  padding: 24px 26px;
  scroll-margin-top: 12px;
}
.anduc-policy-section h2 {
  align-items: flex-start;
  color: #075f57;
  display: flex;
  font-size: 22px;
  gap: 11px;
  line-height: 1.4;
  margin: 0 0 14px;
}
.anduc-policy-section h2 > span {
  align-items: center;
  background: #dff5ef;
  border-radius: 8px;
  color: #08786d;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 13px;
  height: 30px;
  justify-content: center;
  margin-top: 1px;
}
.anduc-policy-section h3 {
  color: #183b35;
  font-size: 18px;
  line-height: 1.45;
  margin: 20px 0 8px;
}
.anduc-policy-section p { margin: 0 0 12px; }
.anduc-policy-section p:last-child { margin-bottom: 0; }
.anduc-policy-section ul,
.anduc-policy-section ol { margin: 8px 0 14px 22px; }
.anduc-policy-section li { margin: 6px 0; }
.anduc-policy-note {
  background: #eff9f6;
  border: 1px solid #cfe7e0;
  border-left: 4px solid #0a887a;
  border-radius: 12px;
  margin: 16px 0;
  padding: 14px 16px;
}
.anduc-policy-note.is-warning {
  background: #fff8e8;
  border-color: #f5d68d;
  border-left-color: #e5a21a;
}
.anduc-policy-note strong { color: #075f57; }
.anduc-policy-table-wrap {
  border: 1px solid #d7e9e4;
  border-radius: 12px;
  margin: 14px 0;
  overflow-x: auto;
}
.anduc-policy-table {
  border: 0;
  border-collapse: collapse;
  margin: 0;
  min-width: 640px;
  width: 100%;
}
.anduc-policy-table th,
.anduc-policy-table td {
  border: 0;
  border-bottom: 1px solid #e3efeb;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.anduc-policy-table th { background: #eff9f6; color: #075f57; font-weight: 700; }
.anduc-policy-table tr:last-child td { border-bottom: 0; }
.anduc-policy-meta {
  color: #617a74;
  font-size: 14px;
  margin: 22px 2px 0;
}
.anduc-order-choice-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}
.anduc-order-choice-grid article {
  background: #eff9f6;
  border: 1px solid #cfe7e0;
  border-radius: 13px;
  padding: 16px;
}
.anduc-order-choice-grid h3 { color: #075f57; margin: 0 0 7px; }
.anduc-contact-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0 22px;
}
.anduc-contact-card {
  background: #f5fbf9;
  border: 1px solid #d7e9e4;
  border-radius: 12px;
  min-width: 0;
  padding: 14px 16px;
}
.anduc-contact-card.is-wide { grid-column: 1 / -1; }
.anduc-contact-card span {
  color: #648079;
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.anduc-contact-card strong { color: #173f38; overflow-wrap: anywhere; }
.anduc-brand-directory {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}
.anduc-brand-card {
  align-items: center;
  background: #fff;
  border: 1px solid #d7e9e4;
  border-radius: 13px;
  color: #183b35;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 12px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.anduc-brand-card:hover {
  border-color: #79bfb3;
  box-shadow: 0 8px 20px rgba(8, 102, 90, .09);
  color: #075f57;
  transform: translateY(-1px);
}
.anduc-brand-initial {
  align-items: center;
  background: linear-gradient(135deg, #dff5ef, #ecf7ff);
  border-radius: 12px;
  color: #08786d;
  display: inline-flex;
  font-size: 20px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  width: 48px;
}
.anduc-brand-copy { min-width: 0; }
.anduc-brand-copy strong { display: block; font-size: 16px; line-height: 1.35; }
.anduc-brand-copy small { color: #6b827d; display: block; font-size: 13px; margin-top: 3px; }
.anduc-brand-arrow { color: #6b9088; font-size: 24px; }
.adcc-footer-brand-summary {
  color: #486961;
  font-size: 14px;
  line-height: 1.55;
  margin: 12px 0 0;
  max-width: 260px;
}
.adcc-site-footer .adcc-footer-logo {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.adcc-site-footer .adcc-footer-column > a,
.adcc-site-footer .adcc-footer-disclaimer p,
.adcc-site-footer .adcc-footer-contact,
.adcc-site-footer .adcc-footer-business-line,
.adcc-site-footer .adcc-footer-bottom span {
  font-size: 14px;
}
.adcc-site-footer .adcc-footer-column h3 {
  font-size: 16px;
  line-height: 1.35;
}
.adcc-footer-disclaimer-link {
  align-items: center;
  background: #ffffff;
  border: 1px solid #b9dad2;
  border-radius: 999px;
  color: #08786d !important;
  display: inline-flex !important;
  font-weight: 700;
  justify-content: center;
  margin-top: 12px !important;
  min-height: 36px;
  padding: 7px 16px;
  width: fit-content;
}
.adcc-footer-disclaimer-link:hover {
  background: #08786d;
  border-color: #08786d;
  color: #ffffff !important;
}
.adcc-footer-business-line {
  border-top: 1px solid #cbe2dc;
  color: #486961;
  line-height: 1.65;
  margin: 26px 0 0;
  padding: 16px 0 14px;
  text-align: center;
  width: 100%;
}
.adcc-footer-business-line strong { color: #17342e; }
.adcc-footer-bottom {
  justify-content: center;
  margin-top: 0;
  text-align: center;
}
@media (max-width: 900px) {
  .anduc-policy-layout { grid-template-columns: 1fr; }
  .anduc-policy-sidebar { position: static; }
  .anduc-policy-directory ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anduc-policy-directory li:nth-child(2) { border-top: 0; }
  .anduc-policy-toc ol { display: grid; gap: 0 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anduc-order-choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .anduc-policy-page { font-size: 15px; line-height: 1.65; }
  .anduc-policy-hero { border-radius: 16px; padding: 24px 20px; }
  .anduc-policy-hero h1 { font-size: 28px; }
  .anduc-policy-hero p { font-size: 15px; }
  .anduc-policy-directory,
  .anduc-policy-toc { border-radius: 14px; padding: 14px 16px; }
  .anduc-policy-directory { padding: 8px 0; }
  .anduc-policy-directory strong { padding: 7px 14px 3px; }
  .anduc-policy-directory ul { display: block; }
  .anduc-policy-directory li:nth-child(2) { border-top: 1px solid #d8ebe6; }
  .anduc-policy-directory a { padding-left: 14px; padding-right: 32px; }
  .anduc-policy-toc ol { display: block; }
  .anduc-policy-section { border-radius: 14px; padding: 19px 17px; }
  .anduc-policy-section h2 { font-size: 20px; }
  .anduc-policy-section h3 { font-size: 17px; }
  .anduc-contact-grid,
  .anduc-brand-directory { grid-template-columns: 1fr; }
  .anduc-contact-card.is-wide { grid-column: auto; }
  .adcc-footer-business-line { font-size: 14px; line-height: 1.7; }
}

/* About page ------------------------------------------------------------- */
.anduc-about-page {
  color: #17342e;
  font-size: 16px;
  line-height: 1.7;
  margin: 22px auto 54px;
  max-width: 1280px;
  padding: 0 20px;
}
.anduc-about-page * { box-sizing: border-box; }
.anduc-about-hero {
  align-items: stretch;
  background: linear-gradient(135deg, #e9f8f4 0%, #f6fbfa 56%, #e7f2ff 100%);
  border: 1px solid #c8e7df;
  border-radius: 24px;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  overflow: hidden;
  padding: 48px;
  position: relative;
}
.anduc-about-hero::before {
  background: rgba(17, 142, 126, .1);
  border-radius: 50%;
  content: "";
  height: 280px;
  position: absolute;
  right: -90px;
  top: -120px;
  width: 280px;
}
.anduc-about-hero-copy { position: relative; z-index: 1; }
.anduc-about-eyebrow,
.anduc-about-kicker {
  color: #08786d;
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.anduc-about-hero h1 {
  color: #103c35;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0;
  max-width: 850px;
}
.anduc-about-hero-copy > p {
  color: #486961;
  font-size: 18px;
  margin: 20px 0 0;
  max-width: 790px;
}
.anduc-about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.anduc-about-button {
  align-items: center;
  background: #fff;
  border: 1px solid #acd7cd;
  border-radius: 999px;
  color: #08786d;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  text-decoration: none;
}
.anduc-about-button.is-primary { background: #08786d; border-color: #08786d; color: #fff; }
.anduc-about-button:hover { box-shadow: 0 8px 20px rgba(8, 120, 109, .15); transform: translateY(-1px); }
.anduc-about-hero-panel {
  align-self: center;
  background: rgba(255, 255, 255, .86);
  border: 1px solid #c8e7df;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(12, 89, 78, .1);
  padding: 26px;
  position: relative;
  z-index: 1;
}
.anduc-about-hero-panel strong { color: #075f57; display: block; font-size: 20px; margin-bottom: 12px; }
.anduc-about-hero-panel ul { list-style: none; margin: 0; padding: 0; }
.anduc-about-hero-panel li { border-top: 1px solid #d8ebe6; padding: 11px 0 11px 26px; position: relative; }
.anduc-about-hero-panel li::before { color: #0a9989; content: "✓"; font-weight: 800; left: 2px; position: absolute; }
.anduc-about-jump {
  align-items: center;
  background: #fff;
  border: 1px solid #d5e7e2;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 18px 0 30px;
  padding: 14px 20px;
}
.anduc-about-jump a { color: #375f57; font-size: 14px; font-weight: 700; text-decoration: none; }
.anduc-about-jump a:hover { color: #08786d; }
.anduc-about-main { display: grid; gap: 22px; }
.anduc-about-section {
  background: #fff;
  border: 1px solid #d5e7e2;
  border-radius: 20px;
  padding: 34px 36px;
}
.anduc-about-section h2 { color: #17342e; font-size: 30px; line-height: 1.25; margin: 0 0 18px; }
.anduc-about-section h3 { color: #17342e; font-size: 20px; margin: 0 0 8px; }
.anduc-about-section p { color: #486961; margin: 0; }
.anduc-about-intro { display: grid; gap: 44px; grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr); }
.anduc-about-prose { display: grid; gap: 14px; }
.anduc-about-duo,
.anduc-about-values { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.anduc-about-duo article,
.anduc-about-values article {
  background: #f4faf8;
  border: 1px solid #d8ebe6;
  border-radius: 16px;
  padding: 22px;
}
.anduc-about-card-icon {
  align-items: center;
  background: #dff4ee;
  border-radius: 50%;
  color: #08786d;
  display: inline-flex;
  font-size: 24px;
  height: 42px;
  justify-content: center;
  margin-bottom: 14px;
  width: 42px;
}
.anduc-about-values { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.anduc-about-values strong { color: #075f57; display: block; font-size: 18px; margin-bottom: 8px; }
.anduc-about-commitments { display: grid; gap: 0 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.anduc-about-commitments > div { align-items: flex-start; border-top: 1px solid #d8ebe6; display: grid; gap: 16px; grid-template-columns: 42px 1fr; padding: 18px 0; }
.anduc-about-commitments span { color: #0a9989; font-size: 13px; font-weight: 800; }
.anduc-about-commitments strong { color: #17342e; display: block; margin-bottom: 3px; }
.anduc-about-expertise { align-items: center; background: linear-gradient(135deg, #0d7267, #075b53); display: flex; gap: 28px; justify-content: space-between; }
.anduc-about-expertise .anduc-about-kicker { color: #aee7dc; }
.anduc-about-expertise h2,
.anduc-about-expertise p { color: #fff; }
.anduc-about-expertise p { max-width: 800px; opacity: .86; }
.anduc-about-legal-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.anduc-about-legal-grid > div { background: #f7fbfa; border: 1px solid #d8ebe6; border-radius: 14px; padding: 16px 18px; }
.anduc-about-legal-grid .is-wide { grid-column: 1 / -1; }
.anduc-about-legal-grid span { color: #69837d; display: block; font-size: 13px; margin-bottom: 4px; }
.anduc-about-legal-grid strong { color: #17342e; display: block; font-weight: 700; }

/* Footer directory: advisory is part of the brand column; link columns become
 * accessible accordions on mobile without changing the desktop layout. */
.adcc-site-footer .adcc-footer-grid {
  align-items: start;
  grid-template-columns: minmax(310px, 1.45fr) minmax(170px, 1fr) minmax(150px, .8fr) minmax(170px, 1fr);
}
.adcc-site-footer .adcc-footer-contact h3 { color: #17342e; font-size: 16px; margin: 0 0 14px; }
.adcc-site-footer .adcc-footer-column-content > a { color: #526f68; display: block; font-size: 14px; line-height: 1.4; margin: 8px 0; text-decoration: none; }
.adcc-site-footer .adcc-footer-column-content > a:hover { color: var(--adcc-primary); }
.adcc-site-footer .adcc-footer-toggle { background: transparent; border: 0; color: inherit; cursor: default; display: flex; font: inherit; font-weight: inherit; justify-content: space-between; padding: 0; text-align: left; width: 100%; }
.adcc-site-footer .adcc-footer-toggle .dashicons { display: none; }
.adcc-site-footer .adcc-footer-advisory { border-top: 1px solid #cfe3dd; display: block; margin-top: 16px; padding-top: 15px; }
.adcc-site-footer .adcc-footer-advisory p { color: #526f68; font-size: 14px; line-height: 1.62; margin: 0; }
.adcc-site-footer .adcc-footer-disclaimer-link { color: #08786d; font-weight: 750; text-decoration: none; }
.adcc-site-footer .adcc-footer-disclaimer-link:hover { color: #075f57; text-decoration: underline; }

@media (max-width: 1100px) {
  .anduc-about-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adcc-site-footer .adcc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adcc-site-footer .adcc-footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .anduc-about-page { font-size: 15px; margin-top: 14px; padding: 0 12px; }
  .anduc-about-hero { border-radius: 18px; gap: 24px; grid-template-columns: 1fr; padding: 28px 22px; }
  .anduc-about-hero h1 { font-size: 34px; }
  .anduc-about-hero-copy > p { font-size: 16px; }
  .anduc-about-hero-panel { padding: 20px; }
  .anduc-about-jump { flex-wrap: nowrap; margin-bottom: 18px; overflow-x: auto; padding: 12px 14px; scrollbar-width: none; }
  .anduc-about-jump::-webkit-scrollbar { display: none; }
  .anduc-about-jump a { flex: 0 0 auto; }
  .anduc-about-section { border-radius: 16px; padding: 24px 20px; }
  .anduc-about-section h2 { font-size: 25px; }
  .anduc-about-intro,
  .anduc-about-duo,
  .anduc-about-values,
  .anduc-about-commitments,
  .anduc-about-legal-grid { grid-template-columns: 1fr; }
  .anduc-about-intro { gap: 8px; }
  .anduc-about-legal-grid .is-wide { grid-column: auto; }
  .anduc-about-expertise { align-items: flex-start; flex-direction: column; }
  .anduc-about-actions .anduc-about-button { flex: 1 1 100%; }
  .adcc-site-footer .adcc-footer-grid { grid-template-columns: 1fr 1fr; }
  .adcc-site-footer .adcc-footer-contact { display: none !important; }
  .adcc-site-footer .adcc-footer-disclaimer { grid-column: 1 / -1; }
}
.anduc-category-default-icon {
  align-items: center;
  background: linear-gradient(145deg, #eefaf6, #dff4ed);
  border: 1px solid #cbe9df;
  color: #08786d;
  display: inline-flex !important;
  flex: 0 0 auto;
  justify-content: center;
  overflow: hidden;
}
.anduc-category-default-icon svg {
  display: block;
  fill: none;
  height: 68%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 68%;
}

img.anduc-term-custom-icon {
	object-fit: contain;
}

/* Align the desktop menu typography and the featured-category surface with
 * the rest of the current storefront. */
@media (min-width: 768px) {
  .adcc-primary-nav .adcc-mega-root,
  .adcc-primary-nav .adcc-nav-link { font-size: 16px !important; }
}
body.home .adcc-personalized-featured-categories .adcc-container {
  background: linear-gradient(180deg, #f0faf7 0%, #f9fcfb 100%) !important;
  border-color: #cfe7df !important;
}

.adcc-site-footer .adcc-footer-disclaimer-link {
  display: inline !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #08786d !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.adcc-site-footer .adcc-footer-disclaimer-link:hover,
.adcc-site-footer .adcc-footer-disclaimer-link:focus-visible {
  color: #055c54 !important;
  text-decoration: underline !important;
}
body.home .adcc-personalized-featured-categories .adcc-section-heading h2 .dashicons {
  color: #08786d !important;
}

@media (max-width: 767px) {
  .adcc-site-footer .adcc-footer-grid { display: block !important; }
  .adcc-site-footer .adcc-footer-contact { display: none !important; }
  .adcc-site-footer .adcc-footer-column { border-bottom: 1px solid #cfe3dd; transition: background-color .22s ease; }
  .adcc-site-footer .adcc-footer-column.is-open { background: rgba(8, 120, 109, .035); }
  .adcc-site-footer .adcc-footer-column h3 { margin: 0; }
  .adcc-site-footer .adcc-footer-toggle { align-items: center; border-radius: 7px; cursor: pointer; min-height: 44px; padding: 0 2px; transition: background-color .18s ease, color .18s ease; }
  .adcc-site-footer .adcc-footer-toggle:active { background: rgba(8, 120, 109, .08); }
  .adcc-site-footer .adcc-footer-toggle .dashicons { display: inline-block; transition: transform .26s ease; }
  .adcc-site-footer .adcc-footer-toggle[aria-expanded="true"] .dashicons { transform: rotate(180deg); }
  .adcc-site-footer .adcc-footer-column-content {
    display: block !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 2px;
    transform: translateY(-5px);
    transition: max-height .3s ease, opacity .2s ease, transform .3s ease, padding .3s ease;
  }
  .adcc-site-footer .adcc-footer-column.is-open .adcc-footer-column-content {
    max-height: 560px;
    opacity: 1;
    padding: 0 2px 10px;
    transform: translateY(0);
  }
  .adcc-site-footer .adcc-footer-business-line {
    display: block;
    margin-top: 14px;
    padding: 15px 0 10px;
    text-align: left;
  }
  .adcc-site-footer .adcc-footer-business-line strong { display: block; margin-bottom: 9px; }
  .adcc-site-footer .adcc-footer-business-line ul { display: block; list-style: none; margin: 0; padding: 0; }
  .adcc-site-footer .adcc-footer-business-line li { display: block; line-height: 1.55; margin: 6px 0; padding-left: 15px; position: relative; }
  .adcc-site-footer .adcc-footer-business-line li::before { color: #08786d; content: "\2022"; font-weight: 800; left: 1px; position: absolute; }
}

@media (min-width: 768px) {
  body.single-product.has-sticky-product-cart { padding-bottom: 0 !important; }
  .adcc-site-footer .adcc-footer-business-line { align-items: baseline; display: flex; flex-wrap: wrap; justify-content: center; }
  .adcc-site-footer .adcc-footer-business-line ul { display: contents; list-style: none; margin: 0; padding: 0; }
  .adcc-site-footer .adcc-footer-business-line li { display: inline; }
  .adcc-site-footer .adcc-footer-business-line li::before { content: " | "; white-space: pre; }
}

/* Compact the remaining high-whitespace surfaces. These rules replace the
 * spacing inherited from older ADCC/Flatsome blocks instead of using negative
 * margins, so neighboring sections keep a stable flow. */
.adcc-product-document-actions {
  margin-top: 7px !important;
}
.adcc-product-document-actions .adcc-publication-action {
  min-height: 42px !important;
  padding: 4px 10px !important;
}

body.home .adcc-personalized-featured-categories {
  margin: 8px 0 !important;
  padding: 8px 0 !important;
}
body.home .adcc-personalized-featured-categories .adcc-container {
  padding-bottom: 14px !important;
  padding-top: 14px !important;
}

/* The health card already owns its border/background. Keep the outer section
 * transparent so a second pale rectangle does not show behind it. */
body.home .adcc-section-health_news {
  background: transparent !important;
  padding: 12px 0 !important;
}

/* The closed wc-tabs-wrapper is now the single description frame. Flatsome's
 * inner tab-panels border was open at the top and looked like a cut frame. */
body.single-product .woocommerce-tabs.wc-tabs-wrapper > .tab-panels {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Footer density: remove duplicate margins from the old heading/link styles. */
.adcc-site-footer .adcc-footer-main {
  padding-top: 18px !important;
}
.adcc-site-footer .adcc-footer-grid {
  gap: 22px !important;
}
.adcc-site-footer .adcc-footer-contact > h3,
.adcc-site-footer .adcc-footer-column > h3 {
  margin-bottom: 8px !important;
}
.adcc-site-footer .adcc-footer-advisory {
  margin-top: 10px !important;
  padding-top: 10px !important;
}
.adcc-site-footer .adcc-footer-advisory p {
  line-height: 1.5 !important;
}
.adcc-site-footer .adcc-footer-disclaimer-link {
  display: inline !important;
  margin: 0 0 0 4px !important;
}
.adcc-site-footer .adcc-footer-column-content > a {
  margin: 5px 0 !important;
}
.adcc-site-footer .adcc-footer-business-line {
  margin-top: 16px !important;
  padding-bottom: 10px !important;
  padding-top: 10px !important;
}
.adcc-site-footer .adcc-footer-bottom {
  padding-bottom: 12px !important;
  padding-top: 12px !important;
}

@media (min-width: 768px) {
  .adcc-site-footer .adcc-footer-toggle {
    margin: 0 !important;
    min-height: 0 !important;
  }
}

/* Article category navigation: replace the flat legacy list with a compact,
 * readable card and make the post counts easy to scan. */
body.single-post .widget.widget_categories {
  background: linear-gradient(180deg, #f1faf7 0%, #ffffff 100%);
  border: 1px solid #cfe5de;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(19, 82, 69, .06);
  margin-bottom: 22px;
  overflow: hidden;
  padding: 16px;
}
body.single-post .widget.widget_categories .widget-title {
  align-items: center;
  color: #173d36;
  display: flex;
  font-size: 17px;
  font-weight: 750;
  gap: 9px;
  line-height: 1.3;
  margin: 0 0 12px;
  padding: 0;
}
body.single-post .widget.widget_categories .widget-title::before {
  align-items: center;
  background: #0f8577;
  border-radius: 8px;
  color: #fff;
  content: "\2630";
  display: inline-flex;
  font-size: 13px;
  height: 28px;
  justify-content: center;
  width: 28px;
}
body.single-post .widget.widget_categories .is-divider {
  display: none !important;
}
body.single-post .widget.widget_categories > ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.single-post .widget.widget_categories > ul > li {
  align-items: center;
  background: #fff;
  border: 1px solid #dceae6;
  border-radius: 10px;
  color: #6b817c;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  line-height: 1.3;
  padding: 9px 10px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.single-post .widget.widget_categories > ul > li:hover {
  border-color: #8fcbbf;
  box-shadow: 0 5px 14px rgba(15, 118, 110, .08);
  transform: translateY(-1px);
}
body.single-post .widget.widget_categories > ul > li > a {
  color: #23463f;
  flex: 1;
  font-size: 14px;
  font-weight: 650;
  padding-right: 8px;
  text-decoration: none;
}
body.single-post .widget.widget_categories > ul > li:hover > a {
  color: #08786d;
}

@media (max-width: 767px) {
  .adcc-site-footer .adcc-footer-main {
    padding-top: 6px !important;
  }
  .adcc-site-footer .adcc-footer-toggle {
    margin: 0 !important;
    min-height: 40px !important;
  }
  .adcc-site-footer .adcc-footer-business-line {
    margin-top: 10px !important;
    padding-top: 10px !important;
  }
}
