/**
 * 死着保証表示スタイル
 */

.shipping-guarantee-info {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    margin: 16px 0;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.shipping-guarantee-info .guarantee-icon {
    flex-shrink: 0;
    margin-right: 12px;
    font-size: 20px;
}

.shipping-guarantee-info .guarantee-message {
    flex: 1;
}

.shipping-guarantee-info .guarantee-message strong {
    font-weight: 600;
}

/* 保証対象 */
.shipping-guarantee-info.guarantee-eligible {
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

/* 条件付き（時間帯選択が必要） */
.shipping-guarantee-info.guarantee-conditional {
    background-color: #fff3e0;
    border: 1px solid #ff9800;
    color: #e65100;
}

/* 保証対象外 */
.shipping-guarantee-info.guarantee-unavailable {
    background-color: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

/* モバイル対応 */
@media (max-width: 767px) {
    .shipping-guarantee-info {
        padding: 12px;
        font-size: 13px;
    }

    .shipping-guarantee-info .guarantee-icon {
        font-size: 18px;
        margin-right: 8px;
    }
}

/* ============================================
   ヘッダー検索ボックス - ピル型→角丸に修正
   ============================================ */

/* デスクトップ: カテゴリ選択部分 */
.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* デスクトップ: キーワード入力部分 */
.ec-headerSearch .ec-headerSearch__keyword {
    border-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

/* 単独の検索入力 */
.ec-headerSearch__input {
    border-radius: 8px !important;
}

/* ドロワー内の検索 */
.ec-drawerRole .ec-headerSearch .ec-headerSearch__keyword {
    border-radius: 8px !important;
}

/* 検索入力欄の幅を拡張 */
.ec-headerSearch__keyword {
    width: 100% !important;
    min-width: 200px !important;
}

.ec-headerSearch__keyword input[type=search] {
    width: 100% !important;
    min-width: 180px !important;
}

/* 検索入力欄の幅をさらに拡張 */
.ec-headerSearch__keyword {
    width: 280px !important;
    flex: 1 1 280px !important;
}

.ec-headerSearch__keyword input[type=search] {
    width: 100% !important;
    box-sizing: border-box !important;
}
