/* One visual language for store actions, including dynamically rendered products. */
:root{--action-red:#c71920;--action-red-hover:#a81219;--action-ink:#30332d;--action-border:#dce0d6;--action-ease:cubic-bezier(.22,.7,.2,1)}
:is(.button,.search-submit,.search-camera,.auth-provider,.auth-switch,.favorite-toggle,.compare-toggle,.product-share-button,.quote-link,.whatsapp-link,.variant-choice,.filter-apply,.filter-reset,.cart-item-actions button){
  position:relative;isolation:isolate;overflow:hidden;cursor:pointer;touch-action:manipulation;
  border-radius:10px;transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .24s ease,transform .24s var(--action-ease);
  -webkit-tap-highlight-color:transparent;
}
.button,.search-submit{min-height:48px;padding:12px 20px;gap:10px;border:1px solid var(--action-red);background:linear-gradient(180deg,#d41d25,var(--action-red));color:#fff;font-size:13px;line-height:1.4;font-weight:700;letter-spacing:.01em;box-shadow:0 3px 0 #991118,0 5px 12px #bc192018;text-decoration:none}
.button.button-secondary,.product-detail-actions [data-product-order]{background:#fff;color:var(--action-red);border-color:#e2b8b9;box-shadow:0 2px 0 #ede5e4}
.product-detail-actions [data-add-cart]{background:linear-gradient(180deg,#d41d25,var(--action-red));border-color:var(--action-red);color:#fff;box-shadow:0 3px 0 #991118,0 5px 12px #bc192018}
.card-cart-actions .card-add-cart{font-size:13px;min-height:46px;padding:11px 12px}
.card-cart-actions .product-share-button,.compare-toggle,.favorite-toggle-detail{border:1px solid var(--action-border);background:#fafbf8;color:#4c5845;box-shadow:none}
.card-cart-actions .product-share-button{border-color:var(--action-border);background:#fafbf8}
.product-secondary-actions{gap:10px}
.product-share-button,.compare-toggle,.favorite-toggle-detail{min-height:44px;padding:10px 14px;line-height:1.4}
.product-contact-actions :is(.quote-link,.whatsapp-link){border-radius:10px;min-height:46px;padding:11px 16px;font-weight:600}
.product-contact-actions .quote-link{border-color:#e2b8b9;background:#fff8f6;color:#a81219}
.product-purchase-card>.favorite-toggle{position:absolute;border-radius:50%;background:#fff;box-shadow:0 3px 12px #25301916}
.auth-provider,.auth-switch{border-radius:10px;box-shadow:0 2px 0 #eceee8}
.cart-item-actions button{min-height:44px;padding:9px 13px;border:1px solid var(--action-border);background:#fafbf8;line-height:1.4}
.cart-item-actions button:last-child{color:#a52529;border-color:#ead2d2;background:#fff9f8}
.search-submit{border-radius:0 9px 9px 0;box-shadow:none;padding-inline:17px;min-height:48px}
.search-camera{border-radius:0;box-shadow:none}
.favorite-toggle[aria-pressed=true],.compare-toggle[aria-pressed=true]{background:#fff1f0;border-color:#dcaaa9;color:var(--action-red)}
:is(.button,.search-submit,.search-camera,.auth-provider,.auth-switch,.favorite-toggle,.compare-toggle,.product-share-button)>svg{transition:transform .24s var(--action-ease),fill .2s,color .2s;flex-shrink:0}
.main-nav>a,.categories-toggle,.header-customer>a,.account-toggle{border-radius:10px;transition:color .2s,background-color .2s}
.main-nav>a>svg,.categories-toggle>.nav-icon,.header-customer>a>svg,.account-toggle>.nav-icon{transition:transform .24s var(--action-ease)}
.image-arrows button,.gallery-arrows button,.image-viewer-controls button,.related-controls button,.image-zoom-controls button,.pagination a{transition:opacity .18s ease,background-color .2s,border-color .2s,box-shadow .2s,transform .24s var(--action-ease)}
.image-arrows button,.gallery-arrows button{backdrop-filter:blur(8px);border-radius:12px}
.related-controls button,.image-viewer-controls button,.image-zoom-controls button{border-radius:9px}
.story-slide-label,.material-teaser-action{transition:transform .24s var(--action-ease),background-color .2s,box-shadow .24s;border-radius:9px}
@media(hover:hover) and (pointer:fine){
  :is(.button,.auth-provider,.auth-switch,.favorite-toggle,.compare-toggle,.product-share-button,.quote-link,.whatsapp-link,.variant-choice,.filter-apply,.filter-reset,.cart-item-actions button):not(:disabled,[aria-disabled=true],[aria-busy=true]):hover{transform:translateY(-2px);box-shadow:0 6px 16px #29332614}
  .button:not(:disabled,[aria-disabled=true],[aria-busy=true]):hover,.product-detail-actions [data-add-cart]:not(:disabled,[aria-busy=true]):hover{background:linear-gradient(180deg,#c61922,var(--action-red-hover));border-color:var(--action-red-hover);color:#fff;box-shadow:0 3px 0 #8b1015,0 8px 18px #bc192025}
  .button.button-secondary:not([data-add-cart],:disabled,[aria-disabled=true]):hover,.product-detail-actions [data-product-order]:not([aria-disabled=true]):hover{background:#fff5f4;border-color:#cf696b;color:#a81219;box-shadow:0 3px 0 #edd4d3,0 6px 14px #9c302513}
  :is(.auth-provider,.auth-switch,.favorite-toggle,.compare-toggle,.product-share-button,.cart-item-actions button):not(:disabled,[aria-busy=true]):hover{border-color:#cd9e9c;background:#fff7f5;color:#a81219}
  .button:not(:disabled,[aria-busy=true]):hover>svg,.product-share-button:not([aria-busy=true]):hover>svg{transform:translateX(2px)}
  .favorite-toggle:not(:disabled):hover>svg{transform:scale(1.09)}
  .main-nav>a:hover,.categories-toggle:hover,.header-customer>a:hover,.account-toggle:hover{background:#f7f5f0;color:var(--action-red)}
  .main-nav>a:hover>svg,.categories-toggle:hover>.nav-icon,.header-customer>a:hover>svg,.account-toggle:hover>.nav-icon{transform:translateY(-2px)}
  .search-submit:hover{background:var(--action-red-hover)}.search-camera:hover{background:#f4ece9;color:var(--action-red)}
  .image-arrows button:not(:disabled):hover,.gallery-arrows button:not(:disabled):hover,.related-controls button:not(:disabled):hover,.image-viewer-controls button:not(:disabled):hover,.image-zoom-controls button:not(:disabled):hover{transform:scale(1.06);box-shadow:0 4px 12px #292d2720}
  .story-slide-link:hover .story-slide-label{box-shadow:0 5px 16px #332d2520}
  .material-teaser-card:hover .material-teaser-action{transform:translateY(-2px);box-shadow:0 5px 16px #332d2520}
}
:is(.button,.search-submit,.search-camera,.auth-provider,.auth-switch,.favorite-toggle,.compare-toggle,.product-share-button,.quote-link,.whatsapp-link,.variant-choice,.filter-apply,.filter-reset,.cart-item-actions button):not(:disabled,[aria-disabled=true],[aria-busy=true]):active{transform:translateY(1px) scale(.98);box-shadow:none;transition-duration:.08s}
:is(.button,.search-submit,.search-camera,.auth-provider,.auth-switch,.favorite-toggle,.compare-toggle,.product-share-button,.quote-link,.whatsapp-link,.variant-choice,.filter-apply,.filter-reset,.cart-item-actions button):focus-visible{outline:3px solid #c71920;outline-offset:4px;box-shadow:0 0 0 2px #fff}
:is(.button,.search-submit,.auth-provider,.auth-switch,.favorite-toggle,.compare-toggle,.product-share-button,.cart-item-actions button):is(:disabled,[aria-disabled=true]){opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
:is(.button,.auth-provider,.favorite-toggle,.compare-toggle,.product-share-button)[aria-busy=true]{cursor:progress;opacity:.8;transform:none}
:is(.button,.auth-provider,.favorite-toggle,.compare-toggle,.product-share-button)[aria-busy=true]::after{content:"";position:absolute;bottom:0;left:0;width:36%;height:3px;background:currentColor;opacity:.65;animation:canda-loading 1s ease-in-out infinite;pointer-events:none}
.canda-press-wave{position:absolute!important;display:block!important;border-radius:50%;background:currentColor;opacity:0;pointer-events:none;z-index:2;margin:0!important}
[data-canda-success]{animation:canda-success .65s ease-out}
.favorite-toggle[aria-pressed=true]>svg{fill:currentColor}
@keyframes canda-loading{from{transform:translateX(-110%)}to{transform:translateX(290%)}}
@keyframes canda-success{0%,100%{box-shadow:0 0 0 0 #397e4b00}40%{box-shadow:0 0 0 5px #397e4b28}}
@media(max-width:700px){.button{min-height:48px;font-size:14px;padding:12px 16px}.card-cart-actions .card-add-cart{min-height:48px;font-size:14px}.product-secondary-actions{gap:8px}.product-share-button,.compare-toggle,.favorite-toggle-detail{font-size:13px}.search-submit{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  :is(.button,.search-submit,.search-camera,.auth-provider,.auth-switch,.favorite-toggle,.compare-toggle,.product-share-button,.quote-link,.whatsapp-link,.variant-choice,.filter-apply,.filter-reset,.cart-item-actions button):is(:hover,:active),.main-nav>a:hover>svg,.categories-toggle:hover>.nav-icon,.header-customer>a:hover>svg,.account-toggle:hover>.nav-icon,.button:hover>svg,.product-share-button:hover>svg,.favorite-toggle:hover>svg,.image-arrows button:hover,.gallery-arrows button:hover,.related-controls button:hover,.image-viewer-controls button:hover,.image-zoom-controls button:hover,.material-teaser-card:hover .material-teaser-action{transform:none!important}
  .canda-press-wave{display:none!important}
}
/* One full-width purchase action, followed by two equally sized tools. */
.product-purchase-card .card-secondary-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:8px;align-items:start}
.product-purchase-card .card-secondary-actions>.product-share{display:contents}
.product-purchase-card .card-secondary-actions .product-share-button{grid-column:1;grid-row:1}
.product-purchase-card .card-secondary-actions>.compare-toggle{grid-column:2;grid-row:1}
.product-purchase-card .card-secondary-actions :is(.product-share-button,.compare-toggle){display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px;margin:0;padding:10px 8px;gap:7px;font-size:12px;line-height:1.4;transform:none}
.product-purchase-card .card-secondary-actions :is(.product-share-button,.compare-toggle)>svg{width:18px;height:18px;flex-shrink:0}
.product-purchase-card .card-secondary-actions .product-share-status{grid-column:1/-1;grid-row:2;text-align:left;margin:0}
.product-purchase-card .card-secondary-actions .product-share-fallback{grid-column:1/-1;grid-row:3;margin:0}
.product-purchase-card .card-cart-actions>.button{width:100%}
