.shop-top-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;padding-bottom:4px}.shop-top-tools #installApp{margin-right:auto;font-size:12px}.shop-top-tools #language{margin-left:auto;flex-shrink:0}.shop-top-tools #accountOpen{border:1px solid #cbd5e1;background:#fff;color:#172033;border-radius:10px;padding:7px 9px;font:600 12px system-ui;cursor:pointer}.product-quantity label{display:flex;align-items:center;gap:6px;font-size:12px;color:#475569}.product-quantity input,.cartQty,#modalQty{width:58px;min-width:0;padding:6px 3px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#172033;font-size:16px;text-align:center}.qty .cartQty{width:49px}.shop-top-tools [hidden]{display:none!important}#customerDialog{width:min(94vw,460px);max-height:88dvh;overflow:auto;border:0;border-radius:20px;padding:20px;color:#172033}#customerDialog::backdrop{background:#0009}#customerDialog label{display:block;margin:10px 0}#customerDialog input:not([type=checkbox]){width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:9px;font-size:16px}#customerDialog button{margin:5px 3px 5px 0}#customerDialog p{font-size:14px;overflow-wrap:anywhere}#customerDialog [hidden]{display:none!important}

.topbar .shop-top-tools{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;padding-top:10px;padding-bottom:0}.topbar #installApp{grid-column:1;justify-self:start;max-width:100%;white-space:normal;line-height:1.2}.topbar #accountOpen{grid-column:2;justify-self:center;max-width:100%;white-space:normal;line-height:1.2}.topbar #language{grid-column:3;justify-self:end;max-width:100%!important}.quantity-stepper{display:flex;align-items:center;gap:4px;min-width:0}.quantity-stepper button{flex:0 0 32px;height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#f1f5f9;color:#172033;font-weight:900;font-size:18px;padding:0}.quantity-stepper input{width:48px;min-width:0;max-width:100%;height:36px;padding:3px!important;font-variant-numeric:tabular-nums;font-weight:700;appearance:textfield}.quantity-stepper input::-webkit-inner-spin-button,.quantity-stepper input::-webkit-outer-spin-button,.cartQty::-webkit-inner-spin-button,.cartQty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.product-quantity{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.product-cart-count{color:#4c1d95;font-weight:700;font-size:12px}.modal-content .actions{flex-wrap:wrap;align-items:center}.modal-content #modalStepper{order:-1;flex-basis:100%;justify-content:center}.qty .cartQty{font-weight:700;font-variant-numeric:tabular-nums}.qty button{flex-shrink:0}@media(max-width:390px){.topbar .shop-top-tools #installApp,.topbar .shop-top-tools #accountOpen{font-size:11px;padding:7px 5px}.quantity-stepper{gap:3px}.quantity-stepper button{flex-basis:27px}.quantity-stepper input{width:40px}}

/* Quantity controls: fixed, readable digits even on two-column mobile cards. */
.product .card-body{grid-template-columns:minmax(0,1fr);min-width:0}
.product-quantity{width:100%;min-width:0;align-items:stretch}
.quantity-stepper,.cart-item .qty{display:grid!important;grid-template-columns:32px minmax(40px,1fr) 32px;gap:4px;align-items:center;width:100%;max-width:156px;min-width:0}
.quantity-stepper input,.quantity-stepper #modalQty,.cart-item .qty .cartQty{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;padding:4px 0!important;margin:0!important;border:1px solid #64748b!important;border-radius:8px!important;background:#fff!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;opacity:1!important;text-align:center!important;font:800 18px/1.2 system-ui,sans-serif!important;font-variant-numeric:tabular-nums;appearance:textfield;-webkit-appearance:none}
.quantity-stepper button,.cart-item .qty button{width:100%!important;min-width:0;height:40px!important;padding:0!important;display:grid;place-items:center;background:#ede9fe;color:#4c1d95;border:1px solid #c4b5fd;border-radius:8px;font-size:22px;font-weight:900}
.cart-item{grid-template-columns:40px minmax(0,1fr);gap:8px}.cart-item>div:last-child{grid-column:2;justify-self:end}.cart-item>div:nth-child(2){min-width:0}.cart-item .qty{max-width:160px}
#modalStepper{margin-inline:auto;flex-basis:156px}
@media(max-width:420px){.surface-card{padding:12px}.grid{gap:8px}.product .card-body{padding:8px}.quantity-stepper,.cart-item .qty{grid-template-columns:28px minmax(36px,1fr) 28px;gap:3px}.product .actions{gap:5px}.product .actions button{min-width:0;padding:9px 5px;overflow-wrap:anywhere;font-size:12px}}
@media(max-width:320px){.grid{grid-template-columns:1fr}}

#newsletterFooter{max-width:580px;margin:0 auto 24px;padding:20px;border-radius:18px;background:#f3e8ff;color:#28163d;border:1px solid #ddd6fe;text-align:center}#newsletterFooter h2,.newsletter-dialog h2{margin:10px 0;color:#5b218d;font-size:23px}#newsletterFooter p,.newsletter-dialog p{margin:8px 0 12px}.newsletter-form{display:grid;gap:9px;text-align:left}.newsletter-form input[type=email]{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #c4b5fd;border-radius:9px;background:#fff;color:#172033;font-size:16px}.newsletter-form .newsletter-consent{display:flex!important;align-items:flex-start;gap:8px;font-size:14px}.newsletter-consent input{width:18px;height:18px;flex:none;accent-color:#6d28d9}.newsletter-form .btn{width:100%;background:#6d28d9;color:#fff}.newsletter-dialog{text-align:center;background:#fff}.newsletter-pets{display:block;object-fit:cover;width:100%;height:auto;max-height:180px;border-radius:14px}.newsletter-brand{font-size:21px;font-weight:900;color:#5b218d;padding:8px}.newsletter-close{display:block;margin:12px auto!important}#newsletterFooter small,.newsletter-dialog small{font-size:12px;color:#475569}.newsletter-form [role=status]:empty{display:none}.newsletter-form [hidden]{display:none!important}

/* Symmetric top controls: equal widths, heights and spacing in all languages. */
.topbar .shop-top-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;padding-top:10px;padding-bottom:6px}
.topbar .shop-top-tools #installApp,.topbar .shop-top-tools #accountOpen,.topbar .shop-top-tools #language{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:none!important;height:48px;margin:0;padding:5px 8px!important;justify-self:stretch;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172033;font:700 13px/1.2 system-ui,sans-serif;text-align:center;white-space:normal;overflow-wrap:anywhere}
.topbar .shop-top-tools #language{appearance:none;-webkit-appearance:none;text-align-last:center;padding-right:22px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23334155' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center}
.topbar .shop-top-tools:has(#installApp[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}.topbar .shop-top-tools:has(#installApp[hidden]) #accountOpen{grid-column:1}.topbar .shop-top-tools:has(#installApp[hidden]) #language{grid-column:2}
@media(max-width:390px){.topbar .shop-top-tools{gap:6px}.topbar .shop-top-tools #installApp,.topbar .shop-top-tools #accountOpen,.topbar .shop-top-tools #language{height:48px;font-size:11px;padding-inline:4px!important}.topbar .shop-top-tools #language{padding-right:18px!important;background-position:right 4px center}}

/* Compact outlined controls, preserving dark header. */
.topbar .shop-top-tools{grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1fr);width:83.333%;margin-inline:auto;padding-inline:0;gap:6px;align-items:center}
.topbar .shop-top-tools #installApp,.topbar .shop-top-tools #accountOpen,.topbar .shop-top-tools #language{height:32px!important;min-height:0!important;border-radius:10px!important;border:1px solid #fff!important;background:transparent!important;color:#fff!important;padding:2px 3px!important;font-size:11px!important;line-height:1.1!important;white-space:normal;overflow-wrap:normal}
.topbar .shop-top-tools #accountOpen{font-size:13px!important}
.topbar .shop-top-tools #language{appearance:auto;-webkit-appearance:menulist;text-align-last:center;padding:2px!important;color-scheme:dark}
.topbar .shop-top-tools #language option{background:#172033;color:white}
.topbar .shop-top-tools:has(#installApp[hidden]){grid-template-columns:minmax(0,3fr) minmax(0,1fr);width:66.667%}
@media(max-width:420px){.topbar .shop-top-tools{gap:4px}.topbar .shop-top-tools #installApp{font-size:9px!important}.topbar .shop-top-tools #language{font-size:10px!important}.topbar .shop-top-tools #accountOpen{font-size:12px!important}}

/* Compact mobile header controls */
@media(max-width:600px){
.topbar .shop-top-tools{width:100%;max-width:none;margin-inline:auto;padding-inline:8px;box-sizing:border-box;grid-template-columns:minmax(68px,1fr) minmax(0,3fr) minmax(68px,1fr);gap:6px}
.topbar .shop-top-tools #installApp{font-size:8px!important;line-height:1.05!important;padding:2px!important;white-space:normal;overflow-wrap:normal}
.topbar .shop-top-tools #language{font-size:10px!important}
.topbar .shop-top-tools:has(#installApp[hidden]){width:100%;grid-template-columns:minmax(0,3fr) minmax(68px,1fr)}
}


/* FINAL TOPBAR + MODAL CLOSE OVERRIDE */
.topbar .shop-top-tools{
  display:grid!important;
  grid-template-columns:minmax(0,.62fr) minmax(0,1.76fr) minmax(0,.62fr)!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
  max-width:none!important;
  margin-inline:auto!important;
  padding:8px 0 2px 0!important;
  box-sizing:border-box!important;
}
.topbar .shop-top-tools:has(#installApp[hidden]){
  grid-template-columns:minmax(0,1.76fr) minmax(0,.62fr)!important;
}
.topbar .shop-top-tools > *{min-width:0!important}
.topbar .shop-top-tools #installApp,
.topbar .shop-top-tools #accountOpen,
.topbar .shop-top-tools #language{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  border:1px solid #e5e7eb!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#172033!important;
  box-shadow:0 2px 8px rgba(15,23,42,.06)!important;
  font-weight:700!important;
  line-height:1.1!important;
  padding:6px 8px!important;
}
.topbar .shop-top-tools #installApp,
.topbar .shop-top-tools #accountOpen{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.topbar .shop-top-tools #installApp{
  grid-column:1!important;
  justify-self:start!important;
  font-size:10px!important;
}
.topbar .shop-top-tools #accountOpen{
  grid-column:2!important;
  justify-self:stretch!important;
  font-size:11px!important;
}
.topbar .shop-top-tools #language{
  grid-column:3!important;
  justify-self:end!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  text-align:center!important;
  text-align-last:center!important;
  font-size:10px!important;
  padding-right:8px!important;
  background-image:none!important;
  cursor:pointer!important;
}
@media (max-width:420px){
  .topbar .shop-top-tools{grid-template-columns:minmax(0,.58fr) minmax(0,1.84fr) minmax(0,.58fr)!important;gap:6px!important}
  .topbar .shop-top-tools #installApp,
  .topbar .shop-top-tools #accountOpen,
  .topbar .shop-top-tools #language{height:32px!important;min-height:32px!important;border-radius:13px!important;padding:5px 6px!important}
  .topbar .shop-top-tools #installApp{font-size:9px!important}
  .topbar .shop-top-tools #accountOpen{font-size:10.5px!important}
  .topbar .shop-top-tools #language{font-size:9px!important}
}

/* modern visible red close button in product detail */
#productModal .modal-content > div:first-child{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  padding-bottom:8px!important;
  margin-bottom:2px!important;
  background:linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.92), rgba(255,255,255,0))!important;
  backdrop-filter:saturate(1.1) blur(4px)!important;
}
#productModal #closeModal{
  position:sticky!important;
  top:8px!important;
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  border:1px solid rgba(220,38,38,.18)!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ef4444 0%,#dc2626 100%)!important;
  color:#fff!important;
  box-shadow:0 10px 20px rgba(220,38,38,.22)!important;
  display:grid!important;
  place-items:center!important;
  font-size:22px!important;
  font-weight:900!important;
}
#productModal #closeModal:hover{filter:brightness(1.03)}
#productModal #closeModal:active{transform:translateY(1px)}

/* Fit installation label on narrow screens without changing button dimensions. */
.topbar .shop-top-tools #installApp{font-size:8px!important;line-height:1.15!important;padding:2px 3px!important;white-space:normal!important;overflow-wrap:normal!important;text-overflow:clip!important;font-weight:600!important}
@media(max-width:420px){.topbar .shop-top-tools #installApp{font-size:8px!important;padding:2px!important;line-height:1.15!important;white-space:normal!important}}


/* TOP OUTLINE ONLY FINAL */
.topbar .shop-top-tools #installApp,
.topbar .shop-top-tools #accountOpen,
.topbar .shop-top-tools #language{
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,.95) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
.topbar .shop-top-tools #language{
  background-image: none !important;
  color-scheme: dark;
}
.topbar .shop-top-tools #language option{
  background:#172033;
  color:#ffffff;
}

#accountDialog{width:min(94vw,460px);max-height:88dvh;overflow:auto;border:0;border-radius:20px;padding:20px;color:#172033;background:white}#accountDialog::backdrop{background:#0009}#accountDialog form{display:grid;gap:10px}#accountDialog label{display:grid;gap:4px}#accountDialog input{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:9px;font-size:16px}#accountDialog button{margin:4px 3px 4px 0}#checkoutRegister[hidden],#registerPassword[hidden]{display:none!important}

/* Account and checkout refresh — isolated from catalogue */
#checkout,#accountDialog{box-sizing:border-box;width:min(94vw,520px)!important;max-height:calc(100dvh - 36px)!important;padding:clamp(16px,4vw,26px)!important;border-radius:24px!important;background:#fff;color:#172033;box-shadow:0 24px 80px #11182740!important;overflow:auto!important;overscroll-behavior:contain}
#checkout::backdrop,#accountDialog::backdrop{background:rgba(15,23,42,.65)}
#checkout form,#accountDialog form{display:grid!important;gap:12px!important;margin:0!important}#checkout form>h2,#accountDialog h2,.checkout-heading h2{margin:0!important;font-size:clamp(21px,5.4vw,28px)!important;line-height:1.15!important;color:#172033!important}
.checkout-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e5e7eb;margin-bottom:5px}
#checkout .checkout-x,#accountDialog .checkout-x{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;background:#fee2e2;color:#b91c1c;border:0;border-radius:12px;font-size:25px;font-weight:700;line-height:1;padding:0;margin:0;box-shadow:none}
#checkout form>label,#accountDialog form>label{display:grid;gap:5px;font-size:14px;font-weight:650;color:#334155}
#checkout input.field,#checkout textarea.field,#accountDialog input{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #dce2ed!important;background:#f8fafc!important;border-radius:12px!important;padding:11px 12px!important;font-size:16px!important;color:#172033;box-shadow:none;outline-offset:2px}
#checkout textarea.field{resize:vertical;min-height:62px}#checkout #orderText{font-size:13px!important;line-height:1.55;min-height:144px;background:#f5f3ff!important;border-color:#ddd6fe!important;color:#312e81!important}
#checkoutRegister{display:grid;gap:10px;padding:13px;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:14px}#checkoutRegister .register-option{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:650;line-height:1.4}#checkoutRegister input[type=checkbox]{appearance:auto;accent-color:#6d28d9;width:19px;height:19px;min-width:19px;margin:0}#registerHint{font-size:12px;color:#475569;line-height:1.5}#registerHint[hidden]{display:none!important}#checkoutLogin{justify-self:start!important}
#checkout .mini,#accountDialog .mini{background:#f1f5f9!important;border:1px solid #e2e8f0!important;border-radius:12px!important;color:#4338ca!important;font-size:14px!important;padding:10px 14px!important;box-shadow:none!important}#checkout .btn,#accountDialog .btn{min-height:46px;border-radius:14px!important;font-size:16px!important}#checkout form>small{font-size:12px;line-height:1.5;color:#64748b}#accountDialog [role=status]:empty{display:none}#accountDialog [role=status]{font-size:14px;line-height:1.5;margin:0;color:#4338ca}#accountDialog section{margin-top:12px;padding:12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;font-size:14px;line-height:1.5}#accountDialog section p{font-weight:700;margin:12px 0 4px}#accountDialog section p:first-child{margin-top:0}#accountDialog>button{margin:8px 4px 0 0!important}#accountDialog .checkout-heading .checkout-x{margin:0!important}#checkout [hidden],#accountDialog [hidden]{display:none!important}
.topbar .shop-top-tools #accountOpen{white-space:normal!important;font-size:10px!important;line-height:1.15!important}

#accountDialog .account-offer{margin:14px 0 0;padding:13px 16px;border-left:4px solid #763bd6;border-radius:10px;background:#f0eaff;color:#392263;font-size:15px;font-weight:600;line-height:1.5}#accountDialog .account-offer strong{color:#5923a8;font-size:1.18em;font-weight:850}

.cart-ips-payment {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  background: #faf8ff;
  font-size: .875rem;
}
.cart-ips-payment p { margin: 0 0 8px; }
.cart-ips-payment .ips-image { text-align: center; }
.cart-ips-payment img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 6px;
  image-rendering: pixelated;
}
.cart-ips-payment dt { font-weight: 650; }
.cart-ips-payment dd { display: flex; gap: 6px; margin: 3px 0 8px; }
.cart-ips-payment input {
  min-width: 0;
  flex: 1;
  padding: 6px;
  border: 1px solid #b9accf;
  border-radius: 6px;
}
.cart-ips-payment button { padding: 6px 8px; }
