/* ============================
   1. 全局变量和基础设置
   ============================ */
:root {
    --primary-color: #2C7A7B;
    --secondary-color: #4FD1C5;
    --accent-color: #38B2AC;
    --text-primary: #000000;
    --text-secondary: #718096;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
}

body {
    font-family: 'Noto Sans JP', "Hiragino Mincho ProN", YuMincho, "Sawarabi Mincho", serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-light);
}

/* 响应式断点 */
@media (min-width: 768px) {
    body {
        min-width: 768px;
    }

    .pc {
        display: block !important;
    }

    .pc_inline {
        display: inline-block;
    }
}

.pc,
.pc_inline {
    display: none;
}

/* スクリーンリーダー専用（視覚的に非表示） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================
   2. 通用组件
   ============================ */
/* 按钮 */
.btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}


/* 橙色按钮 */
.btn-orange {
    color: #fff;
    background-color: #CC5500;
    border-color: #CC5500;
}

.btn-orange:hover {
    color: #fff;
    background-color: #CC5500;
    border-color: #CC5500;
}

.btn-orange:focus,
.btn-orange.focus {
    color: #fff;
    background-color: #CC5500;
    border-color: #CC5500;
    box-shadow: 0 0 0 0.2rem rgba(194, 78, 0, 0.25);
}

.btn-orange:active,
.btn-orange.active {
    color: #fff;
    background-color: #CC5500;
    border-color: #CC5500;
}

/* 橙色轮廓按钮 */
.btn-outline-orange {
    color: #CC5500;
    border-color: #CC5500;
    background-color: transparent;
}

.btn-outline-orange:hover {
    color: #fff;
    background-color: #CC5500;
    border-color: #CC5500;
}

.btn-outline-orange:focus,
.btn-outline-orange.focus {
    box-shadow: 0 0 0 0.2rem rgba(194, 78, 0, 0.25);
}

.btn-outline-orange:active,
.btn-outline-orange.active {
    color: #fff;
    background-color: #CC5500;
    border-color: #CC5500;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #45B7AC;
    border-color: #45B7AC;
}

.btn-action {
    background-color: #E53E3E;
    border-color: #E53E3E;
    color: var(--white);
}

.btn-action:hover {
    background-color: #C53030;
    border-color: #C53030;
    color: var(--white);
}

.btn-cancel {
    background-color: #718096;
    border-color: #718096;
    color: var(--white);
}

.btn-cancel:hover {
    background-color: #4A5568;
    border-color: #4A5568;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-action,
.btn-outline-cancel {
    background-color: transparent;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-action {
    color: #E53E3E;
    border-color: #E53E3E;
}

.btn-outline-cancel {
    color: #718096;
    border-color: #718096;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-action:hover,
.btn-outline-cancel:hover {
    color: var(--white);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
}

.btn-outline-action:hover {
    background-color: #E53E3E;
}

.btn-outline-cancel:hover {
    background-color: #718096;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.65;
    pointer-events: none;
}

/* 表单控件 */
.form-control {
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 122, 123, 0.2);
}

/* 标签和徽章 */
.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.badge-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.badge-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* ============================
   3. 布局组件
   ============================ */
/* 头部导航 */
.kando-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header_logo_area {
    padding: 1rem 0;
}

.header_bottom_area {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .kando-header {
        box-shadow: unset;
    }
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}


.kando-floating-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .kando-floating-menu-btn {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #CC5500;
        color: #fff;
        font-size: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        position: absolute;
        right: 15px;
        top: unset;
        left: unset;
    }

    .kando-floating-menu-btn:hover {
        background-color: #e67e00;
        transform: scale(1.05);
    }

    .kando-floating-menu-btn.floating {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* 页脚 - 浅色风格（与产品页统一） */
.ec-footerRole {
    background-color: unset;
}

.k-footer-new {
    --primary: #CC5500;
    --primary-dark: #A04000;
    --accent: #CC5500;
    --text-dark: #2D2D2D;
    --text-muted: #666;
    --bg-footer: #F8F5F0;
    --bg-card: #FFFFFF;
    --border-light: rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --radius-sm: 8px;
}

/* メインフッター領域 */
.k-footer-new {
    background: var(--bg-footer);
    color: var(--text-dark);
    padding: 40px 20px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-light);
}

.k-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ナビゲーションセクション */
.k-footer-nav-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.k-footer-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.k-footer-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.k-footer-section-title i {
    color: var(--primary);
    font-size: 16px;
}

.k-footer-section-title strong {
    color: var(--primary);
}

.k-footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.k-footer-nav-item {
    margin-bottom: 8px;
}

.k-footer-nav-item:last-child {
    margin-bottom: 0;
}

.k-footer-nav-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    padding: 4px 0;
}

.k-footer-nav-item a:hover {
    color: var(--primary);
}

.k-footer-nav-item a i {
    font-size: 13px;
    width: 18px;
    text-align: center;
    color: var(--primary);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.k-footer-nav-item a:hover i {
    opacity: 1;
}

/* 信頼バッジセクション */
.k-footer-trust-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.k-footer-trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.k-footer-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.k-footer-trust-item i {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #E67300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

/* ソーシャルリンク */
.k-footer-social-section {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 12px;
}

.k-footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s ease;
    text-decoration: none;
}

.k-footer-social-btn--x {
    background: #333;
    border: none;
}

.k-footer-social-btn--x:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #000;
}

.k-footer-social-btn svg {
    width: 18px;
    height: 18px;
}

/* 連絡先セクション */
.k-footer-contact-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    font-style: normal;
}

.k-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.k-footer-contact-item i {
    color: var(--primary);
    font-size: 14px;
}

.k-footer-contact-item a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.k-footer-contact-item a:hover {
    color: var(--primary);
}

/* コピーライト */
.k-footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    text-align: center;
    margin-top: 10px;
}

.k-footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.k-footer-copyright strong {
    color: var(--text-dark);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .ec-footerRole {
        margin-bottom: 5em;
    }

    .k-footer-new {
        padding: 30px 15px 0;
        margin-top: 30px;
    }

    .k-footer-nav-sections {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .k-footer-section {
        padding: 18px 20px;
    }

    .k-footer-section-title {
        font-size: 14px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .k-footer-trust-section {
        padding: 18px 15px;
    }

    .k-footer-trust-grid {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .k-footer-trust-item {
        width: 100%;
    }

    .k-footer-contact-section {
        flex-direction: column;
        gap: 10px;
        padding: 16px 15px;
        align-items: center;
    }

    .k-footer-bottom {
        padding: 16px 0;
    }
}

@media (max-width: 480px) {
    .k-footer-new {
        padding: 25px 12px 0;
    }

    .k-footer-section {
        padding: 16px 18px;
    }

    .k-footer-section-title {
        font-size: 13px;
    }

    .k-footer-nav-item a {
        font-size: 13px;
    }

    .k-footer-trust-item {
        font-size: 12px;
    }

    .k-footer-trust-item i {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .k-footer-social-btn {
        width: 38px;
        height: 38px;
    }

    .k-footer-social-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (min-width: 768px) {
    .ec-footerRole {
        padding-top: 0;
        margin-top: 0;
    }
}


/* 返回页面顶部 */

.ec-blockTopBtn.pagetop {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to right, #CC5500, #B34700);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 100;
    cursor: pointer;
    font-size: 0;
    text-indent: -9999px;
}

.ec-blockTopBtn.pagetop::before {
    content: "\f106";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
    text-indent: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ec-blockTopBtn.pagetop:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 20px rgba(255, 140, 0, 0.4);
    opacity: 1;
}

@media (max-width: 768px) {
    .ec-blockTopBtn.pagetop {
        width: 50px;
        height: 50px;
        right: 20px;
    }

    .ec-blockTopBtn.pagetop::before {
        font-size: 20px;
    }
}

/* ============================
   4. 产品相关样式
   ============================ */
/* 产品卡片 */
.product_item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
}

.product_item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product_item .product_image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product_item .product_image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product_item:hover .product_image img {
    transform: scale(1.05);
}

.product_item .product_title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product_item .product_price {
    color: var(--primary-color);
    font-weight: 700;
}

.product_item .product_description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 产品分类页 */

/* 产品列表页样式 */
.k-layoutRole__main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* 面包屑导航 */
.k-searchnavRole {
    margin-bottom: 30px;
}

.k-topicpath {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.k-topicpath h1 {
    font-size: unset;
    margin: unset;
}

.k-topicpath__item {
    font-size: 14px;
    margin-right: 5px;
}

.k-topicpath__item a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.k-topicpath__item a:hover {
    color: #CC5500;
    text-decoration: underline;
}

.k-topicpath__item--active a {
    color: #CC5500;
    font-weight: bold;
}

.k-topicpath__divider {
    margin: 0 5px;
    color: #ccc;
}

/* 搜索结果信息 */
.k-searchnavRole__infos {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.k-searchnavRole__counter {
    font-size: 15px;
    color: #555;
    margin-right: 10px;
}

.k-font-bold {
    font-weight: bold;
    color: #333;
}

.k-select {
    display: flex;
    justify-content: flex-end;
}

.k-select select {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: border-color 0.3s;
    width: auto;
    margin-right: 10px;
}

.k-select select:focus {
    border-color: #CC5500;
    outline: none;
}

/* 产品网格 */
.k-shelfRole {
    margin-bottom: 40px;
}

.k-shelfGrid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    padding: 0;
    list-style: none;
}

.k-shelfGrid__item {
    width: calc(25% - 20px);
    margin: 0 10px 30px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.k-shelfGrid__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.k-shelfGrid__item-image {
    width: 100%;
    height: 200px;
    margin: 0 0 15px;
    overflow: hidden;
}

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

.k-shelfGrid__item>a:hover .k-shelfGrid__item-image img {
    transform: scale(1.05);
}

.k-shelfGrid__item-title {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.7;
    margin: 0 15px 5px;
    padding: 0;
    height: 3.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.k-shelfGrid__item-description {
    font-size: 13px;
    color: #666;
    margin: 0 15px;
    padding: 0;
    height: 5.1em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.k-shelfGrid__item-price {
    font-size: 16px;
    font-weight: bold;
    color: #CC5500;
    margin: 0 15px 10px;
    padding: 0;
}

/* 缺货标记样式 */
.k-shelfGrid__item-outOfStock {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
}

/* 缺货商品整体样式 */
.k-shelfGrid__item--outOfStock {
    opacity: 0.7;
}

.k-shelfGrid__item--outOfStock .k-shelfGrid__item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.k-shelfGrid__item--outOfStock .k-shelfGrid__item-price {
    color: #999;
}

/* 产品操作区域 */
.k-productRole__actions {
    padding: 0 15px;
    margin-bottom: 10px;
}

.k-numberInput {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.k-numberInput span {
    font-size: 13px;
    margin-right: 10px;
    color: #555;
}

.k-numberInput input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

/* 分页样式 */
.k-pagerRole {
    margin-top: 30px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .k-shelfGrid__item {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .k-shelfGrid__item {
        width: calc(50% - 20px);
    }

    .k-shelfGrid__item-image {
        height: 180px;
    }
}


/* 产品详情 */
.ec-productRole {
    margin-top: 10px;
    color: #000000;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .ec-productRole .ec-grid2 .ec-grid2__cell {
        width: 48%;
        margin-right: 2%;
    }
}

/* 商品詳細ページのパンくずリスト */
.ec-productRole__category {
    padding: 10px 15px 0;
}

.ec-productRole__category i {
    margin-right: 5px;
}

.product-breadcrumb {
    padding: 0;
    margin: 0;
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.product-breadcrumb::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.product-breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.product-breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: #999;
    flex-shrink: 0;
}

.product-breadcrumb li a {
    color: #CC5500;
    text-decoration: none;
    transition: color 0.3s;
}

.product-breadcrumb li a:hover {
    color: #B34700;
    text-decoration: underline;
}

.product-name-breadcrumb {
    max-width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .product-name-breadcrumb {
        display: none !important;
    }
}

.product_detail_area {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.product_image_gallery {
    position: relative;
    margin-bottom: 2rem;
}

.main_image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0 !important;
}

.thumbnail_item {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail_item:hover,
.thumbnail_item.active {
    border-color: var(--primary-color);
}

.thumbnail_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_info .product_name {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    line-height: 1.7;
}

.product_info .recommend_average {
    color: #CC5500;
    font-size: 22px;
}

.product_info .post_stop {
    color: #BD4C00;
    margin-bottom: 10px;
    padding: 5px 0;
    border: 1px solid #BD4C00;
    background: #fff5ef;
    font-size: 14px;
    text-align: center;
}

/* 支払い方法と配送情報のスタイル */
.shipping-info {
    line-height: 1.7rem;
    font-size: 14px;
}

.info-label {
    font-weight: bold;
}

.info-value {
    position: relative;
}

.info-value[data-tooltip]:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    z-index: 10;
    margin-bottom: 5px;
}

.info-value[data-tooltip]:hover:before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 15px;
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    transform: rotate(180deg);
    margin-bottom: -5px;
    z-index: 10;
}


.ec-productRole__price-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

#ec-point {
    color: #198754;
    font-weight: bold;
}

.ec-productRole .ec-productRole__price {
    font-size: 18px;
    color: red;
    font-weight: bold;
}

.ec-productRole .ec-productRole__priceRegular {
    padding-top: 0;
    font-size: 14px;
}

@media only screen and (min-width:768px) {
    .ec-productRole .ec-productRole__price {
        border-bottom: none;
        padding: 0;
    }
}

.ec-productRole .price01-default {
    text-decoration: line-through;
}

/* 产品选项和数量 */
.product_form {
    margin-top: 10px;
}

.product_buttons_area {
    margin: 10px 0;
}

.product_buttons_area .btn-group {
    display: flex;
    flex-wrap: wrap;
}

.product_buttons_area .btn {
    flex: 1;
    min-width: 180px;
    min-height: 54px;
    justify-content: center;
    font-size: 15px;
}

.class_group,
.quantity_group {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.class_label,
.quantity_label {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 80px;
}

#product_review {
    margin-bottom: 0;
}

.ec-productRole .product_info .ec-productRole__description {
    margin: 5px 0 10px 0;
    border-bottom: 1px dashed #ccc;
    border-top: 1px dashed #ccc;
    padding: 10px 0;
}

.class_input,
.quantity_input {
    flex: 1;
}

.quantity_input {
    max-width: 200px;
}

.quantity_input .form-control {
    width: 100%;
    text-align: center;
}

/* 数量调整按钮 */
.product_cart_area .ec-numberInput {
    align-items: center;
}

.product_cart_area .quantity-wrap {
    display: flex;
    justify-content: flex-start;
}

.product_cart_area .quantity-inner {
    position: relative;
    border: none !important;
}

.product_cart_area .quantity-control {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    overflow: hidden;
}

.product_cart_area .quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border: 1px solid #ccc;
}

.product_cart_area .quantity-input {
    width: 60px !important;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-align: center !important;
    border: 0;
}

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

.product_cart_area .quantity-input[type=number] {
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
    border-radius: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* 购物车 */
.cart_item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cart_item_image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-right: 1.5rem;
}

.cart_item_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart_item_info {
    flex: 1;
}

.cart_item_title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart_item_price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.cart_item_quantity {
    margin-left: auto;
    padding-left: 1.5rem;
}

.ec-productRole .ec-productRole__description {
    margin: 20px 0;
}

/* General Body Styles */

.item_visual.product_image.main_image {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.item_visual.product_image.main_image img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Remove extra space below the image */
}


.slideThumb.thumbnail_item {
    border: 1px solid #ddd;
    cursor: pointer;
    overflow: hidden;
    /* Ensure image fits within the border */
}

.slideThumb.thumbnail_item img {
    max-width: 100%;
    height: auto;
    transition: transform 0.2s ease;
    /* Smooth zoom effect */
}

.slideThumb.thumbnail_item:hover img {
    transform: scale(1.1);
    /* Zoom on hover */
}

/* Review Section */
#product_review {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.class_label {
    font-weight: bold;
    margin-right: 10px;
}

.recommend_average {
    color: #ffcc00;
    /* Gold stars */
    font-size: 20px;
    margin-right: 5px;
}

/* --- Pricing and Quantity --- */
.ec-productRole__price {
    font-size: 22px;
    font-weight: bold;
    color: #dc3545;
    /* Red for price */
}

.discount-rate {
    background-color: #28a745;
    /* Green background for discount */
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    margin-left: 10px;
}

@media (max-width: 320px) {
    .discount-rate {
        display: none;
    }
}

.ec-productRole__point {
    margin-bottom: 10px;
}


/* --- Shipping and Other Info --- */
.post_stop {
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
}


/* --- Product Detail Sections --- */

.product_detail_title h2 {
    color: #CC5500;
    font-weight: bold;
    margin: 10px 0;
}

.ec-productRole__description section {
    margin-bottom: 30px;
}

.ec-productRole__description h3 {
    font-size: 20px;
    line-height: 1.7;
    margin: 15px -15px;
    color: #CC5500;
    padding: 15px;
    background-color: #eee;
    position: relative;
    padding-left: 30px;
}

.ec-productRole__description h3::after {
    display: block;
    width: 3px;
    height: 26px;
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #CC5500;
    content: '';
}

.ec-productRole__description ul,
.ec-productRole__description ol {
    margin-bottom: 15px;
}

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

.ec-productRole__description table {
    font-size: 14px;
}

.ec-productRole__description th,
.ec-productRole__description td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.ec-productRole__description th {
    background-color: #f8f8f8;
    font-weight: bold;
    min-width: 6em;
}

@media (min-width:768px) {
    .ec-productRole__description th {
        min-width: 10rem;
    }

}


.description-container {
    position: relative;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin: 0;
}

.description-container.expanded {
    max-height: 5000px;
    /* 足够大的值以显示所有内容 */
    padding-bottom: 50px;
    /* 为固定按钮留出空间 */
}

.description-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.description-container.expanded .description-fade {
    opacity: 0;
}

.description-toggle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #CC5500;
    /* 使用橙色主题色 */
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.description-toggle:hover {
    background: #CC5500;
    /* 悬停时颜色加深 */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%) translateY(-2px);
}

.description-container.expanded .description-toggle {
    position: fixed;
    bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.description-container.expanded .description-toggle.at-bottom {
    position: absolute;
    bottom: 10px;
}

/* 添加一个小图标增强视觉效果 */
.description-toggle::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.description-container.expanded .description-toggle::after {
    transform: rotate(-135deg);
}

/* 增强渐变效果 */
.description-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* 增加高度 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* PC上的样式 */
@media (min-width: 768px) {
    .description-container.expanded-pc {
        padding-bottom: 0;
        /* 移除为按钮预留的底部空间 */
    }

    .description-container.expanded-pc .description-content {
        margin-bottom: 0;
    }
}

/* 移动设备上的样式 */
@media (max-width: 767px) {
    .description-container {
        position: relative;
        max-height: 500px;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .description-container.expanded {
        max-height: unset;
        padding-bottom: 50px;
    }

    .description-fade {
        display: block;
    }

    .description-toggle {
        display: block;
    }

    .product_buttons_area .btn-group {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
}

/* 产品详情freearea FAQ */
#faq>div[itemscope][itemtype="https://schema.org/Question"] {
    margin-bottom: 1.5em;
    /* 各Q&A間のマージン */
    padding-bottom: 1em;
    /* 各Q&A下のパディング */
    border-bottom: 1px solid #eee;
    /* Q&A間の区切り線 */
}

#faq>div[itemscope][itemtype="https://schema.org/Question"]:last-child {
    border-bottom: none;
    /* 最後のアイテムの区切り線はなし */
    margin-bottom: 0;
    padding-bottom: 0;
}

div[itemscope][itemtype="https://schema.org/Question"] h4[itemprop="name"] {
    font-size: 1.1em;
    /* 質問のフォントサイズ例 */
    font-weight: bold;
    margin-bottom: 0.5em;
}

div[itemscope][itemtype="https://schema.org/Answer"] div[itemprop="text"] {
    padding: 5px 10px;
    border: 1px solid #666;
    border-radius: 10px;
    margin-left: 5px;
}

/* 评论区样式优化 */
#product_review_area {
    padding: 20px 0;
}

#product_review_area .review_list {
    padding: 10px;
    word-break: break-word;
}

#product_review_area .review_list li {
    margin-bottom: 16px;
}

#product_review_area .review_list .review_date {
    font-weight: bold;
}

#product_review_area .recommend_average {
    color: #DE5D50;
}

#product_review_area .review_list .recommend_level {
    color: #DE5D50;
}

.review-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.review-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.review-rating {
    display: flex;
    align-items: baseline;
}

.rating-value {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.rating-max {
    font-size: 18px;
    color: #777;
    margin-left: 2px;
}

.rating-stars {
    margin-right: 5px;
    font-size: 16px;
}

.rating-stars .recommend_average {
    font-size: 24px;
    color: #FFB800;
}

.review-count-text {
    font-size: 14px;
    color: #666;
}

.review-count {
    font-weight: bold;
}

.review-action-top,
.review-action-bottom {
    text-align: center;
    margin: 20px 0;
}

.review-action-bottom {
    margin-top: 30px;
}

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

.review-item {
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.review-user {
    display: flex;
    align-items: center;
}

.review-user i {
    font-size: 24px;
    color: #CC5500;
    margin-right: 10px;
}

.recommend_name {
    font-weight: bold;
    color: #333;
}

.review-rating-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.recommend_level {
    font-size: 18px;
    color: #FFB800;
    margin-bottom: 5px;
}

.review_date {
    font-size: 12px;
    color: #999;
}

.review-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.review-comment {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.no-review {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-review i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.no-review p {
    font-size: 16px;
    color: #777;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .review-summary {
        flex-direction: column;
    }

    .review-stats {
        align-items: center;
        margin-bottom: 20px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-rating-info {
        align-items: flex-start;
        margin-top: 10px;
    }

    .review-user {
        margin-bottom: 10px;
    }
}

/* 选项卡样式 */
.product-tabs {
    margin: 20px -15px;
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    margin: 0;
    /* button要素のデフォルトスタイルをリセット */
    font-family: inherit;
    color: inherit;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.tab-button:hover {
    background: #eee;
}

.tab-button.active {
    background: #fff;
    border-bottom: 3px solid #CC5500;
    color: #CC5500;
}

/* 更新日期样式 */
.description-update-date {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    font-size: 12px;
    color: #888;
}

.description-update-date i {
    font-size: 11px;
    color: #aaa;
}

.description-update-date time {
    font-family: inherit;
}

.description-content {
    padding: 0 15px;
}

.description-content p {
    margin-bottom: 15px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.slide-item {
    position: relative;
}

.slide-counter {
    position: absolute;
    bottom: 0;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 14px;
    z-index: 1;
}

.product-tags {
    position: absolute;
    bottom: 0;
    left: 10px;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-tag {
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: white;
    white-space: nowrap;
}

/* 局留め不可 */
.tag_6 {
    background: #FF4B4B;
}

/* 限定品 */
.tag_5 {
    background: #8B00FF;
}

/* おすすめ商品 */
.tag_4 {
    background: #CC5500;
}

/* ポイント１0倍 */
.tag_3 {
    background: #00B300;
}

/* 残りわずか */
.tag_2 {
    background: #FF1493;
}

/* 新入荷 */
.tag_1 {
    background: #4169E1;
}

.slick-slider {
    margin-bottom: 30px;
}

.slick-dots {
    position: absolute;
    bottom: -45px;
    display: block;
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}

.slick-dots li button:before {
    content: " ";
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    text-align: center;
    opacity: .25;
    background-color: black;
    border-radius: 50%;

}

.slick-dots li.slick-active button:before {
    opacity: .75;
    background-color: black;
}

.slick-dots li button.thumbnail img {
    width: 0;
    height: 0;
}

/* 隐藏超过5个的评论 */
.review-hidden {
    display: none;
}

/* 加载更多按钮容器 */
.review-more-container {
    text-align: center;
    margin: 20px 0;
}

#load-more-reviews {
    padding: 10px 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#load-more-reviews:hover {
    background-color: #f5f5f5;
}

#load-more-reviews i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.post_stop {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 移动端浮动购物车按钮 */
.mobile-floating-cart {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

.mobile-floating-cart.show {
    transform: translateY(0);
}

.mobile-floating-cart .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* 只在移动设备上显示 */
@media (max-width: 768px) {
    .mobile-floating-cart.active {
        display: block;
    }
}

/* ============================
   5. 模态框
   ============================ */
.ec-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.ec-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-modal-wrap {
    position: relative;
    width: 90%;
    max-width: 450px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.ec-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.ec-modal-close:hover {
    color: var(--text-primary);
}

#ec-modal-header {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.ec-modal-box {
    margin-top: 2rem;
}

.ec-modal-box .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.ec-modal-box .btn {
    min-width: 160px;
}

/* ============================
   6. 头部Header组件
   ============================ */
/* 移动端Drawer */
.ec-drawerRole {
    background: #f8f8f8;
    width: calc(100vw - 55px);
    transform: translateX(calc(-100vw + 55px));
}

.ec-drawerRoleClose {
    right: 5px;
    top: 2px;
    left: unset;
    width: 50px;
    height: 50px;
    border-radius: unset;

}

.ec-drawerRoleClose .fas {
    font-size: 1.5rem;
}

/* Kando风格Header */

.ec-headerTop {
    position: relative;
    margin: 0 auto;
}

.ec-headerTop p {
    color: white;
    z-index: 1;
    position: relative;
    text-align: center;
    font-size: 12px;
    background-image: linear-gradient(left, #C24E00 0%, #ffc107 80%, #fff 100%);
    background-image: -webkit-linear-gradient(left, #C24E00 0%, #ffc107 80%, #fff 100%);
    background-image: -moz-linear-gradient(left, #C24E00 0%, #ffc107 80%, #fff 100%);
}

.kando-header {
    width: 100%;
}

.kando-header__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0.75rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.kando-header__logo h1 {
    margin: 0;
}

.kando-header__logo img {
    margin-top: 5px;
    height: 60px;
}

@media (max-width: 320px) {
    .kando-header__logo {
        width: 90px;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .kando-header__logo {
        width: 125px;
        flex-shrink: 0;
    }

    .kando-header__logo img {
        margin: 0;
        height: 40px;
    }
}

.kando-header__search {
    max-width: 600px;
}

.kando-header__search .ec-headerSearch__keywordBtn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.kando-header__search .ec-headerSearch__keywordBtn img {
    width: 20px;
    height: 20px;
}

.kando-header__right {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .kando-header__right {
        gap: 5px;
        margin-right: 65px;
    }

    .ec-headerRole__cart .ec-cartNavi {
        padding: 0 !important;
    }
}


.search-trigger {
    display: none;
    font-size: 1.5rem;
    color: black;
    cursor: pointer;
}

.search-trigger svg {
    display: block;
}

.kando-header__user a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: black;
    align-items: center;
}

.kando-header__user svg {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    margin-right: 5px;
    animation: fadeIn 200ms linear 0s;
}

.ec-headerRole__cart .ec-cartNavi {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem;
    cursor: pointer;
}

.ec-headerRole__cart .ec-cartNavi__icon {
    font-size: 1.5rem;
    position: relative;
}

.ec-headerRole__cart .ec-cartNavi__badge {
    background: #ff4d4f;
    text-align: center;
}

/* 头部导航 */
.ec-headerNaviRole {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ec-headerLogo {
    flex: 0 0 auto;
}

.ec-headerLogo img {
    height: 32px;
    width: auto;
}

.ec-headerNaviRole__search {
    flex: 1;
    max-width: 600px;
}

.ec-headerSearch .ec-headerSearch__keyword {
    border-radius: 20px;
    width: 300px;
}

.search-modal .ec-headerSearch .ec-headerSearch__keyword {
    width: 100%;
}

.ec-headerSearch__keywordBtn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.ec-cartNavi {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem;
    cursor: pointer;
}

.ec-cartNavi__icon {
    font-size: 1.5rem;
    position: relative;
}

.ec-cartNavi__badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ============================
   7. 搜索弹出层样式
   ============================ */

.sp-search {
    display: none;
}

.search-trigger {
    position: relative;
    width: 100%;
}

.search-input-trigger {
    width: 100%;
    height: 36px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f5f5f5;
    font-size: 14px;
    cursor: pointer;
}

.search-btn-trigger {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.search-modal {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 2000;
    display: none;
}

.search-modal.active {
    display: block;
}

.search-modal__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
}

.search-modal__back {
    background: none;
    border: none;
    padding: 0.5rem;
    font-size: 1.25rem;
    color: #333;
    cursor: pointer;
}

.search-modal__form {
    flex: 1;
}

.search-modal__form .ec-headerSearch {
    width: 100%;
}

.search-modal__form .ec-headerSearch__keyword input {
    border-radius: 20px;
    height: 36px;
    background: #f5f5f5;
}

.search-modal__content {
    padding: 1rem;
}

.search-modal__section {
    margin-bottom: 2rem;
}

.search-modal__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.search-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-modal__tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
}

.search-modal__tag img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

/* 分类导航 */
.ec-categoryNaviRole {
    max-width: unset;
}

/* ============================
   8. 动画
   ============================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ============================
   9. 响应式适配
   ============================ */
@media (max-width: 768px) {
    .ec-headerRole__cart .ec-cartNavi__label {
        display: none;
    }

    .kando-header__container {
        height: 56px;
    }

    .section_title {
        font-size: 1.5rem;
    }

    .product_info {
        padding-left: 0;
    }

    .product_detail_area {
        padding: 1rem;
    }

    .thumbnail_item {
        width: 60px;
        height: 60px;
    }

    .product_buttons_area .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        border-radius: 5px !important;
    }

    .class_label,
    .quantity_label {
        min-width: auto;
        margin-bottom: 0.25rem;
    }

    .class_input,
    .quantity_input {
        width: 100%;
        max-width: none;
    }

    .ec-modal-wrap {
        padding: 1.5rem;
    }

    .ec-modal-box .btn-group {
        flex-direction: column;
    }

    .ec-modal-box .btn {
        width: 100%;
    }

    .kando-header__user .ec-headerNav__itemLink,
    .ec-headerNav__itemLink,
    .ec-cartNavi__label {
        display: none;
    }

    .kando-header__search input,
    .ec-headerSearch__keyword input {
        height: 36px;
        font-size: 14px;
    }

    .sp-search {
        display: block;
        flex: 1;
    }

    .search-trigger {
        width: 35px;
        display: block;
    }

    .sp-search {
        display: none;
    }

    .product_image_gallery {
        display: flex;
        flex-direction: row-reverse;
        gap: 10px;
        margin-bottom: 0;
    }

    .main_image {
        flex: 1;
        margin-bottom: 0;
    }

    .scroll-indicator {
        display: none;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        background-color: rgba(255, 140, 0, 0.7);
        border-radius: 50%;
        color: white;
        text-align: center;
        line-height: 30px;
        animation: pulse 1.5s infinite;
        z-index: 2;
    }

    .scroll-indicator:after {
        content: "→";
        font-size: 18px;
    }

    /* 添加触摸滑动提示 */
    .product_section {
        position: relative;
    }

    /* 优化滑动体验 */
    .product_grid {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding-bottom: 15px;
    }
}

.ec-pageHeader h1 {
    text-align: center;
}

/* 产品模块共享样式 */
.product_section {
    position: relative;
    margin-bottom: 30px;
}

.section_title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section_title:before,
.section_title:after {
    content: '';
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 140, 0, 0) 0%, rgba(255, 140, 0, 1) 50%, rgba(255, 140, 0, 0) 100%);
    flex: 1;
    margin: 0 15px;
    position: relative;
}

.section_title:before {
    animation: slideInLeft 1.5s ease-out forwards;
}

.section_title:after {
    animation: slideInRight 1.5s ease-out forwards;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(30px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.section_title span {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    background: linear-gradient(to right, #CC5500, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: fadeIn 1s ease-out forwards;
    text-shadow: 0 0 1px rgba(255, 140, 0, 0.1);
}

/* 添加装饰性下划线 */
.section_title span:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #CC5500, transparent);
    animation: widthAnim 1.5s ease-out forwards;
    transform-origin: center;
}

@keyframes widthAnim {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section_title span:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 2px solid #CC5500;
    border-radius: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-50%) scale(1.3);
        opacity: 1;
    }

    100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .section_title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .section_title:before,
    .section_title:after {
        margin: 0 8px;
        height: 1px;
    }

    .section_title span {
        padding: 0 12px;
    }

    .section_title span:before {
        width: 6px;
        height: 6px;
        border-width: 1px;
    }

    .section_title span:after {
        bottom: -5px;
        height: 1px;
    }
}

.product_grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    justify-content: space-around;
}

.product_item {
    width: calc(16% - 20px);
    margin: 0 10px 30px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.product_item>a {
    display: block;
    text-decoration: none;
    color: #333;
}

.product_image {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

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

.product_item>a:hover .product_image img {
    transform: scale(1.05);
}

.product_content {
    padding: 10px;
}

.product_title {
    margin: 0;
    height: 3.4em;
    line-height: 1.7;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product_description {
    height: 6.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product_item {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .section_title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .section_title:before,
    .section_title:after {
        margin: 0 10px;
    }

    .section_title span {
        padding: 0 15px;
    }

    /* 移动端水平滚动样式 */
    .product_grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        /* 提供iOS设备上的平滑滚动 */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .product_grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .product_item {
        flex: 0 0 calc(48% - 10px);
        /* 首屏显示2个产品 */
        width: calc(48% - 10px);
        margin: 0 5px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .product_item .product_title {
        font-size: 14px;
        line-height: 1.7;
        height: 3.4em;
        margin: 0;
    }

    /* 添加滑动指示器 */
    .container {
        position: relative;
    }

    .container:after {
        content: '';
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        background: rgba(255, 140, 0, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 18px;
        pointer-events: none;
        animation: pulse 1.5s infinite;
        z-index: 1;
    }

    @keyframes pulse {
        0% {
            opacity: 0.7;
            transform: translateY(-50%) scale(1);
        }

        50% {
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
        }

        100% {
            opacity: 0.7;
            transform: translateY(-50%) scale(1);
        }
    }
}

/* k-categoryNaviRole 分类导航样式 */
.k-categoryNaviRole {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    position: relative;
}

/* PC专用分类导航样式 */
.k-categoryNaviRole .k-itemNav {
    padding: 0;
}

.k-categoryNaviRole .k-itemNav__nav {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    scrollbar-width: thin;
    max-width: 1150px;
}

.k-categoryNaviRole .k-itemNav__nav::-webkit-scrollbar {
    height: 4px;
}

.k-categoryNaviRole .k-itemNav__nav::-webkit-scrollbar-thumb {
    background-color: #CC5500;
    border-radius: 4px;
}

.k-categoryNaviRole .k-itemNav__nav>li {
    position: relative;
    white-space: nowrap;
    border-right: 1px solid #f5f5f5;
}

.k-categoryNaviRole .k-itemNav__nav>li>a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.k-categoryNaviRole .k-itemNav__nav>li>a:hover {
    background-color: #f8f9fa;
    color: #CC5500;
}

.k-categoryNaviRole .k-category-arrow {
    margin-left: 5px;
    position: relative;
    width: 10px;
    height: 10px;
}

.k-categoryNaviRole .k-category-arrow:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
}

.k-categoryNaviRole .k-arrow-right:after {
    transform: translateY(-50%) rotate(-45deg);
}

.k-categoryNaviRole .k-itemNav__nav>li:hover>a .k-category-arrow:after {
    border-color: #CC5500;
}

/* 简化一级分类子菜单显示 */
.k-categoryNaviRole .k-category-children {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 220px;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    padding: 10px 0;
    list-style: none;
}

/* 确保一级分类的子菜单显示 */
.k-categoryNaviRole .k-itemNav__nav>li:hover>.k-category-children {
    display: block;
}

.k-categoryNaviRole .k-category-children li {
    position: relative;
}

.k-categoryNaviRole .k-category-children li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* 二级分类子菜单 */
.k-categoryNaviRole .k-category-children .k-category-children {
    left: 100%;
    top: 0;
    border-radius: 0 8px 8px 0;
    z-index: 10000;
}

/* 确保二级分类的子菜单显示 */
.k-categoryNaviRole .k-category-children li:hover>.k-category-children {
    display: block;
}

.k-categoryNaviRole .k-category-children li a:hover {
    background-color: #f8f9fa;
    color: #CC5500;
}

.k-categoryNaviRole .k-help-in_cate {
    color: #666 !important;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.k-categoryNaviRole .k-help-in_cate i {
    margin-right: 5px;
    color: #CC5500;
    font-size: 16px;
}

.k-categoryNaviRole .k-help-in_cate:hover {
    color: #CC5500 !important;
}

.k-categoryNaviRole .k-guide-divider {
    margin-left: auto;
    background-color: #f0f0f0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.k-categoryNaviRole .k-guide-divider a {
    font-weight: normal !important;
}

@media (max-width: 768px) {
    .k-categoryNaviRole {
        display: none;
    }
}

/* 移动端分类导航样式 */
.k-headerCategoryArea {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

/* 在PC端隐藏SP分类导航 */
@media (min-width: 769px) {
    .k-headerCategoryArea {
        display: none;
    }
}

.k-headerCategoryArea__heading {
    background-color: #CC5500;
    padding: 12px 15px;
    margin: 0;
}

.k-headerCategoryArea__heading p {
    color: #fff;
    font-weight: bold;
    margin: 0;
    font-size: 16px;
    text-align: center;
}

.k-itemNav {
    padding: 0;
}

.k-itemNav__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.k-itemNav__nav>li {
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.k-itemNav__nav>li:last-child {
    border-bottom: none;
}

.k-itemNav__nav>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.k-itemNav__nav>li>a:hover,
.k-itemNav__nav>li>a:active {
    background-color: #f8f9fa;
    color: #CC5500;
}

.k-category-toggle {
    position: relative;
    width: 20px;
    height: 20px;
}

.k-category-toggle:before,
.k-category-toggle:after {
    content: '';
    position: absolute;
    background-color: #999;
    transition: all 0.3s ease;
}

.k-category-toggle:before {
    width: 12px;
    height: 2px;
    top: 9px;
    right: 4px;
}

.k-category-toggle:after {
    width: 2px;
    height: 12px;
    top: 4px;
    right: 9px;
}

.k-category-sp-children {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
}

.k-category-sp-children li {
    border-top: 1px solid #eee;
}

.k-category-sp-children li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px 12px 35px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.k-category-sp-children li a:hover,
.k-category-sp-children li a:active {
    color: #CC5500;
}

/* 展开/折叠功能的JavaScript */
.k-itemNav__nav>li.active>a .k-category-toggle:after {
    transform: rotate(90deg);
    opacity: 0;
}

.k-itemNav__nav>li.active>.k-category-sp-children {
    display: block;
}

/* 移动端登录区域样式 - 重新设计 */
.k-headerLinkArea {
    background-color: #fff;
    padding: 0;
}

/* 在PC端隐藏SP登录区域 */
@media (min-width: 769px) {
    .k-headerLinkArea {
        display: none;
    }
}

/* 主要操作区域 */
.k-headerLink__section {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.k-headerLink__section:last-child {
    border-bottom: none;
}

.k-headerLink__section--primary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: linear-gradient(135deg, #FFF8F0 0%, #FFF5E6 100%);
}

.k-headerLink__section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #CC5500;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #CC5500;
}

.k-headerLink__section-title i {
    font-size: 14px;
}

/* 网格布局 */
.k-headerLink__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* 通用链接项 */
.k-headerLink__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 15px 10px;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 85px;
    position: relative;
}

.k-headerLink__item:hover,
.k-headerLink__item:active {
    background-color: #CC5500;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 85, 0, 0.25);
}

.k-headerLink__icon {
    font-size: 26px;
    color: #CC5500;
    transition: all 0.3s ease;
    margin-bottom: 6px;
    position: relative;
}

.k-headerLink__badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #E53E3E;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.k-headerLink__item:hover .k-headerLink__icon,
.k-headerLink__item:active .k-headerLink__icon {
    color: #fff;
}

.k-headerLink__item span {
    font-size: 12px;
    font-weight: 600;
}

/* 特殊按钮样式 */
.k-headerLink__item--cart {
    background: linear-gradient(135deg, #CC5500, #E67300);
    color: white;
}

.k-headerLink__item--cart .k-headerLink__icon {
    color: white;
}

.k-headerLink__item--cart:hover {
    background: linear-gradient(135deg, #B34700, #CC5500);
}

.k-headerLink__item--tracking {
    background: linear-gradient(135deg, #2D8A4E, #34A853);
    color: white;
}

.k-headerLink__item--tracking .k-headerLink__icon {
    color: white;
}

.k-headerLink__item--tracking:hover {
    background: linear-gradient(135deg, #237A3F, #2D8A4E);
}

.k-headerLink__item--register {
    background: linear-gradient(135deg, #6366F1, #818CF8);
    color: white;
}

.k-headerLink__item--register .k-headerLink__icon {
    color: white;
}

.k-headerLink__item--register:hover {
    background: linear-gradient(135deg, #4F46E5, #6366F1);
}

.k-headerLink__bonus {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #FFD700;
    margin-top: 4px;
}

.k-headerLink__item--login {
    background: #4A5568;
    color: white;
}

.k-headerLink__item--login .k-headerLink__icon {
    color: white;
}

.k-headerLink__item--login:hover {
    background: #2D3748;
}

.k-headerLink__item--logout {
    background: #E2E8F0;
    color: #4A5568;
}

.k-headerLink__item--logout .k-headerLink__icon {
    color: #4A5568;
}

.k-headerLink__item--logout:hover {
    background: #CBD5E0;
    color: #2D3748;
}

/* 帮助信息区域 - 紧凑列表 */
.k-headerLink__section--help {
    background: #F8F9FA;
}

.k-headerLink__list-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.k-headerLink__item-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.k-headerLink__item-compact:first-child {
    border-radius: 8px 8px 0 0;
}

.k-headerLink__item-compact:last-child {
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

.k-headerLink__item-compact:only-child {
    border-radius: 8px;
}

.k-headerLink__item-compact:hover {
    background: #FFF8F0;
    color: #CC5500;
}

.k-headerLink__item-compact i:first-child {
    font-size: 16px;
    color: #CC5500;
    width: 20px;
    text-align: center;
}

.k-headerLink__item-compact span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.k-headerLink__item-compact i:last-child {
    font-size: 12px;
    color: #999;
}

.k-headerLink__item-compact:hover i:last-child {
    color: #CC5500;
}

/* 首页链接 */
.k-headerLink__section--home {
    padding: 12px 15px;
    background: #F0F0F0;
}

.k-headerLink__item-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.k-headerLink__item-home i {
    font-size: 18px;
    color: #CC5500;
}

.k-headerLink__item-home:hover {
    background: #CC5500;
    color: white;
}

.k-headerLink__item-home:hover i {
    color: white;
}

/* 分类导航底部快捷区域 */
.k-categoryNav__quick {
    margin-top: 15px;
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    background: #F8F9FA;
}

.k-categoryNav__quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.k-categoryNav__quick-grid:last-child {
    margin-bottom: 0;
}

.k-categoryNav__quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.k-categoryNav__quick-item i {
    font-size: 22px;
    color: #CC5500;
}

.k-categoryNav__quick-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.k-categoryNav__quick-item--cart {
    background: linear-gradient(135deg, #CC5500, #E67300);
    color: white;
}

.k-categoryNav__quick-item--cart i {
    color: white;
}

.k-categoryNav__quick-item--tracking {
    background: linear-gradient(135deg, #2D8A4E, #34A853);
    color: white;
}

.k-categoryNav__quick-item--tracking i {
    color: white;
}

.k-categoryNav__quick-item--register {
    background: linear-gradient(135deg, #6366F1, #818CF8);
    color: white;
}

.k-categoryNav__quick-item--register i {
    color: white;
}

.k-categoryNav__quick-item--home {
    background: #4A5568;
    color: white;
}

.k-categoryNav__quick-item--home i {
    color: white;
}

/* 销售排行模块 */

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        background-color: rgba(255, 140, 0, 0.7);
        border-radius: 50%;
        color: white;
        text-align: center;
        line-height: 30px;
        animation: pulse 1.5s infinite;
        z-index: 2;
    }

    .scroll-indicator:after {
        content: "→";
        font-size: 18px;
    }

    @keyframes pulse {
        0% {
            opacity: 0.7;
            transform: translateY(-50%) scale(1);
        }

        50% {
            opacity: 1;
            transform: translateY(-50%) scale(1.1);
        }

        100% {
            opacity: 0.7;
            transform: translateY(-50%) scale(1);
        }
    }

    .product_grid::-webkit-scrollbar {
        display: none;
    }

    .product_grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}


/* 文章模块 */

.k-article-block {
    margin: 20px 0;
    padding: 0 15px;
}

.k-article-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.k-article-block-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-left: 12px;
    margin: 0;
}

.k-article-block-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #278d32, #66bb6a);
    border-radius: 2px;
}

.k-article-block-title i {
    color: #278d32;
    margin-right: 6px;
}

.k-view-all {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.k-view-all:hover {
    color: #278d32;
}

.k-view-all i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.2s;
}

.k-view-all:hover i {
    transform: translateX(3px);
}

.k-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.k-article-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.k-article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.k-article-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.k-article-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.k-article-date i {
    color: #278d32;
    margin-right: 5px;
    font-size: 12px;
}

.k-article-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    margin: 0 0 8px 0;
    flex-grow: 1;
}

.k-article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.k-article-title a:hover {
    color: #278d32;
}

@media (max-width: 768px) {
    .k-article-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* 新闻与关联介绍模块 */

/* * 使用银行的公告
     * PayPal Announcement Styles 
     * You can move these rules to your main CSS file.
     */
#paypal-announcement-article {
    max-width: 100%;
    overflow-x: hidden;
    /* Prevents horizontal scrolling on mobile */
    line-height: 1.8;
    color: #333;
}

#paypal-announcement-article h2,
#paypal-announcement-article h3,
#paypal-announcement-article h4,
#paypal-announcement-article p,
#paypal-announcement-article a {
    overflow-wrap: break-word;
    /* Prevents long words/links from overflowing */
}

#paypal-announcement-article h2 {
    font-size: 1.6em;
    color: #8a2be2;
    border-bottom: 2px solid #8a2be2;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

#paypal-announcement-article h3 {
    font-size: 1.3em;
    color: #333;
    border-left: 5px solid #8a2be2;
    padding-left: 15px;
    margin-top: 30px;
    margin-bottom: 15px;
}

#paypal-announcement-article h4 {
    font-size: 1.1em;
    color: #555;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
}

#paypal-announcement-article p {
    margin-bottom: 1em;
}

#paypal-announcement-article ol {
    padding-left: 25px;
}

#paypal-announcement-article li {
    margin-bottom: 15px;
}

#paypal-announcement-article a {
    color: #007bff;
    text-decoration: underline;
    transition: color 0.3s ease;
    /* Added: Smooth color transition for links */
}

/* Added: Link hover effect */
#paypal-announcement-article a:hover {
    color: #0056b3;
}

#paypal-announcement-article strong {
    color: #d9534f;
    font-weight: bold;
}

#paypal-announcement-article .highlight-text {
    color: #d9534f;
    font-weight: bold;
    font-size: 1.1em;
}

#paypal-announcement-article .image-placeholder {
    text-align: center;
    border: 2px dashed #ccc;
    padding: 40px 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
    color: #888;
    font-weight: bold;
}

#paypal-announcement-article .campaign-box {
    background-color: #fff8e1;
    border: 2px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

#paypal-announcement-article .campaign-box h2 {
    margin-top: 0;
}

#paypal-announcement-article .campaign-box p:last-child {
    margin-bottom: 0;
}

#paypal-announcement-article .contact-info strong {
    color: #333;
    /* Make email label normal color */
}

#paypal-announcement-article .paypal-button a {
    display: inline-block;
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Added: Smooth transitions for button */
}

/* Added: Button hover effect */
#paypal-announcement-article .paypal-button a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    /* Lifts the button slightly */
}

#paypal-announcement-article hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #eee;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    #paypal-announcement-article h2 {
        font-size: 1.4em;
        padding-bottom: 8px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    #paypal-announcement-article h3 {
        font-size: 1.2em;
        padding-left: 12px;
        border-left-width: 4px;
        margin-top: 25px;
    }

    #paypal-announcement-article h4 {
        margin-top: 20px;
    }

    #paypal-announcement-article .image-placeholder {
        padding: 30px 15px;
        margin: 15px 0;
    }

    #paypal-announcement-article .campaign-box {
        padding: 15px;
    }

    #paypal-announcement-article hr {
        margin: 30px 0;
    }

    /* Added: Better touch target for mobile button */
    #paypal-announcement-article .paypal-button a {
        padding: 14px 20px;
    }
}

/* 整体布局容器 */
.kando-info-news-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 15px;
}

/* 介绍模块 */
.ec-freeRole {
    flex: 1;
    max-width: 500px;
    margin: 0;
    box-shadow: 0 2px 10px rgb(0 0 0 / 18%);
    border-radius: 10px;
}

.ec-freeRole div {
    padding: 8px;
}

.ec-freeRole .txt_bnr {
    text-align: center;
    background: #f8f8f8;
    font-weight: bold;
}

.ec-freeRole .txt_bnr2 {
    padding: 15px;
    border: 8px solid #f8f8f8;
    border-top: none;
    line-height: 1.8;
}

.ec-freeRole .txt_bnr .txt_up {
    background: #278d32;
}

.ec-freeRole .txt_bnr .hang01 {
    color: #FFFFFF;
    font-size: 30px;
}

.ec-freeRole .txt_bnr .hang02 {
    color: yellow;
}

.ec-freeRole .txt_bnr .txt_down {
    background: #FFFFFF;
}

.ec-freeRole .txt_bnr .kouhao {
    font-size: 14px;
    padding: 0 0.3em;
    color: #DE5D50;
}

.ec-freeRole .theday {
    color: brown;
    font-weight: bold;
}

/* 新闻部分 */
.news_section {
    flex: 1;
    box-shadow: 0 2px 10px rgb(0 0 0 / 18%);
    border-radius: 10px;
    padding: 0 15px 15px;
}

.section_title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
}

.news_list {
    margin-bottom: 15px;
}

.news_item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.news_date {
    font-size: 14px;
    margin-right: 1rem;
}

.news_title {
    flex: 1;
}

.news_title a {
    color: #296292;
    text-decoration: none;
}

.news_title a:hover {
    color: #CC5500;
    text-decoration: underline;
}

.news_more {
    text-align: right;
    margin-top: 10px;
}

.news_more a {
    display: inline-block;
    padding: 5px 15px;
    background: #FFF;
    color: #CC5500;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.news_more a:hover {
    background: #CC5500;
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .kando-info-news-container {
        flex-direction: column;
    }

    .ec-freeRole,
    .news_section {
        width: 100%;
    }
}

/* 関連記事セクションのスタイル */
.related-articles-section {
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    padding: 15px;
    overflow: hidden;
}

.section-header {
    position: relative;
    cursor: pointer;
}

.section-title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #CC5500, #B34700);
    border-radius: 3px;
}

.section-title i:first-child {
    color: #CC5500;
    margin-right: 8px;
}

.section-title small {
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-left: 5px;
}

.toggle-icon {
    transition: transform 0.3s;
}

.toggle-icon.active i {
    transform: rotate(180deg);
}

#related-articles-content {
    max-height: 1000px;
    transition: max-height 0.5s ease;
    overflow: hidden;
}

#related-articles-content.collapsed {
    max-height: 0;
}

.related-articles-container {
    padding-top: 10px;
}

.related-article-item {
    display: flex;
    align-items: center;
    padding: 10px 5px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.related-article-item:last-child {
    border-bottom: none;
}

.related-article-item:hover {
    background-color: #f8f9fa;
}

.article-hidden {
    display: none;
}

.article-icon {
    background: #CC5500;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.article-icon i {
    font-size: 14px;
}

.article-info {
    flex: 1;
    min-width: 0;
    /* 必要なフレックスアイテムの縮小を確保 */
}

.article-title {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 5px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.article-title a:hover {
    color: #CC5500;
}

.article-date {
    font-size: 12px;
    color: #777;
}

.articles-action {
    text-align: center;
    padding: 10px 0 5px;
}

.show-more-btn {
    background: transparent;
    border: none;
    color: #CC5500;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 15px;
    transition: all 0.2s;
}

.show-more-btn:hover {
    background: #fff0e0;
}

.show-more-btn .less-text,
.show-more-btn .less-icon,
.show-more-btn.active .more-text,
.show-more-btn.active .more-icon {
    display: none;
}

.show-more-btn.active .less-text,
.show-more-btn.active .less-icon {
    display: inline-block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .related-articles-section {
        margin: 15px 0;
        padding: 12px;
    }

    .section-title {
        font-size: 16px;
    }

    .article-title {
        font-size: 14px;
    }
}

/* 产品图片加载优化 */
.slide-item {
    position: relative;
    overflow: hidden;
}

.slide-item.not-loaded {
    background-color: #f8f8f8;
}

.slide-item.is-loading {
    background-color: #f8f8f8;
}

.slide-item.is-loaded .slide-loader {
    display: none;
}

.slide-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #CC5500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 图片过渡效果优化 */
.slide-item picture img {
    transition: opacity 0.3s ease;
}

.slide-item.not-loaded picture img,
.slide-item.is-loading picture img {
    opacity: 0;
}

.slide-item.is-loaded picture img {
    opacity: 1;
}

/* 缩略图优化 */
.slideThumb {
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.slideThumb:hover,
.slideThumb.active {
    transform: translateY(-2px);
    opacity: 1;
}

/* 确保webp和avif格式适配 */
picture {
    display: block;
    width: 100%;
}

/* 移动端浮动购物车按钮优化 */
.mobile-floating-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: transform 0.3s ease;
    transform: translateY(100%);
    opacity: 0;
}

.mobile-floating-cart.active {
    opacity: 1;
}

.mobile-floating-cart.show {
    transform: translateY(0);
}

.floating-add-cart {
    width: 100%;
    padding: 12px;
}

@media (min-width: 769px) {
    .mobile-floating-cart {
        display: none;
    }
}


/* 最新公告提示 - TEMU风格+日系电商风格 Start */
.k-latest-announcement {
    background: linear-gradient(90deg, #fff7e6 0%, #ffe0b2 100%);
    /* 柔和渐变橙黄 */
    border-left: 6px solid #ff8800;
    /* TEMU橙色 */
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(255, 136, 0, 0.08), 0 1.5px 6px rgba(0, 0, 0, 0.04);
    padding: 13px 18px 13px 16px;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    animation: k-announcement-fadein 0.7s cubic-bezier(.4, 0, .2, 1);
}

@keyframes k-announcement-fadein {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.k-announcement-icon {
    color: #ff8800;
    font-size: 22px;
    margin-right: 14px;
    flex-shrink: 0;
    animation: k-bullhorn-shake 1.5s infinite linear;
}

@keyframes k-bullhorn-shake {

    0%,
    100% {
        transform: rotate(-8deg);
    }

    10% {
        transform: rotate(8deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(8deg);
    }

    40% {
        transform: rotate(-8deg);
    }

    50%,
    100% {
        transform: rotate(-8deg);
    }
}

.k-announcement-content {
    flex-grow: 1;
    max-width: 1150px;
    margin: auto;
    text-align: left;
    letter-spacing: 0.01em;
}

.k-announcement-content a {
    color: #d35400;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.2s, text-shadow 0.2s;
    padding: 0 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 1px 2px rgba(255, 136, 0, 0.04);
}

.k-announcement-content a:hover {
    color: #ff8800;
    text-shadow: 0 2px 8px #ffe0b2;
    background: #fffbe6;
    text-decoration: underline;
}

/* 小icon角标（日系风格） */
.k-latest-announcement::before {
    content: "新";
    display: inline-block;
    background: #ff8800;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 8px 8px 8px 0;
    padding: 2px 8px 2px 7px;
    position: absolute;
    left: -1px;
    top: -10px;
    box-shadow: 0 2px 6px rgba(255, 136, 0, 0.10);
    letter-spacing: 0.1em;
    z-index: 2;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .k-latest-announcement {
        padding: 9px 8px 9px 8px;
        min-height: 38px;
        border-radius: 8px;
    }

    .k-announcement-icon {
        font-size: 18px;
        margin-right: 8px;
    }

    .k-announcement-content a {
        font-size: 14px;
        padding: 0 1px;
    }

    .k-latest-announcement::before {
        font-size: 10px;
        padding: 1.5px 6px 1.5px 5px;
        top: -8px;
    }
}

/* 最新公告提示 - TEMU风格+日系电商风格 End */


/* 支付立减活动 Start */
.payment-discount-banner {
    margin-bottom: 8px;
}

.discount-tag {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    display: flex;
    align-items: center;
    animation: pulse 2s infinite;
}

.discount-icon {
    font-size: 1.2em;
    margin-right: 8px;
}

.discount-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.95em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.discount-amount {
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 4px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .discount-tag {
        padding: 6px 10px;
    }

    .discount-text {
        font-size: 0.9em;
    }

    .discount-amount {
        font-size: 1.1em;
    }
}

/* 支付立减活动 End */

/* ============================
   关連商品セクション
   ============================ */
.related-products-section {
    margin: 30px 0;
    padding: 25px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.related-products-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #CC5500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-products-title i {
    color: #CC5500;
    font-size: 1.1rem;
}

/* 関連商品グリッド */
.rp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.rp-grid__item {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.rp-grid__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.rp-grid__item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.rp-grid__item-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    margin: 0;
}

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

.rp-grid__item:hover .rp-grid__item-image img {
    transform: scale(1.05);
}

.rp-grid__item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 12px 12px 5px;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
}

.rp-grid__item-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #CC5500;
    padding: 0 12px 12px;
    margin: 0;
}

.rp-grid__item-content {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0 12px 12px;
    line-height: 1.5;
}

/* タブレット対応 */
@media (max-width: 992px) {
    .rp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .related-products-section {
        margin: 20px -10px;
        padding: 20px 15px;
        border-radius: 0;
    }

    .rp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-products-title {
        font-size: 1.1rem;
    }

    .rp-grid__item-name {
        font-size: 0.85rem;
        padding: 10px 10px 5px;
    }

    .rp-grid__item-price {
        font-size: 0.95rem;
        padding: 0 10px 10px;
    }
}

/* 小型モバイル */
@media (max-width: 480px) {
    .rp-grid__item-name {
        font-size: 0.8rem;
        min-height: 2.5em;
    }

    .rp-grid__item-price {
        font-size: 0.9rem;
    }
}

/* 関連商品セクション End */

/* =====================================================
   移动端菜单 - 现代化设计 (2024 Style)
   ===================================================== */
.k-sp-menu {
    background: #F5F5F7;
    min-height: 100%;
}

/* 隐藏旧样式 */
@media (min-width: 769px) {
    .k-sp-menu {
        display: none;
    }
}

/* CTA 按钮区域 */
.k-sp-menu__cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.k-sp-menu__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.k-sp-menu__cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.k-sp-menu__cta-btn i {
    font-size: 18px;
}

.k-sp-menu__cta-btn--primary {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.k-sp-menu__cta-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    color: white;
}

.k-sp-menu__cta-btn--accent {
    background: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 219, 0.4);
}

.k-sp-menu__cta-btn--accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 219, 0.5);
    color: white;
}

.k-sp-menu__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #FF3B30;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* 区块样式 */
.k-sp-menu__section {
    padding: 16px;
}

.k-sp-menu__section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #8E8E93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-left: 4px;
}

.k-sp-menu__section-title i {
    font-size: 14px;
    color: #FF6B35;
}

/* 用户卡片 (登录状态) */
.k-sp-menu__user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.k-sp-menu__user-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.k-sp-menu__user-avatar i {
    font-size: 24px;
    color: white;
}

.k-sp-menu__user-info {
    display: flex;
    flex-direction: column;
}

.k-sp-menu__user-greeting {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.k-sp-menu__user-name {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

/* 导航列表 */
.k-sp-menu__nav-list {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.k-sp-menu__nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    text-decoration: none;
    color: #1C1C1E;
    border-bottom: 1px solid #F2F2F7;
    transition: all 0.2s ease;
}

.k-sp-menu__nav-item:last-child {
    border-bottom: none;
}

.k-sp-menu__nav-item:hover,
.k-sp-menu__nav-item:active {
    background: #F2F2F7;
}

.k-sp-menu__nav-item i:first-child {
    font-size: 18px;
    color: #FF6B35;
    width: 24px;
    text-align: center;
}

.k-sp-menu__nav-item span {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.k-sp-menu__nav-item i:last-child {
    font-size: 12px;
    color: #C7C7CC;
}

.k-sp-menu__nav-item--muted {
    opacity: 0.7;
}

.k-sp-menu__nav-item--muted i:first-child {
    color: #8E8E93;
}

/* 访客按钮 (未登录状态) */
.k-sp-menu__guest-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.k-sp-menu__guest-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: white;
    border-radius: 14px;
    text-decoration: none;
    color: #1C1C1E;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.k-sp-menu__guest-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.k-sp-menu__guest-btn--register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.k-sp-menu__guest-btn--register:hover {
    color: white;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.45);
}

.k-sp-menu__guest-btn-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.k-sp-menu__guest-btn-icon i {
    font-size: 20px;
}

.k-sp-menu__guest-btn--register .k-sp-menu__guest-btn-icon {
    background: rgba(255, 255, 255, 0.25);
}

.k-sp-menu__guest-btn--register .k-sp-menu__guest-btn-icon i {
    color: white;
}

.k-sp-menu__guest-btn:not(.k-sp-menu__guest-btn--register) .k-sp-menu__guest-btn-icon {
    background: #F2F2F7;
}

.k-sp-menu__guest-btn:not(.k-sp-menu__guest-btn--register) .k-sp-menu__guest-btn-icon i {
    color: #FF6B35;
}

.k-sp-menu__guest-btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.k-sp-menu__guest-btn-title {
    font-size: 15px;
    font-weight: 700;
}

.k-sp-menu__guest-btn-bonus {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.k-sp-menu__guest-btn-sub {
    font-size: 12px;
    color: #8E8E93;
}

.k-sp-menu__guest-btn i:last-child {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.k-sp-menu__guest-btn:not(.k-sp-menu__guest-btn--register) i:last-child {
    color: #C7C7CC;
}

/* 底部 */
.k-sp-menu__footer {
    padding: 16px;
    background: #E5E5EA;
}

.k-sp-menu__home-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #1C1C1E;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.k-sp-menu__home-btn i {
    font-size: 18px;
    color: #FF6B35;
}

.k-sp-menu__home-btn:hover {
    background: #FF6B35;
    color: white;
}

.k-sp-menu__home-btn:hover i {
    color: white;
}

/* 隐藏旧的样式容器 */
.k-headerLinkArea {
    display: none;
}