@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//buycabinetonline.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.1.2") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//buycabinetonline.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//buycabinetonline.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//buycabinetonline.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//buycabinetonline.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//buycabinetonline.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//buycabinetonline.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//buycabinetonline.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//buycabinetonline.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: 'Times New Roman', Times,serif;
	--wd-text-font-weight: 300;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 21px;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(71, 71, 71);
	--wd-alternative-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-widget-title-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(153,185,152);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: rgb(0,0,0);
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(153,185,152);
	--btn-accented-bgcolor-hover: rgb(135,167,134);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://buycabinetonline.com/wp-content/uploads/2021/07/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 227px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}



/* 基础样式重置 */
* {
    box-sizing: border-box;
}

/* 页面基础样式 */
.cabinet-styles-page {
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* 容器样式 - 内容居中 */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* 页面总体介绍 - 全屏背景，内容居中 */
.page-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    width: 100%;
}

.page-intro h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-description {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0.95;
}

/* 风格区域 - 全屏背景，内容居中 */
.style-section {
    padding: 4rem 0;
    position: relative;
    width: 100%;
}

.american-section {
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.european-section {
    background: linear-gradient(45deg, #343a40 0%, #495057 100%);
    color: white;
}

/* 区域标题 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.american-section .section-title {
    color: #2c3e50;
}

.european-section .section-title {
    color: #ffffff;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

.american-section .section-title::after {
    background: linear-gradient(90deg, #e74c3c, #3498db);
}

.european-section .section-title::after {
    background: linear-gradient(90deg, #f39c12, #9b59b6);
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}


.american-card {
    border-color: #3498db;
}

.european-card {
    border-color: #9b59b6;
}

.style-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.american-card:hover {
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.3);
}

.european-card:hover {
    box-shadow: 0 15px 35px rgba(155, 89, 182, 0.3);
}

/* 风格标识 */
.style-flag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.american-flag {
    background: linear-gradient(135deg, #e74c3c, #3498db);
}

.european-flag {
    background: linear-gradient(135deg, #f39c12, #9b59b6);
}

/* 徽章 */
.style-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: #ff6b35;
}

/* 图片区域 */
.style-image {
    height: 280px;
		width: 
    overflow: hidden;
    position: relative;
}

.image-link {
    display: block;
    width: 100%;
    height: 80%;
    text-decoration: none;
}

.style-image img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.style-card:hover .style-image img {
    transform: scale(1.08);
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.2rem;
    font-weight: 600;
}

.american-placeholder {
    background: linear-gradient(135deg, #3498db, #e74c3c);
    color: white;
}

.european-placeholder {
    background: linear-gradient(135deg, #9b59b6, #f39c12);
    color: white;
}

/* 内容区域 */
.style-content {
    padding: 1.5rem;
}

.style-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.title-link {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.american-card .title-link:hover {
    color: #3498db;
}

.european-card .title-link:hover {
    color: #9b59b6;
}

.style-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* 价格显示 */
.price-info {
    margin-bottom: 1.5rem;
}

.price-display {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.price-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.size-icon {
    font-size: 1.2rem;
}

.price-details {
    display: flex;
    flex-direction: column;
}

.size {
    font-size: 0.9rem;
    color: #666;
}

.price {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.price-range-text {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* 按钮样式 */
.style-actions {
    display: flex;
    gap: 0.75rem;
}

.cabinet-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    line-height: 1.4;
    font-size: 14px;
    min-height: auto;
    height: auto;
}

.cabinet-btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.cabinet-btn-primary:hover {
    background: linear-gradient(135deg, #218838, #1ba085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    color: white;
    text-decoration: none;
}

.cabinet-btn-secondary {
    background: white;
    color: #007cba;
    border: 2px solid #007cba;
}

.cabinet-btn-secondary:hover {
    background: #007cba;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 124, 186, 0.3);
    text-decoration: none;
}

/* 风格对比区域 - 全屏背景，内容居中 */
.comparison-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    width: 100%;
}

.comparison-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ecf0f1;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.american-comparison {
    border-color: #3498db;
}

.european-comparison {
    border-color: #9b59b6;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.comparison-features {
    list-style: none;
    padding: 0;
}

.comparison-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}

.comparison-features li:last-child {
    border-bottom: none;
}

.comparison-features li::before {
    content: '✓';
    color: #2ecc71;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 无风格信息 */
.no-styles-message {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    max-width: 600px;
    margin: 0 auto;
}

.european-section .no-styles-message {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-left-color: #f39c12;
}

/* 免费样品区域（如果需要） */
.free-samples-section {
    margin-top: 3rem;
    padding: 0 2rem;
}

.samples-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.samples-visual {
    text-align: center;
}

.samples-visual h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(2, 40px);
    gap: 8px;
    justify-content: center;
    margin-top: 1rem;
}

.sample-square {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.sample-square.light { 
    background: #f5f5f5; 
}

.sample-square.medium { 
    background: #8B4513; 
}

.sample-square.dark { 
    background: #2F4F4F; 
}

.sample-square.black { 
    background: #333; 
}

.samples-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.samples-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .styles-grid {
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .page-intro h1 {
        font-size: 2.2rem;
    }
    
    .intro-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .styles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .style-card {
        max-width: none;
    }
    
    .price-display {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .style-actions {
        flex-direction: column;
    }
    
    .comparison-title {
        font-size: 2rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .style-content {
        padding: 1rem;
    }
    
    .style-section {
        padding: 2rem 0;
    }
    
    .samples-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .page-intro {
        padding: 2rem 0;
    }
    
    .page-intro h1 {
        font-size: 1.8rem;
    }
    
    .style-flag {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .style-section {
        padding: 1.5rem 0;
    }
    
    .free-samples-section {
        padding: 0 0.75rem;
    }
}


/* 新闻标题 */



/* 新闻标题区域修复 */
.page-header,
.entry-header {
/*     padding: 2rem 0 !important; */
    margin-bottom: 2rem !important;
}

/* .products .product {
    display: flex;
    flex-direction: column;
    height: 300px !important; 
}  */



/* 2025-10-10 风格页面样式 */
/* --- General Card Styling --- */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); /* Responsive grid */
    gap: 25px; /* Space between cards */
}

.style-card {
    border: 1px solid #e0e0e0;
    border-radius: 16px; /* Rounded corners */
    overflow: hidden; /* Important for keeping image corners rounded */
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* --- Image Container & Badges --- */
.style-image {
    position: relative; /* This is crucial for positioning badges */
    width: 100%;
    /* Use aspect-ratio to ensure the image container has a consistent shape */
    aspect-ratio: 16 / 10; 
}

.style-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fills the container, cropping excess */
    display: block;
}

/* Base style for badges */
.style-badge, .style-flag {
    position: absolute; /* Position relative to .style-image */
/*     top: 15px; */
/*     padding: 6px 12px; */
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    z-index: 2; /* Ensure badges are on top of the image */
}

/* "Best Seller" badge */
.style-badge.best-seller {
    left: 15px;
    background-color: #ff6f61; /* Orange color */
}

/* "American Style" badge */
.style-flag.american-flag {
    right: 15px;
    background: linear-gradient(45deg, #002868, #bf0a30); /* US flag gradient */
}

.style-flag.european-flag {
    right: 15px;
    background: linear-gradient(45deg, #003399, #FFCC00); /* EU flag gradient */
}

/* --- Content Area Styling --- */
.style-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to fill remaining space */
}

.style-title {
    font-family: 'Serif'; /* Or your desired font */
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.style-title a {
    text-decoration: none;
    color: #333;
}

/* --- Price Info Section --- */
.price-display {
    display: flex;
    gap: 15px; /* Space between the two price options */
    margin-bottom: 10px;
}

.price-option {
    flex: 1; /* Each option takes half the space */
    padding: 10px;
    background-color: #f7f7f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-details {
    display: flex;
    flex-direction: column;
}

.size-icon {
    font-size: 24px;
}

.size {
    font-size: 14px;
    color: #555;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.price-range-text {
    text-align: center;
    color: #777;
    margin-bottom: 20px;
}

/* --- Action Buttons --- */
.style-actions {
    margin-top: auto; /* Push buttons to the bottom */
    display: flex;
    gap: 10px; /* Space between buttons */
}

.cabinet-btn {
    flex: 1; /* Each button takes half the space */
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cabinet-btn-primary {
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
}
.cabinet-btn-primary:hover {
    background: linear-gradient(45deg, #218838, #1e7e34);
}

.cabinet-btn-secondary {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ccc;
}
.cabinet-btn-secondary:hover {
    background-color: #f2f2f2;
}

/* --- 强制修复卡片中间的空白间隙 --- */
.style-card .style-image {
    margin-bottom: 0 !important;
}

.style-card .style-content {
    margin-top: 0 !important;
}