/* =====================================================================
   กระต่ายช็อป — warm market / sticker theme
   ===================================================================== */
:root {
  --bg: #fff6ea;
  --surface: #ffffff;
  --surface-2: #fdeedb;
  --text: #3a2418;
  --text-2: #5b3f2e;
  --muted: #8d6e5c;
  --line: #f0d9bf;
  --line-strong: #e2c2a0;
  --ink: #3a2418;
  --primary: #e8641b;
  --primary-strong: #c24e0e;
  --primary-ink: #ffffff;
  --primary-soft: #ffe3cf;
  --accent: #3f8f3a;
  --accent-strong: #2f7a2b;
  --accent-soft: #e2f3dc;
  --price: #d4500c;
  --sale: #e23b3b;
  --success: #2f7a2b; --success-soft: #e2f3dc;
  --danger: #c0312b; --danger-soft: #fde2df;
  --info: #1f6b8f; --info-soft: #dff1fa;
  --warning: #9a5b00; --warning-soft: #fff1cc;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 4px 4px 0 var(--ink);
  --panel-border: 2px solid var(--ink);
  --font: 'Sarabun', system-ui, sans-serif;
  --font-head: 'Mitr', 'Sarabun', sans-serif;
  --container: 1180px;
  --ph-bg: repeating-linear-gradient(45deg, #ffe9d4 0 14px, #fff1e2 14px 28px);
  --ad-bg: #3f8f3a;
}
body { background-image: radial-gradient(#f3dcc0 1.2px, transparent 1.2px); background-size: 22px 22px; }
h1, h2, h3, h4 { font-weight: 500; }
.btn { border-radius: 99px; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); filter: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--primary-soft); }
.btn-ghost { box-shadow: none; border-color: transparent; }
.input { border: 2px solid var(--line-strong); }
.chip { border: 2px solid var(--ink); font-weight: 600; }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* top strip + header */
.kt-strip { background: var(--ink); color: #ffe7d1; font-size: 14px; }
.kt-strip-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; flex-wrap: wrap; }
.kt-strip a { color: #ffe7d1; margin-left: 16px; }
.kt-head { background: var(--bg); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 30; }
.kt-head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-block: 14px; }
.kt-burger { display: none; font-size: 26px; cursor: pointer; }
.kt-search { display: flex; background: #fff; border: 2px solid var(--ink); border-radius: 99px; overflow: hidden; max-width: 360px; }
.kt-search input { flex: 1; border: 0; padding: 10px 18px; font: inherit; background: transparent; outline: 0; min-width: 0; color: var(--text); }
.kt-search button { border: 0; background: var(--primary-soft); padding: 0 16px; cursor: pointer; font-size: 17px; }
.kt-logo { display: flex; align-items: center; gap: 12px; color: var(--ink); justify-self: center; }
.kt-logo:hover { text-decoration: none; }
.kt-bunny { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 30px; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-6deg); }
.kt-name { font-family: var(--font-head); font-size: 28px; font-weight: 600; line-height: 1.1; }
.kt-name small { display: block; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--muted); }
.kt-actions { display: flex; gap: 10px; justify-content: flex-end; }
.kt-act { position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; color: var(--ink); font-weight: 600; border: 2px solid transparent; }
.kt-act:hover { border-color: var(--ink); text-decoration: none; background: #fff; }
.kt-act span { font-size: 20px; }
.kt-cart { background: var(--primary); color: #fff; border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.kt-cart:hover { background: var(--primary-strong); color: #fff; }
.kt-cart b { position: absolute; top: -10px; right: -8px; background: #ffd23f; color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; min-width: 24px; height: 24px; font-size: 12px; display: grid; place-items: center; padding: 0 5px; }
.kt-nav { border-top: 2px dashed var(--line-strong); }
.kt-nav-row { display: flex; justify-content: center; gap: 8px; padding-block: 10px; flex-wrap: wrap; }
.kt-nav-row a { padding: 6px 16px; border-radius: 99px; color: var(--ink); font-weight: 600; font-size: 15px; border: 2px solid transparent; }
.kt-nav-row a:hover { border-color: var(--ink); text-decoration: none; background: #fff; }
.kt-nav-row a.on { background: var(--ink); color: #fff; }
.kt-flash:empty { display: none; }
.kt-flash { padding-top: 16px; }

/* hero */
.kt-hero { padding-top: 26px; }
.kt-hero-card { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; background: var(--primary); color: #fff; border: 2px solid var(--ink); border-radius: 32px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; min-height: 380px; }
.kt-hero-copy { padding: 44px 48px; position: relative; z-index: 1; }
.kt-hello { display: inline-block; background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; padding: 4px 14px; font-weight: 600; font-size: 14px; transform: rotate(-2deg); }
.kt-hero h1 { font-size: clamp(32px, 4.6vw, 54px); margin: 16px 0 12px; line-height: 1.15; text-shadow: 3px 3px 0 rgba(58,36,24,.35); }
.kt-hero p { font-size: 18px; max-width: 520px; color: #fff4ea; }
.kt-btn-light { background: #fff; color: var(--ink); }
.kt-btn-line { background: transparent; color: #fff; border-color: #fff; box-shadow: 3px 3px 0 var(--ink); }
.kt-hero-art { position: relative; height: 100%; min-height: 300px; }
.kt-moon { position: absolute; right: -60px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); border-radius: 50%; background: #ffd9b8; border: 2px solid var(--ink); }
.kt-big { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); font-size: 170px; filter: drop-shadow(6px 6px 0 rgba(58,36,24,.25)); }
.kt-f { position: absolute; font-size: 44px; animation: ktfloat 4s ease-in-out infinite; }
.f1 { left: 8%; top: 14%; } .f2 { left: 18%; bottom: 14%; animation-delay: -1s; } .f3 { right: 10%; top: 8%; animation-delay: -2s; } .f4 { right: 6%; bottom: 10%; animation-delay: -3s; }
@keyframes ktfloat { 50% { transform: translateY(-12px) rotate(8deg); } }
.kt-hero-ad { margin-top: 18px; }
.kt-hero-ad .ad { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }

/* sections */
.kt-title { display: flex; align-items: center; gap: 10px; }
.kt-title span { display: inline-grid; place-items: center; width: 42px; height: 42px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; font-size: 20px; }
.kt-sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.kt-sec-head .section-title { margin: 0; }
.kt-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 16px; }
.kt-cat { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.kt-cat:hover { text-decoration: none; }
.kt-cat-ic { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s; }
.kt-cat:nth-child(4n+1) .kt-cat-ic { background: #ffe3cf; } .kt-cat:nth-child(4n+2) .kt-cat-ic { background: #e2f3dc; }
.kt-cat:nth-child(4n+3) .kt-cat-ic { background: #fff1b8; } .kt-cat:nth-child(4n+4) .kt-cat-ic { background: #ffdfe6; }
.kt-cat:hover .kt-cat-ic { transform: translateY(-4px) rotate(-6deg); }
.kt-sale { background: #fff1b8; border: 2px solid var(--ink); border-radius: 28px; padding: 26px; box-shadow: 6px 6px 0 var(--ink); }

/* product card — sticker */
.kt-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.kt-card:hover { transform: translate(-2px, -2px) rotate(-.4deg); box-shadow: 7px 7px 0 var(--ink); }
.kt-card-img { position: relative; display: block; border-bottom: 2px solid var(--ink); }
.kt-sticker { position: absolute; top: 10px; right: 10px; width: 62px; height: 62px; border-radius: 50%; background: #ffd23f; border: 2px solid var(--ink); display: grid; place-items: center; text-align: center; color: var(--ink); font-size: 12px; line-height: 1; transform: rotate(12deg); font-family: var(--font-head); }
.kt-sticker b { font-size: 18px; font-weight: 600; }
.kt-hot { position: absolute; left: 10px; top: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 2px 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.kt-out { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,246,234,.75); font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.kt-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kt-card h3 { font-family: var(--font); font-weight: 600; font-size: 16px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kt-card h3 a { color: var(--ink); }
.kt-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.kt-tags span { font-size: 12px; background: var(--accent-soft); color: var(--accent-strong); border-radius: 99px; padding: 1px 9px; font-weight: 600; }
.kt-price-tag { margin-top: auto; }
.kt-card .price { font-size: 22px; }
.kt-card .price-old { font-size: 13px; }
.kt-card .btn { box-shadow: 2px 2px 0 var(--ink); }

.kt-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.kt-module { display: grid; gap: 4px; padding: 22px; border-radius: 24px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); background: #fff; }
.kt-module:hover { text-decoration: none; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.kt-module-ic { font-size: 40px; } .kt-module b { font-family: var(--font-head); font-size: 20px; font-weight: 500; } .kt-module small { color: var(--muted); }
.kt-go { margin-top: 8px; font-weight: 700; color: var(--primary-strong); }
.mod-computer { background: #dff1fa; } .mod-rental { background: #fff1b8; } .mod-food { background: #ffdfe6; } .mod-news { background: #e2f3dc; }
.kt-howto ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kt-howto li { display: grid; gap: 4px; background: #fff; border: 2px dashed var(--ink); border-radius: 20px; padding: 18px; }
.kt-howto li span { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-size: 18px; border: 2px solid var(--ink); }
.kt-howto small { color: var(--muted); }

/* pages */
.panel h3, .panel h2 { font-weight: 500; }
.filter-link.active { background: var(--ink); color: #fff; }
.buy-form { border: 2px dashed var(--line-strong); background: var(--surface-2); }
.gallery-main { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.news-card { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.steps .dot { border-color: var(--line-strong); }
.steps li.done .dot, .steps li.current .dot { border-color: var(--ink); }
.ad { border: 2px solid var(--ink); }
.empty { border: 2px dashed var(--line-strong); }

/* footer */
.kt-foot { margin-top: 80px; }
.kt-wave { display: block; width: 100%; height: 50px; fill: var(--ink); }
.kt-foot-in { background: var(--ink); color: #f4dfcc; padding: 26px 0 0; }
.kt-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.kt-foot h4 { color: #ffb37f; font-weight: 500; }
.kt-foot-grid a { display: block; color: #f4dfcc; padding: 3px 0; }
.kt-logo.light { color: #fff; justify-self: start; }
.kt-logo.light .kt-bunny { border-color: #fff; box-shadow: 3px 3px 0 #000; }
.kt-copy { border-top: 1px dashed #6d4a37; margin-top: 30px; padding-block: 18px; font-size: 14px; color: #c9ab95; text-align: center; }

@media (max-width: 1080px) {
  .kt-hero-card { grid-template-columns: 1fr; }
  .kt-hero-art { min-height: 220px; }
  .kt-moon { width: 300px; height: 300px; right: -40px; }
  .kt-big { font-size: 120px; right: 50px; }
  .kt-howto ol { grid-template-columns: 1fr 1fr; }
  .kt-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .kt-strip-links { display: none; }
  .kt-head-row { grid-template-columns: auto 1fr auto; gap: 10px; padding-block: 10px; }
  .kt-burger { display: block; }
  .kt-search { order: 4; grid-column: 1 / -1; max-width: none; }
  .kt-logo { justify-self: start; }
  .kt-bunny { width: 42px; height: 42px; font-size: 22px; }
  .kt-name { font-size: 20px; } .kt-name small { display: none; }
  .kt-act:not(.kt-cart) { display: none; }
  .kt-nav { display: none; }
  #kt-menu:checked + .kt-nav { display: block; }
  .kt-nav-row { flex-direction: column; align-items: stretch; }
  .kt-hero-copy { padding: 28px 24px; }
  .kt-hero-art { min-height: 170px; }
  .kt-big { font-size: 90px; }
  .kt-f { font-size: 30px; }
  .kt-sale { padding: 16px; }
  .kt-cat-ic { width: 70px; height: 70px; font-size: 30px; }
  .kt-cats { grid-template-columns: repeat(3, 1fr); }
  .kt-card .price { font-size: 18px; }
  .kt-sticker { width: 50px; height: 50px; } .kt-sticker b { font-size: 15px; }
  .kt-howto ol, .kt-foot-grid { grid-template-columns: 1fr; }
}
