/* Lahjakorttikauppa */
.gift-shop {
    max-width: 920px;
    margin: 0 auto;
}

.gift-shop-header {
    text-align: center;
    margin-bottom: 32px;
}

.gift-shop-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gift-shop-header p {
    color: #6B7280;
}

.gift-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.gift-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.gift-product-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gift-product-card:hover,
.gift-product-card.selected {
    border-color: #4F46E5;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.15);
}

.gift-product-card input {
    display: none;
}

.gift-product-thumb {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.gift-product-thumb-placeholder {
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, #EEF2FF 0%, #FCE7F3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
}
.gift-product-thumb-placeholder .helmi-icon { width: 40px; height: 40px; }

.gift-product-body {
    padding: 16px;
}

.gift-product-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.gift-product-desc {
    font-size: 0.82rem;
    color: #6B7280;
    margin-bottom: 8px;
    line-height: 1.4;
}

.gift-product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
}

.gift-custom-box {
    background: #fff;
    border: 2px dashed #D1D5DB;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
    transition: border-color 0.2s, background 0.2s;
}

.gift-custom-box.selected {
    border-color: #4F46E5;
    border-style: solid;
    background: #F5F3FF;
}

.gift-custom-box-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.gift-custom-icon {
    line-height: 1;
    display: inline-flex;
    color: #7c3aed;
}
.gift-custom-icon .helmi-icon { width: 24px; height: 24px; }

.gift-custom-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 280px;
}

.gift-custom-input-wrap input {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 12px 14px;
}

.gift-custom-input-wrap span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6B7280;
}

.gift-form-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.gift-form-card h3 {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.gift-form-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.gift-submit-row {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.gift-selected-summary {
    font-size: 0.9rem;
    color: #374151;
}

.gift-selected-summary strong {
    color: #111827;
}

.gift-payment-methods { display: grid; gap: 10px; margin-top: 12px; }
.gift-payment-method {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border: 2px solid #E5E7EB; border-radius: 10px;
    background: #fff; cursor: pointer;
}
.gift-payment-method:has(input:checked) { border-color: #4F46E5; background: #F5F3FF; }
.gift-payment-method input { accent-color: #4F46E5; }
.gift-payment-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
