/* P19 visual contract: faithful website-mall promo popup with a 1:1 cropped creative canvas. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

.bcm-scroll-lock { overflow: hidden; }
.bcm-popup { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 16px; }
.bcm-popup[hidden] { display: none; }
.bcm-popup__overlay { position: absolute; inset: 0; background: rgba(48, 26, 43, .5); backdrop-filter: blur(4px); animation: bcm-popup-fade-in .3s ease-out both; }
.bcm-popup__dialog { position: relative; z-index: 1; width: min(896px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: hidden; border: 1px solid oklch(0.9 .02 320); border-radius: 16px; background: #fff; box-shadow: 0 25px 50px -12px rgba(0,0,0,.28); outline: 0; animation: bcm-popup-card-in .3s cubic-bezier(.23,1,.32,1) both; }
.bcm-popup__layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.bcm-popup__stage { position: relative; min-width: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #eee8e3; }
.bcm-popup__slides, .bcm-popup__slide, .bcm-popup__creative, .bcm-popup__picture { display: block; width: 100%; height: 100%; }
.bcm-popup__creative { position: relative; }
.bcm-popup__dialog img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--bcm-focus-x-desktop, 50%) var(--bcm-focus-y-desktop, 50%); }
.bcm-popup__image-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(83,34,64,.68), rgba(83,34,64,.1) 56%, transparent); pointer-events: none; }
.bcm-popup__image-kicker { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; min-height: 25px; max-width: calc(100% - 32px); padding: 4px 12px; overflow: hidden; border-radius: 999px; background: oklch(.78 .13 80); color: oklch(.28 .06 60); font-family: Inter, Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.15; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.bcm-popup__panel { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 24px; background: #fff; color: oklch(.22 .04 320); }
.bcm-popup__copies { padding: 32px 32px 0; }
.bcm-popup__copy { max-width: 100%; }
.bcm-popup__period { margin: 0 0 12px; color: oklch(.52 .03 320); font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.45; }
.bcm-popup__headline { margin: 0; color: oklch(.22 .04 320); font-family: 'Playfair Display', Georgia	, serif; font-size: clamp(1.9rem, 3.4vw, 2.25rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.bcm-popup__description { margin: 16px 0 0; color: oklch(.52 .03 320); font-family: Inter, Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.55; text-wrap: pretty; }
.bcm-popup__location { margin: 14px 0 0; color: oklch(.22 .04 320 / .72); font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 1.45; }
.bcm-popup__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 22px; padding: 10px 24px; border-radius: 999px; background: oklch(.32 .09 330); color: oklch(.98 .01 330); font-family: Inter, Arial, sans-serif; font-size: 14px; font-weight: 600; line-height: 1.25; text-decoration: none; transition: transform .16s cubic-bezier(.23,1,.32,1), background-color .16s ease-out; }
.bcm-popup__cta:hover { background: oklch(.27 .09 330); color: #fff; }
.bcm-popup__cta:active { transform: scale(.98); }
.bcm-popup__rail { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 0 32px 18px; }
.bcm-popup__dots { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bcm-popup__dot { box-sizing: border-box; flex: 0 0 auto; width: 6px; min-width: 0 !important; height: 6px; min-height: 0 !important; margin: 0; padding: 0; border: 0; border-radius: 999px; background: oklch(.88 .015 320); box-shadow: none; color: transparent; cursor: pointer; line-height: 0; appearance: none; transition: width .24s cubic-bezier(.23,1,.32,1), background-color .2s ease-out; }
.bcm-popup__dot[aria-current="true"] { width: 20px; background: oklch(.78 .13 80); }

.bcm-popup__controls { display: flex; align-items: center; gap: 8px; }
.bcm-popup__close, .bcm-popup__nav, .bcm-popup__play { display: inline-grid; width: 36px; min-width: 0 !important; height: 36px; min-height: 0 !important; margin: 0; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; color: oklch(.22 .04 320); cursor: pointer; font-family: Inter, Arial, sans-serif; line-height: 1; transition: transform .16s cubic-bezier(.23,1,.32,1), background-color .18s ease-out, color .18s ease-out; }
.bcm-popup__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,.9); box-shadow: 0 2px 6px rgba(0,0,0,.1); outline: 1px solid oklch(.9 .02 320); backdrop-filter: blur(6px); }
.bcm-popup__nav { border: 1px solid oklch(.9 .02 320); }
.bcm-popup__close:hover, .bcm-popup__nav:hover, .bcm-popup__play:hover { background: oklch(.95 .02 320); color: oklch(.22 .04 320); }
.bcm-popup__close:active, .bcm-popup__nav:active, .bcm-popup__play:active { transform: scale(.97); }
.bcm-popup__close svg, .bcm-popup__nav svg, .bcm-popup__play svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.bcm-popup__play svg { width: 14px; height: 14px; }
.bcm-popup__progress { position: absolute; right: 0; bottom: 0; left: 0; display: block; height: 4px; overflow: hidden; background: oklch(.88 .015 320); }
.bcm-popup__progress-fill { display: block; width: 0; height: 100%; background: oklch(.78 .13 80); transition: none; }
.bcm-popup__close:focus-visible, .bcm-popup__nav:focus-visible, .bcm-popup__play:focus-visible, .bcm-popup__dot:focus-visible, .bcm-popup__cta:focus-visible, .bcm-module a:focus-visible { outline: 2px solid oklch(.78 .13 80); outline-offset: 3px; }
@keyframes bcm-popup-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bcm-popup-card-in { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

.bcm-module { max-width: 1200px; margin: 44px auto; padding: 0 20px; color: #17382e; }
.bcm-module__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.bcm-module__head h2 { margin: 0; color: #17382e; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.bcm-module__head a { color: #8f6a08; font-weight: 700; text-decoration: none; }
.bcm-module__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; }
.bcm-module__dynamic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bcm-module--promotion .bcm-module__dynamic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bcm-card { position: relative; min-height: 176px; overflow: hidden; background: #e9ebe7; }
.bcm-card--featured { min-height: 364px; }
.bcm-card a { display: block; height: 100%; color: #fff; text-decoration: none; }
.bcm-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bcm-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.02) 62%); }
.bcm-card__title { position: absolute; right: 16px; bottom: 14px; left: 16px; font-size: 1rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.bcm-card--featured .bcm-card__title { font-size: 1.3rem; }

@media (max-width: 767px) {
  .bcm-popup { padding: 12px; }
  .bcm-popup__dialog { width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; border-radius: 16px; }
  .bcm-popup__layout { display: flex; flex-direction: column; }
  .bcm-popup__stage { flex: 0 0 auto; width: 100%; aspect-ratio: 1 / 1; }
  .bcm-popup__dialog img { object-position: var(--bcm-focus-x-mobile, 50%) var(--bcm-focus-y-mobile, 50%); }
  .bcm-popup__panel { flex: 0 0 auto; gap: 18px; }
  .bcm-popup__copies { padding: 26px 24px 0; }
  .bcm-popup__image-kicker { top: 14px; left: 14px; }
  .bcm-popup__period { margin-bottom: 10px; font-size: 13px; }
  .bcm-popup__headline { font-size: clamp(1.85rem, 8.8vw, 2.5rem); }
  .bcm-popup__description { margin-top: 14px; font-size: 15px; }
  .bcm-popup__location { margin-top: 12px; }
  .bcm-popup__cta { min-height: 40px; margin-top: 18px; padding: 10px 21px; }
  .bcm-popup__rail { min-height: 58px; padding: 0 24px 14px; }
  .bcm-popup__close { top: 10px; right: 10px; }
  .bcm-module { margin: 32px auto; padding: 0 16px; }
  .bcm-module__grid { grid-template-columns: 1fr; }
  .bcm-card--featured { min-height: 260px; }
  .bcm-module__dynamic { grid-template-columns: 1fr; }
  .bcm-module--promotion .bcm-module__dynamic { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bcm-card { min-height: 152px; }
}
@media (prefers-reduced-motion: reduce) { .bcm-popup, .bcm-popup * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* BCM PATCH v0.5.7 — safe popup visibility/frame; keep all module/card rules above. */
.bcm-popup__dialog { width: min(1010px, calc(100vw - 40px)); max-height: calc(100vh - 40px); border: 1px solid rgba(226, 181, 64, .74); border-radius: 24px; background: #f8f6f0; box-shadow: 0 30px 90px rgba(0,0,0,.46); }
.bcm-popup__layout { grid-template-columns: minmax(0, 1.07fr) minmax(360px, .93fr); min-height: min(570px, calc(100vh - 40px)); }
.bcm-popup__stage { min-height: 0; aspect-ratio: auto; background: #102a22; }
.bcm-popup__slides { position: relative; min-height: 0; height: 100%; }
.bcm-popup__slide { position: absolute; inset: 0; display: none !important; visibility: hidden; opacity: 0; overflow: hidden; }
.bcm-popup__slide[hidden] { display: none !important; }
.bcm-popup__slide:not([hidden]) { display: block !important; visibility: visible; opacity: 1; }
.bcm-popup__copy[hidden] { display: none !important; }
.bcm-popup__dialog img { object-fit: cover; }
.bcm-popup__panel { min-height: 0; }
@media (max-width: 767px) {
  .bcm-popup__dialog { width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border-radius: 20px; }
  .bcm-popup__layout { display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 24px); }
  .bcm-popup__stage { flex: 0 0 auto; aspect-ratio: 1.22 / 1; }
  .bcm-popup__panel { flex: 1 1 auto; }
}
