/* Base Resets & Theme Configuration */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #fcf9f6;
    color: #3e2723;
    line-height: 1.6;
}

/* Header Navbar Branding Element Layouts */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #efebe9;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: #4e342e;
}

.logo span {
    color: #d81b60;
}

.nav-links a {
    text-decoration: none;
    color: #d81b60;
    font-weight: 600;
}

.status-badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Workspace Alignment Grid Layout */
.main-container {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    padding: 0 1rem;
}

/* Left Grid Product Layout Formats */
.menu-showcase h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #4e342e;
}

.cake-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.cake-card {
    background: #ffffff;
    border: 1px solid #efebe9;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.2s;
}

.cake-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cake-img-placeholder {
    font-size: 2.5rem;
    background: #fdf5f7;
    width: 65px;
    height: 65px;
    line-height: 65px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
}

.cake-card h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cake-card p {
    font-size: 0.8rem;
    color: #795548;
}

.menu-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #8d6e63;
    font-style: italic;
}

/* Right Sidebar Panel Frame Styles */
.order-sidebar {
    position: sticky;
    top: 5rem;
}

.order-box {
    background: #ffffff;
    border: 1px solid #e1d8d5;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(62, 39, 35, 0.04);
}

.order-box h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.order-subtitle {
    font-size: 0.85rem;
    color: #795548;
    margin-bottom: 1.25rem;
}

/* Google Framework Styles Override Layouts */
.google-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1.25rem;
    color: #a1887f;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed #d7ccc8;
}

.divider:not(:empty)::before { margin-right: .5em; }
.divider:not(:empty)::after { margin-left: .5em; }

/* Flex row splitter for side by side configuration fields */
.form-row-split {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.form-row-split .form-group {
    flex: 1;
}

/* Control Group Input Form Element Styles */
.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #4e342e;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #d7ccc8;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 0.95rem;
    color: #3e2723;
    outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #d81b60;
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Dynamic Live Pricing Display Card Element */
.price-banner {
    background-color: #fdf5f7;
    border: 1px solid #f8bbd0;
    color: #4e342e;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.price-banner span {
    color: #d81b60;
    font-size: 1.3rem;
}

/* Action Trigger Elements and Status Indicators */
.btn-order {
    width: 100%;
    background-color: #d81b60;
    color: white;
    padding: 0.85rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-order:hover { background-color: #ad1457; }
.btn-order:disabled { background-color: #b0bec5; cursor: not-allowed; }

.feedback-msg {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.feedback-msg.success { display: block; background-color: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.feedback-msg.error { display: block; background-color: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }

@media (max-width: 850px) {
    .main-container { grid-template-columns: 1fr; }
    .order-sidebar { position: static; }
}
