/* The gold flower is the same vector as About Us. Only inner public pages opt in. */
.thai-decor-page main { position:relative; isolation:isolate; }
.thai-decor-page main::after {
  content:""; position:absolute; inset:10px; z-index:2;
  border:1px solid #bc873875; outline:1px solid #bc873840; outline-offset:-5px;
  pointer-events:none;
}
.thai-page-ornament {
  position:relative; display:flex; align-items:center; justify-content:center;
  height:58px; padding:12px 60px; color:#bc8738;
  background:#fffaf2 url("/assets/images/thai-pattern.svg?v=1f5bdc1c4ae7877ad431301b0c071b0f1195b846") center / 80px 96px;
}
.thai-page-ornament::before {
  content:""; display:block; width:min(240px,70%); height:24px;
  background:#fffaf2 url("/assets/images/thai-flower-divider.svg?v=98d7226a14a898e285ba701bfb9455115cd9f576") center / contain no-repeat;
}
.thai-page-ornament::after,.thai-page-ornament > span {
  content:""; position:absolute; top:10px; width:38px; height:38px;
  background:url("/assets/images/thai-frame-corner.svg?v=17c447ace39b7a6397c1cfb702b7f1fa76703ed1") center / contain no-repeat;
  pointer-events:none;
}
.thai-page-ornament::after { left:10px; }
.thai-page-ornament > span { right:10px; transform:scaleX(-1); }
.thai-page-ornament:last-child { transform:scaleY(-1); }
/* Pattern only on pale section backgrounds, with plain cards for readable content. */
.thai-decor-page :is(.menu-section,.about-story,.catering-menu-section,.pickup-content,.parties-occasions,.careers-openings,.contact-welcome,.reservation-welcome) {
  background-image:url("/assets/images/thai-pattern.svg?v=1f5bdc1c4ae7877ad431301b0c071b0f1195b846"); background-size:100px 120px;
}
.thai-decor-page :is(.about-story-copy,.about-values) { background:#fffaf2ed; border-radius:8px; }
.thai-decor-page :is(.pickup-panel,.catering-selection,.catering-form-panel,.reservation-card,.contact-form-card,.application-card,.party-form-card) {
  border:1px solid #bc87388c; box-shadow:inset 0 0 0 4px #fffaf2,inset 0 0 0 5px #bc873833,0 6px 20px #76471408;
}
.thai-decor-page :is(.about-photos figure,.about-story-detail) {
  outline:1px solid #bc8738; outline-offset:4px;
}
/* Section dividers continue the existing About Us heading ornaments. */
.thai-decor-page :is(#pickup-menu > h2,.pickup-panel > h2,#openings-title,#application-title,#party-booking-title,#occasions-title,.reservation-card > h2,#message-title,#contact-info-title)::after {
  content:""; display:block; width:160px; max-width:75%; height:18px; margin-top:12px;
  background:url("/assets/images/thai-flower-divider.svg?v=98d7226a14a898e285ba701bfb9455115cd9f576") left center / contain no-repeat;
}
@media(max-width:760px) {
  .thai-decor-page main::after { inset:5px; outline-offset:-3px; }
  .thai-page-ornament { height:44px; padding:10px 40px; }
  .thai-page-ornament::before { height:18px; width:min(180px,70%); }
  .thai-page-ornament::after,.thai-page-ornament > span { top:5px; width:30px; height:30px; }
  .thai-page-ornament::after { left:5px; }
  .thai-page-ornament > span { right:5px; }
}
@media print { .thai-page-ornament,.thai-decor-page main::after { display:none; } }
