/* Self-hosted Manrope (variable, 400-800). Preloaded in each page's <head>. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #1b1d27;
  --blue-2: #242733;
  --accent: #ff6542;
  --pink: #ff4aa1;
  --cyan: #00d7f5;
  --text: #171722;
  --muted: #6c7180;
  --line: #e8eaf0;
  --soft: #f6f7fb;
  --whatsapp: #25d366;
  font-family: "Manrope", "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html,
body,
button,
input,
textarea,
select,
a {
  font-family: "Manrope", "DM Sans", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }

.top-strip {
  background: #061157;
  color: #fff;
  font-size: 12px;
}
.top-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 2px 20px rgba(0,0,0,.14);
}
.header-main {
  display: grid;
  grid-template-columns: 170px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.logo img { height: 33px; }
.printable-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 27px;
  font-weight: 800;
}
.printable-logo::before {
  content: "P";
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px 13px 22px 13px;
  background: var(--accent);
}
.search {
  display: grid;
  grid-template-columns: 1fr auto;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}
.search input {
  min-width: 0;
  border: 0;
  padding: 13px 18px;
  outline: 0;
}
.search button {
  border: 0;
  background: var(--accent);
  color: #111;
  padding: 0 22px;
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  white-space: nowrap;
}
.cart strong {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
}
.main-nav { background: #121c90; }
.nav-scroll {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 42px;
  overflow-x: auto;
  scrollbar-width: none;
  font-weight: 700;
  font-size: 13px;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll .active, .nav-scroll .hot { color: var(--accent); }
.nav-scroll .hot { margin-left: auto; }

.hero {
  background: linear-gradient(90deg, #2b2ed5, #8c32dd);
}
.hero__grid {
  display: grid;
  grid-template-columns: 235px 1fr 255px;
  gap: 16px;
  padding: 22px 0;
}
.category-menu {
  align-self: stretch;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.category-menu h2 {
  margin: 0;
  padding: 16px 18px;
  background: var(--accent);
  color: #111;
  font-size: 15px;
}
.category-menu a {
  display: block;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: #333;
}
.hero__slider {
  position: relative;
  min-height: 376px;
  border-radius: 8px;
  overflow: hidden;
}
.hero__slider img {
  width: 100%;
  height: 100%;
  min-height: 376px;
  object-fit: cover;
}
.hero__copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  color: #fff;
}
.hero__copy p { margin: 0 0 8px; color: var(--cyan); font-weight: 700; }
.hero__copy h1 { margin: 0 0 12px; max-width: 320px; font-size: clamp(28px, 4vw, 48px); line-height: 1.02; letter-spacing: 0; }
.hero__copy > span { margin-bottom: 24px; color: #dfe7ff; }
.hero__side {
  display: grid;
  gap: 16px;
}
.hero__side img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 13px;
}
.btn--light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.75); }
.btn--aqua { background: var(--cyan); color: #00164a; }

.promise-bar {
  background: var(--accent);
  color: #171717;
  font-weight: 700;
}
.promise-bar__grid {
  min-height: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  align-items: center;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 42px 0 30px;
}
.promo-card,
.wide-offer {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
}
.promo-card img,
.wide-offer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-card div,
.wide-offer div {
  position: relative;
  z-index: 1;
  padding: 26px;
}
.promo-card span,
.wide-offer span { display: block; font-size: 13px; font-weight: 700; }
.promo-card strong { font-size: 34px; line-height: 1; }
.wide-offer {
  grid-column: span 1.5;
  min-height: 305px;
}
.wide-offer h2 { margin: 8px 0 24px; font-size: 40px; }
.yellow { grid-column: span 1; }
.pink { grid-column: span 2; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.section-title h2,
.categories h2 {
  margin: 0;
  font-size: 22px;
}
.section-title a { color: var(--blue-2); font-weight: 700; }
.centered { justify-content: center; }
.product-section { padding: 28px 0; }
.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}
.products--four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  min-width: 0;
  background: #fff;
  text-align: center;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / .82;
  object-fit: contain;
  padding: 10px;
}
.product-card h3 {
  min-height: 38px;
  margin: 8px 0 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.product-card p {
  margin: 0 0 8px;
  font-weight: 700;
}
.swatches {
  height: 18px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.swatches span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #111;
  border: 1px solid #d7d9e2;
}
.swatches span:nth-child(2) { background: #2ba9ff; }
.swatches span:nth-child(3) { background: #f8d861; }
.product-card button {
  width: min(100%, 150px);
  min-height: 36px;
  border: 1px solid #b8bdcb;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  color: #3e4454;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(420px, 100%);
  height: 100vh;
  padding: 22px;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -16px 0 35px rgba(0,0,0,.18);
  transform: translateX(105%);
  transition: transform .25s ease;
  overflow: auto;
}
.cart-panel.open { transform: translateX(0); }
.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cart-panel__header h2 { margin: 0; }
.cart-panel__header button,
.checkout-form button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.cart-items {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.cart-item h3 { margin: 0 0 4px; font-size: 14px; }
.cart-item p { margin: 0; color: var(--muted); }
.cart-item button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.checkout-form {
  display: grid;
  gap: 10px;
}
.checkout-form h3 { margin: 0 0 4px; }
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}

.cyber {
  margin: 24px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 10% 15%, #00d7f5 0 10px, transparent 11px),
    radial-gradient(circle at 90% 20%, #ff4aa1 0 9px, transparent 10px),
    linear-gradient(135deg, #10189b, #15136e);
}
.cyber .container { padding: 36px 0; }
.cyber h2 { margin: 0 0 22px; font-size: 28px; }
/* auto-fit so a third promise sits on the same row instead of stranding itself. */
.cyber__offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 940px;
  margin: 0 auto;
}
.cyber__offers p {
  margin: 0;
  padding: 18px;
  border-radius: 7px;
  background: rgba(255,255,255,.12);
}
.cyber strong { color: var(--accent); text-transform: uppercase; }

.categories { padding: 28px 0; }
/* auto-fit, not a fixed 6: five categories then fill the row evenly instead of
   leaving a gap, and a sixth wraps on its own. */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.category-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: left;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: #f0c3ae;
  box-shadow: 0 16px 32px rgba(31,33,40,.1);
}
.category-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff8f3;
}
.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.category-card:hover .category-card__media img { transform: scale(1.06); }
.category-card__body {
  display: grid;
  gap: 3px;
  padding: 14px 16px 16px;
}
.category-card__body strong { font-size: 15px; color: var(--text); }
.category-card__body small { color: var(--muted); font-size: 12px; font-weight: 600; }

.split-products {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: stretch;
}
.compact { padding-top: 0; }
.vr-banner {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  border-radius: 8px;
}
.vr-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vr-banner div {
  position: absolute;
  left: 30px;
  bottom: 30px;
  color: #fff;
}
.vr-banner h2 { margin: 0 0 14px; font-size: 34px; }

.service-row { margin: 34px 0; background: var(--soft); padding: 42px 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}
.service-grid div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.service-grid div:last-child { border-right: 0; }
.service-grid strong { color: var(--blue-2); }
.service-grid span { color: var(--muted); font-size: 12px; }

.twin-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 12px 0 34px;
}
.twin-banners img,
.oled-banner img,
.sale-banner img {
  width: 100%;
  border-radius: 7px;
}
.oled-banner,
.sale-banner { padding: 18px 0 36px; }

.oled-banner {
  max-width: 1180px;
}

.oled-banner img {
  height: clamp(210px, 22vw, 320px);
  object-fit: cover;
  object-position: center;
}

.sale-banner {
  max-width: 1180px;
}

.sale-banner img {
  height: clamp(170px, 18vw, 260px);
  object-fit: cover;
  object-position: center;
}

.why {
  margin-top: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, transparent 0 18px, #00e5ff 19px 25px, transparent 26px) 28px 28px / 100px 100px,
    linear-gradient(135deg, #121a96, #071065);
}
.why .container { padding: 42px 0; text-align: center; }
.why h2 { color: var(--cyan); margin: 0 0 28px; font-size: 28px; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why__grid div {
  display: grid;
  gap: 8px;
}
.why__grid span { color: #d9e2ff; font-size: 12px; }

.footer {
  background: #f7f8fb;
  color: #282d3c;
}
.newsletter {
  padding: 34px 0 26px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.newsletter h2 { margin: 0 0 16px; text-transform: uppercase; font-size: 18px; }
.newsletter form {
  display: grid;
  grid-template-columns: minmax(220px, 420px) auto;
  justify-content: center;
  gap: 10px;
}
.newsletter input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
}
.newsletter button {
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--blue-2);
  color: #fff;
  font-weight: 700;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 36px 0 46px;
}
.footer h3 { margin: 0 0 16px; font-size: 14px; text-transform: uppercase; }
.footer a,
.footer p {
  display: block;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.printable-wordmark strong {
  display: block;
  margin-bottom: 14px;
  font-size: 24px;
  color: var(--blue);
}
/* Phone / WhatsApp / e-mail lines under the footer wordmark. Declared after
   `.footer a` above, which would otherwise force block layout and grey text. */
.footer-contact {
  margin: 0 0 16px;
}
.footer-contact__line {
  display: block;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}
.footer-contact__line:hover {
  color: var(--accent);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Floating WhatsApp button — an <a>, not the old inert "?" <button>. */
.chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(37,211,102,.4);
}
.chat svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 1050px) {
  .header-main { grid-template-columns: 150px 1fr; }
  .header-actions { grid-column: 1 / -1; justify-content: center; padding-bottom: 12px; }
  .hero__grid { grid-template-columns: 1fr; }
  .category-menu { display: none; }
  .hero__side { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .split-products { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 22px, 1180px); }
  .top-strip__inner,
  .promise-bar__grid,
  .cyber__offers,
  .twin-banners,
  .why__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .top-strip__inner { justify-content: center; text-align: center; }
  .top-strip__inner span:last-child { display: none; }
  .header-main {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0;
  }
  .logo { justify-self: center; }
  .header-actions { display: none; }
  .nav-scroll { gap: 22px; }
  .hero__copy {
    position: static;
    width: auto;
    padding: 22px;
    background: #2731ca;
  }
  .hero__slider img { min-height: 220px; }
  .hero__slider { display: flex; flex-direction: column; min-height: 0; }
  .hero__side { display: none; }
  .promo-grid { grid-template-columns: 1fr; }
  .pink,
  .yellow { grid-column: auto; }
  .products,
  .products--four,
  .category-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .newsletter form { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .products,
  .products--four,
  .category-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .product-card img { aspect-ratio: 1.3 / 1; }
  .wide-offer h2,
  .vr-banner h2 { font-size: 30px; }
}

/* Printable refined storefront */
body {
  background: #fffaf6;
  color: #1f2128;
}

.top-strip {
  background: #fff3ec;
  color: #9d3f27;
  border-bottom: 1px solid #ffe0d2;
}

.site-header {
  color: #1f2128;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(31, 33, 40, .06);
}

.header-main {
  min-height: 74px;
}

.printable-logo {
  color: #1f2128;
}

.printable-logo::before {
  box-shadow: 0 10px 24px rgba(255, 101, 66, .26);
}

.search {
  border: 1px solid #ffe0d2;
  background: #fff8f3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}

.search input {
  background: transparent;
}

.search button {
  background: #ff6542;
  color: #fff;
  border-radius: 999px;
  margin: 4px;
  min-height: 34px;
  transition: transform .2s ease, background .2s ease;
}

.search button:hover {
  background: #e55336;
  transform: translateY(-1px);
}

.header-actions a {
  color: #4e515c;
  transition: color .2s ease;
}

.header-actions a:hover {
  color: #ff6542;
}

.cart strong {
  background: #ff6542;
  color: #fff;
}

.header-quote {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #ff6542;
  background: linear-gradient(135deg, #ff6542, #ff7b59);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(31,33,40,.12);
  transition: transform .2s ease, background .2s ease !important;
}

.header-quote:hover {
  background: #ff6542;
  transform: translateY(-1px);
}

.admin-link {
  color: #8b817a !important;
}

.main-nav {
  background: #fff;
  border-top: 1px solid #f2ece5;
  border-bottom: 1px solid #f2ece5;
}

.nav-scroll {
  min-height: 46px;
  color: #272a35;
}

.nav-scroll a {
  position: relative;
}

.nav-scroll a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: #ff6542;
  transition: transform .22s ease;
}

.nav-scroll a:hover::after,
.nav-scroll .active::after {
  transform: scaleX(1);
}

.nav-scroll .active,
.nav-scroll .hot {
  color: #ff6542;
}

.hero {
  background: #ffffff;
}

.hero .container {
  width: 100%;
}

.hero__grid {
  grid-template-columns: 1fr;
  /* Breathing gap between the header and the full-bleed banner. */
  padding: clamp(24px, 2.6vw, 40px) 0 0;
}

.hero__slider {
  min-height: 0;
  height: clamp(360px, 32vw, 500px);
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
  animation: bannerIn .6s ease both;
}

.hero__slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(31,33,40,.74), rgba(31,33,40,.24) 48%, rgba(255,101,66,.22)),
    linear-gradient(0deg, rgba(0,0,0,.22), transparent 45%);
}

.hero__slider::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 38px;
  z-index: 2;
  width: 120px;
  height: 3px;
  border-radius: 999px;
  background: #ff6542;
  opacity: .9;
}

.hero__slider img {
  height: 100%;
  min-height: 0;
  filter: saturate(.92) contrast(.96);
  transform: scale(1.015);
}

.hero__copy {
  z-index: 3;
  width: min(520px, 64%);
  padding: clamp(30px, 6vw, 72px);
}

.hero__copy p {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,101,66,.88);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero__copy h1 {
  max-width: 500px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.02;
  font-weight: 800;
}

.hero__copy > span {
  max-width: 420px;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  line-height: 1.45;
}

.btn--light {
  margin-top: 4px;
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease;
}

.btn--light:hover {
  transform: translateY(-2px);
  background: #ff6542;
  border-color: #ff6542;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn--ghost {
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(255,255,255,.9);
  color: #1f2128;
  transition: transform .2s ease, background .2s ease;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: #fff;
}

.promise-bar {
  background: #fff;
  color: #1f2128;
  border-top: 1px solid #f2ece5;
  border-bottom: 1px solid #f2ece5;
}

.promise-bar__grid {
  min-height: 58px;
}

.promise-bar__grid div {
  position: relative;
  color: #555965;
}

.promise-bar__grid div::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #ff6542;
  vertical-align: 1px;
}

.stl-quote {
  padding: 54px 0;
  background:
    linear-gradient(135deg, #fffaf6 0%, #fff 52%, #fff1e8 100%);
  border-bottom: 1px solid #f4e7dc;
}

.stl-quote--page {
  min-height: calc(100vh - 92px);
  display: grid;
  align-items: center;
}

.stl-quote--page .stl-viewer {
  height: clamp(420px, 42vw, 620px);
}

.stl-demo-link {
  text-decoration: none;
}

.stl-page-header .header-main {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.stl-quote__grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: 28px;
  align-items: center;
}

.stl-quote__copy h2 {
  max-width: 560px;
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

.stl-quote__copy p:not(.section-kicker) {
  max-width: 520px;
  margin: 0 0 22px;
  color: #5d606b;
  font-size: 16px;
  line-height: 1.65;
}

.stl-upload {
  display: inline-flex;
  margin-bottom: 12px;
}

.stl-upload input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.stl-upload span,
.stl-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ff6542;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(255,101,66,.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.stl-upload span:hover,
.stl-cta:hover {
  transform: translateY(-2px);
  background: #e55336;
  box-shadow: 0 18px 38px rgba(255,101,66,.3);
}

.stl-quote__copy small {
  display: block;
  color: #8b817a;
}

.stl-viewer-card {
  padding: 14px;
  border: 1px solid #ffe0d2;
  border-radius: 14px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 24px 60px rgba(31,33,40,.1);
}

.stl-viewer {
  position: relative;
  height: clamp(300px, 34vw, 440px);
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 26% 20%, rgba(255,101,66,.16), transparent 26%),
    #fff8f3;
}

.stl-viewer canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.stl-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #5d606b;
}

.stl-empty strong {
  color: #1f2128;
  font-size: 22px;
}

.stl-empty--demo {
  top: auto;
  bottom: 24px;
  inset-inline: 24px;
  height: auto;
  place-content: center;
  pointer-events: none;
}

.stl-demo-model {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.demo-cube {
  position: relative;
  width: 118px;
  height: 118px;
  transform-style: preserve-3d;
  animation: demoModelSpin 8s linear infinite;
}

.demo-cube::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 28px;
  background: radial-gradient(circle at 32% 28%, #fff, #ffb39d 42%, #ff6542 100%);
  transform: translateZ(74px);
  box-shadow: 0 24px 55px rgba(255,101,66,.24);
}

.face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,101,66,.2);
  border-radius: 24px;
  background: rgba(255,255,255,.42);
  box-shadow: inset 0 0 35px rgba(255,101,66,.08);
}

.face-front { transform: translateZ(59px); }
.face-back { transform: rotateY(180deg) translateZ(59px); }
.face-right { transform: rotateY(90deg) translateZ(59px); }
.face-left { transform: rotateY(-90deg) translateZ(59px); }
.face-top { transform: rotateX(90deg) translateZ(59px); }
.face-bottom { transform: rotateX(-90deg) translateZ(59px); }

@keyframes demoModelSpin {
  from { transform: rotateX(-18deg) rotateY(0deg); }
  to { transform: rotateX(-18deg) rotateY(360deg); }
}

.stl-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.stl-results div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 13px;
  border-radius: 10px;
  background: #fff8f3;
}

.stl-results span {
  color: #8b817a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.stl-results strong {
  color: #1f2128;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.stl-cta {
  width: 100%;
}

.promo-grid {
  padding-top: 34px;
}

.promo-card,
.wide-offer,
.vr-banner,
.twin-banners img,
.oled-banner img,
.sale-banner img {
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(31,33,40,.08);
}

.section-title {
  margin-bottom: 18px;
}

.section-title h2,
.categories h2 {
  font-size: 28px;
  letter-spacing: 0;
}

.section-kicker {
  margin: 0 0 7px;
  color: #ff6542;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.section-title a {
  color: #ff6542;
}

.carousel-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.carousel-button {
  width: 42px;
  height: 42px;
  border: 1px solid #ffe0d2;
  border-radius: 50%;
  background: #fff;
  color: #ff6542;
  font-size: 30px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(31,33,40,.08);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  background: #ff6542;
  color: #fff;
}

.products--carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 2px 18px;
  scrollbar-width: thin;
}

.products--carousel .product-card {
  flex: 0 0 clamp(210px, 23vw, 270px);
  scroll-snap-align: start;
}

.product-card {
  padding: 14px;
  border: 1px solid #f2ece5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(31,33,40,.06);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #ffd4c3;
  box-shadow: 0 24px 48px rgba(31,33,40,.11);
}

.product-card img {
  border-radius: 8px;
  background: #fff8f3;
}

.product-card h3 {
  min-height: 0;
  color: #252731;
  font-size: 14px;
}

.product-card p {
  color: #ff6542;
}

.product-card button {
  border-color: #ffe0d2;
  background: #fff8f3;
  color: #ff6542;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.product-card button:hover {
  background: #ff6542;
  color: #fff;
  transform: translateY(-1px);
}

.cyber,
.why {
  background: linear-gradient(135deg, #ff6542, #ff8a67);
}

.cyber strong,
.why h2 {
  color: #fff;
}

.service-row,
.footer {
  background: #fff8f3;
}

/* The tint lives on .category-card__media now; a border here would draw a second
   frame inside the card. Kept as the media backdrop only. */
.category-grid .category-card__media {
  background: #fff8f3;
}

/* Slide only — fading opacity here washed the banner out against the light
   .hero background, because the copy and the dark overlay are its children. */
@keyframes bannerIn {
  from {
    transform: translateY(14px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero__copy {
    width: auto;
    background: #1f2128;
  }

  .hero__slider::before,
  .hero__slider::after {
    display: none;
  }

  .hero__slider {
    height: auto;
  }

  .hero__slider img {
    height: 280px;
  }

  .carousel-shell {
    grid-template-columns: 1fr;
  }

  .carousel-button {
    display: none;
  }

  .stl-quote {
    padding: 34px 0;
  }

  .stl-quote__grid {
    grid-template-columns: 1fr;
  }

  .stl-viewer {
    height: 300px;
  }

  .stl-results {
    grid-template-columns: 1fr;
  }
}

/* Wider, more premium upper layout */
.header-main,
.nav-scroll,
.top-strip__inner {
  width: min(1480px, calc(100% - 40px));
}

.header-main {
  grid-template-columns: 210px minmax(360px, 1fr) auto;
  min-height: 92px;
  gap: 34px;
}

.printable-logo {
  font-size: 31px;
}

.printable-logo::before {
  width: 44px;
  height: 44px;
}

.search {
  max-width: 620px;
  justify-self: center;
  width: 100%;
}

.search input {
  padding: 15px 20px;
}

.header-actions {
  gap: 18px;
  font-size: 13px;
}

.nav-scroll {
  min-height: 58px;
  gap: 44px;
}

.nav-scroll a::after {
  bottom: -18px;
}

.hero__slider {
  height: clamp(440px, 36vw, 620px);
}

.hero__copy {
  width: min(660px, 62%);
  padding-left: max(56px, calc((100vw - 1320px) / 2 + 56px));
}

.hero__copy h1 {
  max-width: 650px;
  font-size: clamp(42px, 4.4vw, 74px);
}

.hero__copy > span {
  max-width: 540px;
  font-size: 18px;
}

.promise-bar__grid {
  min-height: 72px;
}

.product-section,
.categories,
.stl-quote {
  padding-top: 70px;
  padding-bottom: 70px;
}

.section-title {
  margin-bottom: 30px;
}

.section-title h2,
.categories h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.products--carousel {
  gap: 24px;
  padding-bottom: 26px;
}

.products--carousel .product-card {
  flex-basis: clamp(250px, 21vw, 320px);
}

.product-card {
  padding: 18px;
}

.product-card img {
  aspect-ratio: 1 / .9;
}

@media (max-width: 1050px) {
  .header-main,
  .nav-scroll,
  .top-strip__inner {
    width: min(100% - 32px, 1320px);
  }

  .header-main {
    grid-template-columns: 180px 1fr;
  }

  .hero__copy {
    padding-left: 38px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1320px);
  }

  .header-main,
  .nav-scroll,
  .top-strip__inner {
    width: min(100% - 24px, 1320px);
  }

  .hero__slider {
    height: auto;
  }

  .hero__copy {
    padding-left: 24px;
  }

  .header-main::before {
    inset: 8px -8px;
    border-radius: 24px;
  }

  .header-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 10px;
  }

  .search {
    max-width: none;
  }

  .nav-scroll {
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 0;
  }

  .nav-scroll a {
    flex: 0 0 auto;
  }
}

/* Premium header and navigation */
.top-strip {
  background: #1f2128;
  color: rgba(255,255,255,.82);
  border: 0;
}

.top-strip__inner {
  min-height: 32px;
  font-size: 12px;
}

.top-strip__inner span:first-child {
  color: #fff;
  font-weight: 700;
}

.site-header {
  background: #fff;
  /* No shadow or border: they tinted the white gap below the header grey. */
  border-bottom: 0;
  box-shadow: none;
}

.header-main {
  min-height: 88px;
  position: relative;
}

.header-main::before {
  content: "";
  position: absolute;
  inset: 12px -18px;
  z-index: -1;
  border: 1px solid rgba(255,101,66,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 50px rgba(31,33,40,.06);
}

.printable-logo {
  gap: 12px;
  letter-spacing: -.02em;
}

.printable-logo::before {
  border-radius: 14px 14px 24px 14px;
  background:
    linear-gradient(135deg, #ff6542, #ff835f);
  color: #1f2128;
}

.search {
  max-width: 560px;
  border: 1px solid rgba(255,101,66,.16);
  background: #fff;
  box-shadow: 0 10px 30px rgba(31,33,40,.05);
}

.search input::placeholder {
  color: #9a958f;
}

.header-actions {
  padding-right: 4px;
}

.cart {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff7f2;
  color: #1f2128 !important;
  box-shadow: inset 0 0 0 1px #ffe0d2;
}

.admin-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
}

.main-nav {
  background: rgba(255,255,255,.74);
  border-top: 1px solid rgba(255,101,66,.08);
  border-bottom: 1px solid rgba(255,101,66,.1);
}

.nav-scroll {
  justify-content: center;
  min-height: 54px;
  gap: 12px;
}

.nav-scroll a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: #343741;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-scroll a::after {
  display: none;
}

.nav-scroll a:hover,
.nav-scroll .active {
  color: #ff6542;
  background: #fff3ec;
  transform: translateY(-1px);
}

.nav-scroll .hot {
  margin-left: 18px;
  color: #fff;
  background: #1f2128;
}

.nav-scroll .hot:hover {
  color: #fff;
  background: #ff6542;
}

/* Signature button system */
.btn,
.product-card button,
.search button,
.header-quote,
.stl-upload span,
.stl-cta,
.carousel-button,
.cart-panel__header button,
.checkout-form button {
  font-weight: 850;
  letter-spacing: .01em;
}

.btn {
  min-height: 44px;
  gap: 10px;
  padding: 0 18px 0 22px;
  border-radius: 999px;
}

.btn::after {
  content: "→";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: currentColor;
  color: #fff;
  font-size: 13px;
  transition: transform .22s ease;
}

.btn:hover::after {
  transform: translateX(3px);
}

.btn--light {
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.14);
}

.btn--ghost {
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.92);
  color: #1f2128;
}

.search button {
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 10px 20px rgba(255,101,66,.2);
}

.search button:hover {
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 14px 26px rgba(255,101,66,.28);
}

.header-quote {
  gap: 9px;
  background: linear-gradient(135deg, #1f2128, #30333d);
}

.header-quote::after {
  content: "↗";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  font-size: 12px;
}

.carousel-button {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.product-card button {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #fff2eb;
  color: #ff6542;
  box-shadow: inset 0 0 0 1px #ffd6c7;
}

.product-card button::after {
  content: "→";
  margin-left: 8px;
  transition: margin-left .2s ease;
}

.product-card button:hover {
  box-shadow: 0 12px 26px rgba(255,101,66,.24);
}

.product-card button:hover::after {
  margin-left: 12px;
}

.stl-upload span,
.stl-cta,
.checkout-form button {
  gap: 10px;
  background: linear-gradient(135deg, #ff6542, #f34d32);
}

.stl-upload span::after,
.stl-cta::after,
.checkout-form button::after {
  content: "↗";
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  font-size: 12px;
}

/* Single-line refined header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-main {
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 82px;
  padding-inline: 4px;
}

.header-main::before,
.main-nav {
  display: none;
}

.main-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  justify-self: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255,101,66,.12);
  border-radius: 999px;
  background: rgba(255,248,243,.72);
}

.main-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  color: #343741;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-links a:hover,
.main-links .active {
  color: #ff6542;
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31,33,40,.06);
}

.search-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid #ffe0d2;
  border-radius: 50%;
  background: #fff8f3;
  color: #ff6542;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
  background: #ff6542;
  color: #fff;
  transform: translateY(-1px);
}

.search-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 35;
  width: min(620px, calc(100% - 32px));
  transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  box-shadow: 0 22px 50px rgba(31,33,40,.18);
  transition: opacity .18s ease, transform .18s ease;
}

.search-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-actions {
  justify-content: flex-end;
  margin-left: auto;
}

/* Refined hero banner copy and actions */
.hero__copy {
  width: min(880px, 74%);
  padding-left: max(56px, calc((100vw - 1320px) / 2 + 56px));
}

.hero__copy h1 {
  max-width: 800px;
  font-size: clamp(34px, 3.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.hero__copy > span {
  max-width: 660px;
  font-size: 17px;
}

.hero-actions {
  gap: 10px;
}

.hero-actions .btn {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.01em;
  box-shadow: 0 16px 34px rgba(0,0,0,.14);
}

.hero-actions .btn::after {
  display: none;
  content: none;
}

.hero-actions .btn svg {
  display: none;
}

.hero-actions .btn:hover svg {
  transform: none;
}

.hero-actions .btn--light {
  border: 1px solid rgba(255,101,66,.95);
  background: linear-gradient(135deg, #ff6542, #ff7a59);
  color: #fff;
  box-shadow: 0 18px 38px rgba(255,101,66,.34);
}

.hero-actions .btn--ghost {
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(255,255,255,.12);
  color: #fff;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 38px rgba(0,0,0,.14);
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
}

.hero-actions .btn--ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.7);
}

@media (max-width: 1050px) {
  .header-main {
    grid-template-columns: auto 1fr;
  }

  .main-links {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-links::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-main {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .header-actions {
    display: flex;
  }

  .main-links {
    order: 3;
  }
}

/* Polished header controls */
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid #ffe0d2;
  border-radius: 50%;
  background: #fff8f3;
  color: #ff6542 !important;
  position: relative;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.icon-button svg {
  width: 19px;
  height: 19px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-button:hover,
.search-toggle[aria-expanded="true"] {
  background: #ff6542;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(255,101,66,.22);
}

.search-toggle {
  font-size: 0;
}

.header-quote {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px 0 20px;
  border-radius: 999px;
  border: 1px solid #ff6542;
  background: linear-gradient(135deg, #ff6542, #ff7b59);
  color: #fff !important;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(255,101,66,.28);
}

.header-quote svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.header-quote:hover {
  background: linear-gradient(135deg, #f05233, #ff704d);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(255,101,66,.36);
}

.header-quote {
  background: linear-gradient(135deg, #ff6542, #ff7b59) !important;
  border-color: #ff6542 !important;
  color: #fff !important;
}

.header-quote::after {
  display: none !important;
  content: none !important;
}


.cart.icon-button {
  padding: 0;
  gap: 0;
}

.cart.icon-button strong {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 19px;
  height: 19px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ff6542;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.admin-link.icon-button {
  padding: 0;
}

.admin-link.icon-button:hover {
  color: #fff !important;
  background: #ff6542;
  box-shadow: 0 12px 24px rgba(255,101,66,.22);
}

/* Hero slideshow — cross-fading slides + dot/arrow controls.
   .hero__slides deliberately has no z-index: it must stay below the .hero__slider
   overlay (z-index 1) while its own controls sit above it (z-index 4). */
.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__copy {
  transition: opacity .25s ease;
}

.hero__copy.is-swapping {
  opacity: 0;
}

/* .btn is display:inline-flex, which would otherwise beat the UA [hidden] rule. */
.hero-actions .btn[hidden] {
  display: none;
}

/* Decorative only — must not swallow clicks meant for the controls. */
.hero__slider::before,
.hero__slider::after {
  pointer-events: none;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.hero__dots button[aria-current="true"] {
  width: 26px;
  border-radius: 999px;
  background: var(--accent);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 3px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(24,26,34,.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.hero__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }

.hero__arrow:focus-visible,
.hero__dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  /* .hero__slider is a flex column here, so the slide stack needs its own height. */
  .hero__slides {
    position: relative;
    height: 280px;
  }

  .hero__arrow { display: none; }
  .hero__dots { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__slider { animation: none; }
}

/* ---- STL quote wizard ---- */
.stl-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.stl-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9b968f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.stl-steps li span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #e6d8cc;
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
}

.stl-steps li.is-active { color: #1f2128; }

.stl-steps li.is-active span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.stl-steps li.is-done { color: #1f2128; }

.stl-steps li.is-done span {
  border-color: var(--accent);
  color: var(--accent);
}

.stl-panel { display: none; }
.stl-panel.is-active { display: block; }

.stl-panel h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.1;
}

.stl-panel > p {
  margin: 0 0 16px;
  max-width: 460px;
  color: #6b6660;
}

/* ---- Step 1 dropzone. New component: `.stl-upload` above is the storefront's
   CTA link and is re-declared across three layers, so the wizard gets its own. ---- */
.stl-drop {
  display: grid;
  justify-items: center;
  gap: 6px;
  max-width: 460px;
  padding: 26px 22px;
  border: 2px dashed #f0c3ae;
  border-radius: 18px;
  background: #fffaf7;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.stl-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.stl-drop:hover,
.stl-drop:focus-within {
  border-color: var(--accent);
  background: #fff5f0;
}

/* Dragging over it: the whole card lifts, so the drop target is unmistakable. */
.stl-drop.is-dragging {
  border-color: var(--accent);
  background: #ffece4;
  transform: translateY(-2px);
}

.stl-drop__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 2px;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.stl-drop strong { font-size: 17px; color: #1f2128; }
.stl-drop__hint { font-size: 14px; color: #6b6660; }
.stl-drop__hint b { color: var(--accent); text-decoration: underline; }

.stl-drop__formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.stl-drop__formats i {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f2ddd1;
  color: #8a8078;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .02em;
}

/* Once a file is loaded the dropzone steps back — the summary card is the
   thing to read, and re-uploading is the rarer action. */
.stl-drop.has-file {
  padding: 14px 18px;
  gap: 2px;
}
.stl-drop.has-file .stl-drop__icon,
.stl-drop.has-file .stl-drop__formats { display: none; }
.stl-drop.has-file strong { font-size: 14px; }

/* display:flex would otherwise beat the hidden attribute and show an empty card. */
.stl-file-card[hidden] { display: none; }

.stl-file-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #cdeadb;
  border-radius: 14px;
  background: #f3fbf7;
  cursor: pointer;
}

.stl-file-card__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.stl-file-card__body { min-width: 0; }

.stl-file-card__body strong {
  display: block;
  font-size: 14px;
  color: #1f2128;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stl-file-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 2px;
  color: #5f7a6c;
  font-size: 12px;
}
.stl-file-card__meta i { font-style: normal; }

.stl-file-card__change {
  flex: none;
  margin-left: auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
}

/* The error state has no icon or action, just two stacked lines — the flex row
   above would sit them side by side. */
.stl-file-card--error {
  display: block;
  border-color: #f3c6ba;
  background: #fff3ef;
}
.stl-file-card--error .stl-file-card__tick,
.stl-file-card--error .stl-file-card__change { display: none; }
.stl-file-card--error strong { display: block; font-size: 14px; color: #1f2128; }
.stl-file-card--error span { color: #8a5a4a; font-size: 12px; }

.stl-assurances {
  display: grid;
  gap: 5px;
  max-width: 460px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.stl-assurances li {
  position: relative;
  padding-left: 20px;
  color: #6b6660;
  font-size: 13px;
}

.stl-assurances li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f9d55;
  font-weight: 800;
}

.stl-options {
  display: grid;
  gap: 8px;
  max-width: 460px;
}

.stl-options--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.stl-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #eadfd4;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.stl-option:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,101,66,.14);
}

.stl-option__body {
  display: grid;
  flex: 1;
}

.stl-option__body strong { font-size: 14px; }
.stl-option__body small { color: #8b837b; }
.stl-option__price { color: var(--accent); font-weight: 800; font-size: 13px; }

.stl-warning {
  max-width: 460px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #ffd9c9;
  border-radius: 10px;
  background: #fff4ee;
  color: #8a4a32;
  font-size: 12px;
  line-height: 1.5;
}

.stl-parts {
  display: grid;
  gap: 6px;
  max-width: 460px;
  max-height: min(26vh, 220px);
  margin-bottom: 12px;
  padding-right: 4px;
  overflow-y: auto;
  /* A 21-part model fills this box six times over and the last row was cut
     mid-card, reading as broken rather than scrollable. Fade the bottom edge. */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 20px), transparent);
}

/* Nothing to scroll, nothing to fade — otherwise a two-part model gets its last
   card washed out for no reason. */
.stl-parts:not(.is-scrollable) {
  -webkit-mask-image: none;
  mask-image: none;
}

.stl-part {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #eadfd4;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.stl-part.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,101,66,.14);
}

.stl-part__dot {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid #e0d5c9;
  border-radius: 50%;
}

.stl-part__body { display: grid; }
.stl-part__body strong { font-size: 13px; }
.stl-part__body small { color: #8b837b; font-size: 12px; }

.stl-apply-all {
  margin-top: 10px;
  padding: 7px 14px;
  border: 1px solid #e6d8cc;
  border-radius: 999px;
  background: #fff;
  color: #1f2128;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.stl-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 460px;
}

.stl-swatch {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 6px;
  border: 1px solid #eadfd4;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.stl-swatch span {
  width: 20px;
  height: 20px;
  border: 1px solid #e0d5c9;
  border-radius: 50%;
}

.stl-swatch:has(input:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,101,66,.14);
}

/* Hidden but still focusable — the label carries the visible focus ring. */
.stl-swatch input,
.stl-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.stl-option:has(input:focus-visible),
.stl-swatch:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.stl-qty {
  display: grid;
  gap: 5px;
  width: 120px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
}

.stl-form { display: grid; gap: 10px; max-width: 460px; }
.stl-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.stl-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.stl-qty input,
.stl-form input,
.stl-form textarea {
  padding: 9px 11px;
  border: 1px solid #e6d8cc;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-weight: 500;
}

.stl-form button {
  justify-self: start;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.stl-form button:disabled { opacity: .6; cursor: not-allowed; }
#stl-form-message { color: #6b6660; }

.stl-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.stl-nav button {
  min-height: 40px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.stl-nav button.ghost {
  background: #fff;
  color: #1f2128;
  border-color: #e6d8cc;
}

.stl-nav button:disabled { opacity: .45; cursor: not-allowed; }

.stl-breakdown {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8f3;
  color: #6b6660;
  font-size: 12px;
  line-height: 1.5;
}

/* STL quote page: aim to fit the whole wizard in one viewport.
   The header height is never hardcoded — the body is a flex column and the
   section simply takes whatever is left, so a taller header cannot break it.
   min-height, not height, and no overflow:hidden: a step taller than the
   viewport (or a short window) must scroll, not get silently clipped. */
.stl-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.stl-page main {
  flex: 1;
  min-height: 0;
  display: flex;
}

.stl-page .stl-quote--page {
  flex: 1;
  min-height: 0;
  height: auto;
  padding: clamp(10px, 2vh, 26px) 0;
  /* stretch, not center: the card needs a definite height to shrink against. */
  align-items: stretch;
  border-bottom: 0;
}

/* The wizard's own content caps out around 460px, so anything past that is dead
   space — give the rest of the row to the model. Slightly wider than the header's
   container: this page is a workbench, not an article. */
.stl-page .stl-quote__grid {
  width: min(1460px, calc(100% - 40px));
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 32px;
  min-height: 0;
  align-items: center;
}

/* Width-only, and out-specifies the 720px `1fr` rule above, which this page's
   own selector would otherwise beat and leave two columns on a phone. Not folded
   into the (max-width:900px),(max-height:620px) block below: a short *wide*
   window still wants the model beside the wizard, not under it. */
@media (max-width: 900px) {
  .stl-page .stl-quote__grid {
    width: min(100% - 22px, 1180px);
    grid-template-columns: 1fr;
  }
}

.stl-page .stl-quote__copy {
  align-self: center;
}

/* The viewer sets its own height now, so the card just wraps it — a max-height
   here would clip the results row instead of shrinking anything. */
.stl-page .stl-viewer-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Sized off the viewport, never off the row. Step 3's parts list makes the left
   column much taller than the others, and a flex:1 viewer grew with it — the
   model area visibly jumped between steps. Now every step shows the same frame. */
.stl-page .stl-quote--page .stl-viewer {
  flex: none;
  height: clamp(340px, 58dvh, 660px);
  min-height: 0;
}

.stl-page .stl-results {
  margin: 10px 0;
}

.stl-page .stl-results div {
  min-height: 0;
  padding: 10px 12px;
}

.stl-page .stl-quote__copy h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.08;
}

/* Short or narrow screens: stop forcing one viewport and let the page scroll,
   otherwise the viewer gets crushed to nothing. */
@media (max-width: 900px), (max-height: 620px) {
  .stl-page {
    height: auto;
    overflow: visible;
  }

  .stl-page main { display: block; }

  .stl-page .stl-quote--page {
    padding: 34px 0;
  }

  .stl-page .stl-quote--page .stl-viewer {
    height: clamp(300px, 46vh, 440px);
    flex: none;
  }
}

/* Category filter bar — shown above the product carousel when a category tile is
   clicked. New component: no earlier layer declares these classes. */
.product-filter {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
}

.product-filter__label {
  font-size: 15px;
  color: var(--muted);
}

.product-filter__label strong {
  color: var(--text);
}

.product-filter__clear {
  margin-left: auto;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}

.product-filter__clear:hover {
  box-shadow: 0 12px 24px rgba(255,101,66,.22);
  transform: translateY(-1px);
}

.product-filter__clear:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.products-empty {
  padding: 40px 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---- /urunler catalogue page ---- */
.catalog-head {
  padding: 34px 0 8px;
}
.catalog-head h1 {
  margin: 4px 0 6px;
  font-size: clamp(28px, 3.4vw, 40px);
}
.catalog-head__lead {
  max-width: 640px;
  color: var(--muted);
}

.catalog {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 60px;
}

.catalog__filters {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 18px 18px 8px;
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.filter-head h2 { font-size: 18px; }
.filter-clear {
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.filter-group {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  margin: 0;
}
.filter-group legend {
  font-weight: 700;
  font-size: 14px;
  padding: 0;
  margin-bottom: 10px;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 220px;
  overflow-y: auto;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.filter-check input { accent-color: var(--accent); width: 16px; height: 16px; }
.filter-check--color .color-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: none;
}
.filter-price {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-price input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.filter-empty { color: var(--muted); font-size: 13px; }

.catalog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.catalog-count { color: var(--muted); font-weight: 600; }
.catalog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.catalog-sort select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  cursor: pointer;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

.products--grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

.catalog__filter-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 720px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog__filter-toggle { display: block; }
  .catalog__filters {
    position: static;
    display: none;
  }
  .catalog__filters.open { display: block; }
  .products--grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* Product cards: image + title link through to the detail page; the cart button stays a button. */
.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-card__link h3 { transition: color .15s ease; }
.product-card__link:hover h3 { color: var(--accent); }

/* ---- /urun/:id product detail ---- */
.product-detail {
  padding: 28px 0 20px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb strong { color: var(--text); font-weight: 600; }

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.product-detail__media {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--soft);
}
.product-detail__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.product-detail__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.product-detail__cats .chip { text-decoration: none; }
.product-detail__info h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
  margin-bottom: 12px;
}
.product-detail__price {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.product-detail__price s {
  color: var(--muted);
  font-weight: 500;
  font-size: 18px;
  margin-left: 8px;
}
/* Ölçek seçici — küçük/büyük boy gibi, her biri kendi fiyatıyla. Renk
   noktalarının aksine fiyatı değiştirdiği için okunur bir kart olarak
   gösteriliyor: müşteri neyi seçtiğini ve ne ödeyeceğini bir arada görmeli. */
.product-detail__scales {
  margin-bottom: 18px;
}
.product-detail__scales-title {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}
.scale-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.scale-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 108px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.scale-option strong { font-size: 14px; font-weight: 700; }
.scale-option span { font-size: 13px; font-weight: 700; color: var(--accent); }
.scale-option:hover { border-color: var(--accent); }
.scale-option.active {
  border-color: var(--accent);
  background: #fff6f2;
  box-shadow: inset 0 0 0 1px var(--accent);
}
.product-detail__scale-single {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
/* "120.00 TL'den itibaren" — ölçekli üründe kartta en ucuz fiyat yazıyor. */
.price-from {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
/* Sepette satırın hangi boy olduğu; ürün adının hemen altında. */
.cart-item__scale {
  display: inline-block;
  margin-bottom: 3px;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.product-detail__colors {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}
.product-detail__colors .swatches { display: flex; gap: 7px; }
.product-detail__colors .color-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line);
}
.product-detail__desc {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}
.product-detail__specs {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.product-detail__specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.product-detail__specs span { color: var(--muted); }
.product-detail__specs .spec-in { color: #1f9d55; }
.product-detail__specs .spec-out { color: var(--accent); }

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.qty-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.qty-field input {
  width: 72px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}
#detail-add {
  padding: 13px 26px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}
#detail-add:hover:not(:disabled) {
  box-shadow: 0 14px 28px rgba(255,101,66,.26);
  transform: translateY(-1px);
}
#detail-add:disabled { background: var(--muted); cursor: not-allowed; }
.btn-outline {
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: border-color .2s ease, color .2s ease;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 720px) {
  .product-detail__grid { grid-template-columns: 1fr; }
}

/* ---- Discount / sale indicators ---- */
.product-card { position: relative; }
.discount-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 6px 14px rgba(255,101,66,.3);
}
.product-detail__price .discount-badge {
  position: static;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: none;
}
.product-detail__save {
  display: inline-block;
  margin: -8px 0 18px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,101,66,.1);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* ---- Improved cart drawer ---- */
.cart-item {
  grid-template-columns: 52px 1fr auto;
  align-items: center;
}
.cart-item > img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}
.cart-item__info h3 { margin: 0 0 3px; font-size: 14px; }
.cart-item__info p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-item .cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.cart-item .cart-qty button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.cart-item .cart-qty span { min-width: 18px; text-align: center; font-weight: 600; }
.cart-item__end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.cart-item__end strong { font-size: 14px; }
.cart-item .cart-remove {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.cart-item .cart-remove:hover { color: var(--accent); }
.cart-empty { color: var(--muted); }
.cart-panel__footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 12px;
}
.cart-subtotal { display: flex; justify-content: space-between; font-size: 16px; }
.cart-subtotal strong { color: var(--text); }
.cart-checkout {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.cart-checkout:hover { box-shadow: 0 12px 24px rgba(255,101,66,.24); }
.cart-continue {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* ---- /odeme checkout wizard ---- */
.checkout { padding-bottom: 60px; }
.checkout-title { margin: 30px 0 18px; font-size: clamp(26px, 3vw, 36px); }
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: step;
}
.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.checkout-steps li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
}
.checkout-steps li.active { border-color: var(--accent); color: var(--accent); }
.checkout-steps li.active span { background: var(--accent); color: #fff; }
.checkout-steps li.done span { background: #1f9d55; color: #fff; }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}
.checkout-panel { display: none; }
.checkout-panel.active { display: block; }
.checkout-panel h2 { font-size: 20px; margin-bottom: 16px; }

.checkout-form { display: grid; gap: 14px; margin-top: 4px; }
.checkout-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  color: var(--text);
}
.checkout-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-hint { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.checkout-error {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,101,66,.1);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.checkout-check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
.checkout-check input { width: 16px; height: 16px; accent-color: var(--accent); }

.invoice-type { display: flex; gap: 10px; margin-bottom: 16px; }
.invoice-type__opt {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
.invoice-type__opt input { accent-color: var(--accent); }

.payment-methods { display: grid; gap: 12px; margin-bottom: 16px; }
.payment-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.payment-opt input { accent-color: var(--accent); }
.payment-opt span { display: flex; flex-direction: column; }
.payment-opt small { color: var(--muted); }
.payment-opt--soon { opacity: .55; cursor: not-allowed; }

.checkout-nav {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.checkout-nav button {
  padding: 13px 26px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.checkout-nav button:disabled { background: var(--muted); cursor: not-allowed; }
.checkout-nav button.ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}
#co-next, #co-submit { margin-left: auto; }

.checkout-cart { display: grid; gap: 12px; }
.checkout-item {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.checkout-item img { width: 68px; height: 68px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.checkout-item__info h3 { font-size: 15px; margin: 0 0 3px; }
.checkout-item__info p { color: var(--muted); margin: 0; }
.checkout-item .cart-qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.checkout-item .cart-qty button {
  width: 28px; height: 28px; padding: 0;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; font-size: 15px;
}
.checkout-item .cart-qty span { min-width: 20px; text-align: center; font-weight: 600; }
.checkout-item__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.checkout-item__end strong { font-size: 15px; }
.checkout-item .cart-remove { border: 0; background: none; padding: 0; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }
.checkout-item .cart-remove:hover { color: var(--accent); }

.checkout-summary {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
}
.checkout-summary h2 { font-size: 18px; margin-bottom: 16px; }
.summary-items { display: grid; gap: 8px; margin-bottom: 16px; }
.summary-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text); }
/* Özetteki ölçek adı — "2 × Ejderha (Büyük boy)". */
.summary-item em { font-style: normal; color: var(--muted); }
.summary-empty { color: var(--muted); }
.summary-line { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.summary-total strong { font-size: 20px; color: var(--accent); }
.summary-back { display: inline-block; margin-top: 14px; color: var(--muted); text-decoration: none; font-size: 14px; }
.summary-back:hover { color: var(--accent); }

.checkout-result { margin-top: 20px; }
.checkout-success {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid #bfe6cd;
  border-radius: 14px;
  background: rgba(31,157,85,.08);
}
.checkout-success strong { font-size: 20px; }
.checkout-success .btn-outline { justify-self: start; margin-top: 6px; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
}
@media (max-width: 460px) {
  .checkout-form__row { grid-template-columns: 1fr; }
}

/* KDV + kargo notes */
.summary-line--muted { color: var(--muted); font-size: 14px; padding: 6px 0; }
.summary-line--muted span { color: var(--muted); }
.summary-shipping { font-weight: 600; color: var(--text); }
.summary-note { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.cart-note { margin: -4px 0 0; font-size: 12px; color: var(--muted); }
.cart-note--qualified,
.summary-note--qualified { color: #1f8f67; font-weight: 700; }
.product-detail__tax { margin: -8px 0 18px; font-size: 13px; color: var(--muted); }
.checkout-success__note { color: var(--muted); font-size: 14px; }

/* ---- Static content pages (Hakkında / İletişim) ---- */
.page-hero { padding: 40px 0 10px; }
.page-hero h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 6px 0 12px; }
.page-lead { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.page-content { padding: 20px 0 60px; }
.page-prose { max-width: 780px; }
.page-prose h2 { font-size: 22px; margin: 30px 0 12px; }
.page-prose p { line-height: 1.7; margin-bottom: 14px; }
.page-prose ul { margin: 0 0 18px; padding-left: 20px; line-height: 1.8; }
/* Not a bare `a`: this selector outranks `.btn-solid` (0,1,1 vs 0,1,0) and was
   painting the CTA's label accent-on-accent, i.e. an orange button with no text. */
.page-prose a:not(.btn-solid):not(.btn-outline) { color: var(--accent); }
.placeholder {
  padding: 12px 16px;
  border: 1px dashed var(--accent);
  border-radius: 10px;
  background: rgba(255,101,66,.06);
  color: var(--muted);
  font-style: italic;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 8px 0 20px;
}
.about-value {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.about-value strong { display: block; margin-bottom: 4px; }
.about-value span { color: var(--muted); font-size: 14px; }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-solid {
  padding: 13px 26px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn-solid:hover { box-shadow: 0 14px 28px rgba(255,101,66,.26); }

.contact-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 24px 0 60px;
}
.contact-info { display: grid; gap: 12px; }

/* iletisim.js hides a card whose value is unset — without this the flex
   display below would win over the hidden attribute and show it anyway. */
.contact-item[hidden] { display: none; }

.contact-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.contact-card:hover {
  border-color: #f0c3ae;
  box-shadow: 0 10px 24px rgba(31,33,40,.07);
  transform: translateY(-1px);
}
.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff3ee;
  color: var(--accent);
}
.contact-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.contact-card__body { min-width: 0; }
.contact-card__body small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.contact-item h3 { font-size: 13px; margin: 0 0 3px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.contact-item p { color: var(--text); margin: 0; font-size: 15px; font-weight: 700; word-break: break-word; }

/* Stretch the injected link over the whole card so the entire tile is the
   click target. Excluded on the social card, which injects several links. */
.contact-card:not(.contact-card--social) p a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* WhatsApp is the channel we want people to use, so it leads in its own colour. */
.contact-card--wa {
  border-color: rgba(37,211,102,.4);
  background: linear-gradient(180deg, rgba(37,211,102,.07), rgba(37,211,102,.02));
}
.contact-card--wa:hover { border-color: var(--whatsapp); }
.contact-card--wa .contact-card__icon {
  background: var(--whatsapp);
  color: #fff;
}
.contact-card--wa .contact-card__icon svg { fill: currentColor; stroke: none; }
.contact-card--wa p a { color: #16794a !important; }

.contact-card--social p a { font-weight: 700; }

.contact-aside {
  display: block;
  margin-top: 4px;
  padding: 16px;
  border: 1px dashed #f0c3ae;
  border-radius: 14px;
  background: #fffaf7;
}
.contact-aside:hover { background: #fff3ee; }
.contact-aside strong { display: block; margin-bottom: 4px; color: var(--accent); font-size: 14px; }
.contact-aside span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: #fff;
}
.contact-form h2 { font-size: 22px; margin-bottom: 0; }
.contact-form__lead {
  margin: -8px 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.contact-form__lead a { color: var(--accent); font-weight: 700; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,101,66,.14);
}
.contact-form button:hover:not(:disabled) { box-shadow: 0 14px 28px rgba(255,101,66,.26); }
.contact-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  color: var(--text);
}
.contact-form button {
  justify-self: start;
  padding: 13px 30px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.contact-form button:disabled { background: var(--muted); cursor: not-allowed; }
.contact-status { margin: 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.contact-status--ok { background: rgba(31,157,85,.1); color: #1f9d55; }
.contact-status--err { background: rgba(255,101,66,.1); color: var(--accent); }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* "+ KDV" price note (prices are KDV-hariç; VAT is added at checkout) */
.price-tax { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.product-detail__price .price-tax { font-size: 14px; }

/* ---- SSS / FAQ accordion ---- */
.faq-list { max-width: 780px; display: grid; gap: 12px; padding: 8px 0 60px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 46px 16px 18px;
  position: relative;
  font-weight: 600;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--accent); }
.faq-answer { padding: 0 18px 18px; color: var(--muted); line-height: 1.7; }
.faq-answer a { color: var(--accent); }

/* ---- Live stats strip in the offers band (real catalogue numbers) ---- */
.cyber__live {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 22px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.28);
}
.cyber__live div { text-align: center; }
.cyber__live dt {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}
.cyber__live dd {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

/* ---- Sale band — its own full-width section so discounts read as an event ---- */
.sale-band {
  margin: 28px 0;
  padding: 38px 0 44px;
  /* Soft falloff, not a hard-edged circle — a stop pair reads as a stray blob. */
  background:
    radial-gradient(60% 90% at 6% 0%, rgba(255,101,66,.14), transparent 70%),
    linear-gradient(180deg, #fff4ee, #fffaf6);
  border-block: 1px solid #ffe0d2;
}
.sale-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.sale-band__head h2 {
  margin: 4px 0 6px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}
.sale-band__lead {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
}
.sale-band__all {
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.sale-band__all:hover { box-shadow: 0 14px 28px rgba(255,101,66,.3); }

/* Sale cards sit on a tinted band, so they get a solid card + a louder badge. */
.products--sale .product-card {
  border-color: #ffd4c2;
  box-shadow: 0 10px 26px rgba(255,101,66,.1);
}
.products--sale .discount-badge {
  transform: scale(1.12);
  transform-origin: left top;
  box-shadow: 0 6px 14px rgba(255,101,66,.35);
}

/* ---- Star ratings ---- */
.stars {
  color: #f5a623;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px;
  font-size: 13px;
}
.card-rating small { color: var(--muted); font-size: 11px; }

.product-detail__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}
.product-detail__rating:hover span { color: var(--accent); }
.product-detail__rating--empty .stars { color: #d9d5d0; }

/* ---- Reviews ---- */
.reviews-section { padding: 20px 0 10px; }
.reviews-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.reviews-summary {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.reviews-summary__score {
  display: block;
  font-size: 46px;
  line-height: 1;
  color: var(--text);
}
.reviews-summary .stars { display: block; margin: 8px 0 4px; font-size: 18px; }
.reviews-summary__count { color: var(--muted); font-size: 13px; }
.reviews-summary__cta { margin: 10px 0 0; color: var(--accent); font-size: 13px; font-weight: 700; }
.reviews-bars { display: grid; gap: 6px; margin-top: 16px; }
.reviews-bar {
  display: grid;
  grid-template-columns: 26px 1fr 20px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.reviews-bar__track {
  height: 6px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}
.reviews-bar__track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #f5a623;
}
.reviews-bar__n { text-align: right; }

.review-list { display: grid; gap: 14px; margin-bottom: 26px; }
.review {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.review__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.review__head strong { font-size: 15px; }
.review__date { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.review p { margin: 8px 0 0; line-height: 1.6; }

.review-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.review-form h3 { margin: 0; font-size: 18px; }
.review-form__note { margin: -6px 0 2px; color: var(--muted); font-size: 13px; }
.review-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  color: var(--text);
}
.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,101,66,.14);
}
.review-form button {
  justify-self: start;
  padding: 13px 30px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.review-form button:hover:not(:disabled) { box-shadow: 0 14px 28px rgba(255,101,66,.26); }
.review-form button:disabled { background: var(--muted); cursor: not-allowed; }

/* Star picker. The inputs are laid out 5→1 so the CSS sibling combinator can
   light up the hovered star and every one before it. */
.star-input {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
.star-input legend {
  margin-bottom: 6px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
}
/* The row, not the fieldset, is the flex container: a legend inside a flex box
   becomes a flex item and row-reverse throws it to the end of the stars. */
.star-input__row {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}
/* pointer-events:none is load-bearing: these sit under the labels and would
   otherwise swallow the click, selecting whichever star happens to overlap. */
.star-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.star-input label {
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  color: #ddd8d2;
  transition: color .15s ease, transform .15s ease;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: #f5a623;
}
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (max-width: 820px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ---- Homepage rhythm: three different product treatments ----
   The page used to be four identical 5-across grids stacked on each other. */

/* 1. Feature panel + 2x2 quad */
/* Centred, not stretched: stretching made the panel's photo a 350x620 portrait
   crop, and top-aligning left it a stub against a much taller quad. */
.featured-split {
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px 0;
}
.feature-panel {
  overflow: hidden;
  border: 1px solid #ffdccd;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff6f1, #fff);
  box-shadow: 0 16px 34px rgba(255,101,66,.1);
}
.feature-panel__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff8f3;
}
.feature-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.feature-panel:hover .feature-panel__media img { transform: scale(1.04); }
.feature-panel__body { padding: 18px 20px 22px; }
.feature-panel__body h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}
.feature-panel__body h3 a { color: var(--text); }
.feature-panel__body h3 a:hover { color: var(--accent); }
.feature-panel__price {
  margin: 10px 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.feature-panel__price s {
  margin-left: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}
.feature-panel__body button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-panel__body button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255,101,66,.3);
}

/* Two up, two down — the "küp" block. At two-across each card is ~420px wide, so
   the stock card aspect ratio made the block twice the panel's height; a fixed
   image height keeps the section compact. */
.products--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.products--quad .product-card img {
  height: 210px;
  aspect-ratio: auto;
  object-fit: cover;
}

/* 2. Ranked row — the position is the point, so number it. */
.products--ranked { counter-reset: rank; }
.products--ranked .product-card { counter-increment: rank; }
.products--ranked .product-card::before {
  content: counter(rank);
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1f2128;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(31,33,40,.28);
}
/* Top three lead in the accent colour; the rest stay neutral. */
.products--ranked .product-card:nth-child(-n+3)::before { background: var(--accent); }

/* 3. Compact list rows on a tinted band */
.recommend-band {
  margin-top: 10px;
  padding: 36px 0 42px;
  background: #fff8f3;
  border-block: 1px solid #ffe6da;
}
.products--list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.products--list .product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
}
.products--list .product-card:hover { border-color: #f0c3ae; }
.products--list .product-card__link {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.products--list .product-card img {
  flex: none;
  width: 68px;
  height: 68px;
  aspect-ratio: auto;
  border-radius: 10px;
  object-fit: cover;
}
.products--list .product-card h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}
.products--list .product-card p {
  flex: none;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
/* Swatches and the star row would push the row to two lines for no gain here. */
.products--list .swatches,
.products--list .card-rating { display: none; }
.products--list .product-card button {
  flex: none;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}
.products--list .discount-badge { display: none; }

@media (max-width: 1050px) {
  .featured-split { grid-template-columns: 1fr; }
  .feature-panel__media { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .products--list { grid-template-columns: 1fr; }
  .products--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 460px) {
  .products--list .product-card { flex-wrap: wrap; }
  .products--list .product-card button { width: 100%; }
}

/* ---- Checkout campaigns: coupon box, discount/gift lines, incentive nudge ---- */
.coupon-box {
  margin: 14px 0 4px;
  padding: 14px;
  border: 1px dashed #f0c3ae;
  border-radius: 12px;
  background: #fffaf7;
}
.coupon-box label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.coupon-box__row { display: flex; gap: 8px; }
.coupon-box__row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  font: inherit;
  text-transform: uppercase;
}
.coupon-box__row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,101,66,.14);
}
.coupon-box__row button {
  flex: none;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: #1f2128;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.coupon-box__row button:hover { background: var(--accent); }
.coupon-box__msg { margin: 8px 0 0; font-size: 13px; font-weight: 600; }
.coupon-box__msg--ok { color: #1f9d55; }
.coupon-box__msg--err { color: var(--accent); }

.summary-campaigns:empty { display: none; }
.summary-line--discount { color: #1f9d55; font-weight: 700; }
.summary-line--discount span { color: #1f9d55; }
.summary-line--gift { color: var(--accent); font-weight: 700; }
.summary-line--gift span { color: var(--accent); }

/* The nudge that turns a near-miss into a bigger basket. */
.summary-incentive {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff3ee;
  color: #a3502f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* ==========================================================================
   MOBİL VE TABLET DÜZENİ
   Önceki katmanlarda header, logo / menü / aksiyonlar diye ayrı satırlara
   bölünüyordu: 375px'lik bir telefonda 302px, tablette 216px yer kaplıyor,
   içerik başlamadan ekranın yarısı gidiyordu. Burada header iki satıra
   indiriliyor ve hero okunabilir hale getiriliyor.
   ========================================================================== */

/* ---- Tablet ve altı: header = [logo | aksiyonlar] + [menü] ---- */
@media (max-width: 1050px) {
  .header-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding: 10px 0;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  /* Aksiyonlar logonun yanında kalır; sarmalanıp ikinci satıra düşmez. */
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 0;
  }

  /* Menü tam genişlikte kendi satırında, yatay kaydırmalı. */
  .main-links {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    transform: none;
    justify-self: stretch;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .main-links::-webkit-scrollbar { display: none; }
  .main-links a { white-space: nowrap; }

  /* Hero: fotoğrafın üstündeki beyaz yazı tablette okunmuyordu.
     Telefonda olduğu gibi görselin altına, koyu zemine alınıyor. */
  .hero__slider {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .hero__slider::before,
  .hero__slider::after { display: none; }

  .hero__slides {
    position: relative;
    height: clamp(220px, 34vw, 320px);
  }

  .hero__slide { border-radius: 0; }

  .hero__copy {
    position: static;
    width: auto;
    padding: 22px 20px 26px;
    background: #1f2128;
  }

  .hero__copy h1 { font-size: clamp(24px, 4.4vw, 34px); }
  .hero__copy > span { font-size: 15px; }

  /* Katalog: sabit 260px'lik filtre paneli tablette ürünlere ~430px bırakıyor,
     ürünler tek dev sütuna düşüyordu. Telefondaki açılır panel tablette de
     kullanılıyor, ızgara tam genişliği alıyor. */
  .catalog { grid-template-columns: 1fr; }
  .catalog__filter-toggle { display: block; }

  .catalog__filters {
    position: static;
    display: none;
  }

  .catalog__filters.open { display: block; }

  .products--grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* ---- Telefon ---- */
@media (max-width: 720px) {
  /* Tek sütuna düşürmüyoruz: logo ve aksiyonlar aynı satırda kalmalı. */
  .header-main {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 8px 0;
  }

  /* Menüde zaten "3D Baskı Teklifi" var; header'daki büyük buton
     telefonda yer kaplamaktan başka bir işe yaramıyor. */
  .header-quote { display: none; }

  .logo span { font-size: 20px; }
  .logo img { height: 28px; }

  /* Telefonda 180px'lik minimum tek sütuna düşürüyordu; 150px ile iki sütun
     kalıyor. (Yukarıdaki tablet kuralı bu satır olmadan burayı da eziyor.) */
  .products--grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  .icon-button {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  /* Dar ekranda iki buton alt alta ve eşit genişlikte.
     .btn'de width: fit-content var; grid onu tek başına esnetemiyor. */
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Küçük telefon ---- */
@media (max-width: 460px) {
  .logo span { font-size: 18px; }

  /* Arama ve hesap ikonu daralan alanda taşmasın; sepet kalır. */
  .search-toggle,
  .admin-link { display: none; }

  .hero__copy { padding: 18px 16px 22px; }
  .hero__copy h1 { font-size: 23px; }
  .hero__copy > span { font-size: 14px; }
}

/* ==========================================================================
   MOBİL: HAMBURGER MENÜ, KARÜSEL, KATEGORİLER, BÜLTEN
   ========================================================================== */

/* Hamburger butonu — masaüstünde gizli. */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ffe0d2;
  border-radius: 12px;
  background: #fff8f3;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--accent);
  transition: transform .22s ease, opacity .18s ease;
}

/* Açıkken çarpıya dönüşür. */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.newsletter__msg {
  margin: 12px auto 0;
  max-width: 420px;
  font-size: 14px;
  font-weight: 600;
}
.newsletter__msg--ok { color: #1f9d55; }
.newsletter__msg--err { color: var(--accent); }

@media (max-width: 1050px) {
  /* Menü artık yatay kaydırmalı şerit değil, açılır panel.
     Kaydırmalı şeritte menünün sağı ekran dışında kalıyor ve fark edilmiyordu. */
  .nav-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 4px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    margin-right: 48px;   /* hamburgere yer bırak */
  }

  .main-links {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow: visible;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(31,33,40,.1);
  }

  .main-links.open { display: flex; }

  .main-links a {
    padding: 12px 14px;
    border-radius: 10px;
    text-align: left;
  }

  .main-links a.active { background: #fff3ee; }

  /* Kategoriler: mobilde büyük kartlar sayfayı uzatıyordu.
     Küçük, iki sütunlu ve yatay dizilimli hale getiriliyor. */
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
  }

  .category-card__media {
    flex: 0 0 56px;
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .category-card__body { padding: 0 10px 0 0; }
  .category-card__body strong { font-size: 13px; line-height: 1.2; }
  .category-card__body small { font-size: 11px; }
}

@media (max-width: 720px) {
  /* Karüsel yerine ızgara: parmakla yatay kaydırma mobilde güvenilir çalışmıyor
     (scroll-behavior: smooth ile çakışıyor) ve okları da gizliydi — 16 üründen
     yalnızca ikisi görülebiliyordu. İlk dört ürün ızgarada, gerisi "Tümünü gör". */
  .products--carousel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    scroll-snap-type: none;
    scroll-behavior: auto;
    padding: 0;
  }

  .products--carousel .product-card { flex: initial; }
  .products--carousel .product-card:nth-child(n + 5) { display: none; }

  /* Diğer ürün satırları da mobilde dörtle sınırlı: sayfa yarı yarıya kısalıyor. */
  .products--ranked .product-card:nth-child(n + 5),
  .js-featured .product-card:nth-child(n + 5) { display: none; }

  /* Bülten: buton input'un altında ve tam genişlikte, dokunma hedefi büyük. */
  .newsletter form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
    min-height: 48px;
  }

  .newsletter button { font-size: 15px; }
}

@media (max-width: 460px) {
  /* Küçük telefonda kategoriler tek sütun ama yine yatay dizilimli. */
  .category-grid { grid-template-columns: 1fr; }
}

/* ---- Mobilde sayfa uzunluğu ----
   460px altında ürün ızgaraları tek sütuna düşüyordu: kartlar 520px boyuna
   ulaşıyor, ana sayfa 13 ekran sürüyordu. 390px'lik bir telefonda iki sütun
   rahatça sığıyor ve sayfa yarıya iniyor. */
@media (max-width: 460px) {
  .products,
  .products--four,
  .products--grid,
  .products--carousel,
  .products--ranked,
  .products--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card { padding: 10px; }
  .product-card h3 { font-size: 13px; line-height: 1.3; }
  .product-card p { font-size: 13px; }
  .product-card button { min-height: 36px; font-size: 12px; padding: 0 10px; }

  /* Hizmet ve "neden biz" şeritleri: tek sütun yerine ikili. */
  .service-grid,
  .why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-grid div { border-bottom: 0; }

  /* Footer sütunları ikili; alt alta beş blok gereksiz uzuyordu. */
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 720px) {
  /* Bölüm boşlukları mobilde daha sıkı. */
  .product-section { padding: 22px 0; }
  .featured-split { padding: 20px 0; gap: 16px; }
  .sale-band { padding: 24px 0 28px; }
  .recommend-band { padding: 24px 0 28px; }
  .categories { padding: 20px 0; }
  .cyber .container { padding: 26px 0; }
  .why .container { padding: 26px 0; }

  .section-title { margin-bottom: 14px; }
  .section-title h2 { font-size: clamp(20px, 5.5vw, 26px); }

  /* İndirim ve öneri bölümlerinde de dört ürün yeterli. */
  .js-sale .product-card:nth-child(n + 5),
  .js-recommended .product-card:nth-child(n + 5) { display: none; }
}

@media (max-width: 720px) {
  /* "Haftanın seçimi" paneli mobilde kare görselle ~400px alıyordu;
     yatay görsel yeterli. */
  .feature-panel__media { aspect-ratio: 16 / 10; }
  .feature-panel__body { padding: 14px 16px 16px; }
  .feature-panel__body h3 { font-size: 17px; }
  .feature-panel__price { margin: 6px 0 12px; font-size: 19px; }

  /* Ana sayfadaki STL tanıtımının demo görüntüleyicisi mobilde gereksiz uzun. */
  .stl-quote:not(.stl-quote--page) .stl-viewer { height: 200px; }
  .stl-quote:not(.stl-quote--page) .stl-results { margin: 8px 0; }
  .stl-quote__grid { gap: 18px; }
}

@media (max-width: 720px) {
  /* Küp bloğu için masaüstünde sabitlenen 210px'lik görsel yüksekliği dar
     ekranda kartı orantısız uzatıyordu; oran tabanlıya dönüyor. */
  .products--quad .product-card img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 720px) {
  /* Hero görselleri kapsayıcıyı birkaç piksel aşıp sayfayı yatay
     kaydırılabilir yapıyordu. */
  .hero__slide {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 460px) {
  /* İki sütunlu dar kartta "299.00 TL 349.00 TL + KDV" tek satıra sığmıyor
     ve taşıyordu; alt satıra inebilsin. */
  .product-card p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 5px;
    min-width: 0;
  }

  .product-card p s { font-size: 12px; }
  .price-tax { white-space: normal; }
}

@media (max-width: 1050px) {
  /* Hero görselinde transform: scale(1.015) var; düzen genişliği doğru olsa da
     boyanan kutu birkaç piksel taşıp sayfayı yatay kaydırılabilir yapıyordu.
     Efekti korumak için taşan kısmı kırpıyoruz. */
  .hero__slides { overflow: hidden; }
}

@media (max-width: 460px) {
  /* Kompakt liste satırında fiyata nowrap verilmişti; indirimli üründe
     "249.00 TL 299.00 TL + KDV" tek satıra sığmayıp sayfayı yatay
     kaydırılabilir yapıyordu. (Bu seçici .product-card p'den daha özgül
     olduğu için genel mobil kuralı onu ezemiyordu.) */
  .products--list .product-card p {
    white-space: normal;
    flex: 0 1 auto;
    min-width: 0;
    font-size: 13px;
    text-align: right;
  }
}

/* ---- "Sizin İçin Önerilenler" kompakt satırları ----
   Yukarıdaki 460px kuralında `.products` seçicisi bu bölümü de yakalayıp iki
   sütunlu ızgaraya sokuyordu: yatay satır 171px'e sıkışınca isim, fiyat ve
   buton üst üste biniyordu. Liste her zaman tek sütun kalmalı. */
@media (max-width: 460px) {
  .products--list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Satır: solda görsel, sağında isim ve altında fiyat, en altta buton.
     İsim ile fiyat AYRI satırlarda olmalı — aynı hücreye konursa üst üste
     binerler. */
  .products--list .product-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "gorsel isim"
      "gorsel fiyat"
      "buton  buton";
    align-items: center;
    gap: 2px 12px;
    padding: 10px 12px;
  }

  .products--list .product-card__link {
    grid-area: isim;
    display: block;
    align-self: end;
    min-width: 0;
  }

  .products--list .product-card img {
    grid-area: gorsel;
    width: 56px;
    height: 56px;
    align-self: center;
  }

  .products--list .product-card h3 {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
  }

  .products--list .product-card p {
    grid-area: fiyat;
    align-self: start;
    margin: 0;
    text-align: left;
    font-size: 13px;
  }

  .products--list .product-card button {
    grid-area: buton;
    width: 100%;
    min-height: 38px;
    margin-top: 8px;
  }
}

/* ---- Mobilde hero ve altındaki güven şeridi ----
   Hero yazıları birbirine yapışıktı; şerit ise ortalanmış üç satır halinde
   dağınık duruyordu (her satır farklı genişlikte, aralık yok). */
@media (max-width: 720px) {
  .hero__copy {
    padding: 26px 20px 30px;
  }

  .hero__copy h1 {
    margin: 0 0 12px;
    line-height: 1.18;
  }

  .hero__copy > span {
    display: block;
    margin-bottom: 22px;
    line-height: 1.55;
    color: rgba(255,255,255,.82);
  }

  .hero__slides { height: clamp(240px, 42vw, 300px); }

  /* Şerit: ortalanmış ragged satırlar yerine sola hizalı, ayraçlı liste. */
  .promise-bar__grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 4px 0;
    text-align: left;
  }

  .promise-bar__grid div {
    display: flex;
    align-items: center;
    padding: 12px 2px;
    font-size: 14px;
    line-height: 1.35;
  }

  .promise-bar__grid div + div {
    border-top: 1px solid #f2ece5;
  }

  .promise-bar__grid div::before {
    flex: 0 0 8px;
    margin-right: 11px;
    vertical-align: 0;
  }
}

/* ---- Filtre paneli: mobilde tam ekran katman ----
   Önceden sayfa içinde açılıyordu: 765px'lik panel içeriği aşağı itiyor,
   kullanıcı seçim yaptıktan sonra sonucu görmek için uzun uzun kaydırmak
   zorunda kalıyordu. */
.filter-close,
.filter-apply-bar { display: none; }

@media (max-width: 1050px) {
  .filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(31,33,40,.45);
  }

  .catalog__filters.open {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 61;
    display: flex;
    flex-direction: column;
    max-height: 88vh;
    margin: 0;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -12px 40px rgba(31,33,40,.22);
    animation: filterUp .22s ease;
  }

  @keyframes filterUp {
    from { transform: translateY(14px); opacity: .6; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* Başlık sabit kalsın, ortadaki alan kaysın, buton altta sabitlensin. */
  .catalog__filters.open .filter-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .catalog__filters.open .filter-head h2 { margin: 0; font-size: 18px; }
  .catalog__filters.open .filter-clear { margin-left: auto; }

  .filter-close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .catalog__filters.open form {
    flex: 1;
    overflow-y: auto;
    padding: 14px 18px 8px;
  }

  .filter-apply-bar {
    display: block;
    position: sticky;
    bottom: 0;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .filter-apply {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
  }

  .filter-apply:active { transform: translateY(1px); }

  /* Panel açıkken arka plan kaymasın. */
  body.filters-open { overflow: hidden; }
}

/* ---------- Yasal sayfalar (mesafeli satış, iade, gizlilik) ----------
   Sözleşme metni okunmak için var: ölçülü satır uzunluğu, net başlık
   hiyerarşisi ve eksik bilgiyi gizlemek yerine gösteren bir uyarı dili. */
.legal-page { max-width: 820px; padding-bottom: 60px; }
.legal-page h2 {
  margin: 38px 0 12px;
  font-size: clamp(19px, 2vw, 23px);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.legal-page h3 { margin: 22px 0 8px; font-size: 16px; color: var(--text); }
.legal-page ol { margin: 0 0 18px; padding-left: 20px; line-height: 1.8; }
.legal-page li { margin-bottom: 6px; }
.legal-page code {
  background: var(--soft);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.92em;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 15px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 10px 13px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.legal-table thead th { background: var(--soft); font-weight: 700; }
/* Satıcı künyesi: etiket sütunu dar ve sakin, değer sütunu okunaklı. */
.legal-table--seller th {
  width: 190px;
  background: var(--soft);
  font-weight: 600;
  color: var(--muted);
}

.legal-missing {
  color: #b4232a;
  background: #fdeced;
  padding: 2px 8px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
}

.legal-warning {
  background: #fff6ed;
  border: 1px solid #ffd9b8;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 22px;
}
.legal-warning p:last-child { margin-bottom: 0; }
.legal-warning ul { margin-bottom: 12px; }
.legal-warning-title { color: #b4232a; }
/* Yöneticinin doldurması gereken eksik: müşteriye değil sahibine sesleniyor. */
.legal-warning--admin { background: #fdeced; border-color: #f3c2c5; border-left-color: #b4232a; }

.legal-note {
  background: var(--soft);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.legal-address {
  background: var(--soft);
  border-radius: 10px;
  padding: 14px 16px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.legal-updated {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  /* Künye tablosu dar ekranda yan yana sığmıyor: satırları alt alta aç. */
  .legal-table--seller,
  .legal-table--seller tbody,
  .legal-table--seller tr,
  .legal-table--seller th,
  .legal-table--seller td { display: block; width: auto; }
  .legal-table--seller tr { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .legal-table--seller th { border: 0; padding-bottom: 2px; font-size: 13px; }
  .legal-table--seller td { border: 0; padding-top: 2px; }
  /* Veri tablosu (gizlilik) yatay kaydırılsın, sayfayı taşırmasın. */
  .legal-page .legal-table:not(.legal-table--seller) { display: block; overflow-x: auto; white-space: nowrap; }
}

/* Sepet bilgilendirmesi — ödeme sayfası açılırken fiyat değiştiyse veya ürün
   katalogdan kalktıysa çıkar. Hata değil, bu yüzden kırmızı değil sarı. */
.cart-notice {
  display: grid;
  gap: 8px;
  background: #fff8e6;
  border: 1px solid #f5dfa8;
  border-left: 4px solid #e5a83a;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.6;
}
.cart-notice[hidden] { display: none; }

/* ---------- Ürün galerisi (detay sayfası) ----------
   Çerçeve artık kapsayıcıda değil ana görselde: aksi halde kenarlık küçük
   resimleri de içine alıyor ve overflow:hidden yatay kaydırmayı kesiyordu. */
.product-detail__media {
  border: 0;
  background: transparent;
  overflow: visible;
}
.gallery-main {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--soft);
}
.gallery-main img {
  width: 100%;
  display: block;
  border-radius: 18px;
  background: var(--soft);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.gallery-thumb {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
  cursor: pointer;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Rengin kendi fotoğrafı varsa nokta bir butondur — tıklanabilir olduğu
   görünsün diye hafifçe büyür ve seçiliyken halka alır. */
.color-dot--action {
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.color-dot--action:hover { transform: scale(1.15); }
.color-dot--action.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.color-dot--action:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 720px) {
  .gallery-thumb { width: 62px; height: 62px; }
}

/* ---------- Katalog ----------
   Hem ekranda gezilebilir hem de kâğıda/PDF'e düzgün çıkabilmesi gerekiyor:
   toplu alım yapan müşteri çoğu zaman listeyi indirip birine gönderiyor. */
.catalog-hero .catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.catalog-toolbar-wrap { margin-bottom: 18px; }
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.catalog-toolbar input[type="search"] {
  flex: 1 1 260px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}
.catalog-toolbar select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.catalog-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.catalog-check input { width: 17px; height: 17px; cursor: pointer; }
.catalog-count { margin-top: 10px; color: var(--muted); font-size: 14px; }

.catalog-general {
  background: var(--soft);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.catalog-general h2 { font-size: 18px; margin-bottom: 10px; }
.catalog-general ul { margin: 0; padding-left: 20px; line-height: 1.9; }

.catalog-body { display: grid; gap: 18px; }
.catalog-loading { color: var(--muted); padding: 30px 0; }

.catalog-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  break-inside: avoid;          /* yazdırırken ürün ikiye bölünmesin */
}
.catalog-item__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--soft);
  display: block;
}
/* Grid öğelerinin varsayılan min-width:auto değeri, içerideki kademe tablosunun
   küçülmesini engelliyordu: tablo kendi içinde kayacağına kartı genişletip
   sayfayı yatay taşırıyordu (mobilde 99px). min-width:0 bu kilidi açar. */
.catalog-item__media,
.catalog-item__body { min-width: 0; }
.catalog-item__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.catalog-item h3 { font-size: 19px; margin: 0 0 6px; }
.catalog-item h3 a { color: inherit; text-decoration: none; }
.catalog-item h3 a:hover { color: var(--accent); }
.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.catalog-meta span { background: var(--soft); border-radius: 6px; padding: 2px 8px; }
.catalog-price {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}
.catalog-price s { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.catalog-price small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.catalog-desc { margin: 10px 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

.catalog-colors { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.catalog-color {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  background: var(--soft);
  border-radius: 20px;
  padding: 4px 12px 4px 6px;
}
.catalog-nocolor { font-size: 13px; color: var(--muted); margin: 12px 0; }

.catalog-tiers {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}
.catalog-tiers th,
.catalog-tiers td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.catalog-tiers thead th { background: var(--soft); font-weight: 700; }
.catalog-num { text-align: right; white-space: nowrap; }
.catalog-save { color: #1f9254; font-weight: 700; }
.catalog-code {
  background: var(--blue);
  color: #fff;
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 600;
}
.catalog-notier { margin-top: 12px; font-size: 14px; color: var(--muted); }

.catalog-footnote {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.catalog-updated { margin-top: 8px; font-style: italic; }

@media (max-width: 720px) {
  .catalog-item { grid-template-columns: 1fr; }
  .catalog-item__media img { max-width: 220px; }
  .catalog-price { font-size: 19px; }
  /* Kademe tablosu dar ekranda sayfayı taşırmasın. */
  .catalog-tiers { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- Katalog: görünüm seçimi ---------- */
.catalog-views {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.catalog-views button {
  border: 0;
  background: #fff;
  padding: 11px 18px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.catalog-views button.active { background: var(--blue); color: #fff; }
.catalog-views button + button { border-left: 1px solid var(--line); }

/* Ekranda kart mı tablo mu — gövdedeki sınıf karar veriyor. */
.catalog-table-view { display: none; }
body.catalog-view-table .catalog-body { display: none; }
body.catalog-view-table .catalog-table-view { display: block; overflow-x: auto; }

/* ---------- Katalog: yoğun fiyat listesi tablosu ---------- */
.catalog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.catalog-table th,
.catalog-table td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: middle;
}
.catalog-table thead th {
  background: var(--soft);
  font-weight: 700;
  white-space: nowrap;
  position: sticky;
  top: 0;
}
.catalog-table tbody tr:nth-child(even) { background: #fafbfe; }
.catalog-tname { font-weight: 600; }
.catalog-tcolors { color: var(--muted); font-size: 13px; }
.catalog-empty { color: #c9ccd6; }

/* ---------- Katalog: yazdırma / PDF ----------
   Kâğıtta ne kart ne tablo basılıyor; ikisi de kendi yerinde iyi ama biri
   metrelerce sürüyor, diğeri görselsiz kalıyordu. PDF için satır düzeni:
   numara → görsel → ad → fiyat, katlaç kataloğuyla aynı dil. */
.catalog-print-view { display: none; }

@page {
  size: A4 portrait;
  margin: 12mm 14mm;
}

@media print {
  .site-header,
  .footer,
  .no-print,
  .catalog-actions,
  .chat,
  .cart-panel,
  .search-popover,
  .catalog-body,
  .catalog-table-view,
  .catalog-general,
  .catalog-hero .section-kicker,
  .catalog-hero .page-lead,
  .catalog-hero h1,
  .catalog-footnote { display: none !important; }

  body { background: #fff; }
  .page-hero { padding: 0; margin: 0; }
  .catalog-print-view { display: block !important; }

  /* --- başlık --- */
  .print-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8mm;
    padding-bottom: 3mm;
    border-bottom: 0.6mm solid var(--text);
    margin-bottom: 4mm;
  }
  .print-brand { display: flex; align-items: center; gap: 2.5mm; }
  .print-mark {
    width: 9mm;
    height: 9mm;
    display: grid;
    place-items: center;
    /* Panelin ve katlaç kataloğunun marka işaretiyle aynı asimetrik köşe. */
    border-radius: 2.6mm 2.6mm 4.8mm 2.6mm;
    background: var(--accent);
    color: #fff;
    font-size: 13pt;
    font-weight: 800;
    line-height: 1;
  }
  .print-name {
    font-size: 17pt;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .print-meta { text-align: right; }
  .print-meta h1 { margin: 0; font-size: 12pt; font-weight: 700; color: var(--text); }
  .print-meta p { margin: 1mm 0 0; font-size: 8pt; color: var(--muted); }

  .print-campaigns {
    margin-bottom: 3mm;
    padding: 2mm 3mm;
    border: 0.2mm solid #bbb;
    border-radius: 1.5mm;
    font-size: 8pt;
    line-height: 1.5;
  }
  .print-campaigns[hidden] { display: none; }

  /* --- satırlar --- */
  .print-row {
    display: grid;
    grid-template-columns: 7mm 30mm 1fr auto;
    align-items: center;
    gap: 4mm;
    padding: 2mm 0;
    border-bottom: 0.2mm solid #ddd;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .print-row__no {
    font-size: 8pt;
    font-weight: 700;
    color: #b5b2ac;
    font-variant-numeric: tabular-nums;
  }
  .print-row__img {
    width: 30mm;
    height: 20mm;
    object-fit: cover;
    background: var(--soft);
    border-radius: 1.5mm;
    display: block;
  }
  .print-row__text h2 {
    margin: 0;
    font-size: 10.5pt;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
  }
  .print-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2mm;
    margin: 0.8mm 0 0;
    font-size: 7.5pt;
    color: var(--muted);
  }
  .print-row__colors { margin: 0.8mm 0 0; font-size: 7.5pt; color: var(--muted); }

  /* Kademeler satırın sağında dikey blok: tabloda sütun olarak vermek
     34 ürüne yayılınca okunmuyordu. */
  .print-row__prices { text-align: right; }
  .print-row__unit {
    display: block;
    font-size: 11.5pt;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .print-row__unit s { font-size: 8pt; font-weight: 500; color: var(--muted); }
  .print-row__tiers {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1mm 2.5mm;
    margin-top: 0.8mm;
  }
  .print-tier {
    font-size: 7.5pt;
    color: #333;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .print-tier em { font-style: normal; font-weight: 700; color: var(--muted); }

  /* --- alt bilgi --- */
  .print-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 4mm;
    padding-top: 2mm;
    border-top: 0.2mm solid #ddd;
    font-size: 7.5pt;
    color: var(--muted);
  }

  a { text-decoration: none; color: #000; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Kademenin minimum sepet şartı — katalogda söz vermeden önce koşulu yazar. */
.catalog-cond {
  display: inline-block;
  background: #fff6ed;
  border: 1px solid #ffd9b8;
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 12px;
  color: #a4551f;
  white-space: nowrap;
}
@media print {
  .print-tier i { font-style: normal; color: #a4551f; }
  .print-note { margin-top: 2mm; font-size: 7.5pt; color: #555; }
}
