/* SrinakornGem V6.9.1: contact hero only. Legacy contact cards remain untouched. */
.sg-contact-hero{padding:20px 0 0;background:#f8f5f0}
.sg-contact-hero .sg-hero-container{width:min(1440px,calc(100% - 44px));margin:0 auto}
.sg-hero-stage{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,.9fr);min-height:350px;border-radius:22px;overflow:hidden;border:1px solid #e9dfd2;background:#fff;box-shadow:0 22px 65px rgba(54,40,23,.065)}
.sg-hero-media{position:relative;min-height:350px;background:linear-gradient(135deg,#ded0bd,#f7f1e7);overflow:hidden;isolation:isolate}
.sg-hero-media::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(26,19,12,.11));pointer-events:none}
.sg-hero-image{display:block;width:100%;height:100%;min-height:350px;max-height:580px;object-fit:cover;position:absolute;inset:0;opacity:1;transition:opacity .3s ease}
.sg-hero-image.sg-fading{opacity:.15}
.sg-hero-image[hidden]{display:none}
.sg-hero-empty{position:absolute;inset:0;display:grid;place-items:center;color:#99753d;font:500 clamp(22px,4vw,44px) Georgia,serif;letter-spacing:.15em}
.sg-hero-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.65);background:rgba(29,28,26,.46);backdrop-filter:blur(6px);color:#fff;font-size:26px;line-height:1;cursor:pointer;z-index:3;display:grid;place-items:center;transition:background .15s}
.sg-hero-nav:hover{background:rgba(29,28,26,.8)}
.sg-hero-nav.prev{left:15px}.sg-hero-nav.next{right:15px}
.sg-hero-nav:disabled{opacity:.2;cursor:default}
.sg-hero-copy{position:relative;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:clamp(24px,3.9vw,66px);background:radial-gradient(circle at 98% 5%,#f0e6d7 0%,transparent 48%),linear-gradient(145deg,#fff,#faf6ef);min-width:0}
.sg-hero-eyebrow{margin:0;color:#a17638;font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase}
.sg-hero-copy h1{margin:0;color:#191714;font:600 clamp(29px,3vw,46px)/1.22 "Noto Sans Thai",Arial,sans-serif;letter-spacing:-.035em}
.sg-hero-copy h2{margin:0;color:#29231e;font:500 clamp(17px,2vw,24px)/1.45 "Noto Sans Thai",Arial,sans-serif}
.sg-hero-copy p.sg-hero-desc{font-size:clamp(13px,1.1vw,15px);line-height:1.9;color:#655d54;margin:3px 0 0;white-space:pre-line;max-width:510px}
.sg-hero-rule{width:52px;height:2px;background:#bb924d;margin:5px 0}
.sg-hero-contact-link{display:inline-flex;align-items:center;gap:8px;align-self:start;margin-top:10px;padding:10px 16px;background:#a47b3d;color:#fff!important;text-decoration:none;border-radius:11px;font-weight:600;font-size:13px;transition:transform .16s,background .16s}
.sg-hero-contact-link:hover{transform:translateY(-2px);background:#845e2b}
.sg-hero-dots{min-height:30px;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px}
.sg-hero-dot{width:23px;height:5px;border-radius:999px;border:0;background:#d9d5cd;cursor:pointer;transition:width .25s,background .25s;padding:0}
.sg-hero-dot[aria-current="true"]{width:55px;background:#a67d3e}
.sg-contact-hero + .simple-page.contact-page{padding-top:22px!important}
.sg-contact-hero + .simple-page .contact-card{box-shadow:0 15px 44px rgba(30,26,18,.035);border-color:#e8ded0}
.sg-hero-stage:focus-visible{outline:3px solid #b48a4c;outline-offset:3px}
@media(max-width:800px){.sg-contact-hero{padding-top:12px}.sg-contact-hero .sg-hero-container{width:calc(100% - 22px)}.sg-hero-stage{grid-template-columns:1fr;min-height:0;border-radius:16px}.sg-hero-media{min-height:245px;aspect-ratio:1.6}.sg-hero-image{min-height:245px}.sg-hero-copy{padding:25px 24px 27px;gap:8px}.sg-hero-copy h1{font-size:30px}.sg-hero-copy h2{font-size:19px}.sg-hero-nav{width:38px;height:38px}.sg-hero-nav.prev{left:10px}.sg-hero-nav.next{right:10px}}
@media(max-width:420px){.sg-hero-media{min-height:200px;aspect-ratio:1.42}.sg-hero-image{min-height:200px}.sg-hero-copy{padding:20px 18px 25px}.sg-hero-copy h1{font-size:27px}.sg-hero-copy p.sg-hero-desc{font-size:13px}.sg-hero-dots{padding:10px}}
@media(prefers-reduced-motion:reduce){.sg-hero-image,.sg-hero-dot,.sg-hero-nav{transition:none!important}}
.contact-layout [hidden]{display:none!important}


/* V6.9.2 — full-bleed Contact banner with adjustable image crop and responsive height. */
.sg-contact-hero{padding:0!important}
.sg-contact-hero .sg-hero-container{width:100%!important;max-width:none!important;margin:0 auto!important}
.sg-contact-hero .sg-hero-stage{width:100%;border-radius:0;border-left:0;border-right:0;border-top:0;box-shadow:none;min-height:var(--sg-hero-desktop-height,560px);grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr)}
.sg-contact-hero .sg-hero-media{height:var(--sg-hero-desktop-height,560px);min-height:0!important;aspect-ratio:auto;overflow:hidden}
.sg-contact-hero .sg-hero-image{width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;will-change:object-position,transform;transition:opacity .3s ease,object-position .2s ease,transform .2s ease}
.sg-contact-hero .sg-hero-dots{padding:16px 8px;min-height:44px}
@media(max-width:800px){
  .sg-contact-hero .sg-hero-stage{grid-template-columns:minmax(0,1fr);min-height:0}
  .sg-contact-hero .sg-hero-media{height:var(--sg-hero-mobile-height,400px);min-height:0!important;aspect-ratio:auto}
  .sg-contact-hero .sg-hero-image{height:100%;min-height:0;max-height:none}
  .sg-contact-hero .sg-hero-copy{padding:24px clamp(20px,5vw,35px) 30px}
}
@media(prefers-reduced-motion:reduce){.sg-contact-hero .sg-hero-image{transition:none!important}}

/* Optional true full-width photograph, with a readable editorial copy overlay at desktop sizes. */
@media(min-width:801px){
  .sg-contact-hero[data-hero-layout="photo"] .sg-hero-stage{position:relative;display:block;min-height:var(--sg-hero-desktop-height,560px)}
  .sg-contact-hero[data-hero-layout="photo"] .sg-hero-media{width:100%;height:var(--sg-hero-desktop-height,560px)}
  .sg-contact-hero[data-hero-layout="photo"] .sg-hero-copy{position:absolute;right:0;top:0;bottom:0;width:min(42%,600px);background:linear-gradient(90deg,rgba(252,249,244,.23),rgba(252,249,244,.89) 20%,rgba(252,249,244,.98) 65%);backdrop-filter:blur(1px);padding:clamp(25px,4vw,72px)}
}


/* V6.9.3 desktop contact layout adjustment (split mode only).
   Restore the elegant, centered two-column frame shown in the shop preview;
   the fullscreen-photo mode and all mobile rules remain untouched.
   Existing desktop height preference is treated as a ceiling so that on
   shorter desktop screens the banner remains comfortably within the viewport. */
@media (min-width: 801px) {
  .sg-contact-hero[data-hero-layout="split"] {
    padding: 20px 0 0 !important;
    --sg-hero-split-height: min(var(--sg-hero-desktop-height, 560px), max(360px, calc(100vh - 390px)));
  }
  .sg-contact-hero[data-hero-layout="split"] .sg-hero-container {
    width: min(1584px, calc(100% - 44px)) !important;
    max-width: 1584px !important;
    margin-inline: auto !important;
  }
  .sg-contact-hero[data-hero-layout="split"] .sg-hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    min-height: 0;
    border: 1px solid #e9dfd2;
    border-radius: 22px;
    box-shadow: 0 22px 65px rgba(54, 40, 23, .065);
    overflow: hidden;
    background: #fff;
  }
  .sg-contact-hero[data-hero-layout="split"] .sg-hero-media {
    height: var(--sg-hero-split-height);
    min-height: 0 !important;
    aspect-ratio: auto;
  }
  .sg-contact-hero[data-hero-layout="split"] .sg-hero-copy {
    position: relative;
    padding: clamp(24px, 3.4vw, 60px);
  }
  .sg-contact-hero[data-hero-layout="split"] .sg-hero-dots {
    min-height: 30px;
    padding: 8px 8px 12px;
  }
}

/* V6.9.4 — swipe/drag-only Contact slides. No overlaid arrow controls. */
.sg-contact-hero .sg-hero-nav{display:none!important}
.sg-contact-hero .sg-hero-media{
  cursor:grab;
  touch-action:pan-y pinch-zoom;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
}
.sg-contact-hero .sg-hero-media.is-dragging{cursor:grabbing}
.sg-contact-hero .sg-hero-image{
  -webkit-user-drag:none;
  user-select:none;
  -webkit-user-select:none;
  translate:var(--sg-hero-drag-x,0px) 0;
  transition:opacity .3s ease,object-position .2s ease,transform .2s ease,translate .2s ease;
}
.sg-contact-hero .sg-hero-media.is-dragging .sg-hero-image{transition:none!important}
@media(prefers-reduced-motion:reduce){.sg-contact-hero .sg-hero-image{transition:none!important}}

/* V6.9.3 Contact — true side-to-side sliding photograph track. */
.sg-contact-hero .sg-hero-slide-frame{
  position:absolute;inset:0;width:100%;height:100%;overflow:hidden;
  will-change:transform;transform:translate3d(0,0,0);z-index:1;
}
.sg-contact-hero .sg-hero-slide-frame .sg-hero-image{
  width:100%;height:100%;position:absolute;inset:0;
  translate:none!important;opacity:1!important;
  transition:none!important;pointer-events:none;
}
.sg-contact-hero .sg-hero-media::after{z-index:2}
.sg-contact-hero .sg-hero-media{overscroll-behavior-x:contain}
@media(prefers-reduced-motion:reduce){.sg-contact-hero .sg-hero-slide-frame{transition:none!important}}

/* V6.19.5 WhatsApp Contact button: LINE -> WhatsApp -> Phone -> Maps. */
.contact-layout .contact-actions .btn-whatsapp {
  background:#25D366!important;
  border:1px solid #25D366!important;
  color:#fff!important;
  font-weight:700;
}
.contact-layout .contact-actions .btn-whatsapp:hover,
.contact-layout .contact-actions .btn-whatsapp:focus-visible {
  background:#1DA851!important;
  border-color:#1DA851!important;
  color:#fff!important;
}
.contact-layout .contact-actions .btn-whatsapp:focus-visible {
  outline:3px solid #165e31;
  outline-offset:2px;
}


/* V6.20.6 — one full-width Gmail button; no copy control. */
.contact-layout .contact-email-row{display:block;width:100%;min-width:0}
.contact-layout .contact-email-row .contact-email-link{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;overflow-wrap:anywhere;text-align:center;font-size:14px}
.contact-layout .contact-email-row .contact-email-link svg{flex:0 0 auto}
@media(max-width:520px){.contact-layout .contact-email-row .contact-email-link{font-size:12px;padding:10px 6px}}
