/* =====================================================================
   SUPERTOP — PREMIUM THEME LAYER  "เรือนกระจกทองเหลือง / Brass Conservatory"
   ---------------------------------------------------------------------
   ไฟล์นี้เป็น "ชั้นธีม" ที่โหลดทับ site-shell.css และ store.css
   ห้ามลบไฟล์เดิม — ไฟล์นี้ทำหน้าที่แต่งหน้าอย่างเดียว ไม่แตะ logic
   ลำดับการโหลด:  site-shell.css → store.css/content.css → premium-theme.css
   ===================================================================== */

/* ---------------------------------------------------------------------
   1) โทเคนดีไซน์ (Design tokens)
   แนวคิด: เรือนกระจกสมัยวิกตอเรียน — ไม้เขียวเข้มลงแล็กเกอร์ + กรอบทองเหลือง
   + กระจกใส  ให้ความรู้สึกหรู เป็นทางการ และยังเป็น "ร้านต้นไม้" อยู่
   --------------------------------------------------------------------- */
:root{
  /* สีหลัก */
  --pm-forest:#0D2A1B;      /* เขียวเข้มลงแล็กเกอร์ — hero, footer, header ribbon */
  --pm-forest-2:#153A26;
  --pm-moss:#1F5334;        /* เขียวปุ่มหลัก */
  --pm-moss-2:#2C6C43;      /* hover */
  --pm-brass:#B08341;       /* ทองเหลือง — เส้นคาด, ราคา, สถานะ active */
  --pm-brass-2:#966E33;
  --pm-brass-soft:#E7D3AC;
  --pm-brass-tint:#FBF4E7;
  --pm-glass:#F2F5F0;       /* พื้นหน้าเว็บ (เขียวอ่อนเย็นตา ไม่ใช่ครีม) */
  --pm-paper:#FFFFFF;
  --pm-ink:#14201A;
  --pm-ink-2:#33453A;
  --pm-muted:#66776C;
  --pm-line:#E2E8DF;
  --pm-line-strong:#CBD6C6;

  /* สถานะ */
  --pm-sale:#9C3B24;
  --pm-new:#1F4E63;
  --pm-low:#8A6512;
  --pm-out:#5C6660;

  /* ฟอนต์ */
  --pm-display:"Noto Serif Thai","Cormorant Garamond",Georgia,serif;
  --pm-body:"IBM Plex Sans Thai",system-ui,sans-serif;
  --pm-mono:"IBM Plex Sans Thai",ui-monospace,monospace;

  /* เงา — นุ่ม ลึก ไม่ฟุ้ง */
  --pm-sh-1:0 1px 2px rgba(20,40,28,.05), 0 2px 8px rgba(20,40,28,.04);
  --pm-sh-2:0 2px 4px rgba(20,40,28,.05), 0 12px 28px rgba(20,40,28,.07);
  --pm-sh-3:0 4px 8px rgba(20,40,28,.06), 0 24px 56px rgba(20,40,28,.12);
  --pm-sh-brass:0 10px 30px rgba(176,131,65,.22);

  /* มุมโค้ง — คมกว่าเดิมเล็กน้อย = ดูเป็นทางการ */
  --pm-r-sm:6px;
  --pm-r:10px;
  --pm-r-lg:14px;
  --pm-r-xl:20px;

  /* ผูกกับตัวแปรของธีมเดิม เพื่อให้ component ที่ยังไม่ได้แก้ ได้สีใหม่ตามไปด้วย */
  --green:var(--pm-moss);
  --green2:var(--pm-moss-2);
  --dark:var(--pm-forest);
  --lime:var(--pm-brass-soft);
  --orange:var(--pm-brass);
  --ink:var(--pm-ink);
  --muted:var(--pm-muted);
  --line:var(--pm-line);
  --bg:var(--pm-glass);
  --shadow:var(--pm-sh-2);
  --font-en:"Cormorant Garamond","IBM Plex Sans Thai",serif;
}

/* ลายกระจกเรือนเพาะชำ — เส้นบางไขว้ ใช้เป็นพื้นผิวบรรยากาศ */
.pm-glazing{
  background-image:
    repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 88px),
    repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 1px,transparent 1px 88px);
}

/* ---------------------------------------------------------------------
   2) พื้นฐาน + สเกลตัวอักษร
   --------------------------------------------------------------------- */
body{
  font-family:var(--pm-body);
  color:var(--pm-ink);
  background:var(--pm-glass);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* หัวเรื่องทั้งหมดใช้ serif ไทย — จุดที่ทำให้เว็บดูต่างจากร้านออนไลน์ทั่วไป */
h1,h2,h3,
.section-head h2,
.banner-copy h1,
.listing-banner h1,
.listing-toolbar h2,
.listing-title h2,
.product-detail-info h2,
.drawer-panel h2,
.modal-card h2,
.payment-card h2,
.flash-sale-head h2,
.side-banner h3,
.youtube-copy h3,
.history-card h2{
  font-family:var(--pm-display)!important;
  font-weight:600;
  letter-spacing:-.005em;
  color:var(--pm-ink);
}

/* ป้ายกำกับตัวเล็ก (eyebrow) — ตัวพิมพ์ใหญ่ ระยะห่างกว้าง สีทองเหลือง
   และ "ห้ามเล็กกว่า 10px" เพราะของเดิมใช้ 8px ซึ่งอ่านไม่ออกบนมือถือ */
.section-head span,
.eyebrow,
.flash-eyebrow,
.banner-copy>span,
.listing-highlight-card>span,
.catalog-mode-nav span,
.mobile-nav-panel header small,
.contact-head small,
.product-body>span{
  font-family:var(--pm-body)!important;
  font-size:10.5px!important;
  font-weight:600!important;
  letter-spacing:.2em!important;
  text-transform:uppercase;
  color:var(--pm-brass)!important;
}

/* ตัวเลขให้กว้างเท่ากันทุกตัว ราคาจะไม่กระตุกเวลาอัปเดต */
.price,.detail-price,.flash-price,.total,
.cart-total-row,.history-order-total,.order-summary{
  font-variant-numeric:tabular-nums;
}

/* ---------------------------------------------------------------------
   3) แถบประกาศ + Header
   --------------------------------------------------------------------- */
.announcement-bar{
  height:36px;
  color:var(--pm-brass-soft);
  background:var(--pm-forest);
  border-top:0;
  border-bottom:1px solid rgba(176,131,65,.35);
}
.ticker-track{font-size:11.5px;font-weight:500;letter-spacing:.04em;gap:56px}
.ticker-dot{color:var(--pm-brass);opacity:1}

.site-header{
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(150%) blur(16px);
  -webkit-backdrop-filter:saturate(150%) blur(16px);
  border-bottom:1px solid var(--pm-line);
  box-shadow:0 1px 0 rgba(176,131,65,.18);
}
.header-main{max-width:1280px;min-height:82px;padding:12px 24px;gap:22px}

.brand{gap:13px}
.brand-mark{
  width:52px;height:52px;
  border-radius:var(--pm-r);
  background:var(--pm-forest);
  border:1px solid rgba(176,131,65,.4);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
.brand b{
  font-family:var(--pm-display);
  font-size:19px;font-weight:600;
  color:var(--pm-forest);
  letter-spacing:-.01em;
}
.brand small{
  font-size:10px;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;
  color:var(--pm-brass);
}

/* ช่องค้นหา — ทรงเหลี่ยมมนเล็ก ดูเป็นทางการกว่าแคปซูล */
.global-search{
  height:46px;padding:0 16px;gap:10px;
  border:1px solid var(--pm-line-strong);
  border-radius:var(--pm-r);
  background:#fff;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.global-search:focus-within{
  border-color:var(--pm-brass);
  box-shadow:0 0 0 3px rgba(176,131,65,.14);
}
.global-search input{font-size:14px}
.global-search input::placeholder{color:#9AA79E}

.header-tool{
  height:46px;padding:0 14px;gap:8px;
  border-radius:var(--pm-r);
  color:var(--pm-ink-2);
  font-size:13px;font-weight:500;
  transition:background .18s ease,color .18s ease;
}
.header-tool:hover{background:var(--pm-brass-tint);color:var(--pm-forest)}
.cart-tool{
  color:#fff;
  background:var(--pm-forest)!important;
  box-shadow:none!important;
  border:1px solid rgba(176,131,65,.45)!important;
  font-weight:600;
}
.cart-tool:hover{background:var(--pm-forest-2)!important;color:#fff}
.cart-tool b{
  min-width:22px;height:22px;
  color:var(--pm-forest);
  background:var(--pm-brass-soft);
  font-size:11px;font-weight:700;
}

/* เมนูหลัก — ขีดใต้เป็นทองเหลือง */
.nav-wrap{border-top:1px solid var(--pm-line)}
.site-nav{max-width:1280px;height:52px;gap:34px;padding:0 24px}
.site-nav a{
  font-size:13.5px;font-weight:500;letter-spacing:.01em;
  color:var(--pm-ink-2);
  border-bottom-width:2px;
  transition:color .18s ease,border-color .18s ease;
}
.site-nav a:hover,.site-nav a.active{
  color:var(--pm-forest);
  border-color:var(--pm-brass);
}

/* ---------------------------------------------------------------------
   4) Hero / แบนเนอร์ — ผนังกระจกเรือนเพาะชำ
   --------------------------------------------------------------------- */
.home-hero-wrap{
  padding:26px 24px;
  background:
    repeating-linear-gradient(90deg,rgba(13,42,27,.045) 0 1px,transparent 1px 96px),
    linear-gradient(180deg,#EAF0E7,#F2F5F0);
  border-bottom:1px solid var(--pm-line);
}
.home-hero-grid{max-width:1280px;gap:18px}

.main-banner{
  min-height:400px;
  border-radius:var(--pm-r-xl);
  background:linear-gradient(135deg,var(--pm-forest) 0%,#1A4630 100%);
  box-shadow:var(--pm-sh-3);
  border:1px solid rgba(176,131,65,.3);
}
/* กระจกเรือนเพาะชำพาดทับ hero */
.main-banner:not(.image-only)::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    repeating-linear-gradient(90deg,rgba(231,211,172,.09) 0 1px,transparent 1px 104px),
    repeating-linear-gradient(0deg,rgba(231,211,172,.06) 0 1px,transparent 1px 104px);
}
.banner-copy{padding:56px 34px 52px 52px}
.banner-copy>span{
  padding:7px 14px;
  border:1px solid rgba(231,211,172,.45);
  border-radius:2px;
  color:var(--pm-brass-soft)!important;
  background:rgba(0,0,0,.15);
}
.banner-copy h1{
  margin:22px 0 14px;
  font-size:clamp(30px,4vw,50px);
  line-height:1.14;
  font-weight:600;
  color:#fff!important;
}
.banner-copy h1 em{
  color:var(--pm-brass-soft);
  font-style:normal;
  /* ขีดใต้ทองเหลืองบาง ๆ แทนการเปลี่ยนสีเฉย ๆ */
  box-shadow:inset 0 -.12em 0 rgba(176,131,65,.5);
}
.banner-copy p{color:#CBD9CE;font-size:15px;line-height:1.75}
.banner-actions{margin-top:28px;gap:12px}

/* ปุ่มหลัก / ปุ่มรอง — เลิกใช้เงาแข็งแบบปุ่มเกม */
.primary-btn,.secondary-btn{
  min-height:50px;padding:0 24px;
  border-radius:var(--pm-r-sm);
  font-family:var(--pm-body);
  font-size:14px;font-weight:600;letter-spacing:.02em;
  transition:transform .16s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}
.primary-btn{
  color:#fff;
  background:var(--pm-moss)!important;
  box-shadow:0 6px 18px rgba(31,83,52,.26)!important;
  border:1px solid rgba(255,255,255,.08)!important;
}
.primary-btn:hover{
  background:var(--pm-brass)!important;
  box-shadow:var(--pm-sh-brass)!important;
  transform:translateY(-1px);
}
.primary-btn:disabled{background:#B4BFB7!important;box-shadow:none!important;transform:none}
.secondary-btn{
  border:1px solid var(--pm-line-strong)!important;
  color:var(--pm-forest)!important;
  background:#fff!important;
}
.secondary-btn:hover{border-color:var(--pm-brass)!important;color:var(--pm-brass-2)!important}

/* แบนเนอร์ข้าง */
.side-banner{
  border-radius:var(--pm-r-lg);
  box-shadow:var(--pm-sh-2);
  border:1px solid var(--pm-line);
  background:linear-gradient(150deg,#F7FAF5,#E3EEDA);
}
.side-banner.orange{background:linear-gradient(150deg,var(--pm-brass-tint),#F0DFBE)}
.side-banner h3{font-size:22px}
.side-banner small{color:var(--pm-brass);letter-spacing:.18em;text-transform:uppercase;font-size:10.5px}

.banner-arrow{
  border-radius:50%!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid var(--pm-line-strong)!important;
  color:var(--pm-forest)!important;
  box-shadow:var(--pm-sh-1)!important;
}
.banner-dots button{border-radius:999px;background:rgba(255,255,255,.5)}
.banner-dots button.active{background:var(--pm-brass);width:22px}

/* แถบจุดเด่นร้าน */
.benefit-strip{
  border-radius:var(--pm-r-lg);
  border:1px solid var(--pm-line);
  background:#fff;
  box-shadow:var(--pm-sh-1);
}
.benefit-strip b{font-family:var(--pm-display);font-size:15px;font-weight:600}
.benefit-strip small{color:var(--pm-muted);font-size:11.5px}

/* ---------------------------------------------------------------------
   5) หัวข้อ Section — ใช้เส้นทองเหลืองบาง ๆ แทนกล่องสี
   --------------------------------------------------------------------- */
.section{max-width:1280px;padding:76px 24px}
.section.alt{background:#fff;border-block:1px solid var(--pm-line)}
.section.alt>.section-inner{max-width:1280px}
.section-head h2{margin:10px 0 6px;font-size:clamp(24px,2.6vw,34px)}
.section-head p{font-size:13.5px;color:var(--pm-muted)}
.section-head:not(.left)::after{
  content:"";display:block;width:52px;height:1px;margin:20px auto 0;
  background:var(--pm-brass);
}
.view-all{
  font-family:var(--pm-body);
  font-size:13px;font-weight:600;letter-spacing:.03em;
  color:var(--pm-brass-2)!important;
  padding-bottom:3px;
  border-bottom:1px solid transparent;
  transition:border-color .18s ease;
}
.view-all:hover{border-bottom-color:var(--pm-brass)}

/* ---------------------------------------------------------------------
   6) การ์ดหมวดหมู่
   --------------------------------------------------------------------- */
.category-grid{margin-top:34px;gap:16px}
.category-card{
  min-height:142px;padding:22px 14px;
  border:1px solid var(--pm-line);
  border-radius:var(--pm-r-lg);
  background:#fff;
  box-shadow:var(--pm-sh-1);
  transition:transform .22s cubic-bezier(.2,.7,.3,1),box-shadow .22s ease,border-color .22s ease;
}
.category-card:hover{
  transform:translateY(-3px);
  border-color:var(--pm-brass);
  box-shadow:var(--pm-sh-2);
}
.category-card b{font-size:34px;line-height:1}
.category-card span{
  margin-top:12px;
  font-family:var(--pm-display);
  font-size:16px;font-weight:600;
}
.category-card small{
  display:block;margin-top:6px;
  font-size:11px;letter-spacing:.06em;
  color:var(--pm-muted);
}

/* ---------------------------------------------------------------------
   7) การ์ดสินค้า  ★ ELEMENT ประจำตัวของเว็บนี้ ★
   ใช้แนวคิด "ป้ายตัวอย่างพรรณไม้ (herbarium specimen label)"
   - รูปสัดส่วน 4:5 ซูมนุ่ม ๆ ตอน hover
   - หมวดหมู่ตัวพิมพ์ใหญ่สีทองเหลือง คั่นด้วยเส้นบาง
   - มุมกรอบทองเหลืองวิ่งเข้ามาตอน hover เหมือนกรอบภาพพฤกษศาสตร์
   --------------------------------------------------------------------- */
.product-grid{margin-top:34px;gap:20px}

.product-card{
  position:relative;
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r-lg)!important;
  background:#fff!important;
  box-shadow:var(--pm-sh-1)!important;
  transition:transform .24s cubic-bezier(.2,.7,.3,1),box-shadow .24s ease,border-color .24s ease!important;
}
.product-card:hover{
  transform:translateY(-4px)!important;
  border-color:var(--pm-line-strong)!important;
  box-shadow:var(--pm-sh-3)!important;
}
/* มุมกรอบทองเหลือง — บน-ซ้าย และ ล่าง-ขวา */
.product-card::before,
.product-card::after{
  content:"";position:absolute;width:20px;height:20px;
  pointer-events:none;z-index:3;opacity:0;
  transition:opacity .26s ease,transform .26s ease;
}
.product-card::before{
  top:9px;left:9px;
  border-top:1.5px solid var(--pm-brass);
  border-left:1.5px solid var(--pm-brass);
  transform:translate(5px,5px);
}
.product-card::after{
  bottom:9px;right:9px;
  border-bottom:1.5px solid var(--pm-brass);
  border-right:1.5px solid var(--pm-brass);
  transform:translate(-5px,-5px);
}
.product-card:hover::before,
.product-card:hover::after{opacity:1;transform:translate(0,0)}

.product-image{
  height:auto!important;
  aspect-ratio:4/5;
  border-bottom:1px solid var(--pm-line);
  background:linear-gradient(160deg,#F4F8F0,#E6EEE0)!important;
  cursor:pointer;
}
.product-image img{
  transition:transform .5s cubic-bezier(.2,.7,.3,1);
}
.product-card:hover .product-image img{transform:scale(1.05)}
.plant-placeholder{font-size:64px;opacity:.45}

/* ป้ายสถานะ — พื้นขาว ตัวหนังสือสี มีเส้นขอบบาง = ดูแพงกว่าป้ายสีจัด */
.badge-row{top:12px;left:12px;gap:6px;z-index:2}
.badge{
  padding:5px 10px;
  border-radius:2px;
  font-size:10px!important;
  font-weight:600!important;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--pm-forest)!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(13,42,27,.14);
  backdrop-filter:blur(4px);
}
.badge.promo{color:var(--pm-sale)!important;border-color:rgba(156,59,36,.3)}
.badge.new{color:var(--pm-new)!important;border-color:rgba(31,78,99,.3)}
.badge.low{color:var(--pm-low)!important;border-color:rgba(138,101,18,.3)}
.badge.out{color:#fff!important;background:rgba(20,32,26,.86)!important;border-color:transparent}

.image-count{
  border-radius:2px!important;
  background:rgba(13,42,27,.72)!important;
  color:var(--pm-brass-soft)!important;
  font-size:10.5px!important;
  letter-spacing:.06em;
  backdrop-filter:blur(4px);
}

.product-body{padding:18px 18px 20px!important}
.product-body>span{
  display:block;
  padding-bottom:9px;
  margin-bottom:10px;
  border-bottom:1px solid var(--pm-line);   /* เส้นคาดแบบป้ายตัวอย่างพรรณไม้ */
}
.product-body h3,
.product-title-button h3{
  min-height:auto!important;
  font-family:var(--pm-display)!important;
  font-size:17px!important;
  font-weight:600!important;
  line-height:1.4!important;
  color:var(--pm-ink)!important;
  transition:color .18s ease;
}
.product-title-button{text-align:left;width:100%;cursor:pointer}
.product-card:hover .product-body h3{color:var(--pm-brass-2)!important}
.product-body p{
  margin:8px 0 0;
  font-size:12.5px!important;
  line-height:1.65;
  color:var(--pm-muted)!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

.product-meta{
  margin-top:16px;padding-top:14px;
  border-top:1px solid var(--pm-line);
  align-items:flex-end;
}
.price{
  font-family:var(--pm-display)!important;
  font-size:23px!important;
  font-weight:600!important;
  color:var(--pm-forest)!important;
  letter-spacing:-.01em;
}
.price del{
  margin-right:8px;
  font-family:var(--pm-body)!important;
  font-size:12.5px!important;
  font-weight:400!important;
  color:#9AA79E!important;
}
.price small{
  font-family:var(--pm-body)!important;
  font-size:11.5px!important;
  font-weight:400!important;
  color:var(--pm-muted)!important;
}
.stock{font-size:11px!important;color:var(--pm-muted)!important;text-align:right;line-height:1.5}
.stock b{display:block;font-size:12.5px;font-weight:600;color:var(--pm-ink-2)}
.stock.low b{color:var(--pm-low)}
.stock.out b{color:var(--pm-out)}

/* แถวปุ่ม — ตัวนับจำนวนกับปุ่มเพิ่มลงตะกร้าให้สูงเท่ากัน กดง่ายบนมือถือ */
.card-actions{margin-top:16px;gap:10px}
.qty{
  height:46px;
  border:1px solid var(--pm-line-strong)!important;
  border-radius:var(--pm-r-sm)!important;
  background:#fff!important;
  overflow:hidden;
}
.qty button{
  width:38px;
  border:0;background:transparent;
  color:var(--pm-forest);
  font-size:17px;font-weight:500;
  cursor:pointer;
  transition:background .15s ease;
}
.qty button:hover{background:var(--pm-brass-tint)}
.qty input{
  border:0;background:transparent;
  font-size:14px;font-weight:600;text-align:center;
  color:var(--pm-ink);
}
.add-cart{
  height:46px;
  border-radius:var(--pm-r-sm)!important;
  background:var(--pm-forest)!important;
  color:#fff!important;
  font-family:var(--pm-body)!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:.03em;
  border:1px solid transparent!important;
  transition:background .2s ease,box-shadow .2s ease;
}
.add-cart:hover:not(:disabled){
  background:var(--pm-brass)!important;
  box-shadow:var(--pm-sh-brass);
}
.add-cart:disabled{background:#C3CCC5!important;color:#fff!important;cursor:not-allowed}

/* ---------------------------------------------------------------------
   8) Flash Sale — โซนเดียวที่อนุญาตให้ใช้สีแรง (สีดินเผา ไม่ใช่แดงจัด)
   --------------------------------------------------------------------- */
.flash-sale-section{
  border-radius:var(--pm-r-xl);
  border:1px solid rgba(156,59,36,.2);
  background:linear-gradient(150deg,#FDF6F2,#F7E9E2);
}
.flash-eyebrow{color:var(--pm-sale)!important}
.flash-countdown b{
  border-radius:var(--pm-r-sm);
  background:var(--pm-forest);
  color:var(--pm-brass-soft);
  font-variant-numeric:tabular-nums;
}
.flash-product{
  border:1px solid var(--pm-line);
  border-radius:var(--pm-r-lg);
  background:#fff;
  box-shadow:var(--pm-sh-1);
  transition:transform .24s cubic-bezier(.2,.7,.3,1),box-shadow .24s ease;
}
.flash-product:hover{transform:translateY(-4px);box-shadow:var(--pm-sh-3)}
.flash-product-title{font-family:var(--pm-display)!important;font-size:15px!important;font-weight:600!important}
.flash-price b{font-family:var(--pm-display)!important;color:var(--pm-sale)!important}
.flash-price del{color:#9AA79E!important}
.flash-add{
  border-radius:var(--pm-r-sm)!important;
  background:var(--pm-sale)!important;
  color:#fff!important;
  font-weight:600!important;
  letter-spacing:.03em;
}
.flash-add:hover{background:#83301D!important}

/* ---------------------------------------------------------------------
   9) หน้ารายการสินค้า (catalog) — ตัวกรอง / แถบข้าง
   --------------------------------------------------------------------- */
.catalog-page,.page-wrap{background:var(--pm-glass)}
.listing-banner{
  border-radius:var(--pm-r-xl);
  border:1px solid rgba(176,131,65,.28);
  box-shadow:var(--pm-sh-2);
}
.listing-banner h1{font-size:clamp(26px,3.2vw,40px);color:#fff}
.listing-banner p{color:#CBD9CE;font-size:14px}

.catalog-mode-nav a{
  border-radius:var(--pm-r-sm)!important;
  font-size:13px!important;font-weight:500!important;
  border:1px solid var(--pm-line)!important;
  color:var(--pm-ink-2)!important;
  background:#fff!important;
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.catalog-mode-nav a:hover{border-color:var(--pm-brass)!important;color:var(--pm-brass-2)!important}
.catalog-mode-nav a.active{
  background:var(--pm-forest)!important;
  color:#fff!important;
  border-color:var(--pm-forest)!important;
}

.listing-highlight-card{
  border:1px solid var(--pm-line);
  border-radius:var(--pm-r-lg);
  background:#fff;
  box-shadow:var(--pm-sh-1);
}
.listing-highlight-card b{font-family:var(--pm-display)!important;font-size:22px!important;font-weight:600!important}
.listing-highlight-card small{font-size:11.5px!important;color:var(--pm-muted)!important}

.sidebar,.catalog-category-panel,.catalog-products-panel{
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r-lg)!important;
  background:#fff!important;
  box-shadow:var(--pm-sh-1)!important;
}
.sidebar h3,.category-panel-title h2{font-family:var(--pm-display)!important;font-size:18px!important}
.sidebar-list button,
.catalog-category-panel .sidebar-list button{
  border-radius:var(--pm-r-sm)!important;
  border:1px solid transparent!important;
  background:#F6F8F4!important;
  color:var(--pm-ink-2)!important;
  font-size:13px!important;font-weight:500!important;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
.sidebar-list button:hover,
.catalog-category-panel .sidebar-list button:hover{
  background:var(--pm-brass-tint)!important;
  border-color:var(--pm-brass-soft)!important;
  color:var(--pm-forest)!important;
}
.sidebar-list button.active,
.catalog-category-panel .sidebar-list button.active{
  background:var(--pm-forest)!important;
  border-color:var(--pm-forest)!important;
  color:#fff!important;
}

.filters input,.filters select,
.catalog-products-panel .filters input,
.catalog-products-panel .filters select,
.filter-reset{
  min-height:44px!important;
  border-radius:var(--pm-r-sm)!important;
  border:1px solid var(--pm-line-strong)!important;
  background:#fff!important;
  font-family:var(--pm-body)!important;
  font-size:13.5px!important;
  color:var(--pm-ink)!important;
}
.catalog-products-panel .filters input:focus,
.catalog-products-panel .filters select:focus,
.filters input:focus,.filters select:focus{
  outline:0;
  border-color:var(--pm-brass)!important;
  box-shadow:0 0 0 3px rgba(176,131,65,.14)!important;
}
.filter-reset{color:var(--pm-brass-2)!important;font-weight:600!important;cursor:pointer}
.filter-reset:hover{border-color:var(--pm-brass)!important;background:var(--pm-brass-tint)!important}
.status-line,.listing-title .status-line{font-size:12px!important;color:var(--pm-muted)!important}

.empty-state,.loading-state,
.catalog-products-panel .empty-state{
  border:1px dashed var(--pm-line-strong)!important;
  border-radius:var(--pm-r-lg)!important;
  background:#FAFCF8!important;
  color:var(--pm-muted)!important;
}
.catalog-products-panel .empty-state b{font-family:var(--pm-display)!important;color:var(--pm-ink)!important}

/* ---------------------------------------------------------------------
   10) ลิ้นชักตะกร้า / โมดัล / เช็คเอาต์ / ชำระเงิน
   --------------------------------------------------------------------- */
.drawer-bg{background:rgba(13,42,27,.5);backdrop-filter:blur(3px)}
.drawer-panel{
  border-left:1px solid var(--pm-line);
  background:var(--pm-paper);
  box-shadow:-24px 0 70px rgba(13,42,27,.18);
}
.drawer-panel header,.modal-card header,.product-detail-card>header{
  border-bottom:1px solid var(--pm-line)!important;
  background:#fff;
}
.drawer-panel h2,.modal-card h2{font-size:21px!important}
.icon-close{
  border-radius:var(--pm-r-sm)!important;
  border:1px solid var(--pm-line)!important;
  background:#fff!important;
  color:var(--pm-ink-2)!important;
  transition:border-color .16s ease,color .16s ease;
}
.icon-close:hover{border-color:var(--pm-brass)!important;color:var(--pm-brass-2)!important}

.cart-item{
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r)!important;
  background:#fff!important;
}
.cart-image{
  border-radius:var(--pm-r-sm)!important;
  border:1px solid var(--pm-line);
  background:linear-gradient(160deg,#F4F8F0,#E6EEE0);
}
.cart-controls button{
  border-radius:var(--pm-r-sm)!important;
  border:1px solid var(--pm-line-strong)!important;
  background:#fff!important;
  color:var(--pm-forest)!important;
}
.cart-controls .remove{color:var(--pm-sale)!important;border-color:rgba(156,59,36,.25)!important}
.cart-footer{
  border-top:1px solid var(--pm-line)!important;
  background:#FBFCF9!important;
}
.cart-total-row,.order-summary .total{
  font-family:var(--pm-display)!important;
  font-size:21px!important;
  font-weight:600!important;
  color:var(--pm-forest)!important;
}
.empty-cart{color:var(--pm-muted)!important}

.modal{background:rgba(13,42,27,.5);backdrop-filter:blur(3px)}
.modal-card,.payment-card,.product-detail-card,.history-card{
  border-radius:var(--pm-r-xl)!important;
  border:1px solid var(--pm-line)!important;
  background:#fff!important;
  box-shadow:0 40px 100px rgba(13,42,27,.28)!important;
}
.form-fields label{
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.05em;
  color:var(--pm-ink-2)!important;
}
.form-fields input,.form-fields textarea{
  min-height:46px;
  border:1px solid var(--pm-line-strong)!important;
  border-radius:var(--pm-r-sm)!important;
  font-family:var(--pm-body)!important;
  font-size:14px!important;
  background:#fff!important;
}
.form-fields input:focus,.form-fields textarea:focus{
  outline:0;
  border-color:var(--pm-brass)!important;
  box-shadow:0 0 0 3px rgba(176,131,65,.14)!important;
}
.order-summary{
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r-lg)!important;
  background:#FBFCF9!important;
}
.order-summary h3{font-family:var(--pm-display)!important;font-size:17px!important}

.success-check{
  color:var(--pm-moss)!important;
  background:var(--pm-brass-tint)!important;
  border:1px solid var(--pm-brass-soft)!important;
}
.order-id{
  border-radius:var(--pm-r-sm)!important;
  border:1px dashed var(--pm-brass)!important;
  background:var(--pm-brass-tint)!important;
  color:var(--pm-forest)!important;
  font-weight:600;letter-spacing:.06em;
}
.qr-box,.bank-box{
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r-lg)!important;
  background:#fff!important;
  box-shadow:var(--pm-sh-1)!important;
}
.bank-box>b{font-family:var(--pm-display)!important}
.payment-note{
  border-left:2px solid var(--pm-brass);
  background:var(--pm-brass-tint)!important;
  color:var(--pm-ink-2)!important;
  border-radius:0 var(--pm-r-sm) var(--pm-r-sm) 0!important;
}
.slip-upload-box{
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r-lg)!important;
  background:#FBFCF9!important;
}
.slip-picker{
  border:1.5px dashed var(--pm-line-strong)!important;
  border-radius:var(--pm-r)!important;
  background:#fff!important;
  transition:border-color .18s ease,background .18s ease;
}
.slip-picker:hover{border-color:var(--pm-brass)!important;background:var(--pm-brass-tint)!important}

/* ---------------------------------------------------------------------
   11) หน้ารายละเอียดสินค้า
   --------------------------------------------------------------------- */
.gallery-main{
  border-radius:var(--pm-r-lg)!important;
  border:1px solid var(--pm-line)!important;
  background:linear-gradient(160deg,#F4F8F0,#E6EEE0)!important;
}
.gallery-thumbs button{
  border-radius:var(--pm-r-sm)!important;
  border:1px solid var(--pm-line)!important;
  overflow:hidden;
}
.gallery-thumbs button.active{
  border-color:var(--pm-brass)!important;
  box-shadow:0 0 0 2px rgba(176,131,65,.2);
}
.gallery-arrow{
  border-radius:50%!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid var(--pm-line-strong)!important;
  color:var(--pm-forest)!important;
}
.product-detail-info h2{font-size:clamp(22px,2.4vw,30px)!important}
.detail-line{
  border-bottom:1px solid var(--pm-line)!important;
  font-size:13.5px!important;
}
.detail-line>span{color:var(--pm-muted)!important;font-size:12.5px!important}
.detail-price{
  font-family:var(--pm-display)!important;
  font-size:34px!important;
  font-weight:600!important;
  color:var(--pm-forest)!important;
}
.detail-price del{font-family:var(--pm-body)!important;font-size:15px!important;color:#9AA79E!important}

/* ---------------------------------------------------------------------
   12) YouTube / บทความ
   --------------------------------------------------------------------- */
.youtube-card{
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r-lg)!important;
  background:#fff!important;
  box-shadow:var(--pm-sh-1)!important;
  overflow:hidden;
}
.youtube-card:hover{box-shadow:var(--pm-sh-3)!important}
.youtube-play{
  background:rgba(13,42,27,.8)!important;
  border:1px solid var(--pm-brass-soft)!important;
  color:var(--pm-brass-soft)!important;
}
.youtube-copy h3{font-size:16px!important}
.youtube-copy p{font-size:12.5px!important;color:var(--pm-muted)!important}

/* ---------------------------------------------------------------------
   13) Footer
   --------------------------------------------------------------------- */
.site-footer{
  margin-top:0;
  color:#C6D5C9;
  background:var(--pm-forest)!important;
  border-top:1px solid rgba(176,131,65,.35);
  position:relative;
}
.site-footer::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(90deg,rgba(231,211,172,.05) 0 1px,transparent 1px 104px);
}
.footer-inner{position:relative;z-index:1;max-width:1280px;padding-block:60px}
.footer-brand h3{
  font-family:var(--pm-display)!important;
  font-size:22px;font-weight:600;
  color:#fff;
}
.footer-title{
  font-family:var(--pm-body)!important;
  font-size:11px!important;
  font-weight:600!important;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--pm-brass)!important;
}
.footer-links a{
  color:#C6D5C9;
  font-size:13.5px;
  text-decoration:none;
  transition:color .16s ease;
}
.footer-links a:hover{color:var(--pm-brass-soft)}
.footer-bottom{
  position:relative;z-index:1;
  border-top:1px solid rgba(255,255,255,.08);
  color:#8FA495;
  font-size:12px;letter-spacing:.04em;
}

/* ---------------------------------------------------------------------
   14) องค์ประกอบลอย: FAB, toast, ปุ่มขึ้นบน, แถบตะกร้ามือถือ
   --------------------------------------------------------------------- */
.floating-contact{right:20px;bottom:calc(20px + env(safe-area-inset-bottom))}
.floating-contact a{
  width:52px;height:52px;
  border:1px solid rgba(255,255,255,.5);
  box-shadow:0 8px 24px rgba(13,42,27,.24);
}

.order-history-fab{
  left:20px;bottom:calc(20px + env(safe-area-inset-bottom));
  border:1px solid var(--pm-line-strong)!important;
  border-radius:var(--pm-r)!important;
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(10px);
  box-shadow:var(--pm-sh-2)!important;
  color:var(--pm-forest)!important;
}
.order-history-fab b{font-size:12px!important;font-weight:600!important}
.order-history-fab small{background:var(--pm-brass)!important;font-size:11px!important}

.global-toast{
  border-radius:var(--pm-r)!important;
  background:var(--pm-forest)!important;
  border:1px solid rgba(176,131,65,.4);
  color:#fff!important;
  font-size:13.5px!important;
  box-shadow:0 18px 44px rgba(13,42,27,.3)!important;
  bottom:calc(26px + env(safe-area-inset-bottom))!important;
}

/* ปุ่มกลับขึ้นบน */
.pm-totop{
  position:fixed;
  right:20px;
  bottom:calc(84px + env(safe-area-inset-bottom));
  z-index:74;
  width:46px;height:46px;
  display:grid;place-items:center;
  border:1px solid var(--pm-brass-soft);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  color:var(--pm-forest);
  box-shadow:var(--pm-sh-2);
  cursor:pointer;
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
}
.pm-totop.show{opacity:1;visibility:visible;transform:translateY(0)}
.pm-totop:hover{border-color:var(--pm-brass);color:var(--pm-brass-2)}

/* แถบสรุปตะกร้าบนมือถือ — โผล่เฉพาะตอนมีของในตะกร้า */
.pm-cartbar{
  position:fixed;left:0;right:0;
  bottom:0;z-index:78;
  display:none;
  align-items:center;
  gap:14px;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(13,42,27,.97);
  backdrop-filter:blur(14px);
  border-top:1px solid rgba(176,131,65,.4);
  transform:translateY(110%);
  transition:transform .28s cubic-bezier(.2,.7,.3,1);
}
.pm-cartbar.show{transform:translateY(0)}
.pm-cartbar-info{flex:1;min-width:0;line-height:1.35}
.pm-cartbar-info small{
  display:block;
  font-size:10.5px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--pm-brass);
}
.pm-cartbar-info b{
  display:block;
  font-family:var(--pm-display);
  font-size:18px;font-weight:600;color:#fff;
  font-variant-numeric:tabular-nums;
}
.pm-cartbar button{
  height:46px;padding:0 22px;
  border:0;border-radius:var(--pm-r-sm);
  background:var(--pm-brass);
  color:#1B1204;
  font-family:var(--pm-body);
  font-size:13.5px;font-weight:700;letter-spacing:.03em;
  cursor:pointer;
  transition:background .18s ease;
}
.pm-cartbar button:hover{background:var(--pm-brass-soft)}

/* ---------------------------------------------------------------------
   15) โครงร่างระหว่างโหลด (skeleton) — กันหน้าเว็บกระพริบว่าง
   --------------------------------------------------------------------- */
.pm-skeleton{
  border:1px solid var(--pm-line);
  border-radius:var(--pm-r-lg);
  background:#fff;
  overflow:hidden;
}
.pm-skeleton .pm-sk-img{aspect-ratio:4/5;background:#EDF1EA}
.pm-skeleton .pm-sk-body{padding:18px;display:grid;gap:10px}
.pm-skeleton .pm-sk-line{height:11px;border-radius:3px;background:#EDF1EA}
.pm-skeleton .pm-sk-line.w40{width:40%}
.pm-skeleton .pm-sk-line.w70{width:70%}
.pm-skeleton .pm-sk-line.w55{width:55%}
.pm-shimmer{
  position:relative;
  overflow:hidden;
}
.pm-shimmer::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);
  transform:translateX(-100%);
  animation:pm-shimmer 1.6s infinite;
}
@keyframes pm-shimmer{100%{transform:translateX(100%)}}

/* ---------------------------------------------------------------------
   16) การเคลื่อนไหวตอนเลื่อนหน้า — ยกขึ้น 10px + จางเข้า
   --------------------------------------------------------------------- */
.pm-reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .6s cubic-bezier(.2,.7,.3,1),transform .6s cubic-bezier(.2,.7,.3,1);
}
.pm-reveal.pm-in{opacity:1;transform:translateY(0)}

/* ---------------------------------------------------------------------
   17) การเข้าถึง (a11y) — โฟกัสต้องเห็นชัด
   --------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:2px solid var(--pm-brass);
  outline-offset:2px;
  border-radius:var(--pm-r-sm);
}
::selection{background:var(--pm-brass-soft);color:var(--pm-forest)}

/* แถบเลื่อน */
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-thumb{background:var(--pm-line-strong);border-radius:999px;border:3px solid var(--pm-glass)}
*::-webkit-scrollbar-thumb:hover{background:var(--pm-brass-soft)}

/* ---------------------------------------------------------------------
   18) จอเล็ก
   --------------------------------------------------------------------- */
@media(max-width:1080px){
  .section{padding:56px 20px}
  .main-banner{min-height:340px}
  .banner-copy{padding:40px 26px}
}

@media(max-width:768px){
  .header-main{min-height:auto;padding:10px 14px;gap:10px}
  .brand-mark{width:44px;height:44px}
  .brand b{font-size:16px}
  .brand small{font-size:9.5px}
  .site-nav{height:48px;gap:20px;padding:0 14px;justify-content:flex-start}
  .site-nav a{font-size:12.5px;white-space:nowrap}
  .header-tool{height:42px;padding:0 10px}

  .home-hero-wrap{padding:14px}
  .main-banner{min-height:300px;border-radius:var(--pm-r-lg)}
  .banner-copy{padding:30px 20px 26px}
  .banner-copy h1{font-size:27px;margin:14px 0 10px}
  .banner-copy p{font-size:13.5px}

  .section{padding:44px 16px}
  .section-head h2{font-size:23px}
  .product-grid{gap:14px}
  .product-body{padding:14px!important}
  .product-body h3,.product-title-button h3{font-size:15px!important}
  .price{font-size:20px!important}
  .card-actions{gap:8px}
  .qty{height:44px}
  .qty button{width:34px}
  .add-cart{height:44px;font-size:12.5px!important}

  .footer-inner{padding-block:40px}

  /* บนมือถือแสดงแถบตะกร้าได้ */
  .pm-cartbar{display:flex}
  /* เมื่อแถบตะกร้าโผล่ ให้ยกปุ่มลอยขึ้นไม่ให้ทับกัน */
  body.pm-cartbar-on .floating-contact{bottom:calc(88px + env(safe-area-inset-bottom))}
  body.pm-cartbar-on .order-history-fab{bottom:calc(88px + env(safe-area-inset-bottom))}
  body.pm-cartbar-on .pm-totop{bottom:calc(150px + env(safe-area-inset-bottom))}
  body.pm-cartbar-on .global-toast{bottom:calc(92px + env(safe-area-inset-bottom))!important}

  .pm-totop{width:42px;height:42px;bottom:calc(80px + env(safe-area-inset-bottom))}
}

@media(max-width:480px){
  .product-image{aspect-ratio:1/1}
  .category-card{min-height:118px;padding:16px 10px}
  .category-card b{font-size:28px}
  .category-card span{font-size:14px}
  .banner-copy h1{font-size:24px}
  .detail-price{font-size:28px!important}
}

/* ---------------------------------------------------------------------
   19) เคารพการตั้งค่า "ลดการเคลื่อนไหว" ของผู้ใช้
   --------------------------------------------------------------------- */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
  .pm-reveal{opacity:1;transform:none}
}

/* ---------------------------------------------------------------------
   20) โหมดพิมพ์ (ใบสั่งซื้อ)
   --------------------------------------------------------------------- */
@media print{
  .site-header,.site-footer,.announcement-bar,
  .floating-contact,.order-history-fab,.pm-totop,.pm-cartbar{display:none!important}
  body{background:#fff}
}

/* ---------------------------------------------------------------------
   21) ไอคอน SVG ที่ premium-ux.js ใส่เข้ามา
   --------------------------------------------------------------------- */
.pm-icon{display:block;flex:none}
.header-tool .pm-icon-wrap{color:inherit}
.cart-tool .pm-icon{stroke-width:1.7}

/* การ์ดสินค้าไล่โผล่ทีละใบ — ใช้ animation แบบจบที่สถานะปกติ
   จึงปลอดภัยแม้ JS ไม่ทำงาน (การ์ดจะไม่ค้างจาง) */
@media(prefers-reduced-motion:no-preference){
  .product-grid>.product-card,
  .flash-sale-track>.flash-product{
    animation:pm-rise .46s cubic-bezier(.2,.7,.3,1) both;
  }
  .product-grid>.product-card:nth-child(1){animation-delay:.02s}
  .product-grid>.product-card:nth-child(2){animation-delay:.06s}
  .product-grid>.product-card:nth-child(3){animation-delay:.10s}
  .product-grid>.product-card:nth-child(4){animation-delay:.14s}
  .product-grid>.product-card:nth-child(5){animation-delay:.18s}
  .product-grid>.product-card:nth-child(6){animation-delay:.22s}
  .product-grid>.product-card:nth-child(7){animation-delay:.26s}
  .product-grid>.product-card:nth-child(8){animation-delay:.30s}
}
@keyframes pm-rise{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

/* ---------------------------------------------------------------------
   22) เก็บรายละเอียดตกหล่น — ปุ่มในประวัติการสั่งซื้อ / ป๊อปอัพโปรฯ
   --------------------------------------------------------------------- */
.history-order{
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r)!important;
  background:#fff!important;
}
.history-order-head button{
  border-radius:var(--pm-r-sm)!important;
  border:1px dashed var(--pm-brass)!important;
  background:var(--pm-brass-tint)!important;
  color:var(--pm-forest)!important;
  font-weight:600;letter-spacing:.05em;
}
.history-send-order{
  border:1px solid transparent!important;
  border-radius:var(--pm-r-sm)!important;
  background:var(--pm-forest)!important;
  color:#fff!important;
  font-weight:600!important;
}
.history-send-order:hover{background:var(--pm-brass)!important}
.history-upload-slip{
  border:1px solid var(--pm-line-strong)!important;
  border-radius:var(--pm-r-sm)!important;
  background:#fff!important;
  color:var(--pm-forest)!important;
  font-weight:600!important;
}
.history-upload-slip:hover{border-color:var(--pm-brass)!important;color:var(--pm-brass-2)!important}
.history-summary{
  border:1px solid var(--pm-line)!important;
  border-radius:var(--pm-r)!important;
  background:#FBFCF9!important;
}
.history-summary b{font-family:var(--pm-display)!important;font-size:16px!important}
.history-live-status{
  border-left:2px solid var(--pm-brass);
  background:var(--pm-brass-tint)!important;
  border-radius:0 var(--pm-r-sm) var(--pm-r-sm) 0!important;
}
.danger-text{color:var(--pm-sale)!important}

.promo-popup-backdrop{background:rgba(13,42,27,.55);backdrop-filter:blur(4px)}
.promo-popup-card{
  border-radius:var(--pm-r-xl)!important;
  border:1px solid rgba(176,131,65,.4)!important;
  box-shadow:0 40px 100px rgba(13,42,27,.32)!important;
}
.promo-popup-close{
  border:1px solid var(--pm-line)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.95)!important;
  color:var(--pm-forest)!important;
}

/* หน้าบทความ / หน้าเนื้อหา (content.css) */
.page-hero,.article-card,.content-card,.post-card{
  border-radius:var(--pm-r-lg)!important;
  border:1px solid var(--pm-line)!important;
  box-shadow:var(--pm-sh-1)!important;
}

/* ---------------------------------------------------------------------
   23) การซูมบนมือถือ
   เดิมหน้าเว็บปิดการซูมด้วยนิ้ว (user-scalable=no) ซึ่งเป็นปัญหาด้าน
   การเข้าถึงและ Google หักคะแนน  ตอนนี้เปิดให้ซูมได้แล้ว และกัน
   "แตะสองครั้งแล้วซูม" ด้วย touch-action แทน ซึ่งได้ผลเหมือนกัน
   --------------------------------------------------------------------- */
button,a,input,select,textarea,label,.product-card,.category-card{
  touch-action:manipulation;
}
/* iOS จะซูมอัตโนมัติถ้าช่องกรอกตัวอักษรเล็กกว่า 16px */
@media(max-width:768px){
  input,select,textarea{font-size:16px!important}
}
/* ซ่อนลูกศรขึ้น-ลงของช่องตัวเลข ให้ตัวนับจำนวนดูสะอาดและไม่ล้นกล่อง */
.qty input{min-width:0;-moz-appearance:textfield;appearance:textfield}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
