/* Gando 9.7.69 — unify homepage care cards with PDP complementary cards,
   add explicit action tooltips and strengthen empty PDP copy contrast. */

:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card{
  display:flex!important;
  flex-direction:column;
  min-width:0;
  padding:7px 7px 10px;
  overflow:visible!important;
  border:1px solid #d7e2d9;
  border-radius:20px;
  background:#eef3ef;
  color:#172019;
  box-shadow:0 1px 0 rgba(13,64,35,.025);
  transition:transform .22s var(--ease),border-color .22s var(--ease),box-shadow .22s var(--ease);
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card:hover{
  transform:translateY(-3px);
  border-color:#9ab6a2;
  box-shadow:0 17px 40px rgba(13,64,35,.09);
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__visual{
  position:relative;
  width:100%;
  aspect-ratio:1.08/1;
  overflow:hidden;
  border:1px solid rgba(13,64,35,.07);
  border-radius:14px;
  background:#fff;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__image{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  cursor:pointer;
  text-decoration:none;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__image img{
  position:absolute;
  inset:6% 4%;
  width:92%;
  height:88%;
  object-fit:contain;
  mix-blend-mode:multiply;
  transition:transform .35s var(--ease);
}
@media(hover:hover) and (pointer:fine){
  :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card:hover .pdp-care-card__image img{transform:scale(1.025) translateY(-2px)}
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  padding:8px 5px 2px!important;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__body>b{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:43px!important;
  margin:0!important;
  color:var(--ink);
  font-size:12.5px!important;
  font-weight:730;
  line-height:1.72!important;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__body>b a{color:inherit;text-decoration:none}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:100%;
  min-width:0;
  margin-top:7px;
  padding-top:9px;
  border-top:1px solid #d7e1d9;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__price{
  min-width:0;
  white-space:nowrap;
  color:var(--ink);
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__price strong{
  font-size:15px!important;
  line-height:1;
  font-weight:820;
  letter-spacing:-.015em;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:0 0 auto;
  flex-wrap:nowrap!important;
  gap:6px;
  margin:0!important;
  padding:0!important;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__action{
  position:relative;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  flex:0 0 36px;
  padding:0;
  border:1px solid #d4e1d6;
  border-radius:11px;
  background:#e8f0ea;
  color:#2e6040;
  cursor:pointer;
  text-decoration:none;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__action:hover{
  transform:translateY(-1px);
  background:#dcebe0;
  border-color:#bfd3c4;
  color:#174d2a;
}
:is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

/* Icon-action tooltip for quick view/cart/view-product and quantity controls. */
[data-care-tooltip]{position:relative}
[data-care-tooltip]::after{
  content:attr(data-care-tooltip);
  position:absolute;
  z-index:80;
  left:50%;
  bottom:calc(100% + 9px);
  transform:translate(-50%,5px);
  padding:6px 9px;
  border-radius:8px;
  background:#10281a;
  color:#fff;
  font:600 10px/1.35 var(--gando-body-font,var(--font-main,inherit));
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  box-shadow:0 8px 22px rgba(4,24,12,.16);
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
[data-care-tooltip]::before{
  content:"";
  position:absolute;
  z-index:79;
  left:50%;
  bottom:calc(100% + 5px);
  width:8px;
  height:8px;
  background:#10281a;
  transform:translateX(-50%) rotate(45deg);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .16s ease,visibility .16s ease;
}
[data-care-tooltip]:hover::after,[data-care-tooltip]:focus-visible::after{opacity:1;visibility:visible;transform:translate(-50%,0)}
[data-care-tooltip]:hover::before,[data-care-tooltip]:focus-visible::before{opacity:1;visibility:visible}

/* Homepage care rail now uses the same compact card anatomy as the PDP rail. */
.home-product-zone--care .product-carousel--care>.pdp-care-card{
  flex:0 0 calc((100% - 39px)/4)!important;
  min-width:0!important;
  max-width:none!important;
  align-self:stretch;
}
.home-product-zone--care .pdp-care-card__badge{
  background:#e5eee7;
  border-color:#d2e1d5;
  color:#285d39;
}
.home-product-zone--care .pdp-care-card__wish{
  background:#e8f0ea!important;
  border-color:#d4e1d6!important;
  color:#2e6040!important;
}

/* Empty WooCommerce product description must stay readable on the pale story card. */
.single-product .gando-story-copy.is-empty p{
  color:#5a6960!important;
  opacity:1!important;
  font-weight:500;
}

html[data-theme=dark] :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card{
  background:#17251c;
  border-color:#304438;
  color:#edf4ef;
}
html[data-theme=dark] :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__visual{background:#fff;border-color:#dce3dd}
html[data-theme=dark] :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__body>b,
html[data-theme=dark] :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__price strong{color:#edf4ef!important}
html[data-theme=dark] :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__footer{border-color:#31463a}
html[data-theme=dark] :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__action{background:#1d3023;border-color:#3e5947;color:#a5d6b3}
html[data-theme=dark] :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__action:hover{background:#25402e;border-color:#557461;color:#d8efde}
html[data-theme=dark] [data-care-tooltip]::after,html[data-theme=dark] [data-care-tooltip]::before{background:#e8f0ea;color:#122019}
html[data-theme=dark] .single-product .gando-story-copy.is-empty p{color:#b2c0b7!important}

@media(min-width:701px) and (max-width:900px){
  .home-product-zone--care .product-carousel--care>.pdp-care-card{flex-basis:calc((100% - 26px)/3)!important}
}
@media(max-width:700px){
  .home-product-zone--care .product-carousel--care>.pdp-care-card{flex:0 0 min(78vw,290px)!important}
  :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__body{padding-top:6px!important}
  :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__action{width:32px;height:32px;flex-basis:32px;border-radius:9px}
  :is(.home-product-zone--care,.pdp-care:not(.is-care-page)) .pdp-care-card__action svg{width:15px;height:15px}
}
/* 9.7.80 — care-card cart controls, portal tooltips and homepage quick view. */
html.gando-care-tooltip-portal-ready [data-care-tooltip]::before,
html.gando-care-tooltip-portal-ready [data-care-tooltip]::after{display:none!important;content:none!important}
.gando-care-tooltip{position:fixed;z-index:100070;max-width:min(240px,calc(100vw - 16px));padding:7px 10px;border:1px solid rgba(255,255,255,.14);border-radius:9px;background:#0d4023;color:#fff;box-shadow:0 10px 28px rgba(7,34,18,.2);font-family:var(--gando-body-font,var(--font-body,YekanBakh,sans-serif));font-size:11px;font-weight:650;line-height:1.45;text-align:center;white-space:nowrap;pointer-events:none}
.gando-care-tooltip[hidden]{display:none!important}
html[data-theme=dark] .gando-care-tooltip{background:#eaf2ed;color:#10351f;border-color:#95bda1;box-shadow:0 10px 28px rgba(0,0,0,.32)}

.home-product-zone--care .pdp-care-card__actions.has-qty>[data-care-add]{display:none!important}
.home-product-zone--care .pdp-care-inline-qty[hidden]{display:none!important}
.home-product-zone--care .pdp-care-inline-qty{display:grid;grid-template-columns:30px 28px 30px;place-items:center;width:88px;height:36px;overflow:hidden;border:1px solid #cfe0d3;border-radius:11px;background:#fff;color:var(--g);box-shadow:0 1px 0 rgba(13,64,35,.025)}
.home-product-zone--care .pdp-care-inline-qty button,.home-product-zone--care .pdp-care-inline-qty output{display:grid;place-items:center;width:100%;height:100%;min-width:0;margin:0;padding:0;border:0;background:transparent;color:inherit;font-family:inherit;line-height:1}
.home-product-zone--care .pdp-care-inline-qty button{cursor:pointer;font-size:16px;font-weight:750;transition:background-color .16s ease,color .16s ease}
.home-product-zone--care .pdp-care-inline-qty button:hover,.home-product-zone--care .pdp-care-inline-qty button:focus-visible{background:#edf6ef;color:#174d2a;outline:0}
.home-product-zone--care .pdp-care-inline-qty output{border-inline:1px solid #e1e9e3;color:var(--ink);font-size:10.5px;font-weight:760}
.home-product-zone--care .pdp-care-inline-qty button svg{display:block;width:15px;height:15px;margin:auto;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.home-product-zone--care .pdp-care-inline-qty button.is-delete{color:#a23c43}
.home-product-zone--care .pdp-care-inline-qty button.is-delete:hover,.home-product-zone--care .pdp-care-inline-qty button.is-delete:focus-visible{background:#fff0f1;color:#922f38}
html[data-theme=dark] .home-product-zone--care .pdp-care-inline-qty{background:#1d3023;border-color:#3e5947;color:#a5d6b3}
html[data-theme=dark] .home-product-zone--care .pdp-care-inline-qty output{border-color:#34493b;color:#edf4ef}
html[data-theme=dark] .home-product-zone--care .pdp-care-inline-qty button:hover,html[data-theme=dark] .home-product-zone--care .pdp-care-inline-qty button:focus-visible{background:#25402e;color:#d8efde}
html[data-theme=dark] .home-product-zone--care .pdp-care-inline-qty button.is-delete:hover,html[data-theme=dark] .home-product-zone--care .pdp-care-inline-qty button.is-delete:focus-visible{background:#321d20;color:#efb8bd}

.quick-care-dialog{width:min(820px,calc(100% - 28px));max-height:90vh;overflow:hidden;border:0;padding:0;border-radius:24px;background:var(--paper);color:var(--ink);box-shadow:0 28px 90px rgba(0,0,0,.32)}
.quick-care-dialog::backdrop{background:rgba(5,22,13,.68);backdrop-filter:blur(5px)}
.quick-care-dialog .pdp-dialog__head{display:flex;align-items:center;justify-content:space-between;padding:18px 21px;border-bottom:1px solid var(--line)}
.quick-care-dialog .pdp-dialog-title{font-size:20px;line-height:1.55;font-weight:720}
.quick-care-dialog .pdp-dialog__close{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--ink);font:700 22px/1 inherit;cursor:pointer}
.quick-care-dialog .pdp-dialog__body{max-height:calc(90vh - 76px);padding:22px;overflow:auto;overscroll-behavior:contain}
.quick-care{display:grid;grid-template-columns:.9fr 1.1fr;gap:20px}
.quick-care__image{min-height:330px;border-radius:18px;background:#fff;overflow:hidden}
.quick-care__image img{display:block;width:100%;height:100%;object-fit:contain}
.quick-care__copy{align-self:center;min-width:0}
.quick-care__copy>span{font-size:10px;color:var(--g);font-weight:650}
.quick-care__title{font-size:24px;line-height:1.6;font-weight:720;margin:6px 0;color:var(--ink)}
.quick-care__desc{font-size:11.5px;line-height:2;color:var(--mut);margin:0}
.quick-care__price{font-size:20px;color:var(--g);font-weight:700;margin:15px 0}
.quick-care__actions{display:grid;grid-template-columns:minmax(128px,.72fr) minmax(0,1.28fr);gap:8px;align-items:stretch}
.quick-care__page{min-height:48px;border:1px solid #cfe0d3;border-radius:13px;background:#edf5ef;color:var(--g);display:flex;align-items:center;justify-content:center;padding:0 12px;font-size:11.5px;font-weight:700;text-align:center;text-decoration:none}
.quick-care__cart{display:flex;align-items:stretch;gap:8px;min-width:0}
.quick-care__qty[hidden]{display:none!important}
.quick-care__qty{flex:0 0 100px;display:grid;grid-template-columns:1fr 30px 1fr;place-items:center;min-height:48px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--paper)}
.quick-care__qty button,.quick-care__qty output{display:grid;place-items:center;width:100%;height:100%;min-width:0;margin:0;padding:0;border:0;background:transparent;font-family:inherit}
.quick-care__qty button{color:var(--g);font-size:20px;cursor:pointer}
.quick-care__qty button:hover{background:#edf6ef}
.quick-care__qty output{color:var(--ink);font-size:11px;font-weight:750}
.quick-care__qty button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.quick-care__qty button.is-delete{color:#a23c43}
.quick-care__add{flex:1 1 auto;min-width:0;min-height:48px;padding:0 12px;border:0;border-radius:13px;background:var(--o);color:#182018;font:650 13px inherit;cursor:pointer}
.quick-care__cart.has-qty>.quick-care__add{display:none!important}
.quick-care__add.is-added{background:var(--g);color:#fff}
html[data-theme=dark] .quick-care-dialog{background:#121d16;color:#edf4ef}
html[data-theme=dark] .quick-care-dialog .pdp-dialog__head{border-color:#304137}
html[data-theme=dark] .quick-care-dialog .pdp-dialog__close{background:#1d3023;border-color:#3e5947;color:#d8efde}
html[data-theme=dark] .quick-care__title,html[data-theme=dark] .quick-care__price{color:#edf4ef}
html[data-theme=dark] .quick-care__desc{color:#afbeb4}
html[data-theme=dark] .quick-care__page{background:#1d3023;border-color:#3e5947;color:#a5d6b3}
html[data-theme=dark] .quick-care__qty{background:#172119;border-color:#33463a}
html[data-theme=dark] .quick-care__qty output{color:#edf4ef}
html[data-theme=dark] .quick-care__qty button:hover{background:#23372a}
html[data-theme=dark] .quick-care__qty button.is-delete:hover{background:#321d20}
@media(max-width:700px){.home-product-zone--care .pdp-care-inline-qty{width:78px;height:32px;grid-template-columns:25px 28px 25px;border-radius:9px}.home-product-zone--care .pdp-care-inline-qty button{font-size:14px}.home-product-zone--care .pdp-care-inline-qty output{font-size:9.5px}.home-product-zone--care .pdp-care-inline-qty button svg{width:14px;height:14px}.quick-care-dialog{width:min(94vw,620px);border-radius:18px}.quick-care-dialog .pdp-dialog__head{padding:14px 15px}.quick-care-dialog .pdp-dialog-title{font-size:16px}.quick-care-dialog .pdp-dialog__close{width:34px;height:34px;border-radius:10px;font-size:20px}.quick-care-dialog .pdp-dialog__body{padding:14px}.quick-care{grid-template-columns:1fr;gap:13px}.quick-care__image{min-height:220px;max-height:42vh}.quick-care__title{font-size:20px}.quick-care__actions{grid-template-columns:1fr}.quick-care__page{min-height:44px}.quick-care__cart{width:100%}.quick-care__qty{flex-basis:92px;min-height:44px}.quick-care__add{min-height:44px;font-size:11px}}
