/* DAICTO store functions (6/11): hover, scroll effects, drawers, modals, product + checkout pages */
.announce { display: flex; justify-content: center; align-items: center; gap: 10px; position: relative; }
.ann-x { position: absolute; right: 14px; background: none; border: 0; color: #fff; font-size: 18px; cursor: pointer; line-height: 1; }
.cart-ic { position: relative; }
.cart-count { position: absolute; top: -7px; right: -9px; background: #232323; color: #fff; font: 600 10px/16px sans-serif; min-width: 16px; height: 16px; border-radius: 8px; text-align: center; padding: 0 4px; }
.cart-count[hidden] { display: none; }
.head { transition: box-shadow .3s; } .head.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
body.lock { overflow: hidden; }

/* scroll reveal (slide in) */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ambient slow zoom on big images */
@keyframes ambient { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero, .banner { overflow: hidden; }
.hero img, .banner img { animation: ambient 20s ease-in-out infinite alternate; }

/* product card: lift, image swap, Quick View, thumbnails */
.prod { position: relative; display: block; transition: transform .35s ease; }
.prod.reveal.in:hover { transform: translateY(-6px); }
.prod .pimg { display: block; position: relative; }
.prod .pname { display: block; text-decoration: none; }
.prod .pname:hover { text-decoration: underline; }
.prod .qv { position: absolute; left: 50%; top: 0; margin-top: calc(133.33% - 66px); transform: translate(-50%, 10px); opacity: 0; transition: .3s; background: #fbf9f4; border: 1px solid #232323; font: 500 14px 'Cabin', 'Noto Sans Thai', sans-serif; padding: 10px 34px; cursor: pointer; white-space: nowrap; z-index: 2; }
.prod:hover .qv { opacity: 1; transform: translate(-50%, 0); }
.thumbs { display: flex; justify-content: center; gap: 6px; margin: 10px 0 4px; }
.thumbs button { width: 36px; height: 48px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; }
.thumbs button.on { border-color: #232323; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* category slider */
.slider { padding: 44px 0 10px; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides a { scroll-snap-align: start; text-decoration: none; text-align: center; overflow: hidden; }
.slides img { width: 100%; aspect-ratio: 3 / 4.3; object-fit: cover; transition: transform .8s ease; }
.slides a:hover img { transform: scale(1.05); }
.slides span { display: block; font: 400 17px/1.4 'Playfair Display', 'Noto Serif Thai', serif; margin-top: 12px; letter-spacing: .03em; }
.sl-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 16px; font-size: 14px; }
.sl-nav button { background: none; border: 1px solid #232323; width: 38px; height: 38px; cursor: pointer; font-size: 16px; }
.sl-nav button:hover { background: #232323; color: #fff; }

/* overlay, drawers, modals */
.ov { position: fixed; inset: 0; background: rgba(35,35,35,.6); opacity: 0; pointer-events: none; transition: .3s; z-index: 60; }
.ov.open { opacity: 1; pointer-events: auto; }
.panel { position: fixed; z-index: 70; background: #fff; transition: transform .35s ease, opacity .3s; }
.x { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: #232323; }
.drawer { top: 0; right: 0; bottom: 0; width: min(420px, 100%); transform: translateX(100%); display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.dr-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 16px; }
.dr-list { flex: 1; overflow: auto; padding: 8px 20px; }
.dr-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dr-item img { width: 80px; height: 106px; object-fit: cover; }
.dr-item a { text-decoration: none; font-weight: 600; }
.dr-item p { margin: 2px 0; }
.rm { background: none; border: 0; color: var(--mut); cursor: pointer; text-decoration: underline; font: inherit; font-size: 12px; align-self: start; }
.dr-f { padding: 16px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.dr-f p { margin: 0; }
.dr-empty { padding: 50px 20px; text-align: center; }
.muted { color: var(--mut); } .small { font-size: 12px; }
.qty { display: inline-flex; border: 1px solid #232323; height: 44px; }
.qty button { width: 42px; background: none; border: 0; font-size: 18px; cursor: pointer; }
.qty input { width: 52px; border: 0; text-align: center; font: inherit; font-size: 15px; }
.qty.sm { height: 32px; margin-top: 6px; } .qty.sm button { width: 32px; } .qty.sm span { width: 34px; text-align: center; line-height: 30px; }
.btn-dark, .btn-out { display: inline-block; text-align: center; text-decoration: none; padding: 13px 22px; font: 500 14px 'Cabin', 'Noto Sans Thai', sans-serif; letter-spacing: .03em; cursor: pointer; border: 1px solid #232323; }
.btn-dark { background: #232323; color: #fff; } .btn-dark:hover { background: #000; }
.btn-out { background: #fff; color: #232323; } .btn-out:hover { background: #232323; color: #fff; }
.full { width: 100%; }
.modal { left: 50%; top: 50%; transform: translate(-50%, -46%); opacity: 0; pointer-events: none; width: min(980px, 100% - 24px); max-height: calc(100% - 40px); overflow: auto; padding: 26px; }
.modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }
.modal > .x { position: absolute; right: 14px; top: 8px; }
.qv-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.qv-main, .pg-main { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #eee; }
.qv-th, .pg-th { display: flex; gap: 8px; margin-top: 8px; }
.qv-th img, .pg-th img { width: 64px; height: 84px; object-fit: cover; cursor: pointer; border: 1px solid transparent; }
.qv-th img.on, .pg-th img.on { border-color: #232323; }
.qv-info h3, .pg-info h1 { font: 400 26px/1.3 'Playfair Display', 'Noto Serif Thai', serif; margin: 0 0 6px; text-align: left; }
.price.big { font-size: 18px; text-align: left; margin: 0 0 14px; }
.opt-l { margin: 14px 0 6px; font-size: 14px; }
.chips { display: flex; gap: 8px; } .chip { border: 1px solid var(--line); padding: 6px 14px; font-size: 13px; } .chip.on { border-color: #232323; }
.subtotal { font-size: 15px; margin: 14px 0 10px; }
.qv-info .btn-out, .qv-info .btn-dark, .pg-info .btn-out, .pg-info .btn-dark { width: 100%; margin-top: 8px; }
.desc { color: #444; font-size: 14px; margin-top: 16px; }
.more-link { display: inline-block; margin-top: 8px; font-size: 14px; }
.acbox { width: min(420px, 100% - 24px); }
.acbox h3 { margin: 0 0 4px; font-size: 22px; } .acbox form { display: grid; gap: 10px; margin: 16px 0 10px; }
.acbox input, .ck input, .ck textarea, .ck select { border: 1px solid #cfcfcf; padding: 11px 12px; font: inherit; width: 100%; }
.ac-msg { background: #f4f4f4; padding: 10px 12px; font-size: 13px; }
.ac-msg[hidden] { display: none; }
.searchbox { top: 0; left: 0; right: 0; transform: translateY(-100%); padding: 22px 16px 26px; }
.searchbox.open { transform: none; }
.sb-in { width: min(900px, 100%); margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.sb-in input { flex: 1; border: 0; border-bottom: 1px solid #232323; padding: 12px 4px; font: inherit; font-size: 18px; outline: 0; }
.sb-hint { width: min(900px, 100%); margin: 12px auto; font-size: 13px; color: var(--mut); }
.sb-res { width: min(900px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sb-res a { display: flex; gap: 12px; align-items: center; text-decoration: none; font-size: 14px; }
.sb-res img { width: 60px; height: 80px; object-fit: cover; }

/* product + checkout pages */
.crumb { font-size: 13px; color: var(--mut); padding: 18px 0 6px; } .crumb a { text-decoration: none; }
.pg { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 60px); padding: 10px 0 40px; }
.pg-info .tags { margin: 18px 0; }
.pg-info h2 { text-align: left; font-size: 17px; margin: 26px 0 6px; }
.ck { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 30px 0 60px; }
.ck h2 { text-align: left; font-size: 20px; margin: 18px 0 10px; }
.ck .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ck .one { margin-bottom: 10px; }
.ck label.pay { display: flex; gap: 10px; align-items: center; border: 1px solid #cfcfcf; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.ck label.pay input { width: auto; }
.ck .sum { background: #f7f7f7; padding: 22px; align-self: start; position: sticky; top: 140px; }
.sum-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; margin-bottom: 12px; font-size: 14px; }
.sum-item img { width: 64px; height: 84px; object-fit: cover; }
.done-box { text-align: center; padding: 70px 16px; }
.done-box h1 { font: 400 32px/1.3 'Noto Serif Thai', serif; }

@media (max-width: 900px) {
  .slides { grid-auto-columns: 82%; }
  .qv-in, .pg, .ck { grid-template-columns: 1fr; }
  .prod .qv { display: none; }
  .ck .sum { position: static; }
  .ck .row { grid-template-columns: 1fr; }
}
.pg { grid-template-columns: 1fr 1fr; align-items: start; }
.pg-gal { position: sticky; top: 130px; }
.pg-main { aspect-ratio: 4 / 5; max-height: 72vh; }
@media (max-width: 900px) { .pg-gal { position: static; } .pg-main { max-height: none; } }

/* 10/11 package chips */
.pk-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.pk-chips .chip{text-align:left;line-height:1.35;padding:9px 11px;border-radius:12px;cursor:pointer;font:inherit;font-size:.86rem}.pk-chips .chip b{font-size:1rem}.pk-chips .chip s{color:#9ca3af;font-size:.8rem}
.page-imgs{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px;margin:24px 0 50px}.page-imgs img{width:100%;border-radius:16px;display:block}.contact-box{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;margin:24px 0 60px}.contact-box p{margin:8px 0}.contact-box img{width:220px;border-radius:12px}.foot-btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.foot-btns a{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:999px;font-weight:600;text-decoration:none}.foot-btns .ln{background:#06c755;color:#fff}.foot-btns .tel{background:#fff;color:#111;border:1px solid #ddd}
@media(max-width:760px){.contact-box{grid-template-columns:1fr}}
.info-h{font-size:1rem;margin:18px 0 6px}.info-l{margin:0 0 6px 18px;padding:0;line-height:1.7}
