/* oq-main.css —— 来冰岛茶网络专卖店 基础样式（三端：≤640 / 641-1024 / ≥1025） */
:root{
  --oq-ink:#22201d; --oq-green:#1f3d32; --oq-green-2:#2c5344; --oq-gold:#b8863b;
  --oq-paper:#f7f4ee; --oq-line:#e3dccc; --oq-mute:#6f6a60; --oq-white:#fff;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--oq-paper);color:var(--oq-ink);font:16px/1.75 "PingFang SC","Microsoft YaHei","Hiragino Sans GB",sans-serif}
img{max-width:100%;height:auto;display:block;border:0}
a{color:inherit;text-decoration:none}
a:hover{color:var(--oq-gold)}
h1,h2,h3,h4{font-family:"Songti SC","SimSun","Noto Serif SC",serif;font-weight:600;line-height:1.35;margin:0}
p{margin:0 0 14px}
ul,ol{margin:0;padding:0;list-style:none}
table{border-collapse:collapse;width:100%}
input,textarea,select,button{font-family:inherit;font-size:16px}
.oq-wrap{max-width:1200px;margin:0 auto;padding:0 16px;box-sizing:border-box}
.oq-clear:after{content:"";display:block;clear:both}
.oq-sr{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- 头部 ---------- */
.oq-top{background:var(--oq-green);color:#dfe7e1;font-size:13px}
.oq-top .oq-wrap{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:12px;flex-wrap:wrap}
.oq-top span{display:inline-block}
.oq-head{background:#fff;border-bottom:1px solid var(--oq-line);position:relative;z-index:30}
.oq-head .oq-wrap{display:flex;align-items:center;gap:18px;min-height:72px;flex-wrap:wrap}
.oq-brand{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.oq-brand img{width:150px;height:auto;max-height:56px;object-fit:contain}
.oq-brand-txt b{display:block;font-family:"Songti SC","SimSun",serif;font-size:19px;letter-spacing:1px;color:var(--oq-green)}
.oq-brand-txt i{display:block;font-style:normal;font-size:12px;color:var(--oq-mute);letter-spacing:2px}
.oq-nav{margin-left:auto;display:flex;flex-wrap:wrap;gap:2px}
.oq-nav a{padding:8px 11px;font-size:15px;color:#33302b;border-radius:2px}
.oq-nav a.oq-on,.oq-nav a:hover{background:var(--oq-green);color:#fff}
.oq-tel{display:flex;flex-direction:column;align-items:flex-end;font-size:12px;color:var(--oq-mute);line-height:1.5}
.oq-tel b{font-size:20px;color:var(--oq-gold);font-family:"Songti SC",serif;letter-spacing:1px}
.oq-burger{display:none;margin-left:auto;width:42px;height:42px;border:1px solid var(--oq-line);background:#fff;border-radius:3px;cursor:pointer}
.oq-burger span{display:block;width:20px;height:2px;background:var(--oq-green);margin:4px auto}
.oq-drawer{display:none;background:var(--oq-green);padding:6px 0}
.oq-drawer a{display:block;padding:11px 20px;color:#eef2ee;border-bottom:1px solid rgba(255,255,255,.12)}

/* ---------- 通用块 ---------- */
.oq-sec{padding:38px 0}
.oq-sec-h{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.oq-sec-h h2{font-size:26px;color:var(--oq-green)}
.oq-sec-h h2 small{display:block;font-family:sans-serif;font-size:12px;color:var(--oq-mute);letter-spacing:2px;font-weight:400;margin-top:4px}
.oq-sec-h a{font-size:14px;color:var(--oq-mute)}
.oq-btn{display:inline-block;padding:11px 24px;background:var(--oq-green);color:#fff;font-size:15px;border-radius:2px;border:0;cursor:pointer}
.oq-btn:hover{background:var(--oq-gold);color:#fff}
.oq-btn-ghost{background:transparent;color:var(--oq-green);border:1px solid var(--oq-green)}
.oq-btn-ghost:hover{background:var(--oq-green);color:#fff}

/* ---------- 首页 ---------- */
.oq-hero{position:relative;background:#12241d;overflow:hidden}
.oq-hero img{width:100%;height:auto;max-height:520px;object-fit:cover;opacity:.92}
.oq-hero-txt{position:absolute;left:0;right:0;bottom:0;padding:26px 0 30px;background:linear-gradient(180deg,rgba(10,20,16,0) 0%,rgba(10,20,16,.86) 55%,rgba(10,20,16,.96) 100%)}
.oq-hero-txt .oq-wrap{color:#fff}
.oq-hero-txt h1{font-size:34px;letter-spacing:1px;margin-bottom:8px;text-shadow:0 1px 6px rgba(0,0,0,.4)}
.oq-hero-txt p{font-size:15px;color:#e8e1d2;margin-bottom:16px;max-width:760px}
.oq-hero-txt a{margin-right:10px}
.oq-stats{background:var(--oq-green);color:#f2ece0}
.oq-stats .oq-wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;padding-top:0;padding-bottom:0}
.oq-stats div{padding:20px 14px;border-left:1px solid rgba(255,255,255,.16)}
.oq-stats b{display:block;font-family:"Songti SC",serif;font-size:24px;color:#e6c98b}
.oq-stats i{font-style:normal;font-size:13px;color:#cfd8d1}

.oq-village{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.oq-village article{background:#fff;border:1px solid var(--oq-line);padding:16px 14px}
.oq-village h3{font-size:18px;color:var(--oq-green);margin-bottom:6px}
.oq-village p{font-size:13px;color:#5d584f;margin:0}
.oq-village em{display:block;font-style:normal;font-size:12px;color:var(--oq-gold);margin-top:8px}

.oq-cat{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.oq-cat a{position:relative;display:block;background:#fff;overflow:hidden;border:1px solid var(--oq-line)}
.oq-cat img{width:100%;aspect-ratio:4/3;object-fit:cover}
.oq-cat b{display:block;font-size:17px;padding:12px 14px 4px;font-family:"Songti SC",serif;color:var(--oq-green)}
.oq-cat i{display:block;font-style:normal;font-size:13px;color:var(--oq-mute);padding:0 14px 14px}

.oq-prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.oq-card{background:#fff;border:1px solid var(--oq-line);display:flex;flex-direction:column}
.oq-card-img{display:block;background:#f1ece2}
.oq-card-img img{width:100%;aspect-ratio:1/1;object-fit:cover}
.oq-card-bd{padding:12px 13px 15px;display:flex;flex-direction:column;gap:6px;flex:1}
.oq-card-bd h3{font-size:16px;line-height:1.45;color:#2a2722}
.oq-card-bd h3 a{display:block}
.oq-tags{display:flex;flex-wrap:wrap;gap:6px;font-size:12px;color:#6a6459}
.oq-tags span{border:1px solid var(--oq-line);padding:1px 6px;background:#faf8f3}
.oq-price{color:#a5432e;font-family:"Songti SC",serif;font-size:17px;margin-top:auto}
.oq-price small{font-size:12px;color:var(--oq-mute);font-family:sans-serif}

.oq-brew{background:#fff;border:1px solid var(--oq-line);padding:0}
.oq-brew table{font-size:14px}
.oq-brew th,.oq-brew td{border-bottom:1px solid var(--oq-line);padding:11px 12px;text-align:left;vertical-align:top}
.oq-brew th{background:#f3efe5;color:var(--oq-green);white-space:nowrap;width:120px}

.oq-two{display:grid;grid-template-columns:1.1fr .9fr;gap:26px;align-items:start}
.oq-note{background:#fff;border-left:3px solid var(--oq-gold);padding:18px 20px}
.oq-note h3{font-size:18px;margin-bottom:8px;color:var(--oq-green)}
.oq-note p{font-size:14px;color:#555047;margin:0 0 10px}

.oq-case{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.oq-case figure{margin:0;background:#fff;border:1px solid var(--oq-line)}
.oq-case img{width:100%;aspect-ratio:3/2;object-fit:cover}
.oq-case h3{font-size:16px;padding:12px 14px 4px;color:var(--oq-green)}
.oq-case p{font-size:13px;color:#5d584f;padding:0 14px 14px;margin:0}

.oq-faq{background:#fff;border:1px solid var(--oq-line)}
.oq-faq dl{margin:0;padding:6px 18px 18px}
.oq-faq dt{font-size:16px;color:var(--oq-green);padding:12px 0 4px;border-top:1px dashed var(--oq-line)}
.oq-faq dt:first-child{border-top:0}
.oq-faq dd{margin:0;font-size:14px;color:#544f46;padding-bottom:6px}

/* ---------- 页脚（四行堆叠，三端三套排法） ---------- */
.oq-foot{background:#14251e;color:#c9d3cb;font-size:13px;margin-top:40px;padding:0 0 18px}
.oq-foot .oq-wrap{padding-top:30px}
.oq-frow{border-bottom:1px solid rgba(255,255,255,.1);padding:14px 0;display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.oq-frow:last-child{border-bottom:0}
.oq-frow b{color:#e9dcc0;font-family:"Songti SC",serif;font-size:16px;flex:0 0 auto;padding-right:14px}
.oq-flinks{display:flex;flex-wrap:wrap;gap:6px 16px}
.oq-frow a{color:#c9d3cb}
.oq-fnav{display:grid;grid-template-columns:repeat(6,1fr);gap:8px 14px;width:100%}
.oq-fnav a{font-size:13px}
.oq-fcontact{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px;width:100%}
.oq-fcontact p{margin:0 0 4px}
.oq-fbottom{display:flex;gap:10px 18px;flex-wrap:wrap;align-items:center;font-size:12px;color:#9fada3}
.oq-switch{display:inline-flex;gap:8px}
.oq-switch a{border:1px solid rgba(255,255,255,.3);padding:3px 10px;border-radius:2px}

/* ---------- 面包屑 ---------- */
.oq-crumb{background:#efeade;border-bottom:1px solid var(--oq-line);font-size:13px;color:#6d675c}
.oq-crumb .oq-wrap{padding-top:9px;padding-bottom:9px;display:flex;flex-wrap:wrap;gap:4px 6px}
.oq-crumb a{color:#6d675c}
.oq-crumb em{font-style:normal;color:#b6ac97}

/* ---------- 平板 641-1024 ---------- */
@media (max-width:1024px){
  .oq-head .oq-wrap{min-height:64px;gap:10px}
  .oq-brand img{width:126px}
  .oq-tel{display:none}
  .oq-nav{display:none}
  .oq-burger{display:block}
  .oq-drawer.oq-open{display:block}
  .oq-hero img{max-height:400px}
  .oq-hero-txt h1{font-size:26px}
  .oq-stats .oq-wrap{grid-template-columns:repeat(4,1fr)}
  .oq-stats b{font-size:20px}
  .oq-village{grid-template-columns:repeat(3,1fr)}
  .oq-cat{grid-template-columns:repeat(2,1fr)}
  .oq-prod-grid{grid-template-columns:repeat(3,1fr)}
  .oq-two{grid-template-columns:1fr;gap:18px}
  .oq-case{grid-template-columns:repeat(2,1fr)}
  .oq-fnav{grid-template-columns:repeat(4,1fr)}
  .oq-fcontact{grid-template-columns:1fr 1fr}
  .oq-foot{font-size:12px}
  .oq-frow b{font-size:14px}
}

/* ---------- 手机 ≤640 ---------- */
@media (max-width:640px){
  .oq-wrap{padding:0 12px}
  .oq-top{display:none}
  .oq-brand img{width:112px;max-height:48px}
  .oq-brand-txt b{font-size:16px}
  .oq-brand-txt i{font-size:11px;letter-spacing:1px}
  .oq-sec{padding:26px 0}
  .oq-sec-h h2{font-size:21px}
  .oq-hero img{max-height:260px;min-height:200px}
  .oq-hero-txt{position:static;background:#14251e;padding:16px 0 20px}
  .oq-hero-txt h1{font-size:20px}
  .oq-hero-txt p{font-size:13px;margin-bottom:12px}
  .oq-hero-txt a{padding:9px 16px;font-size:14px;margin-bottom:8px}
  .oq-stats .oq-wrap{grid-template-columns:1fr 1fr}
  .oq-stats div{padding:14px 10px;border-top:1px solid rgba(255,255,255,.12)}
  .oq-stats b{font-size:18px}
  .oq-village{grid-template-columns:1fr}
  .oq-cat{grid-template-columns:1fr 1fr;gap:10px}
  .oq-cat b{font-size:15px;padding:9px 10px 3px}
  .oq-cat i{font-size:12px;padding:0 10px 11px}
  .oq-prod-grid{grid-template-columns:1fr 1fr;gap:10px}
  .oq-card-bd{padding:9px 10px 12px}
  .oq-card-bd h3{font-size:14px}
  .oq-price{font-size:15px}
  .oq-case{grid-template-columns:1fr}
  .oq-brew table{font-size:13px}
  .oq-brew th{width:92px;padding:9px 8px}
  .oq-brew td{padding:9px 8px}
  .oq-foot .oq-wrap{padding-top:20px}
  .oq-frow{display:block;padding:12px 0}
  .oq-frow b{display:block;padding:0 0 6px;font-size:14px}
  .oq-fnav{display:none}
  .oq-fcontact{display:block}
  .oq-fbottom{display:block}
  .oq-fbottom p{margin:0 0 6px}
  .oq-switch{margin-top:6px}
  .oq-switch a{padding:4px 10px}
  .oq-foot{padding-bottom:12px}
}

/* ---------- 强制视图（偏好记忆覆盖媒体查询） ---------- */
html.hx-force-pc{min-width:1025px}
html.hx-force-pc .oq-burger{display:none}
html.hx-force-pc .oq-nav{display:flex}
html.hx-force-pc .oq-tel{display:flex}
html.hx-force-pc .oq-wrap{max-width:1200px}
html.hx-force-m{max-width:640px}
html.hx-force-m .oq-burger{display:block}
html.hx-force-m .oq-nav{display:none}
html.hx-force-m .oq-cat{grid-template-columns:1fr 1fr}
html.hx-force-m .oq-prod-grid{grid-template-columns:1fr 1fr}
html.hx-force-m .oq-drawer.oq-open{display:block}

/* ---------- 溢出兜底 ---------- */
.oq-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
.oq-break{word-break:break-all;overflow-wrap:anywhere}

/* ---------- 首屏轮播指示点 ---------- */
.oq-hero-dots{position:absolute;right:16px;bottom:14px;display:flex;gap:6px;z-index:5}
.oq-hero-dots button{width:26px;height:6px;border:0;padding:0;background:rgba(255,255,255,.45);cursor:pointer}
.oq-hero-dots button.oq-on{background:#e6c98b}

/* ---------- 页脚切换入口显隐（5.6）与强制视图（5.7） ---------- */
@media (min-width:1025px){ .oq-switch-pc{display:none} }
@media (max-width:1024px){ .oq-switch-m{display:none} }
html.hx-force-pc .oq-switch-pc{display:none}
html.hx-force-pc .oq-switch-m{display:inline-block}
html.hx-force-m .oq-switch-m{display:none}
html.hx-force-m .oq-switch-pc{display:inline-block}

/* ---------- 图注与更新时间 ---------- */
.oq-illus img{width:100%}
.oq-updated{font-size:12px;color:#8b8477;margin-top:10px}
/* ---------- 产品主图图注 ---------- */
figure.oq-gmain{margin:0}
.oq-gmain figcaption{font-size:13px;color:#8b8477;padding:7px 10px 9px;background:#fff}

.oq-hero-txt .oq-btn-ghost{color:#fff;border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.10)}
.oq-hero-txt .oq-btn-ghost:hover{background:#fff;color:#1f3d32}

.oq-mapbox ul{columns:3;column-gap:34px;list-style-position:inside}
.oq-mapbox ul li{break-inside:avoid;margin:0 0 8px}
@media (max-width:1024px){.oq-mapbox ul{columns:2}}
@media (max-width:640px){.oq-mapbox ul{columns:1}}
