body{background:linear-gradient(180deg,#fff8fa 0%,#fff 100%)}
.sparkle{background-image:radial-gradient(circle at 20% 20%,rgba(255,255,255,.8) 0 2px,transparent 3px),radial-gradient(circle at 80% 30%,rgba(255,255,255,.8) 0 2px,transparent 3px),radial-gradient(circle at 40% 70%,rgba(255,255,255,.8) 0 2px,transparent 3px)}
.gallery-card img{aspect-ratio:4/5;object-fit:cover;width:100%}

.pm-product-richtext,
.pm-product-richtext * {
  max-width: 100%;
}
.pm-product-richtext {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pm-product-richtext a,
.pm-product-richtext p,
.pm-product-richtext span,
.pm-product-richtext strong {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pm-product-richtext img,
.pm-product-richtext iframe,
.pm-product-richtext table {
  max-width: 100%;
  height: auto;
}

/* ═══════════════════════════
   PRICING CARDS
   ═══════════════════════════ */
.pm-rooms-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pm-rooms-grid { grid-template-columns: 1fr 1fr; }
}

/* Card wrapper */
@keyframes pmCardGentleSway {
  0%, 100% { transform: translateY(0) rotateZ(0deg) scale(1); }
  20% { transform: translateY(-4px) rotateZ(-1.1deg) scale(1.006); }
  45% { transform: translateY(-1px) rotateZ(0.9deg) scale(1.002); }
  70% { transform: translateY(-5px) rotateZ(-0.65deg) scale(1.008); }
}

.pm-room-card {
  position: relative;
  border-radius: 2rem;
  border: 1.5px solid #ffc9dd;
  background: linear-gradient(180deg, #ffffff 0%, #fffdfd 28%, #fff5f9 66%, #ffeef4 100%);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 3px 8px rgba(255,255,255,.72) inset,
    0 -6px 12px rgba(255,214,230,.16) inset,
    0 14px 28px rgba(139,35,35,.07),
    0 24px 44px rgba(230,76,130,.11);
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition: box-shadow .28s ease, border-color .28s ease, background .28s ease;
  animation: pmCardGentleSway 4.6s ease-in-out infinite;
  overflow: hidden;
}
.pm-room-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.04) 35%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.pm-room-card::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -18px;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(230,76,130,.14) 0%, rgba(230,76,130,0) 74%);
  filter: blur(9px);
  pointer-events: none;
  z-index: -1;
}
.pm-room-card:hover {
  box-shadow:
    0 8px 18px rgba(255,255,255,.95) inset,
    0 -12px 22px rgba(255,214,230,.28) inset,
    0 16px 34px rgba(139,35,35,.10),
    0 30px 62px rgba(230,76,130,.16);
}
.pm-room-card--magenta {
  border-color: #ffb2d2;
  background: linear-gradient(180deg, #fffdfd 0%, #fff7fb 28%, #ffedf5 66%, #ffe4ef 100%);
  box-shadow:
    0 3px 8px rgba(255,255,255,.74) inset,
    0 -6px 12px rgba(255,205,225,.18) inset,
    0 14px 30px rgba(230,76,130,.09),
    0 26px 50px rgba(230,76,130,.13);
  animation-duration: 4.9s;
  animation-delay: -.7s;
}
.pm-room-card--magenta::after {
  background: radial-gradient(ellipse at center, rgba(230,76,130,.28) 0%, rgba(230,76,130,0) 74%);
}
.pm-room-card--magenta:hover {
  box-shadow:
    0 8px 18px rgba(255,255,255,.96) inset,
    0 -12px 22px rgba(255,205,225,.30) inset,
    0 16px 34px rgba(230,76,130,.12),
    0 32px 66px rgba(230,76,130,.18);
}

/* Body */
.pm-room-body { padding: 1.75rem 1.75rem 1rem; flex: 1; }

.pm-room-head {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.pm-room-icon {
  font-size: 1.5rem;
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  color: #7f1d1d;
  border: 1px solid rgba(139,35,35,.12);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(139,35,35,.12);
}
.pm-room-label {
  font-size: .65rem; font-weight: 900;
  letter-spacing: .18em; text-transform: uppercase;
  color: #7f1d1d; margin: 0 0 .1rem;
  display: flex; align-items: center; gap: .4rem;
}
.pm-room-hot {
  background: #E64C82; color: #fff;
  font-size: .55rem; font-weight: 800;
  padding: .1rem .4rem; border-radius: 999px;
  letter-spacing: .06em;
}
.pm-room-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem; font-weight: 900;
  color: #7a1f35; margin: 0; line-height: 1.1;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}

.pm-room-desc {
  font-size: .9rem; color: #374151;
  font-weight: 500;
  line-height: 1.7; margin: 0 0 1rem;
}

.pm-room-perks {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .4rem;
}
.pm-room-perks li {
  font-size: .88rem; color: #111827;
  font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
}

/* Prices row */
.pm-room-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1.5px solid #fce7f3;
  border-bottom: 1.5px solid #fce7f3;
}
.pm-room-card--magenta .pm-room-prices {
  border-color: #fba4c8;
}
.pm-room-price {
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  transition: background .15s;
}
.pm-room-price:first-child { border-right: 1.5px solid #fce7f3; }
.pm-room-card--magenta .pm-room-price:first-child { border-color: #fba4c8; }
.pm-room-price:hover { background: rgba(139,35,35,.03); }
.pm-room-price--pop { background: #fff5f8; }
.pm-room-card--magenta .pm-room-price--pop { background: #fff0f7; }

.pm-rp-badge {
  font-size: .6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  background: #fce7f3; color: #8B2323;
  padding: .2rem .55rem; border-radius: 999px;
}
.pm-rp-badge--magenta { background: #fce7f3; color: #E64C82; }
.pm-rp-badge--pop { background: #8B2323; color: #fff; }

.pm-rp-num {
  font-family: "Montserrat", sans-serif;
  font-size: 2.6rem; font-weight: 800;
  color: #8B2323; line-height: 1;
}
.pm-rp-num span { font-size: 1.2rem; font-weight: 700; }
.pm-rp-num--magenta { color: #E64C82; }
.pm-rp-sub { font-size: .68rem; color: #475569; margin: 0; }

/* Footer */
.pm-room-footer {
  padding: 1.25rem 1.75rem 1.5rem;
  display: flex; flex-direction: column;
  align-items: stretch; gap: .6rem;
}
.pm-room-btn {
  display: flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem; border-radius: 999px;
  font-size: .875rem; font-weight: 700;
  text-decoration: none; text-align: center;
  transition: opacity .15s, transform .15s;
}
.pm-room-btn:hover { opacity: .88; transform: scale(1.02); }
.pm-room-btn--maroon { background: #8B2323; color: #fff; }
.pm-room-btn--magenta { background: #E64C82; color: #fff; }
.pm-room-hotline {
  text-align: center; font-size: .78rem; font-weight: 700;
  color: #8B2323; text-decoration: none;
}
.pm-room-hotline:hover { text-decoration: underline; }
.pm-room-hotline--magenta { color: #E64C82; }

@media (max-width: 480px) {
  .pm-room-body { padding: 1.25rem 1.25rem .75rem; }
  .pm-rp-num { font-size: 2.1rem; }
  .pm-room-footer { padding: 1rem 1.25rem 1.25rem; }
}

#main-nav .group > div[class*="top-full"] {
  margin-top: -8px;
  padding-top: 8px;
}

/* ═══════════════════════════
   MOBILE CART BUTTON + BADGE
   ═══════════════════════════ */
#cart-btn-mobile {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid #fce7f3;
  background: #fff;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  flex-shrink: 0;
}
#cart-btn-mobile:hover { background: #fff0f5; box-shadow: 0 2px 8px rgba(230,76,130,.15); }

#cart-badge-mobile {
  display: none;
  position: absolute;
  top: -5px; right: -5px;
  min-width: 17px; height: 17px;
  background: #E64C82;
  color: #fff;
  border-radius: 999px;
  font-size: 10px; font-weight: 700; line-height: 1;
  align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  pointer-events: none;
}

/* ═══════════════════════════
   MOBILE NAV ACCORDION
   ═══════════════════════════ */
.mobile-nav-parent {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
}
.mobile-nav-parent:hover { color: #8B2323; }
.mobile-nav-arrow { display: inline-block; transition: transform .25s ease; }
.mobile-nav-children {
  border-left: 2px solid #fce7f3;
  margin-left: 12px;
  padding-left: 4px;
}
.mobile-nav-children a { color: #475569; font-size: 0.8rem; }
.mobile-nav-children a:hover { color: #8B2323; }


/* ═══════════════════════════
   CART — Badge & Button
   ═══════════════════════════ */
#cart-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid #fce7f3;
  background: #fff;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
  flex-shrink: 0;
}
#cart-btn:hover { background: #fff0f5; box-shadow: 0 2px 8px rgba(230,76,130,.15); }

#cart-badge {
  display: none;
  position: absolute;
  top: -5px; right: -5px;
  min-width: 17px; height: 17px;
  background: #E64C82;
  color: #fff;
  border-radius: 999px;
  font-size: 10px; font-weight: 700; line-height: 1;
  align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  pointer-events: none;
}

@keyframes cartPop { 0%{transform:scale(1)} 45%{transform:scale(1.25)} 100%{transform:scale(1)} }
.cart-pop { animation: cartPop .35s ease; }

/* ═══════════════════════════
   CART — Toast
   ═══════════════════════════ */
.pm-cart-toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1c1c2e;
  color: #fff;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13.5px; font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity .22s, transform .22s;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.pm-cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════
   CART — Overlay
   ═══════════════════════════ */
#cart-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15, 10, 20, .45);
  z-index: 1000;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
#cart-overlay.open { display: block; }

/* ═══════════════════════════
   CART — Sidebar
   ═══════════════════════════ */
#cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 400px; max-width: 100vw;
  height: 100dvh;
  background: #fff;
  z-index: 1001;
  display: flex; flex-direction: column;
  transform: translateX(110%);
  transition: transform .32s cubic-bezier(.32,0,.12,1);
  box-shadow: -8px 0 48px rgba(139,35,35,.1);
}
#cart-sidebar.open { transform: translateX(0); }

/* Header */
.cart-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #fdf2f5;
  background: linear-gradient(135deg, #fff8fa 0%, #fff 100%);
}
.cart-sidebar-header h2 {
  font-size: 17px; font-weight: 700; color: #8B2323;
  display: flex; align-items: center; gap: 8px;
}
.cart-header-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fce7f3; color: #E64C82;
  font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px;
  border-radius: 999px; padding: 0 5px;
}
#cart-close-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: #f8f8f8; border: none; border-radius: 50%;
  cursor: pointer; font-size: 15px; color: #64748b;
  transition: background .15s, color .15s;
}
#cart-close-btn:hover { background: #fce7f3; color: #8B2323; }

/* Body */
#cart-sidebar-body {
  flex: 1; overflow-y: auto;
  padding: 16px 22px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #fce7f3 transparent;
}
#cart-sidebar-body::-webkit-scrollbar { width: 4px; }
#cart-sidebar-body::-webkit-scrollbar-thumb { background: #fce7f3; border-radius: 4px; }

/* Empty state */
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; flex: 1;
  gap: 12px; color: #94a3b8;
  padding: 40px 20px;
}
.cart-empty-icon { font-size: 56px; opacity: .6; }
.cart-empty p { font-size: 15px; font-weight: 500; }
.cart-empty small { font-size: 13px; color: #cbd5e1; }
.cart-shop-link {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #E64C82, #c23e6e);
  color: #fff;
  padding: 11px 26px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 4px 12px rgba(230,76,130,.3);
}
.cart-shop-link:hover { opacity: .9; transform: translateY(-1px); }

/* Item */
.cart-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  background: #fffbfc;
  border: 1px solid #fdf0f4;
  transition: box-shadow .15s;
}
.cart-item:hover { box-shadow: 0 2px 12px rgba(230,76,130,.08); }

.cart-item-img {
  width: 76px; height: 76px; flex-shrink: 0;
  border-radius: 14px; overflow: hidden;
  background: #fce7f3;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-img-placeholder { font-size: 30px; }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-weight: 600; font-size: 14px; color: #1e293b;
  line-height: 1.4; margin-bottom: 3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cart-item-price { color: #E64C82; font-weight: 700; font-size: 14px; margin-bottom: 10px; }

.cart-qty-row { display: flex; align-items: center; gap: 6px; }
.cart-qty-wrap {
  display: flex; align-items: center;
  background: #fff; border: 1.5px solid #fce7f3;
  border-radius: 999px; overflow: hidden;
}
.cart-qty-btn {
  width: 30px; height: 30px;
  background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; color: #8B2323;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s;
}
.cart-qty-btn:hover { background: #fce7f3; }
.cart-qty-input {
  width: 36px; text-align: center; border: none; outline: none;
  font-size: 14px; font-weight: 700; color: #1e293b;
  background: transparent;
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.cart-remove-btn {
  margin-left: 6px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: #cbd5e1; border-radius: 8px;
  font-size: 14px;
  transition: color .15s, background .15s;
}
.cart-remove-btn:hover { color: #ef4444; background: #fef2f2; }

/* Footer */
#cart-sidebar-footer {
  padding: 16px 22px 22px;
  border-top: 1px solid #fdf2f5;
  background: linear-gradient(0deg, #fff8fa 0%, #fff 100%);
}
.cart-summary {
  background: #fff5f8; border-radius: 16px;
  padding: 14px 16px; margin-bottom: 14px;
}
.cart-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #64748b;
  margin-bottom: 6px;
}
.cart-summary-row:last-child { margin-bottom: 0; }
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; color: #1e293b; font-weight: 600;
  padding-top: 10px; border-top: 1px solid #fce7f3;
  margin-top: 6px;
}
.cart-total-row strong { font-size: 22px; color: #8B2323; font-weight: 800; }

.cart-checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, #E64C82 0%, #c23e6e 100%);
  color: #fff;
  border: none; border-radius: 999px;
  padding: 15px 20px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 6px 20px rgba(230,76,130,.35);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cart-checkout-btn:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(230,76,130,.4); }
.cart-checkout-btn:active { transform: scale(.98); }
.cart-clear-link {
  display: block; text-align: center; margin-top: 10px;
  font-size: 12px; color: #94a3b8; cursor: pointer;
  text-decoration: underline; text-decoration-color: transparent;
  transition: color .15s;
}
.cart-clear-link:hover { color: #ef4444; text-decoration-color: #ef4444; }

/* ═══════════════════════════
   Product — Add to cart btn
   ═══════════════════════════ */
.btn-add-cart {
  width: 100%; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff;
  color: #E64C82;
  border: 2px solid #E64C82;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer;
  transition: all .18s;
}
.btn-add-cart:hover {
  background: #E64C82; color: #fff;
  box-shadow: 0 4px 14px rgba(230,76,130,.3);
  transform: translateY(-1px);
}
.btn-add-cart:active { transform: scale(.97); }

/* ═══════════════════════════
   CHECKOUT Modal
   ═══════════════════════════ */
.cart-checkout-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,10,20,.5);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 32px 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cart-checkout-overlay.open { display: flex; }

.cart-checkout-modal {
  background: #fff; border-radius: 28px;
  width: 100%; max-width: 480px;
  max-height: calc(100dvh - 64px); overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  animation: modalIn .25s cubic-bezier(.32,0,.12,1);
}
@keyframes modalIn { from{opacity:0;transform:scale(.95) translateY(16px)} to{opacity:1;transform:scale(1) translateY(0)} }

.cart-checkout-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 16px;
  border-bottom: 1px solid #fdf0f4;
  position: sticky; top: 0; background: #fff; z-index: 1;
  border-radius: 28px 28px 0 0;
}
.cart-checkout-header h2 { font-size: 18px; font-weight: 700; color: #8B2323; }
.cart-checkout-header button {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: #f8f8f8; border: none; border-radius: 50%;
  cursor: pointer; font-size: 14px; color: #64748b;
  transition: background .15s;
}
.cart-checkout-header button:hover { background: #fce7f3; color: #8B2323; }

.co-body { padding: 22px 34px 24px; }

.cart-checkout-items {
  background: #fff8fa; border-radius: 16px;
  padding: 14px 16px; margin-bottom: 20px;
  border: 1px solid #fdf0f4;
}
.co-item {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; color: #475569;
  padding: 5px 0;
  border-bottom: 1px solid #fdf0f4;
}
.co-item:last-child { border-bottom: none; }
.co-item span:first-child { max-width: 65%; line-height: 1.4; }
.co-total {
  font-size: 15px; font-weight: 700; color: #1e293b;
  padding-top: 10px; margin-top: 4px;
}
.co-total strong { color: #E64C82; font-size: 18px; }

.co-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.co-field label { font-size: 13px; font-weight: 600; color: #475569; }
.co-field input, .co-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #fce7f3; border-radius: 14px;
  padding: 11px 14px; font-size: 14px; color: #1e293b;
  outline: none; transition: border-color .15s, box-shadow .15s;
  font-family: inherit; resize: none; background: #fffbfc;
}
.co-field input:focus, .co-field textarea:focus {
  border-color: #E64C82;
  box-shadow: 0 0 0 3px rgba(230,76,130,.12);
}

.co-actions { display: flex; gap: 10px; margin-top: 20px; }
.co-btn-cancel {
  flex: 1; padding: 13px; border-radius: 999px;
  border: 1.5px solid #e2e8f0; background: #fff;
  font-size: 14px; font-weight: 600; color: #64748b;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.co-btn-cancel:hover { background: #f8fafc; border-color: #cbd5e1; }
.co-btn-submit {
  flex: 2; padding: 13px; border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #E64C82, #c23e6e);
  color: #fff;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(230,76,130,.3);
  transition: opacity .15s, transform .15s;
}
.co-btn-submit:not(:disabled):hover { opacity: .9; transform: translateY(-1px); }
.co-btn-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.co-msg { margin-top: 14px; font-size: 13px; text-align: center; line-height: 1.5; min-height: 18px; }

@media (max-width: 480px) {
  #cart-sidebar { width: 100vw; }
  .cart-checkout-modal {
    width: min(100%, 420px);
    border-radius: 24px;
    align-self: flex-end;
    max-height: 92dvh;
    margin: 0 auto;
  }
  .cart-checkout-header { padding: 20px 24px 14px; }
  .co-body { padding: 18px 24px 18px; }
  .cart-checkout-overlay {
    padding: 18px;
    align-items: flex-end;
  }
}

/* ── Layout Background — Section 3 outer grid ── */
.pm-s3-outer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.pm-s3-group {
  /* mỗi bộ: label + 2 ảnh */
}
@media (max-width: 767px) {
  .pm-s3-outer-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Layout: video section images grid ── */
.pm-video-imgs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 767px) {
  .pm-video-imgs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════
   HERO MASCOT JOURNEY — 1 ảnh đi từ trái qua, dừng rồi đi tiếp
   ═══════════════════════════ */
@keyframes pmMascotJourney {
  0% {
    transform: translateX(-180px) translateY(0) scale(.96);
    opacity: 0;
  }
  18% {
    transform: translateX(-40px) translateY(0) scale(1);
    opacity: 1;
  }
  35% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
  48% {
    transform: translateX(0) translateY(-10px) scale(1.01);
    opacity: 1;
  }
  58% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
  82% {
    transform: translateX(90px) translateY(-6px) scale(.99);
    opacity: 1;
  }
  100% {
    transform: translateX(150px) translateY(0) scale(.97);
    opacity: 0;
  }
}
.pm-mascot-stage {
  width: min(100%, 560px);
  overflow: visible;
  display: flex;
  justify-content: center;
}
.pm-mascot-journey {
  animation: pmMascotJourney 6.2s ease-in-out infinite;
  will-change: transform, opacity;
  filter: drop-shadow(0 16px 32px rgba(139,35,35,.1));
}
@media (max-width: 640px) {
  @keyframes pmMascotJourney {
    0% {
      transform: translateX(-110px) translateY(0) scale(.96);
      opacity: 0;
    }
    18% {
      transform: translateX(-22px) translateY(0) scale(1);
      opacity: 1;
    }
    35% {
      transform: translateX(0) translateY(0) scale(1);
      opacity: 1;
    }
    48% {
      transform: translateX(0) translateY(-8px) scale(1.01);
      opacity: 1;
    }
    58% {
      transform: translateX(0) translateY(0) scale(1);
      opacity: 1;
    }
    82% {
      transform: translateX(58px) translateY(-4px) scale(.99);
      opacity: 1;
    }
    100% {
      transform: translateX(96px) translateY(0) scale(.97);
      opacity: 0;
    }
  }
  .pm-mascot-stage {
    width: min(100%, 340px);
  }
}

/* ═══════════════════════════
   GALLERY CARDS — sway nhẹ + hover xoay 1 vòng
   ═══════════════════════════ */
@keyframes pmGalleryCardSway {
  0%, 100% { transform: perspective(1200px) translateY(0) rotateY(0deg); }
  25% { transform: perspective(1200px) translateY(-4px) rotateY(-4deg); }
  50% { transform: perspective(1200px) translateY(-1px) rotateY(3deg); }
  75% { transform: perspective(1200px) translateY(-5px) rotateY(-2deg); }
}
.pm-gallery-card-spin {
  position: relative;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  animation: pmGalleryCardSway 4.8s ease-in-out infinite;
  transition: box-shadow .25s ease;
  box-shadow: 0 10px 24px rgba(139,35,35,.08);
  cursor: pointer;
}
.pm-gallery-card-spin:nth-child(2) {
  animation-duration: 5.2s;
  animation-delay: -.6s;
}
.pm-gallery-card-spin:nth-child(3) {
  animation-duration: 5.6s;
  animation-delay: -1.1s;
}
.pm-gallery-card-spin.is-spinning {
  animation-play-state: paused;
  box-shadow: 0 18px 40px rgba(230,76,130,.18);
}
