/* PokeCynthia · Collectible trade showroom · load after existing public CSS. */
:root {
  --ink: #1b241f;
  --muted: #5b675f;
  --line: #d7dbd0;
  --paper: #f6f4ec;
  --blue: #173c32;
  --orange: #173c32;
  --pc-green: #173c32;
  --pc-lime: #dceb90;
  --pc-gold: #e6a14b;
  font-family: 'DM Sans', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
body { background: var(--paper); }
h1, h2, h3, .brand-name { font-family: 'Space Grotesk', 'Microsoft YaHei', 'PingFang SC', sans-serif; letter-spacing: -.025em; }
.header-inner, .section-shell, .category-inner, .footer-main, .footer-bottom { max-width: 1480px; }
.site-header { background: #f6f4ecf7; border-bottom-color: var(--line); }
.header-inner { gap: 24px; }
.brand-name { font-size: 1.12rem; letter-spacing: -.035em; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; }
.primary-nav { gap: 24px; }
.primary-nav a { font-size: .88rem; }
.primary-nav a:hover, .primary-nav a[aria-current=page] { color: var(--pc-green); border-bottom-color: var(--pc-green); }
.header-search-box { border-radius: 24px; background: #fff; }
.header-search-submit { width: 44px; height: 44px; margin-inline-end: -4px; border-radius: 50%; background: var(--pc-green); }
.header-search-submit:hover, .quote-button:hover, .button-dark:hover, .button-blue:hover, .halloween-season .quote-button:hover { background: #28584b; transform: none; }
.quote-button, .halloween-season .quote-button { background: var(--pc-green); border-radius: 6px; min-height: 44px; }
.quote-button b { background: var(--pc-lime); color: var(--pc-green); }
.button-dark, .button-blue { background: var(--pc-green); border-color: var(--pc-green); }
.button-dark, .button-blue, .button-light, .button-outline, .button-quiet { min-height: 46px; border-radius: 5px; font-weight: 700; }
.button-quiet:hover { border-color: var(--pc-green); background: #eef0e4; }
.eyebrow, .detail-section-number, .detail-section-nav span, .detail-info .category-tag { text-transform: none; letter-spacing: 0; }

/* The artwork is an independent, unobscured panel. Natural text height is
   intentional: the existing carousel measures hero-content and hero-message. */
.editorial-hero { --hero-min-height: 0px; height: auto; min-height: 0; background: var(--pc-green); color: var(--paper); }
.editorial-hero .hero-slide { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 0; max-width: 1600px; margin-inline: auto; }
.editorial-hero .hero-picture { position: relative; inset: auto; grid-column: 2; grid-row: 1; align-self: stretch; min-width: 0; min-height: 480px; background: #e8eadf; }
.editorial-hero .hero-photo, .editorial-hero .halloween-slide .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #e8eadf; filter: none; animation: none; }
.editorial-hero .hero-shade { display: none; }
.editorial-hero .hero-content, .editorial-hero .halloween-slide .hero-content { grid-column: 1; grid-row: 1; width: 100%; max-width: none; height: auto; min-height: 520px; padding: 38px clamp(24px, 4vw, 64px) 92px; gap: 24px; justify-content: space-between; direction: inherit; }
.editorial-hero .hero-overline, .editorial-hero .halloween-slide .hero-overline { color: #d8e0d2; font-size: .82rem; font-weight: 500; }
.editorial-hero .hero-overline span:last-child { display: none; }
.editorial-hero .hero-message, .editorial-hero .halloween-slide .hero-message { width: 100%; max-width: 100%; text-shadow: none; }
.editorial-hero .hero-content .hero-title, .editorial-hero .halloween-slide .hero-title { max-width: 15ch; margin: 0 0 24px; font-size: clamp(2.5rem, 4vw, 4.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; color: var(--paper); overflow-wrap: anywhere; animation: none; }
.editorial-hero .hero-bottom-row { display: block; }
.editorial-hero .hero-content p, .editorial-hero .halloween-slide .hero-content p { max-width: 42ch; margin: 0 0 26px; color: #dae2d9; font-size: 1rem; line-height: 1.6; }
.editorial-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; width: auto; }
.editorial-hero .hero-actions a { width: auto; max-width: 100%; min-height: 48px; padding: 14px 22px; font-size: .9rem; }
.editorial-hero .button-light, .editorial-hero .halloween-slide .button-light { background: var(--pc-lime); color: var(--pc-green); }
.editorial-hero .button-light:hover, .editorial-hero .halloween-slide .button-light:hover { background: #e7f3b3; transform: none; }
.editorial-hero .button-outline:hover { transform: none; }
.editorial-hero .carousel-controls { inset-inline: 0 auto; bottom: 22px; margin-inline-start: clamp(24px, 4vw, 64px); padding: 0; gap: 6px; }
.editorial-hero .carousel-button { border-color: #a4baac; background: transparent; color: var(--paper); }
.editorial-hero .carousel-button:hover { background: #ffffff1a; }
.editorial-hero .carousel-dots button { width: 24px; }
.editorial-hero .carousel-dots button::after { border-color: var(--pc-lime); }
.editorial-hero .carousel-dots button[aria-current=true]::after { background: var(--pc-lime); }
.editorial-hero .slide-count { color: #d8e0d2; font-variant-numeric: tabular-nums; }

.category-rail { background: #ebeede; }
.category-inner { gap: 10px; padding-block: 12px; scrollbar-width: thin; scrollbar-color: #a4ae99 #ebeede; scroll-padding-inline: 20px; }
.category-inner a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 17px; border: 1px solid #ccd3be; border-radius: 24px; font-size: .83rem; background: #f6f4ec; }
.category-inner a:hover, .category-inner a[aria-current] { color: var(--paper); background: var(--pc-green); border-color: var(--pc-green); }
.home-products.home-product-row, .home-products.halloween-row { background: var(--paper); padding-block: 48px; border-bottom: 1px solid var(--line); }
.home-product-row .section-heading { gap: 20px; align-items: center; margin-bottom: 26px; }
.home-product-row .section-heading h2 { font-size: clamp(1.65rem, 2.4vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; }
.home-row-actions { gap: 14px; }
.home-row-actions .product-sort { min-width: 142px; background: transparent; }
.home-row-controls .icon-button { border-radius: 50%; background: transparent; }
.home-product-rail.product-grid { --rail-gap: 22px; padding-block: 6px 18px; scrollbar-color: #91a391 transparent; }
.product-grid { gap: 34px 22px; }
.product-card { background: transparent; }
.product-media, .product-image { aspect-ratio: 1 / 1; }
.product-image { background: #fff; border: 1px solid #e1e3da; border-radius: 8px; }
.product-image img { object-fit: contain; padding: 10px; transition: transform .2s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-meta { margin-top: 14px; gap: 8px; font-size: .72rem; font-weight: 500; line-height: 1.4; }
.product-meta span:last-child { color: #727c73; font-size: .7rem; }
.product-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; min-height: 2.8em; letter-spacing: -.015em; margin-bottom: 8px; }
.product-spec { font-size: .82rem; line-height: 1.5; margin-bottom: 10px; }
.product-tags { gap: 5px; margin: 8px 0; }
.product-tag, .special-tag { color: var(--pc-green); background: #e9eddc; border-radius: 3px; font-size: .7rem; font-weight: 500; padding: 3px 6px; }
.product-tag:hover, .special-tag:hover { background: #dce5c6; }
.product-pricing { margin-block: 12px 14px; }
.price-line { gap: 5px 8px; }
.price-line strong { color: var(--pc-green); font-size: 1.25rem; letter-spacing: -.03em; font-weight: 700; }
.price-line span { font-size: .75rem; }
.product-card .carton-packing, .product-card .shipping-note { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.card-actions { padding-top: 10px; gap: 6px; align-items: center; }
.card-actions a { min-height: 44px; font-size: .8rem; }
.card-actions button { justify-content: center; min-height: 44px; padding: 8px 10px; font-size: .77rem; background: #e7ecda; border: 1px solid #d6dfc5; border-radius: 5px; }
.card-actions button:hover, .card-actions button.is-added { color: var(--pc-green); background: #d9e6b7; }
.preview-toggle { box-shadow: none; border-color: var(--line); color: var(--pc-green); }
.section-heading .text-link { font-size: .86rem; }
.story-band { min-height: 460px; background: #e8eddf; }
.story-image { min-height: 460px; }
.story-copy { padding: clamp(32px, 5vw, 80px); }
.story-copy h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); font-weight: 600; }
.story-rule { background: var(--pc-gold); margin-bottom: 32px; }

.page-top { background: var(--paper); padding-block: 44px 34px; }
.page-top h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 600; text-wrap: balance; }
.page-top p { max-width: 65ch; }
.catalog-toolbar { gap: 12px; padding-block: 24px; }
.search-field, .select-field { border-radius: 5px; background: #fff; }
.search-field { flex-basis: 260px; }
.catalog-toolbar .select-field { flex-basis: 160px; }
.catalog-toolbar .product-sort { flex: 0 1 155px; }
.catalog-video-filter { padding-inline: 4px; }
.result-count { font-variant-numeric: tabular-nums; margin-inline-start: auto; }
.catalog-clear { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; color: var(--pc-green); }
.catalog-section .empty-state { grid-column: 1 / -1; }
.breadcrumb { flex-wrap: wrap; min-width: 0; line-height: 1.5; }
.detail-layout { gap: clamp(28px, 5vw, 72px); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding-bottom: 60px; }
.detail-main-image { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.detail-main-image img { object-fit: contain; }
.detail-thumbs button { width: 76px; height: 76px; border-radius: 5px; background: #fff; }
.detail-thumbs button.active { border-color: var(--pc-green); }
.detail-info { position: static; padding-top: 8px; }
.detail-info h1 { font-size: clamp(1.85rem, 2.7vw, 2.8rem); line-height: 1.15; font-weight: 600; }
.product-pricing-detail { margin-block: 22px; }
.product-pricing-detail .price-line strong { font-size: 2.1rem; }
.detail-specs { margin-block: 24px; }
.detail-specs div { grid-template-columns: minmax(100px, .35fr) minmax(0, 1fr); }
.detail-buttons { align-items: stretch; }
.detail-buttons > * { min-width: min(160px, 100%); }
.detail-editorial { grid-template-columns: minmax(150px, 190px) minmax(0, 1fr); gap: 48px; padding-top: 42px; }
.detail-section-nav a { min-height: 44px; }
.detail-image-stack { background: #fff; }
.detail-image-stack figcaption { text-align: end; }
.detail-inquiry-band { background: var(--pc-green); border-radius: 8px; margin-bottom: 64px; }
.detail-inquiry-band .button-light { background: var(--pc-lime); color: var(--pc-green); }
.contact-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 84px); padding-block: 48px 72px; }
.contact-aside { min-width: 0; }
.contact-aside h2 { font-weight: 600; font-size: 2rem; }
.inquiry-list { margin-bottom: 20px; }
.inquiry-item { padding-block: 14px; line-height: 1.5; }
.form-panel { background: #e9eddf; padding: clamp(24px, 3vw, 42px); border: 1px solid #dae0d0; border-radius: 8px; }
.form-panel h2 { font-weight: 600; font-size: 1.7rem; }
.field input, .field textarea, .field select { border-color: #bac5b2; border-radius: 5px; min-height: 48px; }
.field input:focus, .field textarea:focus, .field select:focus, .search-field:focus-within, .select-field:focus, .header-search-box:focus-within { border-color: var(--pc-green); box-shadow: 0 0 0 3px #173c321a; }
.form-success { border-left: 0; border-inline-start: 3px solid var(--pc-green); }
.form-success h2 { margin-top: 14px; }
.form-error { color: #9a281f; }
.about-values { background: #e9eddf; }
.section-shell.about-intro { padding-inline: clamp(20px, 4vw, 56px); }
.about-intro > div { min-width: 0; }
.about-visual img { background: #fff; object-fit: contain; }
.site-footer { background: var(--pc-green); }
.footer-main { padding-block: 56px; }
.footer-main p, .footer-contact > span, .footer-bottom { color: #d1dccf; }
.footer-links a:hover, .footer-bottom a:hover, .footer-cta:hover { color: var(--pc-lime); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links { gap: 4px; }
.footer-cta { font-family: 'Space Grotesk', 'Microsoft YaHei', sans-serif; }
.footer-bottom { border-color: #527060; }
:focus-visible { outline: 3px solid #a36b12; outline-offset: 4px; }
.site-footer :focus-visible, .hero :focus-visible { outline-color: var(--pc-lime); }
.preview-toggle:focus-visible, .header-search-submit:focus-visible { outline-color: #a36b12; }

@media (min-width: 1000px) and (min-height: 1000px) {
  .detail-info { position: sticky; top: 100px; }
}
@media (max-width: 1180px) {
  .header-inner { gap: 16px; }
  .brand-logo { width: 43px; height: 43px; }
  .editorial-hero .hero-content, .editorial-hero .halloween-slide .hero-content { padding-inline: 28px; }
  .editorial-hero .carousel-controls { margin-inline-start: 28px; }
  .primary-nav { background: var(--paper); }
}
@media (max-width: 760px) {
  .header-inner { gap: 8px; padding-inline: 16px; }
  .brand-name { font-size: 1rem; }
  .header-search { background: var(--paper); }
  .header-search-box { height: 48px; }
  .editorial-hero .hero-slide { grid-template-columns: minmax(0, 1fr); }
  .editorial-hero .hero-content, .editorial-hero .halloween-slide .hero-content { grid-column: 1; grid-row: 1; min-height: 0; height: auto; gap: 24px; padding: 28px 24px 32px; }
  .editorial-hero .hero-picture { grid-column: 1; grid-row: 2; min-height: 0; aspect-ratio: 4 / 3; }
  .editorial-hero .hero-content .hero-title, .editorial-hero .halloween-slide .hero-title { font-size: clamp(2.25rem, 7vw, 3.25rem); max-width: 20ch; margin-bottom: 18px; }
  .editorial-hero .hero-content p, .editorial-hero .halloween-slide .hero-content p { max-width: 48ch; font-size: .95rem; margin-bottom: 20px; }
  .editorial-hero .hero-actions a { padding: 13px 20px; font-size: .9rem; }
  .editorial-hero .carousel-controls { inset-inline: auto 14px; bottom: 12px; margin-inline-start: 0; padding: 3px 8px; border-radius: 28px; background: #173c32ed; }
  .editorial-hero .carousel-button { width: 44px; height: 44px; }
  .category-inner { gap: 8px; padding-block: 10px; }
  .category-inner a { padding-inline: 14px; }
  .home-products.home-product-row, .home-products.halloween-row { padding-block: 32px; }
  .home-product-row .section-heading { gap: 14px; margin-bottom: 20px; }
  .home-row-actions { gap: 12px; justify-content: flex-start; }
  .home-row-actions .product-sort { margin-inline-end: auto; }
  .home-product-rail.product-grid { --rail-gap: 14px; }
  .product-grid { gap: 28px 14px; }
  .catalog-toolbar .search-field { flex-basis: 100%; }
  .catalog-toolbar .select-field, .catalog-toolbar .product-sort { flex: 1 1 calc(50% - 6px); width: 0; }
  .catalog-video-filter { flex: 1 1 150px; }
  .catalog-toolbar .result-count { flex-basis: auto; width: auto; margin-inline-start: 0; }
  .catalog-section { padding-bottom: 64px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  .detail-info { position: static; }
  .detail-editorial { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 0; }
  .detail-section-nav { top: 66px; background: var(--paper); }
  .detail-inquiry-band { margin-inline: 0; padding: 30px 24px; border-radius: 6px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-inline: clamp(20px, 4vw, 56px); padding-block: 36px 60px; }
  .story-image { min-height: 0; height: 340px; }
  .story-copy { min-height: 0; padding: 36px 24px 44px; }
  .story-copy h2 { max-width: 20ch; }
  .field input, .field textarea, .field select { font-size: 16px; }
  .footer-main { padding-block: 40px; }
}
@media (max-width: 520px) {
  .product-image img { padding: 6px; }
  .product-card h3 { font-size: .92rem; }
  .product-meta { font-size: .68rem; margin-top: 11px; }
  .product-meta span:last-child { font-size: .65rem; }
  .product-card .product-tag { font-size: .66rem; }
  .price-line strong { font-size: 1.13rem; }
  .price-line span { font-size: .7rem; }
  .card-actions { align-items: stretch; flex-direction: column; gap: 4px; }
  .card-actions a { justify-content: center; }
  .card-actions button { width: 100%; padding-inline: 5px; }
  .home-row-actions .product-sort { flex-basis: 142px; }
  .home-row-controls { margin-inline-start: auto; }
  .home-product-row .section-heading .text-link { font-size: .78rem; max-width: 8rem; }
  .detail-specs div { font-size: .85rem; }
  .detail-technical dl > div { grid-template-columns: minmax(90px, .35fr) minmax(0, 1fr); }
  .detail-buttons { flex-direction: column; }
  .form-panel { padding: 24px 20px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: .86rem; }
  .brand-logo { width: 35px; height: 40px; }
  .header-inner { gap: 6px; }
  .header-actions { gap: 0; }
  .site-header .header-actions .search-action { width: 44px; }
  .language-button span { max-width: 32px; }
  .editorial-hero .hero-content, .editorial-hero .halloween-slide .hero-content { padding-inline: 20px; }
  .editorial-hero .hero-content .hero-title, .editorial-hero .halloween-slide .hero-title { font-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .product-image img, .quote-button, .button-dark, .button-light, .button-outline, .primary-nav a, .header-search-box, .header-search-submit { transition: none; }
  .hero-photo, .editorial-hero .hero-content .hero-title { animation: none; }
}

/* Keep the restored product visible below the site header. */
.catalog-section .product-card { scroll-margin-top: 120px; }

/* Extend the existing green catalog language to practical quote controls. */
.section-shell.contact-layout { padding-inline: clamp(20px, 4vw, 56px); }
.inquiry-item.inquiry-item-editable { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 10px; align-items: start; }
.inquiry-product-summary { display: flex; gap: 12px; min-width: 0; align-items: center; }
.inquiry-product-summary img { width: 52px; height: 58px; object-fit: contain; flex: 0 0 52px; }
.inquiry-product-summary span { min-width: 0; overflow-wrap: anywhere; }
.inquiry-product-summary a { text-decoration: underline; text-underline-offset: 3px; }
.inquiry-product-summary small { display: block; color: var(--muted); font-size: .75rem; }
.inquiry-quantity-controls { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.inquiry-quantity-controls label { display: grid; gap: 5px; min-width: 0; font-size: .75rem; color: var(--muted); }
.inquiry-quantity-controls input, .inquiry-quantity-controls select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #bac5b2; border-radius: 5px; padding: 8px 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.inquiry-quantity-controls :is(input, select):focus-visible { outline: 2px solid var(--pc-green, #173c32); outline-offset: 2px; }
.inquiry-row-actions { display: flex; gap: 5px; align-items: start; }
.inquiry-row-actions button { min-width: 44px; min-height: 44px; }
.inquiry-row-actions .button-quiet { width: auto; padding-inline: 8px; }
#inquiry-list-notice { font-size: .8rem; color: var(--muted); }
#inquiry-list-notice:empty { display: none; }
.inquiry-success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.inquiry-success-actions .button-quiet { min-height: 44px; }
@media (max-width: 420px) { .inquiry-product-summary { gap: 8px; } .inquiry-row-actions { flex-direction: column; } }

/* Gallery feedback follows the existing green showroom palette. */
#detail-area .detail-gallery-feedback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: 36px;
  margin-top: 8px;
}
#detail-area .detail-gallery-feedback p {
  flex: 1 1 180px;
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}
#detail-area [data-gallery-retry][hidden] { display: none; }
#detail-area .detail-main-image.is-loading img { opacity: .45; }
#detail-area .detail-main-image.has-image-error img { visibility: hidden; }
#detail-area .image-zoom-toggle:disabled { opacity: .35; cursor: default; }
#detail-area .detail-image-unavailable { padding: 24px; color: var(--muted); text-align: center; }
#detail-area .detail-thumbs { scroll-padding-inline: 5px; }
#detail-area .detail-thumbs button:focus-visible { outline-offset: -5px; }
#product-details, #product-specifications, #product-inquiry { scroll-margin-top: 110px; }
@media (max-width: 760px) {
  #product-details, #product-specifications, #product-inquiry { scroll-margin-top: 150px; }
}
