#shop {
  padding-block-start: clamp(1.2rem, 3.2vw, 3rem);
  --collection-ink: #433a34;
  --collection-line: #dcd1c8;
  --collection-accent: #805542;
  color: var(--collection-ink);
}

.collection-banner {
  padding: 1.2rem 0 1.45rem;
  border-block-end: 1px solid var(--collection-line);
}

.collection-banner nav { display: flex; gap: .7rem; font-size: .84rem; }
.collection-banner a, .collection-card a { color: inherit; }
.collection-banner h1 { margin: .55rem 0 .35rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; }
.collection-banner p { margin: 0; color: #615751; }
.collection-categories { display: flex; gap: .55rem; flex-wrap: wrap; margin: 1.15rem 0; }
.collection-categories button { border: 1px solid var(--collection-line); background: #fffaf5; color: inherit; padding: .48rem 1rem; border-radius: 2rem; }
.collection-categories button[aria-pressed=true] { background: #615751; border-color: #615751; color: white; }
.collection-tools { display: flex; align-items: center; gap: .75rem; }
.collection-sidebar { position: relative; }
.collection-sidebar summary { cursor: pointer; font-weight: 700; border: 1px solid var(--collection-line); background: #fffaf5; padding: .37rem .7rem; min-height: 2.6rem; }
.collection-sidebar form { position: absolute; z-index: 5; inset-inline-start: 0; width: min(18rem, 82vw); margin-top: .45rem; padding: .1rem 1.05rem 1rem; background: #fffaf5; border: 1px solid var(--collection-line); box-shadow: 0 12px 30px #433a3424; }
.collection-sidebar summary span:not(:empty) { margin-inline-start: .3rem; color: var(--collection-accent); }
.collection-sidebar fieldset { min-inline-size: 0; margin: 1.25rem 0; padding: .65rem 0 0; border: 0; border-block-start: 1px solid var(--collection-line); }
.collection-sidebar legend { padding-inline-end: .5rem; font-weight: 700; }
.collection-sidebar label { display: block; font-size: .88rem; padding-block: .2rem; }
.collection-sidebar input { accent-color: var(--collection-accent); }
.collection-sidebar input[type=range] { display: block; width: 100%; margin: .6rem 0; }
.collection-sidebar output { display: block; color: var(--collection-accent); }
.collection-reset { padding: .4rem 0; border: 0; background: transparent; color: var(--collection-accent); text-decoration: underline; }
.collection-toolbar, .collection-controls { display: flex; align-items: center; gap: .6rem; }
.collection-toolbar { justify-content: space-between; flex-wrap: wrap; border-block-end: 1px solid var(--collection-line); padding-block-end: .75rem; margin-block-end: 1.1rem; }
.collection-toolbar p { margin: 0; }
.collection-controls label { font-size: .82rem; }
.collection-controls select, .collection-controls button { min-height: 2.75rem; border: 1px solid var(--collection-line); border-radius: .65rem; background: #fffaf5; color: inherit; font: inherit; }
.collection-controls select { padding-inline: .35rem; }
.collection-controls input { width: min(12rem, 40vw); min-height: 2.75rem; padding-inline: .7rem; border: 1px solid var(--collection-line); border-radius: .65rem; background: #fffaf5; font: inherit; color: inherit; }
.collection-controls button { min-width: 2.75rem; font-size: 1.2rem; }
.collection-controls button[aria-pressed=true] { background: var(--collection-accent); border-color: var(--collection-accent); color: #fff; }
.collection-sidebar summary { border-radius: .65rem; min-height: 2.75rem; }
.collection-sidebar form { border-radius: .8rem; }
.collection-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.55rem, 1.4vw, 1.35rem); }
.collection-card { min-width: 0; }
.collection-card-media { position: relative; }
.product-favorite {
  --favorite-surface: #fffaf5;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #c8b8ad;
  border-radius: .65rem;
  background: var(--favorite-surface);
  color: #503c33;
  font: inherit;
}
.collection-favorite-corner {
  --favorite-notch-curve: 10px;
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  border-bottom-right-radius: 19px;
  transition: background-color .25s ease;
}
.collection-favorite-corner::before, .collection-favorite-corner::after {
  content: "";
  position: absolute;
  width: var(--favorite-notch-curve);
  height: var(--favorite-notch-curve);
  background: radial-gradient(circle at bottom right, transparent calc(var(--favorite-notch-curve) - .6px), var(--paper) var(--favorite-notch-curve));
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.collection-favorite-corner::before { top: 0; left: calc(100% - .5px); }
.collection-favorite-corner::after { top: calc(100% - .5px); left: 0; }
.collection-favorite-corner:has(> .product-favorite[aria-pressed=true]) { background: var(--paper); }
.collection-favorite-corner:has(> .product-favorite[aria-pressed=true])::before,
.collection-favorite-corner:has(> .product-favorite[aria-pressed=true])::after { opacity: 1; }
.product-favorite:hover { --favorite-surface: #f2e6de; }
.product-favorite[aria-pressed=false] {
  border-color: transparent;
  background: transparent;
}
.collection-favorite-corner .product-favorite[aria-pressed=false] .favorite-heart {
  filter: drop-shadow(0 0 1px #fffaf5) drop-shadow(0 0 2px #fffaf5);
}
.product-favorite[aria-pressed=true] {
  --favorite-surface: #fff2ef;
  color: #c82038;
  border-color: #d6858e;
}
.favorite-heart {
  position: relative;
  width: 24px;
  height: 24px;
}
.favorite-heart::before, .favorite-heart::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
}
.favorite-heart::before { mask: url("assets/heart-svgrepo-com.svg") center / contain no-repeat; }
.favorite-heart::after {
  clip-path: path("M12 5.9 C16.1 1.8 21.4 3.8 21.4 9.15 C21.4 13.1 17.6 16.25 14.7 18.5 C13.35 19.55 12.65 19.95 12 19.95 C11.35 19.95 10.65 19.55 9.3 18.5 C6.4 16.25 2.6 13.1 2.6 9.15 C2.6 3.8 7.9 1.8 12 5.9 Z");
  opacity: 0;
  transition: opacity .2s ease;
}
.product-favorite[aria-pressed=true] .favorite-heart::after { opacity: 1; }
.favorite-pop[aria-pressed=true] .favorite-heart { animation: favorite-heart-pop .42s cubic-bezier(.22,.75,.35,1); }
.favorite-pop[aria-pressed=true]::after {
  position: absolute;
  inset: 8px;
  content: "";
  pointer-events: none;
  border: 1px solid #e34c61;
  border-radius: 50%;
  animation: favorite-heart-ring .48s ease-out both;
}
@keyframes favorite-heart-pop {
  0% { transform: scale(.8); }
  48% { transform: scale(1.38) rotate(-9deg); }
  73% { transform: scale(.94) rotate(3deg); }
  100% { transform: scale(1); }
}
@keyframes favorite-heart-ring {
  from { transform: scale(.55); opacity: .85; }
  to { transform: scale(1.9); opacity: 0; }
}
@media (max-width: 680px) {
  .product-favorite { width: 32px; height: 32px; border-radius: .5rem; }
  .product-favorite .favorite-heart { scale: .76; }
  .collection-favorite-corner { padding: 4px; border-bottom-right-radius: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .favorite-pop[aria-pressed=true] .favorite-heart { animation: none; }
  .favorite-pop[aria-pressed=true]::after { content: none; }
  .favorite-heart::after { transition: none; }
  .collection-favorite-corner, .collection-favorite-corner::before, .collection-favorite-corner::after { transition: none; }
}
.product-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .75rem; }
.collection-art { display: block; aspect-ratio: 1; border-radius: clamp(.85rem, 2vw, 1.5rem); background-color: #e5d5cb; }
.collection-quick-buy {
  --notch-curve: .65rem;
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: end;
  padding: .45rem 0 0 .45rem;
  border-top-left-radius: 1.3rem;
  background: var(--paper);
  direction: ltr;
}
.collection-quick-buy::before, .collection-quick-buy::after {
  content: "";
  position: absolute;
  width: var(--notch-curve);
  height: var(--notch-curve);
  background: radial-gradient(circle at top left, transparent calc(var(--notch-curve) - .5px), var(--paper) var(--notch-curve));
  pointer-events: none;
}
.collection-quick-buy::before { right: 0; bottom: 100%; }
.collection-quick-buy::after { right: 100%; bottom: 0; }
.collection-photo { background-image: url("assets/collection-studio.jpg"); background-size: 200% 200%; background-repeat: no-repeat; }
.photo-sarv { background-position: left top; }
.photo-toranj { background-position: right top; }
.photo-pichak { background-position: left bottom; }
.photo-mah { background-position: right bottom; }
#detailProductArt.collection-photo, .related-art.collection-photo {
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
}
.related-card > a { color: inherit; text-decoration: none; }
.related-card > a:hover h3 { text-decoration: underline; }
.collection-card-info { padding: .65rem .12rem .45rem; }
.collection-card-info :is(h2, h3) { font-size: .96rem; font-weight: 500; margin: 0 0 .16rem; }
.collection-card-info :is(h2, h3) a { text-decoration: none; }
.collection-card-info :is(h2, h3) a:hover { text-decoration: underline; }
.collection-price { font-size: 1.03rem; font-weight: 800; }
.collection-quick-buy .shop-add-button, #pageProductAdd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  background: #684936;
  color: #fffaf5;
  font-weight: 700;
  transition: background-color .16s ease, transform .16s ease;
}
.collection-quick-buy .shop-add-button {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: .88rem;
  background: #38312d;
}
.collection-quick-buy .shop-add-button:hover, #pageProductAdd:hover { background: #503627; }
.collection-quick-buy .shop-add-button:active, #pageProductAdd:active { transform: scale(.98); }
#shop :is(button, a, input, select, summary):focus-visible, #pageProductAdd:focus-visible {
  outline: 2px solid #805542;
  outline-offset: 2px;
}
.shop-bag-icon, .shop-user-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  vertical-align: middle;
  background: currentColor;
}
.shop-bag-icon {
  position: relative;
  width: .9rem;
  height: .78rem;
  margin-top: .2rem;
  border: 1.5px solid currentColor;
  border-radius: .16rem;
  background: none;
}
.shop-bag-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -.34rem;
  transform: translateX(-50%);
  width: .38rem;
  height: .34rem;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: .25rem .25rem 0 0;
}
.shop-user-icon { mask: url("assets/user-alt-1-svgrepo-com.svg") center / contain no-repeat; margin-inline-end: .32rem; }
#toast { pointer-events: none; }
.collection-products.as-list { grid-template-columns: 1fr; }
.as-list .collection-card { display: grid; grid-template-columns: clamp(6rem, 20vw, 11rem) minmax(0, 1fr); align-items: center; }
.as-list .collection-card { gap: 1rem; }
.collection-empty { grid-column: 1 / -1; padding: 2rem; background: #fffaf5; }
.collection-image-note { color: #615751; font-size: .77rem; margin-block: 1.2rem 0; }

@media (max-width: 950px) {
  .collection-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .collection-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collection-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; width: 100%; }
  .collection-controls input { grid-column: 1 / -1; width: 100%; }
  .collection-controls label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .collection-categories button { font-size: .8rem; padding-inline: .7rem; }
  .collection-quick-buy .shop-add-button { width: 37px; height: 37px; min-height: 37px; border-radius: .72rem; }
  .collection-quick-buy .shop-bag-icon { scale: .9; }
}
@media (max-width: 760px) {
  .site-header .profile-btn { display: inline-flex; align-items: center; gap: .2rem; padding-inline: .55rem; font-size: .74rem; white-space: nowrap; min-height: 40px; }
  .site-header .profile-btn .shop-user-icon { width: .95rem; height: .95rem; margin: 0; }
  .site-header .cart-btn { padding-inline: .55rem; white-space: nowrap; min-height: 40px; }
  .site-header .header-actions { gap: .3rem; }
  .site-header .menu-btn { width: 34px; }
}
@media (max-width: 440px) {
  #shop { padding-inline: .65rem; }
  .collection-card-info { padding-block-start: .45rem; }
  .collection-card-info :is(h2, h3) { font-size: .83rem; }
  .collection-price { font-size: .76rem; }
  .collection-quick-buy { padding: .27rem 0 0 .27rem; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-quick-buy .shop-add-button, #pageProductAdd { transition: none; }
}

#product-detail {
  --product-line: #d9cec5;
  --product-muted: #665950;
  color: #38312d;
}
.product-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.35rem;
  font-size: .82rem;
  color: var(--product-muted);
}
.product-path a, .product-related header a { color: inherit; }
.product-path [aria-current] { font-weight: 700; }
.product-layout, .product-section {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(1.25rem, 4vw, 4rem);
}
.product-figure { margin: 0; min-width: 0; }
.product-gallery-grid { display: grid; grid-template-columns: clamp(2.8rem, 5.4vw, 4.6rem) minmax(0, 1fr); gap: .65rem; }
.product-views { display: grid; align-content: start; gap: .55rem; }
.product-views button {
  padding: .15rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: transparent;
}
.product-views button[aria-pressed=true] { border-color: #805542; }
.product-photo-window {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: .55rem;
  background: #e5d5cb;
}
.product-stage {
  position: relative;
  min-width: 0;
}
.product-stage .product-photo-window { border-radius: 1.35rem; }
.product-photo-window .collection-photo { display: block; width: 100%; height: 100%; }
.product-photo-window .crop-pattern { transform: scale(1.65); transform-origin: 50% 45%; }
.product-photo-window .crop-grain { transform: scale(2.1); transform-origin: 54% 67%; }
.product-gallery-notch {
  --notch-curve: 20px;
  --notch-gradient-edge: right;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 56px;
  border-radius: 0 24px 24px 0;
  background: var(--paper);
}
.product-gallery-notch.notch-left { left: 0; }
.product-gallery-notch.notch-right {
  --notch-gradient-edge: left;
  right: 0;
  border-radius: 24px 0 0 24px;
}
.product-gallery-notch::before, .product-gallery-notch::after {
  content: "";
  position: absolute;
  width: var(--notch-curve);
  height: var(--notch-curve);
  pointer-events: none;
}
.product-gallery-notch::before {
  bottom: calc(100% - .5px);
  background: radial-gradient(circle at top var(--notch-gradient-edge), transparent calc(var(--notch-curve) - .75px), var(--paper) var(--notch-curve));
}
.product-gallery-notch::after {
  top: calc(100% - .5px);
  background: radial-gradient(circle at bottom var(--notch-gradient-edge), transparent calc(var(--notch-curve) - .75px), var(--paper) var(--notch-curve));
}
.product-gallery-notch.notch-left::before, .product-gallery-notch.notch-left::after { left: 0; }
.product-gallery-notch.notch-right::before, .product-gallery-notch.notch-right::after { right: 0; }
.product-gallery-arrow {
  display: grid;
  place-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #38312d;
  font-size: 1.1rem;
  line-height: 1;
  isolation: isolate;
}
.product-gallery-arrow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6px;
  border: 1px solid #c8b8ad;
  border-radius: 9px;
  background: #fffaf5;
}
.product-gallery-arrow span {
  position: relative;
  width: 13px;
  border-top: 1.5px solid currentColor;
}
.product-gallery-arrow span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.notch-left .product-gallery-arrow span { transform: scaleX(-1); }
.product-gallery-arrow:hover::before { background: #f2e6de; border-color: #926851; }
.product-gallery-arrow:active::before { background: #e5d5cb; }
.product-gallery-arrow:focus-visible::before { outline: 2px solid #805542; outline-offset: 2px; }
#product-detail .product-gallery-arrow:focus-visible { outline: none; }
.product-order { min-width: 0; align-self: start; }
.product-kind { color: var(--product-muted); margin: 0; font-size: .85rem; }
.product-order h1 { margin: .15rem 0 .4rem; font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.2; }
.product-unit-price { font-size: clamp(1.2rem, 2.2vw, 1.75rem); }
.product-overview { display: flex; flex-wrap: wrap; gap: 1rem 3rem; padding: 1rem 0; margin: 1.15rem 0; border-block: 1px solid var(--product-line); }
.product-overview dt { color: var(--product-muted); font-size: .8rem; }
.product-overview dd { display: flex; align-items: center; gap: .4rem; margin: .15rem 0 0; font-weight: 700; }
.product-wood-dot { width: .9rem; height: .9rem; border-radius: 50%; background: #815a43; border: 1px solid #5c483542; }
[data-wood=toranj] .product-wood-dot { background: #bf8c54; }
[data-wood=pichak] .product-wood-dot { background: #a36a46; }
[data-wood=mah] .product-wood-dot { background: #dbb58b; }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
#pageProductCart { display: none; }
.product-actions .qty-control { border-radius: 1.5rem; min-height: 44px; }
.product-actions .qty-control button:disabled { opacity: .4; cursor: default; }
.product-trash-icon:not([hidden]) {
  display: inline-block;
  width: .92rem;
  height: .92rem;
  vertical-align: middle;
  background: currentColor;
  mask: url("assets/recycle-bin-svgrepo-com.svg") center / contain no-repeat;
}
#pageProductAdd { border-radius: 1.5rem; background: #38312d; }
#pageProductAdd:hover { background: #503627; }
#pageProductAdd.is-added { background: #82533c; }
#pageProductAdd.purchase-pop { animation: product-purchase-pop .4s ease-out; }
#pageProductAdd.purchase-pop .product-total { animation: product-price-in .35s ease-out both; }
@keyframes product-purchase-pop {
  45% { transform: scale(1.045); background-color: #a26c51; }
}
@keyframes product-price-in {
  from { opacity: 0; transform: translateX(5px) scale(.92); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  #pageProductAdd.purchase-pop, #pageProductAdd.purchase-pop .product-total { animation: none; }
}
.product-total { border-radius: 1rem; background: #fffaf5; color: #38312d; padding: .12rem .55rem; font-size: .76rem; white-space: nowrap; }
.product-shipping { color: var(--product-muted); font-size: .81rem; margin: .75rem 0 0; }
.product-section { border-block-start: 1px solid var(--product-line); padding-block: 1.5rem; margin-block-start: 1.5rem; }
.product-section h2 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); margin: 0; }
.product-section p { margin: 0 0 .65rem; line-height: 1.95; }
.product-dimensions { margin: 0; }
.product-dimensions > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-block-end: 1px solid var(--product-line); }
.product-dimensions dd { margin: 0; text-align: end; font-weight: 700; }
.product-related { grid-template-columns: minmax(0, .35fr) minmax(0, 1.65fr); }
.product-related header a { display: inline-block; margin-top: .5rem; font-size: .86rem; }
.product-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.product-related-grid h3 { margin: 0 0 .15rem; font-size: .96rem; font-weight: 500; }
.product-related-grid h3 a { text-decoration: none; }
#product-detail #pageProductAdd:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
}
#product-detail #pageProductAdd:disabled:hover { background: #38312d; }
.product-mobile-back, .product-mobile-intro, .product-mobile-price { display: none; }
#product-detail :is(button, a):focus-visible { outline: 2px solid #805542; outline-offset: 2px; }
@media (max-width: 760px) {
  .product-layout, .product-section, .product-related { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .product-layout { gap: 1.25rem; }
  .product-related-grid { gap: .5rem; }
  .product-related-grid h3 { font-size: .82rem; }
}
@media (max-width: 680px) {
  #product-detail { padding: .7rem 0 calc(7rem + env(safe-area-inset-bottom)); }
  #product-detail .detail-wrap { max-width: none; }
  .product-path, .product-gallery-notch, .product-unit-price, #detailProductDesc { display: none; }
  .product-layout { gap: .9rem; }
  .product-figure { margin-inline: .7rem; }
  .product-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .product-stage { grid-row: 1; }
  .product-stage .product-photo-window { border-radius: 1.6rem; touch-action: pan-y pinch-zoom; }
  .product-mobile-back {
    position: fixed;
    z-index: 60;
    inset-inline-start: max(1rem, env(safe-area-inset-right));
    inset-block-start: calc(76px + env(safe-area-inset-top));
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: .8rem;
    text-decoration: none;
    background: #fffaf5;
    color: #38312d;
    border: 1px solid #d9cec5;
    box-shadow: 0 3px 10px #30282522;
    font-size: 1.15rem;
  }
  .product-views {
    display: flex;
    gap: .32rem;
    padding-inline: .5rem;
  }
  .product-views button {
    width: 38px;
    padding: 2px;
    border-radius: .55rem;
  }
  .product-order, .product-section { margin-inline: 1.2rem; }
  .product-order h1 { font-size: clamp(2.1rem, 11vw, 3.5rem); }
  .product-mobile-intro { display: block; font-size: .93rem; line-height: 1.85; color: var(--product-muted); margin: .5rem 0 0; }
  .product-actions {
    position: fixed;
    z-index: 70;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .7rem;
    padding: .62rem max(1rem, env(safe-area-inset-right)) calc(.62rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: #302825;
    color: #fffaf5;
    border-radius: 1.25rem 1.25rem 0 0;
  }
  .product-actions:has(#pageProductCart:not([hidden])) {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .45rem;
  }
  #pageProductCart:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    min-height: 52px;
    padding: 0;
    border: 1px solid #fffaf582;
    border-radius: .8rem;
    background: transparent;
    color: #fffaf5;
  }
  #pageProductCart:hover, #pageProductCart:active { background: #fffaf52b; }
  .product-buy-summary { display: grid; justify-items: start; gap: .12rem; }
  .product-mobile-price { display: block; font-size: clamp(.77rem, 3.5vw, .92rem); white-space: nowrap; }
  .product-actions .qty-control { min-height: 30px; border-color: #ffffff50; color: inherit; }
  .product-actions .qty-control button { width: 32px; min-height: 30px; color: inherit; }
  #pageProductAdd {
    min-height: 52px;
    flex-wrap: wrap;
    gap: .15rem .36rem;
    border-radius: .8rem;
    background: #fffaf5;
    color: #302825;
    font-size: .81rem;
    padding-inline: .45rem;
  }
  #pageProductAdd:hover { background: #e5d5cb; }
  #product-detail #pageProductAdd:disabled:hover { background: #fffaf5; }
  #pageProductAdd.is-added { background: #82533c; color: #fffaf5; }
  #pageProductAdd:active { transform: none; }
  .product-total { font-size: .69rem; }
  body:has(#product-detail.active) #toast { bottom: calc(6.35rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  #pageProductAdd.purchase-pop { animation-name: product-purchase-color; }
  @keyframes product-purchase-color {
    45% { background-color: #a26c51; }
  }
}
