@font-face {
    font-family: 'NotoSerifJP';
    src: url('../font/NotoSerifJP-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifJP';
    src: url('../font/NotoSerifJP-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifJP';
    src: url('../font/NotoSerifJP-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifJP';
    src: url('../font/NotoSerifJP-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifJP';
    src: url('../font/NotoSerifJP-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifJP';
    src: url('../font/NotoSerifJP-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifJP';
    src: url('../font/NotoSerifJP-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifJP';
    src: url('../font/NotoSerifJP-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'NotoSerifJP', serif;
}

.container {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 顶部区域 */
.top-header {
    background-color: #fff;
    padding: 5px 0;
}

.top-header .header-inner {
    display: flex;
    align-items: center;
}

.logo-section {
    flex: 0 0 15%;
    max-width: 15%;
}

.logo img {
    width: auto;
    height: var(--logo-height, 64px);
    max-width: 100%;
    object-fit: contain;
}

.header-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
}

.header-text {
    flex: 1;
    text-align: left;
    color: #e53935;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
}

.header-text a {
    color: #333;
    text-decoration: none;
}

.header-text a:hover {
    text-decoration: underline;
}

.header-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header-contact-item:hover {
    color: #e53935;
}

.header-contact-item svg {
    flex-shrink: 0;
    color: #e53935;
}

.header-icons {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.header-icons .item {
    position: relative;
}

.header-icons .item button:not(.auth-btn) {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.header-icons .item img {
    width: 24px;
    height: 24px;
}

.header-icons .cart-list {
    position: relative;
}

.header-icons .cart-list #cart-total {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 搜索框展开 */
.search-expand {
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    transition: max-height 0.3s ease;
}

.search-expand.active {
    max-height: 80px;
}

.search-box {
    display: flex;
    padding: 15px 0;
}

.search-box input {
    flex: 1;
    height: 40px;
    border: 1px solid #ddd;
    padding: 0 15px;
    font-size: 14px;
    outline: none;
}

.search-box input:focus {
    border-color: #e53935;
}

.search-box button {
    width: 50px;
    height: 40px;
    background-color: #e53935;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

/* 登录弹窗 */
.item.account {
    position: relative;
}

.login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    z-index: 1001;
    display: none;
}

.login-dropdown.active {
    display: block;
}

.login-dropdown h3 {
    font-size: 18px;
    color: #e53935;
    text-align: center;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 13px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.login-form input {
    width: 100%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
}

.login-form input:focus {
    border-color: #e53935;
}

.login-btn {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    background-color: #e53935;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 15px;
}

.login-btn:hover {
    background-color: #c62828;
}

.login-links {
    text-align: center;
}

.login-links p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

/* 登录/注册表单增强样式 */
.auth-form input {
    width: 100%;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
    box-sizing: border-box;
}

.auth-form input:focus {
    border-color: #e53935;
}

.auth-btn {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    background-color: #e53935;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 15px;
}

.auth-btn:hover {
    background-color: #c62828;
}

.auth-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 社交登录样式 */
.social-login-divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.social-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.social-login-divider span {
    background: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
    position: relative;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 42px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.social-login-btn.google-btn {
    background: #fff;
    color: #333;
}

.social-login-btn.google-btn:hover {
    background: #f5f5f5;
    border-color: #4285F4;
}

.social-login-btn.twitter-btn {
    background: #1DA1F2;
    color: #fff;
    border-color: #1DA1F2;
}

.social-login-btn.twitter-btn:hover {
    background: #0c85d0;
}

/* 联系表单样式 */
.chenren-contact-form-wrap {
    width: 100%;
}

.chenren-contact-form .form-field {
    margin-bottom: 20px;
}

.chenren-contact-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.chenren-contact-form label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.chenren-contact-form input[type="email"],
.chenren-contact-form input[type="text"] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.chenren-contact-form input:focus {
    outline: none;
    border-color: #e74c3c;
}

.chenren-contact-form .field-hint {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.chenren-contact-form .field-hint a {
    color: #e74c3c;
    text-decoration: none;
}

.chenren-contact-form .field-hint a:hover {
    text-decoration: underline;
}

.chenren-contact-form .captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chenren-contact-form .captcha-input {
    width: 150px !important;
    flex-shrink: 0;
}

.chenren-contact-form .captcha-image {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.chenren-contact-form .captcha-refresh {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.chenren-contact-form .captcha-refresh:hover {
    background: #eee;
}

.chenren-contact-form .captcha-refresh svg {
    color: #666;
}

.chenren-contact-form .contact-submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.chenren-contact-form .contact-submit-btn:hover {
    background: #c0392b;
}

.chenren-contact-form .contact-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.chenren-contact-form .form-message {
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.chenren-contact-form .form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.chenren-contact-form .form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 面包屑样式 - 通用 */
.pd-breadcrumb {
    background-color: #f5f5f5;
    padding: 15px 0;
}

.pd-breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #666;
}

.pd-breadcrumb-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.pd-breadcrumb-nav a:hover {
    color: #e91e63;
}

.pd-breadcrumb-sep {
    margin: 0 10px;
    color: #999;
}

.pd-breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* 页面模板内容间距 */
.page-content {
    padding: 40px 0;
}

.page-content .page-header {
    margin-bottom: 30px;
}

.page-content .page-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 古腾堡区块间距样式 */
.page-entry > *,
.entry-content > * {
    margin-bottom: 1.5em;
}

.page-entry > *:last-child,
.entry-content > *:last-child {
    margin-bottom: 0;
}

.page-entry p,
.entry-content p {
    margin-bottom: 1.2em;
    line-height: 1.8;
}

.page-entry h1,
.page-entry h2,
.page-entry h3,
.page-entry h4,
.page-entry h5,
.page-entry h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.page-entry ul,
.page-entry ol,
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.2em;
    padding-left: 1.5em;
}

.page-entry li,
.entry-content li {
    margin-bottom: 0.5em;
}

.page-entry blockquote,
.entry-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #e74c3c;
    background: #f9f9f9;
}

.page-entry img,
.entry-content img {
    max-width: 100%;
    height: auto;
}

.page-entry .wp-block-group,
.entry-content .wp-block-group {
    margin-bottom: 1.5em;
}

.page-entry .wp-block-columns,
.entry-content .wp-block-columns {
    margin-bottom: 1.5em;
}

/* 表格样式 */
.page-entry .wp-block-table,
.entry-content .wp-block-table {
    margin-bottom: 1.5em;
}

.page-entry .wp-block-table table,
.entry-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.page-entry .wp-block-table th,
.page-entry .wp-block-table td,
.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.page-entry .wp-block-table th,
.entry-content .wp-block-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.page-entry .wp-block-table td,
.entry-content .wp-block-table td {
    background-color: #fff;
}

.page-entry .wp-block-table a,
.entry-content .wp-block-table a {
    color: #dc3545;
    text-decoration: none;
}

.page-entry .wp-block-table a:hover,
.entry-content .wp-block-table a:hover {
    text-decoration: underline;
}

/* Elementor表格样式 */
.elementor-widget-table table,
.elementor table,
table.elementor-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

.elementor-widget-table th,
.elementor-widget-table td,
.elementor table th,
.elementor table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.elementor-widget-table th,
.elementor table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.elementor-widget-table td,
.elementor table td {
    background-color: #fff;
}

.elementor-widget-table a,
.elementor table a {
    color: #dc3545;
    text-decoration: none;
}

.elementor-widget-table a:hover,
.elementor table a:hover {
    text-decoration: underline;
}

/* 通用表格样式 */
.page-entry table,
.entry-content table,
.site-main table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

.page-entry table th,
.page-entry table td,
.entry-content table th,
.entry-content table td,
.site-main table th,
.site-main table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.page-entry table th,
.entry-content table th,
.site-main table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.page-entry table a,
.entry-content table a,
.site-main table a {
    color: #dc3545;
    text-decoration: none;
}

.page-entry table a:hover,
.entry-content table a:hover,
.site-main table a:hover {
    text-decoration: underline;
}

/* Elementor联系表单样式 */
.chenren-elementor-contact-form {
    width: 100%;
}

.chenren-elementor-contact-form .form-row {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.chenren-elementor-contact-form .form-row label {
    width: 180px;
    flex-shrink: 0;
    padding-top: 10px;
    font-size: 14px;
    color: #dc3545;
}

.chenren-elementor-contact-form .form-row label .required {
    color: #dc3545;
    margin-right: 2px;
}

.chenren-elementor-contact-form .form-input {
    flex: 1;
}

.chenren-elementor-contact-form input[type="text"],
.chenren-elementor-contact-form input[type="email"] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
}

.chenren-elementor-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    resize: vertical;
}

.chenren-elementor-contact-form input:focus,
.chenren-elementor-contact-form textarea:focus {
    outline: none;
    border-color: #999;
}

.chenren-elementor-contact-form .field-hint {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.chenren-elementor-contact-form .field-hint a {
    color: #dc3545;
    text-decoration: none;
}

.chenren-elementor-contact-form .captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chenren-elementor-contact-form .captcha-input {
    width: 200px !important;
    flex-shrink: 0;
}

.chenren-elementor-contact-form .captcha-image {
    height: 40px;
    border: 1px solid #ddd;
}

.chenren-elementor-contact-form .captcha-refresh {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5cb85c;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.chenren-elementor-contact-form .captcha-refresh:hover {
    opacity: 0.8;
}

.chenren-elementor-contact-form .captcha-refresh svg {
    color: #fff;
}

.chenren-elementor-contact-form .contact-submit-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.chenren-elementor-contact-form .contact-submit-btn:hover {
    opacity: 0.9;
}

.chenren-elementor-contact-form .contact-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.chenren-elementor-contact-form .form-message {
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    margin-top: 15px;
}

.chenren-elementor-contact-form .form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.chenren-elementor-contact-form .form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .chenren-elementor-contact-form .form-row {
        flex-direction: column;
    }
    
    .chenren-elementor-contact-form .form-row label {
        width: 100%;
        padding-top: 0;
        margin-bottom: 8px;
    }
}

/* 产品标签页样式 */
.product-tags-page {
    padding: 40px 0;
    min-height: 500px;
}

.product-tags-header {
    margin-bottom: 30px;
}

.product-tags-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-tags-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.product-tags-list {
    display: grid;
    gap: 15px 20px;
}

.product-tags-list.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.product-tags-list.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-tags-list.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-tags-list.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.product-tag-item a {
    display: block;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.product-tag-item a:hover {
    color: #dc3545;
}

.product-tags-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.product-tags-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.product-tags-pagination .page-numbers:hover {
    background: #f5f5f5;
}

.product-tags-pagination .page-numbers.current {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.no-tags-message {
    text-align: center;
    color: #666;
    padding: 40px 0;
}

@media (max-width: 992px) {
    .product-tags-list.columns-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .product-tags-list.columns-4,
    .product-tags-list.columns-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .product-tags-list.columns-3,
    .product-tags-list.columns-4,
    .product-tags-list.columns-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 视频列表页样式 */
.video-list-page {
    padding: 40px 0;
    min-height: 500px;
}

.video-list-header {
    margin-bottom: 30px;
}

.video-list-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.video-list-description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #ccc;
}

.video-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.video-card:hover .video-play-icon {
    opacity: 1;
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-views {
    font-size: 13px;
    color: #999;
}

.video-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.video-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.video-pagination .page-numbers:hover {
    background: #f5f5f5;
}

.video-pagination .page-numbers.current {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.no-videos-message {
    text-align: center;
    color: #666;
    padding: 40px 0;
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* 视频详情页样式 */
.video-single-page {
    padding: 40px 0;
    min-height: 500px;
}

.video-detail-header {
    margin-bottom: 25px;
}

.video-detail-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.video-meta {
    font-size: 13px;
    color: #999;
}

.video-meta span {
    margin-right: 15px;
}

.video-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 30px;
    background: #000;
}

.video-player iframe,
.video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-content {
    margin-bottom: 40px;
    line-height: 1.8;
}

/* 视频详情页表格样式 */
.video-content table,
.video-single-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.video-content table tr,
.video-single-page table tr {
    border-bottom: 1px solid #eee;
}

.video-content table tr:nth-child(odd),
.video-single-page table tr:nth-child(odd) {
    background: #fafafa;
}

.video-content table td,
.video-single-page table td {
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    vertical-align: top;
}

.video-content table td:first-child,
.video-single-page table td:first-child {
    color: #666;
    width: 120px;
}

.video-content table td:nth-child(2),
.video-single-page table td:nth-child(2) {
    width: 150px;
}

.video-content table td:nth-child(3),
.video-single-page table td:nth-child(3) {
    color: #666;
    width: 120px;
}

/* 推荐视频 */
.related-videos {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-videos-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    cursor: pointer;
}

.remember-me input {
    width: auto;
    height: auto;
    margin: 0;
}

.form-message {
    margin-bottom: 10px;
}

.form-message p {
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    margin: 0;
}

.form-message .success {
    background: #e8f5e9;
    color: #2e7d32;
}

.form-message .error {
    background: #ffebee;
    color: #c62828;
}

/* 已登录用户菜单 */
.user-logged-in .welcome-text {
    font-size: 14px;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.user-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-menu li {
    margin-bottom: 8px;
}

.user-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.user-menu a:hover {
    background: #f5f5f5;
}

.user-menu .logout-link {
    color: #e53935;
}

.user-menu .logout-link:hover {
    background: #ffebee;
}

.login-links a {
    color: #e53935;
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

/* 购物车侧边栏 */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 500px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.cart-close {
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.cart-close .cross-horizontal,
.cart-close .cross-vertical {
    position: absolute;
    background-color: #666;
    transition: all 0.3s ease;
}

.cart-close .cross-horizontal {
    width: 20px;
    height: 2px;
    top: 14px; /* Controls vertical position */
    left: 5px;  /* Fixed horizontal position */
}

.cart-close .cross-vertical {
    width: 2px;
    height: 20px;
    left: 14px; /* Controls horizontal position */
    top: 5px;   /* Fixed vertical position */
}

.cart-close:hover .cross-horizontal,
.cart-close:hover .cross-vertical {
    background-color: #000;
}

/* Right border with upward growth effect */
.cart-close::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 2px;
    height: 0;
    background: #e53935;
    border-radius: 1px; /* Rounded ends */
    transition: height 0.3s ease, top 0.3s ease;
}

.cart-close:hover::after {
    top: 0;
    height: 100%;
}

/* Shadow effect */
.cart-close::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cart-close:hover::before {
    opacity: 1;
}

/* Background overlay on hover */
.cart-close:hover {
    background-color: rgba(245, 245, 245, 0.8);
    border-radius: 50%;
}

.cart-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    color: #999;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.cart-total-price {
    font-weight: bold;
    color: #e53935;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 45px;
    background: #e53935;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
}

.cart-checkout-btn:hover {
    background: #c62828;
}

/* 导航栏 */
.main-nav {
    background-color: #ffebee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
        justify-content: flex-start;
    position: relative;
}

.nav-list {
    display: flex;
     justify-content: flex-start;
    align-items: center;
    list-style: none;
    gap: 30px;
    position: static;
}

.nav-list li {
    position: static;
}

.nav-list > li > a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-list > li > a:hover {
    color: #e53935;
}

.nav-list .has-dropdown::after {
    content: ' ▼';
    font-size: 10px;
    color: #666;
}

/* 二级菜单 */
.has-submenu {
    position: static;
}

.submenu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
    width: 1400px;
    max-width: calc(100vw - 60px);
}

.has-submenu:hover .submenu {
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.has-submenu:hover .submenu::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.submenu-inner {
    max-width: 1460px;
    margin: 0 auto;
    padding: 30px;
}

.submenu-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.submenu-row:last-child {
    border-bottom: none;
}

.submenu-category {
    width: 16.6666667%;
    flex-shrink: 0;
    font-weight: 700;
    color: #333;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.submenu-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 83.33333333%;
    gap: 10px 20px;
}

.submenu-links a,
.submenu-featured a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    font-weight: normal;
}

.submenu-links a:hover,
.submenu-featured a:hover {
    color: #e53935;
}

.submenu-featured {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px 20px;
    margin-left: 16.6666667%;
    width: 83.33333333%;
}

/* 製品一覧下拉菜单样式 */
.submenu-products .submenu-inner {
    padding: 20px 30px;
}

.submenu-grid {
    display: grid;
    gap: 20px 40px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.submenu-grid:last-child {
    border-bottom: none;
}

.submenu-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}


.submenu-col-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e53935;
    display: inline-block;
}

.submenu-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.submenu-col-links li {
    margin: 0;
    line-height: 2;
}

.submenu-col-links a {
    color: #666;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s;
}

.submenu-col-links a:hover {
    color: #e53935;
}

.submenu-col-links a.highlight {
    color: #e53935;
    border: 1px solid #e53935;
    padding: 2px 8px;
    border-radius: 3px;
}

/* ドールについて图片式下拉菜单样式 */
.submenu-about .submenu-inner {
    padding: 25px 30px;
}

.submenu-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.submenu-image-item {
    display: block;
    text-decoration: none;
    text-align: center;
}

.submenu-image-box {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 10px;
}

.submenu-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.submenu-image-item:hover .submenu-image-box img {
    transform: scale(1.05);
}

.submenu-image-title {
    display: block;
    font-size: 14px;
    color: #333;
    transition: color 0.2s;
}

.submenu-image-item:hover .submenu-image-title {
    color: #e53935;
}

/* サポート普通下拉菜单样式 */
.has-submenu:has(.submenu-simple) {
    position: relative;
}

.submenu-simple {
    min-width: 200px;
    width: auto;
    left: 50%;
    transform: translateX(-50%);
}

.submenu-simple .submenu-inner {
    padding: 15px 20px;
}

.submenu-simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu-simple-list li {
    margin-bottom: 8px;
}

.submenu-simple-list li:last-child {
    margin-bottom: 0;
}

.submenu-simple-list a {
    display: block;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.5;
}

.submenu-simple-list a:hover {
    color: #e53935;
}

.submenu-simple-list a.has-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.submenu-simple-list .tag {
    margin-bottom: 3px;
    font-size: 10px;
    padding: 1px 5px;
}

.submenu-simple-list .tag-text {
    display: block;
}

.tag {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    margin-bottom: 8px;
    color: #fff;
    border-radius: 2px;
    position: relative;
}

.tag::after {
    content: '';
    position: absolute;
    left: 10px;
    bottom: -5px;
    border-width: 6px 5px 0 5px;
    border-style: solid;
    border-color: transparent;
}

.tag-red {
    background-color: #e53935;
}

.tag-red::after {
    border-top-color: #e53935;
}

.tag-green {
    background-color: #4caf50;
}

.tag-green::after {
    border-top-color: #4caf50;
}

.tag-yellow {
    background-color: #ff9800;
}

.tag-yellow::after {
    border-top-color: #ff9800;
}

.tag-blue {
    background-color: #2196f3;
}

.tag-blue::after {
    border-top-color: #2196f3;
}

/* 轮播图 */
.banner-section {
    width: 100%;
    position: relative;
}

.banner-swiper {
    width: 100%;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
    color: #ccc;
    background-color: transparent;
    width: 15%;
    height: 100%;
    top: 0;
    margin-top: 0;
    transition: background-color 0.3s, color 0.3s;
}

.banner-swiper .swiper-button-prev {
    left: 0;
}

.banner-swiper .swiper-button-next {
    right: 0;
}

.banner-swiper .swiper-button-prev:hover,
.banner-swiper .swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after {
    font-size: 24px;
}

.banner-swiper .swiper-pagination {
    bottom: 20px;
}

.banner-swiper .swiper-pagination-bullet {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.banner-swiper .swiper-pagination-bullet-active {
    background-color: #fff;
}

/* 产品分类 */
.category-section {
    padding: 40px 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    width: 33.33333%;
    margin-left: auto;
    margin-right: auto;
}

.section-title .line {
    flex: 1;
    height: 1px;
    background-color: #e53935;
}

.section-title .text {
    padding: 0 20px;
    font-size: 24px;
    font-weight: bold;
    color: #e53935;
    white-space: nowrap;
}

.category-swiper {
    overflow: hidden;
}

.category-item {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.category-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20%;
    z-index: 10;
    background: rgba(229, 57, 53, 0.6);
    padding: .25rem .5rem;
    color: #fff;
    font-size: 1.25rem;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.category-item:hover .category-title {
    opacity: 0;
}

/* 分类轮播切换按钮 */
.category-swiper .swiper-button-prev,
.category-swiper .swiper-button-next {
    color: #ccc;
    background-color: transparent;
    width: 5%;
    height: 100%;
    top: 0;
    margin-top: 0;
    transition: background-color 0.3s, color 0.3s;
}

.category-swiper .swiper-button-prev {
    left: 0;
}

.category-swiper .swiper-button-next {
    right: 0;
}

.category-swiper .swiper-button-prev:hover,
.category-swiper .swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.category-swiper .swiper-button-prev::after,
.category-swiper .swiper-button-next::after {
    font-size: 20px;
}

/* 最新情報 */
.news-section {
    padding: 40px 0;
    background-color: #fff;
}

.news-grid {
    display: flex;
}

.news-col-left,
.news-col-right {
    flex: 1;
}

.col-header {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: 1px solid #ee86a7;
    margin-bottom: 15px;
}

.col-header.news-tab {
    background-color: #ee86a7;
    color: #fff;
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.col-header.notice-tab {
    background-color: #fff;
    color: #ee86a7;
    border-radius: 0 8px 8px 0;
}

.news-list-wrap {
    margin-right: 10px;
    padding: 14px;
    background-color: #e3e3e3;
    border-radius: 3px;
    max-height: 280px;
    overflow-y: auto;
}

.news-list-wrap::-webkit-scrollbar {
    width: 6px;
}

.news-list-wrap::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.news-list-wrap::-webkit-scrollbar-thumb {
    background: #ee86a7;
    border-radius: 3px;
}

.news-list-wrap::-webkit-scrollbar-thumb:hover {
    background: #e05a7a;
}

.notice-list {
    list-style: none;
    padding: 14px;
    margin: 0;
    margin-left: 10px;
    background-color: #e3e3e3;
    border-radius: 3px;
    height: 280px;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.news-text {
    margin-bottom: 5px;
}

.news-tag {
    display: inline-block;
    background-color: #e53935;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px;
    margin-right: 5px;
}

.news-text a {
    color: #e53935;
    text-decoration: none;
    font-weight: bold;
}

.news-text a:hover {
    color: #e53935;
    text-decoration: underline;
}

.news-desc {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.notice-list li {
    padding: 10px 0;
    color: #333;
    font-size: 16px;
}

.notice-list li span {
    font-weight: bold;
}

.notice-list a {
    color: #e53935;
    text-decoration: none;
}

.notice-list a:hover {
    text-decoration: underline;
}

/* 关于我们 */
.about-section {
    padding: 60px 0;
}

.about-grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.about-content {
    flex: 1;
}

.about-title {
    color: #e53935;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 20px 0;
}

.about-text {
    color: #333;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 动态计数 */
.counter-section {
    padding: 50px 0;
    background-color: #ffebee;
}

.counter-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-value {
    display: flex;
    align-items: baseline;
}

.counter-number,
.counter-suffix {
    color: #e53935;
    font-size: 48px;
    font-weight: bold;
}

.counter-label {
    color: #e53935;
    font-size: 16px;
    margin-top: 10px;
}

/* 产品列表 */
.products-section {
    padding: 40px 0;
    background-color: #fff;
}

.section-heading {
    color: #e53935;
    font-size: 28px;
    text-align: center;
    margin: 0 0 20px 0;
}

.countdown-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background-color: #ff0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 5px;
}

.countdown-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.countdown-time {
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 24px;
    font-weight: bold;
}

.countdown-sep {
    font-size: 24px;
    font-weight: bold;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #eee;
    padding: 4px;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 15px rgba(238, 134, 167, 0.6);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.product-image .img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-image:hover .img-primary {
    opacity: 0;
}

.product-image:hover .img-secondary {
    opacity: 1;
}

.discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #9c27b0;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.product-image:hover .discount-tag {
    opacity: 0;
}

.product-info {
    padding: 15px 0 0 0;
    text-align: center;
}

.product-title {
    font-size: 14px;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: #e53935;
}

.product-price {
    margin-bottom: 15px;
}

.current-price {
    color: #e53935;
    font-size: 18px;
    font-weight: bold;
}

.original-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    margin-left: 10px;
}

.product-btn {
    display: block;
    color: #fff;
    text-align: center;
    padding: 5px;
    text-decoration: none;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(#e9c1b2, #f7c5b3 5%, #f3ae9c 6%, #ef937f 10%, #ed8579 15%, #e65262 50%, #dd1242 98%, #db5e71 100%);
    box-shadow: 2px 1px 5px rgba(0, 0, 0, .4);
    transition: opacity 0.3s;
}

.product-btn:hover {
    opacity: 0.9;
}

/* 分类展示 */
.category-showcase {
    padding: 40px 0;
    background-color: #fff;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.showcase-item {
    display: block;
    text-decoration: none;
}

.showcase-image {
    position: relative;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.1);
}

.showcase-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.showcase-item:hover .showcase-tag {
    opacity: 0;
}

/* 关于销售 */
.about-sales {
    padding: 40px 0;
    background-color: #fff;
}

.sales-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 30px 0;
    padding: 20px;
    background-color: #f5f5f5;
    text-align: justify;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    padding: 10px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-label {
    opacity: 0;
}


.video-item video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: 15px;
    text-align: center;
}

.video-info h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 5px 0;
}

.video-info span {
    font-size: 12px;
    color: rgb(102, 102, 102);
}

/* 实物写真 */
.real-photos {
    padding: 40px 0;
    background-color: #fff;
}

.photos-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 30px 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.photo-item {
    text-align: center;
    border: 1px solid #eee;
    padding: 4px;
    transition: box-shadow 0.3s ease;
}

.photo-item:hover {
    box-shadow: 0 4px 15px rgba(238, 134, 167, 0.6);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-item p {
    font-size: 12px;
    color: #333;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

.more-btn-wrap {
    text-align: center;
}

.more-btn {
    display: inline-block;
    background-color: #e53935;
    color: #fff;
    padding: 12px 40px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.more-btn:hover {
    background-color: #c62828;
}

/* NEW ARRIVAL 覆盖层 */
.new-arrival {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 5;
    width: 80%;
    transition: opacity 0.3s ease;
}

.product-image:hover .new-arrival {
    opacity: 0;
}

.arrival-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.arrival-heading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrival-text {
    position: relative;
    padding: 0 30px;
    font-size: 14px;
}

.arrival-text::before,
.arrival-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background-color: #fff;
}

.arrival-text::before {
    left: 0;
}

.arrival-text::after {
    right: 0;
}

/* 为什么选择Dachiwife */
.why-section {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.why-feature {
    text-align: center;
}

.why-icon {
    height: 48px;
    margin-bottom: 15px;
}

.why-feature h3 {
    font-size: 16px;
    color: #e53935;
    margin: 0 0 10px 0;
}

.why-feature p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.why-faq {
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.why-faq-title {
    font-size: 18px;
    color: #e53935;
    margin: 0 0 20px 0;
}

.why-faq-item {
    margin-bottom: 15px;
}

.why-faq-q {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

.why-faq-a {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.why-faq-hidden {
    display: none;
}

.why-faq-hidden.show {
    display: block;
}

.why-expand-btn {
    margin-top: 20px;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid #ddd;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.why-expand-btn:hover {
    border-color: #e53935;
    color: #e53935;
}

/* 证书轮播 */
.certificate-section {
    padding: 40px 0;
    background-color: #fff;
}

.certificate-swiper {
    position: relative;
 
}

.certificate-card {
    text-align: center;
    border: 1px solid #eee;
    padding: 10px;
    transition: box-shadow 0.3s ease;
}

.certificate-card:hover {
    box-shadow: 0 4px 15px rgba(238, 134, 167, 0.6);
}

.certificate-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.certificate-card p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.certificate-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.certificate-prev,
.certificate-next {
    width: 80px;
    height: 36px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.certificate-prev:hover,
.certificate-next:hover {
    border-color: #e53935;
    color: #e53935;
}

/* 合作品牌 */
.brands-section {
    padding: 40px 0;
    background-color: #fff;
}

.brands-swiper {
    position: relative;
    padding-bottom: 50px;
}

.brands-page {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-item {
    border: 1px solid #eee;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.brand-item img {
    max-width: 100%;
    height: auto;
}

.brands-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.brands-prev,
.brands-next {
    width: 80px;
    height: 36px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.brands-prev:hover,
.brands-next:hover {
    border-color: #e53935;
    color: #e53935;
}

/* Blog板块 */
.blog-section {
    padding: 40px 0;
    background-color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
}

.blog-image {
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
    height: 500px;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card:hover .blog-title a {
    color: #e53935;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
    transition: color 0.3s;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-title {
    color: #e53935;
}

.blog-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #000;
    color: #999;
    padding: 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-logo {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 10px;
}

 

.footer-links h3 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 15px;
    font-weight: normal;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* 评论板块 */
.reviews-section {
    padding: 40px 0;
    background-color: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.review-card {
    border: 1px solid #eee;
    padding: 10px;
}

.review-main-image {
    margin-bottom: 10px;
}

.review-main-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    cursor: pointer;
}

.review-title {
    font-size: 14px;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.5;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.review-title a {
    color: #333;
    text-decoration: none;
}

.review-title a:hover {
    color: #c41230;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.reviewer {
    font-size: 12px;
    color: #666;
}

.review-stars {
    color: #ff9800;
    font-size: 12px;
}

.review-date {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}

.review-content {
    font-size: 16px;
    color: #2d2d2d;
    line-height: 1.6;
    margin: 0 0 10px 0;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.review-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.review-thumbs img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    cursor: pointer;
    cursor: pointer;
    border: 1px solid #eee;
}

/* 灯箱 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    animation: lightboxZoom 0.3s ease;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* 手风琴FAQ */
.faq-section {
    padding: 40px 0;
    background-color: #fff;
}

.accordion-item {
    border: 1px solid #eee;
    margin-bottom: -1px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: transparent;
}

.accordion-header span:first-child {
    font-size: 16px;
    color: #333;
}

.accordion-icon {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
    background-color: #ffebee;
}

.accordion-item.active .accordion-header span:first-child {
    color: #e53935;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    background-color: #fff;
}

/* 移动端样式 */
.mobile-top-text {
    display: none;
}

.mobile-menu-btn {
    display: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 3000;
    transition: left 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-menu-sidebar.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-menu-nav a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

.mobile-menu-nav a:hover {
    background: #f5f5f5;
    color: #e53935;
}

/* 移动端下拉子菜单 */
.mobile-menu-nav > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-arrow {
    transition: transform 0.3s;
}

.has-mobile-submenu.active .mobile-arrow {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    background: #f9f9f9;
    padding-left: 0;
}

.has-mobile-submenu.active .mobile-submenu {
    display: block;
}

.mobile-submenu li {
    border-bottom: 1px solid #eee;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu a {
    padding: 12px 20px 12px 35px;
    font-size: 14px;
    color: #666;
}

.mobile-submenu a:hover {
    color: #e53935;
    background: #f0f0f0;
}

.mobile-submenu-title {
    padding: 10px 20px 5px 20px;
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    border-bottom: none !important;
}

.mobile-submenu a.has-mobile-tag {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-submenu .tag {
    margin-bottom: 3px;
    font-size: 10px;
    padding: 1px 5px;
}

@media (max-width: 768px) {
    .mobile-top-text {
        display: block;
        background: #ffebee;
        color: #e53935;
        font-size: 14px;
        padding: 8px 15px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .top-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #fff;
        transition: transform 0.3s;
    }
    
    .top-header .header-inner {
        padding: 10px 15px;
    }
    
    .header-center {
        display: none;
    }
    
    .logo-section {
        flex: 1;
        max-width: none;
    }
    
    .logo img {
        height: var(--logo-height-mobile, 40px);
        width: auto;
    }
    
    .header-icons {
        flex: 0;
        max-width: none;
        gap: 10px;
    }
    
    .main-nav {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* 最新情報手机端 */
    .news-grid {
        flex-direction: column;
    }
    
    .col-header.news-tab {
        border-radius: 8px;
        border-right: 1px solid #ee86a7;
    }
    
    .col-header.notice-tab {
        border-radius: 8px;
    }
    
    .news-list-wrap {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .notice-list {
        margin-left: 0;
        height: auto;
    }
    
    /* 关于我们手机端 */
    .about-grid {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-content {
        flex: none;
        width: 100%;
        padding-right: 0;
    }
    
    .about-text {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .about-image {
        flex: none;
        width: 100%;
    }
    
    /* 动态计数手机端 */
    .counter-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .counter-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* 倒计时手机端 */
    .countdown-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .countdown-bar .countdown-text {
        text-align: center;
    }
    
    /* 产品列表手机端 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* 分类展示手机端 */
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    /* 媒体网格手机端 */
    .media-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    /* 实物写真手机端 */
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 评论区手机端 */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .review-card {
        padding: 10px;
    }
    
    .review-thumbs {
        flex-wrap: wrap;
    }
    
    .review-thumbs img {
        width: 30px;
        height: 30px;
    }
    
    .current-price {
        font-size: 14px;
    }
    
    /* why-features手机端 */
    .why-features {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .why-feature {
        display: grid;
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto;
        gap: 5px 15px;
        text-align: left;
        padding: 15px;
    }
    
    .why-feature img {
        grid-row: 1 / 3;
        margin: 0;
        width: 40px;
        height: 40px;
    }
    
    .why-feature h3 {
        margin: 0;
    }
    
    .why-feature p {
        margin: 0;
    }
    
    /* 评论meta手机端 */
    .review-meta {
        flex-wrap: wrap;
    }
    
    .reviewer {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .review-stars {
        flex: 1;
    }
    
    .review-date {
        margin-left: 0;
    }
    
    /* 合作品牌手机端 */
    .brands-page {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .brands-page .brand-item:nth-child(n+5) {
        display: none;
    }
    
    /* Blog手机端 */
    .blog-section {
        overflow: hidden;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        max-width: 100%;
        overflow: hidden;
    }
    
    .blog-image {
        height: 300px;
    }
    
    .blog-title {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Footer手机端 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 计数器手机端 */
    .counter-number,
    .counter-suffix {
        font-size: 35px;
    }
    
    /* 区块标题手机端 */
    .section-title {
        width: 100%;
    }
    
    .section-title .line {
        display: block;
        flex: 1;
    }
    
    /* showcase-grid手机端 */
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    /* 购物车侧边栏手机端 */
    .cart-sidebar {
        width: 85%;
        max-width: 400px;
    }
    
    /* 购物车蒙版 */
    .cart-overlay {
        background: rgba(0, 0, 0, 0.5);
    }
    
    body {
        overflow-x: hidden;
    }
    
    /* 修复页眉图标大小 - 防止WooCommerce样式覆盖 */
    .header-icons .item img {
        width: 24px !important;
        height: 24px !important;
        max-width: none !important;
    }
    
    .header-icons .item button {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-btn span {
        width: 20px !important;
        height: 2px !important;
    }
}

/* 悬浮图标 */
.floating-icons {
    position: fixed;
    bottom: var(--icon-bottom, 30px);
    right: var(--icon-right, 20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: var(--icon-gap, 15px);
}

.floating-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size, 50px);
    height: var(--icon-size, 50px);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.floating-icon-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-icon-item img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* 返回顶部按钮 */
.back-to-top {
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 50%;
    height: 50%;
}

/* 年龄验证弹窗 */
.age-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.age-popup-box {
    background: #fff;
    padding: 40px 50px;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-popup-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 25px 0;
    letter-spacing: 2px;
}

.age-popup-content {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    margin: 0 0 20px 0;
}

.age-popup-question {
    font-size: 16px;
    color: #333;
    margin: 0 0 25px 0;
}

.age-popup-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.age-popup-btn {
    padding: 12px 40px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    min-width: 100px;
}

.age-popup-yes {
    color: #fff;
    border: none;
}

.age-popup-yes:hover {
    opacity: 0.9;
}

.age-popup-no {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.age-popup-no:hover {
    border-color: #999;
    color: #333;
}

@media (max-width: 768px) {
    .age-popup-box {
        padding: 30px 25px;
    }
    
    .age-popup-title {
        font-size: 24px;
    }
    
    .age-popup-content {
        font-size: 14px;
    }
    
    .age-popup-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
}

/* 产品详情页视频样式 - 限制大小 */
.pd-tab-pane .wp-video,
.pd-tab-content .wp-video,
.entry-content .wp-video,
.content .wp-video {
    max-width: 600px !important;
    width: 100% !important;
    margin: 30px 0 !important;
    display: block !important;
}

.pd-tab-pane .wp-video video,
.pd-tab-content .wp-video video,
.entry-content .wp-video video,
.content .wp-video video {
    max-width: 100% !important;
    width: 100% !important;
}

.pd-tab-pane .mejs-container,
.pd-tab-content .mejs-container,
.entry-content .mejs-container,
.content .mejs-container {
    max-width: 100% !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .pd-tab-pane .wp-video,
    .pd-tab-content .wp-video,
    .entry-content .wp-video,
    .content .wp-video {
        max-width: 100% !important;
    }
}
