.mobile-bottom-nav { display: none; }
.pull-refresh-indicator { --pull-distance: 0px; position: fixed; z-index: 60; inset-block-start: max(10px, env(safe-area-inset-top, 0px)); inset-inline-start: 50%; display: flex; align-items: center; gap: 9px; width: max-content; max-width: calc(100vw - 32px); padding: 10px 15px; border: 1px solid #ffffffc9; border-radius: 999px; background: #ffffffed; box-shadow: 0 8px 24px #17130f20; color: #34312d; font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, calc(-150% + var(--pull-distance))); transition: opacity 140ms ease, transform 180ms ease; }
.pull-refresh-indicator[data-state="pulling"], .pull-refresh-indicator[data-state="ready"], .pull-refresh-indicator[data-state="refreshing"] { opacity: 1; }
.pull-refresh-spinner { width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid #d8d5cf; border-top-color: #263f38; border-radius: 50%; transform: rotate(var(--pull-angle, 0deg)); }
.pull-refresh-indicator[data-state="refreshing"] .pull-refresh-spinner { animation: pull-refresh-spin 700ms linear infinite; }
@keyframes pull-refresh-spin { to { transform: rotate(360deg); } }
.favorite-toggle {
  position: absolute; z-index: 2; inset-block-start: 19px; inset-inline-end: 19px;
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid #ffffff; border-radius: 50%; background: #fffffff0; color: #292724;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px #15120c20, inset 0 0 0 1px #25211d0a;
  cursor: pointer; transition: color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.favorite-toggle .icon { width: 22px; height: 22px; transition: transform 200ms ease, fill 200ms ease; }
.favorite-toggle:hover { transform: translateY(-2px); box-shadow: 0 7px 20px #15120c25, inset 0 0 0 1px #25211d0a; }
.favorite-toggle.is-saved { background: #fff; color: #a34f43; box-shadow: 0 4px 16px #a34f4328, inset 0 0 0 1px #a34f4320; }
.favorite-toggle.is-saved .icon { fill: currentColor; }
.favorite-toggle.favorite-confirmed .icon { animation: favorite-pop 260ms cubic-bezier(.2,.8,.2,1); }
.favorite-toggle:active { transform: scale(.92); }
@keyframes favorite-pop { 50% { transform: scale(1.22); } }
.favorite-toggle--detail { position: static; display: inline-flex; gap: 9px; width: auto; min-height: 42px; padding: 0 14px; margin-block: 10px 14px; border-radius: 999px; box-shadow: none; font-size: 14px; }
.favorite-toggle--detail .icon { width: 18px; height: 18px; }
.product-card { position: relative; }
.wishlist-page { padding-block: 54px 88px; }
.wishlist-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-block-end: 30px; }
.wishlist-heading-copy { min-width: 0; }
.wishlist-heading .eyebrow { margin-block-end: 8px; color: var(--color-muted); }
.wishlist-heading h1 { margin-block-end: 8px; }
.wishlist-heading-copy > p:last-child { margin-block-end: 0; color: var(--color-muted); }
.wishlist-close { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid var(--color-line); border-radius: 50%; background: #fff; color: #34312d; text-decoration: none; transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.wishlist-close .icon { width: 19px; height: 19px; }
.wishlist-close:hover { transform: rotate(90deg); border-color: #263f38; background: #263f38; color: #fff; }
.wishlist-close:focus-visible { outline: 2px solid #263f38; outline-offset: 3px; }
.wishlist-status { min-height: 24px; margin-block-end: 12px; color: var(--color-muted); }
.wishlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wishlist-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--color-line); border-radius: 8px; background: #fff; }
.wishlist-card-image { display: grid; aspect-ratio: 1; place-items: center; overflow: hidden; background: #f7f6f3; }
.wishlist-card-image img { width: 100%; height: 100%; object-fit: cover; }
.wishlist-card-info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 9px; padding: 16px; }
.wishlist-card-title { font-size: 17px; font-weight: 600; line-height: 1.4; }
.wishlist-card-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.wishlist-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.wishlist-card-price del { color: var(--color-muted); font-size: 13px; }
.wishlist-stock { color: var(--color-muted); font-size: 13px; }
.wishlist-stock.is-unavailable { color: #8b4d3b; }
.wishlist-variant { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--color-line); border-radius: 4px; background: #fff; }
.wishlist-card-actions { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: auto; padding-block-start: 4px; }
.wishlist-card-actions .button { min-height: 44px; }
.wishlist-remove { min-height: 44px; border: 0; background: transparent; cursor: pointer; text-underline-offset: 3px; }
.wishlist-unavailable-image { display: grid; aspect-ratio: 1; place-items: center; background: #f7f6f3; color: #8b4d3b; font-size: 34px; }
.wishlist-unavailable-copy { padding: 0 16px 18px; color: var(--color-muted); }
.wishlist-empty { display: grid; min-height: 310px; justify-items: center; align-content: center; gap: 12px; padding: 28px; border: 1px solid var(--color-line); border-radius: 8px; text-align: center; }
.wishlist-empty[hidden] { display: none; }
.wishlist-empty-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #f5f3ef; color: #8b4d3b; }
.wishlist-empty-icon .icon { width: 25px; height: 25px; }
.wishlist-empty p { max-width: 440px; color: var(--color-muted); }
.wishlist-empty .button { margin-block-start: 8px; }
@media (max-width: 850px) {
  .pull-refresh-indicator { display: flex; }
  .mobile-bottom-nav {
    position: fixed; z-index: 40; inset-inline: 14px; bottom: max(10px, env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 62px;
    padding: 4px 6px; border: 1px solid #ffffffc9; border-radius: 999px; background: #fffffff0;
    box-shadow: 0 8px 30px #15120c20; -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
    opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none;
    transition: opacity 360ms ease, transform 440ms cubic-bezier(.2,.7,.25,1), visibility 0s linear 440ms;
  }
  .mobile-bottom-nav.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition: opacity 360ms ease, transform 440ms cubic-bezier(.2,.7,.25,1), visibility 0s; }
  .mobile-nav-item { position: relative; display: flex; min-width: 0; min-height: 50px; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; border-radius: 999px; background: transparent; color: #595650; font-size: 11px; line-height: 1.15; text-decoration: none; cursor: pointer; }
  .mobile-nav-item > .icon, .mobile-nav-icon-wrap > .icon { width: 21px; height: 21px; }
  .mobile-nav-label { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
  .mobile-nav-item.is-active { background: #f4f1ec; color: #253f38; font-weight: 700; }
  .mobile-nav-item:focus-visible { outline-offset: -2px; }
  .mobile-bottom-nav .menu-toggle { grid-column: auto; grid-row: auto; display: flex; width: auto; height: auto; padding: 0; font-size: 11px; }
  .mobile-nav-icon-wrap { position: relative; display: inline-flex; }
  .mobile-nav-badge { position: absolute; inset-block-start: -8px; inset-inline-end: -10px; display: grid; min-width: 17px; height: 17px; place-items: center; padding-inline: 4px; border: 2px solid #fff; border-radius: 999px; background: #263f38; color: #fff; font-size: 9px; font-weight: 700; line-height: 1; }
  .mobile-nav-badge[hidden] { display: none; }
  .mobile-bottom-nav.keyboard-open { display: none; }
  .shop-header { position: relative; z-index: 20; }
  .shop-header .site-nav.is-open { position: absolute; z-index: 41; inset-inline: 12px; inset-block-start: 100%; inset-block-end: auto; max-height: calc(100dvh - 160px); overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 14px; border: 1px solid var(--color-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 36px #17130f24; }
  .shop-header .site-nav a { min-height: 48px; padding-inline: 10px; border-radius: 8px; }
  .whatsapp-contact { --whatsapp-offset: calc(108px + env(safe-area-inset-bottom, 0px)); }
  .favorite-toggle { inset-block-start: 12px; inset-inline-end: 12px; width: 44px; height: 44px; }
  .favorite-toggle .icon { width: 18px; height: 18px; }
  .favorite-toggle--detail { position: static; width: auto; height: auto; min-height: 42px; padding-inline: 14px; }
  .wishlist-page { min-height: calc(100svh - 132px); padding-block: 30px 34px; }
  .wishlist-heading { align-items: flex-start; gap: 12px; margin-block-end: 18px; }
  .wishlist-close { width: 40px; height: 40px; flex-basis: 40px; }
  .wishlist-close .icon { width: 17px; height: 17px; }
  .wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wishlist-card-info { gap: 7px; padding: 10px; }
  .wishlist-card-title { font-size: 14px; }
  .wishlist-card-actions { flex-wrap: wrap; gap: 5px; }
  .wishlist-card-actions .button { width: 100%; min-height: 40px; padding-inline: 6px; font-size: 13px; }
  .wishlist-remove { align-self: center; min-height: 36px; }
}
@media (max-width: 1024px) {
  .favorite-toggle { inset-block-start: 8px; inset-inline-end: 8px; width: 30px; height: 30px; }
  .favorite-toggle:not(.favorite-toggle--detail)::before { position: absolute; inset: -7px; content: ''; }
  .favorite-toggle .icon { width: 14px; height: 14px; }
}
@media (max-width: 360px) {
  .mobile-bottom-nav { inset-inline: 8px; min-height: 60px; }
  .mobile-nav-item { font-size: 10px; }
  .wishlist-grid { gap: 8px; }
  .wishlist-card-info { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .favorite-toggle, .favorite-toggle .icon, .wishlist-close, .mobile-bottom-nav, .mobile-bottom-nav.is-visible, .pull-refresh-indicator { transition: none; animation: none; }
  .pull-refresh-indicator[data-state="refreshing"] .pull-refresh-spinner { animation: none; }
}
