/*
Theme Name: SaunaWright Child
Theme URI: https://saunawright.com/
Description: Child theme cua lat-theme cho SaunaWright (site 18). Lora + Inter tu host, nen trang/cream, cedar. Mau chi khai bao o :root.
Author: SaunaWright
Template: lat-theme
Version: 1.0.0
Text Domain: lat-review-child
*/

/* ---------- Font tu host (khong goi Google Fonts luc chay) ---------- */
@font-face{font-family:'Lora';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/lora-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/inter-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/inter-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/inter-latin-600-normal.woff2') format('woff2')}

/* ---------- Token mau (nguon duy nhat, rule H2) ---------- */
:root{
  --swr-cedar:#8A4B2A;
  --swr-cedar-dark:#6E3A1F;
  --swr-charcoal:#2B2622;
  --swr-ember:#C98A4B;
  --swr-cream:#F6EFE6;
  --swr-stone:#6B5A4C;
  --swr-line:#E2D3C1;
  --swr-bg:#FFFFFF;
  --swr-warm:#F3E6DA;
  --swr-pro:#3D6B4A;
  --swr-r-card:14px;
  --swr-r-btn:8px;
  --swr-head:'Lora',Georgia,'Times New Roman',serif;
  --swr-body:'Inter',-apple-system,'Segoe UI',Arial,sans-serif;
  --swr-wrap:1180px;
  --swr-header-h:72px;
}

/* Mau cua mark (SVG inline) qua class */
.swr-m-dome{fill:var(--swr-cedar)}
.swr-m-ring{stroke:var(--swr-cream)}
.swr-m-door{fill:var(--swr-cream)}
.swr-m-base{stroke:var(--swr-charcoal)}
.swr-m-steam{stroke:var(--swr-ember)}

/* ---------- Base ---------- */
body.swr{margin:0;background:var(--swr-bg);color:var(--swr-charcoal);font-family:var(--swr-body);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
.swr *,.swr *::before,.swr *::after{box-sizing:border-box}
.swr img{max-width:100%;height:auto}
.swr a{color:var(--swr-cedar);text-decoration:underline;text-underline-offset:2px}
.swr a:hover{color:var(--swr-cedar-dark)}
.swr h1,.swr h2,.swr h3,.swr h4{font-family:var(--swr-head);font-weight:600;color:var(--swr-charcoal);line-height:1.2;margin:0 0 .5em}
.swr h1{font-size:clamp(2rem,4.2vw,3rem)}
.swr h2{font-size:clamp(1.5rem,2.6vw,2rem)}
.swr h3{font-size:1.25rem}
.swr h4{font-size:1.05rem;font-family:var(--swr-body);font-weight:600}
.swr p{margin:0 0 1em}
.swr-wrap{max-width:var(--swr-wrap);margin:0 auto;padding:0 20px}
.swr-skip{position:absolute;left:-999px;top:0;background:var(--swr-charcoal);color:var(--swr-cream);padding:10px 14px;z-index:100}
.swr-skip:focus{left:8px;top:8px}
.swr :focus-visible{outline:3px solid var(--swr-ember);outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.swr-toggle{display:none}
.swr-label{display:inline-block;font:600 12px/1.2 var(--swr-body);letter-spacing:.12em;text-transform:uppercase;color:var(--swr-cedar);margin:0 0 .5em;text-decoration:none}
.swr-label--ember{color:var(--swr-ember)}
.swr-note{font-size:14px;color:var(--swr-stone);margin:.6em 0 0}
.swr-meta{font-size:14px;color:var(--swr-stone);margin:0}
.swr-lead{font-size:1.1rem;color:var(--swr-stone);max-width:62ch}
.swr-dek{font-size:1.15rem;color:var(--swr-stone);max-width:62ch}
.swr-empty{color:var(--swr-stone)}

/* ---------- Buttons ---------- */
.swr-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 20px;border-radius:var(--swr-r-btn);border:2px solid var(--swr-cedar);background:var(--swr-cedar);color:var(--swr-cream);font:600 15px/1.2 var(--swr-body);text-decoration:none;cursor:pointer;white-space:nowrap}
.swr a.swr-btn,.swr a.swr-btn:hover{color:var(--swr-cream)}
.swr-btn:hover{background:var(--swr-cedar-dark);border-color:var(--swr-cedar-dark)}
.swr a.swr-btn--ghost{background:transparent;color:var(--swr-cedar)}
.swr a.swr-btn--ghost:hover{background:var(--swr-cedar);color:var(--swr-cream)}

/* ---------- Header ---------- */
.swr-header{position:sticky;top:0;z-index:50;background:var(--swr-bg);border-bottom:1px solid var(--swr-line)}
.swr-header-row{display:flex;align-items:center;gap:24px;min-height:var(--swr-header-h)}
.swr-logo{display:inline-flex;flex:0 0 auto;line-height:0}
.swr-logo img{display:block;height:48px;width:auto}
.swr-nav{margin-left:auto}
.swr-nav ul{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.swr-nav a{display:block;padding:10px 12px;font-weight:500;font-size:15px;color:var(--swr-charcoal);text-decoration:none;border-radius:6px}
.swr-nav a:hover{background:var(--swr-cream);color:var(--swr-cedar)}
.swr-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:var(--swr-r-btn);cursor:pointer;color:var(--swr-charcoal)}
.swr-iconbtn:hover{background:var(--swr-cream)}
.swr-burger{display:none;flex-direction:column;gap:5px}
.swr-burger span{display:block;width:22px;height:2px;background:var(--swr-charcoal)}
.swr-searchpanel{display:none;border-top:1px solid var(--swr-line);background:var(--swr-cream);padding:12px 0}
.swr-searchpanel .swr-wrap{display:flex;gap:10px}
.swr-searchpanel input[type=search]{flex:1;min-height:44px;padding:8px 12px;border:1px solid var(--swr-line);border-radius:var(--swr-r-btn);font:inherit;background:var(--swr-bg);color:var(--swr-charcoal)}
#swr-search-toggle:checked ~ .swr-searchpanel{display:block}
.swr-disclosure{background:var(--swr-cream);border-top:1px solid var(--swr-line)}
.swr-disclosure p{margin:0;padding:8px 20px;font-size:13px;line-height:1.5;text-align:center;color:var(--swr-stone)}
.swr-disclosure a{font-weight:600}

/* ---------- Home: hero ---------- */
.swr-hero{background:var(--swr-cream);padding:72px 0 64px}
.swr-hero-copy{max-width:760px}
.swr-eyebrow{font:600 12px/1.2 var(--swr-body);letter-spacing:.2em;color:var(--swr-cedar);margin:0 0 16px}
.swr-hero h1{margin-bottom:.4em}
.swr-hero-lead{font-size:1.15rem;color:var(--swr-stone);max-width:62ch;margin-bottom:1.6em}
.swr-hero-cta{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Sections ---------- */
.swr-section{padding:64px 0}
.swr-section--cream{background:var(--swr-cream)}
.swr-section--dark{background:var(--swr-charcoal);color:var(--swr-cream)}
.swr-section--dark h2,.swr-section--dark h3,.swr-section--dark h3 a{color:var(--swr-cream)}
.swr-section--dark p{color:var(--swr-line)}
.swr-h2{margin-bottom:24px}
.swr-types{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.swr-type{display:flex;flex-direction:column;gap:8px;padding:24px;border:1px solid var(--swr-line);border-radius:var(--swr-r-card);background:var(--swr-bg);text-decoration:none;color:var(--swr-charcoal)}
.swr-type:hover{border-color:var(--swr-cedar);background:var(--swr-cream)}
.swr-type-t{font-family:var(--swr-head);font-weight:600;font-size:1.25rem;color:var(--swr-charcoal)}
.swr-type-d{font-size:15px;color:var(--swr-stone);line-height:1.5}
.swr-type-go{margin-top:auto;font-weight:600;font-size:14px;color:var(--swr-cedar)}
.swr-compare-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.swr-ccard{padding:24px;border:1px solid var(--swr-stone);border-radius:var(--swr-r-card)}
.swr-ccard h3{margin-bottom:.4em}
.swr-ccard h3 a{text-decoration:none}
.swr-section--dark a.swr-arrow{color:var(--swr-ember);font-weight:600;font-size:15px}
.swr-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.swr-trio-item{border-top:3px solid var(--swr-cedar);padding-top:16px}
.swr-trio-item h3{margin-bottom:.4em}
.swr-trio-item p{color:var(--swr-stone);margin:0}

/* ---------- Cards / grid ---------- */
.swr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.swr-card{display:flex;flex-direction:column;border:1px solid var(--swr-line);border-radius:var(--swr-r-card);overflow:hidden;background:var(--swr-bg)}
.swr-card-media{display:block;aspect-ratio:16/9;background:var(--swr-cream)}
.swr-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.swr-card-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.swr-mark--ph{height:56%;width:auto}
.swr-card-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:4px}
.swr-card-title{font-size:1.15rem;margin:0}
.swr-card-title a{color:var(--swr-charcoal);text-decoration:none}
.swr-card-title a:hover{color:var(--swr-cedar);text-decoration:underline}
.swr-card-ex{font-size:15px;color:var(--swr-stone);margin:4px 0 6px}

/* ---------- Page / category head ---------- */
.swr-pagehead{padding:24px 0 8px}
.swr-page{max-width:760px;padding:16px 0 64px}
.swr-main > .swr-wrap{padding-bottom:48px}
.swr-crumbs{display:flex;flex-wrap:wrap;gap:6px;padding:18px 0 8px;font-size:14px;color:var(--swr-stone)}
.swr-crumbs a{color:var(--swr-stone)}
.swr-crumb-sep{color:var(--swr-line)}
.swr-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:16px 0 0}
.swr-tags a{display:inline-block;padding:6px 12px;border:1px solid var(--swr-line);border-radius:999px;text-decoration:none;font-size:14px}
.swr-page .swr-pagination,.swr-main .navigation.pagination{margin-top:32px}

/* ---------- Article ---------- */
.swr-article-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:start}
.swr-article{min-width:0;max-width:820px}
.swr-article-head h1{margin-bottom:.3em}
.swr-byline{display:flex;align-items:center;gap:12px;margin:16px 0}
.swr-byline p{margin:0;font-size:14px;color:var(--swr-stone)}
.swr-avatar{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--swr-cream);border:1px solid var(--swr-line)}
.swr-mark--avatar{height:28px;width:auto}
.swr-disclose{font-size:14px;color:var(--swr-stone);background:var(--swr-cream);border-left:4px solid var(--swr-cedar);padding:12px 16px;border-radius:0 var(--swr-r-btn) var(--swr-r-btn) 0}
.swr-howpicked{border:1px solid var(--swr-line);border-radius:var(--swr-r-card);padding:16px 20px;margin:24px 0;background:var(--swr-bg)}
.swr-howpicked p{margin:0;font-size:15px}
.swr-hero-img{margin:24px 0}
.swr-hero-img img{display:block;width:100%;border-radius:var(--swr-r-card)}
.swr-quick{margin:32px 0}
.swr-table-wrap{overflow-x:auto;border:1px solid var(--swr-line);border-radius:var(--swr-r-card);-webkit-overflow-scrolling:touch}
.swr-table-wrap:focus-visible{outline-offset:-3px}
.swr-table{width:100%;min-width:720px;border-collapse:collapse;font-size:15px}
.swr-table th,.swr-table td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--swr-line)}
.swr-table thead th{background:var(--swr-cream);font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--swr-stone);white-space:nowrap}
.swr-table tbody tr:last-child th,.swr-table tbody tr:last-child td{border-bottom:0}
.swr-table tbody th{font-weight:600;min-width:180px;background:var(--swr-bg)}
.swr-pick-name{display:block;color:var(--swr-charcoal);text-decoration:none;font-weight:600}
.swr-pick-name:hover{color:var(--swr-cedar);text-decoration:underline}
.swr-price-cell{min-width:150px}
.swr-price-fallback{color:var(--swr-stone);font-size:14px}
.swr-price-slot{display:block}
.swr-price-slot[hidden]{display:none}
.swr-price-amt{display:block;font-size:1.05rem}
.swr-price-asof{display:block;font-size:13px;color:var(--swr-stone)}
.swr-price-details{font-size:12px;color:var(--swr-stone)}
.swr-price-details summary{cursor:pointer;display:inline}
.swr-safety{background:var(--swr-warm);border:1px solid var(--swr-line);border-left:4px solid var(--swr-cedar);border-radius:var(--swr-r-btn);padding:16px 20px;margin:24px 0}
.swr-safety p{margin:0;font-size:15px}
.swr-safety-t{font:600 13px/1.2 var(--swr-body)!important;letter-spacing:.1em;text-transform:uppercase;color:var(--swr-cedar);margin-bottom:6px!important}
.swr-product{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;padding:28px 0;border-top:1px solid var(--swr-line);scroll-margin-top:calc(var(--swr-header-h) + 40px)}
.swr-product-media{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:var(--swr-cream);border-radius:var(--swr-r-card);overflow:hidden}
.swr-product-media img{width:100%;height:100%;object-fit:contain}
.swr-product-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.swr-product h3{margin-bottom:.3em}
.swr-chip{display:inline-block;padding:3px 10px;border:1px solid var(--swr-line);border-radius:999px;font-size:13px;font-weight:600;color:var(--swr-stone);background:var(--swr-cream)}
.swr-power{margin:0 0 .6em}
.swr-verdict{font-size:1.02rem}
.swr-proscons{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}
.swr-box{border-radius:var(--swr-r-btn);padding:14px 16px}
.swr-box--pros{background:var(--swr-cream)}
.swr-box--cons{background:var(--swr-warm)}
.swr-box h4{margin:0 0 .4em}
.swr-box ul{margin:0;padding:0;list-style:none}
.swr-box li{position:relative;padding-left:20px;margin:0 0 .4em;font-size:15px;line-height:1.5}
.swr-box--pros li::before{content:"+";position:absolute;left:0;font-weight:700;color:var(--swr-pro)}
.swr-box--cons li::before{content:"\2212";position:absolute;left:0;font-weight:700;color:var(--swr-cedar)}
.swr-buyrow{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.swr-others{margin:32px 0}
.swr-others-list{list-style:none;margin:0;padding:0;border:1px solid var(--swr-line);border-radius:var(--swr-r-card)}
.swr-others-list li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:14px 18px;border-bottom:1px solid var(--swr-line)}
.swr-others-list li:last-child{border-bottom:0}
.swr-others-name{font-weight:600}
.swr-others-note{flex:1 1 200px;font-size:14px;color:var(--swr-stone)}
.swr-prose{font-size:1.05rem}
.swr-prose h2{margin-top:1.8em;scroll-margin-top:calc(var(--swr-header-h) + 40px)}
.swr-prose h3{margin-top:1.4em}
.swr-prose ul,.swr-prose ol{padding-left:1.3em}
.swr-prose table{width:100%;border-collapse:collapse;font-size:15px}
.swr-prose th,.swr-prose td{padding:10px 12px;border:1px solid var(--swr-line);text-align:left}
.swr-faq{margin:32px 0}
.swr-faq-item{border-bottom:1px solid var(--swr-line);padding:12px 0}
.swr-faq-item summary{cursor:pointer;font-weight:600;list-style:none}
.swr-faq-item summary::-webkit-details-marker{display:none}
.swr-faq-item summary::after{content:"+";float:right;color:var(--swr-cedar);font-weight:700}
.swr-faq-item[open] summary::after{content:"\2212"}
.swr-faq-a{padding-top:8px;color:var(--swr-stone)}
.swr-sources{margin:32px 0;font-size:15px}
.swr-src-pub{color:var(--swr-stone)}
.swr-article h2.swr-h2,.swr-quick h2,.swr-others h2,.swr-faq h2,.swr-sources h2{scroll-margin-top:calc(var(--swr-header-h) + 40px)}

/* ---------- Sidebar ---------- */
.swr-side{position:sticky;top:calc(var(--swr-header-h) + 40px);display:flex;flex-direction:column;gap:20px;max-height:calc(100vh - var(--swr-header-h) - 60px);overflow:auto}
.swr-toc,.swr-sidecard{border:1px solid var(--swr-line);border-radius:var(--swr-r-card);padding:18px 20px;background:var(--swr-bg)}
.swr-toc ul,.swr-sidecard ul{list-style:none;margin:0;padding:0}
.swr-toc li,.swr-sidecard li{margin:0}
.swr-toc a{display:block;padding:6px 0 6px 12px;border-left:2px solid var(--swr-line);font-size:14px;line-height:1.4;color:var(--swr-stone);text-decoration:none}
.swr-toc a:hover,.swr-toc a.is-active{color:var(--swr-cedar);border-left-color:var(--swr-cedar)}
.swr-toc a.is-active{font-weight:600}
.swr-sidecard li{padding:8px 0;border-bottom:1px solid var(--swr-line);font-size:15px;line-height:1.4}
.swr-sidecard li:last-child{border-bottom:0}

/* ---------- Footer ---------- */
.swr-footer{background:var(--swr-charcoal);color:var(--swr-line);padding:48px 0 32px;margin-top:48px}
.swr-footer a{color:var(--swr-cream)}
.swr-footer-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px}
.swr-footer-brand{max-width:440px}
.swr-footer-brand p{margin:16px 0 0;font-size:15px;line-height:1.6}
.swr-footer-nav ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,auto);gap:8px 32px}
.swr-footer-nav a{text-decoration:none;font-size:15px}
.swr-footer-nav a:hover{text-decoration:underline}
.swr-footer-fine{margin:32px 0 0;padding-top:20px;border-top:1px solid var(--swr-stone);font-size:13px;line-height:1.6;color:var(--swr-line)}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .swr-types{grid-template-columns:repeat(2,1fr)}
  .swr-grid,.swr-compare-cards{grid-template-columns:repeat(2,1fr)}
  .swr-article-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .swr-side{position:static;max-height:none;overflow:visible;order:-1}
  .swr-toc{display:none}
}
@media (max-width:760px){
  .swr-burger{display:inline-flex}
  .swr-header-row{gap:8px;min-height:64px}
  .swr-logo img{height:40px}
  .swr-searchbtn{margin-left:auto}
  .swr-nav{position:absolute;left:0;right:0;top:100%;margin:0;background:var(--swr-bg);border-bottom:1px solid var(--swr-line);display:none}
  #swr-nav-toggle:checked ~ .swr-header-row .swr-nav{display:block}
  .swr-nav ul{flex-direction:column;gap:0;padding:8px 20px 12px}
  .swr-nav a{padding:12px 4px;border-bottom:1px solid var(--swr-line);border-radius:0}
  .swr-hero{padding:48px 0 44px}
  .swr-section{padding:44px 0}
  .swr-trio{grid-template-columns:1fr;gap:24px}
  .swr-compare-cards,.swr-grid{grid-template-columns:1fr}
  .swr-product{grid-template-columns:1fr;gap:16px}
  .swr-product-media{max-width:200px}
  .swr-proscons{grid-template-columns:1fr}
  .swr-footer-nav ul{grid-template-columns:repeat(2,auto)}
  .swr-disclosure p{text-align:left}
}
@media (max-width:480px){
  body.swr{font-size:16px}
  .swr-wrap{padding:0 16px}
  .swr-types{grid-template-columns:1fr}
  .swr-hero-cta .swr-btn{width:100%}
  .swr-buyrow .swr-btn{width:100%}
}
@media (prefers-reduced-motion:no-preference){
  .swr-btn,.swr-type,.swr-nav a{transition:background-color .15s,border-color .15s,color .15s}
}
