/* Approved MYLOVELYPET showroom: square golden media cards, premium details,
   creator entry in the header, and a real fullscreen product gallery. */

/* The circular creator entry stays beside the Shopify shopping button. */
.creator-join-round {
  display: inline-grid;
  place-items: center;
  flex: 0 0 50px;
  height: 50px;
  width: 50px;
  border: 3px solid #f8dc86;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 18%, #ffefbc 0, #f0c768 40%, #ca942c 76%, #996318 100%);
  color: #0c2e65;
  box-shadow: inset 0 1px 2px #fff, 0 0 0 1px #a57933, 0 0 17px #dfaa4290;
  font-size: .68rem;
  font-weight: 1000;
  letter-spacing: -.02em;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.creator-join-round:hover,
.creator-join-round:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 2px #fff, 0 0 0 2px #a57933, 0 0 25px #dfaa42d0;
}
.header-tools .shopround { border: 2px solid #e2bd6f; box-shadow: 0 2px 13px #c7954229; }

/* The JOIN destination is a creator-only sign-in, without shopper-account tabs. */
.cp-v2-creator-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  width: min(420px, 100%);
  margin: 31px auto 0;
  padding: 30px 22px;
  border: 2px solid #dec079;
  border-radius: 19px;
  background: linear-gradient(145deg, #184783d9, #071e4bdb);
  box-shadow: 0 0 25px #dfb15d3a, inset 0 0 0 1px #ffe4a44d;
  color: #fff;
}
.cp-v2-creator-welcome .cp-v2-choice-icon { color: #f1ca71; font-size: 2.2rem; }
.cp-v2-creator-welcome h2 { color: #fff4d8; font: 700 clamp(1.3rem, 2vw, 1.8rem)/1.2 Georgia, serif; }
.cp-v2-creator-welcome p { color: #dce8fa; font-size: .83rem; line-height: 1.7; }
.cp-v2-creator-welcome .cp-v2-action { margin-top: 7px; width: 100%; }
.cp-v2-auth-creator-label {
  margin: 0 0 21px;
  padding: 13px 16px;
  border-radius: 30px;
  background: linear-gradient(125deg, #134f9d, #08255a);
  color: #fff8e2;
  font-weight: 850;
  text-align: center;
  letter-spacing: .04em;
  font-size: .8rem;
}

/* True square media, always above the title and actions on every viewport. */
.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.8vw, 38px);
  align-items: stretch;
  padding: 18px 11px 27px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 5px solid #e0b65b;
  border-radius: 23px;
  background: #fffdf8;
  box-shadow: 0 0 0 1px #fff2c3, 0 0 12px #f5c769bb,
              0 0 31px #f4b83f7a, 0 18px 31px #030c1b7d;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 2px #fff2c3, 0 0 23px #ffd57ae0,
              0 0 42px #f4b83faa, 0 26px 44px #030c1b7d;
}
.showroom-art {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border-bottom: 3px solid #e4b553;
  background: #0a2551;
}
.product-cover {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-cover img { transform: scale(1.035); }
.product-cover::after { height: 90px; background: linear-gradient(0deg, #0616349b, transparent); pointer-events: none; }
.product-label {
  z-index: 2;
  top: 17px;
  left: 17px;
  border: 1px solid #ffe7a3;
  background: linear-gradient(110deg, #ffefb2, #d9a84f);
  box-shadow: 0 3px 16px #080f205c;
  color: #122e56;
  font-size: .67rem;
  letter-spacing: .08em;
}
.showroom-art .play-btn { position: absolute; right: 18px; bottom: 18px; z-index: 5; width: 54px; height: 54px; }
.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 23px 23px 24px;
  color: #142d56;
  background: linear-gradient(165deg, #fffefb, #fff8eb);
}
.product-body .eyebrow { color: #a67a34; font-size: .61rem; letter-spacing: .16em; }
.product-body h3 {
  margin: 10px 0 20px;
  color: #112e62;
  font: 700 clamp(1.15rem, 1.55vw, 1.45rem)/1.31 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.product-body h3 a:hover { color: #aa761b; }
.product-body > p { display: none; }
.product-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid #e7d2aa;
}
.product-footer a,
.product-footer .shop-icon,
.product-footer .card-details,
.product-footer .card-shop {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 47px;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 11px;
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
}
.product-footer .card-details { background: #fff; color: #183d85; border: 1.5px solid #c1a06a; }
.product-footer .card-shop { background: linear-gradient(118deg, #fae39d, #d5a144); color: #122a54; border: 1.5px solid #bc8836; box-shadow: 0 5px 13px #ba8d423b; }
.product-footer a:hover { filter: brightness(.96); }

/* Real product details, separated into a display title and readable copy. */
.premium-product-page {
  background: radial-gradient(circle at 0 5%, #fdf7e9 0, #f5f8ff 54%, #f8f9fd 100%);
}
.premium-product-page .detail-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(28px, 4vw, 74px);
  align-items: start;
}
.premium-product-page .gallery-stage {
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border: 6px solid #e7bc62;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 0 0 1px #ffeeba, 0 0 24px #f5c35d8a, 0 0 46px #e2a74b60,
              0 17px 42px #1d356c2b;
}
.premium-product-page .gallery-open {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
}
.premium-product-page .gallery-stage .detail-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding: clamp(9px, 1.8vw, 26px);
  border: 0;
  border-radius: 0;
  object-fit: contain;
}
.gallery-expand {
  position: absolute;
  right: 15px;
  bottom: 15px;
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid #d7b86c;
  border-radius: 10px;
  background: #071d42eb;
  color: #ffdda0;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .07em;
  box-shadow: 0 3px 16px #0004;
}
.premium-product-page .gallery-thumbs { padding-top: 21px; }
.premium-product-page .gallery-thumb { background: #fff; border: 2px solid #d5be8b; }
.premium-product-page .gallery-thumb.selected { border-color: #b28125; box-shadow: 0 0 0 2px #f5d78e; }
.premium-product-page .gallery-footnote { font-size: .79rem; color: #5d6e85; }
.premium-product-page .detail-main { padding: clamp(10px, 2vw, 31px) 0 0; }
.premium-product-page .detail-main .eyebrow { color: #ab7a2b; }
.premium-product-page .detail-main h1 {
  max-width: 17ch;
  margin: 13px 0 19px;
  color: #102c5b;
  font: 700 clamp(2rem, 3.3vw, 3.8rem)/1.13 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.premium-product-page .premium-deck {
  max-width: 48ch;
  color: #48617e;
  font-size: clamp(.99rem, 1.25vw, 1.13rem);
  font-weight: 550;
  line-height: 1.82;
}
.premium-separator { margin: 24px 0; color: #d4ac59; font-size: 1.35rem; letter-spacing: .6em; }
.premium-overview {
  padding: 26px 25px 24px;
  border: 1px solid #ead6ab;
  border-left: 5px solid #c89d4c;
  border-radius: 17px;
  background: #fffefaf2;
  box-shadow: 0 12px 32px #0d28580c;
}
.premium-overview h2 {
  margin: 9px 0 18px;
  color: #173a73;
  font: 700 clamp(1.5rem, 2vw, 2rem)/1.2 Georgia, serif;
  letter-spacing: -.03em;
}
.premium-description p {
  color: #435a76;
  font-size: .91rem;
  line-height: 1.91;
  overflow-wrap: anywhere;
  white-space: normal;
}
.premium-description p + p { margin-top: 14px; }
.premium-product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 26px 0 12px; }
.premium-product-actions .btn { white-space: normal; text-align: center; min-height: 52px; }
.premium-product-page .note-box {
  margin-top: 20px;
  border-color: #dcd4be;
  background: #fffbf1;
  color: #5b5b63;
  font-size: .81rem;
}

/* Native fullscreen dialog: edge-to-edge even on narrow touch screens. */
body.lightbox-open { overflow: hidden; }
.mlp-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at center, #142851, #030b1b 76%);
  color: #fff;
}
.mlp-lightbox::backdrop { background: #010714f5; }
.lb-shell { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; }
.lb-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: max(13px, env(safe-area-inset-top)) 23px 12px;
  border-bottom: 1px solid #bc964e83;
  background: #05152cbd;
}
.lb-brand { min-width: 0; margin-right: auto; }
.lb-eyebrow { color: #f0cf80; font-size: .58rem; font-weight: 900; letter-spacing: .19em; }
.lb-title { margin-top: 4px; max-width: 60vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 clamp(.9rem, 1.8vw, 1.35rem)/1.25 Georgia, serif; color: #fff2d5; }
.lb-count { flex: none; color: #e8d5ad; font-size: .84rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-close {
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border: 2px solid #bca06a;
  border-radius: 50%;
  background: #112c54;
  color: #fff;
  font-size: 1.12rem;
}
.lb-body { position: relative; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; gap: 10px; align-items: stretch; padding: 12px 17px; }
.lb-stage { display: flex; justify-content: center; align-items: center; min-width: 0; min-height: 0; overflow: hidden; touch-action: pan-y; }
.lb-photo,
.lb-video { width: 100%; height: 100%; min-width: 0; min-height: 0; max-height: 100%; object-fit: contain; transition: transform .12s ease; }
.lb-video { background: #000; }
.lb-arrow { align-self: center; z-index: 2; width: 60px; height: 60px; border: 2px solid #e8c87d; border-radius: 50%; background: #0c2345e6; color: #ffe7a1; font: 400 3rem/1 Georgia, serif; }
.lb-arrow:hover { background: #214b81; }
.lb-footer { flex: 0 0 auto; min-height: 0; padding: 10px 20px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #ad8e557c; background: #05152cbd; }
.lb-caption { margin-bottom: 4px; color: #fff2da; font-size: .82rem; text-align: center; line-height: 1.35; }
.lb-hints { margin-bottom: 10px; color: #aebdd8; font-size: .66rem; letter-spacing: .02em; text-align: center; }
.lb-thumbnails { display: flex; justify-content: center; gap: 9px; max-width: 100%; overflow-x: auto; padding: 4px; scrollbar-width: thin; }
.lb-thumb { position: relative; flex: 0 0 62px; width: 62px; height: 62px; overflow: hidden; border: 2px solid #627490; border-radius: 9px; padding: 2px; background: #122747; }
.lb-thumb.active { border-color: #ffe5a6; box-shadow: 0 0 0 2px #c8963f; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.lb-video-indicator { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: #091e3a63; font-size: 1.35rem; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-product-page .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 33px; }
  .premium-product-page .product-gallery { max-width: 760px; width: 100%; margin-inline: auto; }
}
@media (max-width: 700px) {
  .cp-v2-creator-welcome { gap: 7px; margin-top: 17px; padding: 15px 13px; }
  .cp-v2-creator-welcome h2 { font-size: 1.1rem; }
  .cp-v2-creator-welcome p { font-size: .72rem; line-height: 1.45; }
  .cp-v2-creator-welcome .cp-v2-action { min-height: 38px; padding: 9px; }
  .creator-join-round { flex-basis: 39px; width: 39px; height: 39px; border-width: 2px; font-size: .57rem; }
  .header-tools { gap: 5px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 29px; padding: 12px 6px 21px; }
  .product-card { display: flex; flex-direction: column; min-height: 0; border-width: 5px; border-radius: 21px; }
  .showroom-art, .product-cover { aspect-ratio: 1 / 1; width: 100%; height: auto; min-height: 0; }
  .product-cover { height: 100%; }
  .product-body { padding: 20px 18px 22px; }
  .product-body h3 { margin: 10px 0 18px; font-size: clamp(1.22rem, 5vw, 1.52rem); }
  .product-footer { gap: 9px; margin-top: auto; padding-top: 17px; }
  .product-footer a { min-height: 47px; font-size: .82rem; }
  .premium-product-page .detail-main h1 { max-width: none; font-size: clamp(2rem, 8vw, 2.9rem); }
  .premium-product-page .gallery-stage { border-width: 5px; }
  .premium-overview { padding: 22px 18px; }
  .premium-description p { font-size: .91rem; }
  .premium-product-actions .btn { width: 100%; }
  .lb-header { padding-inline: 12px; gap: 10px; }
  .lb-title { max-width: 53vw; }
  .lb-close { flex-basis: 38px; width: 38px; height: 38px; }
  .lb-body { display: block; padding: 9px 2px; }
  .lb-stage { width: 100%; height: 100%; }
  .lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 39px; height: 46px; border-width: 1px; border-radius: 13px; font-size: 2.2rem; background: #06172ba9; }
  .lb-prev { left: 5px; }
  .lb-next { right: 5px; }
  .lb-footer { padding-inline: 7px; }
  .lb-thumbnails { justify-content: flex-start; }
  .lb-thumb { flex-basis: 52px; width: 52px; height: 52px; }
}
@media (max-width: 375px) {
  .header-inner { gap: 4px; }
  .brand { gap: 4px; }
  .brand img { width: 32px; height: 32px; flex-basis: 32px; }
  .brand-text strong { font-size: .92rem; }
  .header-tools { gap: 3px; }
  .creator-join-round { flex-basis: 35px; height: 35px; width: 35px; font-size: .51rem; }
  .header-tools .shopround,
  .header-tools .mobile-menu { min-width: 35px; height: 35px; width: 35px; }
  .product-footer a { font-size: .75rem; }
  .lb-hints { font-size: .59rem; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-cover img,
  .creator-join-round,
  .lb-photo,
  .lb-video { transition: none; }
}
