:root {
  --black: #1f1710;
  --panel: #fffaf2;
  --panel-2: #fff1de;
  --gold: #e7a214;
  --gold-bright: #ffd36a;
  --gold-text: #9a6400;
  --amber: #b86a0b;
  --cream: #24190f;
  --muted: #756654;
  --line: rgba(135, 88, 22, 0.2);
  --warm-red: #d64c32;
  --green: #23845f;
  --surface: #fff7eb;
  --surface-strong: #ffffff;
  --soft-blue: #eaf3f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Premium Store dark storefront refresh */
:root {
  --black: #050505;
  --panel: #101010;
  --panel-2: #171717;
  --gold: #d99620;
  --gold-bright: #ffd36a;
  --gold-text: #f2b63d;
  --amber: #a65f12;
  --cream: #f6f1e8;
  --muted: #b7ad9b;
  --line: rgba(255, 194, 83, 0.26);
  --surface: #111111;
  --surface-strong: #181818;
}

body {
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 183, 58, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(217, 150, 32, 0.2), transparent 22rem),
    linear-gradient(180deg, #020202 0%, #080808 48%, #0d0b08 100%);
  color: var(--cream);
}

body::before {
  background-image:
    linear-gradient(rgba(255, 198, 86, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 198, 86, 0.035) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 84%);
}

.site-header {
  border-bottom: 1px solid rgba(255, 194, 83, 0.18);
  background: rgba(4, 4, 4, 0.86);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
}

.top-nav {
  color: #eee4d0;
}

.top-nav a {
  position: relative;
  padding: 12px 0;
}

.top-nav a:hover,
.top-nav a:first-child {
  color: var(--gold-bright);
}

.top-nav a:first-child::after,
.top-nav a:hover::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.header-action,
.gold-link,
.primary-button,
.card-button {
  border-color: rgba(255, 211, 106, 0.5);
  background: linear-gradient(180deg, #ffd36a 0%, #d99620 58%, #9c5d13 100%);
  color: #160e03;
  box-shadow: 0 14px 40px rgba(217, 150, 32, 0.26);
}

.outline-link,
.outline-button,
.download-link {
  border-color: rgba(255, 194, 83, 0.36);
  background: rgba(11, 11, 11, 0.55);
  color: var(--cream);
}

.home-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 5vw, 74px) clamp(16px, 4vw, 58px) 32px;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 194, 83, 0.25);
  transform: rotate(-18deg);
}

.home-hero::before {
  left: -120px;
  bottom: 70px;
  width: 360px;
  height: 360px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.14), transparent),
    rgba(255, 255, 255, 0.02);
}

.home-hero::after {
  right: -150px;
  top: 88px;
  width: 420px;
  height: 420px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.12), transparent),
    rgba(255, 255, 255, 0.015);
}

.hero-shell {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  width: min(1480px, 100%);
  margin: 0 auto;
}

.hero-intro {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.hero-intro .eyebrow {
  margin: 0;
}

.hero-intro h1 {
  max-width: 980px;
  margin: 0;
  color: #f7f2e9;
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  line-height: 0.96;
}

.hero-intro h1 span {
  color: var(--gold-bright);
}

.hero-intro p {
  max-width: 760px;
  color: #cfc6b8;
  font-size: clamp(1.04rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.hero-actions .gold-link,
.hero-actions .outline-link {
  min-width: 230px;
  padding: 17px 22px;
  border-radius: 8px;
  text-align: center;
}

.premium-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.premium-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(255, 194, 83, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.95), rgba(8, 8, 8, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.06);
}

.premium-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 106, 0.48);
  transition: transform 180ms ease, border-color 180ms ease;
}

.card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 211, 106, 0.65);
  border-radius: 12px;
  color: var(--gold-bright);
  background: rgba(217, 150, 32, 0.09);
  font-weight: 900;
}

.card-heading h2 {
  margin: 0 0 6px;
  color: var(--gold-bright);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

.card-heading p {
  margin: 0;
  color: #d9d1c2;
  line-height: 1.5;
}

.print-flow {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(150px, 0.95fr) minmax(120px, 0.7fr) minmax(80px, 0.42fr);
  gap: 10px;
  min-height: 280px;
  padding: 12px;
  border: 1px solid rgba(255, 194, 83, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}

.mini-upload,
.mini-editor,
.mini-phone,
.case-options {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.mini-upload strong,
.mini-editor strong,
.mini-phone strong {
  color: #f2e6cb;
  font-size: 0.84rem;
}

.drop-preview,
.device-upload {
  display: grid;
  place-items: center;
  min-height: 104px;
  border: 1px dashed rgba(255, 194, 83, 0.52);
  border-radius: 8px;
  color: var(--cream);
  background: rgba(217, 150, 32, 0.08);
  text-align: center;
  font-weight: 800;
}

.mini-upload small {
  color: #a99f8f;
  font-size: 0.76rem;
}

.mini-editor {
  position: relative;
}

.mini-editor img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.92);
}

.crop-frame {
  position: absolute;
  inset: 62px 20px 38px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28);
}

.mini-case {
  position: relative;
  width: min(110px, 100%);
  aspect-ratio: 9 / 18.5;
  overflow: hidden;
  border: 6px solid #141414;
  border-radius: 22px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
}

.mini-case::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 10px;
  z-index: 2;
  width: 34px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.88);
}

.mini-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-options {
  align-content: center;
}

.case-options span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(255, 194, 83, 0.28);
  border-radius: 8px;
  color: #f2e6cb;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(220px, 0.85fr);
  gap: 14px;
  min-height: 280px;
}

.quote-fields {
  display: grid;
  gap: 10px;
}

.quote-fields label {
  display: grid;
  gap: 7px;
  color: #f2e6cb;
}

.quote-fields select {
  min-height: 44px;
  border-color: rgba(255, 194, 83, 0.24);
  background: rgba(3, 3, 3, 0.58);
  color: #f6f1e8;
}

.quote-preview {
  display: grid;
  align-content: start;
  gap: 14px;
}

.price-box {
  display: grid;
  gap: 9px;
  min-height: 140px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 194, 83, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.12), transparent),
    rgba(217, 150, 32, 0.08);
  text-align: center;
}

.price-box span {
  color: var(--gold-bright);
  font-size: 0.9rem;
}

.price-box strong {
  color: var(--gold-bright);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.price-box small {
  color: #cfc6b8;
  line-height: 1.4;
}

.card-button {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 8px;
  text-align: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background: rgba(255, 194, 83, 0.18);
}

.trust-strip article {
  display: grid;
  gap: 6px;
  min-height: 98px;
  padding: 20px;
  background: rgba(12, 12, 12, 0.94);
}

.trust-strip strong {
  color: #fff7e8;
  font-size: 1.05rem;
}

.trust-strip span {
  color: #b7ad9b;
  line-height: 1.45;
}

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

.service-card,
.designer,
.valuation-form,
.order-form,
.product-configurator,
.product-preview-panel,
.idea-strip article,
.process li,
.order-card,
.empty-orders,
.inline-admin {
  border-color: rgba(255, 194, 83, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 46%),
    linear-gradient(180deg, #181818, #0b0b0b);
  color: var(--cream);
}

.product-configurator label,
.product-configurator legend,
label,
legend {
  color: #f4ead8;
}

select,
textarea,
input[type="file"],
input[type="number"],
.product-configurator select,
.product-configurator textarea,
.product-configurator input[type="file"] {
  border-color: rgba(255, 194, 83, 0.26);
  background: #090909;
  color: #f6f1e8;
}

.product-preview-panel .phone-stage,
.preview-panel {
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.14), transparent 38%),
    linear-gradient(180deg, #161616, #090909);
}

.configurator-head h1,
.valuation-copy h2,
.process h2,
.order-band h2,
.admin-hero h1,
.admin-hero h2,
h1,
h2 {
  color: #f6f1e8;
}

.configurator-head span,
.hero-text,
.valuation-copy p,
.idea-strip p,
.process li span,
.empty-orders p,
.service-card p {
  color: #c6bcaa;
}

.case-examples,
.valuation-section,
.order-band,
.inline-admin {
  border-top-color: rgba(255, 194, 83, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.18);
}

@media (max-width: 1080px) {
  .premium-cards,
  .service-grid,
  .quote-home-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .print-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 28px 14px;
  }

  .hero-intro h1 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .hero-actions .gold-link,
  .hero-actions .outline-link {
    width: 100%;
    min-width: 0;
  }

  .premium-card {
    padding: 16px;
  }

  .card-heading {
    grid-template-columns: 1fr;
  }

  .print-flow {
    grid-template-columns: 1fr;
  }

  .mini-editor img {
    height: 220px;
  }

.case-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Final editor transform override */
.studio-page .editor-phone img,
.studio-page .preview-case-3d img {
  transform: translate(var(--studio-x), var(--studio-y)) rotate(var(--studio-rotate)) scale(var(--studio-zoom));
  transform-origin: center;
  will-change: transform;
}

.studio-page .editor-canvas {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.studio-page .editor-canvas.is-dragging {
  cursor: grabbing;
}

.studio-page .studio-design-image[hidden] {
  display: none;
}

.studio-page .crop-overlay {
  opacity: 1;
  transition: opacity 160ms ease;
}

.studio-page:not(.is-crop-mode) .crop-overlay {
  opacity: 0;
}

/* Final editor transform override */
.studio-page .editor-phone img,
.studio-page .preview-case-3d img {
  transform: translate(var(--studio-x), var(--studio-y)) rotate(var(--studio-rotate)) scale(var(--studio-zoom));
  transform-origin: center;
  will-change: transform;
}

.studio-page .editor-canvas {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.studio-page .editor-canvas.is-dragging {
  cursor: grabbing;
}

.studio-page .studio-design-image[hidden] {
  display: none;
}

.studio-page .crop-overlay {
  opacity: 1;
  transition: opacity 160ms ease;
}

.studio-page:not(.is-crop-mode) .crop-overlay {
  opacity: 0;
}

/* Working design editor controls */
.studio-page {
  --studio-zoom: 1;
  --studio-rotate: 0deg;
  --studio-x: 0px;
  --studio-y: 0px;
}

.editor-canvas {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.editor-canvas.is-dragging {
  cursor: grabbing;
}

.editor-phone img,
.preview-case-3d img {
  transform: translate(var(--studio-x), var(--studio-y)) rotate(var(--studio-rotate)) scale(var(--studio-zoom));
  transform-origin: center;
  will-change: transform;
}

.studio-design-image[hidden] {
  display: none;
}

.crop-overlay {
  opacity: 1;
  transition: opacity 160ms ease;
}

.studio-page:not(.is-crop-mode) .crop-overlay {
  opacity: 0;
}

/* Final nav state for the current premium pages. */
.top-nav a:first-child {
  color: inherit;
}

.top-nav a:first-child::after {
  content: none;
}

.top-nav a.is-active {
  color: #ffd36a;
}

.top-nav a.is-active::after,
.top-nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 64%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffd36a, transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(255, 211, 106, 0.55);
}

@media (max-width: 820px) {
  .studio-page .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .studio-page .top-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .studio-page .top-nav a {
    padding: 7px 0;
    font-size: 0.86rem;
  }

  .studio-page .top-nav a.is-active::after,
  .studio-page .top-nav a:hover::after {
    bottom: -6px;
  }

  .studio-page .header-icons {
    display: none;
  }
}

.home-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 54px) clamp(16px, 4vw, 58px);
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.07), transparent 44%),
    #050505;
}

.home-service-options article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 245px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 194, 83, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 211, 106, 0.1), transparent 48%),
    rgba(15, 15, 15, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  transition: border-color 180ms ease, transform 180ms ease;
}

.home-service-options article:hover {
  border-color: rgba(255, 211, 106, 0.5);
  transform: translateY(-2px);
}

.home-service-options span {
  color: #ffd36a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-service-options h2 {
  max-width: 620px;
  margin: 0;
  color: #f7f2e9;
  font-size: clamp(1.55rem, 3vw, 2.6rem);
  line-height: 1.04;
}

.home-service-options a {
  width: fit-content;
  min-width: 190px;
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 8px;
  text-align: center;
}

@media (max-width: 760px) {
  .home-service-options {
    grid-template-columns: 1fr;
  }

  .home-service-options a {
    width: 100%;
  }
}

.top-nav a:first-child {
  color: inherit;
}

.top-nav a:first-child::after {
  content: none;
}

.top-nav a.is-active {
  color: #ffd36a;
}

.top-nav a.is-active::after,
.top-nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 64%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ffd36a, transparent);
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(255, 211, 106, 0.55);
}

@media (max-width: 820px) {
  .studio-page .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .studio-page .top-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .studio-page .top-nav a {
    padding: 7px 0;
    font-size: 0.86rem;
  }

  .studio-page .top-nav a.is-active::after,
  .studio-page .top-nav a:hover::after {
    bottom: -6px;
  }

  .studio-page .header-icons {
    display: none;
  }
}

/* Baskı Kılıf Studio Page */
.studio-page {
  --studio-zoom: 1;
  --selected-case-color: #090909;
}

.header-icons {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.header-icons a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 194, 83, 0.34);
  border-radius: 999px;
  color: #f6f1e8;
  background: rgba(10, 10, 10, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.cart-link {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border: 1px solid rgba(255, 244, 203, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd36a, #b87312);
  color: #090909;
  font-size: 0.72rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(217, 150, 32, 0.34);
}

.cart-count[hidden] {
  display: none;
}

.top-nav .is-active {
  color: #ffd36a;
}

.studio-main {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px) clamp(14px, 3vw, 44px) 44px;
}

.studio-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 34px);
  text-align: center;
}

.studio-hero h1 {
  margin: 0;
  color: #f7f2e9;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  line-height: 0.96;
}

.studio-hero h1 span {
  color: #ffd36a;
}

.studio-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #cfc6b8;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.studio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}

.studio-hero-actions a,
.studio-hero-actions button {
  min-width: 240px;
  padding: 16px 22px;
  border-radius: 8px;
  text-align: center;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(460px, 1.3fr) minmax(280px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.studio-panel {
  min-width: 0;
  border: 1px solid rgba(255, 194, 83, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 48%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.96), rgba(8, 8, 8, 0.96));
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.05);
}

.upload-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
}

.upload-panel section {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 194, 83, 0.16);
}

.upload-panel section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.upload-panel h2,
.live-preview-panel h2 {
  margin: 0;
  color: #f7f2e9;
  font-size: 1.05rem;
}

.upload-panel h2 span {
  color: #ffd36a;
}

.studio-dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  border: 1px dashed rgba(255, 194, 83, 0.55);
  border-radius: 8px;
  background: rgba(217, 150, 32, 0.08);
  text-align: center;
  cursor: pointer;
}

.studio-dropzone input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-mark {
  width: 42px;
  height: 28px;
  border: 2px solid #ffd36a;
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.studio-dropzone strong {
  color: #fff7e8;
}

.studio-dropzone small,
.upload-hint {
  color: #a99f8f;
}

.studio-field {
  display: grid;
  gap: 8px;
  color: #f4ead8;
  font-weight: 800;
}

.studio-field select {
  min-height: 44px;
}

.studio-segmented,
.color-swatches {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.studio-segmented {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-segmented legend,
.color-swatches legend {
  grid-column: 1 / -1;
  color: #f4ead8;
}

.studio-segmented input,
.color-swatches input {
  position: absolute;
  opacity: 0;
}

.studio-segmented span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  color: #cfc6b8;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.studio-segmented input:checked + span {
  color: #160e03;
  border-color: transparent;
  background: linear-gradient(180deg, #ffd36a, #d99620);
}

.color-swatches {
  grid-template-columns: repeat(6, 38px);
}

.color-swatches span {
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: var(--swatch);
  cursor: pointer;
}

.color-swatches input:checked + span {
  border-color: #ffd36a;
  box-shadow: 0 0 0 3px rgba(255, 211, 106, 0.18);
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.sample-grid button {
  display: grid;
  gap: 7px;
  padding: 0;
  border: 0;
  color: #f6f1e8;
  background: transparent;
  cursor: pointer;
}

.sample-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
}

.sample-grid .is-active img,
.sample-grid button:hover img {
  border-color: #ffd36a;
}

.sample-grid span {
  overflow-wrap: anywhere;
  color: #ded4c3;
  font-size: 0.78rem;
}

.sample-gallery-section {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 48%),
    rgba(10, 10, 10, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.sample-gallery-head {
  display: grid;
  gap: 8px;
}

.sample-gallery-head .eyebrow,
.sample-gallery-head h2 {
  margin: 0;
}

.sample-gallery-head h2 {
  color: #f7f2e9;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.04;
}

.sample-gallery-grid {
  gap: 16px;
}

.sample-gallery-grid button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, transform 180ms ease;
}

.sample-gallery-grid button:hover,
.sample-gallery-grid button.is-active {
  border-color: rgba(255, 211, 106, 0.72);
  transform: translateY(-2px);
}

.sample-gallery-grid img {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
}

.sample-gallery-grid span {
  padding: 12px 14px 14px;
  color: #f7f2e9;
  font-size: 0.98rem;
  font-weight: 800;
}

.design-editor {
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 194, 83, 0.14);
}

.editor-toolbar button,
.vertical-tools button,
.preview-thumbs button,
.quantity-control button {
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  color: #f6f1e8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.editor-toolbar button {
  min-height: 36px;
  padding: 0 14px;
}

.editor-toolbar button:hover,
.vertical-tools button:hover,
.preview-thumbs button:hover,
.quantity-control button:hover {
  border-color: rgba(255, 211, 106, 0.55);
  background: rgba(217, 150, 32, 0.1);
  transform: translateY(-1px);
}

.editor-body {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 560px;
}

.vertical-tools {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 194, 83, 0.12);
}

.vertical-tools button {
  min-height: 54px;
  padding: 6px;
  font-size: 0.78rem;
}

.vertical-tools .is-active {
  color: #160e03;
  background: linear-gradient(180deg, #ffd36a, #d99620);
}

.editor-canvas {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 26px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 82px 82px;
}

.editor-phone,
.preview-case-3d {
  position: relative;
  width: min(310px, 70vw);
  aspect-ratio: 9 / 18.5;
  overflow: hidden;
  border: 12px solid #171717;
  border-radius: 38px;
  background: var(--selected-case-color);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 211, 106, 0.25);
}

.editor-phone img,
.preview-case-3d img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translate(var(--studio-x), var(--studio-y)) rotate(var(--studio-rotate)) scale(var(--studio-zoom));
  transform-origin: center;
  transition: transform 180ms ease;
  will-change: transform;
}

.editor-camera,
.preview-camera {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 16px;
  width: 74px;
  height: 88px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.crop-overlay {
  position: absolute;
  inset: 88px 30px 86px;
  z-index: 4;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 33.333% 33.333%;
}

.crop-overlay span {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
}

.crop-overlay span:nth-child(1) { top: -8px; left: -8px; }
.crop-overlay span:nth-child(2) { top: -8px; right: -8px; }
.crop-overlay span:nth-child(3) { bottom: -8px; left: -8px; }
.crop-overlay span:nth-child(4) { bottom: -8px; right: -8px; }

.zoom-control {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 194, 83, 0.14);
}

.zoom-control input {
  width: 100%;
  accent-color: #d99620;
}

.live-preview-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}

.preview-stage-3d {
  display: grid;
  place-items: center;
  min-height: 330px;
  perspective: 900px;
}

.preview-case-3d {
  width: min(220px, 62vw);
  transform: rotateY(-18deg) rotateZ(2deg);
}

.preview-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.preview-thumbs button {
  min-height: 52px;
  font-size: 0.82rem;
}

.preview-thumbs .is-active {
  border-color: #ffd36a;
}

.price-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 194, 83, 0.16);
}

.price-summary span,
.price-summary small {
  display: block;
  color: #cfc6b8;
}

.price-summary strong {
  display: block;
  margin-top: 4px;
  color: #ffd36a;
  font-size: 2rem;
}

.quantity-control {
  display: grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
}

.quantity-control button {
  min-height: 36px;
  border: 0;
  border-radius: 0;
}

.quantity-control strong {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: #f6f1e8;
  font-size: 1rem;
}

.studio-buy-button,
.studio-save-button {
  width: 100%;
  min-height: 50px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.studio-status {
  min-height: 22px;
  margin: 0;
  color: #ffd36a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.studio-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background: rgba(255, 194, 83, 0.18);
}

.studio-benefits article {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 22px;
  background: rgba(12, 12, 12, 0.94);
}

.studio-benefits strong {
  color: #fff7e8;
}

.studio-benefits span {
  color: #b7ad9b;
  line-height: 1.45;
}

.cart-main {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px) clamp(14px, 3vw, 44px) 54px;
}

.cart-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 24px;
  text-align: center;
}

.cart-hero h1 {
  margin: 0;
  color: #f6f1e8;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  line-height: 0.96;
}

.cart-hero p {
  max-width: 720px;
  margin: 0;
  color: #d7cfc2;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: 18px;
  align-items: start;
}

.cart-items-panel,
.cart-summary-panel {
  border: 1px solid rgba(255, 194, 83, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 42%),
    rgba(10, 10, 10, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.cart-items-panel {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
}

.cart-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.cart-section-head h2,
.cart-summary-panel h2 {
  margin: 0;
  color: #f6f1e8;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
}

.cart-items {
  display: grid;
  gap: 14px;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 194, 83, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.cart-item-image-wrap {
  display: grid;
  place-items: center;
  min-height: 178px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.cart-item-image {
  width: 100%;
  height: 100%;
  min-height: 178px;
  object-fit: cover;
}

.cart-item-content {
  display: grid;
  gap: 14px;
}

.cart-item-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.cart-item-heading h2 {
  margin: 4px 0 0;
  color: #f6f1e8;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.cart-item-type {
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-remove-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 194, 83, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #f6f1e8;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.cart-item-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.cart-item-details div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 194, 83, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.cart-item-details dt {
  margin-bottom: 4px;
  color: #a99f90;
  font-size: 0.74rem;
  font-weight: 800;
}

.cart-item-details dd {
  margin: 0;
  color: #f6f1e8;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-quantity-control {
  display: inline-grid;
  grid-template-columns: 38px 48px 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.24);
  border-radius: 8px;
}

.cart-quantity-control button {
  min-height: 38px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #f6f1e8;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.cart-quantity-control strong {
  display: grid;
  place-items: center;
  color: #ffd36a;
}

.cart-item-price {
  color: #ffd36a;
  font-size: 1.28rem;
}

.cart-summary-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2vw, 26px);
}

.cart-summary-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.cart-summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 194, 83, 0.12);
}

.cart-summary-list dt {
  color: #a99f90;
  font-weight: 800;
}

.cart-summary-list dd {
  margin: 0;
  color: #f6f1e8;
  font-weight: 950;
}

.checkout-customer-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 194, 83, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.checkout-form-head {
  display: grid;
  gap: 4px;
}

.checkout-form-head h3 {
  margin: 0;
  color: #f6f1e8;
  font-size: 1.08rem;
}

.checkout-customer-form label {
  display: grid;
  gap: 7px;
  color: #d7cfc2;
  font-size: 0.86rem;
  font-weight: 850;
}

.checkout-customer-form input,
.checkout-customer-form select,
.checkout-customer-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  color: #f6f1e8;
  font: inherit;
  padding: 10px 12px;
  outline: none;
}

.checkout-customer-form textarea {
  min-height: 96px;
  resize: vertical;
}

.checkout-customer-form input:focus,
.checkout-customer-form select:focus,
.checkout-customer-form textarea:focus {
  border-color: rgba(255, 211, 106, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 194, 83, 0.12);
}

.checkout-button {
  min-height: 52px;
  border-radius: 8px;
}

.checkout-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.cart-status,
.cart-note {
  margin: 0;
  color: #d7cfc2;
  line-height: 1.55;
}

.cart-status {
  min-height: 24px;
  color: #ffd36a;
  font-weight: 850;
}

.cart-empty {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1220px) {
  .studio-layout {
    grid-template-columns: minmax(260px, 0.9fr) minmax(420px, 1.1fr);
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-panel {
    position: static;
  }

  .live-preview-panel {
    grid-column: 1 / -1;
    grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
    align-items: start;
  }

  .live-preview-panel h2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .header-icons {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .studio-layout,
  .live-preview-panel,
  .studio-benefits {
    grid-template-columns: 1fr;
  }

  .editor-body {
    grid-template-columns: 1fr;
  }

  .vertical-tools {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 194, 83, 0.12);
  }

  .editor-phone {
    width: min(280px, 76vw);
  }
}

@media (max-width: 560px) {
  .studio-main {
    padding: 24px 14px 34px;
  }

  .cart-main {
    padding: 24px 14px 34px;
  }

  .cart-section-head,
  .cart-item-heading,
  .cart-item-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-item-card {
    grid-template-columns: 1fr;
  }

  .cart-item-details {
    grid-template-columns: 1fr;
  }

  .cart-quantity-control {
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .studio-hero-actions,
  .studio-hero-actions a,
  .studio-hero-actions button,
  .studio-buy-button,
  .studio-save-button {
    width: 100%;
  }

  .studio-segmented,
  .sample-grid,
  .preview-thumbs,
  .price-summary {
    grid-template-columns: 1fr;
  }

  .color-swatches {
    grid-template-columns: repeat(3, 38px);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), transparent 36rem),
    linear-gradient(180deg, #fff8ee 0%, #f5e9d8 48%, #edf4f1 100%);
  color: var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(92, 59, 18, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 59, 18, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(135, 88, 22, 0.16);
  background: rgba(255, 250, 241, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(87, 58, 26, 0.08);
}

.brand {
  display: block;
  width: clamp(174px, 18vw, 230px);
  height: 64px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.top-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  color: #665946;
  font-size: 0.95rem;
}

.top-nav a,
.header-action,
.gold-link,
.outline-link,
.outline-button {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.top-nav a:hover {
  color: var(--gold-text);
}

.header-action,
.gold-link,
.primary-button {
  border: 1px solid rgba(255, 196, 69, 0.45);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 52%, var(--amber));
  color: #140d02;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(177, 104, 13, 0.22);
}

.outline-link,
.outline-button,
.download-link {
  border: 1px solid rgba(255, 196, 69, 0.36);
  background: rgba(255, 245, 225, 0.72);
  color: var(--gold-text);
  font-weight: 800;
}

.header-action {
  min-width: 104px;
  padding: 12px 18px;
  text-align: center;
  border-radius: 999px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  min-height: min(680px, calc(100vh - 76px));
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 54px);
}

.home-copy {
  max-width: 760px;
}

.home-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5.4vw, 5.7rem);
}

.home-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.service-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 238px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 205, 101, 0.2), transparent 46%),
    var(--surface-strong);
  box-shadow: 0 24px 60px rgba(124, 83, 34, 0.12), inset 0 1px rgba(255, 255, 255, 0.72);
}

.service-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255, 196, 69, 0.16);
  border-radius: 28px;
  transform: rotate(10deg);
  opacity: 0.68;
}

.service-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.04;
}

.service-card p {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.58;
}

.service-card strong {
  align-self: end;
  color: var(--gold-text);
}

.service-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #130d03;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  font-weight: 900;
}

.used-service {
  background:
    linear-gradient(135deg, rgba(35, 132, 95, 0.12), transparent 42%),
    linear-gradient(145deg, #ffffff, #edf7f2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  width: min(1180px, 100%);
  min-height: auto;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px) clamp(18px, 4vw, 54px) 28px;
}

.hero-copy {
  max-width: 680px;
}

.configurator-section {
  align-items: start;
}

.product-preview-column {
  display: grid;
  justify-items: end;
  position: sticky;
  top: 98px;
}

.product-configurator {
  max-width: 560px;
  padding: clamp(16px, 2vw, 22px);
  gap: 13px;
  background: #ffffff;
  border: 1px solid rgba(31, 23, 16, 0.11);
  box-shadow: 0 24px 60px rgba(65, 48, 28, 0.09);
}

.configurator-head {
  display: grid;
  gap: 5px;
}

.configurator-head .eyebrow {
  margin-bottom: 0;
  color: #2f79ff;
  font-size: 0.78rem;
  text-transform: none;
}

.configurator-head h1 {
  margin: 0;
  color: #101828;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.08;
}

.configurator-head span {
  color: #697386;
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-selects {
  display: grid;
  gap: 10px;
}

.design-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.design-tabs button {
  min-height: 38px;
  border: 1px solid #d8e2ef;
  border-radius: 7px;
  color: #536579;
  background: #f8fbff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
}

.design-tabs .is-active {
  color: #165dcc;
  border-color: #2f79ff;
  background: #eff6ff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5.2vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-text);
  background: rgba(255, 247, 230, 0.82);
  font-size: 0.92rem;
}

.designer {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1fr);
  gap: 18px;
  align-items: stretch;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #fff4e5);
  box-shadow: 0 28px 70px rgba(124, 83, 34, 0.14), inset 0 1px rgba(255, 255, 255, 0.9);
}

.case-examples {
  display: grid;
  gap: 0;
  padding: clamp(24px, 4vw, 42px) clamp(18px, 4vw, 54px) clamp(44px, 7vw, 86px);
  border-top: 1px solid rgba(255, 196, 69, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 214, 137, 0.2), transparent 36%),
    rgba(255, 255, 255, 0.4);
}

.case-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(220px, 0.65fr));
  gap: 16px;
  align-items: stretch;
}

.case-example {
  position: relative;
  min-width: 0;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(135, 88, 22, 0.16);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 24px 56px rgba(124, 83, 34, 0.14);
}

.featured-example {
  min-height: 520px;
}

.case-example img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.case-example figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 6px;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84) 38%, rgba(0, 0, 0, 0.94));
}

.case-example strong {
  color: #ffd36a;
  font-size: 1.05rem;
}

.case-example span {
  color: #f3e4c5;
  line-height: 1.45;
}

.valuation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 4vw, 54px);
  border-top: 1px solid rgba(255, 196, 69, 0.14);
  background:
    linear-gradient(120deg, rgba(35, 132, 95, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.36);
}

.valuation-copy {
  max-width: 780px;
}

.valuation-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.8vw, 5.1rem);
  line-height: 1;
}

.valuation-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.65;
}

.valuation-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #fff4e6);
  box-shadow: 0 24px 58px rgba(124, 83, 34, 0.13), inset 0 1px rgba(255, 255, 255, 0.9);
}

.preview-panel,
.order-form {
  min-width: 0;
  border-radius: 8px;
}

.preview-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(135, 88, 22, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.3), transparent 38%),
    linear-gradient(180deg, #fff8ec, #eadcc9);
}

.product-preview-panel {
  width: min(420px, 100%);
  min-height: 610px;
  padding: 14px;
  border: 1px solid #dfe5ee;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(31, 41, 55, 0.13);
}

.product-preview-panel .phone-stage {
  min-height: 542px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 243, 230, 0.8)),
    #ffffff;
}

.product-preview-panel .preview-meta {
  margin-top: 12px;
  padding: 12px 4px 0;
  border-top: 0;
}

.product-preview-panel .phone-case {
  width: min(272px, 68vw);
  border-color: #111827;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 36%),
    linear-gradient(160deg, #f5b3d4, #e27bb4 58%, #c95a9b);
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 486px;
  padding: 34px 24px;
}

.phone-shadow {
  position: absolute;
  bottom: 48px;
  width: 56%;
  height: 24px;
  border-radius: 50%;
  background: rgba(67, 44, 22, 0.24);
  filter: blur(16px);
}

.phone-case {
  position: relative;
  width: min(246px, 68vw);
  aspect-ratio: 9 / 18.6;
  overflow: hidden;
  border: 12px solid #0b0b0b;
  border-radius: 34px;
  background: linear-gradient(155deg, #31230d, #0b0b0a 60%, #080808);
  box-shadow:
    0 26px 55px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 211, 106, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-case::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 1;
  border: 1px solid rgba(255, 211, 106, 0.34);
  border-radius: 24px;
  pointer-events: none;
}

.camera-block {
  position: absolute;
  top: 18px;
  left: 16px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 74px;
  height: 74px;
  padding: 9px;
  border-radius: 22px;
  background: rgba(6, 6, 6, 0.9);
  border: 1px solid rgba(255, 211, 106, 0.34);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.camera-block span {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5f6975, #080909 68%);
  border: 2px solid #242424;
}

.phone-case.shape-iphone-pro,
.phone-case.shape-iphone-dual,
.phone-case.shape-iphone-mini,
.phone-case.shape-iphone-se {
  border-color: #111827;
}

.phone-case.shape-iphone-mini {
  width: min(244px, 66vw);
}

.phone-case.shape-iphone-se {
  width: min(238px, 64vw);
  aspect-ratio: 9 / 17.7;
  border-radius: 26px;
}

.shape-iphone-pro .camera-block {
  grid-template-columns: repeat(2, 1fr);
  width: 78px;
  height: 82px;
}

.shape-iphone-pro .camera-block span:nth-child(3) {
  grid-column: 1;
}

.shape-iphone-dual .camera-block,
.shape-iphone-mini .camera-block {
  grid-template-columns: 1fr;
  width: 52px;
  height: 88px;
  padding: 8px;
}

.shape-iphone-dual .camera-block span:nth-child(3),
.shape-iphone-mini .camera-block span:nth-child(3),
.shape-iphone-se .camera-block span:nth-child(2),
.shape-iphone-se .camera-block span:nth-child(3) {
  display: none;
}

.shape-iphone-se .camera-block {
  grid-template-columns: 1fr;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 16px;
}

.phone-case.shape-samsung-ultra {
  aspect-ratio: 9 / 19.2;
  border-radius: 22px;
  background: linear-gradient(160deg, #f5f7fb, #dce3ec);
}

.phone-case.shape-samsung-s,
.phone-case.shape-samsung-a {
  border-radius: 28px;
  background: linear-gradient(160deg, #e9f0f8, #cfdceb);
}

.shape-samsung-ultra .camera-block,
.shape-samsung-s .camera-block,
.shape-samsung-a .camera-block {
  grid-template-columns: 1fr;
  gap: 9px;
  width: 42px;
  height: 132px;
  padding: 5px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.shape-samsung-a .camera-block span:nth-child(3) {
  display: none;
}

.shape-samsung-ultra .camera-block span,
.shape-samsung-s .camera-block span,
.shape-samsung-a .camera-block span {
  width: 28px;
  height: 28px;
  border-color: #111827;
  box-shadow: 0 6px 12px rgba(17, 24, 39, 0.18);
}

.phone-case.shape-redmi-note,
.phone-case.shape-redmi,
.phone-case.shape-xiaomi {
  border-radius: 28px;
  background: linear-gradient(160deg, #f7eee4, #d8c5b2);
}

.shape-redmi-note .camera-block,
.shape-redmi .camera-block,
.shape-xiaomi .camera-block {
  grid-template-columns: 1fr;
  gap: 7px;
  width: 62px;
  height: 102px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
}

.shape-redmi .camera-block span:nth-child(3) {
  display: none;
}

.phone-case.shape-poco {
  border-radius: 26px;
  background: linear-gradient(160deg, #f5f0dc, #dacb8d);
}

.shape-poco .camera-block {
  top: 18px;
  right: 16px;
  left: 16px;
  grid-template-columns: repeat(3, 1fr);
  width: auto;
  height: 58px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.92);
}

.shape-poco .camera-block span {
  width: 24px;
  height: 24px;
}

.phone-case.shape-generic {
  border-radius: 30px;
  background: linear-gradient(160deg, #f8f8f8, #e6e0d6);
}

#caseImage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(var(--image-y, 0%)) scale(var(--image-zoom, 1.12));
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

#caseImage.has-image {
  opacity: 1;
}

.empty-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 36px;
  text-align: center;
}

.empty-art img {
  width: 76%;
  filter: drop-shadow(0 0 16px rgba(255, 180, 0, 0.34));
}

.empty-art p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.case-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 12%, rgba(255, 255, 255, 0.2) 32%, transparent 46%);
  mix-blend-mode: screen;
}

.preview-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-top: 1px solid rgba(135, 88, 22, 0.13);
  color: var(--cream);
}

.preview-meta span {
  color: var(--muted);
  text-align: right;
}

.order-form {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 28px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(135, 88, 22, 0.14);
}

label,
legend {
  color: var(--cream);
  font-size: 0.94rem;
  font-weight: 800;
}

.form-row,
.note-field {
  display: grid;
  gap: 9px;
}

select,
textarea,
input[type="file"],
input[type="number"] {
  width: 100%;
  color: var(--cream);
  border: 1px solid rgba(135, 88, 22, 0.2);
  border-radius: 8px;
  background: #fffdf8;
  font: inherit;
}

.product-configurator select,
.product-configurator textarea,
.product-configurator input[type="file"] {
  min-height: 42px;
  border-color: #d8e2ef;
  background: #fbfdff;
  color: #101828;
}

.product-configurator label,
.product-configurator legend {
  color: #1d2939;
  font-size: 0.86rem;
}

select {
  min-height: 46px;
  padding: 0 14px;
}

input[type="number"] {
  min-height: 46px;
  padding: 0 14px;
}

input[type="number"]:disabled {
  color: #7d7668;
  border-color: rgba(135, 88, 22, 0.1);
  background: rgba(242, 231, 216, 0.62);
}

textarea {
  resize: vertical;
  min-height: 90px;
  padding: 13px 14px;
}

textarea::placeholder {
  color: #9a8b78;
}

.choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
}

.choice-group label {
  position: relative;
  min-width: 0;
}

.choice-group input {
  position: absolute;
  opacity: 0;
}

.choice-group span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 10px;
  border: 1px solid rgba(135, 88, 22, 0.18);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 252, 246, 0.82);
  text-align: center;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.choice-group input:checked + span {
  color: #150d02;
  border-color: transparent;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

.wide-choice {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid rgba(135, 88, 22, 0.18);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.78);
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.warranty-box {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(160px, 1fr);
  gap: 12px;
  align-items: end;
}

.parts-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.parts-group legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
}

.parts-group label {
  position: relative;
  min-width: 0;
}

.parts-group input {
  position: absolute;
  opacity: 0;
}

.parts-group span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 9px;
  border: 1px solid rgba(135, 88, 22, 0.18);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 252, 246, 0.82);
  text-align: center;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.parts-group input:checked + span {
  color: #150d02;
  border-color: transparent;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
}

.upload-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px dashed rgba(255, 196, 69, 0.38);
  border-radius: 8px;
  background: rgba(255, 244, 222, 0.72);
}

.upload-dropzone {
  position: relative;
  place-items: center;
  min-height: 112px;
  padding: 16px;
  border: 2px dashed #20bf6b;
  background:
    linear-gradient(135deg, rgba(32, 191, 107, 0.08), rgba(47, 121, 255, 0.04)),
    #f7fffb;
  text-align: center;
}

.upload-dropzone label {
  color: #1d2939;
  font-size: 0.92rem;
}

.upload-dropzone input {
  max-width: 290px;
  color: #425466;
  background: #ffffff;
}

.upload-dropzone #fileName {
  color: #23845f;
  font-weight: 800;
}

.upload-box input {
  padding: 10px;
}

#fileName {
  color: var(--muted);
  font-size: 0.86rem;
}

.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.config-preview-tools {
  padding: 10px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #f8fbff;
}

.product-configurator .control-grid {
  gap: 10px;
}

.control-grid label {
  display: grid;
  gap: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.primary-button {
  min-height: 52px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
}

.theme-list {
  grid-template-columns: 1fr;
  gap: 8px;
}

.theme-list legend {
  margin-bottom: 0;
}

.theme-list span {
  position: relative;
  justify-items: start;
  min-height: 58px;
  padding: 10px 12px 10px 48px;
  border-color: #d8e2ef;
  background: #ffffff;
  text-align: left;
}

.theme-list span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f79ff, #9838ff);
}

.theme-list b {
  color: #1d2939;
  font-size: 0.9rem;
}

.theme-list small {
  color: #697386;
  font-size: 0.78rem;
  font-weight: 700;
}

.theme-list input:checked + span {
  color: #1d2939;
  border-color: #9838ff;
  background: #fbf7ff;
  box-shadow: inset 0 0 0 1px rgba(152, 56, 255, 0.28);
}

.finish-row {
  padding: 13px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background: #ffffff;
}

.purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.purchase-actions .outline-link {
  display: grid;
  place-items: center;
  min-width: 128px;
  min-height: 52px;
  padding: 0 14px;
}

.primary-button:hover,
.header-action:hover,
.gold-link:hover,
.outline-link:hover,
.outline-button:hover,
.download-link:hover {
  transform: translateY(-1px);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.92rem;
  line-height: 1.45;
}

.valuation-result {
  min-height: 28px;
  margin: 0;
  color: var(--gold-text);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.5;
}

.valuation-result small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.form-status a {
  color: var(--gold-text);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.idea-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 54px) 42px;
}

.idea-strip article {
  min-height: 232px;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid rgba(135, 88, 22, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.idea-strip span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

.idea-strip h2 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
}

.idea-strip p,
.process li span {
  color: var(--muted);
  line-height: 1.55;
}

.process,
.order-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  padding: clamp(44px, 7vw, 88px) clamp(18px, 4vw, 54px);
  border-top: 1px solid rgba(255, 196, 69, 0.14);
}

.process h2,
.order-band h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1;
}

.process ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process li {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 104px;
  padding: 22px 22px 22px 72px;
  border: 1px solid rgba(135, 88, 22, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  counter-increment: steps;
}

.process li::before {
  content: counter(steps);
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #120d03;
  background: var(--gold);
  font-weight: 900;
}

.order-band {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 218, 151, 0.52), transparent),
    #fff7e8;
}

.gold-link {
  justify-self: end;
  min-width: 160px;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
}

.outline-link {
  min-width: 160px;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
}

.outline-button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.order-actions {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.admin-page {
  min-height: 100vh;
}

.admin-login-screen {
  display: grid;
  min-height: calc(100vh - 92px);
  place-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 54px);
}

.admin-login-screen[hidden] {
  display: none;
}

.admin-login-card {
  display: grid;
  gap: 16px;
  width: min(100%, 460px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 194, 83, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.12), transparent 44%),
    rgba(8, 8, 8, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), 0 0 42px rgba(217, 150, 32, 0.12);
}

.admin-login-card img {
  width: min(190px, 58vw);
  height: auto;
}

.admin-login-card h1 {
  margin: 0;
  color: #f6f1e8;
  font-size: clamp(2rem, 4vw, 3rem);
}

.admin-login-card p {
  margin: 0;
  color: #d7cfc2;
  line-height: 1.55;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  color: #d7cfc2;
  font-weight: 850;
}

.admin-login-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 194, 83, 0.26);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.44);
  color: #f6f1e8;
  font: inherit;
  padding: 10px 12px;
  outline: none;
}

.admin-login-card input:focus {
  border-color: rgba(255, 211, 106, 0.74);
  box-shadow: 0 0 0 3px rgba(255, 194, 83, 0.12);
}

.admin-remember-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.admin-remember-row input {
  width: 18px;
  min-height: 18px;
  accent-color: #f3b12b;
}

.admin-login-message {
  min-height: 24px;
  color: #ffd36a;
  font-weight: 800;
}

.admin-login-message[data-type="error"] {
  color: #ffb0a6;
}

.admin-login-message[data-type="success"] {
  color: #8ff0b3;
}

.admin-logout-button {
  cursor: pointer;
}

.admin-locked .admin-shell {
  display: none;
}

.admin-protocol-warning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid rgba(255, 211, 106, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.12), transparent 54%),
    rgba(8, 8, 8, 0.92);
}

.admin-protocol-warning[hidden] {
  display: none;
}

.admin-protocol-warning strong {
  color: var(--gold-bright);
}

.admin-protocol-warning span {
  color: #d8d0c2;
}

.admin-protocol-warning .gold-link {
  grid-row: span 2;
  justify-self: end;
}

.admin-category-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
  padding: 10px;
  border: 1px solid rgba(255, 194, 83, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 44%),
    rgba(8, 8, 8, 0.88);
}

.admin-category-nav button {
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #f6f1e8;
  cursor: pointer;
  font: inherit;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.admin-category-nav button:hover,
.admin-category-nav button.is-active {
  border-color: rgba(255, 211, 106, 0.64);
  background:
    linear-gradient(180deg, rgba(255, 211, 106, 0.2), rgba(217, 150, 32, 0.08)),
    rgba(255, 255, 255, 0.04);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.admin-category-page {
  display: grid;
  gap: 18px;
}

.admin-category-page[hidden] {
  display: none;
}

.admin-category-page > .admin-hero:first-child,
.admin-category-page > .base-price-admin:first-child,
.admin-category-page > .custom-model-admin:first-child,
.admin-category-page > .price-rule-preview:first-child {
  margin-top: 0;
}

.admin-shell,
.inline-admin {
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 54px) clamp(42px, 7vw, 88px);
}

.inline-admin {
  border-top: 1px solid rgba(135, 88, 22, 0.14);
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(22px, 4vw, 42px);
}

.admin-subhero {
  margin-top: clamp(32px, 5vw, 56px);
}

.admin-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 6rem);
}

.admin-hero h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
}

.admin-stats {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.admin-stats span {
  display: grid;
  min-width: 112px;
  min-height: 72px;
  place-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.admin-stats strong {
  color: var(--gold-text);
  font-size: 1.8rem;
  line-height: 1;
}

.orders-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.order-card {
  display: grid;
  grid-template-columns: minmax(172px, 0.5fr) minmax(0, 1fr);
  min-height: 296px;
  overflow: hidden;
  border: 1px solid rgba(135, 88, 22, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #fff4e5);
  box-shadow: 0 20px 48px rgba(124, 83, 34, 0.12);
}

.quote-card .status-pill {
  border-color: rgba(255, 196, 69, 0.42);
  color: var(--gold-text);
  background: rgba(255, 241, 212, 0.85);
}

.order-image-wrap {
  display: grid;
  place-items: center;
  min-height: 296px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.22), transparent 48%),
    #fff7ec;
}

.order-image {
  width: 100%;
  height: 100%;
  max-height: 270px;
  object-fit: cover;
  border: 1px solid rgba(135, 88, 22, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(124, 83, 34, 0.16);
}

.order-content {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
}

.order-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.order-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.28rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.order-id {
  color: var(--gold-text);
  font-weight: 900;
}

.status-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(55, 180, 127, 0.42);
  border-radius: 999px;
  color: #176647;
  background: rgba(55, 180, 127, 0.13);
  font-size: 0.82rem;
  font-weight: 900;
}

.order-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.order-details div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(135, 88, 22, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.order-details dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.order-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--cream);
  font-weight: 800;
}

.order-note {
  margin: 0;
  padding: 13px 14px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: rgba(255, 241, 212, 0.72);
  line-height: 1.55;
}

.download-link {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 8px;
  text-align: center;
}

.download-link.is-missing {
  pointer-events: none;
  color: #8d8474;
  border-color: rgba(135, 88, 22, 0.1);
  background: rgba(255, 255, 255, 0.5);
}

.complete-order-button {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: 11px 14px;
  border: 1px solid rgba(55, 180, 127, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(55, 180, 127, 0.92), rgba(27, 116, 79, 0.92));
  color: #f7fff9;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: transform 180ms ease, filter 180ms ease;
}

.complete-order-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.is-completed-order {
  opacity: 0.9;
}

.is-completed-order .status-pill {
  border-color: rgba(55, 180, 127, 0.5);
  color: #0f4f35;
  background: rgba(55, 180, 127, 0.18);
}

.completed-orders-board .order-card {
  background:
    linear-gradient(145deg, rgba(55, 180, 127, 0.08), rgba(255, 244, 229, 0.9)),
    #fff7ec;
}

.empty-orders {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 460px;
  padding: 34px;
  border: 1px solid rgba(135, 88, 22, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.empty-orders img {
  width: min(260px, 74vw);
}

.empty-orders h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.empty-orders p {
  max-width: 520px;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-preview-column {
    position: static;
    justify-items: center;
  }

  .product-configurator {
    max-width: none;
  }

  .product-preview-panel {
    width: min(520px, 100%);
  }

  .hero-copy {
    max-width: 860px;
  }

  .case-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .featured-example {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .top-nav {
    display: none;
  }

  .designer {
    grid-template-columns: 1fr;
  }

  .valuation-section {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    min-height: 500px;
  }

  .product-preview-panel {
    min-height: 560px;
  }

  .product-preview-panel .phone-stage {
    min-height: 490px;
  }

  .idea-strip,
  .process,
  .order-band {
    grid-template-columns: 1fr;
  }

  .gold-link {
    justify-self: start;
  }

  .order-actions {
    justify-self: start;
    justify-content: flex-start;
  }

  .admin-hero,
  .orders-board {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .order-card {
    grid-template-columns: 1fr;
  }

  .order-image-wrap {
    min-height: 260px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .featured-example {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand img {
    width: 100%;
  }

  .brand {
    width: 144px;
    height: 48px;
  }

  .header-action {
    min-width: 84px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 28px 14px 32px;
  }

  .configurator-section {
    gap: 16px;
  }

  .home-hero {
    padding: 28px 14px 36px;
  }

  .home-copy h1 {
    font-size: clamp(2.24rem, 13vw, 3.45rem);
  }

  .service-card {
    grid-template-columns: 1fr;
    min-height: 220px;
  }

  h1 {
    font-size: clamp(2.24rem, 14vw, 3.4rem);
  }

  .designer {
    padding: 10px;
  }

  .preview-panel {
    min-height: 440px;
  }

  .product-preview-panel {
    min-height: 450px;
    padding: 10px;
  }

  .phone-stage {
    min-height: 368px;
    padding: 22px 12px;
  }

  .product-preview-panel .phone-stage {
    min-height: 376px;
  }

  .phone-case {
    width: min(214px, 76vw);
    border-width: 10px;
    border-radius: 30px;
  }

  .preview-meta,
  .control-grid,
  .choice-group,
  .product-selects,
  .purchase-actions,
  .design-tabs {
    grid-template-columns: 1fr;
  }

  .wide-choice,
  .warranty-box,
  .parts-group {
    grid-template-columns: 1fr;
  }

  .preview-meta {
    display: grid;
  }

  .preview-meta span {
    text-align: left;
  }

  .idea-strip {
    padding-inline: 14px;
  }

  .case-examples {
    padding: 22px 14px 34px;
  }

  .case-example,
  .featured-example {
    min-height: 360px;
  }

  .process,
  .order-band {
    padding-inline: 14px;
  }

  .order-actions,
  .gold-link,
  .outline-link {
    width: 100%;
  }

  .admin-shell,
  .inline-admin {
    padding-inline: 14px;
  }

  .admin-stats,
  .admin-stats span,
  .outline-button {
    width: 100%;
  }

  .order-content {
    padding: 16px;
  }

  .order-heading,
  .order-details {
    grid-template-columns: 1fr;
  }

  .order-heading {
    display: grid;
  }
}

/* Final dark premium override */
body {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 183, 58, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(217, 150, 32, 0.18), transparent 22rem),
    linear-gradient(180deg, #020202 0%, #080808 48%, #0d0b08 100%);
  color: #f6f1e8;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 198, 86, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 198, 86, 0.035) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 84%);
}

.site-header {
  border-bottom: 1px solid rgba(255, 194, 83, 0.18);
  background: rgba(4, 4, 4, 0.88);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
}

.top-nav {
  color: #eee4d0;
}

.top-nav a:hover,
.top-nav a:first-child {
  color: #ffd36a;
}

.home-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 5vw, 74px) clamp(16px, 4vw, 58px) 32px;
}

.hero-shell {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  width: min(1480px, 100%);
  margin: 0 auto;
}

.hero-intro {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.hero-intro .eyebrow {
  margin: 0;
}

.hero-intro h1 {
  max-width: 980px;
  margin: 0;
  color: #f7f2e9;
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  line-height: 0.96;
}

.hero-intro h1 span,
.card-heading h2,
.price-box strong,
.price-box span {
  color: #ffd36a;
}

.hero-intro p {
  max-width: 760px;
  color: #cfc6b8;
  font-size: clamp(1.04rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.hero-actions .gold-link,
.hero-actions .outline-link {
  min-width: 230px;
  padding: 17px 22px;
  border-radius: 8px;
  text-align: center;
}

.premium-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.premium-card,
.service-card,
.designer,
.valuation-form,
.order-form,
.product-configurator,
.product-preview-panel,
.idea-strip article,
.process li,
.order-card,
.empty-orders,
.inline-admin {
  border: 1px solid rgba(255, 194, 83, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 46%),
    linear-gradient(180deg, #181818, #0b0b0b);
  color: #f6f1e8;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.05);
}

.premium-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 2vw, 28px);
}

.premium-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 211, 106, 0.5);
  transition: transform 180ms ease, border-color 180ms ease;
}

.card-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 211, 106, 0.65);
  border-radius: 12px;
  color: #ffd36a;
  background: rgba(217, 150, 32, 0.09);
  font-weight: 900;
}

.card-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

.card-heading p,
.configurator-head span,
.valuation-copy p,
.idea-strip p,
.process li span,
.empty-orders p,
.service-card p {
  color: #c6bcaa;
}

.print-flow {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(150px, 0.95fr) minmax(120px, 0.7fr) minmax(80px, 0.42fr);
  gap: 10px;
  min-height: 280px;
  padding: 12px;
  border: 1px solid rgba(255, 194, 83, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}

.mini-upload,
.mini-editor,
.mini-phone,
.case-options {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.mini-upload strong,
.mini-editor strong,
.mini-phone strong {
  color: #f2e6cb;
  font-size: 0.84rem;
}

.drop-preview,
.device-upload {
  display: grid;
  place-items: center;
  min-height: 104px;
  border: 1px dashed rgba(255, 194, 83, 0.52);
  border-radius: 8px;
  color: #f6f1e8;
  background: rgba(217, 150, 32, 0.08);
  text-align: center;
  font-weight: 800;
}

.mini-upload small,
.price-box small {
  color: #a99f8f;
}

.mini-editor {
  position: relative;
}

.mini-editor img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.92);
}

.crop-frame {
  position: absolute;
  inset: 62px 20px 38px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28);
}

.mini-case {
  position: relative;
  width: min(110px, 100%);
  aspect-ratio: 9 / 18.5;
  overflow: hidden;
  border: 6px solid #141414;
  border-radius: 22px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
}

.mini-case::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 10px;
  z-index: 2;
  width: 34px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.88);
}

.mini-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-options {
  align-content: center;
}

.case-options span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(255, 194, 83, 0.28);
  border-radius: 8px;
  color: #f2e6cb;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 800;
}

.quote-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(220px, 0.85fr);
  gap: 14px;
  min-height: 280px;
}

.quote-fields {
  display: grid;
  gap: 10px;
}

.quote-fields label {
  display: grid;
  gap: 7px;
  color: #f2e6cb;
}

select,
textarea,
input[type="file"],
input[type="number"],
.product-configurator select,
.product-configurator textarea,
.product-configurator input[type="file"],
.quote-fields select {
  border-color: rgba(255, 194, 83, 0.26);
  background: #090909;
  color: #f6f1e8;
}

.quote-preview {
  display: grid;
  align-content: start;
  gap: 14px;
}

.price-box {
  display: grid;
  gap: 9px;
  min-height: 140px;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 194, 83, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.12), transparent),
    rgba(217, 150, 32, 0.08);
  text-align: center;
}

.price-box strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.card-button {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 8px;
  text-align: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background: rgba(255, 194, 83, 0.18);
}

.trust-strip article {
  display: grid;
  gap: 6px;
  min-height: 98px;
  padding: 20px;
  background: rgba(12, 12, 12, 0.94);
}

.trust-strip strong {
  color: #fff7e8;
  font-size: 1.05rem;
}

.trust-strip span {
  color: #b7ad9b;
  line-height: 1.45;
}

.product-preview-panel .phone-stage,
.preview-panel {
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.14), transparent 38%),
    linear-gradient(180deg, #161616, #090909);
}

.case-examples,
.valuation-section,
.order-band,
.inline-admin {
  border-top-color: rgba(255, 194, 83, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.18);
}

.gold-link,
.primary-button,
.card-button,
.header-action {
  border-color: rgba(255, 211, 106, 0.5);
  background: linear-gradient(180deg, #ffd36a 0%, #d99620 58%, #9c5d13 100%);
  color: #160e03;
  box-shadow: 0 14px 40px rgba(217, 150, 32, 0.26);
}

.outline-link,
.outline-button,
.download-link {
  border-color: rgba(255, 194, 83, 0.36);
  background: rgba(11, 11, 11, 0.55);
  color: #f6f1e8;
}

@media (max-width: 1080px) {
  .premium-cards,
  .quote-home-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .print-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 28px 14px;
  }

  .hero-intro h1 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .hero-actions .gold-link,
  .hero-actions .outline-link {
    width: 100%;
    min-width: 0;
  }

  .premium-card {
    padding: 16px;
  }

  .card-heading,
  .print-flow {
    grid-template-columns: 1fr;
  }

  .mini-editor img {
    height: 220px;
  }

  .case-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Second hand offer page */
.top-nav a.is-active {
  color: var(--gold-bright);
}

.top-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.top-nav a:first-child:not(.is-active) {
  color: inherit;
}

.top-nav a:first-child:not(.is-active)::after {
  content: none;
}

.offer-main {
  position: relative;
  display: grid;
  gap: 22px;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(14px, 4vw, 58px) 34px;
}

.offer-main::before,
.offer-main::after {
  content: "";
  position: fixed;
  z-index: -1;
  border: 1px solid rgba(255, 194, 83, 0.18);
  opacity: 0.72;
  transform: rotate(-20deg);
}

.offer-main::before {
  left: -180px;
  bottom: 5vh;
  width: 430px;
  height: 430px;
  background: linear-gradient(135deg, rgba(255, 211, 106, 0.1), transparent 62%);
}

.offer-main::after {
  right: -190px;
  top: 10vh;
  width: 480px;
  height: 480px;
  background: linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 62%);
}

.offer-hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.offer-hero h1 {
  max-width: 1100px;
  margin: 0;
  color: #f7f2e9;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
}

.offer-hero h1 span {
  color: var(--gold-bright);
}

.offer-hero p {
  max-width: 860px;
  margin: 0;
  color: #d8d0c2;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.55;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(380px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.offer-panel {
  min-width: 0;
  border: 1px solid rgba(255, 194, 83, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(22, 22, 22, 0.97), rgba(7, 7, 7, 0.97));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.05);
}

.device-info-panel,
.offer-summary-panel {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2vw, 24px);
}

.step-indicator {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 194, 83, 0.18);
}

.step-indicator span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(255, 194, 83, 0.2);
  border-radius: 999px;
  color: #bfb6a6;
  font-size: 0.86rem;
  font-weight: 800;
}

.step-indicator span.is-active {
  border-color: rgba(255, 211, 106, 0.68);
  background: rgba(217, 150, 32, 0.15);
  color: var(--gold-bright);
}

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

.panel-title .eyebrow {
  margin: 0 0 3px;
}

.panel-title h2 {
  margin: 0;
  color: #f7f2e9;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 211, 106, 0.48);
  border-radius: 8px;
  color: var(--gold-bright);
  font-size: 1.4rem;
}

.device-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.device-form label {
  display: grid;
  gap: 8px;
  color: #efe7d8;
  font-size: 0.95rem;
  font-weight: 700;
}

.device-form select {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 194, 83, 0.23);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.62);
  color: #f7f2e9;
  font: inherit;
  outline: none;
}

.device-form select:focus {
  border-color: rgba(255, 211, 106, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 211, 106, 0.1);
}

.device-form label.has-error select {
  border-color: rgba(214, 76, 50, 0.75);
}

.extra-chip-field {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 194, 83, 0.2);
}

.extra-chip-field legend {
  padding-right: 10px;
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 900;
}

.extra-chip-field label {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.extra-chip-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.live-offer-card {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(255, 194, 83, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.12), transparent 48%),
    rgba(0, 0, 0, 0.3);
  text-align: center;
}

.live-offer-card strong {
  color: var(--gold-bright);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
}

.live-offer-card span {
  color: #e2d8c8;
  font-weight: 800;
}

.live-offer-card small {
  color: #cfc6b8;
  font-weight: 800;
}

.live-offer-card p {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255, 194, 83, 0.2);
  border-radius: 8px;
  color: #ffd36a;
  background: rgba(255, 211, 106, 0.06);
}

.photo-upload-area {
  display: grid;
  gap: 12px;
}

.photo-upload-area h3 {
  margin: 0;
  color: #f7f2e9;
  font-size: 1.3rem;
}

.offer-photo-dropzone {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 112px;
  border: 1px dashed rgba(255, 194, 83, 0.62);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.58);
  color: #f7f2e9;
  cursor: pointer;
}

.offer-photo-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.offer-photo-dropzone strong {
  color: #f7f2e9;
  font-size: 1.16rem;
}

.offer-photo-dropzone small,
.photo-guide {
  color: #c6bdad;
}

.local-only-note {
  margin: 0;
  color: #d8d0c2;
  font-size: 0.9rem;
  line-height: 1.45;
}

.photo-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
}

.photo-guide span {
  padding: 7px 9px;
  border: 1px solid rgba(255, 194, 83, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.photo-preview-grid figure {
  position: relative;
  min-height: 94px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}

.photo-preview-grid img {
  width: 100%;
  height: 100%;
  min-height: 94px;
  object-fit: cover;
}

.photo-preview-grid button {
  position: absolute;
  right: 6px;
  top: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 211, 106, 0.52);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffd36a;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
}

.offer-submit-button {
  width: 100%;
}

.offer-message {
  min-height: 22px;
  margin: 0;
  color: #d8d0c2;
  font-weight: 700;
}

.offer-message[data-type="error"] {
  color: #ff907c;
}

.offer-message[data-type="success"] {
  color: #8de0b4;
}

.offer-message[data-type="warning"] {
  color: #ffd36a;
}

.result-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 211, 106, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.result-card[hidden] {
  display: none;
}

.result-card h3,
.result-card p {
  margin: 0;
}

.result-card h3 {
  color: #f7f2e9;
  font-size: 1.24rem;
}

.result-card strong {
  color: var(--gold-bright);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.result-card p,
.result-card small {
  color: #d2c8b8;
  line-height: 1.5;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-actions .gold-link,
.result-actions .outline-button {
  display: grid;
  place-items: center;
  min-width: 190px;
  min-height: 48px;
}

.offer-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 45%),
    rgba(11, 11, 11, 0.9);
}

.offer-benefits article {
  display: grid;
  gap: 6px;
  padding: 22px;
  border-right: 1px solid rgba(255, 194, 83, 0.15);
}

.offer-benefits article:last-child {
  border-right: 0;
}

.offer-benefits strong {
  color: #f7f2e9;
  font-size: 1.1rem;
}

.offer-benefits span {
  color: #cfc6b8;
}

@media (max-width: 1120px) {
  .offer-layout {
    grid-template-columns: 1fr;
  }
}

/* Admin second hand base prices */
.base-price-admin {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.admin-page .admin-hero:has(#totalQuotes),
.admin-page .quote-board {
  display: none;
}

.admin-page .admin-hero[data-admin-panel="quotes"]:has(#totalQuotes):not([hidden]) {
  display: grid;
}

.admin-page .quote-board[data-admin-panel="quotes"]:not([hidden]) {
  display: grid;
}

.base-price-form,
.price-rule-preview,
.base-price-table-wrap {
  border: 1px solid rgba(255, 194, 83, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 211, 106, 0.08), transparent 42%),
    rgba(10, 10, 10, 0.9);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.28);
}

.base-price-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: clamp(16px, 2vw, 22px);
}

.base-price-form label {
  display: grid;
  gap: 8px;
  color: #efe7d8;
  font-weight: 800;
}

.base-price-form select,
.base-price-form input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 194, 83, 0.24);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.62);
  color: #f7f2e9;
  font: inherit;
  outline: none;
}

.base-price-form select:focus,
.base-price-form input:focus {
  border-color: rgba(255, 211, 106, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 211, 106, 0.1);
}

.base-price-form .primary-button {
  min-width: 160px;
}

.base-price-message {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: #d8d0c2;
  font-weight: 800;
}

.base-price-message[data-type="error"] {
  color: #ff907c;
}

.base-price-message[data-type="success"] {
  color: #8de0b4;
}

.price-rule-preview {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 2vw, 22px);
}

.price-rule-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.price-rule-head h2 {
  margin: 0;
  color: #f7f2e9;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.price-rule-head .eyebrow {
  margin: 0 0 4px;
}

.price-rule-head > span {
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 194, 83, 0.2);
  border-radius: 8px;
  color: #cfc6b8;
  text-align: right;
}

.price-rule-head strong {
  color: var(--gold-bright);
  font-size: 1.3rem;
}

.rule-note {
  margin: 0;
  color: #d8d0c2;
  line-height: 1.55;
}

.price-rule-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.price-rule-actions .primary-button,
.price-rule-actions .outline-button {
  min-height: 44px;
  padding-inline: 16px;
}

.price-rule-message {
  flex: 1 1 260px;
  min-height: 22px;
  margin: 0;
  color: #d8d0c2;
  font-weight: 800;
}

.price-rule-message[data-type="success"] {
  color: #8de0b4;
}

.price-rule-message[data-type="warning"] {
  color: #ffd36a;
}

.price-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-rules-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 83, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.price-rules-grid h3 {
  margin: 0;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255, 194, 83, 0.16);
  color: var(--gold-bright);
  font-size: 1rem;
}

.price-rules-grid ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-rules-grid li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 104px;
  gap: 10px;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 194, 83, 0.1);
  color: #efe7d8;
  font-size: 0.92rem;
}

.price-rules-grid li:last-child {
  border-bottom: 0;
}

.price-rules-grid span {
  min-width: 0;
}

.price-rules-grid em {
  color: #d8d0c2;
  font-style: normal;
  font-weight: 800;
  text-align: right;
}

.rule-percent-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 194, 83, 0.24);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.48);
  overflow: hidden;
}

.rule-percent-input input {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #f7f2e9;
  font: inherit;
  font-weight: 900;
  text-align: right;
  outline: none;
}

.rule-percent-input strong {
  padding-right: 8px;
  color: var(--gold-bright);
}

.base-price-table-wrap {
  overflow-x: auto;
  padding: 0;
}

.base-price-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.base-price-table th,
.base-price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 194, 83, 0.14);
  color: #efe7d8;
  text-align: left;
  white-space: nowrap;
}

.base-price-table th {
  color: var(--gold-bright);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.base-price-table td {
  color: #d8d0c2;
}

.base-price-table td:nth-child(5) {
  color: var(--gold-bright);
  font-weight: 900;
}

.base-price-table .outline-button {
  min-height: 38px;
  padding: 0 12px;
}

.base-price-empty {
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 1180px) {
  .base-price-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .base-price-form .primary-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .admin-category-nav {
    grid-template-columns: 1fr;
  }

  .base-price-form {
    grid-template-columns: 1fr;
  }

  .price-rule-head {
    display: grid;
  }

  .price-rule-head > span {
    width: 100%;
    text-align: left;
  }

  .price-rules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .offer-page .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .offer-page .header-icons {
    display: none;
  }

  .device-form,
  .extra-chip-field,
  .offer-benefits {
    grid-template-columns: 1fr;
  }

  .photo-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .offer-main {
    padding-inline: 14px;
  }

  .step-indicator {
    grid-template-columns: 1fr 1fr;
  }

  .result-actions,
  .result-actions .gold-link,
  .result-actions .outline-button {
    width: 100%;
  }
}
.price-rule-model-picker {
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(245, 183, 55, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(245, 183, 55, 0.08), rgba(0, 0, 0, 0.25));
}

.model-picker-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.4fr);
  gap: 18px;
  align-items: end;
}

.model-picker-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #fff;
  font-weight: 800;
}

.model-picker-field span {
  color: #ffd25d;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.model-picker-field input,
.model-picker-field select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(245, 183, 55, 0.45);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  outline: none;
}

.model-picker-field input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.model-picker-field input:focus,
.model-picker-field select:focus {
  border-color: #ffd25d;
  box-shadow: 0 0 0 3px rgba(255, 210, 93, 0.12);
}

.price-rule-model-picker .rule-note {
  margin-top: 14px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .model-picker-grid {
    grid-template-columns: 1fr;
  }
}

.premium-home-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  padding: 90px 7vw 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 195, 65, 0.18), transparent 30%),
    radial-gradient(circle at 8% 54%, rgba(255, 195, 65, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.96), #000);
}

.premium-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 210, 93, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 210, 93, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.premium-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 62px;
  max-width: 1380px;
  margin: 0 auto;
}

.premium-hero-content {
  max-width: 720px;
}

.premium-hero-content .eyebrow {
  margin-bottom: 18px;
  color: #ffd25d;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-hero-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.premium-hero-content h1 span {
  display: block;
  color: #ffd25d;
  text-shadow: 0 0 34px rgba(255, 186, 45, 0.28);
}

.premium-hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.65;
}

.premium-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.premium-hero-actions a {
  min-width: 180px;
  text-align: center;
}

.premium-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.premium-hero-badges span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 210, 93, 0.28);
  border-radius: 999px;
  background: rgba(255, 210, 93, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.premium-hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-logo-card {
  position: relative;
  width: min(620px, 100%);
  aspect-ratio: 1.65 / 1;
  display: grid;
  place-items: center;
  padding: 44px;
  border: 1px solid rgba(255, 210, 93, 0.28);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 210, 93, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.46);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 120px rgba(255, 185, 35, 0.16);
  overflow: hidden;
}

.hero-logo-card::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 240px;
  border-radius: 999px;
  background: rgba(255, 190, 60, 0.24);
  filter: blur(58px);
}

.hero-logo-card img {
  width: min(620px, 100%);
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.hero-mini-card {
  position: absolute;
  z-index: 2;
  min-width: 200px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 210, 93, 0.34);
  border-radius: 18px;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.hero-mini-card strong {
  display: block;
  color: #ffd25d;
  font-size: 17px;
  margin-bottom: 6px;
}

.hero-mini-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-mini-card-one {
  left: 0;
  bottom: 88px;
}

.hero-mini-card-two {
  right: 0;
  top: 76px;
}

.premium-feature-row {
  position: relative;
  z-index: 1;
  max-width: 1380px;
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 210, 93, 0.28);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.34);
}

.premium-feature-row article {
  padding: 24px;
  border-right: 1px solid rgba(255, 210, 93, 0.18);
}

.premium-feature-row article:last-child {
  border-right: 0;
}

.premium-feature-row strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 17px;
}

.premium-feature-row span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
  font-size: 14px;
}

@media (max-width: 980px) {
  .premium-home-hero {
    padding-top: 60px;
  }

  .premium-hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .premium-hero-visual {
    min-height: 360px;
  }

  .hero-logo-card {
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 26px;
}
  .hero-mini-card {
    position: static;
    margin-top: 14px;
    width: 100%;
  }

  .premium-feature-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .premium-home-hero {
    padding: 44px 20px 32px;
  }

  .premium-hero-content h1 {
    font-size: 44px;
  }

  .premium-hero-actions a {
    width: 100%;
  }

  .premium-feature-row {
    grid-template-columns: 1fr;
  }

  .premium-feature-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 210, 93, 0.18);
  }

  .premium-feature-row article:last-child {
    border-bottom: 0;
  }
}

/* Ana sayfa hero son düzeltmeler */

.site-header .brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.premium-home-hero {
  min-height: auto;
  padding-top: 72px;
  padding-bottom: 64px;
}

.premium-hero-layout {
  min-height: calc(100vh - 230px);
  align-items: center;
}

.premium-hero-content h1 {
  font-size: clamp(54px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.premium-hero-text {
  max-width: 680px;
  margin-top: 24px;
  font-size: 21px;
}

.premium-hero-actions {
  margin-top: 30px;
}

.premium-hero-actions .gold-link,
.premium-hero-actions .outline-link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-hero-visual {
  min-height: 480px;
}

.hero-logo-card {
  width: min(620px, 100%);
  aspect-ratio: 1.7 / 1;
  padding: 42px;
}

.hero-logo-card img {
  width: min(500px, 94%);
  max-height: 250px;
}

.hero-mini-card-one {
  left: 0;
  bottom: 58px;
}

.hero-mini-card-two {
  right: 0;
  top: 58px;
}

.premium-feature-row {
  margin-top: 34px;
}

/* Ana sayfa son premium rötuşlar */

.site-header {
  min-height: 86px;
  padding: 0 4vw;
}

.site-header .brand {
  display: flex;
  align-items: center;
  min-width: 170px;
}

.site-header .brand img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.premium-home-hero {
  padding-top: 64px;
  padding-bottom: 52px;
}

.premium-hero-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: 72px;
}

.premium-hero-content h1 {
  font-size: clamp(54px, 4.75vw, 78px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.premium-hero-text {
  max-width: 660px;
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.75;
}

.premium-hero-actions {
  margin-top: 34px;
}

.premium-hero-actions .gold-link,
.premium-hero-actions .outline-link {
  min-width: 210px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.premium-hero-visual {
  min-height: 500px;
}

.hero-logo-card {
  width: min(680px, 100%);
  aspect-ratio: 1.75 / 1;
  padding: 34px 46px;
  border-radius: 34px;
}

.hero-logo-card img {
  width: min(560px, 98%);
  max-height: 285px;
}

.hero-mini-card {
  min-width: 220px;
}

.hero-mini-card-one {
  left: 0;
  bottom: 44px;
}

.hero-mini-card-two {
  right: 0;
  top: 42px;
}

.premium-feature-row {
  margin-top: 28px;
}


/* Ana sayfa hizmet kartları */

.premium-service-section {
  position: relative;
  padding: 86px 7vw;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 190, 60, 0.1), transparent 28%),
    radial-gradient(circle at 85% 78%, rgba(255, 190, 60, 0.08), transparent 30%),
    #050505;
  border-top: 1px solid rgba(255, 210, 93, 0.16);
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
  color: #ffd25d;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.65;
}

.premium-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 1280px;
  margin: 0 auto;
}

.premium-service-card {
  position: relative;
  min-height: 440px;
  padding: 34px;
  border: 1px solid rgba(255, 210, 93, 0.24);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 210, 93, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.55);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.premium-service-card::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(255, 190, 60, 0.14);
  filter: blur(48px);
}

.premium-service-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px auto;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 210, 93, 0.18);
  border-radius: 28px;
  transform: rotate(12deg);
  opacity: 0.45;
}

.service-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.service-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 210, 93, 0.3);
  border-radius: 999px;
  background: rgba(255, 210, 93, 0.07);
  color: #ffd25d;
  font-weight: 900;
  font-size: 14px;
}

.service-card-top strong {
  color: rgba(255, 210, 93, 0.18);
  font-size: 68px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.premium-service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 2.7vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.premium-service-card p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.65;
}

.premium-service-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.premium-service-card li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.premium-service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffd25d;
  box-shadow: 0 0 18px rgba(255, 210, 93, 0.55);
}



.service-print {
  background:
    radial-gradient(circle at 16% 22%, rgba(255, 210, 93, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 210, 93, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.58);
}

.service-offer {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 210, 93, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(255, 210, 93, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.58);
}

@media (max-width: 900px) {
  .premium-service-grid {
    grid-template-columns: 1fr;
  }

  .premium-service-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .premium-service-section {
    padding: 64px 20px;
  }

  .premium-service-card {
    padding: 26px;
    border-radius: 24px;
  }

  .service-card-top strong {
    font-size: 54px;
  }

  .premium-service-card a {
    width: 100%;
  }
}

.premium-service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.premium-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 210, 93, 0.55);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 48px rgba(255, 190, 60, 0.12);
}

.premium-service-card:focus-visible {
  outline: 3px solid rgba(255, 210, 93, 0.55);
  outline-offset: 4px;
}

.service-cta {
  position: relative;
  z-index: 1;
  min-width: 190px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hizmet kartları hizalama düzeltmesi */

.premium-service-section {
  display: block;
}

.premium-service-section .section-heading {
  max-width: 880px;
  margin: 0 auto 44px;
  text-align: center;
}

.premium-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.premium-service-card {
  height: 100%;
  margin: 0;
  transform: none;
}

.premium-service-card:nth-child(1),
.premium-service-card:nth-child(2) {
  margin-top: 0;
  transform: none;
}

.home-service-options .premium-service-card {
  margin-top: 0;
}


.section-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.section-heading p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

/* Admin siparişleri kompakt liste görünümü */
.admin-page #ordersBoard,
.admin-page #completedOrdersBoard {
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-page #ordersBoard .order-card,
.admin-page #completedOrdersBoard .order-card {
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 118px;
  border-radius: 10px;
}

.admin-page #ordersBoard .order-image-wrap,
.admin-page #completedOrdersBoard .order-image-wrap {
  min-height: 118px;
  padding: 8px;
}

.admin-page #ordersBoard .order-image,
.admin-page #completedOrdersBoard .order-image {
  max-height: 96px;
  border-radius: 8px;
}

.admin-page #ordersBoard .order-content,
.admin-page #completedOrdersBoard .order-content {
  gap: 8px;
  padding: 10px 12px;
}

.admin-page #ordersBoard .order-heading,
.admin-page #completedOrdersBoard .order-heading {
  align-items: center;
  margin-bottom: 0;
}

.admin-page #ordersBoard .order-id,
.admin-page #completedOrdersBoard .order-id {
  font-size: 12px;
}

.admin-page #ordersBoard h2,
.admin-page #completedOrdersBoard h2 {
  margin-top: 2px;
  font-size: 17px;
  line-height: 1.15;
}

.admin-page #ordersBoard .status-pill,
.admin-page #completedOrdersBoard .status-pill {
  padding: 6px 9px;
  font-size: 11px;
}

.admin-page #ordersBoard .order-details,
.admin-page #completedOrdersBoard .order-details {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.admin-page #ordersBoard .order-details div,
.admin-page #completedOrdersBoard .order-details div {
  padding: 7px 8px;
  border-radius: 8px;
}

.admin-page #ordersBoard .order-details dt,
.admin-page #completedOrdersBoard .order-details dt {
  margin-bottom: 3px;
  font-size: 9px;
}

.admin-page #ordersBoard .order-details dd,
.admin-page #completedOrdersBoard .order-details dd {
  font-size: 12px;
  line-height: 1.22;
}

.admin-page #ordersBoard .download-link,
.admin-page #completedOrdersBoard .download-link,
.admin-page #ordersBoard .complete-order-button {
  min-height: 32px;
  margin-top: 0;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.admin-page #ordersBoard .order-note,
.admin-page #completedOrdersBoard .order-note {
  margin-top: 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .admin-page #ordersBoard .order-details,
  .admin-page #completedOrdersBoard .order-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-page #ordersBoard .order-card,
  .admin-page #completedOrdersBoard .order-card {
    grid-template-columns: 1fr;
  }

  .admin-page #ordersBoard .order-image-wrap,
  .admin-page #completedOrdersBoard .order-image-wrap {
    min-height: 150px;
  }

  .admin-page #ordersBoard .order-details,
  .admin-page #completedOrdersBoard .order-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .studio-page .header-icons,
  .offer-page .header-icons,
  .cart-page .header-icons {
    display: flex;
    width: 100%;
    justify-content: center;
    order: 3;
  }
}

/* Admin 2. el teklif geçmişi okunabilirlik düzeltmesi */

.quote-card.quote-no-image {
  display: block;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 210, 93, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 210, 93, 0.28);
  border-radius: 22px;
}

.quote-card.quote-no-image .order-content {
  width: 100%;
}

.quote-card.quote-no-image .order-heading {
  margin-bottom: 22px;
}

.quote-card.quote-no-image .order-id {
  color: #ffd25d;
  font-weight: 900;
}

.quote-card.quote-no-image h2 {
  color: #fff;
  font-size: clamp(26px, 2.4vw, 42px);
  line-height: 1.1;
}

.quote-card.quote-no-image .status-pill {
  background: linear-gradient(135deg, #ffd25d, #b87912);
  color: #111;
  font-weight: 900;
}

.quote-card.quote-no-image .order-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quote-card.quote-no-image .order-details div {
  padding: 18px;
  border: 1px solid rgba(255, 210, 93, 0.24);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.52);
}

.quote-card.quote-no-image .order-details dt {
  margin-bottom: 8px;
  color: #ffd25d;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quote-card.quote-no-image .order-details dd {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.quote-card.quote-no-image .order-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid #ffd25d;
  border-radius: 12px;
  background: rgba(255, 210, 93, 0.08);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .quote-card.quote-no-image .order-details {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .quote-card.quote-no-image .order-details {
    grid-template-columns: 1fr;
  }
}

/* Admin 2. el teklif kartlarını kompakt hale getir */

.quote-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quote-card.quote-no-image {
  padding: 20px;
  border-radius: 18px;
  max-width: none;
}

.quote-card.quote-no-image .order-heading {
  margin-bottom: 16px;
}

.quote-card.quote-no-image h2 {
  font-size: 28px;
  line-height: 1.15;
}

.quote-card.quote-no-image .order-id {
  font-size: 15px;
}

.quote-card.quote-no-image .status-pill {
  padding: 8px 14px;
  font-size: 13px;
}

.quote-card.quote-no-image .order-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-card.quote-no-image .order-details div {
  padding: 12px 14px;
  border-radius: 12px;
}

.quote-card.quote-no-image .order-details dt {
  font-size: 11px;
  margin-bottom: 5px;
}

.quote-card.quote-no-image .order-details dd {
  font-size: 15px;
  line-height: 1.35;
}

.quote-card.quote-no-image .order-note {
  margin-top: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
}


/* Admin sipariş tasarımları kompakt ve okunabilir görünüm */

.admin-page .orders-board:not(.quote-board) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-page .orders-board:not(.quote-board) .order-card {
  min-height: auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 210, 93, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(0, 0, 0, 0.74);
  border: 1px solid rgba(255, 210, 93, 0.24);
}

.admin-page .orders-board:not(.quote-board) .order-image-wrap {
  min-height: 360px;
  padding: 18px;
  background:
    radial-gradient(circle at center, rgba(255, 210, 93, 0.12), transparent 58%),
    rgba(255, 243, 218, 0.94);
  display: grid;
  place-items: center;
}

.admin-page .orders-board:not(.quote-board) .order-image {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 14px;
}

.admin-page .orders-board:not(.quote-board) .order-content {
  padding: 22px;
}

.admin-page .orders-board:not(.quote-board) .order-heading {
  margin-bottom: 18px;
}

.admin-page .orders-board:not(.quote-board) .order-id {
  color: #ffd25d;
  font-size: 15px;
  font-weight: 900;
}

.admin-page .orders-board:not(.quote-board) h2 {
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
  margin: 6px 0 0;
}

.admin-page .orders-board:not(.quote-board) .status-pill {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
}

.admin-page .orders-board:not(.quote-board) .order-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-page .orders-board:not(.quote-board) .order-details div {
  padding: 12px 14px;
  border: 1px solid rgba(255, 210, 93, 0.24);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.56);
}

.admin-page .orders-board:not(.quote-board) .order-details dt {
  margin-bottom: 6px;
  color: #ffd25d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-page .orders-board:not(.quote-board) .order-details dd {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
}

.admin-page .orders-board:not(.quote-board) .download-link {
  min-height: 46px;
  margin-top: 14px;
  font-size: 15px;
  border-radius: 12px;
}

.admin-page .orders-board:not(.quote-board) .order-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid #ffd25d;
  border-radius: 12px;
  background: rgba(255, 210, 93, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}


@media (max-width: 1100px) {
  .admin-page .orders-board:not(.quote-board) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-page .orders-board:not(.quote-board) .order-card {
    grid-template-columns: 1fr;
  }

  .admin-page .orders-board:not(.quote-board) .order-image-wrap {
    min-height: 260px;
  }

  .admin-page .orders-board:not(.quote-board) .order-image {
    max-height: 240px;
  }

  .admin-page .orders-board:not(.quote-board) .order-details {
    grid-template-columns: 1fr;
  }
}


/* Admin panel %100 zoom kompakt görünüm */

.admin-page .site-header {
  min-height: 54px;
  height: 54px;
}

.admin-page .site-header .brand img {
  height: 42px;
}

.admin-shell {
  padding: 24px 28px 60px;
}

.admin-hero {
  min-height: auto;
  padding: 22px 0 16px;
  margin-bottom: 16px;
  align-items: end;
}

.admin-hero .eyebrow {
  margin-bottom: 6px;
  font-size: 12px;
}

.admin-hero h1 {
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.admin-stats {
  gap: 10px;
}

.admin-stats span {
  min-width: 88px;
  min-height: 62px;
  padding: 10px 14px;
}

.admin-stats strong {
  font-size: 24px;
}

.admin-stats .outline-button,
.admin-stats button {
  min-height: 44px;
  padding: 0 18px;
}

.admin-subhero {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 210, 93, 0.18);
}

.admin-subhero h1 {
  font-size: clamp(34px, 4vw, 58px);
}

/* Sipariş kartlarını %100 zoomda daha kompakt göster */
.admin-page .orders-board:not(.quote-board) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-page .orders-board:not(.quote-board) .order-card {
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 230px;
}

.admin-page .orders-board:not(.quote-board) .order-image-wrap {
  min-height: 230px;
  padding: 12px;
}

.admin-page .orders-board:not(.quote-board) .order-image {
  max-height: 210px;
}

.admin-page .orders-board:not(.quote-board) .order-content {
  padding: 16px;
}

.admin-page .orders-board:not(.quote-board) h2 {
  font-size: 22px;
}

.admin-page .orders-board:not(.quote-board) .order-details {
  gap: 8px;
}

.admin-page .orders-board:not(.quote-board) .order-details div {
  padding: 8px 10px;
}

.admin-page .orders-board:not(.quote-board) .order-details dt {
  font-size: 10px;
}

.admin-page .orders-board:not(.quote-board) .order-details dd {
  font-size: 13px;
}

.admin-page .orders-board:not(.quote-board) .download-link {
  min-height: 36px;
  font-size: 13px;
  margin-top: 10px;
}

.admin-page .orders-board:not(.quote-board) .order-note {
  margin-top: 10px;
  padding: 9px 10px;
  font-size: 12px;
}

/* 2. el teklif kartlarını daha küçük göster */
.quote-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.quote-card.quote-no-image {
  padding: 16px;
}

.quote-card.quote-no-image h2 {
  font-size: 22px;
}

.quote-card.quote-no-image .order-heading {
  margin-bottom: 12px;
}

.quote-card.quote-no-image .order-details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quote-card.quote-no-image .order-details div {
  padding: 9px 10px;
}

.quote-card.quote-no-image .order-details dt {
  font-size: 10px;
}

.quote-card.quote-no-image .order-details dd {
  font-size: 13px;
}

.quote-card.quote-no-image .order-note {
  margin-top: 10px;
  padding: 10px 12px;
  font-size: 12px;
}

/* Üst admin kısa menü varsa çok yer kaplamasın */
.admin-page .top-nav {
  gap: 10px;
}

.admin-page .top-nav a {
  font-size: 13px;
  padding: 8px 12px;
}

.trade-in-section {
  margin-top: 1.25rem;
}

.trade-in-card {
  border: 1px solid rgba(240, 186, 72, 0.35);
  border-radius: 18px;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 200, 90, 0.06), rgba(255, 200, 90, 0.02)),
    rgba(10, 10, 10, 0.92);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 215, 120, 0.06);
}

.trade-card-head {
  margin-bottom: 1rem;
}

.trade-card-head .eyebrow {
  margin-bottom: 0.35rem;
}

.trade-card-head h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #f5f1e8;
}

.trade-in-description {
  margin: 0.75rem 0 0;
  color: rgba(245, 241, 232, 0.78);
  line-height: 1.55;
}

.trade-device-label {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
  color: #f5f1e8;
  font-weight: 600;
}

.trade-device-label span {
  font-size: 0.98rem;
}

.trade-device-label select {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(240, 186, 72, 0.45);
  background: rgba(15, 15, 15, 0.95);
  color: #fff;
  padding: 0 1rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trade-device-label select:focus {
  border-color: rgba(255, 206, 92, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 206, 92, 0.12);
}

.trade-in-result {
  margin-top: 1rem;
}

.trade-result-box {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(240, 186, 72, 0.18);
  background: rgba(0, 0, 0, 0.32);
}

.trade-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 206, 92, 0.08);
}

.trade-row span {
  color: rgba(245, 241, 232, 0.78);
  font-size: 0.95rem;
}

.trade-row strong {
  color: #fff;
  font-size: 1rem;
  text-align: right;
}

.trade-row-highlight {
  background: linear-gradient(135deg, rgba(255, 200, 90, 0.12), rgba(255, 200, 90, 0.04));
  border: 1px solid rgba(255, 206, 92, 0.35);
  align-items: flex-start;
}

.trade-row-highlight div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trade-row-highlight span {
  color: #f7d067;
  font-weight: 700;
}

.trade-row-highlight small {
  color: rgba(245, 241, 232, 0.56);
  font-size: 0.78rem;
  line-height: 1.35;
}

.trade-row-highlight strong {
  color: #f7d067;
  font-size: 1.35rem;
  font-weight: 800;
  white-space: nowrap;
}

.trade-extra-notes {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.8rem;
}

.installment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 205, 96, 0.12);
  border: 1px solid rgba(255, 205, 96, 0.28);
  color: #f6cf68;
  font-weight: 700;
  margin: 0;
}

.trade-disclaimer {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 206, 92, 0.08);
  color: rgba(245, 241, 232, 0.68);
  line-height: 1.5;
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .trade-in-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .trade-card-head h3 {
    font-size: 1.28rem;
  }

  .trade-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .trade-row strong {
    text-align: left;
  }

  .trade-row-highlight strong {
    font-size: 1.2rem;
    white-space: normal;
  }

  .installment-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
  }

  img,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  .container,
  .page-container,
  .section,
  .hero,
  .admin-shell,
  .offer-page,
  .designer-page {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .hero,
  .hero-content,
  .home-hero {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .hero h1,
  .page-title,
  h1 {
    font-size: 30px;
    line-height: 1.15;
  }

  .hero p,
  .page-description {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions,
  .button-group,
  .cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-actions a,
  .button-group a,
  .cta-button,
  button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .grid,
  .cards-grid,
  .features-grid,
  .product-grid,
  .offer-layout,
  .designer-layout,
  .admin-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .card,
  .feature-card,
  .product-card,
  .offer-card,
  .admin-card {
    width: 100%;
    border-radius: 18px;
  }

  input,
  select,
  textarea {
    width: 100%;
    min-height: 46px;
    font-size: 16px;
    box-sizing: border-box;
  }

  label {
    width: 100%;
  }

  table {
    min-width: 720px;
  }

  .table-wrap,
  .base-price-table-wrap,
  .sale-device-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .phone-preview,
  .preview-panel,
  .mockup-panel,
  .canvas-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .phone-mockup,
  .case-preview,
  .preview-phone {
    transform: scale(0.88);
    transform-origin: top center;
  }

  .admin-category-nav {
    overflow-x: auto;
    display: flex;
    gap: 8px;
    padding-bottom: 8px;
  }

  .admin-category-nav button {
    width: auto;
    min-width: max-content;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .container,
  .page-container,
  .section,
  .hero,
  .offer-page,
  .designer-page {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero h1,
  .page-title,
  h1 {
    font-size: 26px;
  }

  .hero p,
  .page-description {
    font-size: 14px;
  }

  .phone-mockup,
  .case-preview,
  .preview-phone {
    transform: scale(0.78);
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }

  img,
  video,
  canvas {
    max-width: 100%;
    height: auto;
  }

  /* Üst alan */
  header,
  .site-header,
  .main-header,
  .navbar {
    width: 100%;
    padding: 18px 18px;
  }

  .site-header,
  .main-header,
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-header img,
  .main-header img,
  .navbar img,
  .logo img {
    max-width: 185px;
    height: auto;
  }

  .site-header .cta-button,
  .main-header .cta-button,
  .navbar .cta-button,
  .header-cta,
  .nav-cta {
    width: auto;
    min-width: auto;
    padding: 12px 18px;
    font-size: 15px;
    white-space: nowrap;
  }

  /* Ana hero alanı */
  .hero,
  .home-hero,
  .hero-section,
  .main-hero {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 56px 20px 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    overflow: hidden;
  }

  .hero-content,
  .hero-text,
  .home-hero-content {
    width: 100%;
    max-width: 100%;
  }

  .hero-eyebrow,
  .eyebrow,
  .section-kicker {
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 4px;
    margin-bottom: 22px;
  }

  .hero h1,
  .home-hero h1,
  .main-hero h1,
  .hero-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(42px, 12vw, 58px);
    line-height: 0.98;
    letter-spacing: -2px;
    word-break: normal;
    overflow-wrap: normal;
    margin: 0 0 24px;
  }

  .hero h1 span,
  .hero-title span {
    display: inline;
  }

  .hero p,
  .home-hero p,
  .main-hero p,
  .hero-description {
    width: 100%;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
  }

  /* Hero butonları */
  .hero-actions,
  .home-hero-actions,
  .cta-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions a,
  .hero-actions button,
  .cta-group a,
  .cta-group button {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  /* Büyük görsel / kart taşmasını engelle */
  .hero-visual,
  .hero-image,
  .phone-visual,
  .preview-card,
  .mockup-card,
  .showcase-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
    position: relative;
    left: auto;
    right: auto;
    transform: none;
  }

  .hero-visual img,
  .hero-image img,
  .phone-visual img,
  .preview-card img,
  .mockup-card img,
  .showcase-card img {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  /* Kartlı bölümler */
  .cards-grid,
  .features-grid,
  .services-grid,
  .product-grid,
  .home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
  }

  .card,
  .feature-card,
  .service-card,
  .product-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero,
  .home-hero,
  .hero-section,
  .main-hero {
    padding: 46px 18px 30px;
  }

  .hero h1,
  .home-hero h1,
  .main-hero h1,
  .hero-title {
    font-size: clamp(38px, 12.5vw, 52px);
    line-height: 1;
    letter-spacing: -1.8px;
  }

  .hero p,
  .home-hero p,
  .main-hero p,
  .hero-description {
    font-size: 17px;
  }

  .site-header img,
  .main-header img,
  .navbar img,
  .logo img {
    max-width: 160px;
  }
}

.mobile-home-hero {
  display: none;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  /* Mevcut masaüstü hero'yu mobilde gizle */
  #anasayfa {
    display: none !important;
  }

  .mobile-home-hero {
    display: block;
    width: 100%;
    min-height: auto;
    padding: 42px 18px 34px;
    background:
      radial-gradient(circle at top right, rgba(255, 205, 69, 0.22), transparent 34%),
      linear-gradient(145deg, #050505 0%, #141006 58%, #241a05 100%);
    color: #fff;
    overflow: hidden;
  }

  .mobile-home-badge {
    display: inline-flex;
    margin-bottom: 22px;
    color: #ffd35a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
  }

  .mobile-home-hero h1 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(42px, 12vw, 56px);
    line-height: 0.98;
    letter-spacing: -2px;
    font-weight: 950;
  }

  .mobile-home-hero h1 br {
    display: block;
  }

  .mobile-home-hero p {
    margin: 20px 0 0;
    max-width: 95%;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.45;
  }

  .mobile-home-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .mobile-home-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
  }

  .mobile-primary-btn {
    background: linear-gradient(135deg, #ffd76a, #b97812);
    color: #120c02;
    box-shadow: 0 14px 34px rgba(255, 187, 44, 0.28);
  }

  .mobile-secondary-btn {
    border: 1px solid rgba(255, 215, 106, 0.42);
    color: #ffd76a;
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-home-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 16px;
    border: 1px solid rgba(255, 215, 106, 0.25);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
  }

  .mobile-home-card img {
    width: 96px;
    height: auto;
    object-fit: contain;
  }

  .mobile-home-card strong {
    display: block;
    color: #fff;
    font-size: 17px;
    margin-bottom: 6px;
  }

  .mobile-home-card span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.35;
  }

  .mobile-home-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .mobile-home-services a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
  }

  .mobile-home-services span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: rgba(255, 215, 106, 0.16);
  }

  .mobile-home-services strong {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  header,
  .site-header,
  .main-header,
  .navbar {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .site-header img,
  .main-header img,
  .navbar img,
  .logo img {
    max-width: 160px !important;
  }

  .site-header a,
  .main-header a,
  .navbar a {
    white-space: nowrap;
  }
}

.premium-mobile-header,
.premium-mobile-backdrop,
.premium-mobile-drawer {
  display: none;
}

@media (max-width: 768px) {
  body.mobile-drawer-open {
    overflow: hidden;
  }

  .desktop-header {
    display: none !important;
  }

  .premium-mobile-header {
    display: grid;
    grid-template-columns: 50px 1fr 64px;
    align-items: center;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
    padding: 12px 14px;
    background: #050505;
    border-bottom: 1px solid rgba(255, 207, 87, 0.22);
  }

  .premium-mobile-menu-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 207, 87, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffd35a;
    font-size: 27px;
    line-height: 1;
  }

  .premium-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .premium-mobile-logo img {
    width: 160px;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .premium-mobile-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 46px;
    padding: 0 10px;
    border: 1px solid rgba(255, 207, 87, 0.28);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffd35a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
  }

  .premium-mobile-cart-count {
    position: absolute;
    top: -8px;
    right: -7px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffd76a, #b97812);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
  }

  .premium-mobile-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .premium-mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: min(86vw, 360px);
    height: 100dvh;
    background: #ffffff;
    color: #171717;
    border-radius: 0 28px 28px 0;
    box-shadow: 24px 0 80px rgba(0, 0, 0, 0.28);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  body.mobile-drawer-open .premium-mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.mobile-drawer-open .premium-mobile-drawer {
    transform: translateX(0);
  }

  .premium-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 22px 16px;
  }

  .premium-drawer-head img {
    width: 180px;
    max-width: 70%;
  }

  .premium-drawer-head button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: #fff;
    color: #171717;
    font-size: 21px;
  }

  .premium-drawer-promo {
    margin: 8px 22px 22px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #111111, #2b2b2b);
    color: #fff;
  }

  .premium-drawer-promo strong {
    display: block;
    font-size: 17px;
    margin-bottom: 6px;
  }

  .premium-drawer-promo span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
  }

  .premium-drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 0 18px;
  }

  .premium-drawer-nav a {
    display: grid;
    grid-template-columns: 42px 1fr 20px;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 8px 4px;
    color: #171717;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .premium-drawer-nav a span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #f3f3f3;
    font-size: 20px;
  }

  .premium-drawer-nav a strong {
    font-size: 17px;
    font-weight: 800;
  }

  .premium-drawer-nav a em {
    color: #999;
    font-size: 28px;
    font-style: normal;
  }

  .premium-drawer-bottom {
    margin-top: auto;
    padding: 22px;
  }

  .premium-drawer-bottom a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffd76a, #b97812);
    color: #121212;
    text-decoration: none;
    font-weight: 900;
  }
}

@media (max-width: 430px) {
  .premium-mobile-logo img {
    width: 145px;
  }

  .premium-mobile-header {
    grid-template-columns: 46px 1fr 58px;
    padding: 12px 12px;
  }
}


/* 2. EL TEKLİF MOBİL İYİLEŞTİRME */
@media (max-width: 768px) {
  .offer-page {
    overflow-x: hidden;
  }

  .offer-main {
    padding: 0 18px 32px;
  }

  /* Üst hero alanını kısalt */
  .offer-hero {
    padding: 34px 0 24px;
    text-align: center;
  }

  .offer-hero .eyebrow {
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 5px;
    margin-bottom: 16px;
  }

  .offer-hero h1 {
    max-width: 100%;
    margin: 0 auto;
    font-size: 31px;
    line-height: 0.98;
    letter-spacing: -1.2px;
  }

  .offer-hero h1 span {
    display: inline;
  }

  .offer-hero p {
    max-width: 92%;
    margin: 16px auto 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .offer-hero .studio-hero-actions {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .offer-hero .gold-link,
  .offer-hero .outline-link {
    width: 100%;
    min-height: 46px;
    font-size: 13px;
    border-radius: 12px;
  }

  .offer-hero .outline-link {
    background: rgba(255, 255, 255, 0.03);
  }

  /* Ana layout */
  .offer-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .offer-panel {
    width: 100%;
    border-radius: 16px;
    padding: 18px 14px;
    overflow: hidden;
  }

  /* Sarı çapraz efekt çok baskın, mobilde azalt */
  .offer-panel::before,
  .device-info-panel::before,
  .offer-summary-panel::before {
    opacity: 0.28 !important;
  }

  .device-info-panel {
    background:
      linear-gradient(145deg, rgba(255, 207, 87, 0.16), rgba(0, 0, 0, 0.92) 46%),
      rgba(0, 0, 0, 0.82);
  }

  /* Step kısmı daha küçük */
  .step-indicator {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 20px;
  }

  .step-indicator span {
    font-size: 10px;
    padding: 8px 4px;
    border-radius: 10px;
    text-align: center;
  }

  /* Başlıklar */
  .panel-title {
    gap: 10px;
    margin-bottom: 18px;
  }

  .panel-title .eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
  }

  .panel-title h2 {
    font-size: 20px;
  }

  /* Formu sıkılaştır */
  .device-form {
    display: grid;
    gap: 10px;
  }

  .device-form label {
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
  }

  .device-form select,
  .device-form input,
  .device-form textarea {
    min-height: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 13px;
  }

  /* Ek bilgiler mobilde çok uzuyor, 2 sütun yap */
  .extra-chip-field {
    margin-top: 6px;
    padding-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .extra-chip-field legend {
    grid-column: 1 / -1;
    font-size: 12px;
    margin-bottom: 4px;
  }

  .extra-chip-field label {
    min-height: 48px;
    padding: 10px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.2;
  }

  .extra-chip-field input {
    width: 14px;
    height: 14px;
    min-height: auto;
  }

  /* Ortalama teklif kartını kompakt yap */
  .offer-summary-panel {
    padding: 18px 14px;
  }

  .live-offer-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .live-offer-card strong {
    font-size: 25px;
    line-height: 1;
  }

  .live-offer-card span {
    font-size: 12px;
    line-height: 1.35;
  }

  .live-offer-card p {
    margin-top: 12px;
    padding: 12px;
    font-size: 11px;
    line-height: 1.35;
  }

  .offer-submit-button {
    min-height: 46px;
    margin-top: 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  /* Avantajları daha kısa göster */
  .offer-benefits {
    margin-top: 16px;
    padding: 18px 16px;
    border-radius: 16px;
    display: grid;
    gap: 14px;
  }

  .offer-benefits article {
    padding: 0;
  }

  .offer-benefits strong {
    font-size: 14px;
  }

  .offer-benefits span {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .offer-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .offer-hero h1 {
    font-size: 28px;
  }

  .extra-chip-field {
    grid-template-columns: 1fr 1fr;
  }

  .extra-chip-field label {
    font-size: 10.5px;
  }
}

/* 2. el teklif sayfasında mobil hero alanını gizle */
@media (max-width: 768px) {
  .offer-page .offer-hero {
    display: none !important;
  }

  .offer-page .offer-main {
    padding-top: 18px;
  }

  .offer-page .offer-layout {
    margin-top: 0 !important;
  }
}

/* 2. el teklif sayfasında mobil hero alanını gizle */
@media (max-width: 768px) {
  .offer-page .offer-hero {
    display: none !important;
  }

  .offer-page .offer-main {
    padding-top: 18px;
  }

  .offer-page .offer-layout {
    margin-top: 0 !important;
  }

  .offer-page .offer-summary-panel > .trade-in-section,
  .offer-page .offer-summary-panel > .result-card {
    display: none !important;
  }
}

/* Mobilde teklif sonucunu popup olarak göster */
.mobile-offer-modal {
  display: none;
}

@media (max-width: 768px) {
  body.mobile-offer-modal-open {
    overflow: hidden;
  }

  .mobile-offer-modal {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1200;
  }

  .mobile-offer-modal[hidden] {
    display: none !important;
  }

  .mobile-offer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
  }

  .mobile-offer-modal-card {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 86dvh;
    overflow-y: auto;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 207, 87, 0.34);
    background:
      radial-gradient(circle at top right, rgba(255, 207, 87, 0.18), transparent 34%),
      linear-gradient(145deg, #090909, #171308);
    color: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  }

  .mobile-offer-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
  }

  .mobile-offer-modal-head .eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    margin: 0 0 5px;
    color: #ffd35a;
  }

  .mobile-offer-modal-head h2 {
    margin: 0;
    font-size: 24px;
  }

  .mobile-offer-modal-head button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 207, 87, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffd35a;
    font-size: 20px;
  }

  .mobile-offer-modal-body {
    display: grid;
    gap: 14px;
  }

  .mobile-offer-modal-body .result-card,
  .mobile-offer-modal-body .trade-in-section,
  .mobile-offer-modal-body .trade-in-card {
    display: block !important;
    width: 100%;
    margin: 0 !important;
  }

  .mobile-offer-modal-body .result-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .mobile-offer-modal-body .result-card h3 {
    font-size: 18px;
  }

  .mobile-offer-modal-body .result-card strong {
    display: block;
    font-size: 30px;
    line-height: 1.1;
    color: #ffd35a;
    margin: 8px 0;
  }

  .mobile-offer-modal-body .result-card small {
    display: block;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.68);
  }

  .mobile-offer-modal-body .trade-in-card {
    padding: 18px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 207, 87, 0.28);
    background: rgba(255, 255, 255, 0.04);
  }

  .mobile-offer-modal-body .trade-in-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .mobile-offer-modal-body .trade-in-description,
  .mobile-offer-modal-body .trade-disclaimer,
  .mobile-offer-modal-body .installment-text {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
  }

  .mobile-offer-modal-body select {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    font-size: 14px;
  }

  .mobile-offer-modal-body .trade-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-offer-modal-body .trade-row span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
  }

  .mobile-offer-modal-body .trade-row strong {
    text-align: right;
    color: #ffd35a;
    font-size: 14px;
  }

  .mobile-offer-modal-body .trade-row-highlight strong {
    font-size: 18px;
  }
}

/* Mobilde ortalama teklif kartını butona basana kadar gizle */
@media (max-width: 768px) {
  .offer-page .offer-summary-panel {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .offer-page .offer-summary-panel > .panel-title,
  .offer-page .offer-summary-panel > .live-offer-card {
    display: none !important;
  }

  .offer-page .offer-submit-button {
    width: 100%;
    min-height: 54px;
    margin-top: 0 !important;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
  }

  .offer-page .offer-message {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
  }

  .offer-page .offer-summary-panel > .trade-in-section,
  .offer-page .offer-summary-panel > .result-card {
    display: none !important;
  }
}
