/* Cart button, drawer and card buttons (assets/aqua-cart.js) */
.aqua-cart-btn { position: fixed; top: 11px; right: 74px; z-index: 20; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; color: #0b0b0c; cursor: pointer; }
.aqua-cart-btn:hover { color: #123a6b; }
.aqua-cart-btn:focus-visible { outline: 2px solid #123a6b; }
.aqua-cart-btn__n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #123a6b; color: #fff; font: 600 11px/18px Inter, system-ui, sans-serif; text-align: center; }
.aqua-cart-btn__n[hidden] { display: none; }
.top .logo { margin-left: auto; }
.top .aqua-cart-btn { position: relative; top: auto; right: auto; margin: -6px -10px -6px 12px; }

.aqua-cart { position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #f6f2ec; color: #1d1810; font-family: Inter, system-ui, sans-serif; }
.aqua-cart::backdrop { background: rgba(18, 14, 8, .45); backdrop-filter: blur(4px); }
html:has(.aqua-cart[open]) { overflow: hidden; }
.aqua-cart__in { display: flex; flex-direction: column; height: 100%; }
.aqua-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px 8px; }
.aqua-cart__head h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.aqua-cart__x { width: 40px; height: 40px; margin-right: -8px; border: 0; border-radius: 999px; background: rgba(29, 24, 16, .08); color: inherit; font: 400 24px/1 Inter, sans-serif; cursor: pointer; }
.aqua-cart__status { min-height: 20px; margin: 0; padding: 0 24px 8px; color: #0c4a2a; font-size: 13px; font-weight: 500; }
.aqua-cart__body { flex: 1; min-height: 0; padding: 0 24px; overflow-y: auto; }
.aqua-cart__list { margin: 0; padding: 0; list-style: none; }
.aqua-cart__line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(29, 24, 16, .14); }
.aqua-cart__line img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.aqua-cart__name { margin: 0; font-size: 15px; font-weight: 700; }
.aqua-cart__meta { margin: 2px 0 10px; color: #4e3820; font-size: 12.5px; line-height: 1.35; }
.aqua-cart__qty { display: inline-flex; align-items: center; border: 1px solid rgba(29, 24, 16, .22); border-radius: 999px; }
.aqua-cart__qty button { width: 34px; height: 32px; padding: 0; border: 0; border-radius: 999px; background: none; color: inherit; font: 500 16px/1 Inter, sans-serif; cursor: pointer; }
.aqua-cart__qty button:disabled { opacity: .35; cursor: default; }
.aqua-cart__qty output { min-width: 20px; font-size: 13px; font-weight: 600; text-align: center; }
.aqua-cart__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.aqua-cart__end b { font-size: 15px; font-weight: 600; }
.aqua-cart__end button, .aqua-cart__clear { padding: 6px 0; border: 0; background: none; color: #4e3820; font: 500 12.5px Inter, sans-serif; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.aqua-cart button:focus-visible, .aqua-cart a:focus-visible, .aqua-new__add:focus-visible { outline: 2px solid #123a6b; outline-offset: 2px; }
.aqua-cart__empty { padding: 72px 0; color: #4e3820; font-size: 15px; text-align: center; }
.aqua-cart__empty p { margin: 0 0 18px; }
.aqua-cart__empty a { display: inline-block; padding: 13px 24px; border-radius: 999px; background: #1d1810; color: #fbf6ec; font-size: 14px; font-weight: 600; text-decoration: none; }
.aqua-cart__foot { display: block; color: #1d1810; padding: 16px 24px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(29, 24, 16, .14); text-align: center; }
.aqua-cart__foot[hidden] { display: none; }
.aqua-cart__foot p { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 14px; font-size: 15px; }
.aqua-cart__foot b { font-size: 24px; font-weight: 600; }
.aqua-cart__checkout { display: block; width: 100%; margin-bottom: 6px; padding: 15px 24px; border: 0; border-radius: 999px; background: #1d1810; color: #fbf6ec; font: 600 14px Inter, sans-serif; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .aqua-cart[open] { animation: aqua-cart-in .28s cubic-bezier(.2, .8, .2, 1); }
  @keyframes aqua-cart-in { from { transform: translateX(100%); } }
}

/* Collection grid: the card link and its button sit side by side in a cell */
.aqua-new__cell { position: relative; }
.aqua-new__cell[hidden] { display: none; }
/* Inset 13% clears the squircle's glass rim at every card size. A % margin resolves against width, so top and right stay equal on a tall cell. */
.aqua-new__add { position: absolute; top: 0; right: calc(13% - 5px); margin-top: calc(13% - 5px); z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; transition: transform .18s ease; }
/* Frosted glass bag: the real backdrop blur, clipped to the bag body. No filter or opacity on the button, or the blur loses its backdrop. */
.aqua-new__add::before { content: ""; position: absolute; inset: 4px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .3) 52%, rgba(255, 255, 255, .5));
  -webkit-backdrop-filter: blur(6px) saturate(1.5); backdrop-filter: blur(6px) saturate(1.5);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8.2 11h15.6a2.2 2.2 0 0 1 2.2 2l1.2 12.6a3 3 0 0 1-3 3.4H7.8a3 3 0 0 1-3-3.4L6 13a2.2 2.2 0 0 1 2.2-2Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8.2 11h15.6a2.2 2.2 0 0 1 2.2 2l1.2 12.6a3 3 0 0 1-3 3.4H7.8a3 3 0 0 1-3-3.4L6 13a2.2 2.2 0 0 1 2.2-2Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.aqua-new__add svg { position: absolute; inset: 4px; overflow: visible; filter: drop-shadow(0 2px 4px rgba(18, 40, 70, .32)); }
.aqua-new__add-edge { stroke: rgba(18, 58, 107, .42); stroke-width: 2.1; }
.aqua-new__add-rim { stroke: rgba(255, 255, 255, .96); stroke-width: 1.15; }
.aqua-new__add-shine { stroke: rgba(255, 255, 255, .85); stroke-width: 1.2; }
.aqua-new__add-plus { stroke: #123a6b; stroke-width: 2.2; }
.aqua-new__add:hover { transform: scale(1.1); }
.aqua-new__add:active { transform: scale(.92); }
@media (prefers-reduced-motion: reduce) { .aqua-new__add { transition: none; } .aqua-new__add:hover, .aqua-new__add:active { transform: none; } }
