body {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    margin: 0;
    font-weight: 400;
}

.card {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
}

h2 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
}

.subtitle {
    color: gray;
    font-size: 14px;
    margin-bottom: 20px;
}

.label {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}

.currency-row {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.currency-row button,
.budget-buttons button {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 16px;
}

.currency-row button {
    flex: 1;
}

.currency-row button.active,
.budget-buttons button.active {
    background: #1fa463;
    color: #fff;
    border: none;
}

.budget-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

input {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-weight: 400;
}

.city-row {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.location-btn {
    width: 52px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
}

.location-btn:disabled {
    background: #eee;
    cursor: not-allowed;
}

.btn {
    width: 100%;
    padding: 16px;
    background: #1fa463;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#result {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.result-card {
    background: #fff;
    padding: 15px;
    border-radius: 14px;
    border: 1px solid #eee;
    font-weight: 400;
}

.summary-line {
    font-weight: 400;
}

.product-list {
    margin-top: 12px;
}

.product {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 10px;
    border-radius: 8px;
    font-weight: 400;
}

.product:nth-child(odd) {
    background: #cccccc;
}

.product-name {
    font-weight: 400;
}

.product-name small {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: #666;
    margin-top: 2px;
}

.product-price {
    font-weight: 400;
    white-space: nowrap;
}

.total {
    font-weight: 700;
    margin-bottom: 10px;
}

.note {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 400;
}

.map-link {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    background: #f0fff6;
    color: #16894f;
    text-decoration: none;
    font-weight: 500;
    margin-top: 12px;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.feature-btn {
    padding: 14px;
    border-radius: 12px;
    background: #f3f3f3;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    border: 0;
}

.feature-btn:hover {
    background: #e9e9e9;
}

#toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 9999;
}

#toast.show {
    opacity: 1;
}

.logo-wrap {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 12px;
    background: #000;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* или contain если хочешь без обрезки */
    max-width: 320px;
    display: block;
    margin: 0 auto;
    opacity: 0;
}

.logo.loaded {
    opacity: 1;
}

@media (min-width: 768px) {
    .logo {
        max-width: 360px;
    }
}

.loading-card {
    background: #e8f8ef;
    border: 1px solid #b7ebc6;
    color: #0a7f2e;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
}
