.gf-toggle { display: grid; place-items: center; width: 40px; height: 40px; box-sizing: border-box; border: 0; border-radius: 50%; background: #fff; transition: background-color 180ms ease; cursor: pointer; padding: 0; z-index: 3; }
.gf-toggle img { display: block; width: 20px; height: 20px; max-width: none; pointer-events: none; }
.product-card .gf-toggle img { width: 22px; height: 22px; }
.gf-toggle[aria-pressed=true] { background: #fff; }
.gf-toggle:focus { outline: none; }.gf-toggle:focus-visible { outline: 2px solid #faa61a !important; outline-offset: 3px !important; }
.gf-media { position: relative; }.gf-media > .gf-toggle { position: absolute; top: 12px; right: 12px; }
.gf-detail-title { position: relative; padding-right: 50px; }.gf-detail-title > .gf-toggle { position: absolute; top: 0; right: 0; }
.gf-toast { position: fixed; z-index: 1500; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 12px 20px; border-radius: 12px; color: #fbe9c4; background: #433228; box-shadow: 0 6px 24px rgb(0 0 0 / 20%); font: 500 14px/1.5 Montserrat,Arial,sans-serif; pointer-events: none; }
.gf-toast[hidden], .gf-page [hidden] { display: none; }
.gf-page { max-width: 1598px; margin: 0 auto; padding: 48px 32px 80px; color: #433228; font: 500 16px/1.5 Montserrat,Arial,sans-serif; }
.gf-page h1 { margin: 0 0 28px; font-size: clamp(26px,4vw,42px); }
.gf-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
@media (hover:hover) and (pointer:fine) { .gf-toggle:hover { background: #fff1e6; } }
@media (max-width:1000px) { .gf-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; } }
@media (max-width:640px) { .gf-page { padding: 28px 16px 50px; }.gf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } }

/* Own notification skin; controller owns undo deadline, progress and transitions. */
.gf-toast { --gf-toast-gap: 24px; bottom: calc(max(0px, 100dvh - var(--sh-viewport-bottom, 100dvh)) + max(var(--sh-bottom-space, 0px), env(safe-area-inset-bottom, 0px)) + var(--gf-toast-gap)); }
.gf-toast[hidden], .gf-toast [hidden] { display: none !important; }
.gf-toast.gf-toast--undo { display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(560px, calc(100% - 32px)); box-sizing: border-box; overflow: hidden; padding: 12px 16px 16px; border-radius: 12px; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.gf-toast__message { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gf-toast .gf-toast__undo { appearance: none; flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; box-sizing: border-box; margin: 0; padding: 9px 20px; border: 1.5px solid currentColor; border-radius: 56px; color: inherit; background: transparent; font: 600 12px/1.2 Montserrat, Arial, sans-serif; text-decoration: none; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.gf-toast .gf-toast__undo:focus { outline: none; }
.gf-toast .gf-toast__undo:focus-visible { outline: 2px solid #faa61a; outline-offset: 3px; }
.gf-toast .gf-toast__undo:disabled { opacity: .5; cursor: wait; }
.gf-toast .gf-toast__undo:not(:disabled):active { color: #433228; background: #fbe9c4; border-color: #fbe9c4; }
.gf-toast__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
.gf-toast__progress-bar { display: block; width: 100%; height: 100%; background: rgb(251 233 196 / 50%); transform-origin: left center; }
@media (max-width: 1000px) { .gf-toast { --gf-toast-gap: 12px; } }
@media (hover: hover) and (pointer: fine) { .gf-toast .gf-toast__undo:not(:disabled):hover { color: #433228; background: #fbe9c4; border-color: #fbe9c4; } }
@media (prefers-reduced-motion: reduce) { .gf-toast .gf-toast__undo { transition: none; } }

@media (prefers-reduced-motion: reduce) { .gf-toggle { transition: none; } }
