/* Единый стиль ТД ГОАРА: тёмный камень, светлый текст и тёплый золотой акцент. */
body.home,body.catalog,body.cabinet{background:#151719;color:#f5f3ed}
.home main>.section:not(.band){background:#1b1e20;color:#f5f3ed}
.home .band{background:#111314;color:#f5f3ed}
.home .intro p,.home .section p{color:#e1e0d9}
.home .muted,.home .section .note{color:#bbbdb8}
.home .section .eyebrow,.catalog .eyebrow{color:#f4c928}
.home .section .card{background:#292c2d;color:#fff;border:1px solid #ffffff12}
.home .section .card p{color:#d8d8d1}
.home .section .card a,.home .section .intro a{color:#f4c928}
.home .section .panel{background:#f5f3ed;color:#171717}
.home .section .panel p,.home .section .panel .note{color:#5d5d56}
.home .section .panel input,.home .section .panel textarea{background:#fff;color:#171717}
.home #faq details{border-bottom:1px solid #ffffff26;padding:16px 0}
.home #faq summary{cursor:pointer;font-weight:bold;color:#f5f3ed}
.home .preview{color:#251d00}
.catalog main,.cabinet main{color:#f5f3ed}
.catalog .intro,.catalog footer,.catalog .note{color:#c1c2bb}
.catalog .card{background:#25282a;color:#f5f3ed;border:1px solid #ffffff15;border-top:3px solid #f4c928;box-shadow:0 12px 28px #0002}
.catalog .card .label,.catalog .visual-label{color:#c8c5bb}
.catalog .card .price{color:#f4c928}
.catalog .card summary{cursor:pointer;color:#f2f0e8}
.catalog .card button:not(.add){background:transparent;color:#fff;border:1px solid #f4c928}
.catalog .card button.add{background:#f4c928!important;color:#171717!important}
@media(max-width:520px){.catalog .grid{grid-template-columns:minmax(0,1fr)}.catalog .card{min-width:0;overflow-wrap:anywhere}.catalog .card button{max-width:100%;white-space:normal}}
.catalog .calc{background:#222527;border:1px solid #f4c92855}
.catalog .calc .result{background:#f5f3ed;color:#171717}
.catalog #selection{background:#29271e!important;color:#f5f3ed;border:1px solid #f4c92855}
.catalog #selection a,.catalog #selection button{color:#f4c928!important}
.catalog input,.catalog select,.cabinet input,.cabinet select,.cabinet textarea{background:#fff;color:#171717}
.cabinet section{background:#242729;color:#f5f3ed;border:1px solid #ffffff15}
.cabinet section h2,.cabinet section h3{color:#f5f3ed}
.cabinet section small{color:#bfc0b9}
.cabinet section a{color:#f4c928}
.cabinet section button:not(.secondary){background:#f4c928;color:#171717}
.cabinet section button.secondary{background:#3b3c35;color:#f8e6a0;border:1px solid #f4c92888}
.cabinet .msg{color:#f8dd73}
.cabinet article{border-color:#ffffff24}
.catalog button:focus-visible,.cabinet button:focus-visible,.home button:focus-visible,.site-header a:focus-visible{outline:3px solid #f4c928;outline-offset:3px}
/* Раскрывающиеся ответы и цены удобнее нажимать на небольшом экране. */
@media(max-width:520px){.home .design-section details:not(.showroom-extra)>summary,.home #faq summary,.catalog .card summary,.catalog #compare-products>summary{box-sizing:border-box;min-height:44px;padding-block:10px}}

/* Формы заявки на главной и обращения в личном кабинете. */
:is(#contactform, #inquiry) {
  min-width: 0;
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid #73612f;
  border-radius: 8px;
  background: #191b1c;
  color: #f5f3ed;
  color-scheme: dark;
}
:is(#contactform, #inquiry) label { color: #f5f3ed; }
:is(#contactform, #inquiry) :is(input, select, textarea) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  border: 1px solid #8c7b4c;
  border-radius: 4px;
  background: #252725;
  color: #f5f3ed;
}
:is(#contactform, #inquiry) :is(input, select, textarea):focus-visible {
  outline: 2px solid #f4c928;
  outline-offset: 2px;
}
:is(#contactform, #inquiry) input::placeholder { color: #c0bbae; }
:is(#contactform, #inquiry) input[type="file"]::file-selector-button {
  padding: 6px 10px;
  margin-inline-end: 8px;
  border: 1px solid #f4c928;
  border-radius: 4px;
  background: #252725;
  color: #f4c928;
  font: inherit;
  cursor: pointer;
}
:is(#contactform, #inquiry) button[type="submit"],
#inquiry button:not([type]) {
  min-height: 44px;
  max-width: 100%;
  border-radius: 4px;
  background: #f4c928;
  color: #171717;
  white-space: normal;
}
#contactform .note { color: #c0bbae; }
#contactform #contact-result, #inquiry .msg { color: #f8dd73; }
#contactform #question { border-color: #8c7b4c !important; }

/* Согласие и прямые контакты в формах обращений. */
:is(#contactform, #inquiry) .inquiry-consent {
  margin-block: 16px 12px;
}
:is(#contactform, #inquiry) .inquiry-consent label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}
:is(#contactform, #inquiry) .inquiry-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  margin: 2px 0 0;
  accent-color: #f4c928;
}
.inquiry-consent-contact {
  display: none;
  margin: 10px 0 0;
  color: #f8dd73;
  overflow-wrap: anywhere;
}
.inquiry-consent:has(input:user-invalid) .inquiry-consent-contact {
  display: block;
}
.inquiry-consent-contact a {
  color: inherit;
  text-decoration: underline;
}
