@charset "UTF-8";

#cart-view {
    margin-bottom: 20px;
    padding: 15px;
    background: #eef4f9;
}

#cart-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
        @media(max-width: 768px) {
            #cart-footer{
            flex-direction: column;
            text-align: center;
        }
}


/* --- リストの基本設定 --- */
#cart-view ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#cart-view li {
    list-style: none !important;
    background: none !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
        @media (max-width:768px) {
            #cart-view li {
                display: block;  
            }
}

#cart-view li:last-child {
    border-bottom: none; /* 最後の線の削除 */
}

#cart-view li::before { content: none !important; display: none !important; }

/* --- アイテム名と操作エリア --- */
.item-name {
    font-size: 1.1em;
    font-weight: bold;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-text {
    display: inline-block;
    width: 45px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

.label-text {
    color: #666;
}

/* --- ボタン共通設定 --- */
.qty-btn, .btn-reset, .btn-order, .btn-delete {
    transition: opacity 0.3s;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    font-family: inherit;
}

button:active, a:active {
    transform: translateY(1px);
    filter: brightness(0.9);
}

/* --- 各ボタンの固有デザイン --- */
.qty-btn {
    background: #eee;
    border: 1px solid #ccc;
    padding: 2px 8px;
    cursor: pointer;
    font-weight: bold;

}
.qty-btn:hover { 
    background: #ddd;
}

.btn-delete {
    background: #C53D43;;
    color: #fff;
    padding: 5px 12px;
    margin-left: 10px;
    font-size: 0.9em;
}
.btn-delete:hover { 
    opacity: 0.8 !important;
}

.btn-reset {
    background: #C53D43;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold !important;
}
.btn-reset:hover { 
    opacity: 0.8 !important; 
}

.btn-order {
    background-color: #0056b3;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
}

.btn-order:hover { 
    opacity: 0.8 !important;
}

/* カートページ内の画像 */
.cart-item-img {
    width: 60px; 
    height: auto;
    vertical-align: middle;
    margin-right: 15px;
    border-radius: 3px;
}

/* ヘッダーエリア */
.page-header {
    /* 下(#666)から上(#ccc)へ薄くなるグラデーション */
    background: linear-gradient(to top, #e0e0e0 26%, #efefef 48%, #d9d9d9 75%, #bcbcbc 100%);
    padding: 50px 0; /* 少し高さを広げてグラデーションを見やすくしました */
    text-align: center;
    border-bottom: none; /* 下の線はグラデーションと馴染ませるため削除 */
}

.page-header h1 {
    color: #fff; /* 白文字 */
    font-size: 24px;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* 文字の影を少し濃くして読みやすく */
}

/* コンテナ */
.container1 {
    max-width: 960px;
    margin: 100px auto;
    padding: 0 20px;
}
.cart-section{
    margin-bottom: 60px;
}

/* セクションタイトル */
.section-title {
    color: #333; /* 画像の濃い青色に合わせる */
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #0056b3;
    padding-bottom: 2px;
    margin-bottom: 40px;
}

.add-item-btn {
    background-color: #a0a0a0; 
    color: #ffffff !important;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block; 
    border-radius: 4px;
}

.add-item-btn:hover { 
    color: #ffffff !important;
    opacity: 0.8 !important;
}
