/*
 * Chiang Mai Market Journal – CSS Version 1.00
 * Uppdaterad: 2026-10-13 11:00 | av: KlⒶssⓔ & Ⓐberg
 * Mobil först, responsivt, inget externt CSS-ramverk.
 */
:root{--ink:#19352f;--ink-dark:#112e2a;--forest:#19463e;--muted:#687570;--paper:#faf8f3;--cream:#f2eee4;--line:#e5e4dc;--orange:#e89458;--peach:#ffe3c3;--sun:#e9be7b;--white:#fff;--radius:14px;--shadow:0 12px 35px rgba(18,44,38,.075)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12;letter-spacing:-.04em}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:500}h1 em,h2 em{font-style:italic;color:var(--orange)}p{color:var(--muted)}.shell{width:min(1180px,calc(100% - 44px));margin:auto}.narrow{max-width:760px}.skip-link{position:absolute;top:-100px;left:20px;background:#fff;color:#183f39;padding:12px;z-index:100}.skip-link:focus{top:10px}
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.nav-bar{min-height:83px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--forest);color:#fff;font:700 14px/1 sans-serif;letter-spacing:-.09em;position:relative}.brand-mark span{position:absolute;right:-4px;top:-7px;color:#eead79;font-size:20px}.brand-wordmark{font-size:13px;line-height:1.25;font-weight:800;letter-spacing:.14em}.brand-wordmark small{display:block;font-size:9px;color:#7b857e;letter-spacing:.25em;margin-top:3px}.nav-links{display:flex;align-items:center;gap:23px}.nav-links a{font-size:13px;font-weight:650}.nav-links>a:hover{text-decoration:underline}.nav-links .nav-pill{border:1px solid #bbc7bf;padding:10px 15px;border-radius:100px;text-decoration:none}.nav-pill:hover{background:#e4ede4}.notice{margin-top:16px;border-radius:10px;padding:14px 18px;font-size:14px}.notice.success{background:#dcece4;color:#194839}.notice.error{background:#fff0e3;color:#8d3b1e}
.hero{background:var(--forest);overflow:hidden;color:#fff;position:relative}.hero:before{content:"";position:absolute;inset:0;opacity:.14;background-image:radial-gradient(#e6e9cf .7px,transparent .7px);background-size:22px 22px}.hero-inner{position:relative}.hero-topline{display:flex;align-items:center;gap:15px;justify-content:center;padding:22px 0 0;font-size:10px;letter-spacing:.22em;color:#c8d9ca;font-weight:700}.hero-line{height:1px;width:36px;background:#77978a}.hero-content{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:40px;min-height:486px}.eyebrow{font-size:11px;letter-spacing:.17em;font-weight:750;color:#dfaa7c}.hero h1{font-size:clamp(43px,6.1vw,82px);line-height:1.045;margin:18px 0 22px;letter-spacing:-.067em}.hero h1 em{color:#f1b785;display:inline-block}.hero-lead{font-size:16px;line-height:1.8;max-width:480px;color:#d5e3d9;margin-bottom:28px}.btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:45px;padding:12px 20px;font-size:13px;line-height:1.25;font-weight:800;border-radius:6px;white-space:normal;transition:transform .15s ease,background .15s ease;cursor:pointer}.btn:hover{transform:translateY(-2px)}.btn-light{color:#22463e;background:#fff8ef}.btn-light:hover{background:#f6e8d8}.btn-primary{background:var(--forest);color:#fff}.btn-primary:hover{background:#2c6356}.btn-outline{background:transparent;border:1px solid #b6c6b9;color:var(--forest)}.btn-outline:hover{background:#ecf3ec}.hero-art{height:410px;position:relative;display:grid;place-items:center}.art-circle{position:absolute;border-radius:50%;width:380px;height:380px;border:1px solid #6d9180;transform:rotate(20deg)}.circle-one{height:335px;width:335px;border-style:dashed;opacity:.5}.circle-two{width:455px;height:455px;opacity:.32}.art-poster{width:285px;height:335px;background:#efbc82;color:#18453d;transform:rotate(-8deg);border:13px solid #e3a667;box-shadow:18px 17px 0 #123329,0 30px 50px #0a251d55;display:flex;flex-direction:column;justify-content:space-between;padding:20px;position:relative;z-index:1}.art-poster:before{content:"";position:absolute;inset:18px;border:1px solid #875d37;opacity:.42;pointer-events:none}.thai-glyph{font-size:60px;line-height:1.2;color:#25594d;text-align:center;z-index:1}.poster-title{font-family:Georgia,serif;font-size:45px;line-height:.99;letter-spacing:-.06em;z-index:1}.poster-mini{font-size:9px;letter-spacing:.11em;font-weight:700;z-index:1}.art-badge{background:#f7e6bf;border-radius:50%;width:114px;height:114px;display:flex;align-items:center;justify-content:center;text-align:center;position:absolute;right:0;bottom:60px;color:#224238;font-size:11px;font-weight:800;line-height:1.2;letter-spacing:.1em;transform:rotate(13deg);box-shadow:0 8px 23px #12332855;z-index:2}.art-badge span{position:absolute;bottom:12px;font-size:19px;color:#d87848}.hero-stats{border-top:1px solid #547568;display:flex;align-items:center;gap:40px;min-height:100px}.hero-stats>div:not(.hero-location){display:flex;flex-direction:column;gap:0}.hero-stats strong{font:500 27px/1.1 Georgia,serif;color:#f0d6b8}.hero-stats span{font-size:11px;color:#c2d1c6}.hero-location{margin-left:auto;font-size:10px;letter-spacing:.14em;font-weight:750;color:#cbd9d0}
.catalog-section{padding:74px 0 110px}.section-kicker{display:flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.16em;font-weight:800;color:#bb7d4d}.round-star{font-size:22px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:10px 0 28px}.section-head h2,.review-head h2,.admin-section h1{font-size:clamp(37px,4vw,56px);margin-bottom:12px}.section-head h2 em,.review-head h2 em,.admin-section h1 em{color:#b98158}.section-head p,.review-head p{margin-bottom:0;font-size:14px}.result-counter{font-size:12px;color:var(--muted);font-weight:800;white-space:nowrap}.filters{display:flex;flex-direction:column;gap:16px;margin-bottom:27px}.search-wrap{background:white;border:1px solid #dfe4dd;border-radius:10px;display:flex;align-items:center;gap:12px;padding:0 17px;max-width:610px}.search-wrap>span{font-size:28px;line-height:1;color:#8aa094}.search-wrap input{border:none;outline:none;width:100%;height:52px;color:var(--ink);background:transparent;font-size:14px}.search-wrap:focus-within{border-color:#5f9a87;box-shadow:0 0 0 3px #cbe1d64f}.filter-pills{display:flex;gap:8px;overflow-x:auto;padding:2px 0 8px;scrollbar-width:thin}.filter-btn{border:1px solid #dce4dd;background:transparent;border-radius:100px;color:#697a70;font-size:12px;font-weight:700;padding:9px 14px;white-space:nowrap}.filter-btn:hover,.filter-btn.selected{color:white;border-color:var(--forest);background:var(--forest)}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.market-card{min-width:0;background:#fff;border:1px solid #e7e7dd;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;transition:transform .17s ease,box-shadow .17s ease}.market-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.card-art{height:180px;position:relative;display:grid;place-items:center;overflow:hidden}.card-art:before,.card-art:after{content:"";position:absolute;border:1px solid currentColor;border-radius:50%;width:250px;height:250px;opacity:.16}.card-art:after{width:170px;height:170px}.art-tone-0{color:#6b442b;background:#f0d4a7}.art-tone-1{color:#204b3e;background:#b4d1c1}.art-tone-2{color:#5b3c49;background:#d6bbbe}.art-tone-3{color:#4a4a23;background:#e4dda6}.art-tone-4{color:#23515b;background:#afd4d3}.art-tone-5{color:#785134;background:#f2c3a9}.art-symbol{font-size:54px;z-index:1;filter:drop-shadow(0 5px 7px #00000012)}.art-large-num{position:absolute;right:13px;bottom:-29px;line-height:1;font:500 132px Georgia,serif;opacity:.14}.art-category{position:absolute;left:16px;top:15px;font-size:9px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;background:#ffffffb0;border-radius:4px;padding:6px 9px}.card-content{padding:22px 21px 16px;display:flex;flex-direction:column;flex:1}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:#839187;font-weight:700}.rating-mini{color:#c17b36;font-size:12px}.card-content h3{font-family:Georgia,serif;font-weight:600;font-size:23px;letter-spacing:-.04em;line-height:1.16;margin:14px 0 11px}.card-content p{font-size:12.5px;line-height:1.7;margin-bottom:20px;flex:1}.card-footer{border-top:1px solid #eeeee6;display:flex;align-items:center;justify-content:space-between;padding-top:12px;color:#869188;font-size:11px}.card-arrow{font-size:22px;color:#2a5148;line-height:1}.no-results{text-align:center;padding:50px 10px;color:#728078;background:#fff;border-radius:10px;border:1px solid var(--line)}
.detail-banner{background:var(--forest);color:#fff;padding:20px 0 62px}.breadcrumbs{display:flex;gap:12px;align-items:center;font-size:12px;color:#c7d8cb;margin-bottom:38px}.breadcrumbs a{text-decoration:underline;text-underline-offset:4px}.breadcrumbs span:nth-child(2){opacity:.4}.detail-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:30px}.detail-banner h1{font-size:clamp(42px,6vw,77px);margin:14px 0 18px;max-width:760px}.detail-banner p{color:#d3e3d8;max-width:620px;font-size:17px;line-height:1.8}.light-eyebrow{color:#efc292}.detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:25px}.detail-hours{color:#cfdfd2;font-size:12px}.detail-emblem{width:208px;height:208px;border:1px solid #95ad97;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:80px;box-shadow:inset 0 0 0 12px #ffffff0d;transform:rotate(9deg)}.detail-emblem small{font-size:8px;letter-spacing:.13em;color:#d5e5d7;text-align:center;max-width:160px}.detail-section{padding:35px 0 100px;max-width:920px}.tag-row{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:56px}.tag{font-size:11px;font-weight:750;border:1px solid #d9e2d9;padding:7px 12px;border-radius:100px;color:#4e685c;background:#fff}.review-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:32px}.review-head h2{margin:8px 0 10px}.overall-score{text-align:right;min-width:100px}.overall-score strong{font:500 43px/1 Georgia,serif}.overall-score strong small{font-size:20px;color:#95a39a}.overall-score>span{display:block;color:#b78249;font-size:11px;margin-top:7px;font-weight:750}.editor-panel{background:#fff;border:1px solid #e2e4da;border-radius:14px;box-shadow:var(--shadow);padding:30px;margin-bottom:30px;scroll-margin-top:25px}.editor-top{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.editor-top h3{font:500 31px/1.1 Georgia,serif;margin:6px 0 0}.editor-icon{font-size:30px;color:#c79b6f}.review-form{display:flex;flex-direction:column;gap:18px}.review-form label,.restore-form label{font-size:12px;color:#465b52;font-weight:750;display:flex;flex-direction:column;gap:7px}.review-form input:not([type=radio]):not([type=file]),.review-form textarea,.restore-form input[type=file]{width:100%;border:1px solid #dce3db;border-radius:7px;padding:12px 14px;color:#254438;background:#fff;outline:none}.review-form input:focus,.review-form textarea:focus{border-color:#6c9b83;box-shadow:0 0 0 3px #cbe1d64f}.review-form textarea{resize:vertical;min-height:120px}.form-two-col{display:grid;grid-template-columns:1.5fr 1fr;gap:15px}.rating-field{display:flex;gap:17px;align-items:center;font-size:12px;color:#465b52;font-weight:750}.star-picker{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;gap:3px}.star-picker input{opacity:0;position:absolute;pointer-events:none}.star-picker label{font-size:32px;line-height:1;color:#d0d7ce;cursor:pointer;display:block}.star-picker label:hover,.star-picker label:hover~label,.star-picker input:checked~label{color:#e6a855}.star-picker input:focus-visible+label{outline:2px solid #305a4c;outline-offset:2px}.upload-box{border:1.5px dashed #bdcdc1!important;border-radius:10px;background:#f6faf7;padding:20px;align-items:center;text-align:center;cursor:pointer}.upload-symbol{display:grid;place-items:center;background:#e6eee7;color:#356353;width:38px;height:38px;border-radius:50%;font-size:25px;margin-bottom:7px}.upload-box strong{font-size:13px;color:#254a40}.upload-box small{font-size:11px;color:#789084;font-weight:400}.upload-box input[type=file]{max-width:100%;margin-top:10px;color:#597469;font-size:11px}.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.preview-grid figure{padding:0;margin:0;min-width:0}.preview-grid img{aspect-ratio:1;object-fit:cover;border-radius:8px;width:100%}.preview-grid figcaption{font-size:10px;color:#64796b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px}.upload-warning{color:#ae491b;font-size:12px}.form-bottom{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.text-link{font-size:13px;text-decoration:underline;text-underline-offset:4px;color:#527064;background:none;border:0;cursor:pointer}.soft-callout{padding:20px;background:#f1ebda;border-radius:9px;font-size:14px;margin-bottom:24px}.soft-callout a{font-weight:800;text-decoration:underline}.review-empty{text-align:center;background:#fff;border:1px dashed #d8dfd6;border-radius:12px;padding:58px 20px}.review-empty span{font-size:46px;color:#d2ac76}.review-empty h3{font:500 26px Georgia,serif;margin:12px 0}.review-empty p{font-size:14px}.review-list{display:flex;flex-direction:column;gap:18px}.review-card{background:#fff;border:1px solid #e2e7df;border-radius:12px;padding:26px;scroll-margin-top:24px}.review-card-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.review-date{display:flex;align-items:center;gap:11px}.review-date>div{display:flex;flex-direction:column;gap:2px}.review-avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#d9e7d9;color:#2a604d;font:700 18px Georgia,serif}.review-date strong{font-size:12px}.review-date small{font-size:11px;color:#84938b}.review-stars{font-size:19px;color:#dfa157;white-space:nowrap;letter-spacing:.07em}.review-card h3{font:500 28px Georgia,serif;margin:23px 0 11px}.review-copy{font-size:14px;line-height:1.85;color:#4c6258;white-space:normal;overflow-wrap:anywhere}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:23px}.photo-tile{position:relative;border-radius:7px;overflow:hidden;aspect-ratio:1;background:#e6e9e2}.photo-tile a,.photo-tile img{width:100%;height:100%}.photo-tile img{object-fit:cover;transition:transform .15s ease}.photo-tile:hover img{transform:scale(1.045)}.photo-tile form{position:absolute;right:6px;top:6px}.photo-tile button{background:#202b27dd;color:#fff;width:28px;height:28px;border-radius:50%;border:0;font-size:23px;line-height:1}.review-tools{display:flex;gap:16px;padding-top:20px;margin-top:20px;border-top:1px solid var(--line);font-size:12px;font-weight:700}.review-tools a{color:#2c6652}.review-tools form{margin:0}.delete-action{border:0;background:none;padding:0;font-size:12px;font-weight:700;color:#bc5d45}.bottom-back{display:inline-block;margin-top:38px;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.admin-section{padding:75px 0 110px}.admin-section>h1{max-width:700px;margin:8px 0 35px}.admin-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.admin-card{background:#fff;border:1px solid var(--line);padding:30px;border-radius:12px;max-width:660px}.admin-dashboard .admin-card{max-width:none}.admin-card h2{font:500 27px Georgia,serif;margin:12px 0}.admin-card p{font-size:13px;line-height:1.8}.admin-card-icon{font-size:30px;color:#c39469}.admin-card .review-form{margin-top:20px}.admin-card .btn{align-self:flex-start}.restore-form{margin-top:22px;padding-top:20px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:14px}.restore-form input[type=file]{font-size:12px}.restore-form .checkbox-line{display:flex;flex-direction:row;align-items:flex-start;gap:9px;line-height:1.5}.restore-form .checkbox-line input{margin-top:2px}.compact-form{gap:13px!important}.logout-row{margin-top:30px}.logout-button{font-weight:700}.empty-state{text-align:center;padding:80px 10px}.empty-state h1{font:500 45px Georgia,serif}.site-footer{border-top:1px solid var(--line);background:#efece3;padding:43px 0}.footer-grid{display:flex;justify-content:space-between;gap:25px}.footer-grid strong{font-size:12px;letter-spacing:.13em}.footer-grid p{font-size:12px;margin:7px 0}.footer-aside{text-align:right;font-size:11px;line-height:1.9;color:#809087}
@media(max-width:980px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{transform:scale(.82);transform-origin:center}.hero-content{gap:10px}.hero-stats{gap:25px}}
@media(max-width:700px){.shell{width:min(100% - 28px,560px)}.nav-bar{min-height:73px}.nav-links{gap:9px}.nav-links>a:first-child{display:none}.brand-wordmark{font-size:11px}.brand-wordmark small{font-size:8px}.brand-mark{width:39px;height:39px}.hero-topline{font-size:8px;padding-top:23px;gap:7px;letter-spacing:.13em}.hero-line{width:18px}.hero-content{display:block;min-height:0;padding:60px 0 42px}.hero h1{font-size:clamp(42px,10vw,63px)}.hero-lead{font-size:14px;line-height:1.7;max-width:440px}.hero-art{display:none}.hero-stats{min-height:96px;gap:19px;flex-wrap:wrap;padding:18px 0}.hero-stats strong{font-size:22px}.hero-stats span{font-size:9px}.hero-location{display:none}.catalog-section{padding:52px 0 72px}.section-head{align-items:flex-start;flex-direction:column;gap:10px}.section-head h2,.review-head h2,.admin-section h1{font-size:42px}.market-grid{grid-template-columns:1fr;gap:15px}.card-art{height:165px}.card-content h3{font-size:24px}.detail-banner{padding:15px 0 46px}.breadcrumbs{margin-bottom:26px}.detail-hero-grid{grid-template-columns:1fr}.detail-banner h1{font-size:46px}.detail-banner p{font-size:15px}.detail-emblem{display:none}.detail-actions{align-items:flex-start;gap:15px;flex-direction:column}.detail-section{padding:24px 0 75px}.tag-row{margin-bottom:39px}.review-head{align-items:flex-start}.review-head p{font-size:12px}.overall-score strong{font-size:30px}.editor-panel{padding:19px}.editor-top h3{font-size:28px}.form-two-col{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,1fr)}.review-card{padding:18px}.review-card-top{align-items:flex-start}.review-stars{font-size:14px}.review-card h3{font-size:25px}.preview-grid{grid-template-columns:repeat(3,1fr)}.admin-section{padding:48px 0 70px}.admin-dashboard{grid-template-columns:1fr}.admin-card{padding:22px}.footer-grid{flex-direction:column}.footer-aside{text-align:left}}
@media(max-width:380px){.hero h1{font-size:41px}.review-head{display:block}.overall-score{text-align:left;margin-top:16px}.hero-stats{gap:14px}.nav-links .nav-pill{padding:9px 12px}.review-card-top{flex-direction:column}.rating-field{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
/* Slut CSS | Version 1.00 | Uppdaterad: 2026-10-13 11:00 | av: KlⒶssⓔ & Ⓐberg */
