/*
Theme Name: HENCO DIGITAL
Theme URI: https://hencodgt.store
Author: HENCO DIGITAL LIMITED
Description: 衡創數碼專用主題 — 暖調編輯風，為攝影與影音器材而設。內建 WooCommerce 版面。
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: henco
Tags: e-commerce, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   設計變數
   ============================================================ */
:root{
  --ink:      #16181D;
  --ink-2:    #22252D;
  --paper:    #F6F3EE;
  --accent:   #C8541F;
  --accent-d: #A94518;
  --muted:    #6F6A62;
  --line:     #E3DDD3;
  --line-2:   #EDE8DF;
  --white:    #FFFFFF;
  --serif:    "Noto Serif TC","Songti TC","Source Han Serif TC","SimSun",Georgia,serif;
  --sans:     "Inter","Noto Sans TC","PingFang HK","Microsoft JhengHei",system-ui,sans-serif;
  --wrap:     1180px;
}

/* ============================================================
   基礎
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:var(--sans);
  font-size:15px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:var(--ink); text-decoration:none; }
a:hover{ color:var(--accent); }

h1,h2,h3,h4,h5{
  font-family:var(--serif);
  font-weight:700;
  line-height:1.3;
  color:var(--ink);
  margin:0 0 .6em;
  letter-spacing:-.01em;
}
h1{ font-size:clamp(28px,3.4vw,44px); }
h2{ font-size:clamp(24px,2.8vw,34px); }
h3{ font-size:20px; }
h4{ font-size:17px; }

p{ margin:0 0 1.1em; }

hr{ border:none; border-top:1px solid var(--line); margin:40px 0; }

::selection{ background:var(--accent); color:#fff; }

/* 通用容器 */
.h2-wrap{ max-width:var(--wrap); margin:0 auto; padding:0 32px; }

/* 按鈕 */
.h2-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
button.single_add_to_cart_button{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 30px;
  background:var(--ink) !important;
  color:#fff !important;
  border:1px solid var(--ink) !important;
  border-radius:2px !important;
  font-family:var(--sans); font-size:14px; font-weight:600;
  letter-spacing:.03em; line-height:1.2;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease;
}
.h2-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
button.single_add_to_cart_button:hover{
  background:var(--accent) !important;
  border-color:var(--accent) !important;
  color:#fff !important;
}

/* ============================================================
   公告列
   ============================================================ */
.h2-ann{ background:var(--ink); }
.h2-ann__inner{
  max-width:var(--wrap); margin:0 auto; padding:11px 32px; text-align:center;
}
.h2-ann a{
  font-size:11.5px; letter-spacing:.14em; color:#B9B2A6;
}
.h2-ann a:hover{ color:var(--paper); }
.h2-ann b{ color:var(--accent); font-weight:600; }
.h2-ann .sep{ color:#4A4E58; margin:0 10px; }

/* ============================================================
   頁首
   ============================================================ */
.h2-head{
  position:sticky; top:0; z-index:90;
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.h2-head__inner{
  max-width:var(--wrap); margin:0 auto; padding:0 32px;
  height:76px; display:flex; align-items:center; gap:40px;
}
.h2-head__logo{ flex:none; }
.h2-head__logo img{ height:36px; width:auto; }
.h2-head__logo-text{
  font-family:var(--serif); font-size:22px; font-weight:700; letter-spacing:.02em;
}

.h2-head__nav{
  display:flex; align-items:center; gap:26px;
  font-size:13.5px; letter-spacing:.03em;
}
.h2-head__nav a{
  position:relative; padding:4px 0; color:var(--ink);
}
.h2-head__nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:var(--accent); transform:scaleX(0); transform-origin:left;
  transition:transform .22s ease;
}
.h2-head__nav a:hover{ color:var(--accent); }
.h2-head__nav a:hover::after{ transform:scaleX(1); }

.h2-head__tools{
  margin-left:auto; display:flex; align-items:center; gap:20px;
  font-size:12.5px;
}
.h2-head__tool{ color:var(--muted); letter-spacing:.04em; }
.h2-head__tool:hover{ color:var(--ink); }

.h2-head__cart{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px; border:1px solid var(--line);
  font-weight:600; color:var(--ink);
  transition:border-color .2s ease, color .2s ease;
}
.h2-head__cart:hover{ border-color:var(--accent); color:var(--accent); }
.h2-head__count{
  display:inline-grid; place-items:center;
  min-width:20px; height:20px; padding:0 5px;
  background:var(--ink); color:#fff; font-size:11px; font-weight:600; line-height:1;
}

/* 手機選單 */
.h2-head__burger{ display:none; margin-left:auto; position:relative; }
.h2-head__burger summary{
  list-style:none; cursor:pointer;
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border:1px solid var(--line);
  font-size:12.5px; letter-spacing:.06em;
}
.h2-head__burger summary::-webkit-details-marker{ display:none; }
.h2-head__burger .bars{ display:block; width:16px; }
.h2-head__burger .bars i{
  display:block; height:1px; background:var(--ink); margin:4px 0;
}
.h2-head__burger nav{
  position:absolute; right:0; top:calc(100% + 10px);
  min-width:230px; background:#fff; border:1px solid var(--line);
  box-shadow:0 16px 40px rgba(22,24,29,.10); padding:8px 0; z-index:100;
}
.h2-head__burger nav a{
  display:block; padding:11px 18px; font-size:14px;
  border-bottom:1px solid #F2EEE7;
}
.h2-head__burger nav a:last-child{ border-bottom:none; }
.h2-head__burger nav a:hover{ background:var(--paper); color:var(--accent); }

/* ============================================================
   主視覺
   ============================================================ */
.h2-hero{
  position:relative; overflow:hidden; background:var(--ink);
  aspect-ratio:2/1;
}
.h2-hero__bg{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:right center;
}
.h2-hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(22,24,29,.96) 0%,rgba(22,24,29,.85) 38%,rgba(22,24,29,0) 66%);
}
.h2-hero__inner{
  position:relative; z-index:2; height:100%;
  max-width:var(--wrap); margin:0 auto; padding:0 32px;
  display:flex; flex-direction:column; justify-content:center;
  color:var(--paper);
}
.h2-hero__eyebrow{
  display:flex; align-items:center; gap:14px; margin:0 0 26px;
  font-size:12px; font-weight:600; letter-spacing:.22em; color:#B9B2A6;
}
.h2-hero__eyebrow span{ width:40px; height:2px; background:var(--accent); }
.h2-hero__title{
  font-family:var(--serif); color:var(--paper);
  font-size:clamp(34px,5.4vw,74px); line-height:1.22; margin:0 0 24px;
}
.h2-hero__title em{ font-style:normal; color:var(--accent); }
.h2-hero__sub{
  font-size:clamp(13px,1.4vw,17px); line-height:1.9; color:#A8A29A; margin:0 0 34px;
}
.h2-hero__actions{ display:flex; gap:12px; flex-wrap:wrap; }
.h2-hero__btn{
  display:inline-block; padding:16px 34px;
  background:var(--accent); color:#fff;
  border:1px solid var(--accent); border-radius:2px;
  font-size:15px; font-weight:600; letter-spacing:.04em;
  transition:background .2s ease;
}
.h2-hero__btn:hover{ background:var(--accent-d); border-color:var(--accent-d); color:#fff; }
.h2-hero__btn--line{
  background:transparent; color:var(--paper); border-color:rgba(246,243,238,.36);
}
.h2-hero__btn--line:hover{ background:rgba(246,243,238,.10); border-color:rgba(246,243,238,.7); color:var(--paper); }
.h2-hero__note{ margin:28px 0 0; font-size:12.5px; letter-spacing:.06em; color:#7E796F; }

/* ============================================================
   信任條
   ============================================================ */
.h2-trust{ background:var(--paper); border-bottom:1px solid var(--line); }
.h2-trust__row{
  max-width:var(--wrap); margin:0 auto; padding:0 32px;
  display:grid; grid-template-columns:repeat(4,1fr);
}
.h2-trust__item{
  padding:26px 22px 26px 0;
  display:grid; grid-template-columns:auto 1fr; column-gap:12px; row-gap:2px;
}
.h2-trust__n{
  grid-row:1 / span 2; font-family:Georgia,serif;
  font-size:12px; color:var(--accent); letter-spacing:.06em; padding-top:3px;
}
.h2-trust__item b{ font-size:14.5px; font-weight:600; }
.h2-trust__item span:last-child{ font-size:12.5px; color:var(--muted); }
.h2-trust__item + .h2-trust__item{ border-left:1px solid var(--line); padding-left:22px; }

/* ============================================================
   區段標題（共用）
   ============================================================ */
.h2-sec{ padding:88px 32px; }
.h2-sec--paper{ background:var(--paper); }
.h2-sec__head{ max-width:var(--wrap); margin:0 auto 40px; }
.h2-sec__eyebrow{
  display:flex; align-items:center; gap:14px; margin:0 0 18px;
  font-size:11.5px; font-weight:600; letter-spacing:.22em; color:var(--accent);
}
.h2-sec__eyebrow span{ width:32px; height:1px; background:var(--accent); }
.h2-sec__hline{
  display:flex; align-items:baseline; justify-content:space-between; gap:24px;
  border-bottom:1px solid var(--ink); padding-bottom:16px;
}
.h2-sec__hline h2{ margin:0; }
.h2-sec__more{
  font-size:13px; font-weight:600; white-space:nowrap;
  border-bottom:1px solid #C3BAB0; padding-bottom:2px;
}
.h2-sec__more:hover{ color:var(--accent); border-color:var(--accent); }

/* ============================================================
   分類磚
   ============================================================ */
.h2-cats__grid{
  max-width:var(--wrap); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line); border-left:1px solid var(--line);
}
.h2-cat{
  position:relative; display:block; padding:34px 30px 40px;
  border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  background:#fff; transition:background .2s ease;
}
.h2-cat:hover{ background:var(--paper); }
.h2-cat__num{ display:block; font-family:Georgia,serif; font-size:12px; color:var(--accent); margin-bottom:22px; }
.h2-cat h3{ font-size:21px; margin:0 0 8px; }
.h2-cat p{ margin:0; font-size:13px; color:var(--muted); }
.h2-cat::after{
  content:"→"; position:absolute; right:26px; bottom:26px;
  color:#B9B2A6; transition:color .2s ease, transform .2s ease;
}
.h2-cat:hover::after{ color:var(--accent); transform:translateX(3px); }

/* ============================================================
   商品卡（首頁與商城共用）
   ============================================================ */
.h2-prods{
  max-width:var(--wrap); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:32px 24px; align-items:start;
}
.h2-prod{ display:block; }
.h2-prod__ph{
  position:relative; aspect-ratio:1/1; background:#fff;
  border:1px solid var(--line); overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s ease;
}
.h2-prod:hover .h2-prod__ph{ border-color:var(--ink); }
.h2-prod__ph img{
  width:78%; height:78%; object-fit:contain;
  transition:transform .35s ease;
}
.h2-prod:hover .h2-prod__ph img{ transform:scale(1.04); }
.h2-prod__tag,.h2-prod__out{
  position:absolute; top:10px; left:10px; z-index:2;
  font-size:10.5px; font-weight:600; letter-spacing:.12em; padding:4px 8px;
}
.h2-prod__tag{ background:var(--accent); color:#fff; }
.h2-prod__out{ background:var(--ink); color:var(--paper); }
.h2-prod h3{
  font-family:var(--sans); font-size:13.5px; font-weight:500;
  line-height:1.6; margin:14px 0 6px; color:var(--ink);
}
.h2-prod__price{
  margin:0; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap;
  font-family:Georgia,var(--serif); font-size:15px; font-variant-numeric:tabular-nums;
}
.h2-prod__price del{ font-size:12.5px; color:#A8A29A; }
.h2-prod__price ins{ text-decoration:none; color:var(--accent); }

/* ============================================================
   品牌故事 / FAQ / 訂閱
   ============================================================ */
.h2-story{
  max-width:var(--wrap); margin:0 auto; padding:96px 32px;
  display:grid; grid-template-columns:1.1fr .9fr; gap:72px; align-items:start;
}
.h2-story__quote{
  margin:0 0 34px; padding-left:22px; border-left:2px solid var(--accent);
  font-family:var(--serif); font-size:clamp(20px,2.2vw,26px); line-height:1.6;
}
.h2-story__facts{ display:grid; grid-template-columns:1fr 1fr; gap:24px 28px; }
.h2-story__facts div{ border-top:1px solid var(--ink); padding-top:12px; }
.h2-story__facts b{
  display:block; font-family:Georgia,serif; font-size:26px;
  font-variant-numeric:tabular-nums; margin-bottom:4px;
}
.h2-story__facts span{ font-size:12px; color:var(--muted); }
.h2-story__lead{ font-size:14.5px; line-height:1.95; color:var(--muted); max-width:32em; }

.h2-faq{
  max-width:var(--wrap); margin:0 auto; padding:96px 32px;
  display:grid; grid-template-columns:360px minmax(0,1fr); gap:72px; align-items:start;
}
.h2-faq__list details{ border-bottom:1px solid var(--line); padding:20px 0; }
.h2-faq__list details:first-child{ border-top:1px solid var(--ink); }
.h2-faq__list summary{
  position:relative; padding-right:30px; cursor:pointer; list-style:none;
  font-family:var(--serif); font-size:16px; font-weight:700; line-height:1.6;
}
.h2-faq__list summary::-webkit-details-marker{ display:none; }
.h2-faq__list summary::after{
  content:"+"; position:absolute; right:0; top:-3px;
  font-size:20px; font-weight:400; color:var(--accent);
}
.h2-faq__list details[open] summary::after{ content:"–"; }
.h2-faq__list p{ margin:14px 0 0; font-size:13.5px; line-height:1.95; color:var(--muted); max-width:44em; }

.h2-news{ background:var(--ink); padding:88px 32px; }
.h2-news__inner{ max-width:600px; margin:0 auto; text-align:center; }
.h2-news h2{ color:var(--paper); }
.h2-news__sub{ font-size:14px; color:#A8A29A; margin:0 0 30px; }
.h2-news__form{ display:flex; }
.h2-news__input{
  flex:1; min-width:0; padding:16px 18px;
  background:transparent; color:var(--paper);
  border:1px solid #4A4E58; border-right:none; border-radius:2px 0 0 2px;
  font-size:14px; outline:none;
}
.h2-news__input::placeholder{ color:#6E727C; }
.h2-news__input:focus{ border-color:var(--accent); }
.h2-news__btn{
  padding:16px 30px; border:1px solid var(--accent); border-radius:0 2px 2px 0;
  background:var(--accent); color:#fff; cursor:pointer;
  font-size:14px; font-weight:600; letter-spacing:.04em;
}
.h2-news__btn:hover{ background:var(--accent-d); border-color:var(--accent-d); }
.h2-news__msg{ margin:16px 0 0; font-size:13px; color:var(--accent); }

/* ============================================================
   頁尾
   ============================================================ */
.h2-foot{ background:var(--ink); color:#A8A29A; padding:80px 32px 0; }
.h2-foot__inner{
  max-width:var(--wrap); margin:0 auto; padding-bottom:56px;
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:48px;
}
.h2-foot__logo{ height:40px; width:auto; margin-bottom:20px; }
.h2-foot__name{ margin:0 0 16px; font-size:12.5px; line-height:1.9; color:var(--paper); }
.h2-foot__addr{ margin:0 0 10px; font-size:12.5px; line-height:1.9; color:#8C857A; }
.h2-foot__tel a{ font-family:Georgia,serif; font-size:15px; color:var(--paper); }
.h2-foot__tel a:hover{ color:var(--accent); }
.h2-foot__col h5{
  margin:0 0 18px; font-size:10.5px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--accent);
}
.h2-foot__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.h2-foot__col li{ font-size:12.5px; line-height:1.7; }
.h2-foot__col a{ color:#B9B2A6; }
.h2-foot__col a:hover{ color:var(--paper); }
.h2-foot__hours{
  margin:22px 0 0; padding-top:16px; border-top:1px solid #2A2E37;
  font-size:11.5px; line-height:1.9; color:#8C857A;
}
.h2-foot__bar{ border-top:1px solid #2A2E37; }
.h2-foot__bar-inner{
  max-width:var(--wrap); margin:0 auto; padding:22px 0 26px;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.h2-foot__bar p{ margin:0; font-size:11.5px; color:#6E727C; }
.h2-foot__pay{ display:flex; gap:8px; }
.h2-foot__pay span{
  border:1px solid #333843; padding:4px 10px;
  font-size:10.5px; letter-spacing:.08em; color:#8C857A;
}

/* ============================================================
   內頁 / 商城 / 商品
   ============================================================ */
.h2-page{ max-width:900px; margin:0 auto; padding:72px 32px 96px; }
.h2-page h2{ margin-top:1.8em; }
.h2-page h2:first-child{ margin-top:0; }
.h2-page ul,.h2-page ol{ padding-left:1.4em; }
.h2-page li{ margin:.35em 0; }

.h2-shop{ max-width:var(--wrap); margin:0 auto; padding:56px 32px 96px; }
.h2-shop > .woocommerce-breadcrumb{
  font-size:12px; color:var(--muted); margin:0 0 18px;
}
.h2-shop h1.page-title,
.woocommerce-products-header__title{
  font-family:var(--serif); font-size:clamp(26px,3vw,38px); margin:0 0 8px;
}
.woocommerce-result-count{ font-size:12.5px; color:var(--muted); }
.woocommerce-ordering select{
  padding:8px 12px; border:1px solid var(--line); border-radius:2px;
  font-family:var(--sans); font-size:12.5px; background:#fff;
}

/* Woo 商品列表 */
ul.products{
  list-style:none; margin:32px 0 0; padding:0;
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:32px 24px;
}
ul.products li.product{
  width:100% !important; margin:0 !important; float:none !important;
  text-align:left;
}
ul.products li.product a img{
  width:100%; aspect-ratio:1/1; object-fit:contain;
  background:#fff; border:1px solid var(--line);
  padding:0; margin:0 0 14px;
  transition:border-color .2s ease, transform .35s ease;
}
ul.products li.product:hover a img{ border-color:var(--ink); transform:scale(1.02); }
ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--sans) !important; font-size:13.5px !important;
  font-weight:500 !important; line-height:1.6; padding:0 !important; margin:0 0 6px;
  color:var(--ink);
}
ul.products li.product .price{
  font-family:Georgia,var(--serif) !important; font-size:15px !important;
  color:var(--ink) !important; margin:0 0 10px;
  font-variant-numeric:tabular-nums;
}
ul.products li.product .price del{ color:#A8A29A; font-size:12.5px; }
ul.products li.product .price ins{ text-decoration:none; color:var(--accent); }
ul.products li.product .button{
  padding:10px 18px !important; font-size:12.5px !important;
  margin-top:4px;
}
ul.products li.product .onsale{
  position:absolute; top:10px; left:10px; right:auto;
  margin:0; min-height:0; min-width:0; line-height:1.4;
  padding:4px 8px; border-radius:0;
  background:var(--accent); color:#fff;
  font-size:10.5px; font-weight:600; letter-spacing:.12em;
}
ul.products li.product{ position:relative; }

/* 分頁 */
.woocommerce-pagination ul{ border:none; display:flex; gap:6px; justify-content:center; margin:48px 0 0; }
.woocommerce-pagination ul li{ border:none; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span{
  display:grid; place-items:center; min-width:38px; height:38px;
  border:1px solid var(--line); font-size:13px; color:var(--ink);
}
.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover{
  background:var(--ink); color:#fff; border-color:var(--ink);
}

/* 商品頁 */
.single-product .h2-shop{ max-width:1180px; }
.single-product div.product{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;
  margin-top:16px;
}
.single-product div.product .woocommerce-product-gallery{ width:100% !important; float:none !important; }
.single-product div.product .summary{ width:100% !important; float:none !important; margin:0 !important; }
.single-product div.product .woocommerce-product-gallery__image img{
  border:1px solid var(--line);
}
.single-product .product_title{
  font-family:var(--serif); font-size:clamp(22px,2.4vw,30px); margin:0 0 12px;
}
.single-product .price{
  font-family:Georgia,var(--serif) !important; font-size:26px !important;
  color:var(--ink) !important; margin:0 0 20px;
}
.single-product .price del{ font-size:16px; color:#A8A29A; }
.single-product .price ins{ text-decoration:none; color:var(--accent); }
.single-product .woocommerce-product-details__short-description{
  font-size:13.5px; line-height:1.9; color:var(--muted);
  border-top:1px solid var(--line); padding-top:20px; margin-top:20px;
}
.single-product form.cart{ margin:24px 0; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.single-product form.cart .quantity input{
  width:70px; padding:12px; border:1px solid var(--line); border-radius:2px;
  font-size:14px; text-align:center;
}
.single-product .product_meta{
  font-size:12px; color:var(--muted);
  border-top:1px solid var(--line); padding-top:18px;
}
.single-product .product_meta a{ color:var(--ink); }
.single-product .woocommerce-tabs{ grid-column:1 / -1; margin-top:56px; }
.single-product .woocommerce-tabs ul.tabs{
  padding:0; margin:0 0 24px; border-bottom:1px solid var(--line);
}
.single-product .woocommerce-tabs ul.tabs::before{ display:none; }
.single-product .woocommerce-tabs ul.tabs li{
  background:transparent; border:none; border-radius:0; margin:0 24px 0 0; padding:0;
}
.single-product .woocommerce-tabs ul.tabs li a{
  padding:12px 0; font-size:13.5px; font-weight:600; color:var(--muted);
}
.single-product .woocommerce-tabs ul.tabs li.active a{ color:var(--ink); border-bottom:2px solid var(--accent); }
.single-product .woocommerce-tabs ul.tabs li::after,
.single-product .woocommerce-tabs ul.tabs li::before{ display:none; }
.single-product .woocommerce-tabs .panel{ font-size:14px; line-height:1.9; color:var(--muted); }

/* 購物車 / 結帳 */
.woocommerce-cart .h2-shop,
.woocommerce-checkout .h2-shop{ max-width:1100px; }
.woocommerce table.shop_table{
  border:1px solid var(--line); border-radius:0; border-collapse:collapse;
}
.woocommerce table.shop_table th{
  background:var(--paper); font-size:12px; letter-spacing:.06em;
  color:var(--ink); font-weight:600; padding:14px 16px; border-bottom:1px solid var(--line);
}
.woocommerce table.shop_table td{ padding:14px 16px; border-bottom:1px solid var(--line); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  padding:12px 14px; border:1px solid var(--line); border-radius:2px;
  font-family:var(--sans); font-size:14px; background:#fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{ border-color:var(--ink); outline:none; }
.woocommerce .cart_totals h2,
.woocommerce #order_review_heading{ font-family:var(--serif); }

/* 通知 */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border:1px solid var(--line); border-top:3px solid var(--accent);
  background:var(--paper); color:var(--ink); border-radius:0; padding:16px 20px;
}

/* ============================================================
   響應式
   ============================================================ */
@media screen and (max-width:1099px){
  .h2-head__nav{ display:none; }
  .h2-head__burger{ display:block; }
  .h2-head__tools{ margin-left:0; }
  ul.products{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .h2-prods{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .h2-foot__inner{ grid-template-columns:1fr 1fr; gap:40px 32px; }
  .single-product div.product{ grid-template-columns:1fr; gap:32px; }
}

@media screen and (max-width:899px){
  .h2-story,.h2-faq{ grid-template-columns:1fr; gap:32px; padding:56px 20px; }
  .h2-cats__grid{ grid-template-columns:1fr 1fr; }
}

@media screen and (max-width:749px){
  .h2-wrap,.h2-sec,.h2-shop,.h2-page{ padding-left:20px; padding-right:20px; }
  .h2-sec{ padding-top:56px; padding-bottom:56px; }
  .h2-shop{ padding-top:36px; padding-bottom:64px; }

  .h2-head__inner{ height:64px; padding:0 16px; gap:16px; }
  .h2-head__logo img{ height:30px; }
  .h2-head__tool{ display:none; }

  .h2-hero{
    aspect-ratio:auto; min-height:540px;
    background:radial-gradient(120% 60% at 85% 0%,rgba(200,84,31,.22),transparent 60%),
               linear-gradient(180deg,#16181D 0%,#22252D 100%);
  }
  .h2-hero__bg{ display:none; }
  .h2-hero::after{ display:none; }
  .h2-hero__inner{ padding:64px 22px 56px; }

  .h2-trust__row{ grid-template-columns:1fr 1fr; padding:0 20px; }
  .h2-trust__item{ padding:20px 12px 20px 0; }
  .h2-trust__item:nth-child(odd){ border-left:none; }
  .h2-trust__item:nth-child(n+3){ border-top:1px solid var(--line); }

  .h2-cats__grid{ grid-template-columns:1fr; }
  .h2-sec__hline{ flex-wrap:wrap; gap:10px; }

  ul.products{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 14px; }
  .h2-prods{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 14px; }

  .h2-news__form{ flex-direction:column; }
  .h2-news__input{ border-right:1px solid #4A4E58; border-radius:2px; }
  .h2-news__btn{ border-radius:2px; margin-top:10px; }

  .h2-foot{ padding:56px 20px 0; }
  .h2-foot__inner{ grid-template-columns:1fr; gap:36px; padding-bottom:40px; }
  .h2-foot__bar-inner{ flex-direction:column; align-items:flex-start; gap:14px; }

  .shop_table_responsive tr td{ font-size:13px; }
}
