/* theme-isaac.css - Brand Color Tokens, Typography, CSS Variables */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  /* Brand Colors */
  --isaac-red: #E31E24;
  --isaac-red-dark: #C11319;
  --isaac-red-light: #FFF0F0;
  --isaac-orange: #F5A623;
  --isaac-orange-dark: #D48806;
  --isaac-orange-light: #FFF8E6;
  --isaac-yellow: #FFD100;
  --isaac-yellow-light: #FFFEE6;
  --isaac-brown: #5C3A21;

  /* Neutral System Colors */
  --bg-main: #F4F5F7;
  --bg-card: #FFFFFF;
  --bg-subtle: #F9FAFB;
  --bg-dark: #1F2937;
  
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --text-light: #FFFFFF;
  
  --border-light: #E5E7EB;
  --border-medium: #D1D5DB;
  --border-focus: #E31E24;

  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;

  /* Typography */
  --font-family-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', sans-serif;
  --font-family-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-kiosk: 0 12px 32px rgba(227, 30, 36, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Touch UI Metrics */
  --header-height: 72px;
  --cart-bar-height: 80px;
  --touch-target-min: 48px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

body {
  font-family: var(--font-family-sans);
  background-color: #121212;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

/* 전체화면: 기기 뷰포트에 맞게 꽉 채움 */
html.kiosk-fullscreen,
html:fullscreen,
html:-webkit-full-screen {
  width: 100%;
  height: 100%;
  background-color: var(--bg-main);
}

html.kiosk-fullscreen body,
html:fullscreen body,
html:-webkit-full-screen body {
  width: 100%;
  height: 100%;
  min-height: 0;
  align-items: stretch;
  justify-content: stretch;
  background-color: var(--bg-main);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
