/*
Theme Name: CENTERFACE Theme
Theme URI: https://centerface-official.com/
Author: Antigravity
Description: A modern, streetwear-inspired theme for CENTERFACE (GOLF x STREET). Integrated with Stripe credit card checkout and Contact Form 7 bank transfer orders.
Version: 7.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: centerface-theme
*/

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    color: #252525;
    background-color: #ffffff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #252525;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Top Header (Logo Header) */
.site-logo-header {
    width: 100%;
    height: 160px;
    background-color: #ffffff;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    padding: 0 40px;
}

.header-logo-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.header-logo-container img {
    height: 100px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    margin-top: 40px;
}

/* Layout Wrapper */
.site-wrapper {
    display: flex;
    margin-top: 160px;
    min-height: calc(100vh - 160px);
}

/* Header (Left Sidebar) */
.site-header {
    width: 240px;
    background-color: #ffffff;
    border-right: 1px solid #f2f2f2;
    padding: 40px 30px;
    position: fixed;
    top: 160px;
    left: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #999999;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f9f9f9;
}

.sidebar-separator {
    height: 1px;
    background-color: #f2f2f2;
    margin: 20px 0;
}

/* Navigation (Categories) */
.main-navigation ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 14px;
}

.main-navigation li {
    font-size: 14px;
}

.main-navigation a {
    color: #252525;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
    padding: 2px 0;
}

.main-navigation a:hover {
    color: #666666;
}

/* Secondary Navigation (Information) */
.secondary-navigation ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 12px;
}

.secondary-navigation li {
    font-size: 11px;
}

.secondary-navigation a {
    color: #888888;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: block;
    padding: 2px 0;
}

.secondary-navigation a:hover {
    color: #252525;
}

/* SNS Links in Sidebar */
.site-sns-links {
    margin-top: auto;
    display: flex;
    gap: 16px;
    align-items: center;
}

.instagram-icon {
    color: #888888;
    transition: color 0.2s ease;
}

.instagram-icon:hover {
    color: #252525;
}

/* SNS Links in Footer */
.footer-sns-links {
    display: none;
}

/* Menu Toggle Button for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    color: #252525;
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    margin-left: 240px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 160px);
}

/* Main Content Area */
.site-main {
    flex: 1;
    padding: 60px 50px;
    background-color: #ffffff;
}

/* Footer */
.site-footer {
    border-top: 1px solid #f2f2f2;
    padding: 40px 0;
    margin-top: 80px;
    font-size: 11px;
    color: #999999;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #888888;
}

/* Archive / Front Page Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 40px 30px;
    margin: 20px 0 60px;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: transparent;
    margin-bottom: 0;
    aspect-ratio: 1 / 1;
    border-radius: 12px; /* カード角に少し丸みを持たせてストリート調に */
}

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Metalwood Studio Hover Overlay (Product name only) */
.product-overlay-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95); /* 高級感のある極薄白背景 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    z-index: 2;
}

.product-card:hover .product-overlay-info {
    opacity: 1;
    visibility: visible;
}

.product-overlay-title {
    font-family: 'Futura', 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #111827;
    margin: 0;
    transform: translateY(12px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-overlay-title {
    transform: translateY(0);
}

/* 常に表示される商品の価格 (画像の下) */
.product-price {
    font-family: 'Futura', 'Jost', sans-serif;
    font-size: 13.5px;
    color: #111827;
    font-weight: 700;
    text-align: center;
    margin-top: 12px;
    letter-spacing: 0.05em;
    display: block;
}

/* Single Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    margin: 20px 0 60px;
}

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

.main-image-viewport {
    background-color: transparent; /* 枠の背景を透明に変更 */
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
}

.main-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像を拡大して切り抜かず、アスペクト比を維持して全体を枠内に表示する */
    transition: opacity 0.2s ease-in-out;
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.thumb-item {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background-color: transparent; /* サムネイルの背景も透明に変更 */
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* サムネイル画像も全体が見えるように縮小表示する */
}

.thumb-item:hover {
    opacity: 0.8;
}

.thumb-item.active {
    border-color: #111827; /* アクティブなサムネイルを黒枠で囲む */
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-detail-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-detail-price {
    font-size: 16px;
    font-weight: 600;
    color: #252525;
    margin-bottom: 30px;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 15px;
}

.product-description {
    font-size: 13px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 40px;
}

/* Purchase Actions */
.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-payment-wrapper {
    width: 100%;
}

/* Buttons */
.btn-primary,
.simpay-checkout-btn {
    display: block;
    width: 100%;
    background-color: #111827;
    color: #ffffff;
    text-align: center;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 8px;
    letter-spacing: 0.05em;
}

.btn-primary:hover,
.simpay-checkout-btn:hover {
    background-color: #374151;
}

.btn-secondary {
    display: block;
    width: 100%;
    background-color: #ffffff;
    color: #111827;
    border: 1px solid #111827;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    letter-spacing: 0.05em;
}

.btn-secondary:hover {
    background-color: #f4f6f9;
}

/* Page styles */
.page-title {
    font-size: 24px;
    font-weight: 500;
    margin: 20px 0 30px;
    text-align: left;
}

.page-content {
    margin-bottom: 60px;
}

/* WordPress Default Alignments */
.aligncenter {
    display: block;
    margin: 20px auto;
}
.alignleft {
    float: left;
    margin: 20px 20px 20px 0;
}
.alignright {
    float: right;
    margin: 20px 0 20px 20px;
}

/* Payment Selector Styling */
.payment-selection {
    margin: 30px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #f2f2f2;
}

.payment-selection-title {
    font-size: 13px;
    font-weight: 600;
    color: #252525;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.payment-option {
    display: flex;
    align-items: center;
    position: relative;
    padding: 12px 16px;
    margin-bottom: 12px;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option:hover {
    background-color: #f5f5f5;
    border-color: #dcdcdc;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-option-mark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.2s ease;
}

.payment-option input[type="radio"]:checked ~ .payment-option-mark {
    border-color: #111827;
    background-color: #111827;
}

.payment-option-mark::after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.payment-option input[type="radio"]:checked ~ .payment-option-mark::after {
    display: block;
}

.payment-option-text {
    font-size: 13px;
    font-weight: 500;
    color: #444444;
}

.payment-option input[type="radio"]:checked ~ .payment-option-text {
    color: #252525;
    font-weight: 600;
}

/* Hide Unwanted Social Share Buttons (Facebook, Bluesky, Hatena, etc.) */
.wp-social-bookmarking-light,
.sharedaddy,
.addtoany_share_save_container,
.sns-share,
.social-sharing,
.entry-share,
.post-share,
.share-buttons,
.wsbl_twitter,
.wsbl_facebook,
.wsbl_hatena,
.wsbl_bluesky,
.veu_socialSet .sb_icon.sb_facebook,
.veu_socialSet .sb_icon.sb_bluesky,
.veu_socialSet .sb_icon.sb_hatena,
[class*="followme" i],
[class*="follow_me" i],
[class*="followMe" i],
[id*="followme" i],
[id*="follow_me" i],
[id*="followMe" i],
.vk_follow_me_box,
.veu_followMe,
.followMe,
.followMeBox,
.followMe_editLink,
.veu_followMe_edit {
    display: none !important;
}

/* Instagram Button (Single Product Page) */
.product-sns-follow {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e8e8e8;
    text-align: center;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    color: #252525;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-instagram:hover {
    background-color: #f7f7f7;
    border-color: #252525;
    color: #252525;
}

.btn-instagram svg {
    color: #252525;
}

/* WP Simple Pay Button Styling Overrides */
.simpay-form-container .simpay-btn,
.simpay-form-container button.simpay-btn,
.simpay-form-container input[type="submit"].simpay-btn,
button.simpay-checkout-btn,
.simpay-checkout-btn {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    background: #1a2a4a none !important;
    background-color: #1a2a4a !important;
    background-image: none !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    margin: 0 0 16px 0 !important;
}

/* 内側のspanタグの3Dスタイルを完全に消去 */
.simpay-form-container .simpay-btn span,
.simpay-checkout-btn span {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
}

.simpay-form-container .simpay-btn:hover,
button.simpay-checkout-btn:hover,
.simpay-checkout-btn:hover,
.simpay-form-container .simpay-btn:hover span,
button.simpay-checkout-btn:hover span,
.simpay-checkout-btn:hover span {
    background-color: #2c3e60 !important;
    background: #2c3e60 none !important;
}

/* Contact Form 7 Modern Styling */
.wpcf7-form {
    max-width: 100%;
}

.wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #252525;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-family: inherit;
    color: #252525;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
    -webkit-appearance: none;
}

.wpcf7-form input[readonly] {
    background-color: #f7f7f7;
    color: #666666;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: #111827;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 42, 74, 0.08);
}

.wpcf7-form textarea {
    height: 160px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    background-color: #111827;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s ease;
    -webkit-appearance: none;
    box-sizing: border-box;
    margin-top: 30px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #374151;
}

/* Header Cart Icon Styles */
.header-cart-container {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
    color: #252525;
    transition: opacity 0.2s ease;
}

.header-cart-link:hover {
    opacity: 0.7;
}

.cart-icon {
    color: #252525;
}

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #111827;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Product Detail Cart Options (Sizes & Quantity) */
.product-cart-options {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #777777;
    width: 80px;
}

.select-option,
.input-quantity {
    padding: 10px 12px;
    font-size: 13px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background-color: #ffffff;
    color: #252525;
    outline: none;
    font-family: inherit;
}

.select-option {
    width: 140px;
    cursor: pointer;
}

.input-quantity {
    width: 80px;
    -moz-appearance: textfield;
}

.input-quantity::-webkit-outer-spin-button,
.input-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Cart Page Styles */
.cart-page-content {
    margin: 40px 0 80px;
}

.cart-empty-message {
    text-align: center;
    padding: 80px 0;
}

.cart-empty-message p {
    font-size: 14px;
    color: #777777;
    margin-bottom: 30px;
}

.btn-return-shop {
    display: inline-block;
    max-width: 240px;
}

.cart-items-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
}

.cart-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.cart-items-table th {
    font-weight: 600;
    color: #777777;
    padding: 15px 10px;
    border-bottom: 1px solid #252525;
}

.cart-items-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #f2f2f2;
    vertical-align: middle;
}

.cart-items-table .col-img { width: 100px; }
.cart-items-table .col-name { width: auto; }
.cart-items-table .col-price { width: 120px; }
.cart-items-table .col-qty { width: 100px; }
.cart-items-table .col-subtotal { width: 120px; }
.cart-items-table .col-action { width: 60px; text-align: right; }

.cart-item-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background-color: #f7f7f7;
}

.cart-item-no-image {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #aaa;
    background-color: #f7f7f7;
}

.cart-item-title-desc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-weight: 600;
    color: #252525;
}

.cart-item-size {
    font-size: 11px;
    color: #888888;
}

.qty-adjuster input {
    width: 60px;
    padding: 6px 8px;
    font-size: 13px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    text-align: center;
}

.btn-remove-item {
    background: none;
    border: none;
    color: #888888;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    padding: 5px;
}

.btn-remove-item:hover {
    color: #c0392b;
}

.cart-summary-section {
    max-width: 480px;
    margin-left: auto;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    padding: 30px;
    border-radius: 8px;
}

.cart-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 25px;
}

.cart-total-label {
    font-size: 14px;
    font-weight: 600;
}

.cart-total-amount {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.cart-payment-selection-box {
    margin-bottom: 30px;
}

.cart-checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-continue-shopping {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Mobile Header Layout */
    .site-logo-header {
        height: 60px;
        padding: 0 20px;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-logo-container img {
        height: 50px;
        margin-top: 5px;
    }
    
    .site-wrapper {
        flex-direction: column;
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }
    
    .site-header {
        width: 100%;
        height: auto;
        position: fixed;
        top: 60px;
        left: 0;
        bottom: auto;
        border-right: none;
        border-bottom: none;
        padding: 0;
        z-index: 100;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: visible;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* モバイルトグルメニュー（ドロワー）の設定 */
    .sidebar-menu-wrapper {
        display: none;
        background-color: #ffffff;
        padding: 20px;
        border-bottom: 1px solid #f2f2f2;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    
    .sidebar-menu-wrapper.is-open {
        display: block;
    }
    
    .sidebar-title {
        display: none;
    }
    
    .main-navigation,
    .secondary-navigation {
        display: block !important;
        position: static !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    
    .content-wrapper {
        margin-left: 0;
    }
    
    .site-main {
        padding: 40px 20px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
        margin: 10px 0 40px;
    }
    
    .site-sns-links {
        display: none;
    }
    
    .footer-sns-links {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-detail-title {
        font-size: 20px;
    }
    
    /* スマホ用ヘッダー3カラム配置（左にメニュー、中央にロゴ、右にカート） */
    .site-logo-header {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        justify-items: stretch !important;
        height: 60px !important;
        padding: 0 20px !important;
    }
    
    .menu-toggle {
        display: block !important;
        justify-self: start !important;
        margin: 0 !important;
        order: 1;
    }
    
    .header-logo-container {
        justify-self: center !important;
        order: 2;
    }
    
    .header-cart-container {
        position: static !important;
        transform: none !important;
        justify-self: end !important;
        order: 3;
    }
    
    /* スマホ表示時のカートテーブル調整 */
    .cart-items-table th.col-price,
    .cart-items-table td.col-price,
    .cart-items-table th.col-subtotal,
    .cart-items-table td.col-subtotal {
        display: none;
    }
    
    .cart-items-table .col-img {
        width: 70px;
    }
    
    .cart-item-thumbnail,
    .cart-item-no-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-summary-section {
        padding: 20px;
    }
}

/* Stripe Payments Custom Styling Override for CENTERFACE */
.credit-card-payment-wrapper .asp-product-outer {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* 不要なタイトル、説明、元の価格表示などを非表示にする */
.credit-card-payment-wrapper .asp-product-name,
.credit-card-payment-wrapper .asp-product-description,
.credit-card-payment-wrapper .asp-product-price-input-container,
.credit-card-payment-wrapper .asp-price-amount,
.credit-card-payment-wrapper .asp_product_price,
.credit-card-payment-wrapper .asp-product-price-input-label,
.credit-card-payment-wrapper .asp_price_container,
.credit-card-payment-wrapper label,
.credit-card-payment-wrapper br {
    display: none !important;
}

/* ボタンのスタイルを CENTERFACE の標準 .btn-primary に統一 */
.credit-card-payment-wrapper input.stripe_button,
.credit-card-payment-wrapper .asp_product_buy_btn,
.credit-card-payment-wrapper button.asp_product_buy_btn,
.credit-card-payment-wrapper button,
.credit-card-payment-wrapper input[type="submit"],
.credit-card-payment-wrapper input[type="button"],
.credit-card-payment-wrapper .wp-stripe-checkout-button {
    display: block !important;
    width: 100% !important;
    background-color: #1a2a4a !important; /* CENTERFACE テーマの深い紺色 */
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 15px 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
    box-shadow: none !important;
    text-shadow: none !important;
    height: auto !important;
    font-family: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
}

.credit-card-payment-wrapper input.stripe_button:hover,
.credit-card-payment-wrapper .asp_product_buy_btn:hover,
.credit-card-payment-wrapper button.asp_product_buy_btn:hover,
.credit-card-payment-wrapper button:hover,
.credit-card-payment-wrapper input[type="submit"]:hover,
.credit-card-payment-wrapper input[type="button"]:hover,
.credit-card-payment-wrapper .wp-stripe-checkout-button:hover {
    background-color: #2c3e60 !important;
    opacity: 0.9 !important;
}

/* Stripe Payments Popup Modal Custom Styling Override */
.asp-modal-section-amount,
.asp-modal input[name="stripeAmount"],
.asp-modal label[for="stripeAmount"],
.asp-modal label[for="stripeAmount"] + br,
.asp-modal label[for="stripeAmount"] + input + br {
    display: none !important;
}

/* ポップアップ内の支払い実行ボタンの見た目も統一 */
.asp-modal-body button#payment-button,
.asp-modal button#stripe-payment-submit-btn,
.asp-modal-footer button {
    background: #1a2a4a !important;
    background-color: #1a2a4a !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    border: none !important;
    font-weight: 700 !important;
}

.asp-modal-body button#payment-button:hover,
.asp-modal button#stripe-payment-submit-btn:hover,
.asp-modal-footer button:hover {
    background: #2c3e60 !important;
    background-color: #2c3e60 !important;
}

/* Logo Text Fallback (Header) */
.logo-text-fallback {
    font-family: 'Futura', 'Jost', sans-serif;
    font-size: 30px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111827;
}

/* Custom Background Image with 70% Opacity (WAF & Content Friendly) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://thecenterface.com/wp-content/uploads/2026/10/IMG_3862.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 35vw auto; /* 背景ロゴの表示サイズを約1/2に縮小 */
    opacity: 0.1; /* 透過度 90% (不透明度10%) */
    z-index: -2; /* ヘッダーやサイドバー、メインコンテンツの背後に配置 */
    pointer-events: none; /* コンテンツのクリック操作を邪魔しない */
}

/* メインコンテンツエリアの背景を透過させて背景画像が見えるように調整 */
body, 
.site-main, 
.site-wrapper,
.content-wrapper {
    background-color: transparent !important;
}

/* ヘッダーとサイドバーは白背景を維持して視認性を確保 (必要に応じて調整) */
.site-logo-header, 
.site-header {
    background-color: rgba(255, 255, 255, 0.9) !important; /* 少しだけ透過させて背景をうっすら感じさせる */
    backdrop-filter: blur(10px); /* 高級感のある磨りガラス効果 */
    -webkit-backdrop-filter: blur(10px);
}

/* Stripe 決済ポップアップモーダルのカスタマイズ (「州」「国名」完全非表示) */
.asp-stripe-modal-container div:has(> input[name*="state"]),
.asp-stripe-modal-container div:has(> input[id*="state"]),
.asp-modal-container label[for*="state"],
.asp-modal-container input[name*="state"],
div[class*="state-container"],
.asp-state-container,
.asp-address-state-container,
.asp-stripe-modal-container div:has(> select),
.asp-stripe-modal-container div:has(> input[name*="country"]),
.asp-modal-container label[for*="country"],
.asp-modal-container select,
.asp-modal-container input[name*="country"],
div[class*="country-container"],
.asp-country-container,
.asp-address-country-container,
.asp-billing-country-container,
.asp-form-field-country,
div:has(> label[for*="country"]) {
    display: none !important;
}

