
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-orange));
  color: var(--c-navy);
  border: none;
  border-radius: 10px;
  padding: 14px 27px;
  min-height: 48px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(239, 125, 26, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(239, 125, 26, 0.36); }
.btn-primary[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-line {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cozy-room .btn-line { color: var(--c-gold); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }


.cozy-pledge .cards,
.cozy-seals .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
  margin-top: 28px;
}
.cozy-pledge article,
.cozy-seals article {
  flex: 1 1 220px;
  position: relative;
  margin-top: 14px;
  padding: 32px 22px 22px;
  border-radius: 14px;
  background: var(--c-white);
  box-shadow: 0 4px 14px var(--c-shadow);
  text-align: center;
}
.cozy-pledge .badge,
.cozy-seals .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-navy);
  color: var(--c-gold);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  white-space: nowrap;
}
.cozy-pledge article p,
.cozy-seals article p { font-size: 15px; color: var(--c-muted); }


.cozy-shelf-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  margin-top: 28px;
  padding: 24px;
  border-radius: 14px;
  background: var(--c-white);
  box-shadow: 0 4px 14px var(--c-shadow);
}
.cozy-shelf-card img { width: 100%; height: auto; border-radius: 10px; }
.cozy-shelf-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-navy);
  color: var(--c-gold);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
.cozy-shelf-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; font-size: 15px; }
.cozy-shelf-card dt { color: var(--c-muted); }
.cozy-shelf-card dd { margin: 0; font-weight: 600; }
.price-tag { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 30px; font-weight: 500; color: var(--c-ink); }


.cozy-merits ul, .cozy-checklist ul { list-style: none; padding: 0; }
.cozy-merits li, .cozy-checklist li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--c-line);
  position: relative;
}
.cozy-merits li::before {
  content: '';
  position: absolute; left: 0; top: 19px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-gold), var(--c-orange));
}
.cozy-checklist li::before {
  content: '□';
  position: absolute; left: 2px; top: 9px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  color: var(--c-rust);
}
.cozy-desk .phone-big {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
}
.cozy-desk dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin-top: 12px; }
.cozy-desk dt { color: var(--c-muted); }
.cozy-desk dd { margin: 0; }


.faq-chat {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin-top: 20px;
}
.faq-chat .q,
.faq-chat .a {
  max-width: 75%;
  padding: 14px 18px;
  margin: 6px 0;
  font-size: 16px;
}
.faq-chat .q {
  background: var(--c-navy);
  color: var(--c-white);
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  font-weight: 600;
}
.faq-chat .a {
  background: var(--c-mist);
  color: var(--c-ink);
  align-self: flex-start;
  border-radius: 16px 16px 16px 4px;
  margin-bottom: 16px;
}
.faq-chat .a a { color: var(--c-rust); }


.cozy-counter-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}
.cozy-plates .stage {
  background: var(--c-navy);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cozy-plates .stage img { width: 100%; height: auto; }
.cozy-plates .stage svg { width: 82%; height: auto; }
.cozy-plates .view[hidden] { display: none; }
.cozy-plates .view { width: 100%; display: flex; align-items: center; justify-content: center; }
.cozy-plates .thumbs { display: flex; gap: 10px; margin-top: 12px; }
.cozy-plates .thumbs button {
  width: 76px;
  height: 76px;
  padding: 0;
  border-radius: 10px;
  border: 2px solid var(--c-line);
  background: var(--c-navy);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cozy-plates .thumbs button[aria-pressed="true"] { border-color: var(--c-orange); }
.cozy-plates .thumbs img { width: 100%; height: auto; }
.cozy-plates .thumbs svg { width: 70%; height: auto; }
.cozy-plates figcaption { font-size: 14px; color: var(--c-muted); margin-top: 8px; }

.cozy-counter h1 { font-size: 36px; }
.cozy-counter .sub { color: var(--c-muted); margin-top: 6px; }
.cozy-counter .meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
  font-size: 15px;
  margin: 16px 0;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
.cozy-counter .meta dt { color: var(--c-muted); }
.cozy-counter .meta dd { margin: 0; }
.cozy-counter .stock { color: #1d6b3a; font-weight: 600; }
.stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--c-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--c-white);
}
.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--c-sand);
  color: var(--c-ink);
  font-size: 22px;
  cursor: pointer;
}
.stepper input {
  width: 56px;
  height: 44px;
  border: 0;
  text-align: center;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 17px;
  color: var(--c-ink);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.added-note { font-size: 15px; margin-top: 10px; min-height: 24px; color: #1d6b3a; }
.added-note a { color: var(--c-rust); font-weight: 600; }


.cozy-appendix [role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 2px solid var(--c-line);
}
.cozy-appendix [role="tab"] {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 10px 16px;
  min-height: 44px;
  font-weight: 600;
  color: var(--c-muted);
  cursor: pointer;
}
.cozy-appendix [role="tab"][aria-selected="true"] { color: var(--c-ink); border-bottom-color: var(--c-orange); }
.cozy-appendix [role="tabpanel"] { padding: 20px 0 4px; max-width: 780px; }


.cozy-basket .line {
  display: grid;
  grid-template-columns: 96px 1fr auto auto;
  gap: 18px;
  align-items: center;
  background: var(--c-white);
  border-radius: 14px;
  box-shadow: 0 4px 14px var(--c-shadow);
  padding: 16px;
}
.cozy-basket .line img { width: 96px; height: auto; border-radius: 8px; }
.cozy-basket .line .name { font-weight: 700; }
.cozy-basket .line .unit { font-size: 14px; color: var(--c-muted); }
.cozy-basket .line .sum { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 20px; text-align: right; min-width: 120px; }
.cozy-basket .remove { background: none; border: 0; color: var(--c-rust); text-decoration: underline; cursor: pointer; padding: 10px 0; min-height: 44px; font-size: 14px; }
.cozy-basket .total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 2px solid var(--c-ink);
  font-size: 18px;
}
.cozy-basket .total strong { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 28px; }
.cozy-basket .empty {
  background: var(--c-white);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 14px var(--c-shadow);
}
.steps-3 { list-style: none; padding: 0; counter-reset: st; }
.steps-3 li { counter-increment: st; position: relative; padding: 8px 0 8px 46px; }
.steps-3 li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-gold);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  text-align: center;
  line-height: 32px;
}


.order-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.order-modal .modal-overlay { position: absolute; inset: 0; background: rgba(7, 18, 48, 0.72); }
.order-modal .modal-content {
  position: relative;
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.order-modal .modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--c-ink);
  cursor: pointer;
}
.order-modal h2 { font-size: 24px; padding-right: 36px; }
.order-form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.order-form input[type="text"],
.order-form input[type="tel"],
.order-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--c-line);
  border-radius: 10px;
  background: var(--c-white);
  color: var(--c-ink);
  font-size: 17px;
}
.order-form textarea { min-height: 96px; resize: vertical; }
.order-form input:focus, .order-form textarea:focus { border-color: var(--c-orange); outline: none; }
.order-form .agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; margin-top: 16px; }
.order-form .agree input { width: 22px; height: 22px; margin-top: 3px; flex: 0 0 22px; }
.order-form .hint { font-size: 14px; color: var(--c-muted); margin-top: 6px; }
.order-form .btn-primary { width: 100%; margin-top: 18px; }
.order-form .trap { display: none; }
.form-alert { background: #fdecea; color: #8a1c12; border-radius: 10px; padding: 12px 14px; margin-top: 12px; }

@media (max-width: 1024px) {
  .cozy-counter-grid { gap: 24px; }
  .cozy-shelf-card { grid-template-columns: 220px 1fr; }
}
@media (max-width: 768px) {
  .cozy-counter-grid { grid-template-columns: 1fr; }
  .cozy-counter h1 { font-size: 28px; }
  .cozy-shelf-card { grid-template-columns: 1fr; padding: 22px 16px 18px; }
  .cozy-shelf-card img { max-width: 320px; margin: 0 auto; }
  .faq-chat .q, .faq-chat .a { max-width: 92%; }
  .cozy-basket .line { grid-template-columns: 72px 1fr; }
  .cozy-basket .line img { width: 72px; }
  .cozy-basket .line .sum { grid-column: 1 / -1; text-align: left; }
  .cozy-basket .line .ctrl { grid-column: 1 / -1; }
  .price-tag { font-size: 26px; }
}
