
/* ============================================================
 * 保険: デモ帯非表示
 * ============================================================ */
.woocommerce-store-notice,
p.demo_store { display:none !important; }

/* === 通知バーのボタン（全ページ共通でブランド色） === */
.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button {
    background: #c29272 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
}
.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover {
    background: #a9764f !important;
}
.woocommerce-message,
.woocommerce-info {
    border-top-color: #c29272 !important;
}

/* ============================================================
 * [1] バナー非表示
 * cart.html L216: <h2 id="page_title" class="lozad" ...>
 * prod2.html L214: div#blog_area > div.breadcrumbs の上の同一 h2 は存在せず
 *   → single-product では div#blog_area 内の breadcrumbs 直上に banner なし
 *   → ただし single-product でも h2#page_title が出る場合に備えて対象に含める
 * /items/ (woocommerce-page のみ) は除外: body.woocommerce-cart / .woocommerce-checkout / .single-product のみ対象
 * ============================================================ */

/* h2#page_title = テーマの page header eyecatch (cart.html 実名) */
body.woocommerce-cart h2#page_title,
body.woocommerce-checkout h2#page_title,
body.single-product h2#page_title {
    display: none !important;
}

/* breadcrumbs 余白を詰める（banner 消去後の spacing 調整） */
body.woocommerce-cart .breadcrumbs,
body.woocommerce-checkout .breadcrumbs,
body.single-product .breadcrumbs {
    margin-top: 8px !important;
    padding-top: 0 !important;
}

/* 保険: WCギャラリーJSが死んでも画像を表示（inline opacity:0 を上書き） */
body.single-product .woocommerce-product-gallery { opacity: 1 !important; }

/* ============================================================
 * [2] 商品ページ  body.single-product
 *     デザイン: /tmp/wwl-design/商品ページ.html（Claude Design v3）
 *     実マークアップ: /tmp/wwl-diag/prod2.html
 * ============================================================ */

/* ---- CSS カスタムプロパティ（商品ページスコープ） ---- */

:root {
    --wwl-ink:        #3b3128;
    --wwl-muted:      #8a8075;
    --wwl-faint:      #b6ab9d;
    --wwl-line:       #e8dfd2;
    --wwl-beige:      #faf6f1;
    --wwl-panel:      #fcfaf6;
    --wwl-rose:       #c29272;
    --wwl-rose-dark:  #a9785b;
    --wwl-rose-soft:  #f3e7dd;
    --wwl-radius:     8px;
}

/* ---- コンテナ拡張: #woo_area.inner が実ラッパ (prod2.html L221) ---- */
body.single-product #woo_area.inner {
    max-width: 1200px;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ---- 2 カラムレイアウト: ギャラリー 46% + サマリー 50% ---- */
/* (prod2.html L225: .woocommerce-product-gallery.images / L230: .summary.entry-summary) */
body.single-product div.product .woocommerce-product-gallery.images {
    float: left !important;
    width: 46% !important;
    margin-right: 4% !important;
}
body.single-product div.product .summary.entry-summary {
    float: left !important;
    width: 50% !important;
}

/* ---- ギャラリー: メイン画像 1:1 正方形・角丸 ---- */
/* (prod2.html L226: figure.woocommerce-product-gallery__wrapper.imgwrap) */
body.single-product .woocommerce-product-gallery {
    position: sticky;
    top: 96px;
}
body.single-product .woocommerce-product-gallery__wrapper {
    margin: 0;
}
body.single-product .woocommerce-product-gallery__image {
    border: 1px solid var(--wwl-line);
    background: var(--wwl-beige);
    overflow: hidden;
    border-radius: var(--wwl-radius);
}
body.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* ---- サムネグリッド: ol.flex-control-thumbs 4 列 (WC 標準 JS 生成) ---- */
/* (WC 標準クラス: ol.flex-control-nav.flex-control-thumbs) */
body.single-product ol.flex-control-thumbs {
    list-style: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
}
body.single-product ol.flex-control-thumbs li {
    margin: 0 !important;
    min-width: 0 !important;
}
body.single-product ol.flex-control-thumbs li img {
    width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border: 1px solid var(--wwl-line) !important;
    border-radius: 6px !important;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .15s;
    display: block;
}
body.single-product ol.flex-control-thumbs li.flex-active img,
body.single-product ol.flex-control-thumbs li:hover img {
    border-color: var(--wwl-rose) !important;
}

/* ---- カテゴリピル: span.posted_in.cat_entry > a ---- */
/* (prod2.html L233: span.posted_in.cat_entry > a) */
/* デザイン: 白底 + ローズゴールドアウトライン・丸角 */
body.single-product .cat_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
body.single-product .cat_meta .cat_entry a {
    display: inline-block;
    font-size: 11px !important;
    letter-spacing: .08em;
    color: var(--wwl-rose) !important;
    background: #fff !important;
    border: 1px solid var(--wwl-rose) !important;
    border-radius: 999px !important;
    padding: 3px 14px !important;
    text-decoration: none;
    transition: background .15s, color .15s;
}
body.single-product .cat_meta .cat_entry a:hover {
    background: var(--wwl-rose) !important;
    color: #fff !important;
}

/* ---- 商品名 h1.product_title: 全文表示（クランプなし・半角スペース） ---- */
/* (prod2.html L237: h1.product_title.entry-title) */
body.single-product h1.product_title {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: var(--wwl-ink) !important;
    display: block !important;
    overflow: visible !important;
    margin: 0 0 18px !important;
}

/* ---- 価格帯 .common_price_box: ベージュ底・ローズゴールド価格 ---- */
/* (prod2.html L237: div.common_price_box.flexbox.woo_price) */
/* 実マークアップ: p.price > span.woocommerce-Price-amount + small.woocommerce-price-suffix */
body.single-product .common_price_box {
    background: var(--wwl-beige) !important;
    border: 1px solid var(--wwl-line) !important;
    border-radius: var(--wwl-radius) !important;
    padding: 14px 20px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    flex-wrap: wrap;
}
body.single-product .common_price_box .woocommerce-Price-amount,
body.single-product .common_price_box .price .woocommerce-Price-amount,
body.single-product .common_price_box p.price .amount {
    color: var(--wwl-rose-dark) !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important;
    letter-spacing: .01em;
    flex: none;
}
body.single-product .common_price_box small.woocommerce-price-suffix {
    font-size: 13px !important;
    color: var(--wwl-muted) !important;
    font-weight: 400;
    white-space: nowrap;
    flex: none;
}
/* common_price_box 内の付属テキスト（通常価格ラベル等）を小さく */
body.single-product .common_price_box .sale_txt,
body.single-product .common_price_box p.sale_txt {
    font-size: 12px !important;
    color: var(--wwl-muted) !important;
    margin: 0;
}

/* ---- 短説明: 12px ---- */
/* (prod2.html L244: .woocommerce-product-details__short-description) */
body.single-product .woocommerce-product-details__short-description {
    font-size: 12px !important;
    color: var(--wwl-muted) !important;
    line-height: 1.85;
    margin-bottom: 22px !important;
}

/* ---- バリエーション: table.variations ---- */
/* (standard WC class; prod2 は simple なので table は存在しないが variable 商品に適用) */
/* デザイン: select 40px 丸角・ラベル太字・クリアリンク */
body.single-product .variations_form {
    margin: 0 0 18px;
}
body.single-product table.variations {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin: 0 0 8px !important;
}
body.single-product table.variations td,
body.single-product table.variations th {
    border: none !important;
    vertical-align: middle;
}
body.single-product table.variations th.label {
    text-align: left;
    width: 64px;
    padding: 6px 12px 6px 0 !important;
    white-space: nowrap;
}
body.single-product table.variations th.label label {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: var(--wwl-ink) !important;
}
body.single-product table.variations td.value {
    padding: 6px 0 !important;
}
body.single-product table.variations select {
    height: 40px !important;
    min-width: 200px;
    padding: 0 38px 0 14px !important;
    border: 1px solid var(--wwl-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--wwl-ink) !important;
    font-size: 13px !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    /* SVG chevron */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8075' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    transition: border-color .15s;
    outline: none;
}
body.single-product table.variations select:focus {
    border-color: var(--wwl-rose) !important;
    box-shadow: 0 0 0 3px rgba(194,146,114,0.18) !important;
    outline: none !important;
}
/* クリアリンク .reset_variations */
body.single-product .reset_variations {
    font-size: 12px !important;
    color: var(--wwl-muted) !important;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .15s, border-color .15s;
    margin-left: 8px;
}
body.single-product .reset_variations:hover {
    color: var(--wwl-rose) !important;
    border-bottom-color: var(--wwl-rose);
}

/* ---- SKU / 商品コード ---- */
.sku_wrapper {
    font-size: 12px !important;
    color: var(--wwl-muted) !important;
}

/* ---- 数量 + カートボタン: flex 横並び ---- */
/* (prod2.html L249: form.cart > div.quantity + button.single_add_to_cart_button) */
body.single-product form.cart {
    display: flex !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin: 0 0 22px !important;
}
body.single-product form.cart .quantity {
    flex: none;
}
body.single-product form.cart .quantity input.qty,
body.single-product form.cart .quantity input.input-text.qty {
    width: 70px !important;
    height: 46px !important;
    text-align: center !important;
    border: 1px solid var(--wwl-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--wwl-ink) !important;
    font-size: 15px !important;
    font-weight: 500;
    padding: 0 !important;
    box-sizing: border-box;
    outline: none;
}
body.single-product form.cart .quantity input.qty:focus,
body.single-product form.cart .quantity input.input-text.qty:focus {
    border-color: var(--wwl-rose) !important;
    outline: none !important;
}
body.single-product .single_add_to_cart_button,
body.single-product button.single_add_to_cart_button {
    flex: 1 !important;
    height: 46px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    background: var(--wwl-rose) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .1em;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(194,146,114,0.25);
    transition: background .15s, box-shadow .15s, transform .15s;
}
body.single-product .single_add_to_cart_button:hover,
body.single-product button.single_add_to_cart_button:hover {
    background: var(--wwl-rose-dark) !important;
    box-shadow: 0 10px 26px rgba(169,120,91,0.32);
    transform: translateY(-1px);
}
/* その他 WC ボタン（汎用） */
body.single-product .woocommerce .button,
body.single-product .woocommerce button.button {
    background-color: var(--wwl-rose) !important;
    color: #fff !important;
    border-color: var(--wwl-rose) !important;
    border-radius: 6px;
    transition: background-color 0.2s;
}
body.single-product .woocommerce .button:hover,
body.single-product .woocommerce button.button:hover {
    background-color: var(--wwl-rose-dark) !important;
    border-color: var(--wwl-rose-dark) !important;
}

/* ---- 情報リンクカード: div.custom_info > div.remarks ---- */
/* (prod2.html L291-302: div.custom_info > div.remarks > p > a) */
/* デザイン .product-info-links → 実は .custom_info .remarks のリンク群 */
/* カード枠・各 p を flex 行・右シェブロン ::after */
body.single-product .custom_info .remarks {
    border: 1px solid var(--wwl-line) !important;
    border-radius: var(--wwl-radius) !important;
    overflow: hidden;
    background: var(--wwl-panel) !important;
    margin-top: 16px;
    padding: 0 !important;
}
body.single-product .custom_info .remarks p {
    margin: 0 !important;
    border-bottom: 1px solid var(--wwl-line);
}
body.single-product .custom_info .remarks p:last-child {
    border-bottom: none;
}
body.single-product .custom_info .remarks p a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 18px !important;
    font-size: 13px !important;
    color: var(--wwl-ink) !important;
    text-decoration: none !important;
    transition: background .15s, color .15s;
}
body.single-product .custom_info .remarks p a:hover {
    background: var(--wwl-beige) !important;
    color: var(--wwl-rose-dark) !important;
}
/* 右シェブロン */
body.single-product .custom_info .remarks p a::after {
    content: "\203A"; /* ›  U+203A Single Right-Pointing Angle Quotation Mark */
    font-size: 18px;
    color: var(--wwl-faint);
    flex: none;
}
/* デザイン HTML のリンクテキスト先頭の「・」を除去（::before 上書き） */
body.single-product .custom_info .remarks p::before {
    content: none !important;
}

/* ---- タブ: div.woocommerce-tabs.wc-tabs-wrapper ---- */
/* (prod2.html L307: テーマ独自 div.asd + h2.section_title) */
/* デザイン: section_title 下線を rose に; WC 標準タブも保険 */
body.single-product .woocommerce-tabs.wc-tabs-wrapper .section_title span {
    border-bottom: 2px solid var(--wwl-rose) !important;
    padding-bottom: 2px;
}
/* WC 標準タブナビ ul.tabs */
body.single-product .woocommerce-tabs ul.tabs {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--wwl-line);
}
body.single-product .woocommerce-tabs ul.tabs li {
    margin: 0;
}
body.single-product .woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 12px 2px;
    font-size: 14px;
    font-weight: 500;
    color: var(--wwl-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .15s, border-color .15s;
}
body.single-product .woocommerce-tabs ul.tabs li.active a {
    color: var(--wwl-ink) !important;
    border-bottom-color: var(--wwl-rose) !important;
}
body.single-product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--wwl-ink);
}

/* ---- パンくず二重解消 ---- */
/* prod2.html L215: div.breadcrumbs (テーマ NavXT) → 非表示 */
/* prod2.html L221: nav.woocommerce-breadcrumb (WC 標準) → 残す */
body.single-product div.breadcrumbs {
    display: none !important;
}
body.single-product nav.woocommerce-breadcrumb {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

/* ---- 関連商品 .related.products ul.products ---- */
/* (standard WC class; デザイン: 4 列 grid) */
body.single-product .related.products > h2 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .1em;
    text-align: center;
    margin: 0 0 28px;
    padding-bottom: 14px;
    position: relative;
}
body.single-product .related.products > h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 46px;
    height: 1px;
    background: var(--wwl-rose);
}
body.single-product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body.single-product .related.products ul.products li.product {
    position: relative;
    list-style: none;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}
body.single-product .related.products ul.products li.product img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border: 1px solid var(--wwl-line) !important;
    border-radius: 6px !important;
    display: block;
}
body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    margin-top: 12px !important;
    line-height: 1.6 !important;
    color: var(--wwl-ink) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
body.single-product .related.products ul.products li.product:hover .woocommerce-loop-product__title {
    color: var(--wwl-rose-dark) !important;
}
body.single-product .related.products ul.products li.product .price {
    display: block !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: var(--wwl-rose-dark) !important;
    margin-top: 4px;
}

/* ---- カゴ追加通知 ---- */
.woocommerce-message {
    border-top-color: var(--wwl-rose) !important;
    overflow: hidden;
}
.woocommerce-message a.button {
    background-color: var(--wwl-rose) !important;
    color: #fff !important;
}
.woocommerce-message a.button:hover {
    background-color: var(--wwl-rose-dark) !important;
}

/* ---- 一覧商品名 word-spacing（woo_list_title）---- */
/* ([6] section からも参照されるがここで宣言して上書き保険） */
ul.products.woo_list .woo_list_title {
}

/* ---- レスポンシブ（商品ページ） ---- */
@media (max-width: 980px) {
    body.single-product div.product .woocommerce-product-gallery.images {
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
    }
    body.single-product div.product .summary.entry-summary {
        float: none !important;
        width: 100% !important;
    }
    body.single-product .woocommerce-product-gallery {
        position: static;
    }
    body.single-product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    body.single-product form.cart {
        flex-wrap: wrap !important;
    }
    body.single-product .single_add_to_cart_button,
    body.single-product button.single_add_to_cart_button {
        flex: 1 1 100% !important;
    }
}

/* ============================================================
 * [3] 右側固定モール菜単 .fix_nav
 * product.html L300: div.fix_nav.pc > div.fix_box.shop_cont > ul.os_list > li > a
 * ============================================================ */

/* 展開パネル: 白底カード */
.fix_nav.pc .fix_box.shop_cont {
    background: #fff !important;
    border: 1px solid #e8e0d8 !important;
    border-radius: 8px 0 0 8px !important;
    box-shadow: -3px 3px 12px rgba(0,0,0,0.10) !important;
    min-width: 200px !important;
    overflow: hidden;
}

/* パネルタイトル擬似要素 (product.html L307: ul.os_list の前) */
.fix_nav.pc .fix_box.shop_cont ul.os_list::before {
    content: "公式モール店舗";
    display: block;
    padding: 8px 14px 4px;
    font-size: 12px !important;
    color: #999 !important;
    border-bottom: 1px solid #f0ece6;
}

/* 各店舗行 */
.fix_nav.pc .fix_box.shop_cont ul.os_list li {
    border-bottom: 1px solid #f0ece6;
}
.fix_nav.pc .fix_box.shop_cont ul.os_list li:last-child {
    border-bottom: none;
}

/* アンカー (product.html L309: style="background-color:#c29272;color:#fff" をCSSで上書き) */
.fix_nav.pc .fix_box.shop_cont ul.os_list li a {
    display: block !important;
    background-color: #fff !important;
    color: #333 !important;
    padding: 9px 14px !important;
    font-size: 14px !important;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap !important; /* auPAYマーケット店 折行修正 */
}
.fix_nav.pc .fix_box.shop_cont ul.os_list li a:hover {
    background-color: #faf6f1 !important;
    color: #c29272 !important;
    opacity: 1 !important;
}

/* os_title テキスト */
.fix_nav.pc .fix_box.shop_cont ul.os_list li a p.os_title {
    margin: 0;
    font-size: 14px !important;
    white-space: nowrap !important;
}

/* ic_box アイコン: 品牌色維持・少し縮小 */
.fix_nav.pc .ic_box {
    font-size: 1.3rem !important;
    background-color: #c29272 !important;
    color: #fff !important;
}

/* ============================================================
 * [4] 購物車ページ（WC ブロックカート）body.woocommerce-cart
 * cart.html L226: div[data-block-name="woocommerce/cart"] = WC ブロックカート
 * classic cart (shop_table 等) はこのサイトでは未使用だが保険として残す
 * ============================================================ */

/* ---- WC ブロックカート ---- */
/* 商品画像を 80px 角丸 (standard WC block class) */
.woocommerce-cart .wc-block-cart-items__row .wc-block-cart-item__image img,
.woocommerce-cart .wc-block-components-product-image img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #eee;
}

/* 商品名リンク 2行 clamp (standard WC block class) */
.woocommerce-cart .wc-block-components-product-name,
.woocommerce-cart .wc-block-cart-item__product-details .wc-block-components-product-name {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.5 !important;
    font-size: 0.9rem !important;
}

/* 数量 input (standard WC block class) */
.woocommerce-cart .wc-block-components-quantity-selector input,
.woocommerce-cart input[type="number"].wc-block-components-quantity-selector__value {
    height: 40px !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
}

/* 削除 × ボタン hover (standard WC block class) */
.woocommerce-cart .wc-block-cart-item__remove-link:hover,
.woocommerce-cart a.remove:hover {
    color: #c29272 !important;
}

/* cart_totals カード (standard WC block class + classic WC class) */
.woocommerce-cart .wc-block-cart__sidebar,
.woocommerce-cart .cart_totals {
    background: #fff !important;
    border: 1px solid #e8e0d8 !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

/* 「合計」行 強調 (standard WC block class) */
.woocommerce-cart .wc-block-components-totals-item.wc-block-components-totals-grand-total .wc-block-components-totals-item__label,
.woocommerce-cart .wc-block-components-totals-grand-total .wc-block-components-totals-item__label {
    font-size: 1rem !important;
    font-weight: bold !important;
    color: #333 !important;
}
.woocommerce-cart .wc-block-components-totals-item.wc-block-components-totals-grand-total .wc-block-components-totals-item__value,
.woocommerce-cart .wc-block-components-totals-grand-total .wc-block-components-totals-item__value {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: #c29272 !important;
}

/* checkout ボタン (standard WC block class + 既存 .checkout-button) */
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .checkout-button {
    width: 100% !important;
    display: block !important;
    height: 48px !important;
    line-height: 48px !important;
    text-align: center !important;
    background-color: #c29272 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    cursor: pointer;
    transition: background-color 0.2s;
}
.woocommerce-cart .wc-block-cart__submit-button:hover,
.woocommerce-cart .checkout-button:hover {
    background-color: #a9764f !important;
    border-color: #a9764f !important;
    opacity: 1 !important;
}

/* クラシックカート保険 (standard WC classic class - 現状未使用) */
.woocommerce-cart table.shop_table {
    border: 1px solid #eee !important;
    border-collapse: collapse !important;
    width: 100%;
}
.woocommerce-cart table.shop_table th {
    background: #faf6f1 !important;
    color: #555;
    padding: 10px 12px !important;
    border-bottom: 1px solid #ddd !important;
}
.woocommerce-cart table.shop_table td {
    padding: 10px 12px !important;
    border-bottom: 1px solid #eee !important;
}
/* クラシックカート 商品画像 */
.woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}
/* クラシックカート 数量 */
.woocommerce-cart table.shop_table td.product-quantity input {
    height: 40px !important;
    width: 60px !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
}
/* クラシックカート 削除 */
.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
    color: #c29272 !important;
}

/* ============================================================
 * [5] 結checkout ページ（classic checkout, standard WC class）
 * body.woocommerce-checkout
 * ============================================================ */

/* ---- woocommerce-info 情報バー (standard WC class) ---- */
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-cart .woocommerce-info {
    border-top-color: #c29272 !important;
    background-color: #faf6f1 !important;
    color: #555 !important;
    padding-left: 2.5em !important;
}
body.woocommerce-checkout .woocommerce-info::before,
body.woocommerce-cart .woocommerce-info::before {
    color: #c29272 !important;
}

/* ---- billing / shipping フィールドをカード包み (standard WC class) ---- */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields {
    background: #fff;
    border: 1px solid #e8e0d8;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

/* h3 タイトル 品牌色左竖条 (standard WC class) */
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
    border-left: 4px solid #c29272 !important;
    padding-left: 10px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    margin-bottom: 16px !important;
    color: #333 !important;
}

/* ---- 入力フィールド共通 (standard WC class) ---- */
body.woocommerce-checkout .woocommerce .form-row input.input-text,
body.woocommerce-checkout .woocommerce .form-row select,
body.woocommerce-checkout .woocommerce .form-row textarea {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    color: #333 !important;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
body.woocommerce-checkout .woocommerce .form-row input.input-text,
body.woocommerce-checkout .woocommerce .form-row select {
    height: 42px !important;
}
body.woocommerce-checkout .woocommerce .form-row textarea {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
body.woocommerce-checkout .woocommerce .form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce .form-row select:focus,
body.woocommerce-checkout .woocommerce .form-row textarea:focus {
    border-color: #c29272 !important;
    box-shadow: 0 0 0 3px rgba(194,146,114,0.18) !important;
    outline: none !important;
}

/* ---- label / 必填星 (standard WC class) ---- */
body.woocommerce-checkout .woocommerce .form-row label {
    font-size: 13px !important;
    color: #666 !important;
    margin-bottom: 4px;
    display: block;
}
body.woocommerce-checkout .woocommerce .form-row label .required,
body.woocommerce-checkout .woocommerce .form-row label abbr.required {
    color: #c29272 !important;
}

/* ---- 注文審査 #order_review (standard WC class) ---- */
body.woocommerce-checkout #order_review_heading {
    border-left: 4px solid #c29272 !important;
    padding-left: 10px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    margin-bottom: 16px !important;
    color: #333 !important;
}
body.woocommerce-checkout #order_review {
    background: #fff;
    border: 1px solid #e8e0d8;
    border-radius: 8px;
    padding: 20px 24px;
}
body.woocommerce-checkout #order_review table.shop_table thead th {
    background: #faf6f1 !important;
    color: #555 !important;
    padding: 10px 12px !important;
}

/* ---- 購入ボタン #place_order (standard WC class) ---- */
body.woocommerce-checkout #place_order {
    width: 100% !important;
    display: block !important;
    height: 48px !important;
    background-color: #c29272 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    cursor: pointer;
    transition: background-color 0.2s;
}
body.woocommerce-checkout #place_order:hover {
    background-color: #a9764f !important;
}

/* ============================================================
 * [6] 一覧ページ  ul.products.woo_list  (items.html 準拠)
 * ============================================================ */

/* グリッド化（::before/::after の clearfix がグリッドセルを食うので除去） */
ul.products.woo_list::before,
ul.products.woo_list::after {
    content: none !important;
    display: none !important;
}
ul.products.woo_list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
}
@media (max-width: 1024px) {
    ul.products.woo_list {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    ul.products.woo_list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* カード */
ul.products.woo_list li.product {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    transition: box-shadow 0.2s;
}
ul.products.woo_list li.product:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.10) !important;
}

/* 商品画像 */
ul.products.woo_list .img_box img {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
    display: block;
}

/* 商品タイトル 2行クランプ */
ul.products.woo_list .woo_list_title {
    font-size: 0.9rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 8px 0 4px !important;
    line-height: 1.4;
}

/* 価格 */
ul.products.woo_list .list_price {
    color: #c29272 !important;
    font-weight: bold;
    font-size: 0.95rem;
}
ul.products.woo_list .list_price .woocommerce-Price-amount {
    color: #c29272 !important;
}

/* ホバーボックスのボタン・リンク */
ul.products.woo_list a.button.woo_btn,
ul.products.woo_list .info_box a.button {
    background-color: #c29272 !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 6px 0;
    font-size: 0.85rem;
}
ul.products.woo_list a.button.woo_btn:hover,
ul.products.woo_list .info_box a.button:hover {
    background-color: #a9764f !important;
}


/* === fix_nav 正規化: 畳み時はアイコンタイルのみ、ホバーで店舗カード展開 === */
.fix_nav.pc .fix_box {
    width: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.fix_nav.pc .fix_box .ic_box {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #c29272 !important;
    color: #fff !important;
    border-radius: 8px 0 0 8px !important;
    margin: 0 0 8px auto !important;
    cursor: pointer;
}
.fix_nav.pc .fix_box ul.os_list {
    display: none !important;
}
.fix_nav.pc .fix_box:hover ul.os_list {
    display: block !important;
    background: #fff !important;
    border: 1px solid #e8dfd2 !important;
    border-radius: 8px 0 0 8px !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12) !important;
    min-width: 200px !important;
    padding: 6px 0 !important;
}

/* === タブが浮動ギャラリーに重ならないように === */
body.single-product .woocommerce-tabs {
    clear: both !important;
    padding-top: 16px !important;
}


/* === fix_nav 上書き最終: shop_cont 指定の旧白カードを畳み状態では無効化 === */
.fix_nav.pc .fix_box.shop_cont,
.fix_nav.pc .fix_box {
    width: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.fix_nav.pc .fix_box.shop_cont .ic_box,
.fix_nav.pc .fix_box .ic_box {
    margin: 0 0 8px auto !important;
}


/* === アーカイブ（/items/・カテゴリ頁）2カラム正規化: サイドバー左 + 商品右 === */
body.post-type-archive-product #woo_area.inner,
body.tax-product_cat #woo_area.inner {
    display: flex !important;
    align-items: flex-start !important;
    gap: 28px !important;
    max-width: 1200px !important;
    width: 96% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.post-type-archive-product #woo_area.inner main#main,
body.tax-product_cat #woo_area.inner main#main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    order: 2 !important;
    float: none !important;
    width: auto !important;
}
body.post-type-archive-product #woo_area.inner aside#side_bar,
body.tax-product_cat #woo_area.inner aside#side_bar {
    flex: 0 0 230px !important;
    order: 1 !important;
    float: none !important;
    width: 230px !important;
    margin-top: 0 !important;
}

/* === 固定ヘッダーが下の内容に透けない === */
header#upper {
    z-index: 9990 !important;
    background-color: #fff !important;
}

/* === ヘッダー常設カートリンク === */
#wwl-nav-cart a {
    background: #c29272 !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    margin-left: 6px;
}
#wwl-nav-cart a:hover { background: #a9764f !important; }

/* === 営業日カレンダー（biz-calendar）をブランド配色に === */
#biz_calendar td.holiday,
.bc td.holiday,
td.holiday {
    background-color: #c29272 !important;
    color: #fff !important;
}
/* 凡例の色見本も */
#biz_calendar p span.boxholiday {
    background-color: #c29272 !important;
}
