/**
 * WooCommerce / Shop Page Styles
 * 商品ページ（ショップページ・商品詳細ページ）のスタイル
 * 
 * @package yokota-theme
 * @since 1.0.0
 */

/* ============================================
   共通設定
   ============================================ */

:root {
    --shop-primary-color: #2c5f8d;
    --shop-secondary-color: #e67e50;
    --shop-text-color: #333;
    --shop-light-gray: #f5f5f5;
    --shop-border-color: #e0e0e0;
    --shop-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shop-hover-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================
   ショップページ（商品一覧）
   ============================================ */

.shop-page {
    background-color: #fff;
}

.shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* カテゴリー説明 */
.category-description {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--shop-light-gray);
    border-radius: 8px;
}

.category-intro {
    color: var(--shop-text-color);
    line-height: 1.8;
}

.category-intro p {
    margin-bottom: 1em;
}

/* レイアウト：サイドバー + メインコンテンツ */
.shop-content-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

/* サイドバー */
.shop-sidebar {
    flex: 0 0 280px;
    width: 280px;
}

.shop-sidebar .widget {
    background-color: #fff;
    border: 1px solid var(--shop-border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.shop-sidebar .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--shop-primary-color);
    color: var(--shop-text-color);
}

.shop-sidebar .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .product-categories li {
    margin-bottom: 8px;
}

.shop-sidebar .product-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    color: var(--shop-text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.shop-sidebar .product-categories a:hover {
    background-color: var(--shop-light-gray);
    color: var(--shop-primary-color);
}

.shop-sidebar .product-categories .current-cat > a {
    background-color: var(--shop-primary-color);
    color: #fff;
    font-weight: 600;
}

.shop-sidebar .product-categories .count {
    font-size: 14px;
    color: #999;
}

/* メインコンテンツエリア */
.shop-main-content {
    flex: 1;
    min-width: 0;
}

/* ショップヘッダー（並び替えなど） */
.woocommerce-result-count,
.woocommerce-ordering {
    margin-bottom: 20px;
}

.woocommerce-result-count {
    color: #666;
    font-size: 14px;
}

.woocommerce-ordering select {
    padding: 10px 15px;
    border: 1px solid var(--shop-border-color);
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
}

/* 商品グリッド */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* 商品カード */
.product-card {
    background-color: #fff;
    border: 1px solid var(--shop-border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shop-hover-shadow);
    transform: translateY(-4px);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 商品画像 */
.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--shop-light-gray);
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* バッジ */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    color: #fff;
    z-index: 1;
}

.sale-badge {
    background-color: #e74c3c;
}

.out-of-stock-badge {
    background-color: #95a5a6;
}

/* 商品情報 */
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 12px;
    color: var(--shop-primary-color);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category a {
    color: inherit;
    text-decoration: none;
}

.product-category a:hover {
    text-decoration: underline;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-title a {
    color: var(--shop-text-color);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--shop-primary-color);
}

.product-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* 価格 */
.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--shop-text-color);
    margin-bottom: 16px;
}

.product-price .price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price del {
    font-size: 16px;
    color: #999;
    font-weight: 400;
}

.product-price ins {
    text-decoration: none;
    color: var(--shop-secondary-color);
}

.price-note {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* ボタン */
.product-actions {
    margin-top: auto;
}

.product-actions .button,
.product-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--shop-primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-actions .button:hover,
.product-link-button:hover {
    background-color: #1e4363;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 商品が見つからない場合 */
.no-products-found {
    padding: 80px 20px;
    text-align: center;
}

.no-products-message {
    max-width: 600px;
    margin: 0 auto;
}

.no-products-message h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--shop-text-color);
}

.no-products-message p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.no-products-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

/* CTAセクション */
.shop-cta-section {
    background: linear-gradient(135deg, var(--shop-primary-color) 0%, #1e4363 100%);
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ページネーション */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination li {
    display: inline-block;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--shop-border-color);
    border-radius: 4px;
    color: var(--shop-text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce-pagination a:hover {
    background-color: var(--shop-primary-color);
    border-color: var(--shop-primary-color);
    color: #fff;
}

.woocommerce-pagination .current {
    background-color: var(--shop-primary-color);
    border-color: var(--shop-primary-color);
    color: #fff;
}

/* ============================================
   商品詳細ページ
   ============================================ */

.single-product-page {
    background-color: #fff;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 商品詳細レイアウト */
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* 商品画像ギャラリー */
.product-gallery-column {
    align-self: start;
}

/* PC画面のみstickyを適用（モバイルでのスクロール問題を回避） */
@media (min-width: 769px) {
    .product-gallery-column {
        position: sticky;
        top: 100px;
    }
}

.woocommerce-product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* メイン画像 */
.woocommerce-product-gallery__wrapper {
    position: relative;
    order: 1;
}

.woocommerce-product-gallery__image {
    margin-bottom: 0;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.woocommerce-product-gallery__trigger:hover {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* サムネイル画像（横並び） */
.flex-control-thumbs,
.woocommerce-product-gallery__thumbs {
    display: flex !important;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    order: 2;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f0f0f0;
}

.flex-control-thumbs::-webkit-scrollbar,
.woocommerce-product-gallery__thumbs::-webkit-scrollbar {
    height: 8px;
}

.flex-control-thumbs::-webkit-scrollbar-track,
.woocommerce-product-gallery__thumbs::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.flex-control-thumbs::-webkit-scrollbar-thumb,
.woocommerce-product-gallery__thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.flex-control-thumbs::-webkit-scrollbar-thumb:hover,
.woocommerce-product-gallery__thumbs::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.flex-control-thumbs li,
.woocommerce-product-gallery__thumbs li {
    flex: 0 0 auto;
    width: 90px;
    height: 90px;
    margin: 0 !important;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.flex-control-thumbs li:hover,
.woocommerce-product-gallery__thumbs li:hover {
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 1px rgba(46, 133, 64, 0.3);
}

.flex-control-thumbs li.flex-active,
.woocommerce-product-gallery__thumbs li.selected {
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 2px rgba(46, 133, 64, 0.2);
}

.flex-control-thumbs li.flex-active:hover,
.woocommerce-product-gallery__thumbs li.selected:hover {
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 2px rgba(46, 133, 64, 0.2);
}

.flex-control-thumbs li img,
.woocommerce-product-gallery__thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .flex-control-thumbs li,
    .woocommerce-product-gallery__thumbs li {
        width: 70px;
        height: 70px;
    }
    
    /* スマホでサムネイルを非表示（6枚以上で表示崩れを防止） */
    .flex-control-thumbs,
    .woocommerce-product-gallery__thumbs {
        display: none !important;
    }
}

/* ドットナビゲーション（モバイル用） */
.product-gallery-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .product-gallery-dots {
        display: flex;
    }
}

.product-gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d0d0d0;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-gallery-dot:hover {
    background-color: #999;
}

.product-gallery-dot.active {
    background-color: var(--color-primary-green);
    width: 12px;
    height: 12px;
}

/* 商品情報カラム */
.product-summary-column {
    /* スタイルは summary クラスで定義 */
}

.summary {
    /* 商品情報エリア */
}

.product_title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--shop-text-color);
    line-height: 1.3;
}

.woocommerce-product-rating {
    margin-bottom: 16px;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: var(--shop-text-color);
    margin-bottom: 24px;
    display: block;
    font-family: "helvetica-neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.price del {
    font-size: 24px;
    color: #999;
    margin-right: 12px;
    font-family: "helvetica-neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.price ins {
    text-decoration: none;
    color: var(--shop-secondary-color);
    font-family: "helvetica-neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--shop-light-gray);
    border-radius: 8px;
}

/* カートボタン - 非表示 */
.cart {
    display: none !important;
}

.quantity {
    display: none !important;
}

.quantity input[type="number"] {
    width: 80px;
    padding: 12px 16px;
    border: 1px solid var(--shop-border-color);
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
}

.single_add_to_cart_button {
    display: none !important;
}

/* バリエーションフォーム（サイズボタン等）を非表示 */
.variations_form {
    display: none !important;
}

/* 商品メタ情報（SKU、カテゴリー）- 非表示 */
.product_meta {
    display: none !important;
}

/* お問い合わせボタン */
.product-contact-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.btn-quote,
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-quote {
    background-color: var(--shop-secondary-color);
    color: #fff;
    border: 2px solid var(--shop-secondary-color);
}

.btn-quote:hover {
    background-color: #d46e40;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-phone {
    background-color: #fff;
    color: var(--shop-primary-color);
    border: 2px solid var(--shop-primary-color);
}

.btn-phone:hover {
    background-color: var(--shop-primary-color);
    color: #fff;
}

/* 商品タブ */
.product-tabs-section {
    margin-bottom: 60px;
}

.woocommerce-tabs {
    border-top: 1px solid var(--shop-border-color);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid var(--shop-border-color);
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 16px 24px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.woocommerce-tabs ul.tabs li a:hover {
    color: var(--shop-primary-color);
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--shop-primary-color);
    border-bottom-color: var(--shop-primary-color);
}

.woocommerce-tabs .panel {
    padding: 30px 0;
}

.woocommerce-tabs .panel h2 {
    display: none;
}

/* 関連商品 */
.related-products-section {
    margin-top: 80px;
}

.related-products-section .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* 関連商品のタイトル - 控えめなサイズ */
.related.products > h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: left;
}

/* 関連商品 - 6列グリッドレイアウト */
.related.products ul.products {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 関連商品の各商品カード - サイズを小さく */
.related.products ul.products li.product {
    text-align: center;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    line-height: 1.4;
    margin: 8px 0 4px;
}

.related.products ul.products li.product .price {
    font-size: 14px;
    margin: 4px 0;
}

.related.products ul.products li.product img {
    width: 100%;
    height: auto;
}

/* 関連商品のカートに追加ボタンを非表示 */
.related.products .add_to_cart_button,
.related.products .button.product_type_simple,
.related.products .button.product_type_variable,
.related.products .added_to_cart {
    display: none !important;
}

/* ============================================
   レスポンシブ対応
   ============================================ */

@media (max-width: 1024px) {
    .shop-content-wrapper {
        flex-direction: column;
    }

    .shop-sidebar {
        flex: 1;
        width: 100%;
        order: 2;
    }

    .shop-main-content {
        order: 1;
    }

    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery-column {
        position: static;
    }

    /* 関連商品 - タブレットで4列 */
    .related.products ul.products {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .shop-container,
    .product-container {
        padding: 40px 20px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .product_title {
        font-size: 24px;
    }

    .price {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .product-contact-buttons {
        flex-direction: column;
    }

    /* 関連商品 - スマホで2列 */
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .shop-sidebar .widget {
        padding: 16px;
    }

    .product-info {
        padding: 16px;
    }

    /* 関連商品 - 最小スマホでは1列のまま */
    .related.products ul.products {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   カスタムバリエーション表示
   ============================================ */

.custom-variations-section {
    margin: 60px 0;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.yokota-variations-wrapper {
    width: 100%;
}

/* 表示コントロール */
.variation-display-controls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px;
    background-color: var(--color-bg-light);
    border-radius: 8px;
}

.column-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.column-toggle-label {
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.variation-sort-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variation-sort-select:focus {
    outline: none;
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 3px rgba(46, 133, 64, 0.1);
}

/* テーブル表示（PC） */
.variations-table-wrapper {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.variations-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.variations-table thead {
    background: #4a4a4a;
    color: #fff;
}

.variations-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600 !important;
    font-size: 14px !important;
    white-space: nowrap;
    color: #fff !important;
}

/* ヘッダー行のすべての列を統一 */
.variations-table thead th.col-model,
.variations-table thead th.col-price,
.variations-table thead th {
    font-weight: 600 !important;
    font-size: 14px !important;
}

.variations-table tbody tr {
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color 0.2s ease;
}

.variations-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.variations-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.variations-table tbody tr:hover {
    background-color: rgba(46, 133, 64, 0.03) !important;
}

.variations-table tbody tr:last-child {
    border-bottom: none;
}

.variations-table td {
    padding: 16px 12px;
    font-size: 14px;
    color: var(--color-text-primary);
}

.variations-table .col-model {
    font-weight: 400;
    color: #000;
}

.variations-table .col-price {
    font-weight: 600;
    color: #cc0c39;
    font-size: 16px;
    font-family: "helvetica-neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.variations-table .col-quantity input {
    width: 80px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.variations-table .col-quantity input:focus {
    outline: none;
    border-color: var(--color-primary-green);
    box-shadow: 0 0 0 3px rgba(46, 133, 64, 0.1);
}

.variations-table .out-of-stock {
    color: #dc3545;
    font-weight: 500;
}

/* カート追加ボタン（テーブル内） */
.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-add-to-cart:hover {
    background: linear-gradient(135deg, var(--color-primary-green-dark) 0%, var(--color-primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.3);
}

.btn-add-to-cart:active {
    transform: translateY(0);
}

.btn-add-to-cart.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-out-of-stock {
    padding: 10px 20px;
    background-color: #e9ecef;
    color: #6c757d;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
}

/* カード表示（モバイル） */
.variations-cards-wrapper {
    display: none;
    gap: 20px;
    margin-top: 20px;
}

.variation-card {
    background-color: #fff;
    border: 2px solid var(--color-border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.variation-card:hover {
    border-color: var(--color-primary-green);
    box-shadow: 0 4px 16px rgba(46, 133, 64, 0.15);
}

.variation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #4a4a4a;
    color: #fff;
}

.variation-model {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.variation-price {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    font-family: "helvetica-neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.variation-card-body {
    padding: 20px;
}

.variation-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: var(--color-bg-light);
    border-radius: 8px;
}

.spec-label {
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 14px;
}

.spec-value {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 14px;
    font-family: "helvetica-neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.variation-card-footer {
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--color-border-light);
}

/* 数量コントロール（モバイル） */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    background-color: var(--color-bg-light);
    border: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-green);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background-color: var(--color-primary-green);
    color: #fff;
}

.qty-btn:active {
    transform: scale(0.95);
}

.quantity-control input {
    width: 60px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.quantity-control input:focus {
    outline: none;
    background-color: rgba(46, 133, 64, 0.05);
}

.btn-add-to-cart-card {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--color-primary-green) 0%, var(--color-primary-green-light) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart-card:hover {
    background: linear-gradient(135deg, var(--color-primary-green-dark) 0%, var(--color-primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 133, 64, 0.3);
}

.out-of-stock-badge {
    flex: 1;
    padding: 12px 20px;
    background-color: #dc3545;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

/* カート追加成功メッセージ */
.variation-cart-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background-color: var(--color-primary-green);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
}

.variation-cart-message.error {
    background-color: #dc3545;
}

.variation-cart-message.success {
    background-color: var(--color-primary-green);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* レスポンシブ: タブレット */
@media (max-width: 1024px) {
    .variation-display-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .column-toggle-group {
        width: 100%;
    }
}

/* レスポンシブ: モバイル */
@media (max-width: 768px) {
    .custom-variations-section {
        padding: 24px 16px;
        margin: 40px -20px;
        border-radius: 0;
    }
    
    .custom-quote-button-wrapper {
        justify-content: stretch;
    }
    
    .btn-custom-quote {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .variation-display-controls {
        display: none;
    }
    
    /* テーブルを非表示、カードを表示 */
    .variations-table-wrapper {
        display: none;
    }
    
    .variations-cards-wrapper {
        display: flex;
        flex-direction: column;
    }
    
    .variation-cart-message {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 14px;
    }
}

/* レスポンシブ: 小さいモバイル */
@media (max-width: 480px) {
    .variation-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .variation-model {
        font-size: 18px;
    }
    
    .variation-price {
        font-size: 20px;
    }
    
    .spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ============================================
   カテゴリページ（中間ページ）
   ============================================ */

.category-page {
    background-color: #fff;
}

/* カテゴリヒーローセクション */
.category-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-dark);
    background-image: url('../images/page-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 50px;
}

.category-hero .hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(42, 62, 80, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.category-hero .hero-content {
    text-align: center;
    padding: 60px 20px;
}

.category-hero .hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    font-family: var(--font-family-poppins);
    letter-spacing: 2px;
}

.category-hero .subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-family-poppins);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* カテゴリ説明文（既存のスタイルを継承） */
.category-page .category-description {
    margin-bottom: 50px;
}

/* サブカテゴリセクション */
.subcategories-section {
    margin-bottom: 60px;
}

.subcategories-section .section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--shop-text-color);
    margin-bottom: 30px;
    text-align: center;
}

/* サブカテゴリグリッド */
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* サブカテゴリカード */
.subcategory-card {
    background-color: #fff;
    border: 1px solid var(--shop-border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shop-card-shadow);
}

.subcategory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shop-hover-shadow);
}

.subcategory-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.subcategory-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--shop-light-gray);
}

.subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subcategory-card:hover .subcategory-image img {
    transform: scale(1.1);
}

/* 商品数バッジ */
.product-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(44, 95, 141, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.subcategory-content {
    padding: 20px;
}

.subcategory-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--shop-text-color);
    margin-bottom: 8px;
}

.subcategory-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* すべての商品を見るセクション */
.view-all-products-section {
    margin-bottom: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    text-align: center;
}

.view-all-content {
    max-width: 600px;
    margin: 0 auto;
}

.view-all-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--shop-text-color);
    margin-bottom: 16px;
}

.view-all-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* CTAセクション */
.category-cta-section {
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--shop-primary-color) 0%, #1e4a6b 100%);
    border-radius: 12px;
    text-align: center;
    color: #fff;
}

.category-cta-section .cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.category-cta-section .cta-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.95;
}

.category-cta-section .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.category-cta-section .btn {
    min-width: 200px;
}

/* レスポンシブ: タブレット */
@media (max-width: 1024px) {
    .subcategory-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

/* レスポンシブ: タブレット小 */
@media (max-width: 768px) {
    .category-hero {
        min-height: 250px;
    }
    
    .category-hero .hero-background {
        min-height: 250px;
    }
    
    .category-hero .hero-content {
        padding: 40px 20px;
    }
    
    .category-hero .hero-title {
        font-size: 36px;
    }
    
    .category-hero .subtitle {
        font-size: 16px;
    }
    
    .category-container {
        padding: 40px 20px;
    }
    
    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .subcategory-image {
        height: 150px;
    }
    
    .subcategory-content {
        padding: 16px;
    }
    
    .subcategory-title {
        font-size: 16px;
    }
    
    .subcategory-description {
        font-size: 13px;
    }
    
    .view-all-products-section {
        padding: 30px 20px;
    }
    
    .view-all-title {
        font-size: 22px;
    }
    
    .category-cta-section {
        padding: 40px 24px;
    }
    
    .category-cta-section .cta-title {
        font-size: 24px;
    }
    
    .category-cta-section .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-cta-section .btn {
        width: 100%;
    }
}

/* レスポンシブ: モバイル */
@media (max-width: 480px) {
    .category-hero {
        min-height: 200px;
    }
    
    .category-hero .hero-background {
        min-height: 200px;
    }
    
    .category-hero .hero-content {
        padding: 30px 16px;
    }
    
    .category-hero .hero-title {
        font-size: 28px;
    }
    
    .category-hero .subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .subcategory-grid {
        grid-template-columns: 1fr;
    }
    
    .subcategory-image {
        height: 180px;
    }
    
    .subcategories-section .section-title {
        font-size: 24px;
    }
    
    .view-all-title {
        font-size: 20px;
    }
    
    .view-all-description {
        font-size: 14px;
    }
    
    .category-cta-section .cta-title {
        font-size: 20px;
    }
    
    .category-cta-section .cta-description {
        font-size: 14px;
    }
}

/* ============================================
   厨房機器カテゴリページ専用スタイル
   ============================================ */

.kitchen-category-page {
    background-color: #fff;
}

/* システムキッチン YKSシリーズセクション */
.yks-kitchen-section {
    margin-bottom: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, #f0f8f4 0%, #e8f5ed 100%);
    border-radius: 16px;
}

.yks-header {
    text-align: center;
    margin-bottom: 40px;
}

.yks-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary-green);
    margin-bottom: 16px;
    font-family: var(--font-family-poppins);
    letter-spacing: 0.5px;
}

.yks-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--shop-text-color);
    max-width: 700px;
    margin: 0 auto;
}

.yks-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.yks-product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

.yks-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.yks-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.yks-product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #ffffff;
}

.yks-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.yks-product-card:hover .yks-product-image img {
    transform: scale(1.05);
}

.yks-product-info {
    padding: 0;
    text-align: center;
}

.yks-product-name {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 1rem 0.75rem 1rem;
    margin: 0;
    line-height: 1.4;
    color: var(--color-text-primary);
}

.yks-product-model {
    font-size: 14px;
    color: var(--color-primary-green);
    font-weight: 500;
    font-family: var(--font-family-poppins);
}

/* サブカテゴリセクション */
.category-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid #e0e0e0;
}

.category-section:last-of-type {
    border-bottom: none;
}

.category-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--shop-text-color);
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-primary-green);
    display: inline-block;
}

/* シリーズコンテナ（2列レイアウト） */
.series-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.series-column {
    background-color: #fff;
    border: 1px solid var(--shop-border-color);
    border-radius: 8px;
    padding: 24px;
}

.series-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary-green);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--shop-border-color);
}

/* コンパクト商品グリッド（4列） */
.products-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card-compact {
    background-color: #fff;
    border: 1px solid var(--shop-border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-green);
}

.product-link-compact {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image-compact {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.product-image-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-compact:hover .product-image-compact img {
    transform: scale(1.05);
}

.product-model-compact {
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--shop-text-color);
    font-family: var(--font-family-poppins);
    line-height: 1.3;
}

/* シリーズ説明セクション */
.series-explanation {
    margin: 60px 0 50px;
    padding: 0;
}

.series-explanation-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-family: var(--font-family-poppins);
}

.series-explanation-intro {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* シリーズ比較 */
.series-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.series-comparison-item {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.series-comparison-item:hover {
    border-color: var(--color-green);
    box-shadow: 0 8px 24px rgba(46, 133, 64, 0.15);
    transform: translateY(-4px);
}

.series-comparison-item.angle-leg:hover {
    background: linear-gradient(135deg, rgba(46, 133, 64, 0.02) 0%, rgba(46, 133, 64, 0.05) 100%);
}

.series-comparison-item.pipe-leg:hover {
    background: linear-gradient(135deg, rgba(41, 182, 246, 0.02) 0%, rgba(41, 182, 246, 0.05) 100%);
}

.series-image {
    margin-bottom: 24px;
}

.series-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    color: var(--color-green);
}

.pipe-leg .series-icon {
    color: #29b6f6;
}

.series-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-family: var(--font-family-poppins);
}

.series-feature {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.series-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.series-benefits li {
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    position: relative;
    padding-left: 28px;
}

.series-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--color-green);
    font-size: 18px;
    font-weight: 700;
}

.pipe-leg .series-benefits li:before {
    color: #29b6f6;
}

.series-benefits li strong {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

/* バックガード分類セクション */
.backguard-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.backguard-group {
    background: #fafafa;
    border-radius: 8px;
    padding: 24px;
}

.backguard-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-green);
    font-family: var(--font-family-poppins);
}

/* 商品グリッド 4列表示 */
.products-grid-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* レスポンシブ: 大きいタブレット */
@media (max-width: 1200px) {
    .yks-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .products-grid-compact {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .series-comparison {
        gap: 30px;
    }
}

/* レスポンシブ: タブレット */
@media (max-width: 1024px) {
    .yks-kitchen-section {
        padding: 40px 30px;
    }
    
    .yks-title {
        font-size: 28px;
    }
    
    .yks-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .series-container {
        gap: 30px;
    }
    
    .products-grid-compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .series-explanation {
        margin: 50px 0 40px;
    }
    
    .series-explanation-title {
        font-size: 28px;
    }
    
    .series-comparison {
        gap: 30px;
    }
    
    .series-comparison-item {
        padding: 30px 24px;
    }
    
    .series-name {
        font-size: 22px;
    }
}

/* レスポンシブ: タブレット小 */
@media (max-width: 768px) {
    .yks-kitchen-section {
        padding: 30px 20px;
    }
    
    .yks-title {
        font-size: 24px;
    }
    
    .yks-description {
        font-size: 14px;
    }
    
    .yks-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .yks-product-image {
        height: 150px;
    }
    
    .yks-product-name {
        font-size: 16px;
    }
    
    .category-section-title {
        font-size: 24px;
    }
    
    .series-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .products-grid-compact {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-image-compact {
        height: 100px;
    }
    
    .series-explanation {
        margin: 40px 0 30px;
    }
    
    .series-explanation-title {
        font-size: 24px;
    }
    
    .series-explanation-intro {
        font-size: 15px;
    }
    
    .series-comparison {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .series-comparison-item {
        padding: 30px 20px;
    }
    
    .series-icon {
        width: 60px;
        height: 60px;
    }
    
    .series-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .series-name {
        font-size: 20px;
    }
    
    .series-benefits li {
        font-size: 13px;
    }
    
    .backguard-group {
        padding: 20px;
    }
    
    .backguard-label {
        font-size: 15px;
    }
}

/* レスポンシブ: モバイル */
@media (max-width: 480px) {
    .yks-kitchen-section {
        padding: 24px 16px;
        margin-bottom: 40px;
    }
    
    .yks-title {
        font-size: 20px;
    }
    
    .yks-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .yks-product-image {
        height: 120px;
    }
    
    .yks-product-info {
        padding: 12px;
    }
    
    .yks-product-name {
        font-size: 14px;
    }
    
    .yks-product-model {
        font-size: 12px;
    }
    
    .category-section {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .category-section-title {
        font-size: 20px;
    }
    
    .series-column {
        padding: 16px;
    }
    
    .series-title {
        font-size: 18px;
    }
    
    .products-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image-compact {
        height: 90px;
    }
    
    .product-model-compact {
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .series-explanation {
        margin: 30px 0 24px;
    }
    
    .series-explanation-title {
        font-size: 20px;
    }
    
    .series-explanation-intro {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .series-comparison {
        gap: 20px;
    }
    
    .series-comparison-item {
        padding: 24px 16px;
    }
    
    .series-icon {
        width: 50px;
        height: 50px;
    }
    
    .series-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .series-name {
        font-size: 18px;
    }
    
    .series-feature {
        font-size: 14px;
    }
    
    .series-benefits li {
        font-size: 12px;
        padding: 10px 0;
        padding-left: 24px;
    }
    
    .series-benefits li:before {
        font-size: 16px;
        top: 10px;
    }
    
    .backguard-group {
        padding: 16px;
    }
    
    .backguard-label {
        font-size: 14px;
        margin-bottom: 12px;
    }
}




.dog-grooming-category-page {
    background-color: #ffffff;
}

.dog-grooming-hero .hero-background {
    background-image: url('../images/background07.avif') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}

.dog-grooming-hero .hero-title {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-family-en);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.dog-grooming-hero .subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hub-nav {
    position: sticky;
    top: 88px;
    z-index: 70;
    border-radius: 18px;
    background: #ffffff;
    padding: 0.85rem 1.75rem;
    box-shadow: 0 12px 32px rgba(26, 44, 63, 0.12);
    margin: 2.5rem 0 3rem;
}

.dog-hub-nav {
    border: 1px solid rgba(46, 133, 64, 0.15);
}

.hub-nav-list {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hub-nav-list a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: var(--color-dark-gray);
    transition: all 0.3s ease;
}

.hub-nav-list a:hover,
.hub-nav-list a.active {
    background: var(--color-primary-green);
    color: #ffffff;
}

/* Button with icon (for product detail links) */
.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-with-icon:hover .btn-icon-circle {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

.btn-icon-circle svg {
    width: 16px;
    height: 16px;
}

/* Rounded button variant */
.btn-rounded-50 {
    border-radius: 50px !important;
}

.dog-strengths {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(46, 133, 64, 0.08) 0%, rgba(46, 133, 64, 0.02) 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
}

.dog-strengths .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 1rem;
}

.dog-strengths .section-intro {
    max-width: 960px;
    margin: 0 auto 2.5rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
}

.dog-strengths-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dog-strengths-list li {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--color-dark-gray);
    box-shadow: 0 14px 36px rgba(26, 44, 63, 0.08);
    border: 1px solid rgba(46, 133, 64, 0.12);
}

.dogbath-section,
.dog-kennel-section {
    margin-bottom: 3.5rem;
}

.dog-options,
.dog-contact {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 60px rgba(26, 44, 63, 0.08);
    border: 1px solid rgba(26, 44, 63, 0.05);
}

.dogbath-header,
.dog-kennel-header {
    margin-bottom: 1.5rem;
}

.dogbath-section .section-title,
.dog-kennel-section .section-title,
.dog-options .section-title,
.dog-contact .section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 0.75rem;
}

.dogbath-section .section-subtitle,
.dog-kennel-section .section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.dog-product-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(26, 44, 63, 0.08);
    border: 1px solid rgba(26, 44, 63, 0.05);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.dog-product-card--clickable {
    cursor: pointer;
}

.dog-product-card--clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 72px rgba(26, 44, 63, 0.12);
    border-color: var(--color-primary-green);
}

.dog-product-card--clickable .btn {
    pointer-events: none;
}

.dog-product-card__media {
    display: block;
    overflow: hidden;
    border-radius: 16px;
}

.dog-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dog-product-card__media:hover img {
    transform: scale(1.03);
}

.dog-product-card__media--static:hover img {
    transform: none;
}

.dog-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.dog-product-card__body .btn {
    margin-top: 0.5rem;
    display: inline-flex !important;
    width: fit-content;
    visibility: visible !important;
}

.dog-product-card__description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
}

.dog-product-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.dog-product-card__features li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.dog-product-card__features li::before {
    content: '';
    position: absolute;
    top: 0.55rem;
    left: 0.4rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-primary-green);
}

.dog-product-card__link a {
    font-weight: 700;
    color: var(--color-primary-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dog-product-card__link a::after {
    content: '›';
    display: inline-block;
    font-size: 1.1rem;
}

.dog-product-card__link a:hover {
    text-decoration: underline;
}

.contact-actions,
.microbubble-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.option-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(26, 44, 63, 0.08);
    padding: 1.5rem;
    box-shadow: 0 18px 40px rgba(26, 44, 63, 0.08);
}

.option-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark-gray);
}

.option-card p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.microbubble-upgrade {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.microbubble-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark-gray);
}

.microbubble-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.microbubble-visual {
    margin: 0;
}

.microbubble-visual img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(26, 44, 63, 0.15);
}

.dog-contact .contact-intro {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.dog-contact .contact-items {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.dog-contact .contact-items li {
    background: rgba(46, 133, 64, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--color-dark-gray);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .hub-nav {
        top: 72px;
        border-radius: 16px;
    }

    .dog-product-card {
        grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
        padding: 2rem;
    }

    .dog-options,
    .dog-contact {
        padding: 2.5rem;
    }

    .microbubble-upgrade {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dog-grooming-hero .hero-background {
        min-height: 400px;
        padding: 3rem 1.25rem;
    }

    .dog-grooming-hero .hero-title {
        font-size: 2.5rem;
    }

    .dog-grooming-hero .subtitle {
        font-size: 1.1rem;
    }

    .hub-nav {
        position: relative;
        top: unset;
        margin: 1.5rem 0 2rem;
        padding: 0.75rem 1rem;
    }

    .dog-product-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }

    .dog-options,
    .dog-contact {
        padding: 2rem 1.5rem;
    }

    .dog-strengths {
        padding: 3rem 1.5rem;
    }

    .dog-strengths-list {
        grid-template-columns: 1fr;
    }

    .dog-contact .contact-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dog-grooming-hero .hero-background {
        min-height: 350px;
    }

    .dog-grooming-hero .hero-title {
        font-size: 2rem;
    }

    .dog-grooming-hero .subtitle {
        font-size: 1rem;
    }

    .dog-product-card {
        padding: 1.5rem;
    }

    .dog-options,
    .dog-contact {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .contact-actions,
    .microbubble-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================
   チェックアウト注意メッセージ
   ============================================ */

.yokota-checkout-notice {
    display: flex;
    gap: 20px;
    padding: 24px;
    margin: 24px 0;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #ff9800;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-notice-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #f57c00;
}

.checkout-notice-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.checkout-notice-content {
    flex: 1;
}

.checkout-notice-title {
    font-size: 18px;
    font-weight: 700;
    color: #e65100;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffb74d;
}

.checkout-notice-text {
    color: #5d4037;
    line-height: 1.8;
}

.checkout-notice-text p {
    margin: 0 0 16px 0;
}

.checkout-notice-text p:last-child {
    margin-bottom: 0;
}

.checkout-notice-text strong {
    color: #e65100;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .yokota-checkout-notice {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .checkout-notice-icon {
        width: 20px;
        height: 20px;
    }

    .checkout-notice-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .checkout-notice-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .yokota-checkout-notice {
        padding: 16px;
        margin: 16px 0;
    }

    .checkout-notice-title {
        font-size: 15px;
    }

    .checkout-notice-text {
        font-size: 13px;
        line-height: 1.7;
    }
}
