/*
Theme Name: drippp.
Theme URI: https://drippp.tw
Description: drippp. 滴牌品牌站佈景（依 Figma「260814_滴牌」）
Version: 0.1.33
Requires PHP: 8.0
Text Domain: drippp
*/

:root {
  --ink: #060606;
  --ink-2: #1b1b1b;
  --ink-3: #4a4a4a;
  --line: #b0b0b0;
  --line-2: #909090;
  --bg: #f1f1f1;
  --bg-2: #f6f6f6;
  --dark: #0e1010;
  --accent: #d33434;
  --wrap: 1110px;
  --gutter: 24px;
  --f-en: "Kanit", "Noto Sans TC", sans-serif;
  --f-tc: "Noto Sans TC", sans-serif;
  --f-ui: "Poppins", "Noto Sans TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-tc);
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- 共用字級 ---------- */
.eyebrow { font: 500 18px/1 var(--f-en); color: var(--ink-2); letter-spacing: 0; }
.h-tc { font: 500 32px/50px var(--f-tc); color: var(--ink); }
.h-en { font: 600 50px/60px var(--f-en); color: var(--ink); }
.lead { font: 400 18px/32px var(--f-tc); color: var(--ink); }
.text-link {
  display: inline-block; padding-bottom: 13px; border-bottom: 2px solid currentColor;
  font: 400 16px/16px var(--f-tc);
}
.text-link--en { font: 500 18px/18px var(--f-en); }
.center { text-align: center; }
.on-dark, .on-dark .eyebrow, .on-dark .h-tc, .on-dark .lead { color: #fff; }

/* ---------- 頁首 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header .wrap {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 21px 0 14px; border-bottom: .5px solid rgba(255,255,255,.9);
  transition: padding .3s, border-color .3s;
}
/* 捲離頂端後：選單固定在上方，加深色底 */
.site-header.is-stuck {
  background: rgba(14,16,16,.9); box-shadow: 0 2px 12px rgba(0,0,0,.2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.site-header.is-stuck .wrap { padding: 12px 0; border-bottom-color: transparent; }
.site-logo img { width: 95px; height: auto; }
.site-nav { display: flex; align-items: center; }
.site-nav ul { display: flex; gap: 49px; margin: 0; padding: 0; list-style: none; }
.header-icons { display: flex; align-items: center; gap: 16px; margin-left: 36px; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.45); height: 20px; }
.header-icons a { display: block; width: 20px; height: 20px; transition: opacity .2s; }
.header-icons a:hover { opacity: .65; }
.header-icons img { width: 20px; height: 20px; filter: invert(1); }
.site-nav a {
  font: 400 16px/32px var(--f-ui); letter-spacing: 2px; text-transform: uppercase;
  transition: opacity .2s;
}
.site-nav a:hover, .site-nav .is-current a { opacity: .65; }
.nav-toggle { display: none; }

/* ---------- 浮動 BUY NOW ---------- */
.buy-now {
  position: fixed; right: 78px; bottom: 48px; z-index: 30;
  width: 87px; height: 87px; border-radius: 50%;
  background: var(--ink); border: 1px solid #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #fff; font: 500 14px/15px var(--f-en);
  transition: transform .2s;
}
.buy-now:hover { transform: scale(1.06); }
.buy-now img { width: 37px; filter: invert(1); }

/* ---------- 主視覺 ---------- */
.hero {
  position: relative; min-height: 745px; color: #fff; overflow: hidden;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.hero .wrap { position: relative; z-index: 1; }
.hero:not(.hero--home) { align-items: flex-start; padding-top: 270px; }
.hero--sexlab:not(.hero--home) { padding-top: 245px; }
.hero__title { font: 700 90px/90px var(--f-en); }
.hero__sub { margin-top: 36px; font: 500 36px/60px var(--f-tc); }
.hero__sub b { font-weight: 700; }
.hero__desc { margin-top: 11px; max-width: 757px; font: 300 16px/32px var(--f-tc); }
.hero__cta { margin-top: 36px; }
.hero--sexlab .hero__title { line-height: 1; }
.hero--sexlab .hero__sub { margin-top: 10px; font: 400 32px/45px var(--f-tc); }
.hero--sexlab .hero__desc { margin-top: 45px; font: 400 14px/32px var(--f-tc); max-width: 483px; }

/* 首頁輪播 */
.hero--home { min-height: 814px; text-align: center; justify-content: center; }
.hero--home .hero__bg img {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease;
}
.hero--home .hero__bg img.is-active { opacity: 1; }
.hero--home .hero__logo { width: 322px; height: auto; margin: 0 auto; }
.hero--home .hero__sub { margin-top: 45px; }
.hero--home .hero__desc { max-width: none; font-size: 15px; letter-spacing: 1.5px; }
.hero--home .hero__cta { margin-top: 45px; }
.hero__dots {
  position: absolute; left: 50%; bottom: 21px; z-index: 2; transform: translateX(-50%);
  display: flex; gap: 12px;
}
.hero__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.hero__dots button.is-active { background: #fff; }

/* ---------- 首頁：WHO WE ARE ---------- */
.who { position: relative; background: var(--bg); padding: 115px 0 100px; overflow: hidden; }
.who__img {
  position: absolute; top: 0; left: calc(25% + 130px); width: 950px; height: 692px;
}
.who__img img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.who__img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(241,241,241,0) 17%),
    linear-gradient(0deg, var(--bg) 0%, rgba(241,241,241,0) 23%),
    linear-gradient(101deg, var(--bg) 0%, rgba(241,241,241,0) 34%);
}
.who__text { position: relative; max-width: 755px; display: grid; gap: 19px; }
.who__body p { font-size: 14px; line-height: 32px; color: var(--ink-2); }
.who__body p + p { margin-top: 0; }
.who__closing { font: 500 16px/32px var(--f-tc); color: var(--ink); }
.values {
  position: relative; margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.value {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  min-height: 161px; padding: 3px 8px 0; text-align: center;
}
.value + .value { border-left: 1px solid var(--line); }
.value__icon { height: 64px; display: flex; align-items: center; margin-bottom: 16px; }
.value__icon img { max-height: 64px; width: auto; max-width: 64px; }
.value__en { font: 500 18px/18px var(--f-en); color: var(--ink-2); white-space: nowrap; }
.value__tc { font: 500 16px/32px var(--f-tc); color: var(--ink); }

/* ---------- 首頁：FIND YOUR TYPE ---------- */
.types { position: relative; background: var(--dark); color: #fff; padding-top: 74px; }
.types::before {
  content: ""; position: absolute; inset: 0;
  background: url(assets/img/bg-rain.jpg) center/cover; opacity: .2;
}
.types__head { position: relative; text-align: center; display: grid; gap: 10px; padding-bottom: 60px; }
.types__head .lead { margin-top: 35px; }
.types__license { margin-top: 14px; font: 400 12px/1.6 var(--f-tc); letter-spacing: 1px; color: rgba(255,255,255,.6); }
.types__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.type {
  position: relative; display: block; aspect-ratio: 480 / 677; overflow: hidden; color: #fff;
}
.type__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.type:hover .type__bg { transform: scale(1.04); }
.type--smooth { color: #0b0c0e; }
.type--smooth::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(186,187,189,0) 74%, #babbbd 100%);
}
.type--dot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(104,105,110,.6) 13%, rgba(102,102,102,0) 46%);
}
.type__text {
  position: absolute; z-index: 2; top: 7.5%; left: 7.3%; width: 243px; display: grid; gap: 20px;
}
.type__name { font: 600 35px/40px var(--f-en); }
.type__spec { font: 400 18px/18px var(--f-tc); }
.type__rule { width: 36px; height: 1px; background: currentColor; }
.type__desc { font: 400 14px/1.4 var(--f-tc); }
.type__box {
  position: absolute; z-index: 1; left: 14.6%; top: 37%; width: 71%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.25));
}
.type__buy {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 30px; text-align: center;
  font: 500 18px/18px var(--f-en);
}

/* ---------- 文章卡片 / 分類切換 ---------- */
.sexlab-sec { background: var(--bg); padding: 100px 0 110px; }
.sexlab-sec__head { text-align: center; display: grid; gap: 20px; justify-items: center; }
.sexlab-sec__head .lead { margin-top: 0; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 45px 0; }
.tab {
  height: 50px; border: 1px solid var(--ink-2); background: transparent; cursor: pointer;
  font: 500 18px/1 var(--f-tc); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.tab:hover { background: rgba(6,6,6,.06); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; }
.cards[hidden] { display: none; }
.card {
  display: flex; flex-direction: column; min-height: 420px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.4);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
.card__img { aspect-ratio: 265 / 171; overflow: hidden; background: #ddd; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 17px 24px; flex: 1; }
.card__cat { font: 400 18px/22px var(--f-tc); letter-spacing: 2px; color: var(--ink); }
.card__title { font: 400 18px/28px var(--f-tc); color: var(--ink); margin-top: -5px; }
.card__excerpt { font: 400 14px/24px var(--f-tc); letter-spacing: 1px; color: var(--ink-3); }
.more { font: 500 15px/15px var(--f-ui); letter-spacing: 1.5px; color: var(--accent); }
.cards-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--ink-3); }

/* ---------- 首頁：OUR ATTITUDE ---------- */
.attitude { background: var(--bg-2); padding: 100px 0 90px; text-align: center; }
.attitude__head { display: grid; gap: 20px; justify-items: center; }
.attitude__head .lead { margin-top: 37px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 57px auto; max-width: 1007px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 20px; min-height: 165px; justify-content: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font: 600 50px/50px var(--f-en); color: var(--ink); display: flex; align-items: baseline; gap: 5px; }
.stat__num small { font: 700 30px/30px var(--f-ui); }
.stat__num img { width: 24.5px; align-self: center; }
.stat__en { font: 500 18px/18px var(--f-en); letter-spacing: 1.8px; color: var(--ink-2); margin-top: -4px; }
.stat__tc { font: 400 18px/18px var(--f-tc); letter-spacing: 3px; color: var(--ink); }

/* ---------- 頁尾 ---------- */
.site-footer { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: url(assets/img/bg-rain.jpg) center/cover; opacity: .2;
}
.footer__packets {
  position: absolute; top: 0; bottom: 36px; left: calc(50% + 47px); width: 673px;
  background: url(assets/img/footer-packets.jpg) center/cover;
  -webkit-mask-image: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
          mask-image: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}
.footer__main {
  position: relative; display: flex; justify-content: space-between; align-items: flex-end;
  padding: 95px 0 60px; min-height: 364px;
}
.footer__brand img { width: 186px; height: auto; margin-bottom: 20px; }
.footer__brand p { font: 400 16px/32px var(--f-tc); }
.footer__side { display: flex; flex-direction: column; align-items: flex-end; gap: 25px; }
.social { display: flex; gap: 14px; }
.social a { display: block; width: 25px; height: 25px; }
.social img { width: 100%; filter: invert(1); }
.footer__nav ul { display: flex; gap: 49px; margin: 0; padding: 0; list-style: none; }
.footer__nav a { font: 300 16px/32px var(--f-tc); text-transform: uppercase; }
.footer__copy { position: relative; background: var(--dark); text-align: center; font: 400 15px/36px var(--f-tc); }

/* ---------- About ---------- */
.about-taiwan { position: relative; background: #0e1010; color: #fff; min-height: 767px; display: flex; align-items: center; overflow: hidden; }
.about-taiwan__img { position: absolute; top: 0; bottom: 0; right: 0; width: calc(50% - 10px); }
.about-taiwan__img img { width: 100%; height: 100%; object-fit: cover; }
.about-taiwan::before {
  content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 64%;
  background: linear-gradient(90deg, #0e1010 80%, rgba(14,16,16,0) 100%);
}
.about-taiwan .wrap { position: relative; z-index: 2; }
.about-taiwan__text { max-width: 473px; display: grid; gap: 15px; }
.about-taiwan__text .body { font: 400 14px/32px var(--f-tc); }
.about-taiwan__text .closing { font: 500 16px/32px var(--f-tc); }

.founder { display: grid; grid-template-columns: 703fr 737fr; min-height: 895px; background: #fff url(assets/img/bg-sheet.jpg) right/cover; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__text { padding: 150px 165px 80px 80px; display: grid; gap: 40px; align-content: start; }
.founder__text > div:first-child { display: grid; gap: 15px; }
.founder__text .quote { font: 500 32px/50px var(--f-tc); color: var(--ink); }
.founder__name { font: 500 18px/32px var(--f-tc); color: var(--ink-2); }
.founder__name span { display: block; font: 400 18px/18px var(--f-ui); }
.founder__name::after { content: ""; display: block; width: 20px; height: 1px; background: var(--ink-2); margin-top: 20px; }
.founder__body p { font: 400 14px/24px var(--f-tc); color: var(--ink-2); }
.founder__body p + p { margin-top: 0; }
.founder__body .gap { margin-top: 24px; }

.believe {
  position: relative; min-height: 838px; overflow: hidden;
  /* 背景的三個圓圈是圖片的一部分：固定尺寸、跟著畫面中線走，文字才對得上（數值取自 Figma） */
  background:
    url(assets/img/believe-bg-wide.jpg) calc(50% - 4px) -63px / 3000px 960px no-repeat,
    linear-gradient(90deg, #dbdbdb, #c1bfc0);
}
.believe .wrap { position: relative; min-height: 838px; padding: 89px 0 0; }
.believe__text { display: grid; gap: 15px; align-content: start; max-width: 453px; }
.believe__text .body p { font: 400 14px/32px var(--f-tc); color: var(--ink-2); }
.believe__hand { position: absolute; left: calc(50% - var(--wrap) / 2); bottom: 0; width: 377px; }
.p-item { position: absolute; width: 238px; display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; }
.p-item img { width: 63px; height: 63px; }
.p-item h3 { font: 500 18px/30px var(--f-en); color: var(--ink-2); }
.p-item p { font: 400 14px/24px var(--f-tc); color: var(--ink-2); }
.p-item--1 { left: 713px; top: 173px; }
.p-item--2 { left: 534px; top: 462px; }
.p-item--3 { left: 868px; top: 462px; }

.awards {
  padding: 126px 0 120px; overflow: hidden; position: relative;
  background:
    linear-gradient(-46deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 20%),
    linear-gradient(124deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,0) 40%),
    #f6f6f6;
}
.awards__head { text-align: center; display: grid; gap: 20px; justify-items: center; }
.awards__head .lead { margin-top: 24px; }
.awards__body { display: grid; grid-template-columns: 1fr 565px; gap: 40px; margin-top: 90px; position: relative; }
.awards__slogan { font: 400 75px/75px var(--f-en); color: var(--ink); }
.awards__slogan span { font-weight: 300; display: block; }
.awards__toys {
  position: absolute; left: calc((100vw - var(--wrap)) / -2); top: 290px; width: 636px; mix-blend-mode: darken;
}
.award { display: grid; grid-template-columns: 303px 229px; gap: 33px; }
.award + .award { margin-top: 70px; }
.award__info { display: grid; gap: 20px; align-content: start; }
.award__year { font: 500 18px/18px var(--f-en); color: var(--ink-2); }
.award__logo { width: 187px; height: 90px; object-fit: contain; object-position: left; mix-blend-mode: darken; }
.award__name { font: 400 16px/32px var(--f-tc); color: var(--ink); }
.award__desc { font: 400 14px/24px var(--f-tc); color: var(--ink-2); margin-top: -10px; }
.award__cert { width: 229px; height: 294px; object-fit: cover; box-shadow: 0 0 7px rgba(0,0,0,.15); background: #fff; }
.award__links { grid-column: 1 / -1; display: grid; grid-template-columns: 303px 229px; gap: 33px; font: 500 16px/32px var(--f-tc); color: var(--ink); }
.award__links a:hover { text-decoration: underline; }

/* ---------- Sex Lab 列表 ---------- */
.featured { background: var(--bg); padding: 90px 0; }
.featured__slides { position: relative; }
.featured__slide { display: grid; grid-template-columns: 545px 1fr; gap: 70px; align-items: center; }
.featured__slide[hidden] { display: none; }
.featured__img { position: relative; aspect-ratio: 545 / 351; overflow: hidden; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.featured__text { display: grid; gap: 10px; max-width: 397px; }
.featured__text .card__title { font-size: 32px; line-height: 45px; margin: 0; }
.featured__nav { position: absolute; left: 465px; top: calc(351px - 40px); display: flex; z-index: 2; }
.featured__nav button { width: 40px; height: 40px; border: 0; padding: 0; cursor: pointer; background: none; }
.featured__nav button img { width: 40px; height: 40px; }

.archive-sec { background: var(--bg-2); padding: 124px 0 110px; }
.archive-sec .h-en { text-align: center; }
.tabs--links .tab { text-decoration: none; }
.pager { display: flex; justify-content: center; gap: 4px; margin-top: 60px; }
.pager .page-numbers {
  min-width: 31px; padding: 6px 0 10px; text-align: center; font: 400 18px/1 var(--f-ui); color: var(--ink);
  border-bottom: 3px solid transparent;
}
.pager .page-numbers.current { border-color: var(--accent); }
.pager a.page-numbers:hover { color: var(--accent); }
.social-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; margin-top: 60px; }
.social-cards a { display: block; box-shadow: 0 0 10px rgba(0,0,0,.25); background: #fff; }
.social-cards img { width: 100%; height: 276px; object-fit: cover; object-position: top; }

/* ---------- 文章內頁 ---------- */
.post-hero { position: relative; min-height: 745px; color: #fff; display: flex; align-items: center; overflow: hidden; background: #000; }
.post-hero__bg { position: absolute; inset: -13px; background: url(assets/img/sexlab-hero-c-hd-1600.jpg) center/cover; filter: blur(2.5px); }
.post-hero .wrap { position: relative; display: grid; grid-template-columns: 471px 545px; justify-content: space-between; align-items: center; gap: 40px; padding-top: 70px; }
.post-hero__cat { font: 400 18px/22px var(--f-tc); letter-spacing: 2px; }
.post-hero__title { margin-top: 20px; font: 400 32px/45px var(--f-tc); }
.post-hero__img { aspect-ratio: 545 / 351; overflow: hidden; }
.post-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }

.post-main { background: var(--bg); padding: 120px 0 110px; }
.post-main .wrap { display: grid; grid-template-columns: 733px 282px; justify-content: space-between; gap: 40px; }
.entry { font: 400 14px/24px var(--f-tc); letter-spacing: 1px; color: var(--ink-2); min-width: 0; }
.entry > * + * { margin-top: 24px; }
/* 文章小標：H2 粗體＋左側黑線、上方留白加大；H3 粗體 */
.entry h2 {
  font: 700 22px/1.45 var(--f-tc); letter-spacing: 1px; color: var(--ink);
  margin-top: 52px; padding-left: 14px; border-left: 4px solid var(--ink);
}
.entry > h2:first-child { margin-top: 0; }
.entry h3 { font: 700 16px/1.6 var(--f-tc); letter-spacing: 1px; color: var(--ink); margin-top: 22px; }
.entry h2 + *, .entry h3 + * { margin-top: 10px; }
.entry h2 + h3 { margin-top: 16px; }
.entry ul, .entry ol { padding-left: 21px; }
.entry ul + p, .entry p + ul { margin-top: 0; }
.entry a { color: var(--accent); text-decoration: underline; }
.entry table { border-collapse: collapse; background: #fff; font-size: 14px; letter-spacing: 0; line-height: 1.4; max-width: 100%; }
.entry th, .entry td { border: 1px solid #222; padding: 8px 10px; text-align: left; vertical-align: top; }
.entry th { font-weight: 700; text-align: center; }
.entry .table-scroll { overflow-x: auto; }
.entry img { margin-inline: 0; }
.entry figure { margin: 24px 0 0; }
.entry figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-3); text-align: center; letter-spacing: .5px; }
.entry .figure-anim img { background: #fff; }
.entry .source { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line, #d9d9d9); font-size: 13px; line-height: 1.7; color: var(--ink-3); }

.sidebar { display: grid; gap: 15px; align-content: start; }
.widget { background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.25); padding: 32px 22px 30px; }
.widget__title { display: flex; align-items: center; gap: 22px; font: 500 18px/18px var(--f-en); color: var(--ink-2); margin-bottom: 14px; }
.widget__title::after { content: ""; flex: 1; height: 1px; background: var(--ink-2); }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { font: 400 15px/26px var(--f-tc); letter-spacing: 1px; color: var(--ink-2); }
.widget li + li { margin-top: 10px; }
.widget--cats li + li { margin-top: 0; }
.widget a:hover { color: var(--accent); }
.widget-img { display: block; box-shadow: 0 0 10px rgba(0,0,0,.25); background: #fff; }
.widget-img img { width: 100%; height: 143px; object-fit: cover; object-position: top; }

.more-posts { background: var(--bg-2); padding: 115px 0 120px; }
.more-posts .h-en { text-align: center; margin-bottom: 45px; }

/* 文章目錄 */
.entry .toc { margin-top: 28px; background: #fff; border: 1px solid #d6d6d6; letter-spacing: 0; }
.toc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; font: 700 15px/1.4 var(--f-tc); color: var(--ink);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.toc[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.toc__count { font: 400 12px/1 var(--f-tc); color: var(--ink-3); }
.entry .toc ol { margin: 0; padding: 4px 18px 16px 40px; border-top: 1px solid #ececec; }
.toc li { font: 400 14px/1.6 var(--f-tc); padding: 5px 0; }
.toc li::marker { color: var(--ink-3); font-family: var(--f-en); }
.entry .toc a { color: var(--ink-2); text-decoration: none; }
.entry .toc a:hover { color: var(--accent); text-decoration: underline; }
.entry h2, .entry .toc { scroll-margin-top: var(--anchor-offset, 90px); }
/* 側欄目錄（桌機）：固定在畫面上、標示目前段落 */
.widget--toc { position: sticky; top: 90px; max-height: calc(100vh - 120px); overflow-y: auto; }
.admin-bar .widget--toc { top: 122px; }
.widget--toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.widget--toc li { counter-increment: toc; display: grid; grid-template-columns: 22px 1fr; column-gap: 6px; font: 400 14px/1.6 var(--f-tc); letter-spacing: .5px; }
.widget--toc li + li { margin-top: 8px; }
.widget--toc li::before { content: counter(toc, decimal-leading-zero); font: 500 12px/1.9 var(--f-en); color: var(--line); }
.widget--toc a { color: var(--ink-3); border-left: 2px solid transparent; padding-left: 10px; transition: color .15s, border-color .15s; }
.widget--toc a:hover { color: var(--accent); }
.widget--toc a.is-active { color: var(--ink); font-weight: 700; border-left-color: var(--accent); }
.widget--toc li:has(a.is-active)::before { color: var(--accent); }
/* 桌機有側欄目錄：隱藏內文目錄與浮動「目錄」鈕 */
@media (min-width: 901px) {
  .single .entry .toc, .single .to-toc { display: none; }
}

/* 回目錄：疊在 BUY NOW 上方，白底小圓鈕，捲過目錄才出現 */
.to-toc {
  position: fixed; z-index: 30; right: calc(78px + (87px - 48px) / 2); bottom: calc(48px + 87px + 14px);
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0;
  font: 500 10px/1 var(--f-tc); cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-toc svg { width: 16px; height: 16px; }
.to-toc.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-toc:hover { background: var(--ink); color: #fff; }
.admin-bar .entry h2, .admin-bar .entry .toc { scroll-margin-top: var(--anchor-offset, 122px); }

/* 文章內購買區塊 [drippp_buy] */
.entry .buy-block { margin-top: 40px; padding: 28px 24px 24px; background: var(--dark); color: #fff; letter-spacing: 0; }
.buy-block__eyebrow { font: 500 13px/1 var(--f-en); letter-spacing: 2px; color: rgba(255,255,255,.6); }
.entry .buy-block__title { margin-top: 8px; font: 700 20px/1.4 var(--f-tc); color: #fff; }
.buy-block__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.buy-block--single .buy-block__items { grid-template-columns: 1fr; max-width: 260px; }
.entry .buy-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; color: var(--ink); text-decoration: none; padding: 16px 12px 18px;
  transition: transform .2s, box-shadow .2s;
}
.entry .buy-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.entry .buy-item img { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 10px; }
.buy-item__en { font: 600 16px/1.2 var(--f-en); }
.buy-item__tc { margin-top: 6px; font: 400 12px/1.6 var(--f-tc); color: var(--ink-3); }
.buy-item__feat { margin-top: 4px; font: 700 14px/1.5 var(--f-tc); color: var(--ink); }
.buy-item__btn {
  margin-top: 12px; display: inline-block; padding: 9px 18px; background: var(--ink); color: #fff;
  font: 500 14px/1 var(--f-en); letter-spacing: 1px;
}
.entry .buy-item:hover .buy-item__btn { background: var(--accent); }

/* 一般頁面 / 404 */
.page-plain { background: var(--bg); padding: 200px 0 120px; min-height: 60vh; }
.page-plain h1 { font: 500 32px/50px var(--f-tc); color: var(--ink); margin-bottom: 30px; }
.site-header--solid { background: var(--dark); }

/* ---------- 響應式 ---------- */
@media (max-width: 1200px) {
  .buy-now { right: 24px; bottom: 24px; }
  .to-toc { right: calc(24px + (87px - 48px) / 2); bottom: calc(24px + 87px + 14px); }
  .founder__text { padding: 110px 40px 60px; }
  .awards__body { grid-template-columns: 1fr; }
  .awards__toys { display: none; }
  .believe { background: linear-gradient(90deg, #e6e6e6, #cfcdce); }
  .believe .wrap { min-height: 0; padding-bottom: 80px; }
  .believe__ps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
  .p-item { position: static; width: auto; }
  .believe__hand { display: none; }
  .post-main .wrap { grid-template-columns: 1fr 282px; }
  .post-hero .wrap { grid-template-columns: 1fr 1fr; }
  .featured__slide { grid-template-columns: 1fr 1fr; gap: 40px; }
  .featured__nav { left: auto; right: calc(50% + 20px); top: auto; bottom: 0; }
  .who__img { left: 45%; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .site-nav ul { gap: 24px; }
  .header-icons { margin-left: 20px; padding-left: 18px; gap: 12px; }
  .hero, .post-hero { min-height: 600px; }
  .hero:not(.hero--home), .hero--sexlab:not(.hero--home) { padding-top: 170px; padding-bottom: 80px; }
  .hero--home { min-height: 640px; }
  .hero__title { font-size: 64px; line-height: 64px; }
  .hero__sub { font-size: 28px; line-height: 44px; }
  .h-en { font-size: 38px; line-height: 46px; }
  .h-tc { font-size: 26px; line-height: 40px; }
  .who { padding-top: 70px; }
  .who__img { position: relative; left: auto; width: 100%; height: 320px; margin-bottom: -60px; }
  .who { display: flex; flex-direction: column; }
  .who__img { order: -1; }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 40px; margin-top: 60px; }
  .value:nth-child(3) { border-left: 0; }
  .types__grid { grid-template-columns: 1fr; }
  .type { aspect-ratio: 480 / 600; max-height: 640px; }
  .tabs { gap: 10px; }
  .tab { font-size: 15px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat:nth-child(3) { border-left: 0; }
  .footer__main { flex-direction: column; align-items: flex-start; gap: 40px; }
  .footer__side { align-items: flex-start; }
  .footer__packets { opacity: .5; left: 30%; }
  .about-taiwan { min-height: 0; flex-direction: column; padding-bottom: 60px; }
  .about-taiwan__img { position: relative; width: 100%; height: 360px; }
  .about-taiwan::before { display: none; }
  .about-taiwan .wrap { margin-top: 40px; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo img { max-height: 560px; object-position: top; }
  .founder__text { padding: 60px var(--gutter); }
  .awards__slogan { font-size: 54px; line-height: 56px; }
  .award { grid-template-columns: 1fr 180px; gap: 20px; }
  .award__cert { width: 180px; height: 231px; }
  .award__links { grid-template-columns: 1fr 180px; gap: 20px; }
  .featured__slide { grid-template-columns: 1fr; gap: 24px; }
  .featured__nav { right: 0; top: 0; bottom: auto; }
  .post-hero .wrap { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 60px; }
  .post-main { padding-top: 60px; }
  .post-main .wrap { grid-template-columns: 1fr; }
  .widget--toc { display: none; }
  /* 手機、平板：側欄排在文章下方，NEW POST 跟下面的 MORE POST 重複 → 隱藏；分類改成一排標籤 */
  .widget--new { display: none; }
  .post-main { padding-bottom: 50px; }
  .more-posts { padding: 60px 0 70px; }
  .more-posts .h-en { margin-bottom: 28px; }
  .widget--cats { padding: 18px 20px; box-shadow: none; border: 1px solid #ddd; }
  .widget--cats .widget__title { margin-bottom: 12px; }
  .widget--cats ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .widget--cats li { margin: 0; }
  .widget--cats a { display: inline-block; padding: 6px 14px; border: 1px solid var(--ink-2); font-size: 14px; line-height: 1.4; }
  .widget--cats a:hover { background: var(--ink); color: #fff; }
  .social-cards { grid-template-columns: 1fr; }
}

@media (min-width: 641px) and (max-width: 800px) {
  .site-nav ul { gap: 18px; }
  .site-nav a { font-size: 14px; letter-spacing: 1px; }
  .header-icons { margin-left: 14px; padding-left: 12px; gap: 10px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
  .entry h2 { font-size: 19px; margin-top: 40px; padding-left: 12px; }
  .buy-block__items { grid-template-columns: 1fr; }
  .entry .buy-item { display: grid; grid-template-columns: 80px 1fr; grid-template-rows: auto auto auto auto; column-gap: 14px; text-align: left; align-items: start; padding: 12px 14px; }
  .entry .buy-item img { grid-row: 1 / 5; width: 80px; height: 80px; margin: 0; }
  .buy-item__btn { justify-self: start; margin-top: 8px; padding: 7px 14px; }
  .site-header .wrap { align-items: center; }
  .nav-toggle {
    display: block; width: 32px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #fff; transition: transform .2s, opacity .2s;
  }
  .nav-toggle::before { top: 2px; }
  .nav-toggle span { top: 11px; }
  .nav-toggle::after { top: 20px; }
  .nav-open .nav-toggle::before { transform: translateY(9px) rotate(45deg); }
  .nav-open .nav-toggle span { opacity: 0; }
  .nav-open .nav-toggle::after { transform: translateY(-9px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: -1; background: rgba(14,16,16,.96);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .nav-open .site-nav { opacity: 1; pointer-events: auto; }
  .site-nav { flex-direction: column; }
  .site-nav ul { flex-direction: column; gap: 28px; text-align: center; }
  .header-icons { margin: 40px 0 0; padding: 26px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.35); height: auto; gap: 28px; }
  .header-icons a, .header-icons img { width: 28px; height: 28px; }
  .site-nav a { font-size: 22px; }
  .hero--home .hero__logo { width: 230px; }
  .hero--home .hero__sub { font-size: 23px; line-height: 36px; }
  .hero__desc { font-size: 14px; }
  .hero--home .hero__desc { letter-spacing: .5px; }
  .hero__title { font-size: 52px; line-height: 52px; }
  .buy-now { width: 68px; height: 68px; font-size: 11px; }
  .buy-now img { width: 28px; }
  .to-toc { width: 44px; height: 44px; right: calc(24px + (68px - 44px) / 2); bottom: calc(24px + 68px + 12px); }
  .values { grid-template-columns: 1fr 1fr; }
  .value__en { font-size: 14px; white-space: normal; }
  .value__tc { font-size: 14px; line-height: 24px; }
  .type__name { font-size: 30px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .tabs { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 40px; }
  .stat__tc { font-size: 15px; letter-spacing: 1px; }
  .footer__nav ul { gap: 20px; flex-wrap: wrap; }
  .footer__brand p { font-size: 14px; line-height: 26px; }
  .footer__copy { font-size: 12px; }
  .believe__ps { grid-template-columns: 1fr; gap: 40px; }
  .award, .award__links { grid-template-columns: 1fr; }
  .award__cert { width: 100%; max-width: 260px; height: auto; aspect-ratio: 229/294; }
  .award__links a:last-child { display: none; }
  .lead { font-size: 16px; line-height: 28px; }
  .lead br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  /* 主視覺輪播一律保留淡入淡出 */
  .hero--home .hero__bg img { transition: opacity 1.2s ease !important; }
}
