* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    color: #333;
    background: #f8f9fa;
}

header {
    background: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container > div {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2E7D32;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #444;
    text-decoration: none;
    font-weight: 600;
}

.login-btn {
    color: #2E7D32;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border: 2px solid #2E7D32;
    border-radius: 25px;
    font-weight: 600;
}

.signup-btn {
    color: white;
    background: #2E7D32;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border: 2px solid #2E7D32;
    border-radius: 25px;
    font-weight: 600;
}

footer {
    background: #212121;
    color: #aaa;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.making-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.making-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.wizard-steps {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.step-indicator {
    color: #aaa;
    font-weight: 600;
    padding: 0.5rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.step-indicator.active {
    color: #2E7D32;
    border-bottom-color: #2E7D32;
}

.wizard-content {
    display: none;
}
.wizard-content.active {
    display: block;
}

.wizard-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2E7D32;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.option-card {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.option-card:hover {
    border-color: #2E7D32;
    transform: translateY(-3px);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    display: none;
}

.option-card input:checked + img + h3 + p {
    font-weight: bold; /* Example style change */
}

.option-card.selected {
    border-color: #2E7D32;
    background-color: #E8F5E9;
}

.option-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.option-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.option-card .price {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.nav-btn, .submit-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: #2E7D32;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav-btn:hover, .submit-btn:hover {
    background-color: #388E3C;
}

#prev-btn {
    background-color: #757575;
}
#prev-btn:hover {
    background-color: #616161;
}

/* Summary Sidebar */
.summary-sidebar {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 110px; /* Adjust based on header height */
}

.summary-sidebar h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2E7D32;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2E7D32;
}

#summary-items h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

#summary-items ul {
    list-style: none;
    padding-left: 0.5rem;
}
#summary-items li {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.2rem;
}
#summary-items p {
    color: #888;
    font-style: italic;
}


.summary-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
}

#total-price {
    color: #2E7D32;
    font-size: 1.5rem;
}

/* Final Step Styles */
#sandwich-name {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 1.5rem 0;
}
.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .making-main {
        grid-template-columns: 1fr;
    }
    .summary-sidebar {
        position: static;
        margin-top: 2rem;
    }
}
