/*
Theme Name:		Welcart Basic Child
Description:	Welcart Basic Child is child theme for Welcart Basic.
Author:			WElcart Inc.
Author URI:		https://www.welcart.com/
Template:		welcart_basic
Version:		1.0.0
License:		GNU General Public License v2 or later
License URI:	http://www.gnu.org/licenses/gpl-2.0.html
Tags:			responsive-layout, basic-child, two-columns, right-sidebar. left-sidebar
*/

.item-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.item-search-form input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 220px;
}

.item-search-form button {
    padding: 8px 15px;
    background: #2c5aa0;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.item-search-form button:hover {
    background: #1e3f75;
}

.item-sort a {
    margin-left: 15px;
    text-decoration: none;
    color: #2c5aa0;
    font-weight: bold;
}

.item-sort a:hover {
    text-decoration: underline;
}
/* ===== 商品検索バー調整 ===== */

/* ===== 商品検索バー安定版 ===== */

.item-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.item-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-search-form input[type="text"] {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 240px;
    font-size: 14px;
}

.item-search-form button {
    padding: 10px 18px;
    background: #2c5aa0;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.item-search-form button:hover {
    background: #1e3f75;
}

.item-sort {
    display: flex;
    gap: 10px;
}

.item-sort .sort-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}

.item-sort .sort-btn:hover {
    background: #2c5aa0;
    color: #fff;
    border-color: #2c5aa0;
}


.item-sort .sort-btn:hover {
    background: #2c5aa0;
    color: #fff !important;
    border-color: #2c5aa0;
}
/* ===== 並び替え 位置修正 ===== */

.item-toolbar {
    justify-content: flex-start !important;
}

.item-sort {
    margin-left: 0 !important;
    float: none !important;
    text-align: left !important;
}

.item-sort form {
    float: none !important;
    margin: 0 !important;
}

.item-sort select {
    display: inline-block !important;
}
