:root {
  --bg: #f5f2ec;
  --surface: #ffffff;
  --surface-soft: #f8f5f0;
  --line: #e6e0d8;
  --text: #2b2b2b;
  --muted: #6f6f6f;
  --soft: #9a9a9a;
  --accent: #c6a769;
  --accent-dark: #b8965d;
  --accent-light: #e3d0aa;
  --icon: #7a6f63;
  --footer-bg: #28231f;
  --footer-ink: #f8f5f0;
  --shadow: 0 24px 70px rgba(74, 60, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(245, 242, 236, 0.94) 46%, rgba(232, 222, 207, 0.58)),
    var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.hero-panel {
  min-height: 380px;
  border: 1px solid rgba(198, 167, 105, 0.22);
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 242, 236, 0.98) 0%, rgba(245, 242, 236, 0.9) 38%, rgba(245, 242, 236, 0.35) 66%, rgba(245, 242, 236, 0.08) 100%),
    url("https://images.unsplash.com/photo-1518310383802-640c2de311b2?auto=format&fit=crop&w=1500&q=82") center top / cover;
  box-shadow: var(--shadow);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 0;
}

.brand {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
}

.start-pill,
.checkout-title-row > span {
  border: 1px solid rgba(198, 167, 105, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--icon);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 580px);
  align-content: center;
  gap: 40px;
  min-height: 320px;
  padding: 34px 44px 38px;
}

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

.hero-highlights {
  display: grid;
  gap: 11px;
  margin: 4px 0 0;
  padding: 0;
  max-width: 560px;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding-left: 26px;
  color: rgba(43, 43, 43, 0.82);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0 3px, transparent 4px),
    var(--accent);
  box-shadow: 0 4px 12px rgba(198, 167, 105, 0.4);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 600px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 540px;
  margin-bottom: 22px;
  color: rgba(43, 43, 43, 0.72);
  font-size: 16px;
  line-height: 1.6;
}

.goal-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
}

.goal-button {
  min-height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(43, 43, 43, 0.78);
  font-weight: 700;
}

.goal-button.active {
  border-color: rgba(198, 167, 105, 0.5);
  background: rgba(198, 167, 105, 0.18);
  color: var(--icon);
}

.summary-panel {
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
  backdrop-filter: blur(18px);
}

.summary-kicker {
  margin-bottom: 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.summary-panel h2 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.12;
}

.summary-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}

.summary-meta span::before,
.feature-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.summary-panel strong {
  color: var(--accent-dark);
  font-size: 28px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  color: rgba(43, 43, 43, 0.68);
  font-size: 14px;
  list-style: none;
}

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

.meal-thumb {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 20px rgba(74, 60, 49, 0.1);
}

.meal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meal-thumb figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 9px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.meal-thumb--empty {
  background:
    repeating-linear-gradient(45deg, rgba(198, 167, 105, 0.1) 0 8px, rgba(198, 167, 105, 0.04) 8px 16px);
}

.checkout-step {
  display: grid;
  gap: 12px;
}

.checkout-step[hidden] {
  display: none;
}

.order-summary {
  display: grid;
  gap: 8px;
  border-radius: 14px;
  background: rgba(198, 167, 105, 0.1);
  padding: 14px;
}

.order-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.order-summary-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.order-summary-row strong {
  color: var(--icon);
  font-size: 14px;
  text-align: right;
}

.order-summary-row .order-summary-price {
  color: var(--accent-dark);
  font-size: 18px;
}

.back-link {
  justify-self: start;
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--icon);
  outline: none;
}

/* Yerel test: bağlı olunan API (sadece localhost'ta eklenir) */
.env-badge {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 9999;
  padding: 6px 10px;
  border-radius: 999px;
  background: #28231f;
  color: #f8f5f0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* İndirim kodu */
.order-summary-price .price-old {
  margin-right: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: line-through;
}

.order-summary-discount strong {
  color: var(--accent-dark);
}

.discount-box {
  display: grid;
  gap: 7px;
}

.discount-label {
  color: rgba(43, 43, 43, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.discount-row {
  display: flex;
  gap: 8px;
}

.discount-row input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.discount-row input::placeholder {
  text-transform: none;
  letter-spacing: 0;
}

.discount-row input:disabled {
  opacity: 0.75;
}

.discount-apply {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  background: var(--icon);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.discount-apply:disabled {
  opacity: 0.6;
  cursor: default;
}

.discount-status {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.discount-status:empty {
  display: none;
}

.discount-status.success {
  color: var(--accent-dark);
  font-weight: 700;
}

.discount-status.error {
  color: #ef4444;
  font-weight: 700;
}

.ghost-button,
.pay-button {
  border: 0;
  border-radius: 14px;
  font-weight: 700;
}

.ghost-button {
  background: rgba(0, 0, 0, 0.07);
  color: var(--icon);
  padding: 13px 18px;
}

.pay-button {
  background: linear-gradient(135deg, #d8c29a, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(198, 167, 105, 0.32);
}

.checkout-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

form {
  display: grid;
  gap: 12px;
}

label:not(.checkbox-row) {
  display: grid;
  gap: 7px;
}

label > span:first-child {
  color: rgba(43, 43, 43, 0.62);
  font-size: 13px;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input:not([type]) {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.045);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

input:focus {
  border-color: rgba(198, 167, 105, 0.72);
  background: rgba(198, 167, 105, 0.08);
}

.payment-section-title {
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.payment-trust-band {
  margin: 4px auto 0;
  max-width: 360px;
  color: rgba(43, 43, 43, 0.6);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.footer-payments {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.payment-trust-band--footer {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0.92;
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(198, 167, 105, 0.14);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pay-button-label {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(43, 43, 43, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.checkbox-row a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.checkbox-row a:hover,
.checkbox-row a:focus-visible {
  color: var(--icon);
  outline: none;
}

.pay-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 16px 0 22px;
  margin-top: 4px;
  background: linear-gradient(135deg, #5b86ff, #2f6bff 52%, #1453e6);
  box-shadow: 0 16px 30px rgba(31, 92, 245, 0.34);
}

.pay-button-logo {
  height: 26px;
  width: auto;
  pointer-events: none;
}

.pay-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.5;
}

.form-status.success {
  color: var(--accent-dark);
  font-weight: 700;
}

.form-status.error {
  color: #ef4444;
  font-weight: 700;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 26px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(198, 167, 105, 0.2), rgba(198, 167, 105, 0.04) 48%, rgba(255, 255, 255, 0.05)),
    var(--footer-bg);
  color: var(--footer-ink);
  box-shadow: 0 24px 70px rgba(41, 35, 29, 0.22);
  overflow: hidden;
}

.footer-shell {
  padding: 36px 38px 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) minmax(190px, 0.8fr) repeat(2, minmax(150px, 0.65fr));
  gap: 34px;
}

.footer-brand-column,
.footer-column {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-logo {
  width: fit-content;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.footer-copy {
  max-width: 360px;
  margin: 0;
  color: rgba(248, 245, 240, 0.74);
  line-height: 1.65;
}

.contact-column {
  gap: 14px;
}

.instagram-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d8c29a, var(--accent), var(--accent-dark));
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 0 16px 0 18px;
  box-shadow: 0 14px 28px rgba(198, 167, 105, 0.2);
}

.instagram-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 15px;
}

.footer-column a,
.footer-bottom a {
  width: fit-content;
  color: rgba(248, 245, 240, 0.74);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-column .instagram-button,
.footer-column .instagram-button:hover,
.footer-column .instagram-button:focus-visible {
  color: #ffffff;
}

.footer-column a:hover,
.footer-bottom a:hover,
.footer-column a:focus-visible,
.footer-bottom a:focus-visible,
.footer-logo:focus-visible,
.instagram-button:focus-visible {
  color: var(--accent-light);
  outline: none;
}

.footer-mail {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  color: rgba(248, 245, 240, 0.74);
  font-size: 14px;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
}

.text-page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.text-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
}

.text-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.text-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(198, 167, 105, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(43, 43, 43, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 0 13px;
}

.text-nav a:hover,
.text-nav a:focus-visible {
  border-color: rgba(198, 167, 105, 0.46);
  color: var(--icon);
  outline: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(198, 167, 105, 0.36);
  border-radius: 999px;
  background: var(--footer-bg);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 0 14px;
}

.back-link:hover,
.back-link:focus-visible {
  background: #342d27;
  color: var(--accent-light);
  outline: none;
}

.text-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: end;
  gap: 32px;
  border: 1px solid rgba(198, 167, 105, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(40, 35, 31, 0.98), rgba(56, 48, 40, 0.96)),
    url("https://images.unsplash.com/photo-1571902943202-507ec2618e8f?auto=format&fit=crop&w=1600&q=78") center / cover;
  color: var(--footer-ink);
  box-shadow: var(--shadow);
  padding: 46px 48px;
  overflow: hidden;
}

.text-panel h1 {
  max-width: 720px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.text-panel .eyebrow {
  color: var(--accent-light);
}

.text-lead {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(248, 245, 240, 0.76);
  font-size: 17px;
  line-height: 1.62;
}

.text-panel-meta {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
  list-style: none;
}

.text-panel-meta li {
  display: grid;
  gap: 4px;
  color: rgba(248, 245, 240, 0.78);
  font-size: 14px;
}

.text-panel-meta span {
  color: rgba(248, 245, 240, 0.52);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.text-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.policy-content,
.info-aside,
.contact-panel,
.about-highlights {
  border: 1px solid rgba(198, 167, 105, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(74, 60, 49, 0.08);
}

.policy-content {
  padding: 34px;
}

.policy-section + .policy-section {
  margin-top: 26px;
  border-top: 1px solid rgba(198, 167, 105, 0.18);
  padding-top: 24px;
}

.policy-section h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.16;
}

.policy-section p,
.policy-section li {
  color: rgba(43, 43, 43, 0.7);
  font-size: 16px;
  line-height: 1.76;
}

.policy-section p:last-child,
.policy-list:last-child,
.feature-list-clean:last-child {
  margin-bottom: 0;
}

.policy-list,
.feature-list-clean {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.policy-list li,
.feature-list-clean li {
  position: relative;
  padding-left: 20px;
}

.policy-list li::before,
.feature-list-clean li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.info-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 20px;
  padding: 24px;
}

.info-aside h2,
.contact-panel h2,
.about-highlights h2 {
  margin-bottom: 2px;
  font-size: 18px;
}

.side-link-grid {
  display: grid;
  gap: 10px;
}

.side-link-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  border-radius: 14px;
  background: rgba(198, 167, 105, 0.1);
  color: var(--icon);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 0 14px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.side-link-grid a[aria-current="page"] {
  border: 1px solid rgba(184, 150, 93, 0.44);
  background: linear-gradient(135deg, rgba(227, 208, 170, 0.98), rgba(198, 167, 105, 0.94));
  color: #342d27;
  box-shadow: 0 14px 30px rgba(198, 167, 105, 0.2);
}

.side-link-grid a[aria-current="page"] span {
  color: rgba(52, 45, 39, 0.68);
}

.side-link-grid a:hover,
.side-link-grid a:focus-visible {
  background: rgba(198, 167, 105, 0.18);
  color: var(--text);
  outline: none;
}

.side-link-grid a[aria-current="page"]:hover,
.side-link-grid a[aria-current="page"]:focus-visible {
  background: linear-gradient(135deg, rgba(227, 208, 170, 0.98), rgba(198, 167, 105, 0.94));
  color: #342d27;
}

.info-note {
  border-top: 1px solid rgba(198, 167, 105, 0.18);
  padding-top: 18px;
}

.info-note p {
  margin: 0;
  color: rgba(43, 43, 43, 0.62);
  font-size: 14px;
  line-height: 1.65;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
}

.highlight-item {
  background: rgba(255, 255, 255, 0.56);
  padding: 24px;
}

.highlight-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 15px;
}

.highlight-item p {
  margin: 0;
  color: rgba(43, 43, 43, 0.64);
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 24px;
  margin-top: 24px;
}

.contact-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  background: rgba(198, 167, 105, 0.1);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  padding: 0 18px;
}

.contact-link-card:hover,
.contact-link-card:focus-visible {
  border-color: rgba(198, 167, 105, 0.42);
  background: rgba(198, 167, 105, 0.16);
  color: var(--icon);
  outline: none;
}

.contact-link-card span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.text-page-footer {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero-grid,
  .text-panel,
  .text-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .summary-panel,
  .info-aside {
    position: static;
  }

  .hero-panel {
    background-position: center;
  }
}

@media (max-width: 660px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 12px;
  }

  .site-footer {
    width: min(100% - 24px, 1180px);
    border-radius: 18px;
  }

  .text-page-shell {
    width: min(100% - 24px, 920px);
    padding-top: 16px;
  }

  .hero-panel,
  .text-panel,
  .policy-content,
  .info-aside,
  .contact-panel,
  .about-highlights {
    border-radius: 18px;
  }

  .brand-row,
  .hero-grid{
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid {
    min-height: 520px;
    padding-top: 34px;
  }

  .lead {
    font-size: 15px;
  }

  .goal-switch,
  .card-row,
  .feature-list{
    grid-template-columns: 1fr;
  }

  .footer-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .text-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .text-nav {
    justify-content: flex-start;
  }

  .text-panel {
    padding: 30px 20px;
  }

  .text-panel-meta,
  .policy-content,
  .info-aside,
  .contact-panel {
    padding: 20px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .footer-bottom {
    align-items: center;
    flex-direction: column;
  }

  .footer-bottom-links {
    justify-content: flex-start;
  }
}

/* ============================================
   ÖDEME SONUCU MODALI
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(26, 22, 18, 0.55);
  backdrop-filter: blur(6px);
  animation: modal-fade 220ms ease;
}

.modal-overlay[hidden] {
  display: none;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 40px 32px 32px;
  border-radius: 26px;
  background: #fff;
  text-align: center;
  box-shadow: 0 40px 100px rgba(26, 22, 18, 0.4);
  animation: modal-pop 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #fff;
}

.modal-icon--success {
  background: linear-gradient(135deg, #46c98b, #2ea86e);
  box-shadow: 0 16px 34px rgba(46, 168, 110, 0.4);
}

.modal-icon--error {
  background: linear-gradient(135deg, #f0776b, #e0574a);
  box-shadow: 0 16px 34px rgba(224, 87, 74, 0.36);
}

.modal-title {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.modal-text {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.modal-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.24);
  color: #128c3e;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.modal-note-icon {
  flex-shrink: 0;
  color: #25d366;
}

.modal-action {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #d8c29a, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 14px 30px rgba(198, 167, 105, 0.32);
}

.modal-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(198, 167, 105, 0.42);
}

.modal-card--error .modal-note {
  display: none;
}

/* Yardım/destek bloğu — yalnızca başarısız/iptal modalında görünür */
.modal-help {
  display: none;
  text-align: left;
  padding: 16px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.modal-card--error .modal-help {
  display: block;
}

.modal-help p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.modal-help strong {
  color: var(--text);
}

.modal-help-links {
  display: flex;
  gap: 10px;
}

.modal-help-links a {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(198, 167, 105, 0.35);
  background: rgba(198, 167, 105, 0.1);
  color: var(--accent-dark);
  transition: background 150ms ease;
}

.modal-help-links a:hover {
  background: rgba(198, 167, 105, 0.2);
}

/* E-posta uyarı (info) modalı */
.modal-icon--info {
  background: linear-gradient(135deg, #d8c29a, var(--accent), var(--accent-dark));
  box-shadow: 0 16px 34px rgba(198, 167, 105, 0.4);
}

.modal-text--sub {
  font-size: 13px;
  color: var(--soft);
  margin-bottom: 24px;
}

.email-info-list {
  text-align: left;
  margin: 0 0 18px;
  padding: 18px;
  list-style: none;
  border-radius: 16px;
  background: rgba(198, 167, 105, 0.1);
  border: 1px solid rgba(198, 167, 105, 0.22);
  display: grid;
  gap: 12px;
}

.email-info-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.email-info-list li::before {
  /* SVG tik (emoji / yazı sembolü yok) */
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-color: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.email-info-list strong {
  color: var(--accent-dark);
}
/* Kalça bandı checkout modalı — uzun form: sola hizalı, kaydırılabilir */
.band-checkout-card {
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: left;
}
.band-checkout-card .order-summary {
  margin: 12px 0 16px;
}

/* Erişilebilirlik: klavye focus halkası + "ana içeriğe geç" atlama linki */
:focus-visible {
  outline: 2px solid #466365;
  outline-offset: 2px;
  border-radius: 3px;
}
a.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: #466365;
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  text-decoration: none;
}
a.skip-link:focus {
  left: 0;
}

/* ===== SVG ikonlar (sitede klavye emojisi yok) ===== */
.bb-ic { display: inline-block; flex-shrink: 0; vertical-align: middle; }
/* Rakamlardaki "5,0 ★" → dolu SVG yıldız, yazı boyuyla ölçeklenir */
.stat .bb-ic--star { width: 0.62em; height: 0.62em; margin-left: 0.06em; vertical-align: 0.04em; color: var(--accent); }
.modal-icon .bb-ic { display: block; }
