/* Shared editorial treatment; all page content and ordering still come from the CMS. */
:root {
  --paper: #f8f7f3;
  --cream: #eeece4;
  --ink: #292d28;
  --muted: #60655c;
  --gold: #86653c;
  --line: #deded3;
  --gutter: clamp(24px, 5vw, 84px);
  /* Keep Chinese headings, Latin characters and punctuation in one font. */
  --serif: 'Songti SC', 'Noto Serif CJK SC', 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', 'STSong', serif;
  --sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', Arial, sans-serif;
}
body { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
/* Telephone digits must share the same baseline, including 3, 5, 7 and 9. */
.contact-value.contact-phone a[href^="tel:"] {
  font-family: var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
}
.site-header {
  position: sticky;
  top: 0;
  height: 88px;
  padding-inline: var(--gutter);
  background: rgba(248,247,243,.96);
  backdrop-filter: blur(14px);
  z-index: 30;
}
.brand img { width: 172px; height: auto; }
.site-header nav { gap: 30px; font-size: 13px; }
.header-enquire {
  padding: 11px 18px;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  transition: background .2s;
}
.header-enquire:hover { background: #454b3e; }
.section-wrap { max-width: 1600px; padding: 80px var(--gutter); }
.eyebrow { font-size: 11px; margin-bottom: 18px; }
h2 { font-size: clamp(34px, 3.05vw, 46px); }
.button { min-height: 48px; padding: 13px 25px; font-size: 13px; }
.text-link { font-size: 13px; padding-block: 7px; }

/* A clear split composition gives the product image room without changing its crop. */
.cms-hero:not(.cms-hero-text) {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: 640px;
  max-width: 1760px;
  margin-inline: auto;
}
.cms-hero:not(.cms-hero-text) .hero-copy {
  padding: 83px 9% 34px max(var(--gutter), calc((100vw - 1600px) / 2 + 80px));
  justify-content: center;
}
html[lang=zh-CN] .cms-hero h1 {
  font-size: clamp(44px, 4.35vw, 64px);
  line-height: 1.34;
  letter-spacing: .4px;
}
.cms-hero h1 em { font-style: normal; margin-top: 2px; }
.cms-hero .hero-description { font-size: 15px; line-height: 2; max-width: 410px; margin-top: 25px; }
.cms-hero .hero-actions { margin-top: 31px; gap: 27px; }
.cms-hero .hero-bottom { padding-top: 44px; font-size: 10px; margin-top: auto; }
.cms-hero .hero-visual { margin: 24px 24px 24px 0; min-height: 590px; background: #e6e4da; }
.cms-hero .hero-photo:after { background: linear-gradient(transparent, rgba(30,33,27,.14)); }
.cms-hero .image-caption { font-size: 12px; line-height: 1.8; }
.collection-bar {
  max-width: 1600px;
  margin-inline: auto;
  padding: 22px var(--gutter);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #565d50;
}
.collection-bar i { width: 3px; height: 3px; background: var(--gold); }
.collection-bar a { font-size: 12px; }
.cms-hero-text {
  min-height: 0;
  background: #efede5;
  border: 0;
}
.cms-hero-text .hero-copy { max-width: 1600px; padding: 62px var(--gutter) 58px; }
html[lang=zh-CN] .cms-hero-text h1 { font-size: clamp(38px, 4vw, 58px); max-width: 1080px; }
.cms-hero-text .hero-description { max-width: 720px; margin-top: 20px; }

/* Alternate quiet surfaces instead of long, undifferentiated white sections. */
.cms-editorial { gap: 8%; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
body[data-page=home] .cms-editorial {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #eeece4;
  border-bottom: 0;
}
.cms-editorial > div:first-child { border-left: 2px solid #aa8b5c; padding-left: 25px; }
.cms-editorial h2 { font-size: clamp(31px, 2.7vw, 42px); }
.cms-editorial-body { padding-top: 10px; }
.cms-editorial-body p { font-size: 15px; line-height: 2.1; }
.cms-editorial .text-link { margin-top: 20px; }
body[data-page=about] .cms-editorial { grid-template-columns: .85fr 1.15fr; }
.section-heading { gap: 48px; margin-bottom: 34px; }
.section-heading > p { max-width: 380px; font-size: 14px; line-height: 1.9; }
.cms-module .section-heading { margin-bottom: 34px; }
.product-grid { gap: 34px 26px; }
.product-card > button { padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.product-card .photo { height: auto; aspect-ratio: 1.13; border: 1px solid #deded333; background: #eeede5; }
body[data-page="products"] .product-card .photo { aspect-ratio: 1; }
/* Keep the detail image square independently of text and gallery controls. */
#product-dialog .dialog-grid { min-height: 0; }
#product-dialog .dialog-gallery { align-self: start; }
#product-dialog #dialog-image .photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 1; }
.product-caption { padding: 18px 2px 0; grid-template-columns: minmax(0,1fr) 35px; gap: 12px; }
.product-category { font-size: 10px; letter-spacing: 1px; margin-bottom: 7px; }
.product-caption h3 { font-size: 25px; line-height: 1.4; }
.product-model { font-size: 12px; }
.product-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d9cebb;
  border-radius: 50%;
  font-size: 19px;
  transition: background .2s, color .2s;
}
.product-card button:hover .product-arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
.catalogue-count { margin-top: 24px; font-size: 12px; }
.section-tail { margin-top: 17px; padding-top: 21px; }
.section-tail p { font-size: 12px; }
.cms-cards-section { background: #f0eee6; border-top: 0; }
.service-grid { gap: 36px; }
.service-grid article { padding: 24px 15px 0 0; border-top: 1px solid #c4bcaa; }
.service-number { font-size: 18px; letter-spacing: 1px; }
.service-grid h3 { font-size: 28px; margin: 18px 0 13px; }
.service-grid p { font-size: 14px; line-height: 1.95; }
.cms-gallery-section { background: var(--paper); }
.cms-gallery { gap: 32px; }
.cms-gallery .photo { height: auto; aspect-ratio: 4/3; background: #efeee7; border: 1px solid var(--line); }
.cms-gallery figcaption { font-size: 13px; color: var(--muted); padding-top: 13px; }
.cms-stats-section { padding-top: 46px; padding-bottom: 46px; background: #e9e4d8; }
.cms-stats dt { font-size: 13px; }
.cms-stats dd { font-size: 43px; }
.cms-cta { padding-top: 62px; padding-bottom: 62px; background: #2a3028; gap: 6%; }
.cms-cta h2 { font-size: clamp(34px, 3.2vw, 47px); line-height: 1.4; }
.cms-cta [data-module-text] { font-size: 14px; color: #d1d5c8; margin-top: 18px; }
.cms-cta-actions { gap: 19px; }
.cms-cta .button { padding: 15px 26px; min-height: 52px; }
.cms-cta .contact-value { color: #dddccf; }
.cms-cta .contact-value.contact-phone { margin: 0; display: block; }
.cms-cta .contact-phone a { font-size: 22px; }

/* Selection and enquiry pages use the same readable scale and compact rhythm. */
.cms-steps-section { max-width: 1600px; }
.cms-steps-section .guide-steps { gap: 0 7%; }
.cms-steps-section .guide-steps article { padding: 28px 0 32px; gap: 23px; }
.cms-steps-section .guide-steps article > span { font-size: 22px; padding-top: 2px; }
.cms-steps-section .guide-steps h3 { font-size: 28px; margin-bottom: 13px; }
.cms-steps-section .guide-steps p { font-size: 14px; line-height: 2; }
.cms-checklist { padding-top: 58px; padding-bottom: 58px; }
.cms-checklist h2 { font-size: 38px; }
.cms-checklist ul { font-size: 14px; line-height: 2.4; }
.cms-module.faq-section { max-width: 1160px; padding-top: 72px; padding-bottom: 80px; }
.faqs summary { font-size: 16px; line-height: 1.8; padding-right: 35px; }
.faqs details { padding: 23px 0; }
.faqs p { font-size: 14px; line-height: 2; }
.cms-contact-details { padding-top: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.cms-contact-details dl { gap: 24px 40px; }
.cms-contact-details .contact-value { margin: 0; display: block; }
.cms-contact-details dt { margin-bottom: 8px; font-size: 12px; }
.cms-contact-details dd { font-size: 25px; line-height: 1.6; }
.contact-section { background: var(--paper); gap: 7%; grid-template-columns: .85fr 1.15fr; }
.contact-intro h2 { font-size: clamp(32px, 3vw, 43px); line-height: 1.5; max-width: 430px; }
.contact-intro > p:not(.eyebrow) { font-size: 14px; line-height: 2; max-width: 390px; }
.contact-intro .contact-phone { display: none; }
.contact-intro > .text-link { display: inline-block; margin-top: 26px; }
#enquiry-form { background: #eeece4; padding: 32px; }
.form-grid { gap: 25px 24px; }
.form-grid label span { font-size: 12px; color: #454c40; }
.form-grid input, .form-grid textarea { font-size: 14px; min-height: 43px; border-color: #b9bfad; }
.form-grid textarea { min-height: 105px; line-height: 1.8; }
.consent { font-size: 12px; line-height: 1.8; }
.form-action { margin-top: 23px; }
.form-action button { min-width: 132px; }
.page-intro { padding-top: 65px; padding-bottom: 45px; }
.page-intro h1 { font-size: clamp(38px, 4vw, 59px); }
.page-intro > p:last-child { font-size: 15px; }
.full-catalogue { padding-top: 0; }
.catalogue-toolbar { padding-bottom: 9px; margin-bottom: 28px; }
.product-filters { gap: 25px; max-width: 75%; overflow-x: auto; }
.product-filters button { font-size: 13px; min-height: 45px; }
.search-box { border: 1px solid var(--line); padding: 0 12px; min-height: 43px; background: #eeece455; }
.search-box input { width: 145px; font-size: 13px; }
.catalogue-support { margin-top: 48px; }
.catalogue-support p { font-size: 14px; line-height: 1.9; }
.privacy-content { max-width: 1000px; }
.privacy-content p:not(.eyebrow) { font-size: 15px; line-height: 2; }
.dialog-copy > p:not(.eyebrow), .dialog-specification { font-size: 14px; line-height: 1.9; }

.site-footer { border-top: 1px solid var(--line); padding: 40px var(--gutter) 24px; }
.footer-top { display: grid; grid-template-columns: 1.05fr 1.15fr 1fr; align-items: start; gap: 38px; padding-bottom: 32px; }
.footer-brand p { margin: 16px 0 0; font: 13px/1.8 var(--sans); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 28px; padding-top: 8px; font-size: 13px; }
.footer-nav a { width: fit-content; }
.footer-nav a:hover { color: var(--gold); }
.footer-contacts { max-width: 100%; padding-top: 8px; }
.footer-top .footer-contacts p { font-size: 12px; }
.footer-contacts .contact-phone a { font-size: 23px; }
.footer-bottom { font-size: 11px; gap: 25px; }
.footer-brand .footer-brand-en { display: block; margin-bottom: 6px; color: var(--ink); font: 600 12px/1.5 var(--sans); letter-spacing: .14em; }
.footer-bottom { flex-wrap: wrap; }
.footer-company { flex: 1 1 360px; min-width: 0; }
.footer-company > span { display: block; }
.footer-company-en { margin-top: 5px; font: 11px/1.7 var(--sans); overflow-wrap: anywhere; }
.hero-copy .company-name-en { max-width: 680px; margin: 18px 0 0; color: var(--muted); font: 12px/1.8 var(--sans); overflow-wrap: anywhere; }
.is-preview .site-header { position: relative; top: auto; }

/* Both languages share the original palette, spacing and image treatment. */
.locale-en { --serif: Georgia, 'Times New Roman', serif; --sans: Arial, Helvetica, sans-serif; }
.locale-en .site-header .brand img { width: 210px; }
.locale-en .footer-brand .brand img { width: 220px; }
.header-tools .language-switch { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 4px; font: 12px/1.2 var(--sans); white-space: nowrap; }
.header-tools .language-switch { min-width: 44px; justify-content: center; }
#enquiry-form [aria-invalid="true"] { outline: 2px solid #a34835; outline-offset: 3px; }
.header-tools { gap: 16px; }
.product-spec-table-wrap { max-width: 100%; margin-top: 18px; overflow-x: auto; }
.product-spec-table { border-collapse: collapse; min-width: 480px; font: 12px/1.6 var(--sans); }
.product-spec-table th, .product-spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.product-spec-table th { font-weight: 600; }
.locale-en .dialog-specification { white-space: pre-wrap; }
@media (max-width: 1100px) { .locale-en .site-header .brand img { width: 170px; } }
@media (max-width: 760px) { .locale-en .site-header .brand img { width: 168px; } .header-tools { gap: 10px; } }

@media (min-width: 1760px) {
  .cms-hero:not(.cms-hero-text) .hero-copy { padding-left: 90px; }
}
@media (max-width: 1100px) {
  .site-header { height: 80px; }
  .site-header nav { gap: 19px; font-size: 12px; }
  .site-header .brand img { width: 148px; }
  .header-enquire { padding: 10px 13px; font-size: 11px; }
  .cms-hero:not(.cms-hero-text) { min-height: 550px; }
  .cms-hero:not(.cms-hero-text) .hero-copy { padding: 56px 8% 28px var(--gutter); }
  .cms-hero .hero-visual { min-height: 490px; margin: 21px 21px 21px 0; }
  .cms-hero .hero-description { font-size: 14px; }
  .cms-hero .hero-actions { gap: 18px; }
  .section-wrap { padding-block: 64px; }
  .cms-contact-details { padding-block: 26px; }
  .cms-cta { padding-block: 54px; }
  .service-grid { gap: 24px; }
  .service-grid h3 { font-size: 25px; }
  .footer-top { gap: 26px; }
  .footer-nav { gap: 12px 20px; }
  .full-catalogue { padding-top: 0; }
}
@media (min-width: 761px) and (max-width: 860px) {
  .site-header { padding-inline: 24px; }
  .site-header nav { gap: 14px; font-size: 11px; }
  .site-header .brand img { width: 133px; }
  .header-enquire { padding: 9px 11px; }
  .header-tools { gap: 0; }
  .cms-hero .hero-actions .button { padding: 12px 18px; }
  .cms-editorial { gap: 6%; }
  .contact-section { gap: 5%; }
  #enquiry-form { padding: 25px; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 88px; }
  .site-header { height: 72px; padding-inline: 24px; }
  .site-header .brand img { width: 148px; }
  .site-header nav { top: 71px; padding: 16px 24px 23px; font-size: 15px; }
  .site-header nav.open { gap: 2px; }
  .site-header nav a { width: 100%; min-height: 44px; }
  .site-header nav a:after { display: none; }
  .menu-toggle { width: 42px; height: 44px; display: grid; align-content: center; justify-content: end; }
  .menu-toggle span { margin: 4px 0; }
  .cms-hero:not(.cms-hero-text) { display: flex; min-height: 0; }
  .cms-hero:not(.cms-hero-text) .hero-copy { padding: 38px 24px 29px; }
  html[lang=zh-CN] .cms-hero h1 { font-size: 39px!important; line-height: 1.38; letter-spacing: .1px; }
  .cms-hero .eyebrow { font-size: 10px; margin-bottom: 19px; }
  .cms-hero .hero-description { font-size: 14px; line-height: 1.95; margin-top: 18px; max-width: 540px; }
  .cms-hero .hero-actions { margin-top: 23px; gap: 21px; }
  .hero-actions .button { font-size: 12px; padding: 12px 18px; min-height: 46px; }
  .hero-actions .text-link { font-size: 12px; }
  .cms-hero .hero-bottom { display: none; }
  .cms-hero .hero-visual { min-height: 0; height: 310px; margin: 0 24px 24px; }
  .collection-bar { padding: 16px 24px; font-size: 9px; gap: 13px; justify-content: space-between; }
  .cms-hero-text .hero-copy { padding: 36px 24px 35px; }
  html[lang=zh-CN] .cms-hero-text h1 { font-size: 34px!important; max-width: 650px; }
  .section-wrap { padding: 43px 24px; }
  .eyebrow { font-size: 10px; margin-bottom: 15px; }
  .cms-module { scroll-margin-top: 88px; }
  .cms-module .section-heading { margin-bottom: 26px; }
  .section-heading h2, .cms-editorial h2, .cms-checklist h2 { font-size: 30px; line-height: 1.5; }
  .section-heading > p { font-size: 14px; line-height: 1.95; margin-top: 15px; }
  body[data-page=home] .cms-editorial { padding-block: 38px; }
  .cms-editorial > div:first-child { padding-left: 17px; }
  .cms-editorial-body { padding-top: 23px; }
  .cms-editorial-body p { font-size: 14px; line-height: 2; }
  .cms-editorial .text-link { margin-top: 15px; }
  .product-grid { gap: 26px 16px; }
  .product-card .photo { height: auto; aspect-ratio: 1; }
  .product-card > button { padding-bottom: 13px; }
  .product-caption { padding: 12px 0 0; grid-template-columns: minmax(0,1fr) 22px; gap: 5px; }
  .product-category { font-size: 9px; letter-spacing: .5px; margin-bottom: 5px; }
  .product-caption h3 { font-size: 20px; line-height: 1.45; }
  .product-arrow { width: 22px; height: 22px; border: 0; font-size: 19px; }
  .product-model { font-size: 11px; }
  .catalogue-count { margin-top: 20px; font-size: 11px; }
  .section-tail { margin-top: 15px; padding-top: 17px; }
  .section-tail p { margin-top: 12px; font-size: 12px; line-height: 1.9; }
  .service-grid article { padding: 19px 0 22px; }
  .service-grid article:last-child { padding-bottom: 0; }
  .service-number { font-size: 16px; }
  .service-grid h3 { margin: 10px 0; font-size: 25px; }
  .service-grid p { font-size: 14px; line-height: 1.95; }
  .cms-gallery { gap: 25px 18px; }
  .cms-gallery .photo { height: auto; }
  .cms-gallery figcaption { font-size: 12px; }
  .cms-stats-section { padding-block: 35px; }
  .cms-stats dd { font-size: 33px; }
  .cms-stats dt { font-size: 12px; }
  .cms-cta { padding-block: 41px; }
  .cms-cta h2 { font-size: 31px; line-height: 1.5; }
  .cms-cta [data-module-text] { font-size: 14px; margin-top: 15px; }
  .cms-cta-actions, .cms-checklist-actions { width: 100%; justify-self: start; align-items: flex-start; margin-top: 24px; gap: 20px; }
  .cms-cta .button { min-height: 48px; padding: 13px 23px; }
  .cms-cta .contact-phone a { font-size: 21px; }
  .cms-steps-section .guide-steps article { padding: 24px 0; gap: 18px; }
  .cms-steps-section .guide-steps article > span { font-size: 19px; }
  .cms-steps-section .guide-steps h3 { font-size: 25px; line-height: 1.5; margin-bottom: 11px; }
  .cms-steps-section .guide-steps p { font-size: 14px; line-height: 1.95; }
  .cms-steps-section .guide-steps .photo { height: 220px; }
  .cms-checklist ul { margin-top: 19px; line-height: 2.2; }
  .cms-module.faq-section { padding-block: 43px; }
  .faqs details { padding: 19px 0; }
  .faqs summary { font-size: 15px; }
  .faqs p { font-size: 14px; max-width: 100%; padding-top: 13px; }
  .cms-contact-details { padding-block: 23px; }
  .cms-contact-details dl { gap: 22px; }
  .cms-contact-details dt { margin-bottom: 7px; font-size: 11px; }
  .cms-contact-details dd { font-size: 24px; }
  .contact-intro h2 { font-size: 29px; line-height: 1.5; max-width: 470px; margin-bottom: 16px; }
  .contact-intro > p:not(.eyebrow) { font-size: 14px; }
  .contact-intro > .text-link { margin-top: 17px; margin-bottom: 26px; }
  #enquiry-form { padding: 24px 20px; margin-inline: -4px; }
  .form-grid { gap: 20px; }
  .form-grid label span { font-size: 12px; }
  .form-grid input, .form-grid textarea { font-size: 16px; }
  .consent { font-size: 12px; }
  .page-intro { padding-top: 38px; padding-bottom: 29px; }
  .page-intro h1 { font-size: 36px; margin-bottom: 18px; }
  .page-intro > p:last-child { font-size: 14px; }
  .full-catalogue { padding-top: 0; }
  .catalogue-toolbar { padding-bottom: 14px; }
  .product-filters { max-width: 100%; gap: 22px; margin-bottom: 12px; }
  .product-filters button { font-size: 12px; }
  .search-box { width: 100%; padding: 0 12px; }
  .search-box input { width: 100%; font-size: 16px; }
  .catalogue-support h3 { font-size: 26px; }
  .privacy-content h1 { font-size: 35px; }
  .privacy-content p:not(.eyebrow) { font-size: 14px; }
  .site-footer { padding: 31px 24px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 25px 20px; padding-bottom: 27px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand p { font-size: 12px; margin: 13px 0 0; width: auto; }
  .footer-nav { gap: 12px; font-size: 12px; padding-top: 0; }
  .footer-contacts { order: initial; margin: 0; padding-top: 0; width: auto; }
  .footer-top .footer-contacts p { font-size: 12px; }
  .footer-contacts .contact-phone a { font-size: 18px; overflow-wrap: anywhere; }
  .footer-bottom { font-size: 10px; gap: 10px 18px; }
  .preview-banner { padding: 9px 24px; }
}
@media (max-width: 450px) {
  .cms-hero .hero-visual { height: 285px; }
  .cms-gallery { grid-template-columns: 1fr; }
  .cms-gallery .photo { height: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .footer-nav { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .site-header, .section-wrap, .collection-bar, .site-footer { padding-inline: 20px; }
  .cms-hero:not(.cms-hero-text) .hero-copy, .cms-hero-text .hero-copy { padding-inline: 20px; }
  .cms-hero .hero-visual { margin-inline: 20px; height: 265px; }
  html[lang=zh-CN] .cms-hero h1 { font-size: 34px!important; }
  html[lang=zh-CN] .cms-hero-text h1 { font-size: 31px!important; }
  .hero-actions .text-link { font-size: 11px; }
  .cms-hero .hero-actions { gap: 15px; }
  .hero-actions .button { padding-inline: 14px; }
  .product-grid { gap: 23px 12px; }
  .product-caption h3 { font-size: 18px; }
  .footer-contacts .contact-phone a { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { backdrop-filter: none; }
}
@media print {
  .site-header, .site-footer { display: none; }
  .section-wrap { padding: 28px 0; }
  .cms-hero { min-height: 0; }
}

/* Product window: a square overview followed by readable, original-ratio details. */
#product-dialog {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  max-height: 92vh;
  max-height: 92dvh;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 84px;
}
#product-dialog .product-window-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 69px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
#product-dialog .product-window-label {
  flex: 1;
  min-width: 0;
  color: var(--gold);
  font: 12px/1.5 var(--sans);
  letter-spacing: 2px;
  white-space: nowrap;
}
#product-dialog .product-window-nav { display: flex; align-items: center; gap: 22px; }
#product-dialog .product-window-nav button {
  min-height: 44px;
  padding: 7px 2px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}
#product-dialog .product-window-nav button:hover { color: var(--gold); }
#product-dialog .product-window-nav button[hidden] { display: none; }
#product-dialog .dialog-close {
  position: static;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid var(--line);
  font-size: 28px;
}
#product-dialog .dialog-close:hover { border-color: var(--gold); color: var(--gold); }
#product-dialog .dialog-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
  padding: 32px;
}
#product-dialog .dialog-gallery { background: transparent; }
#product-dialog #dialog-image .photo { border: 1px solid var(--line); }
#product-dialog #gallery-count { margin: 13px 0 8px; color: var(--muted); font-size: 12px; }
#product-dialog .gallery-thumbnails { gap: 9px; padding: 3px 2px 12px; }
#product-dialog .gallery-thumb {
  display: grid;
  grid-template-rows: 62px auto;
  align-items: start;
  gap: 6px;
  flex: 0 0 70px;
  width: 70px;
  height: auto;
  min-height: 91px;
  padding: 3px;
  color: var(--muted);
}
#product-dialog .gallery-thumb .photo { width: 62px; height: 62px; aspect-ratio: 1; }
#product-dialog .gallery-thumb > span { padding-bottom: 2px; font-size: 11px; line-height: 1.5; }
#product-dialog .gallery-thumb.active { color: var(--gold); }
#product-dialog .gallery-thumbnails[hidden] { display: none; }
#product-dialog .dialog-copy { min-width: 0; padding: 9px 4px 20px; align-self: start; }
#product-dialog .dialog-copy .eyebrow { margin-bottom: 16px; }
#product-dialog .dialog-copy h2 { font-size: clamp(30px, 3.2vw, 43px); margin-bottom: 22px; overflow-wrap: anywhere; }
#product-dialog #dialog-description { white-space: pre-line; line-height: 1.95; overflow-wrap: anywhere; }
#product-dialog #dialog-specs:not(:empty) { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
#product-dialog #dialog-specs h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; }
#product-dialog #dialog-specs .dialog-specification { margin-top: 10px; line-height: 2; }
#product-dialog .dialog-specification { overflow-wrap: anywhere; }
#product-dialog .dialog-copy .button { min-height: 48px; }
#product-dialog .product-details { padding: 38px 40px 40px; border-top: 1px solid var(--line); }
#product-dialog .product-details[hidden] { display: none; }
#product-dialog .product-details-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 790px;
  margin: 0 auto 24px;
}
#product-dialog .product-details-heading h3 { font-family: var(--serif); font-size: 28px; }
#product-dialog .product-details-heading p { font-size: 12px; }
#product-dialog .product-details-list { width: 100%; max-width: 790px; margin: 0 auto; }
#product-dialog .product-detail-image { margin: 0 0 28px; }
#product-dialog .product-detail-image:last-child { margin-bottom: 0; }
#product-dialog .product-detail-image:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
#product-dialog .product-detail-image .photo-natural { width: 100%; height: auto; min-height: 0; }
#product-dialog .product-detail-image figcaption { padding: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
#product-dialog .product-return-overview {
  display: block;
  min-height: 46px;
  margin: 30px auto 0;
  padding: 10px 22px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
#product-dialog .product-return-overview:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 760px) {
  #product-dialog { width: calc(100% - 16px); max-height: 94vh; max-height: 94dvh; scroll-padding-top: 74px; }
  #product-dialog .product-window-bar { min-height: 61px; gap: 10px; padding: 8px 12px; }
  #product-dialog .product-window-label { font-size: 11px; letter-spacing: 1px; }
  #product-dialog .product-window-nav { gap: 12px; }
  #product-dialog .product-window-nav button { font-size: 12px; }
  #product-dialog .dialog-grid { display: block; padding: 18px; }
  #product-dialog .dialog-copy { padding: 26px 2px 10px; }
  #product-dialog .dialog-copy h2 { font-size: 30px; margin-bottom: 18px; }
  #product-dialog .dialog-copy .detail-note { margin-top: 22px; }
  #product-dialog .dialog-copy .button { margin-top: 22px; }
  #product-dialog .product-details { padding: 27px 12px 28px; }
  #product-dialog .product-details-heading { display: block; margin-bottom: 18px; }
  #product-dialog .product-details-heading h3 { font-size: 25px; }
  #product-dialog .product-details-heading p { margin-top: 7px; }
  #product-dialog .product-detail-image { margin-bottom: 22px; }
  #product-dialog .product-return-overview { margin-top: 24px; }
}

/* Product cards navigate to a complete, individually addressable product page. */
.product-card > a.product-card-link {
  display: block;
  width: 100%;
  padding: 0 0 19px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-align: left;
}
.product-card-link:hover .photo .crop-window { filter: brightness(1.05); }
.product-card-link:hover .product-arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
.product-page-shell { max-width: 1380px; padding-top: 28px; padding-bottom: 78px; }
.product-breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.product-breadcrumb a:hover { color: var(--gold); }
.product-breadcrumb [aria-current="page"] { color: var(--ink); overflow-wrap: anywhere; }
#product-page-status { padding: 40px 0 65px; color: var(--muted); }
#product-page-status[hidden], #product-page[hidden] { display: none; }
#product-page { min-width: 0; }
#product-page .product-page-nav {
  position: sticky;
  top: var(--product-header-height, 100px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 65px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
#product-page .product-window-label { flex: 1; min-width: 0; color: var(--gold); font: 12px/1.5 var(--sans); letter-spacing: 2px; white-space: nowrap; }
#product-page .product-window-nav { display: flex; align-items: center; gap: 26px; }
#product-page .product-window-nav a,
#product-page .product-back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 13px; white-space: nowrap; }
#product-page .product-back-link { padding-left: 26px; border-left: 1px solid var(--line); }
#product-page .product-window-nav a:hover,
#product-page .product-back-link:hover { color: var(--gold); }
#product-page .product-window-nav a[hidden] { display: none; }
#product-page .dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  min-height: 0;
  padding: 38px 0 52px;
}
#product-page .dialog-gallery { min-width: 0; align-self: start; background: transparent; }
#product-page #dialog-image .photo { width: 100%; height: auto; min-height: 0; aspect-ratio: 1; border: 1px solid var(--line); }
#product-page #gallery-count { margin: 14px 0 9px; color: var(--muted); font-size: 12px; }
#product-page .gallery-thumbnails { gap: 10px; padding: 3px 2px 12px; }
#product-page .gallery-thumb {
  display: grid;
  grid-template-rows: 62px auto;
  align-items: start;
  gap: 6px;
  flex: 0 0 70px;
  width: 70px;
  height: auto;
  min-height: 91px;
  padding: 3px;
  color: var(--muted);
}
#product-page .gallery-thumb .photo { width: 62px; height: 62px; aspect-ratio: 1; }
#product-page .gallery-thumb > span { padding-bottom: 2px; font-size: 11px; line-height: 1.5; }
#product-page .gallery-thumb.active { color: var(--gold); }
#product-page .gallery-thumbnails[hidden] { display: none; }
#product-page .dialog-copy { min-width: 0; padding: 12px 0 0; align-self: start; }
#product-page .dialog-copy .eyebrow { margin-bottom: 18px; }
#product-page #dialog-title { margin-bottom: 25px; font-size: clamp(32px, 3.2vw, 46px); overflow-wrap: anywhere; }
#product-page #dialog-description { white-space: pre-line; font-size: 14px; line-height: 2; overflow-wrap: anywhere; }
#product-page #dialog-specs:not(:empty) { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
#product-page #dialog-specs h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; }
#product-page #dialog-specs .dialog-specification { margin-top: 10px; line-height: 2; overflow-wrap: anywhere; }
#product-page .dialog-copy .detail-note { margin-top: 28px; padding-top: 22px; }
#product-page .dialog-copy .button { min-height: 48px; margin-top: 28px; }
#product-page .product-details { padding: 44px 0 0; border-top: 1px solid var(--line); }
#product-page .product-details[hidden] { display: none; }
#product-page .product-details-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 790px;
  margin: 0 auto 28px;
}
#product-page .product-details-heading h2 { font-size: 30px; }
#product-page .product-details-heading p { font-size: 12px; }
#product-page .product-details-list { width: 100%; max-width: 790px; margin: 0 auto; }
#product-page .product-detail-image { margin: 0 0 30px; }
#product-page .product-detail-image:last-child { margin-bottom: 0; }
#product-page .product-detail-image:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
#product-page .product-detail-image .photo-natural { width: 100%; height: auto; min-height: 0; }
#product-page .product-detail-image figcaption { padding: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
#product-page .product-return-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin: 34px auto 0;
  padding: 10px 25px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
}
#product-page .product-return-overview:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 1100px) {
  #product-page .dialog-grid { gap: 38px; }
}
@media (max-width: 760px) {
  .product-card > a.product-card-link { padding-bottom: 13px; }
  .product-page-shell { padding-top: 20px; padding-bottom: 46px; }
  .product-breadcrumb { gap: 6px 9px; margin-bottom: 20px; font-size: 11px; }
  #product-page .product-page-nav { min-height: 61px; gap: 16px; justify-content: space-between; padding-block: 8px; }
  #product-page .product-window-label { display: none; }
  #product-page .product-window-nav { gap: 19px; }
  #product-page .product-window-nav a,
  #product-page .product-back-link { font-size: 12px; }
  #product-page .product-back-link { padding-left: 16px; }
  #product-page .dialog-grid { display: block; padding: 24px 0 34px; }
  #product-page .dialog-copy { padding-top: 27px; }
  #product-page #dialog-title { font-size: 32px; margin-bottom: 20px; }
  #product-page .dialog-copy .eyebrow { margin-bottom: 14px; }
  #product-page .dialog-copy .detail-note { margin-top: 24px; }
  #product-page .dialog-copy .button { margin-top: 23px; }
  #product-page .product-details { padding-top: 31px; }
  #product-page .product-details-heading { display: block; margin-bottom: 21px; }
  #product-page .product-details-heading h2 { font-size: 27px; }
  #product-page .product-details-heading p { margin-top: 7px; }
  #product-page .product-detail-image { margin-bottom: 24px; }
  #product-page .product-return-overview { margin-top: 27px; }
}
