/* assets/css/custom-cart.css */
/* カスタムカートのスタイル */

/* 空カートメッセージ */
.empty-cart-message {
    padding: 1em;
    text-align: center;
    color: #666;
}

/* カスタムカートフォーム */
.purimall-custom-cart-form {
    width: 100%;
}

/* カートテーブル */
.custom-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-cart-table th,
.custom-cart-table td {
    padding: 0.8em;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.custom-cart-table th {
    font-weight: bold;
    background-color: #f9f9f9;
}

/* カートアイテム行 */
.cart-item-row {
    border-bottom: 1px solid #ddd;
}

/* 数量入力 */
.cart-quantity-input {
    width: 60px;
    text-align: center;
    padding: 0.3em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 削除リンク */
.cart-remove-link {
    color: red;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
}

.cart-remove-link:hover {
    color: #cc0000;
    text-decoration: underline;
}

/* 合計セクション */
.cart-total-section {
    margin-top: 1em;
    text-align: right;
}

/* ボタン */
.cart-update-button,
.checkout-button {
    margin-left: 0.5em;
}

/* 商品タイプラベル */
.product-label-wrapper {
    margin-top: 0.3em;
}

.product-label {
    display: inline-block;
    color: white;
    padding: 0.2em 0.6em;
    font-size: 0.75em;
    border-radius: 6px;
}

.product-label-subscription {
    background: #ec4899; /* ピンク */
}

.product-label-downloadable {
    background: #3b82f6; /* 青 */
}

.product-label-shipping {
    background: #6b7280; /* グレー */
}


/* Cart page presentation; common tokens remain owned by UI Foundation. */
body.woocommerce-cart,
body.woocommerce-cart #page,
body.woocommerce-cart #content,
body.woocommerce-cart .site-content,
body.woocommerce-cart .site-main {
    background-color: var(--fanika-ui-page-background, #edf7fe);
}
.fanika-cart-page {
    box-sizing: border-box;
    padding-block: 28px 110px;
}
.fanika-cart-surface {
    box-sizing: border-box;
    width: 100%;
    padding: clamp(16px, 3vw, 30px);
}
.fanika-cart-page .woocommerce {
    max-width: 100%;
}
