/*
 * TREM Harmony 1.2 — storefront refinement for PrestaShop 9 Classic.
 * Keeps core hooks and module markup intact while improving hierarchy,
 * responsiveness, product discovery and conversion surfaces.
 */

:root {
  --trem-ink: #111827;
  --trem-muted: #6b7280;
  --trem-line: #e7ded0;
  --trem-soft: #f6f2eb;
  --trem-surface: #ffffff;
  --trem-brand: #8b6a2b;
  --trem-brand-strong: #6e5220;
  --trem-accent: #d8a74e;
  --trem-success: #3e6b52;
  --trem-radius-sm: 10px;
  --trem-radius: 16px;
  --trem-radius-lg: 24px;
  --trem-shadow: 0 12px 32px rgba(17, 24, 39, .08);
  --trem-shadow-hover: 0 18px 44px rgba(17, 24, 39, .13);
}

html { scroll-behavior: smooth; }
body {
  color: var(--trem-ink);
  background: var(--trem-surface);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--trem-brand); }
a:hover, a:focus { color: var(--trem-brand-strong); }
.container { max-width: 1280px; }

/* Header */
#header { box-shadow: 0 1px 0 var(--trem-line); background: #fff; }
#header .header-nav {
  background: #f7f3ec;
  border-bottom: 1px solid var(--trem-line);
  max-height: none;
}
#header .header-nav .container { padding-top: .35rem; padding-bottom: .35rem; }
#header .header-top { padding: 1rem 0 .85rem; background: #fff; }
#header .header-top .container > .row { align-items: center; }
#header .header-top a[data-depth="0"] {
  color: var(--trem-ink);
  font-weight: 650;
  text-transform: none;
  letter-spacing: -.01em;
}
#header .header-top a[data-depth="0"]:hover { color: var(--trem-brand); }
#header .top-menu a[data-depth="0"] { padding: .65rem .8rem; }
#header .menu, #header .top-menu { margin-bottom: 0; }
#header .header-top .position-static { position: static !important; }
#header .search-widget form input[type=text] {
  border: 1px solid var(--trem-line);
  border-radius: 999px;
  background: #f7f3ec;
  min-height: 44px;
  padding-left: 1rem;
}
#header .search-widget form button { color: var(--trem-ink); }
#header .header-nav .cart-preview.active { background: var(--trem-brand); }
#header .header-nav .cart-preview.active a,
#header .header-nav .cart-preview.active i { color: #fff; }

.trem-service-strip {
  background: var(--trem-ink);
  color: #fff;
  font-size: .88rem;
}
.trem-service-strip__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.trem-service-strip__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}
.trem-service-strip__icon { color: #e1b86a; font-size: 1.05rem; }

/* Home hero */
.trem-hero {
  margin: 1.35rem auto 2.25rem;
  border-radius: var(--trem-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 167, 78, .20), transparent 28%),
    radial-gradient(circle at 70% 85%, rgba(255, 255, 255, .08), transparent 25%),
    linear-gradient(135deg, #191d22, #2a3037 62%, #4c412c);
  color: #fff;
  box-shadow: var(--trem-shadow);
}
.trem-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4.75rem);
}
.trem-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: #a7f3d0;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.trem-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.05em;
  margin: 0 0 1.25rem;
  max-width: 820px;
}
.trem-hero__lead {
  max-width: 680px;
  margin: 0 0 1.6rem;
  color: #d7e3e5;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}
.trem-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.trem-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.trem-btn:hover { transform: translateY(-1px); text-decoration: none; }
.trem-btn--primary { background: #fff; color: var(--trem-ink); }
.trem-btn--primary:hover { color: var(--trem-ink); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.trem-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.05); }
.trem-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.12); }

.trem-hero__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.trem-hero__card {
  min-height: 145px;
  padding: 1.2rem;
  border-radius: var(--trem-radius);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(8px);
}
.trem-hero__card:first-child { grid-column: 1 / -1; }
.trem-hero__card .material-icons { color: #99f6e4; font-size: 1.9rem; margin-bottom: .85rem; }
.trem-hero__card strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: .25rem; }
.trem-hero__card span { color: #cbd5e1; font-size: .9rem; line-height: 1.45; }

.trem-home-trust {
  margin: -1rem auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.trem-home-trust__item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius);
  background: #fff;
}
.trem-home-trust__item .material-icons { color: var(--trem-brand); }
.trem-home-trust__item strong { display: block; font-size: .94rem; }
.trem-home-trust__item span { display: block; color: var(--trem-muted); font-size: .82rem; margin-top: .15rem; }

/* Section hierarchy */
.page-home .featured-products,
.page-home .product-accessories,
.page-home .products-section-title { margin-top: 2.5rem; }
.page-home .products-section-title,
.product-accessories .products-section-title,
.product-accessories > .h5,
.featured-products > .h2,
.featured-products > .h1 {
  color: var(--trem-ink);
  text-transform: none;
  letter-spacing: -.025em;
  font-weight: 780;
}
.page-home .all-product-link { font-weight: 700; color: var(--trem-brand); }

/* Product cards */
.products { align-items: stretch; }
.products .product { margin-bottom: 1.2rem; }
.product-miniature {
  height: 100%;
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius);
  background: #fff;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-miniature:hover {
  transform: translateY(-3px);
  box-shadow: var(--trem-shadow-hover);
  border-color: #d0d5dd;
}
.product-miniature .thumbnail-container {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  box-shadow: none;
  background: transparent;
}
.product-miniature .thumbnail-top { background: #f7f3ec; }
.product-miniature .product-thumbnail { display: block; padding: 1rem; }
.product-miniature .product-thumbnail img {
  width: 100%;
  height: 245px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-miniature .product-description {
  position: static;
  width: auto;
  height: auto;
  min-height: 142px;
  padding: 1rem 1rem 1.1rem;
  background: #fff;
}
.product-miniature .product-title {
  margin: 0 0 .65rem;
  text-align: left;
  line-height: 1.35;
  min-height: 2.7em;
}
.product-miniature .product-title a {
  color: var(--trem-ink);
  font-size: .95rem;
  font-weight: 650;
}
.product-miniature .product-price-and-shipping { text-align: left; font-weight: 750; color: var(--trem-ink); }
.product-miniature .price { color: var(--trem-ink); font-size: 1.1rem; }
.product-miniature .regular-price { color: var(--trem-muted); }
.product-miniature .discount-percentage,
.product-miniature .discount-amount,
.product-flags li.product-flag.discount,
.product-flags li.product-flag.on-sale {
  background: #b42318;
  border-radius: 999px;
}
.product-flags li.product-flag.new { background: var(--trem-brand); border-radius: 999px; }
.product-miniature .highlighted-informations {
  width: calc(100% - 1.5rem);
  left: .75rem;
  bottom: .75rem;
  border-radius: 999px;
  box-shadow: var(--trem-shadow);
}
.product-miniature .quick-view { font-weight: 700; }

/* Category / search */
#wrapper { background: #f7f3ec; box-shadow: none; }
#wrapper .breadcrumb { background: transparent; padding-top: 1rem; }
#wrapper .breadcrumb li a { color: var(--trem-muted); }
#left-column .block-categories,
#search_filters,
#search_filters_brands,
#search_filters_suppliers {
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius);
  background: #fff;
  box-shadow: none;
  padding: 1rem;
}
.block-category {
  min-height: 0;
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius);
  box-shadow: none;
  margin-bottom: 1rem;
}
.block-category h1 { font-weight: 800; letter-spacing: -.03em; text-transform: none; }
.products-selection { margin: 0 0 1rem; }
.products-sort-order .select-title {
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius-sm);
  box-shadow: none;
}

/* Product detail */
.product-container { align-items: flex-start; }
.product-container .page-content {
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius-lg);
  background: #fff;
  padding: 1rem;
  box-shadow: none;
}
.product-container h1.h1 {
  color: var(--trem-ink);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  text-transform: none;
  font-weight: 800;
}
.product-prices .current-price { color: var(--trem-ink); font-weight: 800; }
.product-information .product-description { color: #475467; line-height: 1.7; }
.product-actions {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius);
  background: #fff;
}
.product-add-to-cart .btn-primary,
.btn-primary,
button.btn-primary {
  background: var(--trem-brand);
  border-color: var(--trem-brand);
  border-radius: 999px;
  min-height: 46px;
  font-weight: 750;
  text-transform: none;
  box-shadow: none;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.product-add-to-cart .btn-primary:hover {
  background: var(--trem-brand-strong);
  border-color: var(--trem-brand-strong);
}
.product-quantity #quantity_wanted {
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius-sm) 0 0 var(--trem-radius-sm);
}
.product-information .tabs {
  margin-top: 1.25rem;
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius);
  box-shadow: none;
  overflow: hidden;
}
.tabs .nav-tabs { border-bottom: 1px solid var(--trem-line); padding: .4rem .7rem 0; }
.tabs .nav-tabs .nav-link { color: var(--trem-muted); text-transform: none; font-weight: 700; }
.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover { color: var(--trem-brand); border-color: transparent transparent var(--trem-brand); }
.tabs .tab-content { padding: 1.25rem; }

.trem-product-help {
  margin: 1rem 0 0;
  padding: 1rem 1.05rem;
  border-radius: var(--trem-radius);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.trem-product-help__copy { display: flex; gap: .7rem; align-items: flex-start; }
.trem-product-help .material-icons { color: var(--trem-brand); }
.trem-product-help strong { display: block; color: #064e3b; }
.trem-product-help span { color: #38665b; font-size: .88rem; }
.trem-product-help a { white-space: nowrap; font-weight: 750; }

/* Forms / checkout */
.card, .cart-grid-body .card, .cart-grid-right .card, .checkout-step {
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius);
  box-shadow: none;
}
.form-control, .input-group .form-control {
  border: 1px solid #d0d5dd;
  border-radius: var(--trem-radius-sm);
  min-height: 44px;
}
.form-control:focus { border-color: var(--trem-brand); outline: 0; }

/* Footer */
#footer { padding-top: 2.2rem; background: #fff; }
.footer-container { background: #0f172a; color: #cbd5e1; padding: 2.5rem 0 1.25rem; }
.footer-container .h3,
.footer-container .h4,
.footer-container .h3 a,
.footer-container .h4 a,
.footer-container .block-contact-title { color: #fff; text-transform: none; font-weight: 750; }
.footer-container a { color: #cbd5e1; }
.footer-container a:hover { color: #fff; }
.footer-container li { margin-bottom: .5rem; }
.trem-footer-meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .87rem;
  color: #94a3b8;
}
.trem-footer-meta a { color: #dbe5ee; }

@media (max-width: 991px) {
  .trem-service-strip__inner { gap: 1rem; justify-content: space-between; overflow-x: auto; padding: 0 .25rem; }
  .trem-hero__grid { grid-template-columns: 1fr; }
  .trem-home-trust { grid-template-columns: 1fr 1fr; }
  .product-miniature .product-thumbnail img { height: 220px; }
  #header .header-top { padding: .55rem 0; }
}

@media (max-width: 767px) {
  .container { width: 100%; }
  .trem-service-strip__inner { min-height: 36px; font-size: .78rem; }
  .trem-service-strip__item:nth-child(n+2) { display: none; }
  .trem-hero { margin-top: .75rem; border-radius: 18px; }
  .trem-hero__grid { padding: 1.6rem 1.25rem; gap: 1.3rem; }
  .trem-hero h1 { font-size: 2.35rem; }
  .trem-hero__lead { font-size: .98rem; }
  .trem-hero__actions { display: grid; grid-template-columns: 1fr; }
  .trem-btn { width: 100%; }
  .trem-hero__panel { grid-template-columns: 1fr 1fr; }
  .trem-hero__card { min-height: 120px; padding: 1rem; }
  .trem-home-trust { grid-template-columns: 1fr; margin-top: -.4rem; }
  .product-miniature .product-thumbnail img { height: 190px; }
  .product-miniature .product-description { min-height: 132px; }
  .product-container .page-content { border-radius: 16px; }
  .trem-product-help { align-items: flex-start; flex-direction: column; }
  .footer-container { padding-left: .25rem; padding-right: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   TREM Modern 1.1 — category navigation
   ========================================================= */

/* Subcategory navigation: replace the default PrestaShop tile wall. */
#subcategories.trem-subcategories {
  margin: 0 0 1.4rem;
  padding: 1.15rem;
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius-lg);
  background: #fff;
  box-shadow: none;
}
.trem-subcategories__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.trem-subcategories__eyebrow {
  display: block;
  margin-bottom: .2rem;
  color: var(--trem-brand);
  font-size: .72rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trem-subcategories__title {
  margin: 0;
  color: var(--trem-ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.025em;
  text-transform: none;
}
.trem-subcategories__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 .65rem;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: .8rem;
  font-weight: 800;
}
#subcategories .trem-subcategories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: initial;
}
#subcategories .trem-subcategories__item {
  width: auto;
  min-width: 0;
  margin: 0;
  text-align: left;
}
.trem-category-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 22px;
  align-items: center;
  gap: .85rem;
  min-height: 96px;
  height: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--trem-line);
  border-radius: 14px;
  background: #fff;
  color: var(--trem-ink);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.trem-category-card:hover,
.trem-category-card:focus,
.trem-category-card.is-keyboard-focus {
  color: var(--trem-ink);
  text-decoration: none;
  border-color: #98d9c9;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}
.trem-category-card:focus-visible {
  outline: 3px solid rgba(2, 132, 105, .2);
  outline-offset: 2px;
}
.trem-category-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 11px;
  background: #f7f3ec;
}
.trem-category-card__visual picture {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.trem-category-card__image {
  width: 100%;
  height: 100%;
  padding: .35rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.trem-category-card__placeholder {
  color: #98a2b3;
  font-size: 2rem;
}
.trem-category-card__body {
  min-width: 0;
}
.trem-category-card__name {
  display: block;
  color: var(--trem-ink);
  font-size: .94rem;
  line-height: 1.3;
  font-weight: 750;
  overflow-wrap: anywhere;
}
.trem-category-card__description {
  display: -webkit-box;
  margin-top: .3rem;
  overflow: hidden;
  color: var(--trem-muted);
  font-size: .78rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.trem-category-card__arrow {
  color: #98a2b3;
  font-size: 1.15rem;
  transition: color .16s ease, transform .16s ease;
}
.trem-category-card:hover .trem-category-card__arrow,
.trem-category-card:focus .trem-category-card__arrow {
  color: var(--trem-brand);
  transform: translateX(2px);
}

/* Category sidebar: compact accordion with a clear active path. */
#left-column .block-categories.trem-category-tree {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--trem-line);
  border-radius: var(--trem-radius);
  background: #fff;
}
.trem-category-tree__head {
  padding: .85rem .9rem;
  border-bottom: 1px solid var(--trem-line);
  background: #fbfcfd;
}
.trem-category-tree__home {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--trem-ink);
  font-size: .92rem;
  line-height: 1.25;
  font-weight: 800;
}
.trem-category-tree__home:hover,
.trem-category-tree__home:focus {
  color: var(--trem-brand);
  text-decoration: none;
}
.trem-category-tree__home .material-icons {
  color: var(--trem-brand);
  font-size: 1.15rem;
}
.trem-category-tree__body {
  padding: .45rem .5rem .55rem;
}
.trem-category-tree .trem-category-tree__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.trem-category-tree__item {
  position: relative;
  margin: 0;
}
.trem-category-tree__row {
  display: flex;
  align-items: center;
  min-height: 38px;
  border-radius: 9px;
}
.trem-category-tree__link {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: .58rem .55rem;
  color: #344054;
  font-size: .86rem;
  line-height: 1.25;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.trem-category-tree__item[data-depth="1"] > .trem-category-tree__row .trem-category-tree__link {
  padding-left: .85rem;
  font-size: .83rem;
}
.trem-category-tree__item[data-depth="2"] > .trem-category-tree__row .trem-category-tree__link,
.trem-category-tree__item[data-depth="3"] > .trem-category-tree__row .trem-category-tree__link {
  padding-left: 1.15rem;
  color: #667085;
  font-size: .8rem;
}
.trem-category-tree__row:hover {
  background: #f7f3ec;
}
.trem-category-tree__link:hover,
.trem-category-tree__link:focus {
  color: var(--trem-brand);
  text-decoration: none;
}
.trem-category-tree__toggle {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667085;
  cursor: pointer;
}
.trem-category-tree__toggle:hover,
.trem-category-tree__toggle:focus {
  background: #eefaf6;
  color: var(--trem-brand);
  outline: 0;
}
.trem-category-tree__toggle .material-icons {
  font-size: 1rem;
}
.trem-category-tree__toggle .remove,
.trem-category-tree__toggle[aria-expanded="true"] .add {
  display: none;
}
.trem-category-tree__toggle[aria-expanded="true"] .remove {
  display: inline-block;
}
.trem-category-tree__children {
  margin-left: .45rem;
  padding-left: .45rem;
  border-left: 1px solid #e4e7ec;
}
.trem-category-tree__item.is-current > .trem-category-tree__row,
.trem-category-tree__item.is-current > .trem-category-tree__row:hover {
  background: #eaf8f4;
}
.trem-category-tree__item.is-current > .trem-category-tree__row .trem-category-tree__link,
.trem-category-tree__link[aria-current="page"] {
  color: #06664f;
  font-weight: 800;
}
.trem-category-tree__item.is-open-path > .trem-category-tree__row .trem-category-tree__link {
  color: #175c4c;
  font-weight: 700;
}
.trem-category-tree__mobile-toggle {
  display: none;
}

/* Give the category controls a simpler visual rhythm. */
#category .products-selection {
  padding: .75rem .85rem;
  border: 1px solid var(--trem-line);
  border-radius: 12px;
  background: #fff;
}
#category .products-selection .total-products p {
  margin: .65rem 0 0;
  color: var(--trem-muted);
  font-size: .85rem;
}

@media (max-width: 1199px) {
  #subcategories .trem-subcategories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #subcategories.trem-subcategories {
    margin-top: .75rem;
    padding: .85rem;
    border-radius: 16px;
  }
  .trem-subcategories__header {
    align-items: center;
    margin-bottom: .75rem;
  }
  #subcategories .trem-subcategories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .trem-category-card {
    display: flex;
    min-height: 0;
    padding: .6rem;
    gap: .55rem;
    flex-direction: column;
    align-items: stretch;
  }
  .trem-category-card__visual {
    width: 100%;
    height: 86px;
  }
  .trem-category-card__body {
    min-height: 2.5em;
  }
  .trem-category-card__name {
    font-size: .82rem;
    line-height: 1.25;
  }
  .trem-category-card__description,
  .trem-category-card__arrow {
    display: none;
  }

  #left-column .block-categories.trem-category-tree {
    position: static;
    margin: 0 0 .75rem;
    border-radius: 14px;
  }
  .trem-category-tree__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .75rem;
    border-bottom: 0;
  }
  .trem-category-tree__home {
    max-width: 48%;
    font-size: .82rem;
  }
  .trem-category-tree__mobile-toggle {
    display: inline-flex !important;
    min-height: 38px;
    padding: .45rem .65rem;
    align-items: center;
    gap: .25rem;
    border: 1px solid var(--trem-line);
    border-radius: 999px;
    background: #fff;
    color: var(--trem-ink);
    font-size: .8rem;
    font-weight: 750;
  }
  .trem-category-tree__mobile-toggle .material-icons {
    font-size: 1rem;
    transition: transform .16s ease;
  }
  .trem-category-tree__body {
    display: none;
    max-height: min(64vh, 540px);
    overflow-y: auto;
    padding: .4rem .5rem .6rem;
    border-top: 1px solid var(--trem-line);
  }
  .trem-category-tree.is-mobile-open .trem-category-tree__body {
    display: block;
  }
  .trem-category-tree.is-mobile-open .trem-category-tree__mobile-toggle .material-icons {
    transform: rotate(180deg);
  }
  #category .products-selection {
    margin-top: .75rem;
    padding: .6rem;
  }
}

@media (max-width: 430px) {
  #subcategories .trem-subcategories__grid {
    grid-template-columns: 1fr;
  }
  .trem-category-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 18px;
    min-height: 74px;
    align-items: center;
  }
  .trem-category-card__visual {
    width: 62px;
    height: 62px;
  }
  .trem-category-card__body {
    min-height: 0;
  }
  .trem-category-card__arrow {
    display: inline-block;
    font-size: 1rem;
  }
}


/* =========================================================
   TREM Harmony 1.3 — logo-compatible palette + header polish
   Neutral charcoal / warm stone / soft amber so the custom logo
   remains the main color accent instead of fighting with template blue.
   ========================================================= */

:root {
  --trem-header-soft: #f7f3ec;
  --trem-panel: #fbf9f5;
  --trem-charcoal: #1f2428;
  --trem-charcoal-strong: #15181b;
}

body, #wrapper, .page-content {
  background: var(--trem-surface);
}

/* Remove leftover generic "template blue" emphasis */
.btn-primary,
button.btn-primary,
.product-add-to-cart .btn-primary,
#blockcart-modal .btn-primary,
#search_filters .facet .custom-checkbox input[type=checkbox]:checked + span.color,
#search_filters .facet .custom-checkbox input[type=checkbox]:checked + span,
.bootstrap-touchspin .group-span-filestyle label,
.page-item.active .page-link,
.page-item.active .page-link:focus,
.page-item.active .page-link:hover,
.pagination .current a,
.pagination .current span,
.label,
.badge-primary {
  background: var(--trem-charcoal) !important;
  border-color: var(--trem-charcoal) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.product-add-to-cart .btn-primary:hover,
.product-add-to-cart .btn-primary:focus,
#blockcart-modal .btn-primary:hover {
  background: var(--trem-charcoal-strong) !important;
  border-color: var(--trem-charcoal-strong) !important;
  color: #fff !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.dropdown-item.active,
.dropdown-item:active,
.custom-radio input[type="radio"]:checked + span,
.tabs .nav-tabs .nav-link.active {
  color: var(--trem-ink) !important;
  background: var(--trem-soft) !important;
  border-color: var(--trem-line) !important;
}

.progress-bar,
.blockreassurance_product .block-title,
.material-icons.text-primary,
.text-primary {
  color: var(--trem-brand) !important;
}

/* Header / logo */
#header {
  box-shadow: 0 1px 0 rgba(17, 24, 39, .04);
}
#header .header-nav {
  background: var(--trem-header-soft);
  border-bottom-color: var(--trem-line);
}
#header .header-nav .container {
  padding-top: .45rem;
  padding-bottom: .45rem;
}
#header .header-top {
  padding: .95rem 0 1rem;
  border-bottom: 1px solid var(--trem-line);
}
#header #_desktop_logo,
#header #_mobile_logo {
  display: flex;
  align-items: center;
}
#header #_desktop_logo .logo,
#header #_mobile_logo .logo,
#header .top-logo .logo {
  width: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}
#header .header-top-right {
  display: flex;
  align-items: center;
}
#header .header-top-right > .row,
#header .header-top-right .search-widget,
#header .header-top-right .menu {
  width: 100%;
}
#header .header-top .menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem;
}
#header .top-menu > li {
  margin-right: .15rem;
}
#header .top-menu a[data-depth="0"] {
  border-radius: 999px;
  padding: .72rem .95rem;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
#header .top-menu a[data-depth="0"]:hover,
#header .top-menu .current > a[data-depth="0"],
#header .top-menu li:hover > a[data-depth="0"] {
  color: var(--trem-brand) !important;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--trem-line);
}
#header .top-menu .sub-menu {
  margin-top: .55rem;
  border-radius: 18px;
  border: 1px solid var(--trem-line);
  box-shadow: 0 20px 45px rgba(17, 24, 39, .08);
}
#header .top-menu .sub-menu a:hover {
  color: var(--trem-brand) !important;
}
#header .search-widget {
  display: flex;
  justify-content: flex-end;
}
#header .search-widget form {
  width: min(100%, 340px);
}
#header .search-widget form input[type=text] {
  background: #fff;
  border-color: #ddd3c2;
  box-shadow: none;
}
#header .search-widget form input[type=text]:focus,
.form-control:focus {
  border-color: #c8ac75;
  box-shadow: 0 0 0 .18rem rgba(216, 167, 78, .16);
}
#header .header-nav a,
#header .header-nav .material-icons,
#header .header-top .menu > li > a,
#header .header-nav .user-info a,
#header .header-nav .blockcart a {
  color: var(--trem-ink);
}
#header .header-nav a:hover,
#header .header-nav .user-info a:hover,
#header .header-nav .blockcart a:hover {
  color: var(--trem-brand);
}
#header .header-nav .cart-preview.active {
  background: var(--trem-charcoal);
  border-radius: 999px;
  padding-inline: .35rem;
}
#header .header-nav .cart-preview.active a,
#header .header-nav .cart-preview.active i {
  color: #fff !important;
}
#header .header-nav .language-selector,
#header .header-nav .currency-selector,
#header .header-nav .user-info,
#header .header-nav .blockcart {
  margin-left: .4rem;
}

.trem-service-strip {
  background: #23272c;
}
.trem-service-strip__icon {
  color: #e0b86a;
}

/* Hero / cards in warmer neutral tone */
.trem-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 167, 78, .18), transparent 28%),
    radial-gradient(circle at 70% 85%, rgba(255, 255, 255, .06), transparent 25%),
    linear-gradient(135deg, #191d22, #2a3037 62%, #4c412c);
}
.trem-hero__eyebrow,
.trem-hero__card .material-icons {
  color: #e7c27c;
}
.trem-home-trust__item,
.product-miniature,
.block-category,
#search_filters_wrapper,
#content-wrapper .page-not-found,
.card,
.product-information,
.trem-product-help,
.block_newsletter,
#footer {
  border-color: var(--trem-line);
}

/* Product/category accents */
.product-flags li.product-flag.new,
.product-flags li.product-flag.on-sale,
.product-flag.discount {
  background: var(--trem-brand) !important;
}
.product-miniature .highlighted-informations,
.product-description-short,
#subcategories .subcategory-name:hover,
#search_filters .facet .facet-label a:hover,
.block-categories .category-sub-link:hover,
.block-categories .arrows .arrow-down,
.block-categories .arrows .arrow-right,
.page-home .all-product-link,
.page-footer a:hover,
.footer-container li a:hover {
  color: var(--trem-brand) !important;
}

#subcategories .subcategory-block,
#subcategories .subcategory-image,
#left-column .block-categories,
#search_filters {
  background: var(--trem-panel);
}
#left-column .block-categories,
#search_filters {
  border-radius: 18px;
}

/* Footer */
#footer,
.footer-container,
#footer .block_newsletter {
  background: #faf7f2;
}
.footer-container .h3,
.footer-container .h4,
.footer-container .block-contact-title,
.footer-container p,
.footer-container li,
.footer-container a {
  color: var(--trem-ink);
}
.footer-after,
#footer .block_newsletter {
  border-top-color: var(--trem-line);
}

/* Mobile harmony */
@media (max-width: 991px) {
  #header .header-top {
    padding: .7rem 0 .8rem;
  }
  #header #_desktop_logo .logo,
  #header #_mobile_logo .logo,
  #header .top-logo .logo {
    max-height: 56px;
  }
  #header .header-nav .container {
    padding-top: .35rem;
    padding-bottom: .35rem;
  }
  .trem-service-strip__inner {
    gap: .85rem;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 .9rem;
  }
  .trem-service-strip__item {
    font-size: .82rem;
  }
}


/* =========================================================
   TREM Harmony 1.4 — header aligned to new logo and navigation
   ========================================================= */

#header .header-nav {
  background: #161a1e;
  border-bottom: 0;
  color: rgba(255,255,255,.86);
}
#header .header-nav a,
#header .header-nav .material-icons,
#header .header-nav #contact-link,
#header .header-nav #contact-link a {
  color: rgba(255,255,255,.92);
}
#header .header-nav a:hover,
#header .header-nav #contact-link a:hover {
  color: #f3c26b;
}
#header .header-nav .container {
  padding-top: .32rem;
  padding-bottom: .32rem;
}
#header .header-nav .hidden-sm-down {
  display: block !important;
  width: 100%;
}
.trem-topbar-row {
  align-items: center;
}
.trem-topbar-left,
.trem-topbar-right {
  display: flex;
  align-items: center;
  min-height: 34px;
}
.trem-topbar-left {
  justify-content: flex-start;
}
.trem-topbar-right {
  justify-content: flex-end;
  gap: 1.25rem;
  font-size: .92rem;
}
.trem-topbar-copy {
  font-size: .92rem;
  color: rgba(255,255,255,.76);
}
.trem-topbar-address {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.trem-topbar-address .material-icons {
  font-size: 1rem;
}
#_desktop_contact_link,
#contact-link {
  display: inline-flex;
  align-items: center;
}

/* Main header row */
#header .header-top {
  background: #fff;
  border-bottom: 1px solid var(--trem-line);
  padding: 0;
}
#header .header-top .container > .trem-header-main {
  align-items: center;
  min-height: 106px;
}
.trem-header-logo {
  display: flex;
  align-items: center;
}
#header .trem-header-logo .logo,
#header #_desktop_logo .logo {
  max-height: 76px;
  width: auto;
  object-fit: contain;
}
#header .trem-header-logo h1 {
  margin: 0;
  line-height: 0;
}
.trem-header-search {
  display: flex;
  justify-content: center;
  align-items: center;
}
.trem-header-search .search-widget {
  width: 100%;
}
.trem-header-search .search-widget form {
  width: 100%;
  max-width: 880px;
  display: flex;
  align-items: center;
}
.trem-header-search .search-widget form input[type=text] {
  min-height: 56px;
  border-radius: 10px 0 0 10px;
  border: 1px solid #d8cfbf;
  border-right: 0;
  background: #fff;
  font-size: 1rem;
  padding-left: 3.2rem;
}
.trem-header-search .search-widget form button {
  min-width: 102px;
  min-height: 56px;
  border-radius: 0 10px 10px 0;
  border: 0;
  background: #e4961f;
  color: #111827;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0 1.1rem;
}
.trem-header-search .search-widget form button:hover {
  background: #d58917;
}
.trem-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.trem-header-actions > * {
  margin-left: 1rem;
}
.trem-header-actions .language-selector,
.trem-header-actions .user-info,
.trem-header-actions #_desktop_cart {
  display: inline-flex;
  align-items: center;
}
.trem-header-actions .expand-more {
  margin-left: .1rem;
}
.trem-header-actions .language-selector a,
.trem-header-actions .user-info a,
.trem-header-actions .blockcart a {
  color: var(--trem-ink);
  font-weight: 500;
}
.trem-header-actions .user-info i,
.trem-header-actions .blockcart i,
.trem-header-actions .language-selector i {
  color: var(--trem-ink);
}
.trem-header-actions .blockcart {
  padding: 0;
}
.trem-header-actions .cart-preview {
  background: #f7f3ec;
  border: 1px solid #d8cfbf;
  border-radius: 10px;
  padding: .85rem 1rem;
}
.trem-header-actions .cart-preview.active {
  background: #f7f3ec !important;
}
.trem-header-actions .cart-preview.active a,
.trem-header-actions .cart-preview.active i {
  color: var(--trem-ink) !important;
}
.trem-header-actions .header,
.trem-header-actions .cart-products-count {
  color: var(--trem-ink);
}
.trem-header-actions .cart-products-count {
  background: #e4961f;
  color: #111827;
  border-radius: 999px;
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-left: .35rem;
}

/* Full-width desktop category navigation */
#_desktop_top_menu {
  display: block;
  width: 100%;
  background: #f4f1eb;
  border-top: 1px solid var(--trem-line);
  border-bottom: 1px solid var(--trem-line);
}
#_desktop_top_menu > .top-menu {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  flex-wrap: nowrap;
  margin: 0;
}
#_desktop_top_menu > .top-menu > li {
  flex: 1 1 0;
  border-right: 1px solid var(--trem-line);
  position: static;
}
#_desktop_top_menu > .top-menu > li:first-child {
  border-left: 1px solid var(--trem-line);
}
#_desktop_top_menu > .top-menu > li > a[data-depth="0"] {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.15rem;
  background: transparent;
  border-radius: 0;
  font-size: .98rem;
  font-weight: 700;
  color: #394046;
}
#_desktop_top_menu > .top-menu > li > a[data-depth="0"]:hover,
#_desktop_top_menu > .top-menu > li.current > a[data-depth="0"],
#_desktop_top_menu > .top-menu > li:hover > a[data-depth="0"] {
  background: #fff;
  color: var(--trem-ink) !important;
  box-shadow: inset 0 -3px 0 0 #e4961f;
}
#_desktop_top_menu > .top-menu > li > a[data-depth="0"]::after {
  content: '›';
  font-size: 1.2rem;
  margin-left: .55rem;
  color: #8b8f94;
}
#_desktop_top_menu > .top-menu > li:not(.category):not(.cms-page) > a[data-depth="0"]::after {
  content: '';
  margin-left: 0;
}
#_desktop_top_menu .sub-menu {
  margin-top: 0;
  border-radius: 0 0 18px 18px;
  border: 1px solid var(--trem-line);
  border-top: 0;
  box-shadow: 0 22px 48px rgba(17,24,39,.08);
}

/* Cleaner cart line items */
#cart .cart-grid-body .card,
#cart .cart-grid-right .card,
.cart-summary,
.cart-overview {
  border-radius: 20px;
}
#cart .product-line-grid-body .product-line-info > a,
#cart .cart-item .product-line-info a,
#cart .product-line-grid-body a.label {
  color: var(--trem-ink) !important;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
#cart .product-line-grid-body .product-price {
  font-size: 1.15rem;
}
#cart .cart-summary .btn-primary,
#cart .checkout .btn-primary {
  border-radius: 999px;
  min-height: 56px;
  font-size: 1.05rem;
}

/* Mobile */
@media (max-width: 991px) {
  #header .header-nav .hidden-sm-down {
    display: none !important;
  }
  #header .header-nav .mobile {
    display: block !important;
  }
  .trem-header-search {
    padding: .8rem 0;
  }
  .trem-header-search .search-widget form input[type=text] {
    min-height: 48px;
  }
  .trem-header-search .search-widget form button {
    min-height: 48px;
    min-width: 72px;
    font-size: .95rem;
  }
  #header .top-logo .logo,
  #header #_mobile_logo .logo {
    max-height: 42px;
    width: auto;
  }
  #mobile_top_menu_wrapper {
    background: #f4f1eb;
    border-top: 1px solid var(--trem-line);
  }
}


/* =========================================================
   TREM Harmony 1.5 — compact premium category navigation
   ========================================================= */

/* Make the module a calm horizontal category rail. */
.trem-main-navigation {
  position: relative;
  z-index: 40;
  width: 100%;
  background: #f5f2ec;
  border-top: 1px solid #e7ded0;
  border-bottom: 1px solid #e7ded0;
}
.trem-main-navigation__container {
  position: static;
}
#_desktop_top_menu .trem-menu-level {
  list-style: none;
  margin: 0;
  padding: 0;
}
#_desktop_top_menu .trem-menu-level--0 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  align-items: stretch;
}
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item {
  position: static;
  min-width: 0;
  border-right: 1px solid #e7ded0;
}
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item:first-child {
  border-left: 1px solid #e7ded0;
}
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item > .trem-menu-link {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem .8rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #30363b;
  font-size: .94rem;
  line-height: 1.2;
  font-weight: 720;
  text-align: center;
  text-transform: none;
  letter-spacing: -.01em;
  white-space: normal;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
#_desktop_top_menu .trem-menu-chevron {
  display: inline-flex;
  align-items: center;
  color: #8e8a82;
  transition: transform .18s ease;
}
#_desktop_top_menu .trem-menu-chevron .material-icons {
  font-size: 1.15rem;
}
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item:hover > .trem-menu-link,
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item.is-mega-open > .trem-menu-link,
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item.current > .trem-menu-link,
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item:focus-within > .trem-menu-link {
  background: #fff;
  color: #171b1f !important;
  box-shadow: inset 0 -3px 0 #e4961f;
}
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item:hover > .trem-menu-link .trem-menu-chevron,
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item.is-mega-open > .trem-menu-link .trem-menu-chevron {
  transform: rotate(180deg);
  color: #c87d13;
}

/* Mega panel: compact, centered, no giant empty white rectangle. */
#_desktop_top_menu .trem-mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(1040px, calc(100vw - 40px));
  max-width: 1040px;
  transform: translateX(-50%) translateY(6px);
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: block !important;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
#_desktop_top_menu .trem-menu-item.is-mega-open > .trem-mega-panel,
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item:hover > .trem-mega-panel,
#_desktop_top_menu .trem-menu-level--0 > .trem-menu-item:focus-within > .trem-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
#_desktop_top_menu .trem-mega-panel__inner {
  background: #fff;
  border: 1px solid #e7ded0;
  border-top: 0;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 24px 55px rgba(17,24,39,.12);
  padding: 1.35rem 1.4rem 1.45rem;
}
#_desktop_top_menu .trem-mega-panel > .trem-mega-panel__inner > .trem-menu-level--1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .75rem 1rem;
  align-items: start;
}
#_desktop_top_menu .trem-menu-level--1 > .trem-menu-item {
  min-width: 0;
  padding: .2rem;
}
#_desktop_top_menu .trem-menu-level--1 > .trem-menu-item > .trem-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  padding: .65rem .7rem;
  border-radius: 10px;
  color: #1e2429;
  font-size: .92rem;
  font-weight: 760;
  line-height: 1.25;
  text-transform: none;
  white-space: normal;
}
#_desktop_top_menu .trem-menu-level--1 > .trem-menu-item > .trem-menu-link:hover {
  background: #f7f3ec;
  color: #8b5a16 !important;
}

/* Nested links stay visually attached to their parent group. */
#_desktop_top_menu .trem-mega-children {
  display: block !important;
  height: auto !important;
  margin: .05rem 0 0;
  padding: 0 .35rem .25rem;
}
#_desktop_top_menu .trem-menu-level--2,
#_desktop_top_menu .trem-menu-level--3,
#_desktop_top_menu .trem-menu-level--4 {
  display: flex;
  flex-direction: column;
  gap: .08rem;
}
#_desktop_top_menu .trem-menu-level--2 .trem-menu-link,
#_desktop_top_menu .trem-menu-level--3 .trem-menu-link,
#_desktop_top_menu .trem-menu-level--4 .trem-menu-link {
  display: flex;
  align-items: center;
  padding: .38rem .55rem;
  border-radius: 8px;
  color: #5a6066;
  font-size: .88rem;
  font-weight: 520;
  line-height: 1.3;
  white-space: normal;
  text-transform: none;
}
#_desktop_top_menu .trem-menu-level--2 .trem-menu-link::before,
#_desktop_top_menu .trem-menu-level--3 .trem-menu-link::before,
#_desktop_top_menu .trem-menu-level--4 .trem-menu-link::before {
  content: '';
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  margin-right: .5rem;
  border-radius: 50%;
  background: #d6b06e;
}
#_desktop_top_menu .trem-menu-level--2 .trem-menu-link:hover,
#_desktop_top_menu .trem-menu-level--3 .trem-menu-link:hover,
#_desktop_top_menu .trem-menu-level--4 .trem-menu-link:hover {
  background: #faf7f2;
  color: #8b5a16 !important;
}

/* If a group has no nested links, make it a useful compact tile. */
#_desktop_top_menu .trem-menu-level--1 > .trem-menu-item:not(.has-children) > .trem-menu-link {
  min-height: 44px;
  border: 1px solid #eee6da;
  background: #fbf9f5;
}

/* Make dropdown content fit its actual amount of information. */
#_desktop_top_menu .trem-mega-panel .trem-menu-level--1:has(> li:nth-child(-n+3):last-child) {
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  max-width: 760px;
}

/* Desktop widths: avoid overpacked category text. */
@media (min-width: 992px) and (max-width: 1199px) {
  #_desktop_top_menu .trem-menu-level--0 > .trem-menu-item > .trem-menu-link {
    font-size: .84rem;
    padding-inline: .45rem;
  }
  #_desktop_top_menu .trem-mega-panel > .trem-mega-panel__inner > .trem-menu-level--1 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mobile becomes a clean accordion rather than a desktop mega-menu squeezed down. */
@media (max-width: 991px) {
  #mobile_top_menu_wrapper {
    margin: 0;
    padding: .65rem .75rem 1rem;
    background: #f7f3ec;
    border-top: 1px solid #e7ded0;
  }
  #mobile_top_menu_wrapper .trem-main-navigation,
  #mobile_top_menu_wrapper #_desktop_top_menu,
  #mobile_top_menu_wrapper .trem-main-navigation__container {
    display: block !important;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
  }
  #mobile_top_menu_wrapper .trem-menu-level--0 {
    display: block;
  }
  #mobile_top_menu_wrapper .trem-menu-level--0 > .trem-menu-item {
    border: 0;
    border-bottom: 1px solid #e7ded0;
  }
  #mobile_top_menu_wrapper .trem-menu-level--0 > .trem-menu-item > .trem-menu-link,
  #mobile_top_menu_wrapper .trem-menu-level--1 > .trem-menu-item > .trem-menu-link {
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .72rem .55rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #20262b !important;
    font-size: .95rem;
    font-weight: 700;
    text-align: left;
  }
  #mobile_top_menu_wrapper .trem-mega-panel {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    display: none !important;
  }
  #mobile_top_menu_wrapper .trem-mega-panel.in,
  #mobile_top_menu_wrapper .trem-mega-panel.show {
    display: block !important;
  }
  #mobile_top_menu_wrapper .trem-mega-panel__inner {
    padding: .25rem .35rem .7rem .65rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  #mobile_top_menu_wrapper .trem-menu-level--1,
  #mobile_top_menu_wrapper .trem-menu-level--2,
  #mobile_top_menu_wrapper .trem-menu-level--3 {
    display: block;
  }
  #mobile_top_menu_wrapper .trem-menu-level--1 > .trem-menu-item {
    padding: 0;
  }
  #mobile_top_menu_wrapper .trem-menu-level--1 > .trem-menu-item:not(.has-children) > .trem-menu-link {
    min-height: 44px;
    border: 0;
    background: transparent;
    font-weight: 600;
  }
  #mobile_top_menu_wrapper .trem-menu-level--2 .trem-menu-link,
  #mobile_top_menu_wrapper .trem-menu-level--3 .trem-menu-link {
    padding: .48rem .5rem .48rem 1rem;
    font-size: .9rem;
  }
  #mobile_top_menu_wrapper .trem-mega-children {
    display: none !important;
    padding-left: .35rem;
  }
  #mobile_top_menu_wrapper .trem-mega-children.in,
  #mobile_top_menu_wrapper .trem-mega-children.show {
    display: block !important;
  }
}


/* =========================================================
   TREM Harmony 1.6 — mega-menu usability / density fixes
   Fixes inherited Classic min-width + floats and removes the hover gap.
   ========================================================= */

@media (min-width: 992px) {
  /* Keep the dropdown physically attached to the category rail. */
  #_desktop_top_menu .trem-menu-level--0 > .trem-menu-item > .trem-mega-panel {
    top: calc(100% - 1px) !important;
    left: 50% !important;
    width: min(900px, calc(100vw - 48px)) !important;
    min-width: 0 !important;
    max-width: 900px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    overflow: visible !important;
  }

  #_desktop_top_menu .trem-menu-level--0 > .trem-menu-item.is-mega-open > .trem-mega-panel,
  #_desktop_top_menu .trem-menu-level--0 > .trem-menu-item:hover > .trem-mega-panel,
  #_desktop_top_menu .trem-menu-level--0 > .trem-menu-item:focus-within > .trem-mega-panel {
    transform: translateX(-50%) !important;
  }

  /* A tiny invisible hover bridge makes diagonal mouse movement forgiving. */
  #_desktop_top_menu .trem-menu-level--0 > .trem-menu-item.has-children > .trem-mega-panel::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 9px;
  }

  #_desktop_top_menu .trem-mega-panel__inner {
    padding: 1rem 1.05rem 1.1rem !important;
    border-radius: 0 0 16px 16px !important;
  }

  /* Critical reset of inherited Classic rules that made the menu spread out. */
  #_desktop_top_menu .trem-mega-panel .trem-menu-level--1 > .trem-menu-item {
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #_desktop_top_menu .trem-mega-panel > .trem-mega-panel__inner > .trem-menu-level--1 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: .65rem .75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: start !important;
  }

  /* Smaller menus should not pretend to need four columns. */
  #_desktop_top_menu .trem-mega-panel .trem-menu-level--1:has(> li:first-child:last-child) {
    grid-template-columns: minmax(230px, 360px) !important;
    max-width: 360px;
  }
  #_desktop_top_menu .trem-mega-panel .trem-menu-level--1:has(> li:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(210px, 1fr)) !important;
    max-width: 560px;
  }
  #_desktop_top_menu .trem-mega-panel .trem-menu-level--1:has(> li:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(190px, 1fr)) !important;
    max-width: 720px;
  }

  #_desktop_top_menu .trem-menu-level--1 > .trem-menu-item > .trem-menu-link {
    min-height: 42px;
    padding: .62rem .68rem !important;
    border: 1px solid #eee6da;
    border-radius: 10px;
    background: #fbf9f5;
    font-size: .9rem !important;
    line-height: 1.22 !important;
  }

  #_desktop_top_menu .trem-menu-level--1 > .trem-menu-item.has-children > .trem-menu-link {
    background: #f6f1e8;
    border-color: #e7dac6;
  }

  #_desktop_top_menu .trem-mega-children,
  #_desktop_top_menu .trem-mega-children.collapse,
  #_desktop_top_menu .trem-mega-children.in,
  #_desktop_top_menu .trem-mega-children.show {
    position: static !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: .18rem 0 0 !important;
    padding: .15rem .2rem 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  #_desktop_top_menu .trem-menu-level--2,
  #_desktop_top_menu .trem-menu-level--3,
  #_desktop_top_menu .trem-menu-level--4 {
    margin: 0 !important;
    padding: 0 !important;
  }

  #_desktop_top_menu .trem-menu-level--2 .trem-menu-item,
  #_desktop_top_menu .trem-menu-level--3 .trem-menu-item,
  #_desktop_top_menu .trem-menu-level--4 .trem-menu-item {
    float: none !important;
    margin: 0 !important;
    width: 100% !important;
  }

  #_desktop_top_menu .trem-menu-level--2 .trem-menu-link,
  #_desktop_top_menu .trem-menu-level--3 .trem-menu-link,
  #_desktop_top_menu .trem-menu-level--4 .trem-menu-link {
    padding: .34rem .45rem !important;
    font-size: .84rem !important;
    line-height: 1.28 !important;
  }

  /* Avoid extremely tall panels on categories with many groups. */
  #_desktop_top_menu .trem-mega-panel__inner {
    max-height: min(68vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #_desktop_top_menu .trem-menu-level--0 > .trem-menu-item > .trem-mega-panel {
    width: min(820px, calc(100vw - 32px)) !important;
    max-width: 820px !important;
  }
  #_desktop_top_menu .trem-mega-panel > .trem-mega-panel__inner > .trem-menu-level--1 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}


/* =========================================================
   TREM Harmony 1.7 — harmonious homepage product system
   ========================================================= */

.page-home #trem-home-products {
  background: #f7f3ec;
  border-top: 1px solid var(--trem-line);
  padding: 3.4rem 0 4.5rem;
}
.page-home #trem-home-products > section,
.page-home #trem-home-products > .featured-products,
.page-home #trem-home-products .trem-product-section {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.page-home .trem-product-section {
  margin-top: 0;
  margin-bottom: 4.25rem;
  padding: 0 1rem;
}
.page-home .trem-product-section:last-child {
  margin-bottom: 0;
}
.page-home .trem-product-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.page-home .trem-product-section__copy {
  max-width: 690px;
}
.page-home .trem-product-section__eyebrow {
  display: inline-block;
  margin-bottom: .45rem;
  color: #9a6f21;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.page-home .trem-product-section .products-section-title {
  margin: 0;
  color: var(--trem-ink);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-align: left;
  text-transform: none;
  font-weight: 800;
}
.page-home .trem-product-section__lead {
  margin: .55rem 0 0;
  color: var(--trem-muted);
  font-size: .96rem;
  line-height: 1.55;
}
.page-home .trem-product-section__all {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  flex: 0 0 auto;
  padding: .7rem .95rem;
  border: 1px solid #d8cfbf;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: var(--trem-ink);
  font-weight: 750;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.page-home .trem-product-section__all:hover {
  background: #fff;
  border-color: #c7b99e;
  color: var(--trem-ink);
  transform: translateY(-1px);
  text-decoration: none;
}
.page-home .trem-product-section__all .material-icons {
  font-size: 1rem;
}

.page-home .trem-product-grid {
  margin-left: -.65rem;
  margin-right: -.65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.page-home .trem-product-grid > .product {
  padding-left: .65rem;
  padding-right: .65rem;
  margin-bottom: 1.3rem;
  display: flex;
}
.page-home .product-miniature {
  width: 100%;
  min-height: 100%;
  border: 1px solid #e4dac9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(31,36,40,.035);
  overflow: hidden;
  transform: none;
}
.page-home .product-miniature:hover {
  transform: translateY(-4px);
  border-color: #d2c3aa;
  box-shadow: 0 18px 42px rgba(31,36,40,.09);
}
.page-home .product-miniature .thumbnail-container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.page-home .product-miniature .thumbnail-top {
  position: relative;
  min-height: 250px;
  background: #fbfaf7;
  border-bottom: 1px solid #eee7db;
}
.page-home .product-miniature .product-thumbnail {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
}
.page-home .product-miniature .product-thumbnail img {
  width: 100%;
  height: 100%;
  max-width: 235px;
  max-height: 215px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .25s ease;
}
.page-home .product-miniature:hover .product-thumbnail img {
  transform: scale(1.025);
}
.page-home .product-miniature .product-description {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 1rem 1.05rem 1.05rem;
  background: #fff;
}
.page-home .product-miniature .product-title {
  min-height: 3.9em;
  margin: 0 0 .7rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-align: left;
  line-height: 1.3;
}
.page-home .product-miniature .product-title a {
  color: #20252a;
  font-size: .94rem;
  font-weight: 700;
}
.page-home .product-miniature .product-title a:hover {
  color: #8b641f;
  text-decoration: none;
}
.page-home .product-miniature .product-price-and-shipping {
  min-height: 44px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem .55rem;
  margin-top: auto;
  margin-bottom: .85rem;
  text-align: left;
}
.page-home .product-miniature .price {
  order: 1;
  color: #171b1f;
  font-size: 1.22rem;
  font-weight: 850;
  letter-spacing: -.02em;
}
.page-home .product-miniature .regular-price {
  order: 2;
  color: #8a8f95;
  font-size: .9rem;
  text-decoration-thickness: 1px;
}
.page-home .product-miniature .discount-percentage,
.page-home .product-miniature .discount-amount,
.page-home .product-miniature .discount-product {
  order: 3;
  margin: 0;
  padding: .28rem .48rem;
  border-radius: 7px;
  background: #f3e7d1 !important;
  color: #8c5a0c !important;
  font-size: .73rem;
  font-weight: 800;
}
.page-home .product-miniature .product-comments {
  margin: 0 0 .7rem;
}
.page-home .product-flags {
  top: .8rem;
  left: .8rem;
}
.page-home .product-flags li.product-flag {
  min-width: 0;
  margin: 0 0 .35rem;
  padding: .32rem .52rem;
  border-radius: 7px !important;
  box-shadow: none;
  font-size: .7rem;
  line-height: 1.1;
  font-weight: 800;
  text-transform: none;
}
.page-home .product-flags li.product-flag.new {
  background: #24292e !important;
  color: #fff;
}
.page-home .product-flags li.product-flag.discount,
.page-home .product-flags li.product-flag.on-sale {
  background: #e4961f !important;
  color: #171b1f !important;
}
.page-home .trem-product-card__action {
  margin-top: auto;
  padding-top: .1rem;
}
.page-home .trem-product-card__button {
  min-height: 42px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .68rem .8rem;
  border-radius: 10px;
  background: #f4f1eb;
  color: #20252a;
  font-size: .88rem;
  font-weight: 750;
  transition: background .18s ease, color .18s ease;
}
.page-home .trem-product-card__button:hover {
  background: #20252a;
  color: #fff;
  text-decoration: none;
}
.page-home .trem-product-card__button .material-icons {
  font-size: 1rem;
}
.page-home .product-miniature .highlighted-informations {
  display: none !important;
}

/* Give each home section a subtle divider instead of unrelated visual blocks */
.page-home .trem-product-section + .trem-product-section {
  padding-top: 3.6rem;
  border-top: 1px solid #e4dac9;
}

@media (max-width: 991px) {
  .page-home #trem-home-products {
    padding-top: 2.6rem;
  }
  .page-home .trem-product-section {
    margin-bottom: 3.2rem;
  }
  .page-home .trem-product-section__head {
    align-items: center;
  }
  .page-home .product-miniature .thumbnail-top,
  .page-home .product-miniature .product-thumbnail {
    min-height: 220px;
    height: 220px;
  }
  .page-home .product-miniature .product-thumbnail img {
    max-height: 190px;
  }
}

@media (max-width: 575px) {
  .page-home #trem-home-products {
    padding: 2rem 0 3rem;
  }
  .page-home .trem-product-section {
    padding: 0 .75rem;
    margin-bottom: 2.6rem;
  }
  .page-home .trem-product-section + .trem-product-section {
    padding-top: 2.4rem;
  }
  .page-home .trem-product-section__head {
    display: block;
    margin-bottom: 1rem;
  }
  .page-home .trem-product-section__all {
    margin-top: .9rem;
    min-height: 40px;
  }
  .page-home .trem-product-grid {
    margin-left: -.4rem;
    margin-right: -.4rem;
  }
  .page-home .trem-product-grid > .product {
    padding-left: .4rem;
    padding-right: .4rem;
  }
  .page-home .product-miniature .thumbnail-top,
  .page-home .product-miniature .product-thumbnail {
    min-height: 210px;
    height: 210px;
  }
  .page-home .product-miniature .product-description {
    min-height: 195px;
  }
}


/* =========================================================
   TREM Harmony 1.8 — category-first homepage
   ========================================================= */
.page-home #trem-home-products {
  display: none !important;
}

/* New arrivals are intentionally shown near the top so the homepage reads as a shop. */
.page-home .trem-home-new-products {
  margin: 2.8rem 0 0;
  padding: 3rem 1rem 3.4rem;
  background: #f7f3ec;
  border-top: 1px solid var(--trem-line);
  border-bottom: 1px solid var(--trem-line);
  border-radius: var(--trem-radius-lg);
}
.page-home .trem-home-new-products .trem-product-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 767px) {
  .page-home .trem-home-new-products {
    margin: 2rem 0 0;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }
  .page-home .trem-home-new-products .trem-product-section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: .9rem;
  }
}

.trem-home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.8rem 0 1.25rem;
}
.trem-home-section-heading__eyebrow {
  color: var(--trem-brand);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: .8rem;
}
.trem-home-section-heading__title {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--trem-ink);
}
.trem-home-section-heading__lead {
  margin: .7rem 0 0;
  color: var(--trem-muted);
  max-width: 700px;
  font-size: 1.05rem;
}

.trem-home-categories {
  padding: .2rem 0 3rem;
}
.trem-home-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.trem-home-category-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--trem-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
  box-shadow: 0 10px 28px rgba(17,24,39,.05);
  padding: 1.25rem 1.25rem 1.15rem;
}
.trem-home-category-card__top {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: .95rem;
}
.trem-home-category-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7e8;
  color: #d28d1d;
  flex: 0 0 48px;
}
.trem-home-category-card__icon .material-icons { font-size: 1.45rem; }
.trem-home-category-card__title {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.trem-home-category-card__title a {
  color: var(--trem-ink);
  text-decoration: none;
}
.trem-home-category-card__title a:hover { color: var(--trem-brand); }
.trem-home-category-card__desc {
  margin: .2rem 0 0;
  color: var(--trem-muted);
  font-size: .92rem;
}
.trem-home-category-card__links {
  list-style: none;
  margin: .35rem 0 1rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.trem-home-category-card__links li {
  margin: 0;
}
.trem-home-category-card__links a {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #364152;
  text-decoration: none;
  font-weight: 600;
  padding: .1rem 0;
}
.trem-home-category-card__links a::before {
  content: '•';
  color: #d28d1d;
  font-size: 1rem;
  line-height: 1;
}
.trem-home-category-card__links a:hover {
  color: var(--trem-brand);
}
.trem-home-category-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding: .82rem 1rem;
  border-radius: 999px;
  border: 1px solid #ded4c6;
  color: var(--trem-ink);
  font-weight: 700;
  text-decoration: none;
  background: #fff;
}
.trem-home-category-card__cta:hover {
  color: var(--trem-brand);
  border-color: #c8b798;
  text-decoration: none;
}
.trem-home-category-card__cta .material-icons {
  font-size: 1.1rem;
}
.trem-home-category-card__empty {
  color: var(--trem-muted);
  margin: .4rem 0 1rem;
}

@media (max-width: 1199px) {
  .trem-home-categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .trem-home-section-heading { margin-top: 2rem; }
  .trem-home-categories__grid { grid-template-columns: 1fr; gap: .85rem; }
  .trem-home-category-card { border-radius: 18px; }
}


/* =========================================================
   TREM Harmony 1.9 — fixed premium category showcase
   ========================================================= */
.page-home .trem-home-categories--fixed { padding-bottom: 1.5rem; }
.trem-fixed-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.trem-premium-category {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2d8c9;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(17,24,39,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.trem-premium-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(17,24,39,.09);
  border-color: #d2c2aa;
}
.trem-premium-category__visual {
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f7f4ee;
  border-bottom: 1px solid #eee5d8;
}
.trem-premium-category__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .32s ease;
}
.trem-premium-category:hover .trem-premium-category__visual img { transform: scale(1.025); }
.trem-premium-category__badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(23,27,31,.94);
  color: #f0b24a;
  box-shadow: 0 8px 18px rgba(17,24,39,.16);
}
.trem-premium-category__badge .material-icons { font-size: 1.35rem; }
.trem-premium-category__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.2rem 1.2rem 1.15rem;
}
.trem-premium-category h3 {
  margin: 0 0 .55rem;
  font-size: 1.28rem;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.trem-premium-category h3 a { color: var(--trem-ink); text-decoration: none; }
.trem-premium-category h3 a:hover { color: var(--trem-brand); }
.trem-premium-category p {
  color: var(--trem-muted);
  line-height: 1.55;
  margin: 0 0 .9rem;
  min-height: 3em;
}
.trem-premium-category__links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.05rem;
  display: grid;
  gap: .45rem;
}
.trem-premium-category__links li,
.trem-premium-category__links a {
  color: #4a5563;
  font-weight: 600;
  font-size: .93rem;
}
.trem-premium-category__links li {
  position: relative;
  padding-left: 1rem;
}
.trem-premium-category__links li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dc972c;
}
.trem-premium-category__links a { text-decoration: none; }
.trem-premium-category__links a:hover { color: var(--trem-brand); }
.trem-premium-category__cta {
  margin-top: auto;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .72rem .95rem;
  border-radius: 12px;
  border: 1px solid #ddd1bf;
  color: var(--trem-ink);
  background: #fbf8f3;
  font-weight: 750;
  text-decoration: none;
}
.trem-premium-category__cta:hover {
  color: #fff;
  background: #1d2227;
  border-color: #1d2227;
  text-decoration: none;
}
.trem-premium-category__cta .material-icons { font-size: 1.1rem; }

.trem-home-bottom-trust {
  margin: 1.1rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e3d9ca;
  border-radius: 22px;
  background: #fbf8f3;
  overflow: hidden;
}
.trem-home-bottom-trust > div {
  padding: 1.15rem 1.15rem;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  column-gap: .75rem;
  border-right: 1px solid #e3d9ca;
}
.trem-home-bottom-trust > div:last-child { border-right: 0; }
.trem-home-bottom-trust .material-icons {
  grid-row: 1 / 3;
  color: #d88e20;
  font-size: 1.55rem;
  padding-top: .08rem;
}
.trem-home-bottom-trust strong { display: block; color: var(--trem-ink); font-size: .96rem; }
.trem-home-bottom-trust span { display: block; color: var(--trem-muted); font-size: .82rem; line-height: 1.4; margin-top: .15rem; }

.trem-footer-contact #contact-infos a { color: var(--trem-ink); }
.trem-footer-contact #contact-infos a:hover { color: var(--trem-brand); }

@media (max-width: 991px) {
  .trem-fixed-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trem-home-bottom-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trem-home-bottom-trust > div:nth-child(2) { border-right: 0; }
  .trem-home-bottom-trust > div:nth-child(-n+2) { border-bottom: 1px solid #e3d9ca; }
}
@media (max-width: 575px) {
  .trem-fixed-categories { grid-template-columns: 1fr; gap: .85rem; }
  .trem-premium-category { border-radius: 18px; }
  .trem-premium-category__body { padding: 1rem; }
  .trem-home-bottom-trust { grid-template-columns: 1fr; border-radius: 18px; }
  .trem-home-bottom-trust > div,
  .trem-home-bottom-trust > div:nth-child(2) { border-right: 0; border-bottom: 1px solid #e3d9ca; }
  .trem-home-bottom-trust > div:last-child { border-bottom: 0; }
}


/* =========================================================
   TREM Harmony 2.0 — sharper homepage category visuals
   ========================================================= */
.trem-premium-category__visual {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f0 100%);
}
.trem-premium-category__visual img {
  object-fit: contain;
  object-position: center center;
  padding: 1rem;
  box-sizing: border-box;
  image-rendering: auto;
  filter: saturate(1.02) contrast(1.01);
}
.trem-premium-category:hover .trem-premium-category__visual img {
  transform: scale(1.015);
}
@media (max-width: 991px) {
  .trem-premium-category__visual { aspect-ratio: 16 / 10; }
}


/* =========================================================
   TREM Harmony 2.4 — Cart & Checkout system polish
   ========================================================= */

/* Undo generic badge styling for ordinary text in cart/checkout */
#cart .label,
#checkout .label,
#order-confirmation .label,
#cart .trem-summary-label,
#checkout .trem-summary-label {
  background: transparent !important;
  border: 0 !important;
  color: var(--trem-ink) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  white-space: normal !important;
}

/* Cart page spacing */
#cart #wrapper {
  background: #fbfaf7;
}
#cart #main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
#cart .cart-grid {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin-left: 0;
  margin-right: 0;
}
#cart .cart-grid-body,
#cart .cart-grid-right {
  padding-left: 0;
  padding-right: 0;
}
#cart .cart-grid-body { flex: 1 1 0; max-width: none; }
#cart .cart-grid-right { flex: 0 0 360px; max-width: 360px; }

#cart .cart-container,
#cart .cart-summary {
  background: #fff;
  border: 1px solid #e2d8ca;
  box-shadow: 0 12px 34px rgba(17,24,39,.045);
  overflow: hidden;
}
#cart .cart-container { border-radius: 22px; }
#cart .cart-summary { border-radius: 22px; position: sticky; top: 1rem; }

#cart .trem-cart-heading {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.55rem;
}
#cart .trem-cart-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--trem-brand);
  margin-bottom: .35rem;
}
#cart .trem-cart-heading .h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  letter-spacing: -.035em;
  color: var(--trem-ink);
}
#cart .trem-cart-heading__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f7f1e8;
  color: #c9831e;
}
#cart .separator { margin: 0; border-color: #eee5d9; }

/* Product row */
#cart .cart-overview { padding: 0; }
#cart .cart-item {
  padding: 0 1.4rem;
  border-bottom: 1px solid #eee5d9;
}
#cart .cart-item:last-child { border-bottom: 0; }
#cart .product-line-grid {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 180px;
  padding: 1.25rem 0;
  margin: 0;
}
#cart .product-line-grid-left {
  flex: 0 0 132px;
  max-width: 132px;
  padding: 0;
}
#cart .product-line-grid-left .product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 16px;
  background: #faf8f4;
  border: 1px solid #eee5d9;
  overflow: hidden;
}
#cart .product-line-grid-left img {
  max-width: 118px;
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
}
#cart .product-line-grid-body {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  padding: 0;
}
#cart .trem-cart-product-name {
  display: inline-block;
  max-width: 520px;
  color: var(--trem-ink) !important;
  text-decoration: none;
  font-size: 1.03rem;
  line-height: 1.42;
  font-weight: 750;
}
#cart .trem-cart-product-name:hover { color: var(--trem-brand) !important; }
#cart .product-line-grid-body .product-price {
  margin-top: .55rem;
  font-size: 1rem;
}
#cart .product-discount {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: .25rem;
}
#cart .product-discount .regular-price {
  color: #8b9097;
  font-size: .93rem;
  text-decoration-thickness: 1px;
}
#cart .product-discount .discount {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: #fff1df !important;
  color: #b66516 !important;
  font-size: .8rem;
  font-weight: 800;
}
#cart .current-price .price {
  color: var(--trem-ink);
  font-size: 1.12rem;
  font-weight: 800;
}
#cart .product-line-info:not(:first-child) { color: var(--trem-muted); }
#cart .trem-cart-attribute-label {
  color: var(--trem-muted);
  font-weight: 700;
  margin-right: .25rem;
}

#cart .product-line-grid-right {
  flex: 0 0 330px;
  max-width: 330px;
  padding: 0;
}
#cart .product-line-grid-right > .row,
#cart .product-line-grid-right .col-md-10 > .row {
  display: flex;
  align-items: center;
  margin: 0;
}
#cart .product-line-grid-right .col-md-10 {
  flex: 1 1 auto;
  max-width: none;
  padding: 0;
}
#cart .product-line-grid-right .qty,
#cart .product-line-grid-right .price {
  padding: 0 .45rem;
}
#cart .product-line-grid-right .qty { flex: 0 0 120px; max-width: 120px; }
#cart .product-line-grid-right .price { flex: 1 1 auto; max-width: none; text-align: right; }
#cart .product-line-grid-right .product-price strong {
  font-size: 1.08rem;
  color: var(--trem-ink);
  white-space: nowrap;
}

/* Quantity control */
#cart .bootstrap-touchspin {
  width: 112px;
  display: flex;
  border: 1px solid #dcd2c4;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
#cart .bootstrap-touchspin input.js-cart-line-product-quantity {
  width: 66px !important;
  min-height: 46px;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center;
  box-shadow: none !important;
  font-weight: 700;
  color: var(--trem-ink);
}
#cart .bootstrap-touchspin .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
  width: 44px;
  border-left: 1px solid #e4dbcf;
}
#cart .bootstrap-touchspin .btn-touchspin {
  position: static !important;
  width: 44px;
  height: 23px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #faf8f4 !important;
  color: #4b5563 !important;
  box-shadow: none !important;
}
#cart .bootstrap-touchspin .btn-touchspin:hover { background: #f3ede4 !important; }

#cart .cart-line-product-actions {
  display: flex;
  justify-content: flex-end;
}
#cart .trem-cart-remove {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #6f7680 !important;
  background: #faf8f4;
  border: 1px solid #e5dccf;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
#cart .trem-cart-remove:hover {
  color: #9b3d2f !important;
  background: #fff3f0;
  border-color: #eccbc5;
}
#cart .trem-cart-remove .material-icons { margin: 0; font-size: 1.25rem; }

#cart .trem-cart-continue {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: 1rem;
  padding: .7rem .15rem;
  color: #4b5563 !important;
  font-weight: 700;
  text-decoration: none;
  background: transparent !important;
  border: 0 !important;
}
#cart .trem-cart-continue:hover { color: var(--trem-brand) !important; }

/* Summary */
#cart .cart-summary .card-block { padding: 1.35rem 1.4rem; }
#cart .cart-detailed-subtotals { border-bottom: 1px solid #eee5d9; }
#cart .cart-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
  color: var(--trem-ink);
}
#cart .cart-summary-line:last-child { margin-bottom: 0; }
#cart .cart-summary-line .trem-summary-label,
#cart .cart-summary-line .label {
  color: #5f6670 !important;
  font-weight: 600 !important;
}
#cart .cart-summary-line .value {
  color: var(--trem-ink);
  font-weight: 750;
  white-space: nowrap;
}
#cart .cart-summary-totals {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
  border-bottom: 1px solid #eee5d9;
}
#cart .cart-summary-line.cart-total {
  margin: 0;
}
#cart .cart-summary-line.cart-total .trem-summary-label,
#cart .cart-summary-line.cart-total .label,
#cart .cart-summary-line.cart-total .value {
  color: var(--trem-ink) !important;
  font-size: 1.12rem;
  font-weight: 850 !important;
}
#cart .cart-voucher { padding: 1rem 1.4rem 0; }
#cart .cart-voucher .promo-code-button { color: var(--trem-brand); font-weight: 700; }
#cart .cart-detailed-actions { padding: 1.3rem 1.4rem 1.5rem; }
#cart .cart-detailed-actions .btn-primary {
  width: 100%;
  min-height: 58px;
  border-radius: 999px;
  background: var(--trem-charcoal) !important;
  border-color: var(--trem-charcoal) !important;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}
#cart .cart-detailed-actions .btn-primary:hover {
  background: #111418 !important;
  border-color: #111418 !important;
}

/* Checkout header */
.trem-checkout-header {
  background: #fff;
  border-top: 3px solid #171b1f;
  border-bottom: 1px solid #e7ded0;
}
.trem-checkout-header__inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.trem-checkout-header__logo { display: inline-flex; align-items: center; }
.trem-checkout-header__logo .logo {
  width: auto;
  max-width: 220px;
  max-height: 54px;
  object-fit: contain;
}
.trem-checkout-header__meta {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.trem-checkout-header__meta span,
.trem-checkout-header__meta a {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: #48505a;
  font-weight: 650;
}
.trem-checkout-header__meta .material-icons { color: #c9831e; font-size: 1.1rem; }
.trem-checkout-header__mobile-lock { color: #c9831e; }

/* Checkout body */
#checkout #wrapper {
  background: #fbfaf7;
}
#checkout #content {
  padding-top: 2rem;
  padding-bottom: 3rem;
}
#checkout #content > .row {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  margin: 0;
}
#checkout .cart-grid-body,
#checkout .cart-grid-right { padding: 0; }
#checkout .cart-grid-body { flex: 1 1 0; max-width: none; }
#checkout .cart-grid-right { flex: 0 0 360px; max-width: 360px; }
#checkout .checkout-step {
  overflow: hidden;
  margin-bottom: .85rem;
  background: #fff;
  border: 1px solid #e2d8ca;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(17,24,39,.035);
}
#checkout .checkout-step .step-title {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0;
  padding: 1rem 1.2rem;
  color: var(--trem-ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: none;
  border-bottom: 1px solid #eee5d9;
  background: #fff;
}
#checkout .checkout-step .step-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7f1e8;
  color: #b76f15;
  font-size: .82rem;
  font-weight: 850;
}
#checkout .checkout-step.-current .step-number,
#checkout .checkout-step.-complete .step-number {
  background: #1f2428;
  color: #fff;
}
#checkout .checkout-step .content { padding: 1.35rem; }
#checkout .checkout-step .step-edit { margin-left: auto; font-size: .82rem; }
#checkout .form-control,
#checkout textarea,
#checkout select {
  border-color: #dcd2c4;
  background: #fff;
}
#checkout .form-control:focus,
#checkout textarea:focus,
#checkout select:focus {
  border-color: #c8ac75;
  box-shadow: 0 0 0 .18rem rgba(216,167,78,.14);
}
#checkout .btn-primary {
  min-height: 50px;
  border-radius: 999px;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
  text-transform: none;
  font-weight: 800;
  letter-spacing: 0;
}
#checkout .delivery-option,
#checkout .payment-option {
  border: 1px solid #e4dbcf;
  border-radius: 14px;
  background: #fff;
  padding: .85rem;
  margin-bottom: .7rem;
}
#checkout .delivery-option:hover,
#checkout .payment-option:hover {
  border-color: #cdbb9f;
  background: #fffdf9;
}
#checkout #js-checkout-summary,
#checkout .cart-summary {
  background: #fff;
  border: 1px solid #e2d8ca;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(17,24,39,.045);
  overflow: hidden;
  position: sticky;
  top: 1rem;
}
#checkout .cart-summary-products,
#checkout .cart-summary-subtotals-container,
#checkout .cart-summary-totals { padding: 1.2rem 1.3rem; }
#checkout .cart-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
#checkout .cart-summary-line .trem-summary-label,
#checkout .cart-summary-line .label { color: #5f6670 !important; font-weight: 600 !important; }
#checkout .cart-summary-line .value { color: var(--trem-ink); font-weight: 750; }
#checkout .cart-summary-line.cart-total .trem-summary-label,
#checkout .cart-summary-line.cart-total .label,
#checkout .cart-summary-line.cart-total .value {
  color: var(--trem-ink) !important;
  font-size: 1.08rem;
  font-weight: 850 !important;
}

.trem-checkout-footer {
  background: #f5f1ea;
  border-top: 1px solid #e3d9ca;
  padding: 1rem 0;
}
.trem-checkout-footer__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #6b7280;
  font-size: .88rem;
}
.trem-checkout-footer a { color: var(--trem-ink); }

@media (max-width: 1199px) {
  #cart .cart-grid,
  #checkout #content > .row { gap: 1rem; }
  #cart .cart-grid-right,
  #checkout .cart-grid-right { flex-basis: 330px; max-width: 330px; }
  #cart .product-line-grid-right { flex-basis: 280px; max-width: 280px; }
}

@media (max-width: 991px) {
  #cart .cart-grid,
  #checkout #content > .row {
    display: block;
  }
  #cart .cart-grid-right,
  #checkout .cart-grid-right {
    max-width: none;
    width: 100%;
    margin-top: 1rem;
  }
  #cart .cart-summary,
  #checkout #js-checkout-summary,
  #checkout .cart-summary { position: static; }
  #cart .product-line-grid {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  #cart .product-line-grid-left { flex-basis: 110px; max-width: 110px; }
  #cart .product-line-grid-left .product-image { width: 110px; height: 110px; }
  #cart .product-line-grid-left img { max-width: 98px; max-height: 98px; }
  #cart .product-line-grid-body { flex: 1 1 calc(100% - 130px); }
  #cart .product-line-grid-right {
    flex: 1 1 100%;
    max-width: none;
    padding-left: 130px;
  }
  .trem-checkout-header__inner { min-height: 76px; }
  .trem-checkout-header__logo .logo { max-height: 46px; max-width: 190px; }
}

@media (max-width: 575px) {
  #cart #main,
  #checkout #content { padding-top: 1rem; }
  #cart .cart-container,
  #cart .cart-summary,
  #checkout .checkout-step,
  #checkout #js-checkout-summary { border-radius: 16px; }
  #cart .trem-cart-heading { min-height: 78px; padding: 1rem; }
  #cart .trem-cart-heading__icon { width: 42px; height: 42px; }
  #cart .cart-item { padding: 0 1rem; }
  #cart .product-line-grid { gap: .8rem; min-height: 0; padding: 1rem 0; }
  #cart .product-line-grid-left { flex-basis: 86px; max-width: 86px; }
  #cart .product-line-grid-left .product-image { width: 86px; height: 86px; border-radius: 13px; }
  #cart .product-line-grid-left img { max-width: 78px; max-height: 78px; }
  #cart .product-line-grid-body { flex-basis: calc(100% - 98px); }
  #cart .trem-cart-product-name { font-size: .96rem; }
  #cart .product-line-grid-right { padding-left: 0; }
  #cart .product-line-grid-right > .row { width: 100%; }
  #cart .product-line-grid-right .qty { flex-basis: 110px; max-width: 110px; }
  #cart .product-line-grid-right .price { text-align: left; }
  #cart .cart-line-product-actions { margin-left: auto; }
  #checkout .checkout-step .content { padding: 1rem; }
  .trem-checkout-footer__inner { flex-direction: column; justify-content: center; text-align: center; padding: .7rem 0; }
}


/* =========================================================
   TREM Harmony 2.5 — compact privacy / GDPR consent in checkout
   ========================================================= */
#checkout .trem-privacy-consent {
  margin: .85rem 0 1.05rem;
  padding: .95rem 1rem;
  border: 1px solid #e4d9c9;
  border-radius: 14px;
  background: #fbf8f3;
  max-width: 100%;
}
#checkout .trem-privacy-consent__check {
  margin: 0;
}
#checkout .trem-privacy-consent__label {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0;
  cursor: pointer;
  color: #252a2f;
  font-size: .9rem;
  line-height: 1.45;
  font-weight: 600;
}
#checkout .trem-privacy-consent__label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
#checkout .trem-privacy-consent__box {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #b9aa94;
  border-radius: 5px;
  background: #fff;
  margin-top: .05rem;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
#checkout .trem-privacy-consent__box .material-icons {
  display: none;
  font-size: 15px;
  line-height: 1;
  color: #fff;
}
#checkout .trem-privacy-consent__label input:checked + .trem-privacy-consent__box {
  background: #20252a;
  border-color: #20252a;
}
#checkout .trem-privacy-consent__label input:checked + .trem-privacy-consent__box .material-icons {
  display: block;
}
#checkout .trem-privacy-consent__label input:focus-visible + .trem-privacy-consent__box {
  box-shadow: 0 0 0 3px rgba(228,150,31,.2);
  border-color: #d58b18;
}
#checkout .trem-privacy-consent__details {
  margin: .75rem 0 0 2.7rem;
  border-top: 1px solid #eadfce;
  padding-top: .7rem;
}
#checkout .trem-privacy-consent__details summary {
  display: flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  list-style: none;
  color: #8a642a;
  font-size: .84rem;
  font-weight: 650;
  width: fit-content;
}
#checkout .trem-privacy-consent__details summary::-webkit-details-marker { display: none; }
#checkout .trem-privacy-consent__details summary > .material-icons:first-child {
  font-size: 1rem;
}
#checkout .trem-privacy-consent__chevron {
  font-size: 1rem;
  transition: transform .16s ease;
}
#checkout .trem-privacy-consent__details[open] .trem-privacy-consent__chevron {
  transform: rotate(180deg);
}
#checkout .trem-privacy-consent__full {
  margin-top: .75rem;
  padding: .8rem .9rem;
  border-radius: 10px;
  background: #fff;
  color: #5f6670;
  font-size: .78rem;
  line-height: 1.55;
}
#checkout .trem-privacy-consent__full p,
#checkout .trem-privacy-consent__full ol,
#checkout .trem-privacy-consent__full ul {
  margin-bottom: .65rem;
}
#checkout .trem-privacy-consent__full ol,
#checkout .trem-privacy-consent__full ul {
  padding-left: 1.25rem;
}
#checkout .trem-privacy-consent__full li {
  margin-bottom: .4rem;
}

/* The optional newsletter/account checkboxes should not visually compete with GDPR. */
#checkout #customer-form .form-group .custom-checkbox,
#checkout #customer-form .checkbox,
#checkout #customer-form label[for*="newsletter"],
#checkout #customer-form label[for*="optin"] {
  font-size: .82rem;
  line-height: 1.45;
}

@media (max-width: 575px) {
  #checkout .trem-privacy-consent {
    padding: .85rem;
    border-radius: 12px;
  }
  #checkout .trem-privacy-consent__details {
    margin-left: 0;
  }
  #checkout .trem-privacy-consent__full {
    font-size: .76rem;
  }
}


/* =========================================================
   TREM Harmony 2.6 — actual checkout GDPR FormField fix
   The official psgdpr module injects this as additionalCustomerFormFields.
   ========================================================= */
.trem-customer-gdpr {
  width: 100%;
  max-width: 100%;
  margin: .15rem 0 .35rem;
}
.trem-customer-gdpr__checkbox {
  display: block;
  margin: 0;
}
.trem-customer-gdpr__checkbox > label {
  display: flex !important;
  align-items: flex-start;
  gap: .65rem;
  margin: 0;
  color: var(--trem-ink);
  line-height: 1.45;
}
.trem-customer-gdpr__checkbox > label > input + span {
  flex: 0 0 auto;
  margin-top: .05rem;
}
.trem-customer-gdpr__short {
  font-weight: 600;
  font-size: .94rem;
}
.trem-customer-gdpr__details {
  margin: .65rem 0 0 2rem;
  border: 1px solid #e3d8c9;
  border-radius: 12px;
  background: #fbf8f3;
  overflow: hidden;
}
.trem-customer-gdpr__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .72rem .85rem;
  color: #72551f;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
  list-style: none;
  user-select: none;
}
.trem-customer-gdpr__details summary::-webkit-details-marker { display: none; }
.trem-customer-gdpr__details summary .material-icons {
  font-size: 1.1rem;
  transition: transform .18s ease;
}
.trem-customer-gdpr__details[open] summary .material-icons { transform: rotate(180deg); }
.trem-customer-gdpr__full {
  border-top: 1px solid #e8dfd2;
  padding: .85rem .95rem 1rem;
  color: #667085;
  font-size: .82rem;
  line-height: 1.55;
  max-height: 260px;
  overflow: auto;
}
.trem-customer-gdpr__full p,
.trem-customer-gdpr__full ol,
.trem-customer-gdpr__full ul {
  margin-top: .45rem;
  margin-bottom: .65rem;
}
.trem-customer-gdpr__full ol,
.trem-customer-gdpr__full ul { padding-left: 1.25rem; }

/* Collapse the empty left label/comment columns visually for GDPR in customer form. */
form .form-group:has(.trem-customer-gdpr) > .form-control-label {
  display: none;
}
form .form-group:has(.trem-customer-gdpr) > .js-input-column {
  width: 75%;
  max-width: 75%;
  flex: 0 0 75%;
  margin-left: 25%;
}
form .form-group:has(.trem-customer-gdpr) > .form-control-comment {
  display: none;
}

@media (max-width: 767px) {
  .trem-customer-gdpr__details { margin-left: 0; }
  form .form-group:has(.trem-customer-gdpr) > .js-input-column {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-left: 0;
  }
}
