/* Shop page - banner and measurement form */

.shop-banner {
    width: 100%;
    max-height: 42vh;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.shop-banner-wrap {
    border-radius: 0 0 0.75rem 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Form */
.shop-form {
    max-width: 900px;
    margin: 0 auto;
}

.shop-form-section {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.shop-form-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f59e0b;
}

.shop-form-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin: -0.5rem 0 1rem;
}

.shop-notice-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.6;
}

.shop-notice-text p {
    margin: 0 0 0.5rem;
}

.shop-notice-text p:last-child {
    margin-bottom: 0;
}

.shop-form-notice {
    background: #fffbeb;
    border-color: #fcd34d;
}

.shop-form-grid {
    display: grid;
    gap: 1rem;
}

.shop-form-grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .shop-form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.shop-form-grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .shop-form-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .shop-form-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.shop-field-full {
    grid-column: 1 / -1;
}

.shop-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

.shop-label-en {
    color: #6b7280;
    font-weight: 400;
}

.shop-field input[type="text"],
.shop-field input[type="tel"],
.shop-field input[type="date"],
.shop-field input[type="number"],
.shop-field select,
.shop-field textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.shop-field input:focus,
.shop-field select:focus,
.shop-field textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.shop-field-radio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 0.75rem;
}

.shop-radio-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-right: 0.25rem;
}

.shop-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #4b5563;
    cursor: pointer;
}

.shop-radio-option input {
    width: 1rem;
    height: 1rem;
    accent-color: #f59e0b;
}

.shop-custom-input {
    max-width: 20rem;
}

.shop-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.shop-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    border: none;
}

.shop-btn-primary {
    background: #f59e0b;
    color: #fff;
}

.shop-btn-primary:hover {
    background: #d97706;
}

.shop-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.shop-btn-secondary:hover {
    background: #e5e7eb;
}

.shop-btn:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Form submit message */
.shop-form-message {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.shop-form-message.hidden {
    display: none;
}

.shop-form-message-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.shop-form-message-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
