:root {
  --ink: #102a2e;
  --muted: #4d6a6f;
  --paper: #f3fbf8;
  --paper-2: #e7f5ef;
  --teal: #0f766e;
  --teal-deep: #0b5a54;
  --copper: #d97706;
  --copper-hot: #ea580c;
  --mint: #5eead4;
  --line: rgba(16, 42, 46, 0.12);
  --shadow: 0 18px 50px rgba(11, 90, 84, 0.14);
  --radius: 18px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(94, 234, 212, 0.35), transparent 60%),
    radial-gradient(800px 400px at 90% 0%, rgba(217, 119, 6, 0.18), transparent 55%),
    linear-gradient(180deg, #f7fcfa 0%, #eef8f3 45%, #f3fbf8 100%);
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(243, 251, 248, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background:
    linear-gradient(135deg, var(--teal) 0%, #14b8a6 55%, var(--copper) 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
  position: relative;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 4px;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.brand-text span { color: var(--teal); }

.nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav a, .link-btn {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.nav a:hover, .link-btn:hover { color: var(--teal-deep); }
.inline-form { display: inline; margin: 0; }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(15, 118, 110, 0.34); color: #fff; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.92rem; }
.btn-copper {
  background: linear-gradient(135deg, var(--copper-hot), var(--copper));
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border: 1.5px solid rgba(15, 118, 110, 0.35);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--teal), #14b8a6 40%, var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.6rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-visual {
  background: transparent;
  animation: floatIn .8s ease both;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.pcb-anim {
  margin: 2rem 0 0;
  padding: 0;
}
.pcb-anim svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.pcb-anim-flow use {
  stroke-dasharray: 30 230;
  animation: pcbSignal 2.6s linear infinite;
}
.pcb-anim-flow use:nth-child(2) { animation-delay: .85s; }
.pcb-anim-flow use:nth-child(3) { animation-delay: 1.3s; }
.pcb-anim-pads rect { animation: pcbPad 2.6s ease-in-out infinite; }
.pcb-anim-pads rect:nth-child(2) { animation-delay: .2s; }
.pcb-anim-pads rect:nth-child(3) { animation-delay: .4s; }
.pcb-anim-pads rect:nth-child(4) { animation-delay: .6s; }
.pcb-anim-pads rect:nth-child(5) { animation-delay: .8s; }
.pcb-anim-vias circle { animation: pcbPad 3.4s ease-in-out infinite; }
.pcb-anim-vias circle:nth-child(even) { animation-delay: .5s; }
.pcb-anim-leds circle { animation: pcbLed 1.8s ease-in-out infinite; }
.pcb-anim-leds circle:nth-child(2) { animation-delay: .3s; }
.pcb-anim-leds circle:nth-child(3) { animation-delay: .6s; }

@keyframes pcbSignal {
  from { stroke-dashoffset: 260; }
  to { stroke-dashoffset: 0; }
}
@keyframes pcbPad {
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}
@keyframes pcbLed {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pcb-anim-flow use,
  .pcb-anim-pads rect,
  .pcb-anim-vias circle,
  .pcb-anim-leds circle {
    animation: none;
  }
}

.section { padding: 3.5rem 0; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}
.section-lead { color: var(--muted); margin: 0 0 1.8rem; max-width: 40rem; }

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(15,118,110,0.35); }
.product-card-media {
  margin: -0.2rem -0.2rem 0.9rem;
  border-radius: 14px;
  overflow: hidden;
  background: #e8f3ef;
  aspect-ratio: 16 / 10;
}
.product-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-image-preview {
  margin-top: 0.6rem;
  max-width: 220px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.product-image-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.product-gallery {
  margin: 0 0 1.4rem;
}
.product-gallery-main {
  border-radius: 16px;
  overflow: hidden;
  background: #e8f3ef;
  border: 1px solid var(--line);
}
.product-gallery-main img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #f7fbf9;
}
.product-gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}
.product-gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #e8f3ef;
  cursor: pointer;
}
.product-gallery-thumb.is-active,
.product-gallery-thumb:hover {
  border-color: var(--teal);
}
.product-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}
.feature p { margin: 0; color: var(--muted); }

.panel {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(16,42,46,0.05);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.95rem; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid rgba(15,118,110,0.22);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.12);
}
.validation-summary, .field-validation-error, .text-danger { color: #b91c1c; }
.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.alert-ok { background: #d1fae5; color: #065f46; }
.alert-warn { background: #ffedd5; color: #9a3412; }
.alert-err { background: #fee2e2; color: #991b1b; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid var(--line);
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: var(--teal);
}

.preview-box {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}
.preview-box img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(231, 245, 239, 0.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.footer-grid a { display: block; color: var(--muted); text-decoration: none; margin: 0.25rem 0; }
.footer-grid h4 { margin: 0 0 0.5rem; font-family: var(--font-display); }
.footer-iyzico {
  display: block;
  margin-top: 0.85rem;
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.footer-contact h4 {
  font-size: 0.95rem;
}
.footer-contact p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.footer-contact a {
  display: inline;
  color: var(--teal-deep);
}
.footer-bottom {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  display: grid;
  gap: 0.35rem;
}
.footer-rights {
  font-size: 0.82rem;
  line-height: 1.4;
  max-width: 52rem;
}

.page-head { padding: 2.2rem 0 1rem; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}

.btn-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1.5px solid rgba(16, 42, 46, 0.15);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.btn-google:hover {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 8px 20px rgba(16, 42, 46, 0.08);
}
.oauth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.oauth-divider::before,
.oauth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.oauth-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin-bottom: 0.5rem;
}
.stat-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
}
.stat-card.warn {
  border-color: rgba(234, 88, 12, 0.35);
  background: rgba(255, 237, 213, 0.55);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.2rem 0;
}
.stat-sub {
  font-size: 0.85rem;
  color: var(--muted);
}
.stat-sub a { color: var(--teal-deep); }

/* Live chat */
.hobi-chat { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; }
.hobi-chat-fab {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 0; border-radius: 999px; padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #fff; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 28px rgba(11, 90, 84, 0.35);
}
.hobi-chat-fab-icon {
  width: 1rem; height: 1rem; border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.9);
  position: relative; display: inline-block;
}
.hobi-chat-fab-icon::after {
  content: ""; position: absolute; left: 2px; bottom: -5px;
  border: 5px solid transparent; border-top-color: rgba(255,255,255,0.9);
  border-right-color: rgba(255,255,255,0.9); transform: rotate(25deg);
}
.hobi-chat-panel {
  display: none;
  position: absolute; right: 0; bottom: 3.6rem; width: min(360px, calc(100vw - 1.5rem));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden; flex-direction: column;
  max-height: min(520px, calc(100vh - 6rem));
}
.hobi-chat-panel.is-open {
  display: flex;
}
.hobi-chat-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0.9rem 1rem; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.hobi-chat-sub { color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }
.hobi-chat-close {
  border: 0; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted);
}
.hobi-chat-start[hidden],
.hobi-chat-body[hidden],
.hobi-chat-error[hidden] {
  display: none !important;
}
.hobi-chat-start, .hobi-chat-body {
  padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.6rem; min-height: 0;
}
.hobi-chat-start label { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.9rem; font-weight: 600; }
.hobi-chat-start input, .hobi-chat-compose input {
  border: 1px solid var(--line); border-radius: 10px; padding: 0.55rem 0.7rem; font: inherit;
}
.hobi-chat-error { color: #b91c1c; font-size: 0.85rem; }
.hobi-chat-messages {
  flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 0.55rem;
  min-height: 220px; max-height: 320px; padding-right: 0.2rem;
}
.hobi-chat-msg { max-width: 88%; }
.hobi-chat-msg.me { align-self: flex-end; }
.hobi-chat-msg.admin { align-self: flex-start; }
.hobi-chat-msg-meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.15rem; }
.hobi-chat-bubble {
  padding: 0.55rem 0.75rem; border-radius: 12px; background: var(--paper-2);
  border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word;
}
.hobi-chat-msg.me .hobi-chat-bubble {
  background: rgba(15, 118, 110, 0.12); border-color: rgba(15, 118, 110, 0.25);
}
.hobi-chat-compose { display: flex; gap: 0.45rem; }
.hobi-chat-compose input { flex: 1; }

.admin-chat {
  display: grid; grid-template-columns: 280px 1fr; gap: 1rem;
  min-height: 520px; margin-bottom: 3rem;
}
.admin-chat-list {
  background: rgba(255,255,255,0.8); border: 1px solid var(--line); border-radius: 16px;
  overflow: auto; max-height: 70vh;
}
.admin-chat-item {
  display: flex; flex-direction: column; gap: 0.15rem; width: 100%; text-align: left;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 0.85rem 0.9rem; cursor: pointer; font: inherit; color: inherit;
}
.admin-chat-item:hover, .admin-chat-item.active { background: rgba(15, 118, 110, 0.08); }
.admin-chat-item span { color: var(--muted); font-size: 0.88rem; }
.admin-chat-item small { color: var(--muted); font-size: 0.75rem; }
.admin-chat-thread {
  background: rgba(255,255,255,0.85); border: 1px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; min-height: 520px; padding: 0.9rem;
}
.admin-chat-thread-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 1px solid var(--line); padding-bottom: 0.7rem; margin-bottom: 0.7rem;
}
.admin-chat-messages { max-height: none; flex: 1; min-height: 320px; }

.survey-list { display: flex; flex-direction: column; gap: 1rem; }
.survey-item { padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); }
.survey-item:last-child { border-bottom: 0; padding-bottom: 0; }
.survey-q { font-weight: 600; margin-bottom: 0.35rem; }
.survey-req { color: #b91c1c; }
.star-rating { display: flex; gap: 0.2rem; }
.star-btn {
  border: 0; background: transparent; cursor: pointer;
  font-size: 1.65rem; line-height: 1; color: #cbd5e1; padding: 0.1rem;
}
.star-btn:hover, .star-btn.on { color: #d97706; }
.stars-readonly { letter-spacing: 0.08em; font-size: 1.25rem; color: #cbd5e1; }
.stars-readonly .on { color: #d97706; }

.testimonials-section { background: linear-gradient(180deg, transparent, rgba(15, 118, 110, 0.06), transparent); }
.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.4rem;
}
.testimonial {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: var(--shadow);
}
.testimonial .stars-readonly { font-size: 1.05rem; }
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.testimonial footer {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.testimonial-photos {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.testimonial-photos a {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.legal-doc h2 {
  font-size: 1.1rem;
  margin: 1.35rem 0 0.45rem;
  font-family: var(--font-display);
}
.legal-doc ul {
  margin: 0.4rem 0 0.8rem 1.1rem;
  padding: 0;
  color: var(--ink);
}
.legal-doc li { margin: 0.35rem 0; }
.legal-doc p { margin: 0.45rem 0; line-height: 1.55; }

.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--teal-deep, #0f766e);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.cart-list { display: grid; gap: 0.9rem; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 1.2rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}
.cart-item h3 { margin: 0 0 0.5rem; font-size: 1.05rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.badge-kind { background: #475569; }
.cart-item-meta { margin: 0.15rem 0; color: var(--muted); font-size: 0.92rem; }
.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6rem;
}
.cart-qty { display: flex; align-items: center; gap: 0.4rem; margin: 0; }
.cart-qty label { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cart-qty input { width: 4.6rem; }
.cart-line-total { margin: 0; font-size: 1.1rem; }
.cart-files { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0 0; }
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.85rem;
}
.cart-upload { display: flex; align-items: center; gap: 0.5rem; margin: 0.7rem 0 0; flex-wrap: wrap; }
.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.cart-summary-line { display: flex; gap: 0.8rem; align-items: baseline; margin: 0; font-size: 1.15rem; }

.pcb-starter-guide {
  margin: 1rem 0 1.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 118, 110, 0.3);
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.06);
}
.pcb-starter-guide summary {
  color: var(--teal-deep);
  font-weight: 700;
  cursor: pointer;
}
.pcb-starter-guide ul { margin: 0.75rem 0 0 1.15rem; padding: 0; }
.pcb-starter-guide li { margin: 0.35rem 0; color: var(--muted); }
.feature-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  border: 1px solid #d97706;
  background: #facc15;
  color: #78350f;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  padding: 0;
  cursor: help;
  vertical-align: middle;
}
.feature-help-icon:hover,
.feature-help-icon:focus-visible {
  background: #eab308;
  outline: none;
}
.feature-help-dialog {
  width: min(560px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}
.feature-help-dialog::backdrop {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(2px);
}
.feature-help-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.feature-help-dialog-head h2 { margin: 0; font-size: 1.25rem; }
.feature-help-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.feature-help-image {
  display: block;
  width: calc(100% - 2.4rem);
  max-height: 320px;
  margin: 1.2rem auto 0;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}
.feature-help-image[hidden] { display: none; }
.feature-help-dialog > p {
  margin: 1rem 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}
.feature-help-dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 1.2rem 1.2rem;
}

@media (max-width: 900px) {
  .hero-grid, .feature-row, .footer-grid, .form-grid, .testimonial-row, .cart-item { grid-template-columns: 1fr; }
  .cart-item-side { align-items: flex-start; }
  .hero { min-height: auto; padding-top: 2.5rem; }
  .nav { justify-content: flex-end; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-chat { grid-template-columns: 1fr; }
}
