/*
Theme Name: AWSEEN Beauty Thailand
Theme URI: https://awseen.com/
Author: AWSEEN
Author URI: https://awseen.com/
Description: Professional bilingual Thai and English WordPress theme for beauty salons, hair studios, nail bars, lash and brow studios, spas and beauty clinics.
Version: 4.3.0
License: GPL-2.0-or-later
Text Domain: awseen-beauty
Tags: beauty, salon, spa, bilingual, custom-logo, featured-images, responsive
*/

:root {
  --awb-ink: #201b1b;
  --awb-paper: #fffdfb;
  --awb-soft: #f4efeb;
  --awb-line: #ded5cf;
  --awb-muted: #716966;
  --awb-accent: #8d2433;
  --awb-accent-dark: #651923;
  --awb-white: #fff;
  --awb-width: 1180px;
  --awb-radius: 8px;
  --awb-shadow: 0 18px 45px rgba(36, 25, 22, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--awb-ink);
  background: var(--awb-paper);
  font-family: Inter, "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}
body.admin-bar .awb-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.awb-wrap { width: min(var(--awb-width), calc(100% - 40px)); margin-inline: auto; }
.awb-section { padding: 88px 0; }
.awb-kicker { margin: 0 0 10px; color: var(--awb-accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.awb-title { max-width: 780px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 5vw, 62px); font-weight: 500; line-height: 1.04; }
.awb-copy { max-width: 640px; color: var(--awb-muted); font-size: 17px; }
.awb-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--awb-accent);
  border-radius: 6px;
  background: var(--awb-accent);
  color: var(--awb-white);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.awb-btn:hover, .awb-btn:focus { transform: translateY(-2px); background: var(--awb-accent-dark); border-color: var(--awb-accent-dark); }
.awb-btn-outline { border-color: currentColor; background: transparent; color: inherit; }
.awb-btn-outline:hover { background: var(--awb-white); color: var(--awb-ink); }

.awb-header {
  position: sticky;
  z-index: 90;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  background: rgba(24, 19, 19, .9);
  color: var(--awb-white);
  backdrop-filter: blur(14px);
}
.awb-header-inner { display: flex; min-height: 76px; align-items: center; gap: 28px; }
.awb-brand { display: flex; min-width: 180px; align-items: center; gap: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.awb-brand img { width: auto; max-width: 190px; height: 46px; object-fit: contain; }
.awb-logo-mobile { display: none; }
.awb-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.awb-nav a { font-size: 14px; font-weight: 700; }
.awb-nav a:hover { color: #f2cbd1; }
.awb-language { display: inline-flex; overflow: hidden; border: 1px solid rgba(255,255,255,.38); border-radius: 6px; }
.awb-language a { padding: 6px 9px; font-size: 12px; font-weight: 800; }
.awb-language a.active { background: var(--awb-white); color: var(--awb-ink); }
.awb-menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; background: transparent; color: white; font-size: 22px; }

.awb-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #3a2c2c;
  color: white;
}
.awb-hero-media, .awb-hero-media img, .awb-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.awb-hero-media img, .awb-hero-media video { object-fit: cover; object-position: center; transform: scale(1.025); transition: transform 1.2s ease; }
.awb-hero.is-ready .awb-hero-media img, .awb-hero.is-ready .awb-hero-media video { transform: scale(1); }
.awb-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,12,12,.86) 0%, rgba(16,12,12,.58) 43%, rgba(16,12,12,.08) 78%); }
.awb-hero-content { position: relative; z-index: 2; max-width: 720px; padding: 104px 0 92px; opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.awb-hero.is-ready .awb-hero-content { opacity: 1; transform: none; }
.awb-hero h1 { margin: 10px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 86px); font-weight: 500; line-height: .98; }
.awb-hero p { max-width: 620px; margin: 0 0 30px; color: rgba(255,255,255,.84); font-size: 18px; }
.awb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.awb-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 42px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 700; }

.awb-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.awb-facts { display: grid; border-top: 1px solid var(--awb-line); }
.awb-fact { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--awb-line); }
.awb-fact strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.awb-fact span { color: var(--awb-muted); }

.awb-services { background: var(--awb-soft); }
.awb-section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.awb-service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--awb-line); }
.awb-service-card { min-height: 245px; padding: 28px 28px 30px 0; border-bottom: 1px solid var(--awb-line); }
.awb-service-card:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--awb-line); }
.awb-service-card h3 { margin: 6px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.awb-service-card p { color: var(--awb-muted); }
.awb-service-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-top: 24px; font-weight: 800; }
.awb-service-meta small { color: var(--awb-muted); font-weight: 600; }

.awb-package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.awb-package { position: relative; display: flex; min-height: 420px; flex-direction: column; padding: 30px; border: 1px solid var(--awb-line); border-radius: var(--awb-radius); background: var(--awb-white); }
.awb-package.featured { border-color: var(--awb-accent); box-shadow: var(--awb-shadow); }
.awb-package-badge { position: absolute; top: 16px; right: 16px; padding: 4px 8px; border-radius: 4px; background: var(--awb-accent); color: white; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.awb-package h3 { margin: 0; padding-right: 70px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 500; }
.awb-package-price { margin: 20px 0 8px; color: var(--awb-accent); font-size: 32px; font-weight: 900; }
.awb-package p, .awb-package li { color: var(--awb-muted); }
.awb-package ul { padding: 0; margin: 16px 0 26px; list-style: none; }
.awb-package li { padding: 8px 0; border-bottom: 1px solid var(--awb-line); }
.awb-package .awb-btn { margin-top: auto; }

.awb-gallery { display: grid; grid-template-columns: 1.35fr .8fr .8fr; grid-template-rows: 260px 260px; gap: 12px; }
.awb-gallery figure { overflow: hidden; margin: 0; border-radius: var(--awb-radius); background: var(--awb-soft); }
.awb-gallery figure:first-child { grid-row: 1 / 3; }
.awb-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.awb-gallery figure:hover img { transform: scale(1.035); }

.awb-booking { background: var(--awb-ink); color: white; }
.awb-booking-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.awb-booking .awb-copy { color: rgba(255,255,255,.7); }
.awb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.awb-form label { display: grid; gap: 6px; color: rgba(255,255,255,.74); font-size: 13px; font-weight: 700; }
.awb-form .full { grid-column: 1 / -1; }
.awb-form input, .awb-form select, .awb-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 6px;
  outline: none;
  background: rgba(255,255,255,.08);
  color: white;
}
.awb-form option { color: var(--awb-ink); }
.awb-form textarea { min-height: 110px; resize: vertical; }
.awb-form input:focus, .awb-form select:focus, .awb-form textarea:focus { border-color: #f2cbd1; }
.awb-form-status { grid-column: 1 / -1; min-height: 24px; color: #f2cbd1; }

.awb-social-location { background: var(--awb-paper); }
.awb-instagram-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.awb-instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.awb-instagram-item { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 6px; background: var(--awb-soft); }
.awb-instagram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.awb-instagram-item::after { content: "Instagram"; position: absolute; inset: auto 10px 10px; color: white; font-size: 11px; font-weight: 800; opacity: 0; transform: translateY(5px); transition: opacity .25s ease, transform .25s ease; }
.awb-instagram-item::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgba(20,15,15,.65), transparent 55%); opacity: 0; transition: opacity .25s ease; }
.awb-instagram-item::after { z-index: 2; }
.awb-instagram-item:hover img { transform: scale(1.045); filter: saturate(1.05); }
.awb-instagram-item:hover::before, .awb-instagram-item:hover::after { opacity: 1; transform: none; }
.awb-map-block { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 430px; margin-top: 74px; overflow: hidden; border: 1px solid var(--awb-line); border-radius: var(--awb-radius); background: var(--awb-soft); }
.awb-map-copy { display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.awb-map-copy h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 500; line-height: 1.05; }
.awb-map-frame { min-height: 430px; background: #e8e4e0; }
.awb-map-frame iframe { display: block; width: 100%; height: 100%; min-height: 430px; border: 0; }
.awb-map-frame iframe[hidden] { display: none; }
.awb-map-consent { display: grid; height: 100%; min-height: 430px; place-content: center; justify-items: center; padding: 32px; text-align: center; }
.awb-map-consent[hidden] { display: none; }
.awb-map-consent p { max-width: 420px; color: var(--awb-muted); }

.awb-price-hero { padding: 90px 0 50px; background: var(--awb-soft); }
.awb-price-group { margin-top: 56px; }
.awb-price-group h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; }
.awb-price-table { width: 100%; border-collapse: collapse; }
.awb-price-table th, .awb-price-table td { padding: 16px 12px; border-bottom: 1px solid var(--awb-line); text-align: left; vertical-align: top; }
.awb-price-table th { color: var(--awb-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.awb-price-table td:last-child { color: var(--awb-accent); font-weight: 900; white-space: nowrap; }
.awb-page { min-height: 60vh; padding: 80px 0; }
.awb-page article { max-width: 850px; }
.awb-page h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 6vw, 68px); font-weight: 500; line-height: 1.05; }

.awb-footer { padding: 62px 0 28px; background: #151212; color: white; }
.awb-footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1fr; gap: 42px; }
.awb-footer-logo { max-width: 180px; max-height: 54px; margin-bottom: 18px; object-fit: contain; }
.awb-footer p, .awb-footer a { color: rgba(255,255,255,.68); }
.awb-footer nav { display: grid; gap: 8px; }
.awb-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.48); font-size: 13px; }
.awb-mobile-book { display: none; }
.awb-cookie-link { padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.68); text-align: left; cursor: pointer; }
.awb-cookie-link:hover { color: white; }
.awb-cookie { position: fixed; z-index: 120; right: 20px; bottom: 20px; left: 20px; display: flex; max-width: 1120px; margin: auto; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 24px; border: 1px solid var(--awb-line); border-radius: 8px; background: white; box-shadow: var(--awb-shadow); }
.awb-cookie[hidden] { display: none; }
.awb-cookie strong { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 500; }
.awb-cookie p { max-width: 720px; margin: 4px 0 0; color: var(--awb-muted); font-size: 14px; }
.awb-cookie p a { color: var(--awb-accent); text-decoration: underline; }
.awb-cookie-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.awb-btn-secondary { background: white; color: var(--awb-accent); }
.awb-directory-group { margin: 52px 0; }
.awb-directory-group > h2 { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 500; }
.awb-directory-list { border-top: 1px solid var(--awb-line); }
.awb-directory-list article { display: grid; grid-template-columns: 1fr 150px; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--awb-line); }
.awb-directory-list h3 { margin: 0 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; }
.awb-directory-list p { margin: 0; color: var(--awb-muted); }
.awb-directory-meta { display: grid; align-content: center; justify-items: end; }
.awb-directory-meta strong { color: var(--awb-accent); font-size: 19px; }
.awb-directory-meta span { color: var(--awb-muted); font-size: 13px; }
.awb-page-packages { margin-top: 40px; }
.awb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.awb-reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  body.admin-bar .awb-header { top: 46px; }
  .awb-nav { display: none; position: absolute; top: 76px; right: 0; left: 0; padding: 22px; background: #181414; }
  .awb-menu-open .awb-nav { display: grid; }
  .awb-menu-toggle { display: block; }
  .awb-header .awb-btn { display: none; }
  .awb-language { margin-left: 0; }
  .awb-intro-grid, .awb-booking-grid { grid-template-columns: 1fr; gap: 42px; }
  .awb-instagram-grid { grid-template-columns: repeat(3, 1fr); }
  .awb-map-block { grid-template-columns: 1fr; }
  .awb-map-frame, .awb-map-frame iframe { min-height: 360px; }
  .awb-service-list { grid-template-columns: 1fr 1fr; }
  .awb-service-card:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .awb-service-card:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--awb-line); }
  .awb-package-grid { grid-template-columns: 1fr; }
  .awb-footer-grid { grid-template-columns: 1fr 1fr; }
  .awb-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 200px 200px; }
  .awb-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 640px) {
  .awb-wrap { width: min(100% - 28px, var(--awb-width)); }
  .awb-section { padding: 68px 0; }
  .awb-logo-desktop { display: none; }
  .awb-logo-mobile { display: block; }
  .awb-brand img { max-width: 132px; height: 40px; }
  .awb-hero { min-height: calc(100svh - 70px); }
  .awb-hero::after { background: linear-gradient(0deg, rgba(16,12,12,.88) 0%, rgba(16,12,12,.58) 56%, rgba(16,12,12,.14) 100%); }
  .awb-hero-content { padding: 150px 0 62px; }
  .awb-hero h1 { font-size: 48px; }
  .awb-proof { gap: 10px 18px; }
  .awb-section-head { display: block; }
  .awb-service-list, .awb-form { grid-template-columns: 1fr; }
  .awb-service-card, .awb-service-card:nth-child(even) { min-height: 0; padding: 24px 0; border-left: 0; }
  .awb-form .full { grid-column: auto; }
  .awb-instagram-head { display: block; }
  .awb-instagram-head .awb-btn { margin-top: 18px; }
  .awb-instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .awb-map-block { margin-top: 54px; }
  .awb-map-copy { padding: 30px 24px; }
  .awb-map-copy h2 { font-size: 34px; }
  .awb-map-frame, .awb-map-frame iframe { min-height: 310px; }
  .awb-gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, 230px); }
  .awb-gallery figure:first-child { grid-column: auto; }
  .awb-price-table th:nth-child(2), .awb-price-table td:nth-child(2) { display: none; }
  .awb-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .awb-cookie { display: grid; right: 10px; bottom: 10px; left: 10px; gap: 16px; padding: 18px; }
  .awb-cookie[hidden] { display: none; }
  .awb-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .awb-cookie-actions .awb-btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
  .awb-directory-list article { grid-template-columns: 1fr; gap: 10px; }
  .awb-directory-meta { display: flex; justify-content: space-between; }
  .awb-footer-bottom { display: block; }
  .awb-mobile-book { position: fixed; z-index: 80; right: 12px; bottom: 12px; display: inline-flex; box-shadow: var(--awb-shadow); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .awb-reveal, .awb-hero-content { opacity: 1; transform: none; }
}
