/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!../../packages/design-default/src/styles/tokens.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*
 * @so4booking/design-default — tema token'ları (:root).
 *
 * ADR-0014: görsel değişkenliğin çoğu koddan değil CSS/token'dan gelir. Bu dosya
 * sözleşmenin (design-contract TOKENS) sabit ad kümesini somut değerlerle doldurur.
 * Tenant branding YALNIZ BRANDABLE_TOKENS alt kümesini (--so4b-accent-*) runtime'da
 * ezer; yapısal token'lar (radius/spacing/shadow) burada sabittir.
 *
 * Bu değerler `tokens.ts` DEFAULT_TOKENS ile birebir aynıdır (biri SSR init, biri CSS).
 */
:root {
  /* Renk / yüzey */
  --so4b-color-bg: #f6f7f9;
  --so4b-color-surface: #ffffff;
  --so4b-color-surface-2: #f0f2f5;
  --so4b-color-border: #dfe3e8;
  --so4b-color-text: #1a1f29;
  --so4b-color-text-muted: #697586;

  /* Accent (BRANDABLE — tenant ezebilir) */
  --so4b-accent-primary: #0f62fe;
  --so4b-accent-hover: #0043ce;
  --so4b-accent-contrast: #ffffff;

  /* Radius (yapısal — tenant ezemez) */
  --so4b-radius-sm: 6px;
  --so4b-radius-md: 10px;
  --so4b-radius-lg: 16px;

  /* Gölge */
  --so4b-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
  --so4b-shadow-md: 0 8px 24px rgba(16, 24, 40, 0.12);

  /* Tipografi */
  --so4b-font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --so4b-font-size-base: 14px;

  /* Aralık */
  --so4b-space-1: 4px;
  --so4b-space-2: 8px;
  --so4b-space-3: 12px;
  --so4b-space-4: 16px;
  --so4b-space-5: 24px;
  --so4b-space-6: 32px;
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.20_@playwright+test@1.61.1_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
* {
  box-sizing: border-box;
}

html {
  background: var(--so4b-color-bg);
  color: var(--so4b-color-text);
  font-family: var(--so4b-font-sans);
  letter-spacing: 0;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.store-index,
.storefront-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--so4b-accent-primary) 20%, transparent), transparent 34%),
    var(--so4b-color-bg);
}

.store-index {
  display: grid;
  place-content: center;
  grid-gap: 18px;
  gap: 18px;
  padding: 32px;
  text-align: center;
}

.store-index h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0;
}

.store-index nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.store-index a,
.primary-button,
.option {
  border-radius: 8px;
}

.store-index a {
  border: 1px solid var(--so4b-color-border);
  padding: 10px 14px;
  text-decoration: none;
  background: var(--so4b-color-surface);
}

.storefront-page {
  padding: clamp(18px, 3vw, 44px);
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  grid-gap: 18px;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.booking-panel {
  border: 1px solid var(--so4b-color-border);
  background: color-mix(in srgb, var(--so4b-color-surface) 94%, transparent);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--so4b-shadow-sm);
}

.booking-panel--intro {
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
}

.recipe-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--so4b-accent-primary);
  color: var(--so4b-accent-contrast);
  font-size: 13px;
  font-weight: 700;
}

.booking-panel h1 {
  margin: 18px 0 12px;
  max-width: 10ch;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.booking-panel p {
  color: var(--so4b-color-text-muted);
}

.booking-panel dl {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 26px;
}

.booking-panel dt {
  color: var(--so4b-color-text-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.booking-panel dd {
  margin: 2px 0 0;
  font-weight: 700;
}

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

label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  color: var(--so4b-color-text-muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--so4b-color-border);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--so4b-color-text);
}

.hint {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--so4b-accent-primary);
  background: var(--so4b-color-surface-2);
}

.primary-button {
  min-height: 44px;
  border: 0;
  margin-top: 14px;
  padding: 10px 16px;
  background: var(--so4b-accent-primary);
  color: var(--so4b-accent-contrast);
  font-weight: 800;
  cursor: pointer;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.primary-button--dark {
  width: 100%;
  background: #1a1f29;
  color: #fff;
}

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

.option {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  min-height: 76px;
  border: 1px solid var(--so4b-color-border);
  padding: 12px;
  background: #fff;
  color: var(--so4b-color-text);
  text-align: left;
  cursor: pointer;
}

.option span {
  color: var(--so4b-color-text-muted);
  font-size: 13px;
}

.option.is-selected {
  border-color: var(--so4b-accent-primary);
  box-shadow: inset 0 0 0 2px var(--so4b-accent-primary);
}

.error,
.confirmation {
  margin-top: 14px;
  border-radius: 8px;
  padding: 12px;
}

.error {
  background: #fff1f2;
  color: #9f1239;
}

.confirmation {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  background: #ecfdf5;
  color: #065f46;
}

@media (max-width: 780px) {
  .booking-shell,
  .field-grid,
  .customer-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .booking-panel--intro {
    position: static;
  }
}

