/* CATDOLLUS editorial theme. Shared forms and community controls use site.css. */
.cat-site {
  --cat-paper:#fcfaf5;
  --cat-peach:#fae8d5;
  --cat-orange:#a54823;
  --cat-green:#254d37;
  --cat-sage:#edf2e8;
  --cat-border:#e5e1d5;
  --bg:var(--cat-paper);
  --surface:#fffdf8;
  --surface-2:#f4f1e8;
  --text:#262b23;
  --muted:#535b50;
  --line:var(--cat-border);
  --header:var(--cat-paper);
  --max:1280px;
  --radius:8px;
  --cat-display:Georgia,"Times New Roman",serif;
}
html[data-color="forest"] .cat-site { --accent:#254d37; --accent-hover:#183926; --accent-soft:#edf2e8; }
:lang(ja) .cat-site,:lang(ko) .cat-site,:lang(th) .cat-site { --cat-display:var(--font); }

.cat-site .site-header { border-top:4px solid var(--cat-green); }
.cat-site .header-inner { max-width:calc(var(--max) + var(--gutter) * 2); min-height:77px; padding-block:12px; }
.cat-site .brand { gap:10px; font-size:22px; letter-spacing:-.04em; color:var(--cat-green); font-weight:750; }
.cat-brand-icon { flex:none; width:38px; height:38px; border-radius:11px; }
.cat-site .header-search { margin-left:auto; max-width:440px; border-color:#d8d7cb; background:#fffdf8; border-radius:999px; box-shadow:none; }
.cat-site .header-search>button { background:transparent; color:var(--cat-green); padding-inline:14px; }
.cat-site .header-search>button:hover { background:var(--cat-sage); }
.cat-site .header-tools { margin-left:0; }
.cat-site .header-tools .search-toggle { display:none; }
.cat-site .header-tools summary { min-width:44px; }
.cat-site .locale-menu .dropdown-panel { max-height:min(66vh,560px); overflow-y:auto; }
.cat-site .header-nav-row { border-top:1px solid var(--line); justify-content:space-between; }
.cat-site .desktop-nav { flex-wrap:wrap; gap:2px 28px; }
.cat-site .desktop-nav a { min-height:44px; font-weight:600; padding:8px 0 11px; }
.cat-site .desktop-nav a.active:after { height:2px; background:var(--cat-orange); }
.cat-header-label { color:var(--cat-orange); font-size:13px; font-weight:650; text-align:right; }
.cat-site .button { min-height:44px; white-space:normal; }
.cat-site .button.secondary { background:#fffdf8; border-color:#c9cdbf; }

.cat-home { padding-top:26px; }
.cat-hero {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
  background:var(--cat-sage);
  border:1px solid #dfe4d8;
  border-radius:20px;
  overflow:hidden;
}
.cat-hero-copy { align-self:center; padding:clamp(28px,4vw,61px); min-width:0; }
.cat-kicker { font-size:13px; font-weight:700; letter-spacing:.055em; color:var(--cat-orange); line-height:1.4; }
.cat-hero .cat-kicker { display:flex; gap:8px; align-items:center; }
.cat-hero .cat-kicker>img { border-radius:7px; }
.cat-hero h1 {
  font-family:var(--cat-display);
  font-size:clamp(36px,4.1vw,62px);
  font-weight:700;
  letter-spacing:-.04em;
  line-height:1.08;
  color:var(--cat-green);
  margin:16px 0;
  overflow-wrap:anywhere;
}
.cat-hero-subtitle { max-width:480px; color:var(--muted); font-size:17px; line-height:1.6; }
.cat-hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.cat-hero-media { min-width:0; height:100%; min-height:365px; position:relative; background:#eee5d2; }
.cat-hero-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 48%; }
.cat-topic-bar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 22px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
}
.cat-topic-bar strong { font-size:14px; font-weight:650; }
.cat-topic-links { min-width:0; display:flex; flex-wrap:wrap; gap:7px; }
.cat-topic-links a {
  padding:8px 13px;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  border:1px solid #d8dfd2;
  border-radius:999px;
  background:var(--surface);
  color:var(--cat-green);
  font-size:14px;
  font-weight:550;
}
.cat-topic-links a:hover { background:var(--cat-sage); border-color:#b9c5b7; }

.cat-section { margin-top:39px; }
.cat-section-heading { display:flex; justify-content:space-between; align-items:end; flex-wrap:wrap; gap:12px 18px; margin-bottom:18px; }
.cat-section-heading h2,.cat-community-invite h2 { font-family:var(--cat-display); font-size:clamp(25px,3vw,36px); font-weight:700; color:var(--cat-green); margin-top:5px; }
.cat-section-heading .text-link { align-self:end; min-height:35px; }
.cat-site.theme-discover .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.cat-product-card {
  background:var(--surface);
  border:1px solid var(--cat-border);
  border-radius:13px;
  overflow:hidden;
}
.cat-product-card .product-image {
  border:0;
  border-bottom:1px solid var(--cat-border);
  border-radius:0;
  aspect-ratio:1.18;
  background:#f4f0e4;
}
.cat-product-card .product-image img { object-fit:contain; }
.cat-product-card .product-badge { top:9px; left:9px; right:auto; background:var(--cat-peach); color:#76311d; border:0; }
.cat-product-card .product-card-body { padding:13px 14px 11px; }
.cat-product-card .product-category,.cat-article-topic { color:var(--cat-orange); font-weight:650; }
.cat-product-card h3 { font-size:17px; min-height:2.72em; line-height:1.36; }
.cat-product-card .card-specs { display:flex; flex-wrap:wrap; gap:5px; margin-top:7px; }
.cat-product-card .card-specs>span { background:var(--cat-sage); border-radius:4px; padding:3px 6px; color:var(--cat-green); font-size:13px; }
.cat-card-footer { margin-top:auto; padding-top:7px; display:flex; align-items:center; flex-wrap:wrap; gap:2px 10px; justify-content:space-between; }
.cat-card-footer .card-price { font-weight:650; color:var(--text); font-size:15px; }
.cat-card-footer .text-link { font-size:14px; min-height:42px; }
.cat-card-footer .text-link .icon { width:16px; height:16px; }

.cat-guide-layout { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); align-items:start; gap:22px; }
.cat-guide-lead { background:var(--surface); border:1px solid var(--cat-border); border-radius:14px; overflow:hidden; }
.cat-guide-image { display:block; aspect-ratio:1.85; background:var(--surface-2); }
.cat-guide-image img,.cat-guide-thumb img { width:100%; height:100%; object-fit:cover; }
.cat-guide-copy { padding:20px 21px; }
.cat-guide-copy h3 { font-family:var(--cat-display); font-size:26px; color:var(--cat-green); margin:5px 0 8px; }
.cat-guide-copy>p:not(.cat-kicker) { color:var(--muted); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.cat-guide-copy .text-link { margin-top:12px; }
.cat-guide-list { border-top:1px solid var(--cat-border); }
.cat-guide-mini { display:grid; grid-template-columns:124px minmax(0,1fr); align-items:center; gap:15px; padding:13px 0; border-bottom:1px solid var(--cat-border); }
.cat-guide-thumb { display:block; aspect-ratio:1.24; border-radius:9px; overflow:hidden; background:var(--surface-2); }
.cat-guide-mini h3 { font-size:18px; line-height:1.38; margin-top:4px; }
.cat-guide-mini .cat-guide-date { color:var(--muted); font-size:14px; margin-top:4px; }
.cat-guide-lead h3 a:hover,.cat-guide-mini h3 a:hover { text-decoration:underline; }
.cat-community-invite {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  padding:clamp(20px,4vw,34px);
  background:var(--cat-peach);
  border:1px solid #ebd6c3;
  border-radius:16px;
  margin:38px 0 8px;
}
.cat-community-invite>div { min-width:0; }
.cat-community-invite p:not(.cat-kicker) { margin-top:8px; color:#5a4539; }
.cat-community-actions { display:flex; align-items:flex-start; flex-direction:column; gap:10px; flex:0 1 auto; }
.cat-community-actions>div { display:flex; flex-wrap:wrap; gap:7px 15px; }
.cat-community-actions>div a { font-size:14px; font-weight:600; color:var(--cat-green); text-decoration:underline; text-underline-offset:3px; min-height:28px; }

.cat-listing-page .page-intro { background:var(--cat-sage); border:1px solid #dfe4d8; border-radius:16px; padding:25px 28px; }
.cat-listing-page .page-intro h1,.cat-product-detail .product-information h1,.cat-article-detail h1 {
  font-family:var(--cat-display);
  color:var(--cat-green);
  letter-spacing:-.025em;
  font-weight:700;
}
.cat-listing-page .listing-filters { border-radius:10px; background:var(--surface); }
.cat-listing-page .filter-select { min-width:0; }
.cat-listing-page .listing-summary { flex-wrap:wrap; }
.cat-site .cat-article-card { border-radius:12px; border:1px solid var(--cat-border); background:var(--surface); overflow:hidden; }
.cat-article-card .article-image { border-radius:0; aspect-ratio:1.6; }
.cat-article-card .article-card-body { padding:13px 15px 15px; }
.cat-article-card .article-meta { gap:4px 9px; }
.cat-article-card .article-meta span+span:before { margin-right:9px; }
.cat-article-card h3 { font-size:19px; }
.cat-article-card .text-link { min-height:34px; }
.cat-site .source-note { background:var(--cat-sage); border-color:#dfe4d8; }

.cat-product-detail .product-detail { gap:clamp(20px,4vw,48px); }
.cat-product-detail .main-product-image { background:#f4f0e4; border-radius:14px; }
.cat-product-detail .product-information h1 { font-size:clamp(29px,4vw,48px); line-height:1.1; margin-top:9px; }
.cat-product-detail .product-actions .button { flex:0 1 auto; }
.cat-review-snapshot { margin:19px 0 0; display:grid; gap:8px; }
.cat-review-snapshot>div { padding:11px 13px; background:var(--cat-sage); border-radius:8px; }
.cat-review-snapshot dt { font-weight:700; font-size:14px; color:var(--cat-green); }
.cat-review-snapshot dd { margin:4px 0 0; color:var(--muted); }
.cat-review-body { display:grid; grid-template-columns:minmax(0,.32fr) minmax(0,1fr); gap:32px; margin:30px 0; padding:24px 0; border-block:1px solid var(--line); }
.cat-review-body h2 { font-family:var(--cat-display); margin-top:5px; }
.cat-review-note { font-size:14px; margin-top:8px; color:var(--muted); }
.cat-review-body .prose { max-width:760px; }
.cat-article-detail .article-heading { margin:30px auto 26px; max-width:790px; }
.cat-article-detail h1 { font-size:clamp(32px,5vw,54px); line-height:1.1; }
.cat-article-detail .article-heading .cat-kicker { font-size:13px; margin:0; color:var(--cat-orange); }
.cat-article-cover { background:var(--surface-2); border-radius:15px; overflow:hidden; margin:0 auto 30px; max-width:1000px; }
.cat-article-cover .article-cover { width:100%; max-width:none; height:auto; max-height:620px; margin:0; border-radius:0; object-fit:contain; }
.cat-article-detail .article-prose { max-width:750px; }
.cat-article-detail .prose h2,.cat-article-detail .prose h3 { font-family:var(--cat-display); color:var(--cat-green); }
.cat-site .site-footer { background:#f0eee4; border-color:#e0dccd; }

@media(max-width:1099px) {
  .cat-header-label { display:none; }
  .cat-site.theme-discover .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:999px) {
  .cat-site .header-tools { margin-left:auto; }
  .cat-site .header-search { margin-left:0; max-width:none; }
  .cat-site .desktop-nav { gap:0 20px; }
  .cat-hero-copy { padding:27px; }
  .cat-hero-media { min-height:325px; }
  .cat-guide-mini { grid-template-columns:96px minmax(0,1fr); }
}
@media(max-width:767px) {
  .cat-home { padding-top:15px; }
  .cat-hero { grid-template-columns:minmax(0,1fr); border-radius:14px; }
  .cat-hero-copy { padding:24px; }
  .cat-hero h1 { margin:12px 0; font-size:clamp(32px,6vw,46px); }
  .cat-hero-media { height:clamp(200px,54vw,340px); min-height:0; }
  .cat-hero-subtitle { font-size:16px; }
  .cat-site.theme-discover .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .cat-section { margin-top:29px; }
  .cat-guide-layout,.cat-review-body { grid-template-columns:minmax(0,1fr); gap:18px; }
  .cat-community-invite { align-items:flex-start; flex-direction:column; }
  .cat-product-detail .product-detail { gap:22px; }
  .cat-product-detail .main-product-image { max-height:500px; }
}
@media(max-width:699px) {
  .cat-site .brand { font-size:20px; }
  .cat-brand-icon { width:32px; height:32px; border-radius:8px; }
  .cat-site .header-inner { min-height:0; padding-block:9px 12px; }
  .cat-site .header-nav-row { border-top:0; }
  .cat-site .mobile-nav>a { min-width:0; overflow-wrap:anywhere; }
  .cat-site .bottom-nav a span { width:100%; text-align:center; overflow-wrap:anywhere; line-height:1.22; }
  .cat-site .floating-contact,.cat-site .floating-offers { display:none; }
  .cat-site.theme-discover .mixed-grid { grid-template-columns:minmax(0,1fr); }
  .cat-site .mixed-grid .product-card { grid-template-columns:minmax(100px,.6fr) minmax(0,1fr); gap:0; }
  .cat-site .mixed-grid .product-image { height:100%; border-bottom:0; border-right:1px solid var(--cat-border); }
}
@media(max-width:499px) {
  .cat-site .brand { font-size:18px; gap:6px; }
  .cat-site .header-tools .icon-button { width:44px; }
  .cat-site .header-tools .cat-member-link { display:none; }
  .cat-hero-copy { padding:20px; }
  .cat-hero-actions .button { padding-inline:13px; }
  .cat-topic-bar { gap:8px; }
  .cat-topic-links a { padding:6px 10px; }
  .cat-section-heading { margin-bottom:14px; }
  .cat-section-heading .text-link { font-size:14px; }
  .cat-product-card .product-card-body { padding:10px; }
  .cat-product-card h3 { min-height:0; font-size:16px; -webkit-line-clamp:3; }
  .cat-card-footer .text-link { min-height:42px; }
  .cat-card-footer .text-link .icon { display:none; }
  .cat-guide-copy { padding:15px; }
  .cat-guide-copy h3 { font-size:22px; }
  .cat-guide-mini { grid-template-columns:87px minmax(0,1fr); gap:11px; }
  .cat-guide-mini h3 { font-size:16px; }
  .cat-listing-page .page-intro { padding:19px; }
  .cat-article-detail .article-heading { margin:20px 0; }
}
@media(prefers-reduced-motion:reduce) {
  .cat-site .product-image img { transition:none; }
  .cat-site .product-card:hover .product-image img { transform:none; }
}
