/* ========================================
   HERB MOOD - SHOPPING CART
======================================== */

/* 商品名と価格を横並び */
.hm-goods-title-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-bottom: 16px;
}

.hm-goods-title-row h4,
.hm-goods-title-row .goods-price {
    margin: 0;
}

.hm-goods-title-row .goods-price {
    white-space: nowrap;
}

/* エコバッグの商品名と価格の間隔 */
.eco-goods .hm-goods-title-row {
    justify-content: flex-start;
    column-gap: 40px;
}

/* ティーボトルの商品名と価格の間隔 */
.bottle-gallery+.goods-wide-info .hm-goods-title-row {
    column-gap: 40px;
}

/* ティーボトル・エコバッグの税込位置 */
.bottle-gallery+.goods-wide-info .goods-price span,
.eco-goods .goods-price span {
    position: relative;
    top: -3px;
}

/* ========================================
   カラー・数量選択
======================================== */

.hm-cart-options {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px 26px;
    margin: 10px 0 22px;
}

.hm-cart-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #5b3826;
    font-size: 12px;
    letter-spacing: .05em;
}

.hm-cart-color,
.hm-qty-stepper {
    height: 40px;
    border: 1px solid #c9cbbf;
    border-radius: 20px;
    background: rgba(255, 255, 255, .82);
    color: #5b3826;
    font: inherit;
}

/* カラー選択の下三角 */
.hm-cart-color {
    min-width: 175px;
    padding: 0 48px 0 14px;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6H13L8 11Z' fill='%235b3826'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-position: right 15px center;
}

/* 数量ボタン */
.hm-qty-stepper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 126px;
    overflow: hidden;
}

.hm-qty-btn {
    width: 39px;
    height: 100%;
    padding: 0;
    background: transparent;
    border: none;
    color: #5b3826;
    font-size: 18px;
    cursor: pointer;
}

.hm-qty-btn:hover {
    background: #edf0e8;
}

.hm-qty-number {
    min-width: 26px;
    text-align: center;
    font-size: 14px;
}

/* ========================================
   ティーウェア3商品
======================================== */

/* 金額本体を中央へ */
.goods-grid-3 .goods-card .goods-price {
    display: block;
    position: relative;
    width: max-content;
    margin: 0 auto 18px;
    text-align: center;
}

/* 税込表記 */
.goods-grid-3 .goods-card .goods-price span {
    position: absolute;
    left: calc(100% - 3px);
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    white-space: nowrap;
}

/* 3点セットの割引表示 */
.goods-card .goods-set-note {
    margin: 10px 0 0;
}

/* ========================================
   エコバッグ
======================================== */

/* カラーと数量の横並び */
.eco-goods .hm-cart-options {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    width: 70%;
    margin: 10px auto 22px;
}

.eco-goods .hm-cart-field {
    display: grid;
    grid-template-rows: 20px 40px;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.eco-goods .hm-cart-field>span:first-child {
    text-align: center;
    line-height: 20px;
}

.eco-goods .hm-cart-color,
.eco-goods .hm-qty-stepper {
    width: 100%;
    min-width: 0;
    height: 40px;
    box-sizing: border-box;
}

/* ========================================
   ティーボトル
======================================== */

.bottle-gallery+.goods-wide-info .hm-cart-options {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    width: min(360px, 100%);
    margin: 10px auto 22px;
}

.bottle-gallery+.goods-wide-info .hm-cart-field {
    width: 100%;
    min-width: 0;
}

.bottle-gallery+.goods-wide-info .hm-cart-color,
.bottle-gallery+.goods-wide-info .hm-qty-stepper {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* 購入ボタンの幅 */
.bottle-gallery+.goods-wide-info .hm-bottle-cart-button {
    display: block;
    width: min(360px, 100%);
    min-width: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

.hm-bottle-cart-button {
    background: #5b3826;
    color: #fff;
    border-color: #5b3826;
    border-radius: 999px;
}

.hm-bottle-cart-button:hover {
    background: #829274;
    border-color: #829274;
}

/* ========================================
   アソートセット・10月限定フレーバー
======================================== */

/* 内容量とタイプの開始位置を統一 */
.assortment-info .assortment-detail>div {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
}

/* タイプ・三角ティーバッグ・ラッピング */
.assortment-info .assortment-detail>.hm-detail-with-gift {
    grid-template-columns: 60px max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
}

/* 内容量・タイプのラベル */
.assortment-info .assortment-detail .detail-label {
    width: auto;
    min-width: 0;
}

/* 内容量とタイプの文字 */
.assortment-info .assortment-detail .detail-value {
    min-width: 0;
}

/* 三角ティーバッグは折り返さない */
.assortment-info .hm-detail-with-gift .detail-value {
    white-space: nowrap;
}

/* ラッピングの四角 */
.assortment-info .hm-detail-with-gift .price-gift {
    justify-self: end;
    margin: 0;
    white-space: nowrap;
}

/* 数量は左、価格は右 */
.assortment-info .hm-assort-purchase-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin: 40px 0 0;
    box-sizing: border-box;
}

/* 数量とラベル */
.assortment-info .hm-assort-qty {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* 価格と税込 */
.assortment-info .hm-assort-purchase-row .assortment-price {
    position: static;
    top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    width: max-content;
    margin: 0 0 0 auto;
    padding-right: 0;
    white-space: nowrap;
    transform: none;
}

/* 金額と税込の間隔 */
.assortment-info .hm-assort-purchase-row .assortment-price .tax {
    margin-left: -6px;
    transform: none;
}

/* ========================================
   カート追加時の通知
======================================== */

.hm-cart-toast[hidden],
.hm-cart-count[hidden],
.hm-cart-overlay[hidden] {
    display: none !important;
}

.hm-cart-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;

    padding: 13px 24px;
    max-width: calc(100% - 28px);

    border-radius: 24px;
    background: #5b3826;
    color: #fff;
    font-size: 13px;
    text-align: center;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

/* ヘッダーのカートアイコン */
.hm-cart-icon-button {
    position: relative;
}

.hm-cart-count {
    position: absolute;
    top: -8px;
    right: -7px;

    min-width: 18px;
    height: 18px;
    padding: 0 4px;

    background: #829274;
    border-radius: 999px;
    color: #fff;

    font: 11px/18px Arial, sans-serif;
    text-align: center;
}

/* ========================================
   カート確認画面
======================================== */

.hm-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    background: rgba(20, 20, 20, .4);
}

.hm-cart-panel {
    position: relative;
    width: min(520px, 100%);
    max-height: 88vh;

    overflow-y: auto;
    padding: 35px;

    border-radius: 18px;
    background: #fffdf9;
    color: #5b3826;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

.hm-cart-panel h2 {
    margin: 0;
    text-align: center;
    font: italic 25px Georgia, serif;
}

.hm-cart-panel-subtitle {
    margin: 7px 0 26px;
    font-size: 13px;
    text-align: center;
}

.hm-cart-close {
    position: absolute;
    top: 15px;
    right: 17px;

    border: 0;
    background: transparent;
    color: #5b3826;
    font-size: 25px;
    cursor: pointer;
}

.hm-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    padding: 15px 0;
    border-bottom: 1px solid #e2ddd1;
}

.hm-cart-item button {
    border: 0;
    background: transparent;
    color: #767d72;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.hm-cart-total {
    padding: 18px 0 0;
    text-align: right;
    font-size: 17px;
}

.hm-cart-demo-note {
    margin: 20px 0 0;
    color: #767d72;
    font-size: 11px;
    text-align: center;
}

/* ========================================
   スマホ表示
======================================== */

@media (max-width: 700px) {

    .hm-cart-options {
        gap: 14px;
    }

    .hm-cart-panel {
        padding: 30px 20px;
    }

    /* エコバッグ */
    .eco-goods .hm-cart-options {
        width: 70%;
        grid-template-columns:
            minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 10px;
    }

    .eco-goods .hm-cart-color {
        min-width: 0;
    }

    /* ラッピングは狭い画面では次の行 */
    .assortment-info .assortment-detail>.hm-detail-with-gift {
        grid-template-columns: 60px minmax(0, 1fr);
        row-gap: 8px;
    }

    .assortment-info .hm-detail-with-gift .detail-value {
        white-space: normal;
    }

    .assortment-info .hm-detail-with-gift .price-gift {
        grid-column: 2;
        justify-self: start;
        margin-left: 0;
    }

    .assortment-info .hm-assort-purchase-row {
        flex-wrap: wrap;
    }
}


/* ========================================
   HERB MOOD 新ショッピングカート
======================================== */

.hm-cart-overlay {
    padding: 20px;
    background: rgba(44, 37, 30, 0.45);
}

.hm-cart-panel {
    width: min(680px, 100%);
    max-height: 90vh;
    padding: 38px 34px;
    border-radius: 18px;
    background: #faf7f1;
    color: #5b3826;
    box-sizing: border-box;
}

.hm-cart-brand {
    margin: 0 0 8px;
    text-align: center;
    color: #6f8765;
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.15em;
}

.hm-cart-panel h2 {
    font: italic 29px Georgia, serif;
    color: #5b3826;
}

.hm-cart-panel-subtitle {
    margin: 8px 0 28px;
    color: #887765;
}

.hm-cart-empty {
    padding: 35px 10px;
    text-align: center;
    font-size: 14px;
}

/* 商品カード */

.hm-cart-item {
    display: block;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #e3d9c8;
    border-radius: 12px;
    background: #fffdf9;
}

.hm-cart-item-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hm-cart-item-image {
    width: 155px;
    height: 170px;
    object-fit: contain;
    flex-shrink: 0;
}

.hm-cart-item-image {
    width: 190px;
    height: 195px;
    object-fit: contain;
    flex-shrink: 0;
}

.hm-cart-item-info {
    flex: 1;
    min-width: 0;
}

.hm-cart-item-name {
    display: block;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
}

.hm-cart-item-detail {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #887765;
}

.hm-cart-item-price {
    margin: 12px 0 0;
    font-size: 20px;
    color: #5b3826;
}

/* 数量・小計・ログイン時獲得予定ポイント */

.hm-cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e3d9c8;
}

.hm-cart-item-quantity,
.hm-cart-item-subtotal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.hm-cart-item-stepper {
    display: inline-flex;
    align-items: center;
    height: 38px;
    overflow: hidden;
    border: 1px solid #c9cbbf;
    border-radius: 6px;
    background: #fff;
}

.hm-cart-item-stepper button {
    width: 36px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #5b3826;
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
}

.hm-cart-item-stepper button:hover:not(:disabled) {
    background: #e6ecdf;
    color: #536b48;
}

.hm-cart-item-stepper button:disabled {
    opacity: 0.3;
    cursor: default;
}

.hm-cart-item-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 35px;
    height: 100%;
    border-left: 1px solid #e3d9c8;
    border-right: 1px solid #e3d9c8;
    font-size: 14px;
}

.hm-cart-item-subtotal strong {
    font-size: 20px;
    font-weight: 500;
}

.hm-cart-item-remove {
    display: block;
    margin: 16px 0 0 auto;
    padding: 4px 8px;
    border: 0;
    background: transparent;
    color: #887765;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

/* 合計・注文ボタン */

.hm-cart-summary {
    margin-top: 25px;
    padding: 24px;
    border-radius: 12px;
    background: #f0eee7;
}

.hm-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #d9d5c9;
    font-size: 14px;
}

.hm-cart-summary-price {
    margin-bottom: 0;
    font-size: 16px;
}

/* ログイン時獲得予定ポイント合計：ほかの項目と同じ焦げ茶 */
.hm-cart-summary-points {
    padding: 8px 0;
    margin-bottom: 14px;
    color: #5b3826;
    font-size: 14px;
}

.hm-cart-summary-points-value {
    color: #5b3826;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

/* 合計をポイント数の少し手前に配置 */
.hm-cart-summary-points-right {
    display: flex;
    align-items: center;
    gap: 2ch;
    white-space: nowrap;
}

.hm-cart-summary-amount {
    font-size: 23px;
    font-weight: 500;
}

.hm-cart-checkout,
.hm-cart-continue {
    display: block;
    width: 100%;
    padding: 15px;
    border: 1px solid #536b48;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.hm-cart-checkout {
    background: #5b3826;
    border-color: #5b3826;
    color: #fff;
}

.hm-cart-checkout:hover {
    background: #472b1d;
    border-color: #472b1d;
}

.hm-cart-continue {
    margin-top: 12px;
    background: transparent;
    color: #536b48;
}

.hm-cart-continue:hover {
    background: #6f8765;
    color: #fff;
}

/* スマホ表示 */

@media (max-width: 700px) {

    .hm-cart-panel {
        padding: 30px 18px;
    }

    .hm-cart-item {
        padding: 15px;
    }

    .hm-cart-item-main {
        gap: 12px;
    }

    .hm-cart-item-image {
        width: 105px;
        height: 125px;
    }

    .hm-cart-item-controls {
        flex-wrap: wrap;
    }

    .hm-cart-item-quantity,
    .hm-cart-item-subtotal {
        gap: 8px;
    }

    .hm-cart-summary {
        padding: 18px;
    }
}

/* カート全画面表示 */
.hm-cart-overlay.hm-cart-fullscreen {
    padding: 0;
}

.hm-cart-fullscreen .hm-cart-panel {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    padding: 55px max(24px, calc((100vw - 1000px) / 2));
    box-sizing: border-box;
}

/* 全画面切り替えボタン */
.hm-cart-expand {
    display: block;
    margin: 0 auto 22px;
    padding: 9px 18px;
    border: 1px solid #829274;
    border-radius: 20px;
    background: transparent;
    color: #536b48;
    font-size: 13px;
    cursor: pointer;
}

.hm-cart-expand:hover {
    background: #e6ecdf;
}

@media (max-width: 700px) {
    .hm-cart-fullscreen .hm-cart-panel {
        padding: 55px 18px 30px;
    }
}

/* 送料無料までの案内 */
.hm-cart-shipping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #5b3826;
    font-size: 20px;
    font-weight: 500;
}

.hm-cart-shipping-icon {
    width: 100px;
    height: auto;
    object-fit: contain;
    transform: scaleX(-1);
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .hm-cart-shipping {
        font-size: 13px;
        gap: 7px;
    }

    .hm-cart-item-image {
        width: 110px;
        height: 130px;
    }

    /* スマホの商品名 */
    .hm-cart-item-name {
        font-size: 15px;
    }

    /* スマホの商品情報 */
    .hm-cart-item-detail {
        font-size: 12px;
        line-height: 1.7;
    }

    /* スマホの商品価格 */
    .hm-cart-item-price {
        font-size: 14px;
    }

}

/* ヘッダーのカート数量を少し左下へ */
.hm-cart-count {
    transform: translate(-5px, 10px);
}

/* ========================================
   2つのカート画面の閉じるボタン
======================================== */

/* 両方の×を四角で囲む */
.mood-added-panel .mood-added-close,
.hm-cart-panel .hm-cart-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #cfc4bc;
    border-radius: 2px;
    background: transparent;
    color: #5b3826;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

/* カートに追加しました画面 */
.mood-added-panel .mood-added-close {
    position: absolute;
    top: 12px;
    right: 16px;
}

/* ショッピングカート画面 */
/* ショッピングカート画面の× */
.hm-cart-panel .hm-cart-close {
    position: absolute;
    top: 50px;
    right: max(24px, calc((100vw - 1000px) / 2));
}

/* スマホ表示 */
@media (max-width: 700px) {
    .hm-cart-panel .hm-cart-close {
        right: 18px;
    }
}

/* マウスを重ねたとき */
.mood-added-panel .mood-added-close:hover,
.hm-cart-panel .hm-cart-close:hover {
    background: #f0e9df;
}


/* ========================================
   カート内 レイアウト調整
======================================== */

/* ラッピングあり・なしの間に線を入れない */
.hm-cart-item .hm-cart-wrap-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border: none;
}

/* ラッピングの数量ボタンを右端に */
.hm-cart-item .hm-cart-wrap-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* ラッピング商品の小計エリア */
.hm-cart-item>.hm-cart-item-controls.hm-cart-wrap-total {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
    padding-top: 0;
    border-top: 1px solid #e3d9c8;
}

/* 数量合計の文字を非表示 */
.hm-cart-item>.hm-cart-item-controls.hm-cart-wrap-total .hm-cart-item-quantity {
    display: none;
}

/* ラッピング商品の小計 */
.hm-cart-item>.hm-cart-item-controls.hm-cart-wrap-total .hm-cart-item-subtotal {
    display: flex;
    width: 100%;
    min-height: 60px;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 8px;
    border: none;
    box-sizing: border-box;
}

/* 通常商品の数量・小計を上下に並べる */
.hm-cart-item>.hm-cart-item-controls:not(.hm-cart-wrap-total) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 18px;
    padding-top: 0;
    border-top: 1px solid #e3d9c8;
}

/* 通常商品の数量欄 */
.hm-cart-item>.hm-cart-item-controls:not(.hm-cart-wrap-total) .hm-cart-item-quantity {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 8px;
    box-sizing: border-box;
}

/* 各商品の予定ポイント：数量と小計の間 */
.hm-cart-item>.hm-cart-item-controls .hm-cart-item-points {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    padding: 4px 8px;
    box-sizing: border-box;
    color: #5b3826;
    font-size: 14px;
}

.hm-cart-item>.hm-cart-item-controls .hm-cart-item-points strong {
    color: #5b3826;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

/* ラッピングなし：数量とポイント欄の境界線 */
.hm-cart-item>.hm-cart-item-controls:not(.hm-cart-wrap-total) .hm-cart-item-points {
    border-top: 1px solid #e3d9c8;
}

/* ラッピングあり：ポイントと小計欄の境界線 */
.hm-cart-item>.hm-cart-item-controls.hm-cart-wrap-total .hm-cart-item-points {
    border-bottom: 1px solid #e3d9c8;
}

/* 通常商品の小計欄 */
.hm-cart-item>.hm-cart-item-controls:not(.hm-cart-wrap-total) .hm-cart-item-subtotal {
    display: flex;
    width: 100%;
    min-height: 62px;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 8px;
    border-left: none;
    border-top: 1px solid #e3d9c8;
    box-sizing: border-box;
}

/* スマホでは長いポイント表記を折り返せるようにする */
@media (max-width: 600px) {
    .hm-cart-summary-points {
        font-size: 12px;
    }

    .hm-cart-item>.hm-cart-item-controls .hm-cart-item-points {
        font-size: 12px;
    }
}

/* 削除ボタンは右端 */
.hm-cart-item>.hm-cart-item-remove {
    display: block;
    width: fit-content;
    margin: 12px 0 0 auto;
}

/* スマホ表示 */
@media (max-width: 700px) {

    .hm-cart-item .hm-cart-wrap-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hm-cart-item .hm-cart-wrap-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .hm-cart-item>.hm-cart-item-controls:not(.hm-cart-wrap-total) .hm-cart-item-quantity {
        justify-content: flex-end;
    }

    .hm-cart-item>.hm-cart-item-controls:not(.hm-cart-wrap-total) .hm-cart-item-subtotal {
        justify-content: flex-end;
        border-left: none;
    }
}


/* ========================================
   カート数量・削除ボタンの横並び
======================================== */

/* ラッピングあり・なしの横並び */
.hm-cart-item .hm-cart-wrap-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    border: none;
}

/* ラッピングあり・なしと数量の間 */
.hm-cart-item .hm-cart-wrap-label {
    margin-right: 2ch;
    white-space: nowrap;
}

/* 数量・ボタン・削除 */
.hm-cart-item .hm-cart-wrap-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin-left: 0;
    gap: 8px;
}

.hm-cart-wrap-quantity-label {
    font-size: 13px;
    color: #5b3826;
    white-space: nowrap;
}

/* 通常商品の削除ボタン */
.hm-cart-item .hm-cart-item-quantity>.hm-cart-item-remove {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 4px 6px;
}

/* スマホ表示 */
@media (max-width: 700px) {

    .hm-cart-item .hm-cart-wrap-row {
        justify-content: flex-end;
        gap: 6px;
    }

    .hm-cart-item .hm-cart-wrap-actions {
        width: auto;
        margin-left: auto;
        gap: 6px;
    }

    .hm-cart-item .hm-cart-wrap-label {
        margin-right: 6px;
    }

    .hm-cart-wrap-quantity-label {
        font-size: 12px;
    }
}

/* ========================================
   カート専用 PAGE TOP・BACK ボタン
======================================== */

/* 右下に縦並び */
.hm-cart-nav {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 10001;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* BACKボタンを画面の左下に配置 */
.hm-cart-nav-back {
    position: fixed;
    left: 28px;
    right: auto;
    bottom: 28px;
}

/* 丸いボタン */
.hm-cart-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;

    width: 64px;
    height: 64px;
    padding: 0;

    background: #fffdf9;
    border: 1px solid #829274;
    border-radius: 50%;

    color: #829274;
    cursor: pointer;

    box-shadow: 0 4px 15px rgba(91, 56, 38, 0.1);

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

/* マウスを重ねたとき */
.hm-cart-nav-button:hover {
    background: #e8eee3;
    transform: translateY(-3px);
}

/* 矢印 */
.hm-cart-nav-arrow {
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1;
}

/* PAGE TOP・BACKの文字 */
.hm-cart-nav-text {
    font-family: Georgia, serif;
    font-size: 9px;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* スクロール前はTOPを非表示 */
.hm-cart-nav-top[hidden] {
    display: none;
}

/* スマホ表示 */
/* スマホ表示 */
@media (max-width: 600px) {
    .hm-cart-nav {
        right: 16px;
        bottom: 20px;
        gap: 10px;
    }

    .hm-cart-nav-button {
        width: 54px;
        height: 54px;
    }

    .hm-cart-nav-back {
        left: 16px;
        right: auto;
        bottom: 20px;
    }

    .hm-cart-nav-arrow {
        font-size: 22px;
    }

    .hm-cart-nav-text {
        font-size: 8px;
    }
}

/* ========================================
   カート専用 PAGE TOP・BACK ボタン
======================================== */

/* 右下に縦並び */
.hm-cart-nav {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 10001;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* 丸いボタン */
.hm-cart-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;

    width: 64px;
    height: 64px;
    padding: 0;

    background: #fffdf9;
    border: 1px solid #829274;
    border-radius: 50%;

    color: #829274;
    cursor: pointer;

    box-shadow: 0 4px 15px rgba(91, 56, 38, 0.1);

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

/* ホバー */
.hm-cart-nav-button:hover {
    background: #e8eee3;
    transform: translateY(-3px);
}

/* 矢印 */
.hm-cart-nav-arrow {
    font-family: Georgia, serif;
    font-size: 25px;
    line-height: 1;
}

/* 文字 */
.hm-cart-nav-text {
    font-family: Georgia, serif;
    font-size: 9px;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* スクロール前はTOPを非表示 */
.hm-cart-nav-top[hidden] {
    display: none;
}

/* スマホ表示 */
@media (max-width: 600px) {
    .hm-cart-nav {
        right: 16px;
        bottom: 20px;
        gap: 10px;
    }

    .hm-cart-nav-button {
        width: 54px;
        height: 54px;
    }

    .hm-cart-nav-arrow {
        font-size: 22px;
    }

    .hm-cart-nav-text {
        font-size: 8px;
    }
}

/* ティーボトル スマホだけ左寄せ */
@media (max-width: 700px) {

    .bottle-gallery+.goods-wide-info {
        text-align: left;
    }

    .bottle-gallery+.goods-wide-info .hm-goods-title-row {
        justify-content: flex-start;
    }

}

/* ティーボトルの選択肢の背景色 */
.bottle-gallery+.goods-wide-info .hm-cart-color option {
    background-color: #ffffff;
    color: #5b3826;
}

/* エコバッグ：マウス選択時の青枠をなくす */
.eco-goods .hm-cart-color:focus {
    outline: none;
    box-shadow: none;

}