      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }
      :root {
        --white: #fafafa;
        --cream: #f8f7f4;
        --warm: #ebe8e2;
        --gray: #8b8680;
        --charcoal: #2d2a26;
        --black: #1a1918;
        --gold: #b8956c;
        --gold-light: #d4b896;
      }
      body {
        font-family:
          'Pretendard',
          -apple-system,
          BlinkMacSystemFont,
          system-ui,
          sans-serif;
        background: var(--white);
        color: var(--charcoal);
        line-height: 1.7;
        -webkit-tap-highlight-color: transparent;
      }
      h1,
      h2,
      h3,
      h4 {
        font-family: 'Playfair Display', 'Noto Serif KR', serif;
        font-weight: 500;
      }
      a {
        text-decoration: none;
        color: inherit;
      }
      button {
        -webkit-tap-highlight-color: transparent;
      }

      /* Navigation — css/nav.css에서 로드 */

      .mobile-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 99;
        padding: 24px;
        display: none;
        flex-direction: column;
        gap: 8px;
      }
      .mobile-menu.active {
        display: flex;
      }
      .mobile-menu a {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 12px;
        transition: background 0.3s;
      }
      .mobile-menu a:hover,
      .mobile-menu a.active {
        background: var(--cream);
        color: var(--gold);
      }

      /* Hero */
      .hero {
        padding: 100px 48px 32px;
        background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
        text-align: center;
      }
      .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 16px;
        background: rgba(184, 149, 108, 0.12);
        border-radius: 20px;
        color: var(--gold);
        font-size: 11px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 16px;
      }
      .hero h1 {
        font-size: 61px;
        margin-bottom: 14px;
      }
      .hero h1 span {
        color: var(--gold);
      }
      .hero p {
        color: var(--gray);
        font-size: 26px;
      }

      .main-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 24px 60px;
      }

      /* Floating Chat Widget */
      .chat-fab {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, var(--gold), #d4a574);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(184, 149, 108, 0.4);
        z-index: 1000;
        transition: all 0.3s;
      }
      .chat-fab:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 24px rgba(184, 149, 108, 0.5);
      }
      .chat-fab svg {
        width: 24px;
        height: 24px;
        color: #fff;
      }
      .chat-fab .fab-close {
        display: none;
      }
      .chat-fab.active .fab-open {
        display: none;
      }
      .chat-fab.active .fab-close {
        display: block;
      }
      .chat-fab-badge {
        position: absolute;
        top: -2px;
        right: -2px;
        width: 14px;
        height: 14px;
        background: #4caf50;
        border: 2px solid #fff;
        border-radius: 50%;
      }

      .chat-widget {
        position: fixed;
        bottom: 92px;
        right: 24px;
        width: 380px;
        max-height: 520px;
        background: var(--white);
        border: 1px solid var(--warm);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
        z-index: 999;
        display: flex;
        flex-direction: column;
        transform: scale(0.9) translateY(20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: bottom right;
      }
      .chat-widget.open {
        transform: scale(1) translateY(0);
        opacity: 1;
        pointer-events: auto;
      }
      .chat-header {
        padding: 14px 20px;
        background: var(--charcoal);
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
      }
      .chat-header-icon {
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, var(--gold), #d4a574);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .chat-header-icon svg {
        width: 18px;
        height: 18px;
        color: #fff;
      }
      .chat-header-text h3 {
        font-size: 15px;
        font-family: inherit;
        font-weight: 600;
        color: #fff;
      }
      .chat-header-text p {
        font-size: 11px;
        color: rgba(255,255,255,0.6);
      }
      .chat-status {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 11px;
        color: rgba(255,255,255,0.6);
      }
      .chat-status::before {
        content: '';
        width: 7px;
        height: 7px;
        background: #4caf50;
        border-radius: 50%;
      }
      .chat-messages {
        height: 340px;
        padding: 16px 20px;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        background: var(--white);
        flex: 1;
      }
      .message {
        display: flex;
        gap: 10px;
        max-width: 85%;
      }
      .message.user {
        flex-direction: row-reverse;
        margin-left: auto;
      }
      .message-avatar {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .message.ai .message-avatar {
        background: linear-gradient(135deg, var(--gold), #d4a574);
      }
      .message.ai .message-avatar svg {
        width: 14px;
        height: 14px;
        color: #fff;
      }
      .message.user .message-avatar {
        background: var(--charcoal);
      }
      .message.user .message-avatar svg {
        width: 14px;
        height: 14px;
        color: #fff;
      }
      .message-content {
        padding: 10px 14px;
        border-radius: 12px;
        font-size: 13px;
        line-height: 1.6;
      }
      .message.ai .message-content {
        background: var(--cream);
        border-bottom-left-radius: 4px;
      }
      .message.user .message-content {
        background: var(--charcoal);
        color: #fff;
        border-bottom-right-radius: 4px;
      }
      .welcome-msg {
        text-align: center;
        padding: 16px;
        color: var(--gray);
        font-size: 13px;
      }
      .welcome-msg strong {
        color: var(--charcoal);
        display: block;
        margin-bottom: 4px;
      }
      .chat-input {
        padding: 12px 16px;
        border-top: 1px solid var(--warm);
        background: var(--cream);
        display: flex;
        gap: 10px;
        flex-shrink: 0;
      }
      .chat-input input {
        flex: 1;
        padding: 10px 14px;
        border: 1px solid var(--warm);
        border-radius: 10px;
        font-size: 14px;
        background: var(--white);
      }
      .chat-input input:focus {
        outline: none;
        border-color: var(--gold);
      }
      .chat-input button {
        width: 40px;
        height: 40px;
        background: var(--charcoal);
        border: none;
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
        flex-shrink: 0;
      }
      .chat-input button:hover {
        background: var(--gold);
      }
      .chat-input button svg {
        width: 18px;
        height: 18px;
        color: #fff;
      }

      /* Section Title */
      .section-title {
        font-size: 24px;
        color: var(--gray);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 16px;
        text-align: center;
      }
      .section-subtitle {
        text-align: center;
        color: var(--gold);
        font-size: 20px;
        margin-top: -12px;
        margin-bottom: 16px;
      }

      /* Category Grid */
      .category-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 24px;
      }
      .category-card {
        background: var(--white);
        border: 2px solid var(--warm);
        border-radius: 16px;
        padding: 20px 12px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
        position: relative;
        overflow: hidden;
      }
      .category-card:hover {
        border-color: var(--gold);
        transform: translateY(-2px);
      }
      .category-card:active {
        transform: scale(0.98);
      }
      .category-card.has-image {
        border-color: var(--gold);
      }
      .category-card .check-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 22px;
        height: 22px;
        background: var(--gold);
        color: #fff;
        border-radius: 50%;
        font-size: 12px;
        display: none;
        align-items: center;
        justify-content: center;
      }
      .category-card.has-image .check-badge {
        display: flex;
      }
      .category-card .remove-btn {
        position: absolute;
        top: 8px;
        left: 8px;
        width: 24px;
        height: 24px;
        background: rgba(239, 68, 68, 0.9);
        color: #fff;
        border: none;
        border-radius: 50%;
        font-size: 14px;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 10;
        transition: all 0.2s;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      }
      .category-card.has-image .remove-btn {
        display: flex;
      }
      .category-card .remove-btn:hover {
        background: #dc2626;
        transform: scale(1.1);
      }
      .category-icon {
        font-size: 32px;
        margin-bottom: 8px;
        display: block;
      }
      .category-name {
        font-size: 14px;
        font-weight: 600;
        color: var(--charcoal);
        margin-bottom: 2px;
      }
      .category-desc {
        font-size: 10px;
        color: var(--gray);
      }
      .category-preview {
        width: 100%;
        height: 70px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 6px;
        display: none;
      }
      .category-card.has-image .category-preview {
        display: block;
      }
      .category-card.has-image .category-icon {
        display: none;
      }
      .file-input {
        display: none;
      }

      /* Category Buttons (New Layout) */
      .category-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 24px;
      }
      .category-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 18px 12px;
        background: var(--white);
        border: 2px solid var(--warm);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 15px;
        font-family: inherit;
        width: 100%;
      }
      .category-btn:hover {
        border-color: var(--gold);
        transform: translateY(-1px);
      }
      .category-btn.has-image {
        border-color: var(--gold);
        background: linear-gradient(135deg, #fff9f0, #fff);
      }
      .category-btn .btn-icon {
        font-size: 18px;
      }
      .category-btn .btn-text {
        font-weight: 500;
        color: var(--charcoal);
      }
      .category-btn .btn-check {
        display: none;
        color: var(--gold);
        font-weight: bold;
      }
      .category-btn.has-image .btn-check {
        display: inline;
      }

      /* Image Preview Section (Slider) */
      .image-preview-section {
        background: var(--cream);
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 24px;
        display: none;
      }
      .image-preview-section.active {
        display: block;
      }
      .preview-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
      }
      .preview-title {
        font-size: 16px;
        font-weight: 600;
      }
      .preview-count {
        background: var(--gold);
        color: #fff;
        padding: 4px 12px;
        border-radius: 12px;
        font-size: 12px;
      }

      /* Slider */
      .preview-slider {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .slider-arrow {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--white);
        border: 1px solid var(--warm);
        cursor: pointer;
        font-size: 16px;
        transition: all 0.2s;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .slider-arrow:hover {
        background: var(--gold);
        color: #fff;
        border-color: var(--gold);
      }
      .slider-arrow:disabled {
        opacity: 0.3;
        cursor: not-allowed;
      }
      .slider-arrow:disabled:hover {
        background: var(--white);
        color: inherit;
        border-color: var(--warm);
      }
      .slider-container {
        flex: 1;
        overflow: hidden;
        border-radius: 16px;
      }
      .slider-track {
        display: flex;
        transition: transform 0.3s ease;
      }
      .slide-item {
        min-width: 100%;
        position: relative;
      }
      .slide-image-container {
        position: relative;
        width: 100%;
        height: 400px;
        background: #f5f5f5;
        border-radius: 12px;
        overflow: hidden;
      }
      .slide-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
      .slide-label {
        position: absolute;
        top: 12px;
        left: 12px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 13px;
      }
      .slide-remove-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: rgba(239, 68, 68, 0.9);
        color: #fff;
        border: none;
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      }
      .slide-remove-btn:hover {
        background: #dc2626;
        transform: scale(1.1);
      }

      /* Slider Indicators */
      .slider-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 12px;
        flex-wrap: wrap;
      }
      .indicator-item {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 6px 12px;
        background: var(--warm);
        border: none;
        border-radius: 15px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
        font-family: inherit;
      }
      .indicator-item:hover {
        background: var(--gold-light);
      }
      .indicator-item.active {
        background: var(--gold);
        color: #fff;
      }
      .current-category {
        text-align: center;
        margin-top: 12px;
        font-size: 14px;
        color: var(--gray);
      }

      /* Selected Count Badge */
      .selected-count {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        background: var(--gold);
        color: #fff;
        border-radius: 20px;
        font-size: 13px;
        margin-bottom: 20px;
      }
      .selected-count.hidden {
        display: none;
      }

      /* Theme Selection Section */
      .theme-section {
        background: var(--cream);
        border-radius: 20px;
        padding: 24px;
        margin-bottom: 24px;
      }
      .theme-section-header {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
      }
      .theme-section-number {
        width: 24px;
        height: 24px;
        background: var(--charcoal);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 600;
      }
      .theme-section-title {
        font-size: 15px;
        font-weight: 600;
        color: var(--charcoal);
      }

      /* Gallery Tabs */
      .gallery-tabs {
        display: flex;
        gap: 6px;
        margin-bottom: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
      }
      .gallery-tabs::-webkit-scrollbar { display: none; }
      .gallery-tab {
        padding: 6px 14px;
        border: 1px solid var(--warm);
        border-radius: 20px;
        background: var(--white);
        font-size: 12px;
        color: var(--gray);
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.2s;
        flex-shrink: 0;
      }
      .gallery-tab:hover {
        border-color: var(--gold);
        color: var(--charcoal);
      }
      .gallery-tab.active {
        background: var(--charcoal);
        border-color: var(--charcoal);
        color: #fff;
      }

      /* Product Gallery Grid */
      .product-gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-bottom: 20px;
      }
      .gallery-item {
        aspect-ratio: 4/3;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
        position: relative;
        background: var(--cream);
      }
      .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
      }
      .gallery-item:hover img {
        transform: scale(1.06);
      }
      .gallery-item .gallery-badge {
        position: absolute;
        bottom: 6px;
        left: 6px;
        background: rgba(0,0,0,0.6);
        color: #fff;
        font-size: 10px;
        padding: 2px 8px;
        border-radius: 10px;
        backdrop-filter: blur(4px);
      }
      .gallery-loading {
        grid-column: 1 / -1;
        text-align: center;
        padding: 32px;
        color: var(--gray);
        font-size: 13px;
      }

      /* Selected Theme Summary */
      .theme-summary {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 12px 16px;
        background: var(--white);
        border-radius: 12px;
        margin-top: 16px;
      }
      .theme-summary-item {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .theme-summary-label {
        font-size: 11px;
        color: var(--gray);
      }
      .theme-summary-value {
        font-size: 13px;
        font-weight: 600;
        color: var(--charcoal);
      }
      @media (max-width: 768px) {
        .product-gallery { grid-template-columns: repeat(3, 1fr); }
        .theme-summary { flex-wrap: wrap; gap: 12px; }
      }
      @media (max-width: 480px) {
        .product-gallery { grid-template-columns: repeat(2, 1fr); }
      }

      /* Single Generate Button */
      .generate-section {
        text-align: center;
        margin-bottom: 32px;
      }
      .generate-btn {
        width: 100%;
        max-width: 400px;
        padding: 18px 32px;
        border: none;
        border-radius: 14px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(135deg, var(--gold), var(--gold-light));
        color: #fff;
        box-shadow: 0 4px 20px rgba(184, 149, 108, 0.3);
      }
      .generate-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 28px rgba(184, 149, 108, 0.4);
      }
      .generate-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
      }
      .generate-btn .spinner {
        width: 20px;
        height: 20px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
      }
      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }

      /* Progress Steps */
      .progress-steps {
        display: none;
        margin-bottom: 24px;
        padding: 20px;
        background: var(--cream);
        border-radius: 16px;
      }
      .progress-steps.active {
        display: block;
      }
      .step-list {
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-bottom: 16px;
      }
      .step-list::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: var(--warm);
      }
      .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        position: relative;
        z-index: 1;
      }
      .step-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--warm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        transition: all 0.3s;
      }
      .step.active .step-icon {
        background: var(--gold);
        color: #fff;
      }
      .step.done .step-icon {
        background: #10b981;
        color: #fff;
      }
      .step-label {
        font-size: 11px;
        color: var(--gray);
        text-align: center;
      }
      .step.active .step-label {
        color: var(--charcoal);
        font-weight: 600;
      }
      .progress-text {
        text-align: center;
        font-size: 13px;
        color: var(--charcoal);
      }

      /* Result Section */
      .result-section {
        background: var(--cream);
        border-radius: 20px;
        padding: 24px;
        min-height: 300px;
      }

      .result-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 12px;
      }
      .result-header h2 {
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .result-header h2 span {
        font-size: 11px;
        padding: 4px 10px;
        background: var(--gold);
        color: #fff;
        border-radius: 10px;
        font-family: sans-serif;
      }
      .result-actions {
        display: flex;
        gap: 8px;
      }
      .result-btn {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .result-btn.download {
        background: var(--charcoal);
        color: #fff;
        border: none;
      }
      .result-btn.download:hover {
        background: var(--gold);
      }
      .result-btn.share {
        background: transparent;
        color: var(--charcoal);
        border: 1px solid var(--charcoal);
      }
      .result-btn.share:hover {
        background: var(--charcoal);
        color: #fff;
      }
      .result-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }

      /* Page Navigation */
      .page-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-bottom: 20px;
      }
      .page-nav.hidden {
        display: none;
      }
      .page-arrow {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--warm);
        background: var(--white);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s;
      }
      .page-arrow:hover:not(:disabled) {
        background: var(--gold);
        border-color: var(--gold);
        color: #fff;
      }
      .page-arrow:disabled {
        opacity: 0.4;
        cursor: not-allowed;
      }
      .page-arrow svg {
        width: 20px;
        height: 20px;
      }
      .page-indicator {
        display: flex;
        gap: 8px;
        align-items: center;
      }
      .page-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--warm);
        cursor: pointer;
        transition: all 0.3s;
      }
      .page-dot.active {
        background: var(--gold);
        width: 24px;
        border-radius: 5px;
      }
      .page-dot:hover {
        background: var(--gold);
      }
      .page-info {
        font-size: 14px;
        color: var(--gray);
        min-width: 60px;
        text-align: center;
      }
      .page-info span {
        color: var(--charcoal);
        font-weight: 600;
      }

      /* Result Pages */
      .result-pages {
        position: relative;
        overflow: hidden;
      }
      .result-page {
        display: none;
      }
      .result-page.active {
        display: block;
        animation: fadeIn 0.3s ease;
      }
      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateX(20px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }

      .page-category {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: var(--white);
        border-radius: 12px;
        margin-bottom: 16px;
        font-size: 14px;
        font-weight: 600;
        color: var(--charcoal);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
      }
      .page-category .icon {
        font-size: 20px;
      }

      .result-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-bottom: 16px;
      }
      .result-card {
        background: var(--white);
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      }
      .result-card-header {
        padding: 10px 14px;
        background: var(--white);
        border-bottom: 1px solid var(--warm);
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .result-card-header .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
      }
      .result-card-header .dot.before {
        background: #ef4444;
      }
      .result-card-header .dot.after {
        background: #10b981;
      }
      .result-card-header span {
        font-size: 11px;
        font-weight: 600;
        color: var(--gray);
        text-transform: uppercase;
        letter-spacing: 1px;
      }
      .result-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
      }

      /* ═══ 인스타그램 스타일 이미지 뷰어 + 화살표 네비게이션 ═══ */
      .render-image-container {
        background: #fff;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        position: relative;
      }
      .render-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #eee;
      }
      .render-status {
        font-size: 14px;
        font-weight: 600;
        color: #f59e0b;
        transition: color 0.3s;
      }
      .render-status.closed {
        color: #3b82f6;
      }
      .render-status.open {
        color: #10b981;
      }
      .render-status.original {
        color: #f59e0b;
      }
      .render-hint {
        font-size: 11px;
        color: #999;
      }
      .render-image-wrapper {
        position: relative;
        width: 100%;
        padding-top: 80%;
        background: #fafafa;
        overflow: hidden;
      }
      .render-main-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: opacity 0.2s;
      }

      /* 좌우 화살표 버튼 */
      .nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #333;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        transition: all 0.2s;
        z-index: 10;
      }
      .nav-arrow:hover {
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      }
      .nav-arrow.left {
        left: 12px;
      }
      .nav-arrow.right {
        right: 12px;
      }
      .nav-arrow:active {
        transform: translateY(-50%) scale(0.95);
      }

      /* 이미지 인디케이터 (점) */
      .image-indicators {
        display: flex;
        justify-content: center;
        gap: 6px;
        padding: 12px;
      }
      .indicator-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        transition: all 0.2s;
        cursor: pointer;
      }
      .indicator-dot.active {
        background: #333;
        width: 20px;
        border-radius: 4px;
      }

      /* Wall Analysis in Result - 상세 버전 */
      .wall-analysis-box {
        background: var(--white);
        border-radius: 14px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      }
      .wall-analysis-box h4 {
        font-size: 13px;
        color: var(--gold);
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .wall-analysis-box h4 .badge {
        font-size: 10px;
        padding: 2px 8px;
        background: var(--charcoal);
        color: #fff;
        border-radius: 8px;
        font-family: sans-serif;
      }

      .dimension-display {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 16px;
        padding: 16px;
        background: linear-gradient(135deg, rgba(184, 149, 108, 0.08), rgba(212, 184, 150, 0.08));
        border-radius: 12px;
      }
      .dimension-item {
        text-align: center;
      }
      .dimension-item .value {
        font-size: 20px;
        font-weight: 700;
        color: var(--charcoal);
      }
      .dimension-item .unit {
        font-size: 11px;
        color: var(--gold);
        font-weight: 600;
      }
      .dimension-item .label {
        font-size: 10px;
        color: var(--gray);
        margin-top: 2px;
      }

      .wall-info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
        margin-bottom: 12px;
      }
      .wall-info-item {
        background: var(--cream);
        padding: 10px 12px;
        border-radius: 10px;
      }
      .wall-info-item .label {
        font-size: 10px;
        color: var(--gray);
        margin-bottom: 4px;
      }
      .wall-info-item .value {
        font-size: 13px;
        font-weight: 600;
        color: var(--charcoal);
      }

      .install-zone {
        background: linear-gradient(90deg, var(--gold), var(--gold-light));
        color: #fff;
        padding: 12px 16px;
        border-radius: 10px;
        margin-bottom: 12px;
      }
      .install-zone .title {
        font-size: 11px;
        opacity: 0.8;
        margin-bottom: 4px;
      }
      .install-zone .dims {
        font-size: 15px;
        font-weight: 700;
      }

      .obstacles-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
      }
      .obstacle-tag {
        padding: 6px 10px;
        background: var(--cream);
        border-radius: 8px;
        font-size: 11px;
        color: var(--charcoal);
        display: flex;
        align-items: center;
        gap: 4px;
      }
      .obstacle-tag.warning {
        background: #fef3c7;
        color: #92400e;
      }

      .wall-features {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
      }
      .wall-feature {
        padding: 4px 10px;
        background: var(--cream);
        border-radius: 8px;
        font-size: 10px;
        color: var(--gray);
      }
      .wall-feature.detected {
        background: var(--gold);
        color: #fff;
      }

      .bg-refresh-box {
        background: linear-gradient(135deg, #f0fdf4, #dcfce7);
        border: 1px solid #86efac;
        border-radius: 10px;
        padding: 12px;
        margin-top: 12px;
      }
      .bg-refresh-box h5 {
        font-size: 11px;
        color: #166534;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .bg-refresh-item {
        font-size: 11px;
        color: #15803d;
        padding: 4px 0;
      }

      .result-analysis {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
      }
      .analysis-card {
        background: var(--white);
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
      }
      .analysis-card h4 {
        font-size: 12px;
        color: var(--gold);
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
        font-family: inherit;
      }
      .analysis-card p {
        font-size: 12px;
        color: var(--charcoal);
        line-height: 1.6;
      }

      /* Placeholder & Loading */
      .result-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 60px 20px;
        color: var(--gray);
      }
      .result-placeholder .icon {
        font-size: 56px;
        margin-bottom: 16px;
        opacity: 0.4;
      }
      .result-placeholder h3 {
        font-size: 17px;
        color: var(--charcoal);
        margin-bottom: 8px;
        font-family: inherit;
      }
      .result-placeholder p {
        font-size: 13px;
        max-width: 300px;
      }
      .result-placeholder.hidden {
        display: none;
      }

      .result-loading {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        text-align: center;
      }
      .result-loading.active {
        display: flex;
      }
      .result-loading .spinner {
        width: 48px;
        height: 48px;
        border: 3px solid var(--warm);
        border-top-color: var(--gold);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-bottom: 20px;
      }
      .result-loading h3 {
        font-size: 17px;
        color: var(--charcoal);
        margin-bottom: 8px;
      }
      .result-loading p {
        font-size: 13px;
        color: var(--gray);
      }

      /* Footer */
      .footer {
        padding: 48px;
        background: var(--charcoal);
        color: #fff;
        margin-top: 60px;
      }
      .footer-content {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .footer-brand {
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .footer-brand svg {
        width: 24px;
        height: 24px;
      }
      .footer-brand span {
        font-family: 'Playfair Display', serif;
        font-size: 18px;
      }
      .footer-links {
        display: flex;
        gap: 24px;
      }
      .footer-links a {
        color: rgba(255, 255, 255, 0.6);
        font-size: 13px;
        transition: color 0.3s;
      }
      .footer-links a:hover {
        color: #fff;
      }
      .footer-copy {
        text-align: center;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 11px;
        color: rgba(255, 255, 255, 0.4);
      }

      /* Toast */
      .toast {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
        background: var(--charcoal);
        color: #fff;
        padding: 14px 24px;
        border-radius: 12px;
        font-size: 14px;
        z-index: 1000;
        transition: transform 0.3s;
        max-width: 90%;
      }
      .toast.show {
        transform: translateX(-50%) translateY(0);
      }
      .toast.success {
        background: #10b981;
      }
      .toast.error {
        background: #ef4444;
      }

      /* Responsive */
      @media (max-width: 1024px) {
        .nav {
          padding: 0 32px;
        }
        .hero {
          padding: 100px 32px 28px;
        }
        .main-container {
          padding: 0 20px 50px;
        }
      }

      @media (max-width: 768px) {
        .nav {
          padding: 0 16px;
          height: 64px;
        }
        .nav-logo span {
          font-size: 20px;
        }
        .nav-menu {
          display: none;
        }
        .hamburger {
          display: flex;
        }

        .hero {
          padding: 84px 16px 20px;
        }
        .hero h1 {
          font-size: 28px;
        }
        .hero p {
          font-size: 14px;
        }

        .main-container {
          padding: 0 12px 40px;
        }

        .chat-widget {
          width: calc(100vw - 24px);
          right: 12px;
          bottom: 80px;
          max-height: 60vh;
        }
        .chat-messages {
          height: 240px;
        }
        .chat-fab {
          bottom: 16px;
          right: 12px;
          width: 50px;
          height: 50px;
        }

        .category-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 10px;
          margin-bottom: 20px;
        }
        .category-card {
          padding: 14px 10px;
        }
        .category-icon {
          font-size: 26px;
        }
        .category-name {
          font-size: 13px;
        }
        .category-desc {
          font-size: 9px;
        }
        .category-preview {
          height: 60px;
        }

        /* Category Buttons Mobile */
        .category-buttons {
          grid-template-columns: repeat(3, 1fr);
          gap: 8px;
        }
        .category-btn {
          padding: 14px 8px;
          font-size: 13px;
        }
        .category-btn .btn-icon {
          font-size: 16px;
        }

        /* Image Preview Section Mobile */
        .image-preview-section {
          padding: 16px;
        }
        .slide-image-container {
          height: 300px;
        }
        .slider-arrow {
          width: 36px;
          height: 36px;
          font-size: 14px;
        }
        .slider-indicators {
          gap: 6px;
        }
        .indicator-item {
          padding: 5px 10px;
          font-size: 11px;
        }

        .style-selector {
          gap: 8px;
          overflow-x: auto;
          flex-wrap: nowrap;
          justify-content: flex-start;
          padding: 0 12px 8px;
          -webkit-overflow-scrolling: touch;
        }
        .style-chip {
          padding: 8px 14px;
          font-size: 12px;
          flex-shrink: 0;
        }

        .generate-btn {
          padding: 16px 24px;
          font-size: 15px;
        }

        .step-label {
          font-size: 10px;
        }

        .result-section {
          padding: 16px;
        }
        .result-grid {
          grid-template-columns: 1fr;
        }
        .result-card img {
          height: 180px;
        }
        .result-analysis {
          grid-template-columns: 1fr;
        }
        .wall-info-grid {
          grid-template-columns: 1fr 1fr;
        }

        .page-nav {
          gap: 8px;
        }
        .page-arrow {
          width: 36px;
          height: 36px;
        }

        .footer {
          padding: 32px 16px;
        }
        .footer-content {
          flex-direction: column;
          gap: 20px;
          text-align: center;
        }
        .footer-links {
          flex-wrap: wrap;
          justify-content: center;
        }
      }

      @media (max-width: 480px) {
        .nav {
          height: 56px;
        }
        .hero {
          padding: 72px 12px 16px;
        }
        .hero h1 {
          font-size: 24px;
        }
        .category-grid {
          gap: 8px;
        }
        .category-icon {
          font-size: 22px;
        }
        .category-name {
          font-size: 12px;
        }
        .category-desc {
          display: none;
        }
        .category-preview {
          height: 50px;
        }

        /* Category Buttons 480px */
        .category-btn {
          padding: 8px 12px;
          font-size: 12px;
        }
        .category-btn .btn-text {
          display: none;
        }
        .category-btn .btn-icon {
          font-size: 18px;
        }

        /* Image Preview Section 480px */
        .slide-image-container {
          height: 250px;
        }
        .slider-arrow {
          width: 32px;
          height: 32px;
        }
        .preview-header {
          flex-direction: column;
          gap: 8px;
        }

        .result-card img {
          height: 150px;
        }
        .wall-info-grid {
          grid-template-columns: 1fr;
        }
      }

      @media (hover: none) {
        .category-card:hover {
          transform: none;
        }
        .generate-btn:hover:not(:disabled) {
          transform: none;
        }
      }

      @supports (padding: max(0px)) {
        .nav {
          padding-left: max(16px, env(safe-area-inset-left));
          padding-right: max(16px, env(safe-area-inset-right));
        }
        .main-container {
          padding-left: max(12px, env(safe-area-inset-left));
          padding-right: max(12px, env(safe-area-inset-right));
        }
        .toast {
          bottom: max(24px, env(safe-area-inset-bottom));
        }
      }

      /* 로그인 필요 오버레이 */
      .auth-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
      }
      .auth-overlay.hidden {
        display: none;
      }
      .auth-modal {
        background: white;
        border-radius: 16px;
        padding: 40px;
        text-align: center;
        max-width: 400px;
      }
      .auth-modal h2 {
        font-size: 24px;
        margin-bottom: 16px;
      }
      .auth-modal p {
        color: #666;
        margin-bottom: 24px;
      }
      .auth-modal .btn-login {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        border: none;
        padding: 14px 32px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
      }
      .auth-modal .btn-login:hover {
        opacity: 0.9;
      }

      /* ─── Fridge Options ─────────────────────────────────────── */
      .fridge-opt-label {
        font-size: 13px;
        font-weight: 600;
        color: #555;
        margin-bottom: 6px;
        display: block;
      }
      .fridge-opt-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .fridge-opt-btn {
        padding: 8px 14px;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        background: #fff;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.2s;
        color: #555;
      }
      .fridge-opt-btn:hover {
        border-color: #ccc;
      }
      .fridge-opt-btn.active {
        border-color: var(--gold);
        background: #FDF6EE;
        color: #8B6914;
        font-weight: 600;
      }
      .fridge-opt-btn.disabled {
        opacity: 0.35;
        pointer-events: none;
      }
      .fridge-combo-group {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }
      .fridge-combo-item {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f9f9f9;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        padding: 6px 12px;
      }
      .fridge-combo-item.has-count {
        border-color: var(--gold);
        background: #FDF6EE;
      }
      .fridge-combo-name {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        min-width: 36px;
      }
      .fridge-combo-stepper {
        display: flex;
        align-items: center;
        gap: 4px;
      }
      .fridge-stepper-btn {
        width: 26px;
        height: 26px;
        border: 1px solid #ccc;
        border-radius: 50%;
        background: #fff;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #555;
        transition: all 0.15s;
        line-height: 1;
        padding: 0;
      }
      .fridge-stepper-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
      }
      .fridge-combo-count {
        font-size: 15px;
        font-weight: 700;
        min-width: 18px;
        text-align: center;
        color: #333;
      }
      .fridge-appliance-group {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
      }
      .fridge-appliance-btn {
        padding: 8px 10px;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        background: #fff;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.2s;
        color: #555;
        text-align: center;
      }
      .fridge-appliance-btn:hover {
        border-color: #ccc;
      }
      .fridge-appliance-btn.active {
        border-color: var(--gold);
        background: #FDF6EE;
        color: #8B6914;
        font-weight: 600;
      }
      @media (max-width: 640px) {
        .fridge-appliance-group {
          grid-template-columns: repeat(2, 1fr);
        }
      }
