/* =========================================
   CREEMM Vintage Shop - WooCommerce Styles
   既存のデザイン言語を維持
========================================= */

/* ---- Smooth Scroll ---- */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ---- CSS Variables (Design Tokens) ---- */
:root {
    --wc-primary: #1a1a1a;
    --wc-text: #475569;
    --wc-text-light: #94a3b8;
    --wc-bg: #f9fafb;
    --wc-border: #e5e7eb;
    --wc-border-light: #f3f4f6;
    --wc-accent: #1a1a1a;
}

/* =========================================
   HERO SECTION
========================================= */
.wc-vintage-hero {
    background: linear-gradient(to bottom, var(--wc-bg), #ffffff);
}

/* =========================================
   PRODUCT GRID (Shop Loop)
========================================= */
ul.products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 640px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

ul.products li.product {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================================
   PRODUCT CARD
========================================= */
.wc-vintage-card {
    position: relative;
}

.wc-vintage-card a {
    text-decoration: none;
    color: inherit;
}

.wc-vintage-card__image {
    background-color: var(--wc-bg);
}

.wc-vintage-card.is-sold .wc-vintage-card__info h3 {
    color: #9ca3af;
}

/* line-clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   SINGLE PRODUCT
========================================= */
.wc-vintage-single {
    min-height: 60vh;
}

/* Gallery main image */
.wc-vintage-gallery__main img {
    transition: opacity 0.3s ease;
}

.wc-vintage-gallery__main img.is-loading {
    opacity: 0.5;
}

/* Thumbnails */
.wc-vintage-thumb {
    cursor: pointer;
    transition: border-color 0.2s ease;
    padding: 0;
    background: none;
}

.wc-vintage-thumb:hover {
    border-color: #9ca3af !important;
}

.wc-vintage-thumb.is-active {
    border-color: var(--wc-primary) !important;
}

/* Scrollbar for thumbnails */
.wc-vintage-gallery__thumbs {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.wc-vintage-gallery__thumbs::-webkit-scrollbar {
    height: 4px;
}

.wc-vintage-gallery__thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.wc-vintage-gallery__thumbs::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

/* =========================================
   ACCORDION
========================================= */
.wc-vintage-accordion__content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.wc-vintage-accordion__content.is-collapsed {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
}

.wc-vintage-accordion__content.is-expanded {
    max-height: 1000px;
    opacity: 1;
}

.wc-vintage-accordion__icon {
    transition: transform 0.3s ease;
}

.wc-vintage-accordion__trigger[aria-expanded="true"] .wc-vintage-accordion__icon {
    transform: rotate(0);
}

.wc-vintage-accordion__trigger[aria-expanded="false"] .wc-vintage-accordion__icon {
    transform: rotate(-90deg);
}

/* =========================================
   DETAIL TABLE
========================================= */
.wc-vintage-detail-table {
    border-collapse: collapse;
}

.wc-vintage-detail-table tr:last-child {
    border-bottom: none;
}

/* =========================================
   FORM INPUTS (WC Forms)
   既存 CF7 スタイルを踏襲
========================================= */
/* Form reset: 高い詳細度で WC デフォルトを上書き */
.wc-vintage-main .wc-vintage-input,
.wc-vintage-main .wc-vintage-checkout input[type="text"],
.wc-vintage-main .wc-vintage-checkout input[type="email"],
.wc-vintage-main .wc-vintage-checkout input[type="tel"],
.wc-vintage-main .wc-vintage-checkout input[type="url"],
.wc-vintage-main .wc-vintage-checkout input[type="password"],
.wc-vintage-main .wc-vintage-checkout input[type="number"],
.wc-vintage-main .wc-vintage-checkout select,
.wc-vintage-main .wc-vintage-checkout textarea,
.wc-vintage-main .wc-vintage-login input[type="text"],
.wc-vintage-main .wc-vintage-login input[type="email"],
.wc-vintage-main .wc-vintage-login input[type="password"],
.wc-vintage-main .wc-vintage-myaccount input[type="text"],
.wc-vintage-main .wc-vintage-myaccount input[type="email"],
.wc-vintage-main .wc-vintage-myaccount input[type="password"],
.wc-vintage-main .woocommerce-checkout input[type="text"],
.wc-vintage-main .woocommerce-checkout input[type="email"],
.wc-vintage-main .woocommerce-checkout input[type="tel"],
.wc-vintage-main .woocommerce-checkout input[type="password"],
.wc-vintage-main .woocommerce-checkout input[type="number"],
.wc-vintage-main .woocommerce-checkout select,
.wc-vintage-main .woocommerce-checkout textarea {
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 12px 16px;
    width: 100%;
    border-radius: 0;
    outline: none;
    appearance: none;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.wc-vintage-main .wc-vintage-input:focus,
.wc-vintage-main .wc-vintage-checkout input:focus,
.wc-vintage-main .wc-vintage-checkout select:focus,
.wc-vintage-main .wc-vintage-checkout textarea:focus,
.wc-vintage-main .wc-vintage-login input:focus,
.wc-vintage-main .woocommerce-checkout input:focus,
.wc-vintage-main .woocommerce-checkout select:focus,
.wc-vintage-main .woocommerce-checkout textarea:focus {
    border-color: #000000;
    background-color: #f9fafb;
}

/* =========================================
   CHECKOUT
========================================= */
.wc-vintage-checkout .woocommerce-input-wrapper {
    width: 100%;
}

.wc-vintage-checkout .form-row label,
.woocommerce-checkout .form-row label {
    display: block;
    font-size: 11px;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 8px;
}

.wc-vintage-checkout .form-row,
.woocommerce-checkout .form-row {
    margin-bottom: 1.25rem;
    padding: 0;
}

.wc-vintage-checkout .form-row-first,
.woocommerce-checkout .form-row-first {
    width: 48%;
    float: left;
}

.wc-vintage-checkout .form-row-last,
.woocommerce-checkout .form-row-last {
    width: 48%;
    float: right;
}

.wc-vintage-checkout .form-row-wide,
.woocommerce-checkout .form-row-wide {
    clear: both;
}

/* WC checkout order review */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--wc-border-light);
}

.woocommerce-checkout-review-order-table th {
    font-weight: 400;
    color: var(--wc-text-light);
    text-align: left;
    font-size: 11px;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.woocommerce-checkout-review-order-table tfoot tr:last-child th,
.woocommerce-checkout-review-order-table tfoot tr:last-child td {
    border-top: 1px solid var(--wc-border);
    border-bottom: none;
    padding-top: 12px;
    font-weight: 500;
    font-size: 16px;
}

/* Checkout place order button */
#place_order {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 24px;
    background-color: var(--wc-primary);
    color: #ffffff;
    border: 1px solid var(--wc-primary);
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#place_order:hover {
    background-color: #ffffff;
    color: var(--wc-primary);
}

/* =========================================
   CART
========================================= */
.wc-vintage-cart-item img {
    display: block;
}

/* =========================================
   MY ACCOUNT
========================================= */
.wc-vintage-myaccount .woocommerce-MyAccount-navigation {
    margin-bottom: 2rem;
}

.wc-vintage-myaccount .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--wc-border-light);
    justify-content: center;
}

.wc-vintage-myaccount .woocommerce-MyAccount-navigation ul li {
    margin: 0;
}

.wc-vintage-myaccount .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ca3af;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.wc-vintage-myaccount .woocommerce-MyAccount-navigation ul li a:hover,
.wc-vintage-myaccount .woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--wc-primary);
    border-bottom-color: var(--wc-primary);
}

.wc-vintage-myaccount .woocommerce-MyAccount-content {
    max-width: 640px;
    margin: 0 auto;
}

/* =========================================
   PAGINATION
========================================= */
.wc-vintage-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-vintage-pagination .page-numbers:hover {
    color: var(--wc-primary);
}

.wc-vintage-pagination .page-numbers.current {
    color: var(--wc-primary);
    border-bottom: 1px solid var(--wc-primary);
}

.wc-vintage-pagination .page-numbers.prev,
.wc-vintage-pagination .page-numbers.next {
    width: auto;
    padding: 0 8px;
}

/* =========================================
   BREADCRUMB
========================================= */
.wc-vintage-breadcrumb a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   CART HEADER ICON
========================================= */
.wc-vintage-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.wc-vintage-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 16px;
    height: 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    background: var(--wc-primary);
    color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wc-vintage-cart-count.has-items {
    opacity: 1;
    transform: scale(1);
}

/* =========================================
   SOLD OVERLAY
========================================= */
.wc-vintage-card.is-sold {
    cursor: default;
}

.wc-vintage-card.is-sold .wc-vintage-card__image img {
    filter: grayscale(30%);
}

/* =========================================
   WC NOTICES (success, error, info)
========================================= */
.woocommerce-message,
.woocommerce-info {
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    background: var(--wc-bg);
    border-left: 3px solid #d1d5db;
    color: var(--wc-text);
}

.woocommerce-error {
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    color: #991b1b;
    list-style: none;
}

.woocommerce-message a,
.woocommerce-info a {
    color: var(--wc-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* =========================================
   SCROLL FADE-IN (Shared with main site)
========================================= */
.wc-vintage-main .js-scroll-fadeup {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.wc-vintage-main .js-scroll-fadeup.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 767px) {
    .wc-vintage-hero {
        padding: 0;
    }

    .wc-vintage-single .flex-col.lg\:flex-row {
        gap: 2rem;
    }

    /* Checkout row reset */
    .wc-vintage-checkout .form-row-first,
    .wc-vintage-checkout .form-row-last,
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
    }
}

/* =========================================
   SELECT DROPDOWN (Custom Arrow)
========================================= */
.wc-vintage-main .wc-vintage-checkout select,
.wc-vintage-main .woocommerce-checkout select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* =========================================
   STRIPE PAYMENT FORM OVERRIDES
========================================= */
.wc-stripe-elements-field,
.wc-stripe-iban-element-field {
    padding: 12px 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    transition: border-color 0.3s ease !important;
}

.wc-stripe-elements-field:focus-within {
    border-color: #000000 !important;
}

/* =========================================
   WooCommerce BLOCKS - Checkout & Cart
   ブロック版チェックアウト・カートのスタイル
========================================= */

/* --- Page Title --- */
.wp-block-woocommerce-checkout + .entry-title,
.page-title,
.entry-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wc-primary);
    text-align: center;
}

/* --- Layout --- */
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: 'Noto Sans JP', sans-serif;
}

/* --- Section Headings --- */
.wc-block-components-checkout-step__heading,
.wc-block-components-title {
    font-family: 'Manrope', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: var(--wc-primary) !important;
}

/* --- Text Inputs (fix floating label overlap) --- */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="number"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-textarea textarea {
    border: 1px solid #d1d5db !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 14px !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    color: var(--wc-primary) !important;
    padding: 24px 14px 8px !important;
    transition: border-color 0.3s ease !important;
    line-height: 1.4 !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea textarea:focus {
    border-color: #000 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Floating label: default position */
.wc-block-components-text-input label {
    font-size: 13px !important;
    color: #9ca3af !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: all 0.2s ease !important;
    pointer-events: none;
}

/* Floating label: when focused or has value */
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus + label,
.wc-block-components-text-input input:not(:placeholder-shown) + label {
    font-size: 10px !important;
    top: 6px !important;
    transform: translateY(0) !important;
    color: #6b7280 !important;
    letter-spacing: 0.03em !important;
}

/* --- Select / Combobox --- */
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-country-input input,
.wc-block-components-state-input input {
    border: 1px solid #d1d5db !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 14px !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    padding: 24px 14px 8px !important;
}

.wc-block-components-combobox .wc-block-components-combobox-control input:focus {
    border-color: #000 !important;
    box-shadow: none !important;
}

.wc-block-components-combobox label,
.wc-block-components-country-input label,
.wc-block-components-state-input label {
    font-size: 10px !important;
    color: #6b7280 !important;
}

/* --- Checkbox & Radio --- */
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
    border-color: #d1d5db !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input {
    border-color: #d1d5db !important;
    background: #fff !important;
    appearance: auto !important;
    -webkit-appearance: radio !important;
}

/* Radio label */
.wc-block-components-radio-control__label,
.wc-block-components-checkbox__label {
    font-size: 14px !important;
    color: #374151 !important;
}

/* --- Order Summary Sidebar --- */
.wc-block-components-order-summary {
    border: none !important;
}

.wc-block-components-totals-wrapper {
    border-top: 1px solid #f3f4f6 !important;
}

.wc-block-components-totals-item__label {
    font-size: 14px !important;
    color: #6b7280 !important;
}

.wc-block-components-totals-item__value {
    font-family: 'Manrope', sans-serif !important;
    color: var(--wc-primary) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--wc-primary) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 18px !important;
    font-weight: 500 !important;
}

/* --- Product name in order summary --- */
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-size: 13px !important;
    color: var(--wc-primary) !important;
    text-decoration: none !important;
}

/* --- Place Order Button --- */
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button .wc-block-components-button {
    background-color: var(--wc-primary) !important;
    color: #fff !important;
    border: 1px solid var(--wc-primary) !important;
    border-radius: 0 !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    padding: 16px !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button .wc-block-components-button:hover {
    background-color: #fff !important;
    color: var(--wc-primary) !important;
}

/* --- Coupon link --- */
.wc-block-components-totals-coupon-link {
    font-size: 13px !important;
    color: #6b7280 !important;
}

/* --- Shipping options --- */
.wc-block-components-shipping-rates-control__package {
    border: 1px solid #f3f4f6 !important;
    border-radius: 0 !important;
}

/* --- Checkout step indicators --- */
.wc-block-components-checkout-step__container::after {
    border-color: #e5e7eb !important;
}

/* --- Express Checkout separator "または" --- */
.wc-block-components-express-payment__title-container {
    font-size: 12px !important;
    color: #9ca3af !important;
}

/* --- Cart Block --- */
.wc-block-cart-items .wc-block-cart-items__row {
    border-bottom: 1px solid #f3f4f6 !important;
}

.wc-block-cart-item__product .wc-block-components-product-name {
    font-size: 14px !important;
    color: var(--wc-primary) !important;
    text-decoration: none !important;
}

.wc-block-cart-item__total .wc-block-components-product-price {
    font-family: 'Manrope', sans-serif !important;
    color: var(--wc-primary) !important;
}

/* Remove quantity input in cart block (一点物) */
.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
    display: none !important;
}

/* --- Terms & Privacy text --- */
.wc-block-checkout__terms,
.wc-block-components-checkout-policies {
    font-size: 12px !important;
    color: #9ca3af !important;
}

.wc-block-checkout__terms a,
.wc-block-components-checkout-policies a {
    color: #6b7280 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}

/* --- Validation errors --- */
.wc-block-components-validation-error {
    font-size: 12px !important;
    color: #ef4444 !important;
}

/* --- Loading spinner color --- */
.wc-block-components-spinner::after {
    border-color: var(--wc-primary) transparent transparent !important;
}

/* =========================================
   FOCUS STATES (Keyboard Accessibility)
========================================= */
*:focus-visible {
    outline: 2px solid var(--wc-primary);
    outline-offset: 2px;
}

.wc-vintage-thumb:focus-visible {
    border-color: var(--wc-primary) !important;
    outline: 2px solid var(--wc-primary);
    outline-offset: 1px;
}

.wc-vintage-card a:focus-visible {
    outline: 2px solid var(--wc-primary);
    outline-offset: 4px;
}

/* Buttons and links in header */
.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 2px solid var(--wc-primary);
    outline-offset: 2px;
}

/* =========================================
   EC NAV DROPDOWN (Desktop Hover)
========================================= */
.ec-nav-dropdown {
    position: relative;
}

.ec-nav-dropdown__trigger {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.ec-nav-dropdown__panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 18px; /* gap between trigger and panel */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 60;
}

.ec-nav-dropdown:hover .ec-nav-dropdown__panel,
.ec-nav-dropdown__trigger:focus + .ec-nav-dropdown__panel,
.ec-nav-dropdown__panel:hover {
    opacity: 1;
    visibility: visible;
}

.ec-nav-dropdown:hover .ec-nav-dropdown__trigger svg {
    transform: rotate(180deg);
}

.ec-nav-dropdown__inner {
    background: #fff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 8px 0;
}

.ec-nav-dropdown__item {
    display: block;
    padding: 8px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #6b7280;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.ec-nav-dropdown__item:hover {
    color: #111827;
    background-color: #f9fafb;
}

.ec-nav-dropdown__item.is-active {
    color: #111827;
    font-weight: 500;
}

/* =========================================
   MOBILE NAV ACCORDION
========================================= */
.mob-nav-accordion {
    border-bottom: 1px solid #f3f4f6;
}

.mob-nav-accordion__trigger {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

.mob-nav-accordion__trigger svg {
    transition: transform 0.2s ease;
}

.mob-nav-accordion__trigger.is-open svg {
    transform: rotate(180deg);
}

.mob-nav-accordion__content {
    padding-bottom: 8px;
}

/* Form inputs: suppress double outline */
.wc-block-components-text-input input:focus-visible,
.wc-block-components-combobox input:focus-visible,
.wc-block-components-textarea textarea:focus-visible {
    outline: none;
}


/* =========================================
   EC FOOTER (4-column)
   Shared between WC shop pages and kaitori page
========================================= */
.ec-footer {
    background: #f7f7f5;
    padding: 96px 0 48px;
}

.ec-footer .kt-container,
.ec-footer .ec-footer-container {
    max-width: 1160px;
    width: calc(100% - 96px);
    margin: 0 auto;
    padding: 0;
}

.ec-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}

.ec-footer__heading {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.ec-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ec-footer__list li {
    margin-bottom: 8px;
}

.ec-footer__list a {
    font-size: 13px;
    color: #737373;
    text-decoration: none;
    transition: color 0.2s;
}

.ec-footer__list a:hover {
    color: #1a1a1a;
}

.ec-footer__bottom {
    border-top: 1px solid #e8e8e4;
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.ec-footer__social {
    display: flex;
    gap: 24px;
}

.ec-footer__social a {
    color: #737373;
    transition: color 0.2s;
}

.ec-footer__social a:hover {
    color: #1a1a1a;
}

.ec-footer__info {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    color: #a3a3a3;
    letter-spacing: 0.05em;
}

.ec-footer__info span {
    margin: 0 6px;
}

@media (max-width: 767px) {
    .ec-footer {
        padding: 48px 0 32px;
    }
    .ec-footer .kt-container,
    .ec-footer .ec-footer-container {
        width: calc(100% - 40px);
        padding: 0;
    }
    .ec-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        margin-bottom: 32px;
    }
    .ec-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
