/* DOLOMAX 2.9.9 – menu-level polish + homepage close-out */

/* Price / size chips: restrained corners instead of pill shapes. */
.dmx-v260-spec-row span,
.dmx-v260-spec-row b,
.dmx-v290-card-meta span,
.dmx-v290-card-meta strong,
.dmx-v270-fraction,
.dmx-v270-soon-label,
.coming-soon-inline,
.dmx-v297-soon{
  border-radius:5px!important;
}

/* Four use-cases on desktop, including Plant Mix. */
.dmx-v297-usecase-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.dmx-v297-usecase-grid article:last-child{grid-column:auto!important}
.dmx-v297-usecase-grid .plant-mix{background:#f8f7f3}

/* FAQ side card should not move vertically when details open. */
.dmx-brand-faq .faq-grid{align-items:start}
.dmx-brand-faq .dmx-v297-help-card{
  align-self:start!important;
  position:sticky;
  top:116px;
}
.admin-bar .dmx-brand-faq .dmx-v297-help-card{top:148px}

/* About: real, clickable family cards. */
.dmx-v297-about-story{align-items:center}
.dmx-v297-about-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px}
.dmx-v297-about-family-grid>a{display:flex;flex-direction:column;background:#fff;border:1px solid var(--dmx-line);border-radius:10px;overflow:hidden;color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.dmx-v297-about-family-grid>a:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(20,35,27,.09);border-color:#c9d7cd}
.dmx-v297-about-family-grid img{display:block;width:100%;height:220px;object-fit:cover}
.dmx-v297-about-family-grid>a>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:20px 19px 22px;flex:1}
.dmx-v297-about-family-grid h3{font-size:21px;line-height:1.15;color:#173d2c;margin:0}
.dmx-v297-about-family-grid p{font-size:13.5px;line-height:1.55;color:#627068;margin:0 0 6px}
.dmx-v297-about-family-grid strong{margin-top:auto;color:#0b5a38;font-size:13px}
.dmx-v297-about-family-grid .deco strong,.dmx-v297-about-family-grid .deco .eyebrow{color:var(--dmx-v270-deco)}
.dmx-v297-about-family-grid .winter strong,.dmx-v297-about-family-grid .winter .eyebrow{color:var(--dmx-v270-winter)}
.dmx-v297-about-family-grid .plant-mix strong,.dmx-v297-about-family-grid .plant-mix .eyebrow{color:var(--dmx-v270-plant)}
.dmx-v297-soon{display:inline-flex;padding:5px 8px;background:#eeeae1;border:1px solid #e0d9cc;color:#706355;font-size:11px;font-weight:800}

/* Shop: 3 cards per row on desktop (6 products = 2x3). */
.woocommerce ul.products.columns-3,
.dmx-v290-shop-products .woocommerce ul.products,
.dmx-products-preview .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Footer social links. */
.dmx-v297-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.dmx-v297-socials a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;min-width:34px;padding:7px 9px;border:1px solid #d4d8d1;border-radius:6px;background:#fff;color:#244638;font-size:11px;font-weight:750}
.dmx-v297-socials a:hover{border-color:#9eb5a7;background:#f8faf7}
.dmx-v297-socials img{width:20px!important;height:20px!important;object-fit:contain}

/* Keep the invisible anti-spam fields completely out of layout. */
.dmx-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

@media(max-width:1180px){
  .dmx-v297-usecase-grid,.dmx-v297-about-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1000px){
  .woocommerce ul.products.columns-3,
  .dmx-v290-shop-products .woocommerce ul.products,
  .dmx-products-preview .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dmx-brand-faq .dmx-v297-help-card{position:static}
}
@media(max-width:760px){
  .dmx-v297-usecase-grid,.dmx-v297-about-family-grid{grid-template-columns:1fr!important}
  .woocommerce ul.products.columns-3,
  .dmx-v290-shop-products .woocommerce ul.products,
  .dmx-products-preview .woocommerce ul.products{grid-template-columns:1fr!important}
  .dmx-v297-about-family-grid img{height:245px}
}


/* 2.9.8 – search panel must never occupy space while closed. */
.search-panel[hidden]{display:none!important}

/* 2.9.8 – one-layer price chips. WooCommerce price spans must not inherit chip styling. */
.dmx-v290-card-meta > span,
.dmx-v290-card-meta > strong{border-radius:5px!important}
.dmx-v290-card-meta > strong{border:0!important;color:#fff!important;box-shadow:none!important}
.dmx-v290-card-meta > strong .woocommerce-Price-amount,
.dmx-v290-card-meta > strong .woocommerce-Price-amount *,
.dmx-v260-spec-row > b .woocommerce-Price-amount,
.dmx-v260-spec-row > b .woocommerce-Price-amount *{
  display:inline!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  font:inherit!important;
  box-shadow:none!important;
}

/* Termékek oldalon is: méret világos, ár egyetlen családszínű mező. */
.dmx-v281-family-choice-grid .dmx-v260-spec-row > b{border-radius:5px!important}
.dmx-v281-family-choice-grid a:not(.plant-mix) .dmx-v260-spec-row > b:last-child{
  background:#173d2c!important;
  border-color:#173d2c!important;
  color:#fff!important;
}
.dmx-v281-family-choice-grid a.deco .dmx-v260-spec-row > b:last-child{background:var(--dmx-v270-deco)!important;border-color:var(--dmx-v270-deco)!important}
.dmx-v281-family-choice-grid a.winter .dmx-v260-spec-row > b:last-child{background:var(--dmx-v270-winter)!important;border-color:var(--dmx-v270-winter)!important}


/* 2.9.9 – homepage close-out. */
.search-panel .dmx-container{
  display:flex;
  align-items:center;
  gap:10px;
}
.search-panel .search-form{flex:1;min-width:0}
.search-panel .search-close{
  flex:0 0 48px;
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--dmx-line);
  border-radius:5px;
  background:#fff;
  color:#244638;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.search-panel .search-close:hover,
.search-panel .search-close:focus-visible{
  border-color:#9eb5a7;
  background:var(--dmx-green-3);
  color:var(--dmx-green);
}

/* Price is deliberately a little stronger than the size chip. */
.dmx-v290-card-meta > strong{
  min-height:36px!important;
  padding:9px 13px!important;
  font-size:15px!important;
  line-height:1.1!important;
}

/* The FAQ archive link closes the left column on the same right edge as the question boxes. */
.dmx-brand-faq .dmx-faq-more{
  display:block;
  width:100%;
  margin-top:12px;
  text-align:right;
}

@media(max-width:760px){
  .search-panel .dmx-container{align-items:stretch}
  .search-panel .search-form{min-width:0}
  .search-panel .search-close{height:auto;min-height:48px}
}
